@datagouv/components-next 1.0.2-dev.30 → 1.0.2-dev.31
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-CSUWxY1U.js → Datafair.client-BzyuQrsK.js} +1 -1
- package/dist/JsonPreview.client-CsFH4_pc.js +78 -0
- package/dist/{MapContainer.client-B0oJPrx5.js → MapContainer.client-PxTb3GFB.js} +2 -2
- package/dist/{PdfPreview.client-B2E_IWUj.js → PdfPreview.client-F9riTFzW.js} +561 -552
- package/dist/{Pmtiles.client-STSFvULL.js → Pmtiles.client-BdN6D_o3.js} +1 -1
- package/dist/Swagger.client-DRsUsdkD.js +4 -0
- package/dist/XmlPreview.client-CLDalkuE.js +70 -0
- package/dist/components-next.css +1 -1
- package/dist/components-next.js +56 -55
- package/dist/{index-kxzw3Ssm.js → index-DwQ7YeNi.js} +1 -1
- package/dist/{leaflet-src-DfyFSZpM.js → leaflet-src-DKk3Q492.js} +1 -1
- package/dist/{main-BMXOPzsN.js → main-BLApSdTQ.js} +869 -854
- package/dist/{vue3-xml-viewer.common-CwN-5lms.js → vue3-xml-viewer.common-DkEC3fSC.js} +1 -1
- package/package.json +1 -1
- package/src/components/ResourceAccordion/JsonPreview.client.vue +21 -17
- package/src/components/ResourceAccordion/Metadata.vue +1 -2
- package/src/components/ResourceAccordion/PdfPreview.client.vue +15 -3
- package/src/components/ResourceAccordion/ResourceAccordion.vue +1 -2
- package/src/components/ResourceAccordion/XmlPreview.client.vue +21 -17
- package/src/components/ResourceExplorer/ResourceExplorerViewer.vue +1 -2
- package/src/config.ts +2 -0
- package/src/functions/datasets.ts +0 -17
- package/src/functions/resources.ts +56 -1
- package/dist/JsonPreview.client-DWP5adeD.js +0 -72
- package/dist/Swagger.client-mrRTl6ll.js +0 -4
- package/dist/XmlPreview.client-C0zaJXWA.js +0 -64
|
@@ -722,7 +722,7 @@ const Xg = (function() {
|
|
|
722
722
|
return global;
|
|
723
723
|
throw new Error("unable to locate global object");
|
|
724
724
|
})(), S4e = Xg.fetch ? (...e) => Xg.fetch(...e) : () => Promise.reject(new Error("[ofetch] global.fetch is not supported!")), b4e = Xg.Headers, H4e = Xg.AbortController, rl = qT({ fetch: S4e, Headers: b4e, AbortController: H4e }), WT = Symbol();
|
|
725
|
-
function
|
|
725
|
+
function Rn() {
|
|
726
726
|
const e = Jn(WT);
|
|
727
727
|
if (!e) throw new Error("Calling `useComponentsConfig` outside @datagouv/components");
|
|
728
728
|
return e;
|
|
@@ -734,7 +734,7 @@ function xZ(e) {
|
|
|
734
734
|
);
|
|
735
735
|
}
|
|
736
736
|
async function gs(e, t) {
|
|
737
|
-
const n =
|
|
737
|
+
const n = Rn(), { locale: o } = C2();
|
|
738
738
|
if (n.customUseFetch)
|
|
739
739
|
return await n.customUseFetch(e, t);
|
|
740
740
|
const u = ut(null), f = ut(null), c = ut("idle"), d = async () => {
|
|
@@ -828,7 +828,7 @@ function KT(e) {
|
|
|
828
828
|
return o.set("page", e.toFixed(0)), `${n}?${o.toString()}`;
|
|
829
829
|
}
|
|
830
830
|
function V4e() {
|
|
831
|
-
const e =
|
|
831
|
+
const e = Rn();
|
|
832
832
|
return (t, n) => "avatar_thumbnail" in t && t.avatar_thumbnail ? t.avatar_thumbnail : "avatar_url" in t && t.avatar_url ? t.avatar_url : `${e.apiBase}/api/1/avatars/${t.id}/${n}`;
|
|
833
833
|
}
|
|
834
834
|
const M4e = ["src", "width", "height"], Yh = /* @__PURE__ */ C({
|
|
@@ -10347,7 +10347,7 @@ const IS = /* @__PURE__ */ C({
|
|
|
10347
10347
|
to: {}
|
|
10348
10348
|
},
|
|
10349
10349
|
setup(e) {
|
|
10350
|
-
const t =
|
|
10350
|
+
const t = Rn(), { locale: n } = C2(), o = e, u = s1(() => typeof o.to != "string" ? !1 : o.to && o.to.startsWith("http")), f = s1(() => t.appLink || u.value ? o.to : typeof o.to == "string" ? `/${n}${o.to}` : o.to);
|
|
10351
10351
|
return (c, d) => he(t).appLink ? (be(), F1(zn(he(t)?.appLink), {
|
|
10352
10352
|
key: 0,
|
|
10353
10353
|
to: f.value
|
|
@@ -11706,7 +11706,7 @@ function Rh(e) {
|
|
|
11706
11706
|
return e ? sO(e, P9e) && (N8(e, em) || N8(e, tm)) : !1;
|
|
11707
11707
|
}
|
|
11708
11708
|
function KOe(e, t) {
|
|
11709
|
-
const n =
|
|
11709
|
+
const n = Rn(), o = j9e(n.baseUrl, "oembed.js");
|
|
11710
11710
|
return `<div data-udata-${e}="${t}" data-height="1500" data-width="1200"></div><script data-udata="${n.baseUrl}" src="${o}" async defer><\/script>`;
|
|
11711
11711
|
}
|
|
11712
11712
|
const lO = /* @__PURE__ */ C({
|
|
@@ -12685,7 +12685,7 @@ const S3e = ["aria-describedby"], b3e = ["id"], H3e = { class: "drop-shadow bg-w
|
|
|
12685
12685
|
as: { default: "div" }
|
|
12686
12686
|
},
|
|
12687
12687
|
setup(e) {
|
|
12688
|
-
const t =
|
|
12688
|
+
const t = Rn(), { t: n } = C2();
|
|
12689
12689
|
return (o, u) => (be(), Ke("div", V3e, [
|
|
12690
12690
|
e.showType ? (be(), F1(lO, {
|
|
12691
12691
|
key: 0,
|
|
@@ -13034,7 +13034,7 @@ function B3e() {
|
|
|
13034
13034
|
return xe ? "Symbol(src)_1." + xe : "";
|
|
13035
13035
|
})(), t2 = I1.toString, Zt = V1.hasOwnProperty, or = V1.toString, _n = RegExp(
|
|
13036
13036
|
"^" + t2.call(Zt).replace(V, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
13037
|
-
), g2 = E1 ? de.Buffer : void 0, W2 = de.Symbol, i1 = de.Uint8Array, rt = w1(Object.getPrototypeOf, Object), pt = Object.create, Gt = V1.propertyIsEnumerable, B2 = T1.splice, Q2 = Object.getOwnPropertySymbols, Yt = g2 ? g2.isBuffer : void 0, Q1 = w1(Object.keys, Object), wt = Yi(de, "DataView"), Dt = Yi(de, "Map"), p2 = Yi(de, "Promise"), N2 = Yi(de, "Set"), zr = Yi(de, "WeakMap"), er = Yi(Object, "create"), ur = l1(wt), Hr = l1(Dt), G2 = l1(p2), en = l1(N2), hn = l1(zr), Br = W2 ? W2.prototype : void 0,
|
|
13037
|
+
), g2 = E1 ? de.Buffer : void 0, W2 = de.Symbol, i1 = de.Uint8Array, rt = w1(Object.getPrototypeOf, Object), pt = Object.create, Gt = V1.propertyIsEnumerable, B2 = T1.splice, Q2 = Object.getOwnPropertySymbols, Yt = g2 ? g2.isBuffer : void 0, Q1 = w1(Object.keys, Object), wt = Yi(de, "DataView"), Dt = Yi(de, "Map"), p2 = Yi(de, "Promise"), N2 = Yi(de, "Set"), zr = Yi(de, "WeakMap"), er = Yi(Object, "create"), ur = l1(wt), Hr = l1(Dt), G2 = l1(p2), en = l1(N2), hn = l1(zr), Br = W2 ? W2.prototype : void 0, kn = Br ? Br.valueOf : void 0, $n = Br ? Br.toString : void 0;
|
|
13038
13038
|
function Gr(xe) {
|
|
13039
13039
|
var $e = -1, b1 = xe ? xe.length : 0;
|
|
13040
13040
|
for (this.clear(); ++$e < b1; ) {
|
|
@@ -13159,7 +13159,7 @@ function B3e() {
|
|
|
13159
13159
|
return b1.set(xe, $e), this;
|
|
13160
13160
|
}
|
|
13161
13161
|
tr.prototype.clear = qi, tr.prototype.delete = Wi, tr.prototype.get = Es, tr.prototype.has = Mi, tr.prototype.set = Ws;
|
|
13162
|
-
function
|
|
13162
|
+
function Tn(xe, $e) {
|
|
13163
13163
|
var b1 = ct(xe) || M1(xe) ? I(xe.length, String) : [], st = b1.length, yt = !!st;
|
|
13164
13164
|
for (var Wt in xe)
|
|
13165
13165
|
Zt.call(xe, Wt) && !(yt && (Wt == "length" || w0(Wt, st))) && b1.push(Wt);
|
|
@@ -13348,7 +13348,7 @@ function B3e() {
|
|
|
13348
13348
|
return Mt(st, ht, new xe.constructor());
|
|
13349
13349
|
}
|
|
13350
13350
|
function T2(xe) {
|
|
13351
|
-
return
|
|
13351
|
+
return kn ? Object(kn.call(xe)) : {};
|
|
13352
13352
|
}
|
|
13353
13353
|
function Cs(xe, $e) {
|
|
13354
13354
|
var b1 = $e ? Un(xe.buffer) : xe.buffer;
|
|
@@ -13434,8 +13434,8 @@ function B3e() {
|
|
|
13434
13434
|
var En = vr(F2(xe), F2($e), st, yt, Wt, y2);
|
|
13435
13435
|
return y2.delete(xe), En;
|
|
13436
13436
|
case F:
|
|
13437
|
-
if (
|
|
13438
|
-
return
|
|
13437
|
+
if (kn)
|
|
13438
|
+
return kn.call(xe) == kn.call($e);
|
|
13439
13439
|
}
|
|
13440
13440
|
return !1;
|
|
13441
13441
|
}
|
|
@@ -13669,7 +13669,7 @@ function B3e() {
|
|
|
13669
13669
|
return xe != null && Fa(xe, $e, Ks);
|
|
13670
13670
|
}
|
|
13671
13671
|
function Bt(xe) {
|
|
13672
|
-
return Qt(xe) ?
|
|
13672
|
+
return Qt(xe) ? Tn(xe) : nr(xe);
|
|
13673
13673
|
}
|
|
13674
13674
|
function D2(xe) {
|
|
13675
13675
|
return xe;
|
|
@@ -25077,9 +25077,9 @@ function IO(e) {
|
|
|
25077
25077
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
25078
25078
|
}
|
|
25079
25079
|
function Ku(e) {
|
|
25080
|
-
return
|
|
25080
|
+
return jn("(?=", e, ")");
|
|
25081
25081
|
}
|
|
25082
|
-
function
|
|
25082
|
+
function jn(...e) {
|
|
25083
25083
|
return e.map((n) => IO(n)).join("");
|
|
25084
25084
|
}
|
|
25085
25085
|
function j8e(e) {
|
|
@@ -25089,7 +25089,7 @@ function j8e(e) {
|
|
|
25089
25089
|
function X0(...e) {
|
|
25090
25090
|
return "(" + (j8e(e).capture ? "" : "?:") + e.map((o) => IO(o)).join("|") + ")";
|
|
25091
25091
|
}
|
|
25092
|
-
const JS = (e) =>
|
|
25092
|
+
const JS = (e) => jn(
|
|
25093
25093
|
/\b/,
|
|
25094
25094
|
e,
|
|
25095
25095
|
/\w$/.test(e) ? /\b/ : /\B/
|
|
@@ -25335,7 +25335,7 @@ const JS = (e) => Pn(
|
|
|
25335
25335
|
/[\uFE20-\uFE2F]/
|
|
25336
25336
|
// TODO: The following characters are also allowed, but the regex isn't supported yet.
|
|
25337
25337
|
// /[\u{E0100}-\u{E01EF}]/u
|
|
25338
|
-
), Nx =
|
|
25338
|
+
), Nx = jn(FO, DO, "*"), PO = X0(
|
|
25339
25339
|
/[a-zA-Z_]/,
|
|
25340
25340
|
/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,
|
|
25341
25341
|
/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,
|
|
@@ -25357,10 +25357,10 @@ const JS = (e) => Pn(
|
|
|
25357
25357
|
PO,
|
|
25358
25358
|
/\d/,
|
|
25359
25359
|
/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/
|
|
25360
|
-
), Al =
|
|
25360
|
+
), Al = jn(PO, im, "*"), dg = jn(/[A-Z]/, im, "*"), K8e = [
|
|
25361
25361
|
"attached",
|
|
25362
25362
|
"autoclosure",
|
|
25363
|
-
|
|
25363
|
+
jn(/convention\(/, X0("swift", "block", "c"), /\)/),
|
|
25364
25364
|
"discardableResult",
|
|
25365
25365
|
"dynamicCallable",
|
|
25366
25366
|
"dynamicMemberLookup",
|
|
@@ -25379,7 +25379,7 @@ const JS = (e) => Pn(
|
|
|
25379
25379
|
"NSApplicationMain",
|
|
25380
25380
|
"NSCopying",
|
|
25381
25381
|
"NSManaged",
|
|
25382
|
-
|
|
25382
|
+
jn(/objc\(/, Al, /\)/),
|
|
25383
25383
|
"objc",
|
|
25384
25384
|
"objcMembers",
|
|
25385
25385
|
"propertyWrapper",
|
|
@@ -25424,7 +25424,7 @@ function Y8e(e) {
|
|
|
25424
25424
|
className: { 2: "keyword" }
|
|
25425
25425
|
}, f = {
|
|
25426
25426
|
// Consume .keyword to prevent highlighting properties and methods as keywords.
|
|
25427
|
-
match:
|
|
25427
|
+
match: jn(/\./, X0(...Ex)),
|
|
25428
25428
|
relevance: 0
|
|
25429
25429
|
}, c = Ex.filter((at) => typeof at == "string").concat(["_|0"]), d = Ex.filter((at) => typeof at != "string").concat(U8e).map(JS), a = { variants: [
|
|
25430
25430
|
{
|
|
@@ -25446,11 +25446,11 @@ function Y8e(e) {
|
|
|
25446
25446
|
a
|
|
25447
25447
|
], m = {
|
|
25448
25448
|
// Consume .built_in to prevent highlighting properties and methods.
|
|
25449
|
-
match:
|
|
25449
|
+
match: jn(/\./, X0(...QZ)),
|
|
25450
25450
|
relevance: 0
|
|
25451
25451
|
}, w = {
|
|
25452
25452
|
className: "built_in",
|
|
25453
|
-
match:
|
|
25453
|
+
match: jn(/\b/, X0(...QZ), /(?=\()/)
|
|
25454
25454
|
}, y = [
|
|
25455
25455
|
m,
|
|
25456
25456
|
w
|
|
@@ -25489,28 +25489,28 @@ function Y8e(e) {
|
|
|
25489
25489
|
}, T = (at = "") => ({
|
|
25490
25490
|
className: "subst",
|
|
25491
25491
|
variants: [
|
|
25492
|
-
{ match:
|
|
25493
|
-
{ match:
|
|
25492
|
+
{ match: jn(/\\/, at, /[0\\tnr"']/) },
|
|
25493
|
+
{ match: jn(/\\/, at, /u\{[0-9a-fA-F]{1,8}\}/) }
|
|
25494
25494
|
]
|
|
25495
25495
|
}), B = (at = "") => ({
|
|
25496
25496
|
className: "subst",
|
|
25497
|
-
match:
|
|
25497
|
+
match: jn(/\\/, at, /[\t ]*(?:[\r\n]|\r\n)/)
|
|
25498
25498
|
}), F = (at = "") => ({
|
|
25499
25499
|
className: "subst",
|
|
25500
25500
|
label: "interpol",
|
|
25501
|
-
begin:
|
|
25501
|
+
begin: jn(/\\/, at, /\(/),
|
|
25502
25502
|
end: /\)/
|
|
25503
25503
|
}), U = (at = "") => ({
|
|
25504
|
-
begin:
|
|
25505
|
-
end:
|
|
25504
|
+
begin: jn(at, /"""/),
|
|
25505
|
+
end: jn(/"""/, at),
|
|
25506
25506
|
contains: [
|
|
25507
25507
|
T(at),
|
|
25508
25508
|
B(at),
|
|
25509
25509
|
F(at)
|
|
25510
25510
|
]
|
|
25511
25511
|
}), W = (at = "") => ({
|
|
25512
|
-
begin:
|
|
25513
|
-
end:
|
|
25512
|
+
begin: jn(at, /"/),
|
|
25513
|
+
end: jn(/"/, at),
|
|
25514
25514
|
contains: [
|
|
25515
25515
|
T(at),
|
|
25516
25516
|
F(at)
|
|
@@ -25540,7 +25540,7 @@ function Y8e(e) {
|
|
|
25540
25540
|
end: /\//,
|
|
25541
25541
|
contains: q
|
|
25542
25542
|
}, se = (at) => {
|
|
25543
|
-
const Ht =
|
|
25543
|
+
const Ht = jn(at, /\//), k1 = jn(/\//, at);
|
|
25544
25544
|
return {
|
|
25545
25545
|
begin: Ht,
|
|
25546
25546
|
end: k1,
|
|
@@ -25561,7 +25561,7 @@ function Y8e(e) {
|
|
|
25561
25561
|
se("#"),
|
|
25562
25562
|
re
|
|
25563
25563
|
]
|
|
25564
|
-
}, me = { match:
|
|
25564
|
+
}, me = { match: jn(/`/, Al, /`/) }, we = {
|
|
25565
25565
|
className: "variable",
|
|
25566
25566
|
match: /\$\d+/
|
|
25567
25567
|
}, Ee = {
|
|
@@ -25588,10 +25588,10 @@ function Y8e(e) {
|
|
|
25588
25588
|
] }
|
|
25589
25589
|
}, Ye = {
|
|
25590
25590
|
scope: "keyword",
|
|
25591
|
-
match:
|
|
25591
|
+
match: jn(/@/, X0(...K8e), Ku(X0(/\(/, /\s+/)))
|
|
25592
25592
|
}, Me = {
|
|
25593
25593
|
scope: "meta",
|
|
25594
|
-
match:
|
|
25594
|
+
match: jn(/@/, Al)
|
|
25595
25595
|
}, x1 = [
|
|
25596
25596
|
qe,
|
|
25597
25597
|
Ye,
|
|
@@ -25603,7 +25603,7 @@ function Y8e(e) {
|
|
|
25603
25603
|
{
|
|
25604
25604
|
// Common Apple frameworks, for relevance boost
|
|
25605
25605
|
className: "type",
|
|
25606
|
-
match:
|
|
25606
|
+
match: jn(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/, im, "+")
|
|
25607
25607
|
},
|
|
25608
25608
|
{
|
|
25609
25609
|
// Type identifier
|
|
@@ -25623,7 +25623,7 @@ function Y8e(e) {
|
|
|
25623
25623
|
},
|
|
25624
25624
|
{
|
|
25625
25625
|
// Protocol composition
|
|
25626
|
-
match:
|
|
25626
|
+
match: jn(/\s+&\s+/, Ku(dg)),
|
|
25627
25627
|
relevance: 0
|
|
25628
25628
|
}
|
|
25629
25629
|
]
|
|
@@ -25641,7 +25641,7 @@ function Y8e(e) {
|
|
|
25641
25641
|
};
|
|
25642
25642
|
Ge.contains.push(V);
|
|
25643
25643
|
const H1 = {
|
|
25644
|
-
match:
|
|
25644
|
+
match: jn(Al, /\s*:/),
|
|
25645
25645
|
keywords: "_|0",
|
|
25646
25646
|
relevance: 0
|
|
25647
25647
|
}, p1 = {
|
|
@@ -25673,8 +25673,8 @@ function Y8e(e) {
|
|
|
25673
25673
|
]
|
|
25674
25674
|
}, Ve = {
|
|
25675
25675
|
begin: X0(
|
|
25676
|
-
Ku(
|
|
25677
|
-
Ku(
|
|
25676
|
+
Ku(jn(Al, /\s*:/)),
|
|
25677
|
+
Ku(jn(Al, /\s+/, Al, /\s*:/))
|
|
25678
25678
|
),
|
|
25679
25679
|
end: /:/,
|
|
25680
25680
|
relevance: 0,
|
|
@@ -28081,19 +28081,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vt = q1, z2 = ot), Vt
|
|
|
28081
28081
|
Tt.scope && mt.unshift(Tt.scope);
|
|
28082
28082
|
mt.forEach((Tt) => bn.openNode(Tt));
|
|
28083
28083
|
}
|
|
28084
|
-
let
|
|
28084
|
+
let Tn = {};
|
|
28085
28085
|
function Ki(mt, Tt) {
|
|
28086
28086
|
const _2 = Tt && Tt[0];
|
|
28087
28087
|
if (Zr += mt, _2 == null)
|
|
28088
28088
|
return yr(), 0;
|
|
28089
|
-
if (
|
|
28089
|
+
if (Tn.type === "begin" && Tt.type === "end" && Tn.index === Tt.index && _2 === "") {
|
|
28090
28090
|
if (Zr += ot.slice(Tt.index, Tt.index + 1), !B2) {
|
|
28091
28091
|
const nr = new Error(`0 width match regex (${q1})`);
|
|
28092
|
-
throw nr.languageName = q1, nr.badRule =
|
|
28092
|
+
throw nr.languageName = q1, nr.badRule = Tn.rule, nr;
|
|
28093
28093
|
}
|
|
28094
28094
|
return 1;
|
|
28095
28095
|
}
|
|
28096
|
-
if (
|
|
28096
|
+
if (Tn = Tt, Tt.type === "begin")
|
|
28097
28097
|
return Es(Tt);
|
|
28098
28098
|
if (Tt.type === "illegal" && !Vt) {
|
|
28099
28099
|
const nr = new Error('Illegal lexeme "' + _2 + '" for mode "' + (Z2.scope || "<unnamed>") + '"');
|
|
@@ -28232,15 +28232,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vt = q1, z2 = ot), Vt
|
|
|
28232
28232
|
Q1 = Zt(Q1, q1);
|
|
28233
28233
|
}
|
|
28234
28234
|
const en = () => {
|
|
28235
|
-
|
|
28235
|
+
kn(), I("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
|
|
28236
28236
|
};
|
|
28237
28237
|
function hn() {
|
|
28238
|
-
|
|
28238
|
+
kn(), I("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
|
|
28239
28239
|
}
|
|
28240
28240
|
let Br = !1;
|
|
28241
|
-
function
|
|
28241
|
+
function kn() {
|
|
28242
28242
|
function q1() {
|
|
28243
|
-
|
|
28243
|
+
kn();
|
|
28244
28244
|
}
|
|
28245
28245
|
if (document.readyState === "loading") {
|
|
28246
28246
|
Br || window.addEventListener("DOMContentLoaded", q1, !1), Br = !0;
|
|
@@ -28311,7 +28311,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), vt = q1, z2 = ot), Vt
|
|
|
28311
28311
|
Object.assign(i1, {
|
|
28312
28312
|
highlight: p2,
|
|
28313
28313
|
highlightAuto: er,
|
|
28314
|
-
highlightAll:
|
|
28314
|
+
highlightAll: kn,
|
|
28315
28315
|
highlightElement: Hr,
|
|
28316
28316
|
// TODO: Remove with v12 API
|
|
28317
28317
|
highlightBlock: Ot,
|
|
@@ -46448,7 +46448,7 @@ const Pye = "prose prose-neutral max-w-none prose-strong:text-gray-plain", jye =
|
|
|
46448
46448
|
showDescription: { type: Boolean, default: !0 }
|
|
46449
46449
|
},
|
|
46450
46450
|
setup(e) {
|
|
46451
|
-
const t = e, { t: n } = C2(), { formatRelativeIfRecentDate: o } = Ia(), u =
|
|
46451
|
+
const t = e, { t: n } = C2(), { formatRelativeIfRecentDate: o } = Ia(), u = Rn(), f = s1(() => u.tabularApiDataserviceId === t.dataservice.id);
|
|
46452
46452
|
return (c, d) => (be(), F1(M3, {
|
|
46453
46453
|
"article-class": {
|
|
46454
46454
|
"border-tabular-api": f.value,
|
|
@@ -46659,7 +46659,7 @@ const sve = ["aria-valuenow", "aria-valuemax"], ave = /* @__PURE__ */ C({
|
|
|
46659
46659
|
quality: {}
|
|
46660
46660
|
},
|
|
46661
46661
|
setup(e) {
|
|
46662
|
-
const { t } = C2(), n =
|
|
46662
|
+
const { t } = C2(), n = Rn();
|
|
46663
46663
|
return (o, u) => (be(), Ke(d2, null, [
|
|
46664
46664
|
Oe("p", uve, Qe(he(t)("Qualité des métadonnées :")), 1),
|
|
46665
46665
|
Oe("ul", hve, [
|
|
@@ -48931,7 +48931,7 @@ let $F = ga.RenderStrategy, Exe = C({ props: { as: { type: [Object, String], def
|
|
|
48931
48931
|
const zxe = /* @__PURE__ */ C({
|
|
48932
48932
|
__name: "ClientOnly",
|
|
48933
48933
|
setup(e) {
|
|
48934
|
-
const t =
|
|
48934
|
+
const t = Rn();
|
|
48935
48935
|
return (n, o) => he(t).clientOnly ? (be(), F1(zn(he(t)?.clientOnly), { key: 0 }, {
|
|
48936
48936
|
default: Z1(() => [
|
|
48937
48937
|
s2(n.$slots, "default")
|
|
@@ -49312,7 +49312,7 @@ const zb = /* @__PURE__ */ Vs(rLe, [["render", iLe]]), sLe = {
|
|
|
49312
49312
|
tagUrl: { type: Function }
|
|
49313
49313
|
},
|
|
49314
49314
|
setup(e) {
|
|
49315
|
-
const t = e, { t: n } = C2(), o =
|
|
49315
|
+
const t = e, { t: n } = C2(), o = Rn();
|
|
49316
49316
|
function u(f) {
|
|
49317
49317
|
return t.tagUrl ? t.tagUrl(f) : `${o.baseUrl.endsWith("/") ? o.baseUrl.slice(0, -1) : o.baseUrl}/datasets/search?tag=${f}`;
|
|
49318
49318
|
}
|
|
@@ -49584,7 +49584,7 @@ const zb = /* @__PURE__ */ Vs(rLe, [["render", iLe]]), sLe = {
|
|
|
49584
49584
|
},
|
|
49585
49585
|
async setup(e) {
|
|
49586
49586
|
let t, n;
|
|
49587
|
-
const o = e, { t: u } = C2(), f =
|
|
49587
|
+
const o = e, { t: u } = C2(), f = Rn(), { data: c } = ([t, n] = fs(() => gs(`/api/2/datasets/${o.dataset.id}/schemas/`)), t = await t, n(), t), d = c;
|
|
49588
49588
|
return (a, h) => he(d) && he(d).length ? (be(), Ke("div", LLe, [
|
|
49589
49589
|
Oe("h3", SLe, Qe(he(u)("Schéma de données")), 1),
|
|
49590
49590
|
Oe("div", bLe, [
|
|
@@ -49642,19 +49642,10 @@ function _Le(e, t) {
|
|
|
49642
49642
|
return n.pathname = `${n.pathname}${t}`, n.toString();
|
|
49643
49643
|
}
|
|
49644
49644
|
function ELe(e, t) {
|
|
49645
|
-
const n =
|
|
49645
|
+
const n = Rn(), o = _Le(n.baseUrl, "oembed.js");
|
|
49646
49646
|
return `<div data-udata-${e}="${t}"></div><script data-udata="${n.baseUrl}" src="${o}" async defer><\/script>`;
|
|
49647
49647
|
}
|
|
49648
|
-
|
|
49649
|
-
return "organization" in e || "owner" in e;
|
|
49650
|
-
}
|
|
49651
|
-
function WF(e, t) {
|
|
49652
|
-
return `${e.page}${NLe(t) ? "/community-resources" : ""}?resource_id=${t.id}`;
|
|
49653
|
-
}
|
|
49654
|
-
function Zb(e) {
|
|
49655
|
-
return e.filesize ? e.filesize : "analysis:content-length" in e.extras ? e.extras["analysis:content-length"] : null;
|
|
49656
|
-
}
|
|
49657
|
-
const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space-x-2 mb-1" }, ALe = { class: "mb-0 uppercase text-gray-plain text-sm font-bold" }, RLe = ["value"], lBe = /* @__PURE__ */ C({
|
|
49648
|
+
const NLe = { class: "space-y-1 py-6" }, zLe = { class: "flex items-center space-x-2 mb-1" }, ZLe = { class: "mb-0 uppercase text-gray-plain text-sm font-bold" }, ALe = ["value"], lBe = /* @__PURE__ */ C({
|
|
49658
49649
|
__name: "DatasetEmbedSection",
|
|
49659
49650
|
props: {
|
|
49660
49651
|
dataset: {}
|
|
@@ -49664,9 +49655,9 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49664
49655
|
function f(c) {
|
|
49665
49656
|
c.target.select();
|
|
49666
49657
|
}
|
|
49667
|
-
return (c, d) => (be(), Ke("div",
|
|
49668
|
-
Oe("div",
|
|
49669
|
-
Oe("h3",
|
|
49658
|
+
return (c, d) => (be(), Ke("div", NLe, [
|
|
49659
|
+
Oe("div", zLe, [
|
|
49660
|
+
Oe("h3", ZLe, Qe(he(n)("Intégrer sur votre site")), 1),
|
|
49670
49661
|
r1(Ta, {
|
|
49671
49662
|
"hide-label": !0,
|
|
49672
49663
|
label: he(n)("Copier le code embarqué"),
|
|
@@ -49681,7 +49672,7 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49681
49672
|
value: u.value,
|
|
49682
49673
|
readonly: "true",
|
|
49683
49674
|
onClick: f
|
|
49684
|
-
}, null, 8,
|
|
49675
|
+
}, null, 8, ALe)
|
|
49685
49676
|
]));
|
|
49686
49677
|
}
|
|
49687
49678
|
}), cBe = /* @__PURE__ */ C({
|
|
@@ -49693,7 +49684,7 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49693
49684
|
const t = e, n = ut(null);
|
|
49694
49685
|
return Sn(async () => {
|
|
49695
49686
|
await Promise.resolve({ });
|
|
49696
|
-
const o = await import("./leaflet-src-
|
|
49687
|
+
const o = await import("./leaflet-src-DKk3Q492.js").then((c) => c.l);
|
|
49697
49688
|
if (!n.value) return;
|
|
49698
49689
|
const u = o.map(n.value);
|
|
49699
49690
|
o.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
|
|
@@ -49708,18 +49699,18 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49708
49699
|
class: "h-[400px] w-[400px] fr-raw-link"
|
|
49709
49700
|
}, null, 512));
|
|
49710
49701
|
}
|
|
49711
|
-
}),
|
|
49702
|
+
}), RLe = {
|
|
49712
49703
|
key: 0,
|
|
49713
49704
|
class: "text-warning-dark flex flex-wrap items-center"
|
|
49714
|
-
},
|
|
49705
|
+
}, kLe = { class: "!m-0 text-sm" }, b5 = /* @__PURE__ */ C({
|
|
49715
49706
|
__name: "DatasetQualityItemWarning",
|
|
49716
49707
|
props: {
|
|
49717
49708
|
qualityItem: { type: Boolean },
|
|
49718
49709
|
message: {}
|
|
49719
49710
|
},
|
|
49720
49711
|
setup(e) {
|
|
49721
|
-
return (t, n) => e.qualityItem ? z1("", !0) : (be(), Ke("li",
|
|
49722
|
-
Oe("p",
|
|
49712
|
+
return (t, n) => e.qualityItem ? z1("", !0) : (be(), Ke("li", RLe, [
|
|
49713
|
+
Oe("p", kLe, [
|
|
49723
49714
|
n[0] || (n[0] = Oe("span", {
|
|
49724
49715
|
class: "fr-icon-warning-line fr-icon--sm",
|
|
49725
49716
|
"aria-hidden": "true"
|
|
@@ -49728,7 +49719,7 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49728
49719
|
])
|
|
49729
49720
|
]));
|
|
49730
49721
|
}
|
|
49731
|
-
}),
|
|
49722
|
+
}), TLe = { class: "flex items-center gap-1" }, OLe = { class: "text-sm text-gray-plain font-bold" }, BLe = {
|
|
49732
49723
|
key: 0,
|
|
49733
49724
|
class: "list-none pl-0"
|
|
49734
49725
|
}, uBe = /* @__PURE__ */ C({
|
|
@@ -49749,12 +49740,12 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49749
49740
|
r1(dF, { quality: e.quality }, null, 8, ["quality"])
|
|
49750
49741
|
]),
|
|
49751
49742
|
default: Z1(() => [
|
|
49752
|
-
Oe("span",
|
|
49743
|
+
Oe("span", TLe, [
|
|
49753
49744
|
r1(he(w3), {
|
|
49754
49745
|
class: "size-5 shrink-0",
|
|
49755
49746
|
"aria-hidden": "true"
|
|
49756
49747
|
}),
|
|
49757
|
-
Oe("span",
|
|
49748
|
+
Oe("span", OLe, Qe(he(t)("Qualité des métadonnées:")), 1)
|
|
49758
49749
|
]),
|
|
49759
49750
|
r1(pF, {
|
|
49760
49751
|
score: e.quality.score,
|
|
@@ -49763,7 +49754,7 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49763
49754
|
]),
|
|
49764
49755
|
_: 1
|
|
49765
49756
|
}, 8, ["button-props"]),
|
|
49766
|
-
e.hideWarnings ? z1("", !0) : (be(), Ke("ul",
|
|
49757
|
+
e.hideWarnings ? z1("", !0) : (be(), Ke("ul", BLe, [
|
|
49767
49758
|
r1(b5, {
|
|
49768
49759
|
"quality-item": e.quality.dataset_description_quality,
|
|
49769
49760
|
message: he(t)("Description des données non renseignée")
|
|
@@ -49799,13 +49790,13 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49799
49790
|
]))
|
|
49800
49791
|
], 64));
|
|
49801
49792
|
}
|
|
49802
|
-
}),
|
|
49793
|
+
}), ILe = { class: "flex flex-wrap items-center pb-6 mb-6 border-b border-gray-default" }, FLe = { class: "fr-col" }, DLe = { class: "fr-col-auto space-x-4" }, PLe = {
|
|
49803
49794
|
key: 0,
|
|
49804
49795
|
class: "sr-only"
|
|
49805
|
-
},
|
|
49796
|
+
}, jLe = { class: "pb-6 mb-6 border-b border-gray-default" }, $Le = {
|
|
49806
49797
|
class: "fr-grid-row fr-grid-row--gutters fr-text--sm fr-m-0",
|
|
49807
49798
|
"data-testid": "extra-list"
|
|
49808
|
-
},
|
|
49799
|
+
}, ULe = { class: "subtitle mb-1" }, qLe = { class: "text-sm m-0 text-gray-medium break-all" }, WLe = /* @__PURE__ */ C({
|
|
49809
49800
|
__name: "ExtraAccordion",
|
|
49810
49801
|
props: {
|
|
49811
49802
|
buttonText: {},
|
|
@@ -49817,8 +49808,8 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49817
49808
|
const t = O5(), { t: n } = C2();
|
|
49818
49809
|
return (o, u) => (be(), F1(he(RF), { as: "div" }, {
|
|
49819
49810
|
default: Z1(({ open: f }) => [
|
|
49820
|
-
Oe("header",
|
|
49821
|
-
Oe("div",
|
|
49811
|
+
Oe("header", ILe, [
|
|
49812
|
+
Oe("div", FLe, [
|
|
49822
49813
|
(be(), F1(zn(e.titleLevel), { class: "subtitle uppercase m-0" }, {
|
|
49823
49814
|
default: Z1(() => [
|
|
49824
49815
|
Y1(Qe(e.titleText), 1)
|
|
@@ -49826,7 +49817,7 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49826
49817
|
_: 1
|
|
49827
49818
|
}))
|
|
49828
49819
|
]),
|
|
49829
|
-
Oe("div",
|
|
49820
|
+
Oe("div", DLe, [
|
|
49830
49821
|
s2(o.$slots, "buttons"),
|
|
49831
49822
|
r1(he(kF), {
|
|
49832
49823
|
as: js,
|
|
@@ -49836,7 +49827,7 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49836
49827
|
}, {
|
|
49837
49828
|
default: Z1(() => [
|
|
49838
49829
|
Y1(Qe(e.buttonText) + " ", 1),
|
|
49839
|
-
f ? (be(), Ke("span",
|
|
49830
|
+
f ? (be(), Ke("span", PLe, Qe(he(n)("Fermer les détails")), 1)) : z1("", !0)
|
|
49840
49831
|
]),
|
|
49841
49832
|
_: 2
|
|
49842
49833
|
}, 1032, ["icon"])
|
|
@@ -49844,14 +49835,14 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49844
49835
|
]),
|
|
49845
49836
|
r1(he(TF), { id: he(t) }, {
|
|
49846
49837
|
default: Z1(() => [
|
|
49847
|
-
Oe("div",
|
|
49848
|
-
Oe("div",
|
|
49838
|
+
Oe("div", jLe, [
|
|
49839
|
+
Oe("div", $Le, [
|
|
49849
49840
|
(be(!0), Ke(d2, null, Xr(e.extra, (c, d) => (be(), Ke("div", {
|
|
49850
49841
|
key: d,
|
|
49851
49842
|
class: "fr-col-12 fr-col-sm-6 fr-col-md-4"
|
|
49852
49843
|
}, [
|
|
49853
|
-
Oe("h3",
|
|
49854
|
-
Oe("p",
|
|
49844
|
+
Oe("h3", ULe, Qe(d), 1),
|
|
49845
|
+
Oe("p", qLe, Qe(c), 1)
|
|
49855
49846
|
]))), 128))
|
|
49856
49847
|
])
|
|
49857
49848
|
])
|
|
@@ -49863,20 +49854,20 @@ const zLe = { class: "space-y-1 py-6" }, ZLe = { class: "flex items-center space
|
|
|
49863
49854
|
}));
|
|
49864
49855
|
}
|
|
49865
49856
|
});
|
|
49866
|
-
function
|
|
49857
|
+
function Zb(e) {
|
|
49867
49858
|
return AT() ? (zS(e), !0) : !1;
|
|
49868
49859
|
}
|
|
49869
|
-
const eL = /* @__PURE__ */ new WeakMap(),
|
|
49860
|
+
const eL = /* @__PURE__ */ new WeakMap(), KLe = /* @__NO_SIDE_EFFECTS__ */ (...e) => {
|
|
49870
49861
|
var t;
|
|
49871
49862
|
const n = e[0], o = (t = Kh()) == null ? void 0 : t.proxy;
|
|
49872
49863
|
if (o == null && !OT())
|
|
49873
49864
|
throw new Error("injectLocal must be called in setup");
|
|
49874
49865
|
return o && eL.has(o) && n in eL.get(o) ? eL.get(o)[n] : Jn(...e);
|
|
49875
|
-
},
|
|
49866
|
+
}, GLe = typeof window < "u" && typeof document < "u";
|
|
49876
49867
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
49877
|
-
const
|
|
49868
|
+
const YLe = Object.prototype.toString, JLe = (e) => YLe.call(e) === "[object Object]", aS = () => {
|
|
49878
49869
|
};
|
|
49879
|
-
function
|
|
49870
|
+
function XLe(e, t) {
|
|
49880
49871
|
function n(...o) {
|
|
49881
49872
|
return new Promise((u, f) => {
|
|
49882
49873
|
Promise.resolve(e(() => t.apply(this, o), { fn: t, thisArg: this, args: o })).then(u).catch(f);
|
|
@@ -49884,8 +49875,8 @@ function QLe(e, t) {
|
|
|
49884
49875
|
}
|
|
49885
49876
|
return n;
|
|
49886
49877
|
}
|
|
49887
|
-
const
|
|
49888
|
-
function
|
|
49878
|
+
const QLe = (e) => e();
|
|
49879
|
+
function eSe(e, t = {}) {
|
|
49889
49880
|
let n, o, u = aS;
|
|
49890
49881
|
const f = (a) => {
|
|
49891
49882
|
clearTimeout(a), u(), u = aS;
|
|
@@ -49908,42 +49899,42 @@ function OR(e) {
|
|
|
49908
49899
|
function Pg(e) {
|
|
49909
49900
|
return Array.isArray(e) ? e : [e];
|
|
49910
49901
|
}
|
|
49911
|
-
function
|
|
49902
|
+
function tSe(e) {
|
|
49912
49903
|
return Kh();
|
|
49913
49904
|
}
|
|
49914
|
-
function
|
|
49905
|
+
function rSe(e, t, n = {}) {
|
|
49915
49906
|
const {
|
|
49916
|
-
eventFilter: o =
|
|
49907
|
+
eventFilter: o = QLe,
|
|
49917
49908
|
...u
|
|
49918
49909
|
} = n;
|
|
49919
49910
|
return Qr(
|
|
49920
49911
|
e,
|
|
49921
|
-
|
|
49912
|
+
XLe(
|
|
49922
49913
|
o,
|
|
49923
49914
|
t
|
|
49924
49915
|
),
|
|
49925
49916
|
u
|
|
49926
49917
|
);
|
|
49927
49918
|
}
|
|
49928
|
-
function
|
|
49929
|
-
|
|
49919
|
+
function nSe(e, t = !0, n) {
|
|
49920
|
+
tSe() ? Sn(e, n) : t ? e() : co(e);
|
|
49930
49921
|
}
|
|
49931
|
-
function
|
|
49922
|
+
function iSe(e, t, n = {}) {
|
|
49932
49923
|
const {
|
|
49933
49924
|
debounce: o = 0,
|
|
49934
49925
|
maxWait: u = void 0,
|
|
49935
49926
|
...f
|
|
49936
49927
|
} = n;
|
|
49937
|
-
return
|
|
49928
|
+
return rSe(
|
|
49938
49929
|
e,
|
|
49939
49930
|
t,
|
|
49940
49931
|
{
|
|
49941
49932
|
...f,
|
|
49942
|
-
eventFilter:
|
|
49933
|
+
eventFilter: eSe(o, { maxWait: u })
|
|
49943
49934
|
}
|
|
49944
49935
|
);
|
|
49945
49936
|
}
|
|
49946
|
-
function
|
|
49937
|
+
function sSe(e, t, n) {
|
|
49947
49938
|
return Qr(
|
|
49948
49939
|
e,
|
|
49949
49940
|
t,
|
|
@@ -49953,7 +49944,7 @@ function aSe(e, t, n) {
|
|
|
49953
49944
|
}
|
|
49954
49945
|
);
|
|
49955
49946
|
}
|
|
49956
|
-
function
|
|
49947
|
+
function WF(e, t, n) {
|
|
49957
49948
|
var o;
|
|
49958
49949
|
let u;
|
|
49959
49950
|
Fs(n) ? u = {
|
|
@@ -49990,19 +49981,19 @@ function KF(e, t, n) {
|
|
|
49990
49981
|
}
|
|
49991
49982
|
}, { flush: c }), f ? s1(() => (g.value = !0, m.value)) : m;
|
|
49992
49983
|
}
|
|
49993
|
-
const nC =
|
|
49984
|
+
const nC = GLe ? window : void 0;
|
|
49994
49985
|
function h3(e) {
|
|
49995
49986
|
var t;
|
|
49996
49987
|
const n = Pr(e);
|
|
49997
49988
|
return (t = n?.$el) != null ? t : n;
|
|
49998
49989
|
}
|
|
49999
|
-
function
|
|
49990
|
+
function aSe(...e) {
|
|
50000
49991
|
const t = [], n = () => {
|
|
50001
49992
|
t.forEach((d) => d()), t.length = 0;
|
|
50002
49993
|
}, o = (d, a, h, g) => (d.addEventListener(a, h, g), () => d.removeEventListener(a, h, g)), u = s1(() => {
|
|
50003
49994
|
const d = Pg(Pr(e[0])).filter((a) => a != null);
|
|
50004
49995
|
return d.every((a) => typeof a != "string") ? d : void 0;
|
|
50005
|
-
}), f =
|
|
49996
|
+
}), f = sSe(
|
|
50006
49997
|
() => {
|
|
50007
49998
|
var d, a;
|
|
50008
49999
|
return [
|
|
@@ -50016,7 +50007,7 @@ function oSe(...e) {
|
|
|
50016
50007
|
([d, a, h, g]) => {
|
|
50017
50008
|
if (n(), !d?.length || !a?.length || !h?.length)
|
|
50018
50009
|
return;
|
|
50019
|
-
const m =
|
|
50010
|
+
const m = JLe(g) ? { ...g } : g;
|
|
50020
50011
|
t.push(
|
|
50021
50012
|
...d.flatMap(
|
|
50022
50013
|
(w) => a.flatMap(
|
|
@@ -50029,28 +50020,28 @@ function oSe(...e) {
|
|
|
50029
50020
|
), c = () => {
|
|
50030
50021
|
f(), n();
|
|
50031
50022
|
};
|
|
50032
|
-
return
|
|
50023
|
+
return Zb(n), c;
|
|
50033
50024
|
}
|
|
50034
50025
|
// @__NO_SIDE_EFFECTS__
|
|
50035
|
-
function
|
|
50026
|
+
function oSe() {
|
|
50036
50027
|
const e = el(!1), t = Kh();
|
|
50037
50028
|
return t && Sn(() => {
|
|
50038
50029
|
e.value = !0;
|
|
50039
50030
|
}, t), e;
|
|
50040
50031
|
}
|
|
50041
50032
|
// @__NO_SIDE_EFFECTS__
|
|
50042
|
-
function
|
|
50043
|
-
const t = /* @__PURE__ */
|
|
50033
|
+
function KF(e) {
|
|
50034
|
+
const t = /* @__PURE__ */ oSe();
|
|
50044
50035
|
return s1(() => (t.value, !!e()));
|
|
50045
50036
|
}
|
|
50046
|
-
const
|
|
50037
|
+
const lSe = Symbol("vueuse-ssr-width");
|
|
50047
50038
|
// @__NO_SIDE_EFFECTS__
|
|
50048
|
-
function
|
|
50049
|
-
const e = OT() ? /* @__PURE__ */
|
|
50039
|
+
function cSe() {
|
|
50040
|
+
const e = OT() ? /* @__PURE__ */ KLe(lSe, null) : null;
|
|
50050
50041
|
return typeof e == "number" ? e : void 0;
|
|
50051
50042
|
}
|
|
50052
|
-
function
|
|
50053
|
-
const { window: n = nC, ssrWidth: o = /* @__PURE__ */
|
|
50043
|
+
function uSe(e, t = {}) {
|
|
50044
|
+
const { window: n = nC, ssrWidth: o = /* @__PURE__ */ cSe() } = t, u = /* @__PURE__ */ KF(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), f = el(typeof o == "number"), c = el(), d = el(!1), a = (h) => {
|
|
50054
50045
|
d.value = h.matches;
|
|
50055
50046
|
};
|
|
50056
50047
|
return cn(() => {
|
|
@@ -50065,12 +50056,12 @@ function hSe(e, t = {}) {
|
|
|
50065
50056
|
return;
|
|
50066
50057
|
}
|
|
50067
50058
|
u.value && (c.value = n.matchMedia(Pr(e)), d.value = c.value.matches);
|
|
50068
|
-
}),
|
|
50059
|
+
}), aSe(c, "change", a, { passive: !0 }), s1(() => d.value);
|
|
50069
50060
|
}
|
|
50070
|
-
function
|
|
50061
|
+
function hSe(e, t, n = {}) {
|
|
50071
50062
|
const { window: o = nC, ...u } = n;
|
|
50072
50063
|
let f;
|
|
50073
|
-
const c = /* @__PURE__ */
|
|
50064
|
+
const c = /* @__PURE__ */ KF(() => o && "ResizeObserver" in o), d = () => {
|
|
50074
50065
|
f && (f.disconnect(), f = void 0);
|
|
50075
50066
|
}, a = s1(() => {
|
|
50076
50067
|
const m = Pr(e);
|
|
@@ -50088,16 +50079,16 @@ function pSe(e, t, n = {}) {
|
|
|
50088
50079
|
), g = () => {
|
|
50089
50080
|
d(), h();
|
|
50090
50081
|
};
|
|
50091
|
-
return
|
|
50082
|
+
return Zb(g), {
|
|
50092
50083
|
isSupported: c,
|
|
50093
50084
|
stop: g
|
|
50094
50085
|
};
|
|
50095
50086
|
}
|
|
50096
|
-
function
|
|
50087
|
+
function pSe(e, t = { width: 0, height: 0 }, n = {}) {
|
|
50097
50088
|
const { window: o = nC, box: u = "content-box" } = n, f = s1(() => {
|
|
50098
50089
|
var m, w;
|
|
50099
50090
|
return (w = (m = h3(e)) == null ? void 0 : m.namespaceURI) == null ? void 0 : w.includes("svg");
|
|
50100
|
-
}), c = el(t.width), d = el(t.height), { stop: a } =
|
|
50091
|
+
}), c = el(t.width), d = el(t.height), { stop: a } = hSe(
|
|
50101
50092
|
e,
|
|
50102
50093
|
([m]) => {
|
|
50103
50094
|
const w = u === "border-box" ? m.borderBoxSize : u === "content-box" ? m.contentBoxSize : m.devicePixelContentBoxSize;
|
|
@@ -50115,7 +50106,7 @@ function dSe(e, t = { width: 0, height: 0 }, n = {}) {
|
|
|
50115
50106
|
},
|
|
50116
50107
|
n
|
|
50117
50108
|
);
|
|
50118
|
-
|
|
50109
|
+
nSe(() => {
|
|
50119
50110
|
const m = h3(e);
|
|
50120
50111
|
m && (c.value = "offsetWidth" in m ? m.offsetWidth : t.width, d.value = "offsetHeight" in m ? m.offsetHeight : t.height);
|
|
50121
50112
|
});
|
|
@@ -50134,14 +50125,14 @@ function dSe(e, t = { width: 0, height: 0 }, n = {}) {
|
|
|
50134
50125
|
stop: g
|
|
50135
50126
|
};
|
|
50136
50127
|
}
|
|
50137
|
-
const
|
|
50128
|
+
const dSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
50138
50129
|
__name: "DatasetLabelTag",
|
|
50139
50130
|
props: {
|
|
50140
50131
|
badge: {},
|
|
50141
50132
|
url: {}
|
|
50142
50133
|
},
|
|
50143
50134
|
setup(e) {
|
|
50144
|
-
const t = e, n =
|
|
50135
|
+
const t = e, n = WF(async () => {
|
|
50145
50136
|
const o = /* @__PURE__ */ Object.assign({
|
|
50146
50137
|
"../../assets/labels/hvd.svg": () => import("./hvd-DYeke1vM.js").then((f) => f.default),
|
|
50147
50138
|
"../../assets/labels/inspire.svg": () => import("./inspire-BLXeJvob.js").then((f) => f.default),
|
|
@@ -50164,13 +50155,13 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50164
50155
|
src: he(n),
|
|
50165
50156
|
alt: "",
|
|
50166
50157
|
class: M2({ "bg-white rounded-full": e.url })
|
|
50167
|
-
}, null, 10,
|
|
50158
|
+
}, null, 10, dSe)) : z1("", !0),
|
|
50168
50159
|
Y1(" " + Qe(e.badge.label), 1)
|
|
50169
50160
|
]),
|
|
50170
50161
|
_: 1
|
|
50171
50162
|
}, 8, ["to", "class"]));
|
|
50172
50163
|
}
|
|
50173
|
-
}),
|
|
50164
|
+
}), fSe = ["innerHTML"], GF = /* @__PURE__ */ C({
|
|
50174
50165
|
__name: "MarkdownViewer",
|
|
50175
50166
|
props: {
|
|
50176
50167
|
content: {},
|
|
@@ -50182,9 +50173,9 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50182
50173
|
return (t, n) => (be(), Ke("div", {
|
|
50183
50174
|
class: M2(e.size === "sm" ? he(Gye) : he(hF)),
|
|
50184
50175
|
innerHTML: he(Dye)(e.content, { minDepth: e.minHeading, noHeadings: e.noHeadings })
|
|
50185
|
-
}, null, 10,
|
|
50176
|
+
}, null, 10, fSe));
|
|
50186
50177
|
}
|
|
50187
|
-
}),
|
|
50178
|
+
}), YF = /* @__PURE__ */ C({
|
|
50188
50179
|
__name: "OwnerType",
|
|
50189
50180
|
props: {
|
|
50190
50181
|
type: {},
|
|
@@ -50212,7 +50203,7 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50212
50203
|
}, Qe(u.value), 3)
|
|
50213
50204
|
], 2));
|
|
50214
50205
|
}
|
|
50215
|
-
}),
|
|
50206
|
+
}), gSe = { class: "border border-gray-default bg-white relative fr-enlarge-link" }, mSe = { class: "px-4 pb-4 pt-5 mt-2" }, CSe = { class: "inline-flex border border-gray-default p-1.5 absolute top-4 left-4 bg-white" }, wSe = ["src"], ySe = { class: "mb-0.5 font-bold" }, vSe = { class: "mb-2 flex flex-wrap gap-1 items-center" }, xSe = ["aria-label"], LSe = { class: "mt-1 mb-0" }, pBe = /* @__PURE__ */ C({
|
|
50216
50207
|
__name: "OrganizationCard",
|
|
50217
50208
|
props: {
|
|
50218
50209
|
organization: {}
|
|
@@ -50221,19 +50212,19 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50221
50212
|
const t = e, { t: n } = C2(), o = s1(() => PS(t.organization));
|
|
50222
50213
|
return (u, f) => {
|
|
50223
50214
|
const c = nle("TextClamp");
|
|
50224
|
-
return be(), Ke("div",
|
|
50215
|
+
return be(), Ke("div", gSe, [
|
|
50225
50216
|
f[0] || (f[0] = Oe("div", { class: "h-[4.5rem] pt-4 px-4 bg-blue-lighter" }, null, -1)),
|
|
50226
|
-
Oe("div",
|
|
50227
|
-
Oe("div",
|
|
50217
|
+
Oe("div", mSe, [
|
|
50218
|
+
Oe("div", CSe, [
|
|
50228
50219
|
Oe("img", {
|
|
50229
50220
|
src: e.organization.logo_thumbnail,
|
|
50230
50221
|
width: "64",
|
|
50231
50222
|
height: "64",
|
|
50232
50223
|
alt: "",
|
|
50233
50224
|
loading: "lazy"
|
|
50234
|
-
}, null, 8,
|
|
50225
|
+
}, null, 8, wSe)
|
|
50235
50226
|
]),
|
|
50236
|
-
Oe("div",
|
|
50227
|
+
Oe("div", ySe, [
|
|
50237
50228
|
r1(fa, {
|
|
50238
50229
|
to: e.organization.page,
|
|
50239
50230
|
class: "overflow-hidden"
|
|
@@ -50247,9 +50238,9 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50247
50238
|
_: 1
|
|
50248
50239
|
}, 8, ["to"])
|
|
50249
50240
|
]),
|
|
50250
|
-
Oe("div",
|
|
50241
|
+
Oe("div", vSe, [
|
|
50251
50242
|
o.value !== "other" ? (be(), Ke(d2, { key: 0 }, [
|
|
50252
|
-
r1(
|
|
50243
|
+
r1(YF, {
|
|
50253
50244
|
class: "mb-0 text-sm",
|
|
50254
50245
|
type: o.value
|
|
50255
50246
|
}, null, 8, ["type"]),
|
|
@@ -50283,10 +50274,10 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50283
50274
|
class: "size-4 -mt-1 ml-1"
|
|
50284
50275
|
}),
|
|
50285
50276
|
Y1(" " + Qe(e.organization.metrics.reuses), 1)
|
|
50286
|
-
], 8,
|
|
50277
|
+
], 8, xSe)) : z1("", !0)
|
|
50287
50278
|
])
|
|
50288
50279
|
]),
|
|
50289
|
-
Oe("div",
|
|
50280
|
+
Oe("div", LSe, [
|
|
50290
50281
|
"description" in e.organization ? (be(), F1(c, {
|
|
50291
50282
|
key: 0,
|
|
50292
50283
|
text: he(bb)(e.organization.description),
|
|
@@ -50297,7 +50288,7 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50297
50288
|
]);
|
|
50298
50289
|
};
|
|
50299
50290
|
}
|
|
50300
|
-
}),
|
|
50291
|
+
}), SSe = { class: "text-sm flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate" }, bSe = ["aria-label"], HSe = /* @__PURE__ */ C({
|
|
50301
50292
|
__name: "OrganizationHorizontalCard",
|
|
50302
50293
|
props: {
|
|
50303
50294
|
organization: {}
|
|
@@ -50326,9 +50317,9 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50326
50317
|
]),
|
|
50327
50318
|
_: 1
|
|
50328
50319
|
}, 8, ["icon", "url"]),
|
|
50329
|
-
Oe("div",
|
|
50320
|
+
Oe("div", SSe, [
|
|
50330
50321
|
o.value !== "other" ? (be(), Ke(d2, { key: 0 }, [
|
|
50331
|
-
r1(
|
|
50322
|
+
r1(YF, {
|
|
50332
50323
|
class: "mb-0",
|
|
50333
50324
|
type: o.value
|
|
50334
50325
|
}, null, 8, ["type"]),
|
|
@@ -50367,7 +50358,7 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50367
50358
|
class: "size-3.5 ml-1"
|
|
50368
50359
|
}),
|
|
50369
50360
|
Y1(" " + Qe(he($s)(e.organization.metrics.followers)), 1)
|
|
50370
|
-
], 8,
|
|
50361
|
+
], 8, bSe)) : z1("", !0)
|
|
50371
50362
|
]),
|
|
50372
50363
|
"description" in e.organization ? (be(), F1(R3, {
|
|
50373
50364
|
key: 0,
|
|
@@ -50377,10 +50368,10 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50377
50368
|
_: 1
|
|
50378
50369
|
}));
|
|
50379
50370
|
}
|
|
50380
|
-
}),
|
|
50371
|
+
}), JF = Symbol("radioGroup"), VSe = { class: "flex flex-col gap-2 min-w-0" }, MSe = {
|
|
50381
50372
|
key: 0,
|
|
50382
50373
|
class: "fr-label mb-2"
|
|
50383
|
-
},
|
|
50374
|
+
}, XF = /* @__PURE__ */ C({
|
|
50384
50375
|
__name: "RadioGroup",
|
|
50385
50376
|
props: {
|
|
50386
50377
|
modelValue: {},
|
|
@@ -50390,18 +50381,18 @@ const fSe = ["src"], hBe = /* @__PURE__ */ C({
|
|
|
50390
50381
|
emits: ["update:modelValue"],
|
|
50391
50382
|
setup(e, { emit: t }) {
|
|
50392
50383
|
const n = e, o = t;
|
|
50393
|
-
return qs(
|
|
50384
|
+
return qs(JF, {
|
|
50394
50385
|
name: hZ(() => n.name),
|
|
50395
50386
|
modelValue: hZ(() => n.modelValue),
|
|
50396
50387
|
select: (u) => o("update:modelValue", u)
|
|
50397
|
-
}), (u, f) => (be(), Ke("fieldset",
|
|
50398
|
-
e.legend ? (be(), Ke("legend",
|
|
50388
|
+
}), (u, f) => (be(), Ke("fieldset", VSe, [
|
|
50389
|
+
e.legend ? (be(), Ke("legend", MSe, Qe(e.legend), 1)) : z1("", !0),
|
|
50399
50390
|
s2(u.$slots, "default")
|
|
50400
50391
|
]));
|
|
50401
50392
|
}
|
|
50402
|
-
}),
|
|
50403
|
-
function
|
|
50404
|
-
return be(), Ke("span",
|
|
50393
|
+
}), _Se = {}, ESe = { class: "inline-flex gap-0.5 items-end h-2" };
|
|
50394
|
+
function NSe(e, t) {
|
|
50395
|
+
return be(), Ke("span", ESe, [
|
|
50405
50396
|
(be(), Ke(d2, null, Xr(3, (n) => Oe("span", {
|
|
50406
50397
|
key: n,
|
|
50407
50398
|
class: "w-1 h-1 bg-current rounded-full animate-[bounce-dot_0.6s_ease-in-out_infinite]",
|
|
@@ -50409,7 +50400,7 @@ function zSe(e, t) {
|
|
|
50409
50400
|
}, null, 4)), 64))
|
|
50410
50401
|
]);
|
|
50411
50402
|
}
|
|
50412
|
-
const
|
|
50403
|
+
const zSe = /* @__PURE__ */ Vs(_Se, [["render", NSe]]), ZSe = ["name", "value", "checked"], ASe = { class: "text-sm flex-1 min-w-0" }, oS = /* @__PURE__ */ C({
|
|
50413
50404
|
__name: "RadioInput",
|
|
50414
50405
|
props: {
|
|
50415
50406
|
value: {},
|
|
@@ -50419,7 +50410,7 @@ const ZSe = /* @__PURE__ */ Vs(ESe, [["render", zSe]]), ASe = ["name", "value",
|
|
|
50419
50410
|
highlighted: { type: Boolean }
|
|
50420
50411
|
},
|
|
50421
50412
|
setup(e) {
|
|
50422
|
-
const t = e, n = Jn(
|
|
50413
|
+
const t = e, n = Jn(JF), { locale: o } = C2(), u = s1(() => n?.modelValue.value === t.value), f = s1(() => u.value ? t.highlighted ? "bg-blue-800 text-white" : "bg-gray-200" : "hover:bg-gray-100"), c = s1(() => t.count === void 0 ? "" : new Intl.NumberFormat(o, { notation: "compact" }).format(t.count));
|
|
50423
50414
|
return (d, a) => (be(), Ke("label", {
|
|
50424
50415
|
class: M2(["flex items-center gap-2 p-1 rounded cursor-pointer transition has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-blue-500", f.value])
|
|
50425
50416
|
}, [
|
|
@@ -50430,25 +50421,25 @@ const ZSe = /* @__PURE__ */ Vs(ESe, [["render", zSe]]), ASe = ["name", "value",
|
|
|
50430
50421
|
checked: u.value,
|
|
50431
50422
|
class: "sr-only",
|
|
50432
50423
|
onChange: a[0] || (a[0] = (h) => he(n)?.select(e.value))
|
|
50433
|
-
}, null, 40,
|
|
50424
|
+
}, null, 40, ZSe),
|
|
50434
50425
|
e.icon ? (be(), F1(zn(e.icon), {
|
|
50435
50426
|
key: 0,
|
|
50436
50427
|
class: "w-4 h-4"
|
|
50437
50428
|
})) : z1("", !0),
|
|
50438
|
-
Oe("span",
|
|
50429
|
+
Oe("span", ASe, [
|
|
50439
50430
|
s2(d.$slots, "default")
|
|
50440
50431
|
]),
|
|
50441
50432
|
e.loading || e.count !== void 0 ? (be(), Ke("span", {
|
|
50442
50433
|
key: 1,
|
|
50443
50434
|
class: M2(["text-xs font-bold px-1 py-0.5 rounded", u.value && e.highlighted ? "bg-white/20 text-white" : "bg-gray-200 text-gray-600"])
|
|
50444
50435
|
}, [
|
|
50445
|
-
e.loading ? (be(), F1(
|
|
50436
|
+
e.loading ? (be(), F1(zSe, { key: 0 })) : (be(), Ke(d2, { key: 1 }, [
|
|
50446
50437
|
Y1(Qe(c.value), 1)
|
|
50447
50438
|
], 64))
|
|
50448
50439
|
], 2)) : z1("", !0)
|
|
50449
50440
|
], 2));
|
|
50450
50441
|
}
|
|
50451
|
-
}),
|
|
50442
|
+
}), RSe = ["src", "alt"], kSe = {
|
|
50452
50443
|
key: 0,
|
|
50453
50444
|
class: "text-sm text-gray-medium mt-1"
|
|
50454
50445
|
}, dBe = /* @__PURE__ */ C({
|
|
@@ -50469,7 +50460,7 @@ const ZSe = /* @__PURE__ */ Vs(ESe, [["render", zSe]]), ASe = ["name", "value",
|
|
|
50469
50460
|
src: e.post.image,
|
|
50470
50461
|
class: "w-full h-full object-cover",
|
|
50471
50462
|
alt: e.post.name
|
|
50472
|
-
}, null, 8,
|
|
50463
|
+
}, null, 8, RSe)) : (be(), F1(V3, {
|
|
50473
50464
|
key: 1,
|
|
50474
50465
|
type: "Dataset",
|
|
50475
50466
|
class: "w-full h-full"
|
|
@@ -50488,14 +50479,14 @@ const ZSe = /* @__PURE__ */ Vs(ESe, [["render", zSe]]), ASe = ["name", "value",
|
|
|
50488
50479
|
r1(R3, {
|
|
50489
50480
|
text: e.post.headline || e.post.content
|
|
50490
50481
|
}, null, 8, ["text"]),
|
|
50491
|
-
e.post.published || e.post.created_at ? (be(), Ke("div",
|
|
50482
|
+
e.post.published || e.post.created_at ? (be(), Ke("div", kSe, Qe(he(t)("Publié {date}", { date: o(e.post.published || e.post.created_at) })), 1)) : z1("", !0),
|
|
50492
50483
|
s2(u.$slots, "default")
|
|
50493
50484
|
]),
|
|
50494
50485
|
_: 3
|
|
50495
50486
|
}));
|
|
50496
50487
|
}
|
|
50497
50488
|
});
|
|
50498
|
-
function
|
|
50489
|
+
function QF(e, t) {
|
|
50499
50490
|
var n = {};
|
|
50500
50491
|
for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
|
|
50501
50492
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -50503,21 +50494,21 @@ function eD(e, t) {
|
|
|
50503
50494
|
t.indexOf(o[u]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[u]) && (n[o[u]] = e[o[u]]);
|
|
50504
50495
|
return n;
|
|
50505
50496
|
}
|
|
50506
|
-
var
|
|
50497
|
+
var Ab = function() {
|
|
50507
50498
|
}, L3 = function() {
|
|
50508
50499
|
};
|
|
50509
|
-
process.env.NODE_ENV !== "production" && (
|
|
50500
|
+
process.env.NODE_ENV !== "production" && (Ab = function(e, t) {
|
|
50510
50501
|
!e && typeof console < "u" && console.warn(t);
|
|
50511
50502
|
}, L3 = function(e, t) {
|
|
50512
50503
|
if (!e)
|
|
50513
50504
|
throw new Error(t);
|
|
50514
50505
|
});
|
|
50515
|
-
const lS = (e, t, n) => Math.min(Math.max(n, e), t), tL = 1e-3,
|
|
50516
|
-
function
|
|
50506
|
+
const lS = (e, t, n) => Math.min(Math.max(n, e), t), tL = 1e-3, TSe = 0.01, BR = 10, OSe = 0.05, BSe = 1;
|
|
50507
|
+
function ISe({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: o = 1 }) {
|
|
50517
50508
|
let u, f;
|
|
50518
|
-
|
|
50509
|
+
Ab(e <= BR * 1e3, "Spring duration must be 10 seconds or less");
|
|
50519
50510
|
let c = 1 - t;
|
|
50520
|
-
c = lS(
|
|
50511
|
+
c = lS(OSe, BSe, c), e = lS(TSe, BR, e / 1e3), c < 1 ? (u = (h) => {
|
|
50521
50512
|
const g = h * c, m = g * e, w = g - n, y = cS(h, c), x = Math.exp(-m);
|
|
50522
50513
|
return tL - w / y * x;
|
|
50523
50514
|
}, f = (h) => {
|
|
@@ -50530,7 +50521,7 @@ function FSe({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: o = 1
|
|
|
50530
50521
|
const g = Math.exp(-h * e), m = (n - h) * (e * e);
|
|
50531
50522
|
return g * m;
|
|
50532
50523
|
});
|
|
50533
|
-
const d = 5 / e, a =
|
|
50524
|
+
const d = 5 / e, a = DSe(u, f, d);
|
|
50534
50525
|
if (e = e * 1e3, isNaN(a))
|
|
50535
50526
|
return {
|
|
50536
50527
|
stiffness: 100,
|
|
@@ -50546,32 +50537,32 @@ function FSe({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: o = 1
|
|
|
50546
50537
|
};
|
|
50547
50538
|
}
|
|
50548
50539
|
}
|
|
50549
|
-
const
|
|
50550
|
-
function
|
|
50540
|
+
const FSe = 12;
|
|
50541
|
+
function DSe(e, t, n) {
|
|
50551
50542
|
let o = n;
|
|
50552
|
-
for (let u = 1; u <
|
|
50543
|
+
for (let u = 1; u < FSe; u++)
|
|
50553
50544
|
o = o - e(o) / t(o);
|
|
50554
50545
|
return o;
|
|
50555
50546
|
}
|
|
50556
50547
|
function cS(e, t) {
|
|
50557
50548
|
return e * Math.sqrt(1 - t * t);
|
|
50558
50549
|
}
|
|
50559
|
-
const
|
|
50550
|
+
const PSe = ["duration", "bounce"], jSe = ["stiffness", "damping", "mass"];
|
|
50560
50551
|
function IR(e, t) {
|
|
50561
50552
|
return t.some((n) => e[n] !== void 0);
|
|
50562
50553
|
}
|
|
50563
|
-
function
|
|
50554
|
+
function $Se(e) {
|
|
50564
50555
|
let t = Object.assign({ velocity: 0, stiffness: 100, damping: 10, mass: 1, isResolvedFromDuration: !1 }, e);
|
|
50565
|
-
if (!IR(e,
|
|
50566
|
-
const n =
|
|
50556
|
+
if (!IR(e, jSe) && IR(e, PSe)) {
|
|
50557
|
+
const n = ISe(e);
|
|
50567
50558
|
t = Object.assign(Object.assign(Object.assign({}, t), n), { velocity: 0, mass: 1 }), t.isResolvedFromDuration = !0;
|
|
50568
50559
|
}
|
|
50569
50560
|
return t;
|
|
50570
50561
|
}
|
|
50571
|
-
function
|
|
50572
|
-
var { from: t = 0, to: n = 1, restSpeed: o = 2, restDelta: u } = e, f =
|
|
50562
|
+
function Rb(e) {
|
|
50563
|
+
var { from: t = 0, to: n = 1, restSpeed: o = 2, restDelta: u } = e, f = QF(e, ["from", "to", "restSpeed", "restDelta"]);
|
|
50573
50564
|
const c = { done: !1, value: t };
|
|
50574
|
-
let { stiffness: d, damping: a, mass: h, velocity: g, duration: m, isResolvedFromDuration: w } =
|
|
50565
|
+
let { stiffness: d, damping: a, mass: h, velocity: g, duration: m, isResolvedFromDuration: w } = $Se(f), y = FR, x = FR;
|
|
50575
50566
|
function H() {
|
|
50576
50567
|
const E = g ? -(g / 1e3) : 0, z = n - t, Z = a / (2 * Math.sqrt(d * h)), R = Math.sqrt(d / h) / 1e3;
|
|
50577
50568
|
if (u === void 0 && (u = Math.min(Math.abs(n - t) / 100, 0.4)), Z < 1) {
|
|
@@ -50609,11 +50600,11 @@ function kb(e) {
|
|
|
50609
50600
|
}
|
|
50610
50601
|
};
|
|
50611
50602
|
}
|
|
50612
|
-
|
|
50613
|
-
const FR = (e) => 0,
|
|
50603
|
+
Rb.needsInterpolation = (e, t) => typeof e == "string" || typeof t == "string";
|
|
50604
|
+
const FR = (e) => 0, eD = (e, t, n) => {
|
|
50614
50605
|
const o = t - e;
|
|
50615
50606
|
return o === 0 ? 1 : (n - e) / o;
|
|
50616
|
-
},
|
|
50607
|
+
}, kb = (e, t, n) => -n * e + n * t + e, tD = (e, t) => (n) => Math.max(Math.min(n, t), e), Lh = (e) => e % 1 ? Number(e.toFixed(5)) : e, dm = /(-)?([\d]*\.?[\d])+/g, uS = /(#[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, USe = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
|
|
50617
50608
|
function hp(e) {
|
|
50618
50609
|
return typeof e == "string";
|
|
50619
50610
|
}
|
|
@@ -50621,15 +50612,15 @@ const iC = {
|
|
|
50621
50612
|
test: (e) => typeof e == "number",
|
|
50622
50613
|
parse: parseFloat,
|
|
50623
50614
|
transform: (e) => e
|
|
50624
|
-
},
|
|
50615
|
+
}, rD = Object.assign(Object.assign({}, iC), { transform: tD(0, 1) });
|
|
50625
50616
|
Object.assign(Object.assign({}, iC), { default: 1 });
|
|
50626
|
-
const
|
|
50617
|
+
const qSe = (e) => ({
|
|
50627
50618
|
test: (t) => hp(t) && t.endsWith(e) && t.split(" ").length === 1,
|
|
50628
50619
|
parse: parseFloat,
|
|
50629
50620
|
transform: (t) => `${t}${e}`
|
|
50630
|
-
}), Sh =
|
|
50621
|
+
}), Sh = qSe("%");
|
|
50631
50622
|
Object.assign(Object.assign({}, Sh), { parse: (e) => Sh.parse(e) / 100, transform: (e) => Sh.transform(e * 100) });
|
|
50632
|
-
const
|
|
50623
|
+
const Tb = (e, t) => (n) => !!(hp(n) && USe.test(n) && n.startsWith(e) || t && Object.prototype.hasOwnProperty.call(n, t)), nD = (e, t, n) => (o) => {
|
|
50633
50624
|
if (!hp(o))
|
|
50634
50625
|
return o;
|
|
50635
50626
|
const [u, f, c, d] = o.match(dm);
|
|
@@ -50640,15 +50631,15 @@ const Ob = (e, t) => (n) => !!(hp(n) && qSe.test(n) && n.startsWith(e) || t && O
|
|
|
50640
50631
|
alpha: d !== void 0 ? parseFloat(d) : 1
|
|
50641
50632
|
};
|
|
50642
50633
|
}, p3 = {
|
|
50643
|
-
test:
|
|
50644
|
-
parse:
|
|
50645
|
-
transform: ({ hue: e, saturation: t, lightness: n, alpha: o = 1 }) => "hsla(" + Math.round(e) + ", " + Sh.transform(Lh(t)) + ", " + Sh.transform(Lh(n)) + ", " + Lh(
|
|
50646
|
-
},
|
|
50647
|
-
test:
|
|
50648
|
-
parse:
|
|
50649
|
-
transform: ({ red: e, green: t, blue: n, alpha: o = 1 }) => "rgba(" + rL.transform(e) + ", " + rL.transform(t) + ", " + rL.transform(n) + ", " + Lh(
|
|
50634
|
+
test: Tb("hsl", "hue"),
|
|
50635
|
+
parse: nD("hue", "saturation", "lightness"),
|
|
50636
|
+
transform: ({ hue: e, saturation: t, lightness: n, alpha: o = 1 }) => "hsla(" + Math.round(e) + ", " + Sh.transform(Lh(t)) + ", " + Sh.transform(Lh(n)) + ", " + Lh(rD.transform(o)) + ")"
|
|
50637
|
+
}, WSe = tD(0, 255), rL = Object.assign(Object.assign({}, iC), { transform: (e) => Math.round(WSe(e)) }), Z5 = {
|
|
50638
|
+
test: Tb("rgb", "red"),
|
|
50639
|
+
parse: nD("red", "green", "blue"),
|
|
50640
|
+
transform: ({ red: e, green: t, blue: n, alpha: o = 1 }) => "rgba(" + rL.transform(e) + ", " + rL.transform(t) + ", " + rL.transform(n) + ", " + Lh(rD.transform(o)) + ")"
|
|
50650
50641
|
};
|
|
50651
|
-
function
|
|
50642
|
+
function KSe(e) {
|
|
50652
50643
|
let t = "", n = "", o = "", u = "";
|
|
50653
50644
|
return e.length > 5 ? (t = e.substr(1, 2), n = e.substr(3, 2), o = e.substr(5, 2), u = e.substr(7, 2)) : (t = e.substr(1, 1), n = e.substr(2, 1), o = e.substr(3, 1), u = e.substr(4, 1), t += t, n += n, o += o, u += u), {
|
|
50654
50645
|
red: parseInt(t, 16),
|
|
@@ -50658,45 +50649,45 @@ function GSe(e) {
|
|
|
50658
50649
|
};
|
|
50659
50650
|
}
|
|
50660
50651
|
const hS = {
|
|
50661
|
-
test:
|
|
50662
|
-
parse:
|
|
50652
|
+
test: Tb("#"),
|
|
50653
|
+
parse: KSe,
|
|
50663
50654
|
transform: Z5.transform
|
|
50664
50655
|
}, sC = {
|
|
50665
50656
|
test: (e) => Z5.test(e) || hS.test(e) || p3.test(e),
|
|
50666
50657
|
parse: (e) => Z5.test(e) ? Z5.parse(e) : p3.test(e) ? p3.parse(e) : hS.parse(e),
|
|
50667
50658
|
transform: (e) => hp(e) ? e : e.hasOwnProperty("red") ? Z5.transform(e) : p3.transform(e)
|
|
50668
|
-
},
|
|
50669
|
-
function
|
|
50659
|
+
}, iD = "${c}", sD = "${n}";
|
|
50660
|
+
function GSe(e) {
|
|
50670
50661
|
var t, n, o, u;
|
|
50671
50662
|
return isNaN(e) && hp(e) && ((n = (t = e.match(dm)) === null || t === void 0 ? void 0 : t.length) !== null && n !== void 0 ? n : 0) + ((u = (o = e.match(uS)) === null || o === void 0 ? void 0 : o.length) !== null && u !== void 0 ? u : 0) > 0;
|
|
50672
50663
|
}
|
|
50673
|
-
function
|
|
50664
|
+
function aD(e) {
|
|
50674
50665
|
typeof e == "number" && (e = `${e}`);
|
|
50675
50666
|
const t = [];
|
|
50676
50667
|
let n = 0;
|
|
50677
50668
|
const o = e.match(uS);
|
|
50678
|
-
o && (n = o.length, e = e.replace(uS,
|
|
50669
|
+
o && (n = o.length, e = e.replace(uS, iD), t.push(...o.map(sC.parse)));
|
|
50679
50670
|
const u = e.match(dm);
|
|
50680
|
-
return u && (e = e.replace(dm,
|
|
50671
|
+
return u && (e = e.replace(dm, sD), t.push(...u.map(iC.parse))), { values: t, numColors: n, tokenised: e };
|
|
50681
50672
|
}
|
|
50682
|
-
function
|
|
50683
|
-
return
|
|
50673
|
+
function oD(e) {
|
|
50674
|
+
return aD(e).values;
|
|
50684
50675
|
}
|
|
50685
|
-
function
|
|
50686
|
-
const { values: t, numColors: n, tokenised: o } =
|
|
50676
|
+
function lD(e) {
|
|
50677
|
+
const { values: t, numColors: n, tokenised: o } = aD(e), u = t.length;
|
|
50687
50678
|
return (f) => {
|
|
50688
50679
|
let c = o;
|
|
50689
50680
|
for (let d = 0; d < u; d++)
|
|
50690
|
-
c = c.replace(d < n ?
|
|
50681
|
+
c = c.replace(d < n ? iD : sD, d < n ? sC.transform(f[d]) : Lh(f[d]));
|
|
50691
50682
|
return c;
|
|
50692
50683
|
};
|
|
50693
50684
|
}
|
|
50694
|
-
const
|
|
50695
|
-
function
|
|
50696
|
-
const t =
|
|
50697
|
-
return
|
|
50685
|
+
const YSe = (e) => typeof e == "number" ? 0 : e;
|
|
50686
|
+
function JSe(e) {
|
|
50687
|
+
const t = oD(e);
|
|
50688
|
+
return lD(e)(t.map(YSe));
|
|
50698
50689
|
}
|
|
50699
|
-
const
|
|
50690
|
+
const cD = { test: GSe, parse: oD, createTransformer: lD, getAnimatableNone: JSe };
|
|
50700
50691
|
function nL(e, t, n) {
|
|
50701
50692
|
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
|
|
50702
50693
|
}
|
|
@@ -50716,10 +50707,10 @@ function DR({ hue: e, saturation: t, lightness: n, alpha: o }) {
|
|
|
50716
50707
|
alpha: o
|
|
50717
50708
|
};
|
|
50718
50709
|
}
|
|
50719
|
-
const
|
|
50710
|
+
const XSe = (e, t, n) => {
|
|
50720
50711
|
const o = e * e, u = t * t;
|
|
50721
50712
|
return Math.sqrt(Math.max(0, n * (u - o) + o));
|
|
50722
|
-
},
|
|
50713
|
+
}, QSe = [hS, Z5, p3], PR = (e) => QSe.find((t) => t.test(e)), jR = (e) => `'${e}' is not an animatable color. Use the equivalent color code instead.`, uD = (e, t) => {
|
|
50723
50714
|
let n = PR(e), o = PR(t);
|
|
50724
50715
|
L3(!!n, jR(e)), L3(!!o, jR(t));
|
|
50725
50716
|
let u = n.parse(e), f = o.parse(t);
|
|
@@ -50727,24 +50718,24 @@ const QSe = (e, t, n) => {
|
|
|
50727
50718
|
const c = Object.assign({}, u);
|
|
50728
50719
|
return (d) => {
|
|
50729
50720
|
for (const a in c)
|
|
50730
|
-
a !== "alpha" && (c[a] =
|
|
50731
|
-
return c.alpha =
|
|
50721
|
+
a !== "alpha" && (c[a] = XSe(u[a], f[a], d));
|
|
50722
|
+
return c.alpha = kb(u.alpha, f.alpha, d), n.transform(c);
|
|
50732
50723
|
};
|
|
50733
|
-
},
|
|
50734
|
-
function
|
|
50735
|
-
return
|
|
50724
|
+
}, ebe = (e) => typeof e == "number", tbe = (e, t) => (n) => t(e(n)), hD = (...e) => e.reduce(tbe);
|
|
50725
|
+
function pD(e, t) {
|
|
50726
|
+
return ebe(e) ? (n) => kb(e, t, n) : sC.test(e) ? uD(e, t) : fD(e, t);
|
|
50736
50727
|
}
|
|
50737
|
-
const
|
|
50738
|
-
const n = [...e], o = n.length, u = e.map((f, c) =>
|
|
50728
|
+
const dD = (e, t) => {
|
|
50729
|
+
const n = [...e], o = n.length, u = e.map((f, c) => pD(f, t[c]));
|
|
50739
50730
|
return (f) => {
|
|
50740
50731
|
for (let c = 0; c < o; c++)
|
|
50741
50732
|
n[c] = u[c](f);
|
|
50742
50733
|
return n;
|
|
50743
50734
|
};
|
|
50744
|
-
},
|
|
50735
|
+
}, rbe = (e, t) => {
|
|
50745
50736
|
const n = Object.assign(Object.assign({}, e), t), o = {};
|
|
50746
50737
|
for (const u in n)
|
|
50747
|
-
e[u] !== void 0 && t[u] !== void 0 && (o[u] =
|
|
50738
|
+
e[u] !== void 0 && t[u] !== void 0 && (o[u] = pD(e[u], t[u]));
|
|
50748
50739
|
return (u) => {
|
|
50749
50740
|
for (const f in o)
|
|
50750
50741
|
n[f] = o[f](u);
|
|
@@ -50752,42 +50743,42 @@ const fD = (e, t) => {
|
|
|
50752
50743
|
};
|
|
50753
50744
|
};
|
|
50754
50745
|
function $R(e) {
|
|
50755
|
-
const t =
|
|
50746
|
+
const t = cD.parse(e), n = t.length;
|
|
50756
50747
|
let o = 0, u = 0, f = 0;
|
|
50757
50748
|
for (let c = 0; c < n; c++)
|
|
50758
50749
|
o || typeof t[c] == "number" ? o++ : t[c].hue !== void 0 ? f++ : u++;
|
|
50759
50750
|
return { parsed: t, numNumbers: o, numRGB: u, numHSL: f };
|
|
50760
50751
|
}
|
|
50761
|
-
const
|
|
50762
|
-
const n =
|
|
50763
|
-
return o.numHSL === u.numHSL && o.numRGB === u.numRGB && o.numNumbers >= u.numNumbers ?
|
|
50764
|
-
},
|
|
50765
|
-
function
|
|
50752
|
+
const fD = (e, t) => {
|
|
50753
|
+
const n = cD.createTransformer(t), o = $R(e), u = $R(t);
|
|
50754
|
+
return o.numHSL === u.numHSL && o.numRGB === u.numRGB && o.numNumbers >= u.numNumbers ? hD(dD(o.parsed, u.parsed), n) : (Ab(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), (c) => `${c > 0 ? t : e}`);
|
|
50755
|
+
}, nbe = (e, t) => (n) => kb(e, t, n);
|
|
50756
|
+
function ibe(e) {
|
|
50766
50757
|
if (typeof e == "number")
|
|
50767
|
-
return
|
|
50758
|
+
return nbe;
|
|
50768
50759
|
if (typeof e == "string")
|
|
50769
|
-
return sC.test(e) ?
|
|
50760
|
+
return sC.test(e) ? uD : fD;
|
|
50770
50761
|
if (Array.isArray(e))
|
|
50771
|
-
return
|
|
50762
|
+
return dD;
|
|
50772
50763
|
if (typeof e == "object")
|
|
50773
|
-
return
|
|
50764
|
+
return rbe;
|
|
50774
50765
|
}
|
|
50775
|
-
function
|
|
50776
|
-
const o = [], u = n ||
|
|
50766
|
+
function sbe(e, t, n) {
|
|
50767
|
+
const o = [], u = n || ibe(e[0]), f = e.length - 1;
|
|
50777
50768
|
for (let c = 0; c < f; c++) {
|
|
50778
50769
|
let d = u(e[c], e[c + 1]);
|
|
50779
50770
|
if (t) {
|
|
50780
50771
|
const a = Array.isArray(t) ? t[c] : t;
|
|
50781
|
-
d =
|
|
50772
|
+
d = hD(a, d);
|
|
50782
50773
|
}
|
|
50783
50774
|
o.push(d);
|
|
50784
50775
|
}
|
|
50785
50776
|
return o;
|
|
50786
50777
|
}
|
|
50787
|
-
function
|
|
50788
|
-
return (o) => n(
|
|
50778
|
+
function abe([e, t], [n]) {
|
|
50779
|
+
return (o) => n(eD(e, t, o));
|
|
50789
50780
|
}
|
|
50790
|
-
function
|
|
50781
|
+
function obe(e, t) {
|
|
50791
50782
|
const n = e.length, o = n - 1;
|
|
50792
50783
|
return (u) => {
|
|
50793
50784
|
let f = 0, c = !1;
|
|
@@ -50797,32 +50788,32 @@ function lbe(e, t) {
|
|
|
50797
50788
|
;
|
|
50798
50789
|
f = a - 1;
|
|
50799
50790
|
}
|
|
50800
|
-
const d =
|
|
50791
|
+
const d = eD(e[f], e[f + 1], u);
|
|
50801
50792
|
return t[f](d);
|
|
50802
50793
|
};
|
|
50803
50794
|
}
|
|
50804
|
-
function
|
|
50795
|
+
function gD(e, t, { clamp: n = !0, ease: o, mixer: u } = {}) {
|
|
50805
50796
|
const f = e.length;
|
|
50806
50797
|
L3(f === t.length, "Both input and output ranges must be the same length"), L3(!o || !Array.isArray(o) || o.length === f - 1, "Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."), e[0] > e[f - 1] && (e = [].concat(e), t = [].concat(t), e.reverse(), t.reverse());
|
|
50807
|
-
const c =
|
|
50798
|
+
const c = sbe(t, o, u), d = f === 2 ? abe(e, c) : obe(e, c);
|
|
50808
50799
|
return n ? (a) => d(lS(e[0], e[f - 1], a)) : d;
|
|
50809
50800
|
}
|
|
50810
|
-
const
|
|
50811
|
-
function
|
|
50812
|
-
return e.map(() => t ||
|
|
50801
|
+
const lbe = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, cbe = (e) => (t) => Math.pow(t, e), ube = cbe(2), hbe = lbe(ube);
|
|
50802
|
+
function pbe(e, t) {
|
|
50803
|
+
return e.map(() => t || hbe).splice(0, e.length - 1);
|
|
50813
50804
|
}
|
|
50814
|
-
function
|
|
50805
|
+
function dbe(e) {
|
|
50815
50806
|
const t = e.length;
|
|
50816
50807
|
return e.map((n, o) => o !== 0 ? o / (t - 1) : 0);
|
|
50817
50808
|
}
|
|
50818
|
-
function
|
|
50809
|
+
function fbe(e, t) {
|
|
50819
50810
|
return e.map((n) => n * t);
|
|
50820
50811
|
}
|
|
50821
50812
|
function jg({ from: e = 0, to: t = 1, ease: n, offset: o, duration: u = 300 }) {
|
|
50822
|
-
const f = { done: !1, value: e }, c = Array.isArray(t) ? t : [e, t], d =
|
|
50813
|
+
const f = { done: !1, value: e }, c = Array.isArray(t) ? t : [e, t], d = fbe(o && o.length === c.length ? o : dbe(c), u);
|
|
50823
50814
|
function a() {
|
|
50824
|
-
return
|
|
50825
|
-
ease: Array.isArray(n) ? n :
|
|
50815
|
+
return gD(d, c, {
|
|
50816
|
+
ease: Array.isArray(n) ? n : pbe(c, n)
|
|
50826
50817
|
});
|
|
50827
50818
|
}
|
|
50828
50819
|
let h = a();
|
|
@@ -50833,7 +50824,7 @@ function jg({ from: e = 0, to: t = 1, ease: n, offset: o, duration: u = 300 }) {
|
|
|
50833
50824
|
}
|
|
50834
50825
|
};
|
|
50835
50826
|
}
|
|
50836
|
-
function
|
|
50827
|
+
function gbe({ velocity: e = 0, from: t = 0, power: n = 0.8, timeConstant: o = 350, restDelta: u = 0.5, modifyTarget: f }) {
|
|
50837
50828
|
const c = { done: !1, value: t };
|
|
50838
50829
|
let d = n * e;
|
|
50839
50830
|
const a = t + d, h = f === void 0 ? a : f(a);
|
|
@@ -50846,17 +50837,17 @@ function mbe({ velocity: e = 0, from: t = 0, power: n = 0.8, timeConstant: o = 3
|
|
|
50846
50837
|
}
|
|
50847
50838
|
};
|
|
50848
50839
|
}
|
|
50849
|
-
const UR = { keyframes: jg, spring:
|
|
50850
|
-
function
|
|
50840
|
+
const UR = { keyframes: jg, spring: Rb, decay: gbe };
|
|
50841
|
+
function mbe(e) {
|
|
50851
50842
|
if (Array.isArray(e.to))
|
|
50852
50843
|
return jg;
|
|
50853
50844
|
if (UR[e.type])
|
|
50854
50845
|
return UR[e.type];
|
|
50855
50846
|
const t = new Set(Object.keys(e));
|
|
50856
|
-
return t.has("ease") || t.has("duration") && !t.has("dampingRatio") ? jg : t.has("dampingRatio") || t.has("stiffness") || t.has("mass") || t.has("damping") || t.has("restSpeed") || t.has("restDelta") ?
|
|
50847
|
+
return t.has("ease") || t.has("duration") && !t.has("dampingRatio") ? jg : t.has("dampingRatio") || t.has("stiffness") || t.has("mass") || t.has("damping") || t.has("restSpeed") || t.has("restDelta") ? Rb : jg;
|
|
50857
50848
|
}
|
|
50858
|
-
const
|
|
50859
|
-
function
|
|
50849
|
+
const mD = 1 / 60 * 1e3, Cbe = typeof performance < "u" ? () => performance.now() : () => Date.now(), CD = typeof window < "u" ? (e) => window.requestAnimationFrame(e) : (e) => setTimeout(() => e(Cbe()), mD);
|
|
50850
|
+
function wbe(e) {
|
|
50860
50851
|
let t = [], n = [], o = 0, u = !1, f = !1;
|
|
50861
50852
|
const c = /* @__PURE__ */ new WeakSet(), d = {
|
|
50862
50853
|
schedule: (a, h = !1, g = !1) => {
|
|
@@ -50882,7 +50873,7 @@ function ybe(e) {
|
|
|
50882
50873
|
};
|
|
50883
50874
|
return d;
|
|
50884
50875
|
}
|
|
50885
|
-
const
|
|
50876
|
+
const ybe = 40;
|
|
50886
50877
|
let pS = !0, Bh = !1, dS = !1;
|
|
50887
50878
|
const bh = {
|
|
50888
50879
|
delta: 0,
|
|
@@ -50893,42 +50884,42 @@ const bh = {
|
|
|
50893
50884
|
"preRender",
|
|
50894
50885
|
"render",
|
|
50895
50886
|
"postRender"
|
|
50896
|
-
], aC = pp.reduce((e, t) => (e[t] =
|
|
50887
|
+
], aC = pp.reduce((e, t) => (e[t] = wbe(() => Bh = !0), e), {}), vbe = pp.reduce((e, t) => {
|
|
50897
50888
|
const n = aC[t];
|
|
50898
|
-
return e[t] = (o, u = !1, f = !1) => (Bh ||
|
|
50899
|
-
}, {}),
|
|
50889
|
+
return e[t] = (o, u = !1, f = !1) => (Bh || Sbe(), n.schedule(o, u, f)), e;
|
|
50890
|
+
}, {}), xbe = pp.reduce((e, t) => (e[t] = aC[t].cancel, e), {});
|
|
50900
50891
|
pp.reduce((e, t) => (e[t] = () => aC[t].process(bh), e), {});
|
|
50901
|
-
const
|
|
50902
|
-
Bh = !1, bh.delta = pS ?
|
|
50903
|
-
},
|
|
50904
|
-
Bh = !0, pS = !0, dS || wD
|
|
50892
|
+
const Lbe = (e) => aC[e].process(bh), wD = (e) => {
|
|
50893
|
+
Bh = !1, bh.delta = pS ? mD : Math.max(Math.min(e - bh.timestamp, ybe), 1), bh.timestamp = e, dS = !0, pp.forEach(Lbe), dS = !1, Bh && (pS = !1, CD(wD));
|
|
50894
|
+
}, Sbe = () => {
|
|
50895
|
+
Bh = !0, pS = !0, dS || CD(wD);
|
|
50905
50896
|
};
|
|
50906
|
-
function
|
|
50897
|
+
function yD(e, t, n = 0) {
|
|
50907
50898
|
return e - t - n;
|
|
50908
50899
|
}
|
|
50909
|
-
function
|
|
50910
|
-
return o ?
|
|
50900
|
+
function bbe(e, t, n = 0, o = !0) {
|
|
50901
|
+
return o ? yD(t + -e, t, n) : t - (e - t) + n;
|
|
50911
50902
|
}
|
|
50912
|
-
function
|
|
50903
|
+
function Hbe(e, t, n, o) {
|
|
50913
50904
|
return o ? e >= t + n : e <= -n;
|
|
50914
50905
|
}
|
|
50915
|
-
const
|
|
50906
|
+
const Vbe = (e) => {
|
|
50916
50907
|
const t = ({ delta: n }) => e(n);
|
|
50917
50908
|
return {
|
|
50918
|
-
start: () =>
|
|
50919
|
-
stop: () =>
|
|
50909
|
+
start: () => vbe.update(t, !0),
|
|
50910
|
+
stop: () => xbe.update(t)
|
|
50920
50911
|
};
|
|
50921
50912
|
};
|
|
50922
50913
|
function qR(e) {
|
|
50923
|
-
var t, n, { from: o, autoplay: u = !0, driver: f =
|
|
50914
|
+
var t, n, { from: o, autoplay: u = !0, driver: f = Vbe, elapsed: c = 0, repeat: d = 0, repeatType: a = "loop", repeatDelay: h = 0, onPlay: g, onStop: m, onComplete: w, onRepeat: y, onUpdate: x } = e, H = QF(e, ["from", "autoplay", "driver", "elapsed", "repeat", "repeatType", "repeatDelay", "onPlay", "onStop", "onComplete", "onRepeat", "onUpdate"]);
|
|
50924
50915
|
let { to: E } = H, z, Z = 0, R = H.duration, T, B = !1, F = !0, U;
|
|
50925
|
-
const W =
|
|
50926
|
-
!((n = (t = W).needsInterpolation) === null || n === void 0) && n.call(t, o, E) && (U =
|
|
50916
|
+
const W = mbe(H);
|
|
50917
|
+
!((n = (t = W).needsInterpolation) === null || n === void 0) && n.call(t, o, E) && (U = gD([0, 100], [o, E], {
|
|
50927
50918
|
clamp: !1
|
|
50928
50919
|
}), o = 0, E = 100);
|
|
50929
50920
|
const Y = W(Object.assign(Object.assign({}, H), { from: o, to: E }));
|
|
50930
50921
|
function q() {
|
|
50931
|
-
Z++, a === "reverse" ? (F = Z % 2 === 0, c =
|
|
50922
|
+
Z++, a === "reverse" ? (F = Z % 2 === 0, c = bbe(c, R, h, F)) : (c = yD(c, R, h), a === "mirror" && Y.flipTarget()), B = !1, y && y();
|
|
50932
50923
|
}
|
|
50933
50924
|
function re() {
|
|
50934
50925
|
z.stop(), w && w();
|
|
@@ -50938,7 +50929,7 @@ function qR(e) {
|
|
|
50938
50929
|
const we = Y.next(Math.max(0, c));
|
|
50939
50930
|
T = we.value, U && (T = U(T)), B = F ? we.done : c <= 0;
|
|
50940
50931
|
}
|
|
50941
|
-
x?.(T), B && (Z === 0 && (R ?? (R = c)), Z < d ?
|
|
50932
|
+
x?.(T), B && (Z === 0 && (R ?? (R = c)), Z < d ? Hbe(c, R, h, F) && q() : re());
|
|
50942
50933
|
}
|
|
50943
50934
|
function He() {
|
|
50944
50935
|
g?.(), z = f(se), z.start();
|
|
@@ -50972,7 +50963,7 @@ var Ih = function() {
|
|
|
50972
50963
|
return t;
|
|
50973
50964
|
}, Ih.apply(this, arguments);
|
|
50974
50965
|
};
|
|
50975
|
-
function
|
|
50966
|
+
function Ob(e, t) {
|
|
50976
50967
|
var n = {};
|
|
50977
50968
|
for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
|
|
50978
50969
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -50980,14 +50971,14 @@ function Bb(e, t) {
|
|
|
50980
50971
|
t.indexOf(o[u]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[u]) && (n[o[u]] = e[o[u]]);
|
|
50981
50972
|
return n;
|
|
50982
50973
|
}
|
|
50983
|
-
var iL = 0,
|
|
50974
|
+
var iL = 0, vD = typeof window < "u" && window.requestAnimationFrame !== void 0 ? function(e) {
|
|
50984
50975
|
return window.requestAnimationFrame(e);
|
|
50985
50976
|
} : function(e) {
|
|
50986
50977
|
var t = Date.now(), n = Math.max(0, 16.7 - (t - iL));
|
|
50987
50978
|
iL = t + n, setTimeout(function() {
|
|
50988
50979
|
return e(iL);
|
|
50989
50980
|
}, n);
|
|
50990
|
-
},
|
|
50981
|
+
}, Mbe = function(e) {
|
|
50991
50982
|
var t = [], n = [], o = 0, u = !1, f = 0, c = /* @__PURE__ */ new WeakSet(), d = /* @__PURE__ */ new WeakSet(), a = {
|
|
50992
50983
|
cancel: function(h) {
|
|
50993
50984
|
var g = n.indexOf(h);
|
|
@@ -51009,24 +51000,24 @@ var iL = 0, xD = typeof window < "u" && window.requestAnimationFrame !== void 0
|
|
|
51009
51000
|
}
|
|
51010
51001
|
};
|
|
51011
51002
|
return a;
|
|
51012
|
-
},
|
|
51003
|
+
}, _be = 40, WR = 1 / 60 * 1e3, $g = !0, Fh = !1, fS = !1, lh = {
|
|
51013
51004
|
delta: 0,
|
|
51014
51005
|
timestamp: 0
|
|
51015
|
-
},
|
|
51006
|
+
}, Bb = ["read", "update", "preRender", "render", "postRender"], Ebe = function(e) {
|
|
51016
51007
|
return Fh = e;
|
|
51017
|
-
},
|
|
51018
|
-
return e[t] =
|
|
51019
|
-
}, {}),
|
|
51020
|
-
var n =
|
|
51008
|
+
}, xD = /* @__PURE__ */ Bb.reduce(function(e, t) {
|
|
51009
|
+
return e[t] = Mbe(Ebe), e;
|
|
51010
|
+
}, {}), Nbe = /* @__PURE__ */ Bb.reduce(function(e, t) {
|
|
51011
|
+
var n = xD[t];
|
|
51021
51012
|
return e[t] = function(o, u, f) {
|
|
51022
|
-
return u === void 0 && (u = !1), f === void 0 && (f = !1), Fh ||
|
|
51013
|
+
return u === void 0 && (u = !1), f === void 0 && (f = !1), Fh || Zbe(), n.schedule(o, u, f), o;
|
|
51023
51014
|
}, e;
|
|
51024
|
-
}, {}),
|
|
51025
|
-
return
|
|
51026
|
-
},
|
|
51027
|
-
Fh = !1, lh.delta = $g ? WR : Math.max(Math.min(e - lh.timestamp,
|
|
51028
|
-
},
|
|
51029
|
-
Fh = !0, $g = !0, fS ||
|
|
51015
|
+
}, {}), zbe = function(e) {
|
|
51016
|
+
return xD[e].process(lh);
|
|
51017
|
+
}, LD = function(e) {
|
|
51018
|
+
Fh = !1, lh.delta = $g ? WR : Math.max(Math.min(e - lh.timestamp, _be), 1), $g || (WR = lh.delta), lh.timestamp = e, fS = !0, Bb.forEach(zbe), fS = !1, Fh && ($g = !1, vD(LD));
|
|
51019
|
+
}, Zbe = function() {
|
|
51020
|
+
Fh = !0, $g = !0, fS || vD(LD);
|
|
51030
51021
|
};
|
|
51031
51022
|
/*! *****************************************************************************
|
|
51032
51023
|
Copyright (c) Microsoft Corporation.
|
|
@@ -51050,13 +51041,13 @@ var fo = function() {
|
|
|
51050
51041
|
}
|
|
51051
51042
|
return t;
|
|
51052
51043
|
}, fo.apply(this, arguments);
|
|
51053
|
-
},
|
|
51044
|
+
}, SD = function(e, t) {
|
|
51054
51045
|
return function(n) {
|
|
51055
51046
|
return Math.max(Math.min(n, t), e);
|
|
51056
51047
|
};
|
|
51057
51048
|
}, Ug = function(e) {
|
|
51058
51049
|
return e % 1 ? Number(e.toFixed(5)) : e;
|
|
51059
|
-
},
|
|
51050
|
+
}, bD = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i, oC = {
|
|
51060
51051
|
test: function(e) {
|
|
51061
51052
|
return typeof e == "number";
|
|
51062
51053
|
},
|
|
@@ -51064,7 +51055,7 @@ var fo = function() {
|
|
|
51064
51055
|
transform: function(e) {
|
|
51065
51056
|
return e;
|
|
51066
51057
|
}
|
|
51067
|
-
}, Hh = fo(fo({}, oC), { transform:
|
|
51058
|
+
}, Hh = fo(fo({}, oC), { transform: SD(0, 1) }), Sg = fo(fo({}, oC), { default: 1 }), Ib = function(e) {
|
|
51068
51059
|
return {
|
|
51069
51060
|
test: function(t) {
|
|
51070
51061
|
return typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1;
|
|
@@ -51074,48 +51065,48 @@ var fo = function() {
|
|
|
51074
51065
|
return "" + t + e;
|
|
51075
51066
|
}
|
|
51076
51067
|
};
|
|
51077
|
-
}, e3 =
|
|
51068
|
+
}, e3 = Ib("deg"), Vh = Ib("%"), Er = Ib("px"), KR = fo(fo({}, Vh), { parse: function(e) {
|
|
51078
51069
|
return Vh.parse(e) / 100;
|
|
51079
51070
|
}, transform: function(e) {
|
|
51080
51071
|
return Vh.transform(e * 100);
|
|
51081
|
-
} }),
|
|
51072
|
+
} }), Abe = function(e) {
|
|
51082
51073
|
return e.substring(e.indexOf("(") + 1, e.lastIndexOf(")"));
|
|
51083
|
-
},
|
|
51074
|
+
}, Rbe = SD(0, 255), gS = function(e) {
|
|
51084
51075
|
return e.red !== void 0;
|
|
51085
51076
|
}, mS = function(e) {
|
|
51086
51077
|
return e.hue !== void 0;
|
|
51087
51078
|
};
|
|
51088
|
-
function
|
|
51089
|
-
return
|
|
51079
|
+
function kbe(e) {
|
|
51080
|
+
return Abe(e).replace(/(,|\/)/g, " ").split(/ \s*/);
|
|
51090
51081
|
}
|
|
51091
|
-
var
|
|
51082
|
+
var HD = function(e) {
|
|
51092
51083
|
return function(t) {
|
|
51093
51084
|
if (typeof t != "string")
|
|
51094
51085
|
return t;
|
|
51095
|
-
for (var n = {}, o =
|
|
51086
|
+
for (var n = {}, o = kbe(t), u = 0; u < 4; u++)
|
|
51096
51087
|
n[e[u]] = o[u] !== void 0 ? parseFloat(o[u]) : 1;
|
|
51097
51088
|
return n;
|
|
51098
51089
|
};
|
|
51099
|
-
},
|
|
51090
|
+
}, Tbe = function(e) {
|
|
51100
51091
|
var t = e.red, n = e.green, o = e.blue, u = e.alpha, f = u === void 0 ? 1 : u;
|
|
51101
51092
|
return "rgba(" + t + ", " + n + ", " + o + ", " + f + ")";
|
|
51102
|
-
},
|
|
51093
|
+
}, Obe = function(e) {
|
|
51103
51094
|
var t = e.hue, n = e.saturation, o = e.lightness, u = e.alpha, f = u === void 0 ? 1 : u;
|
|
51104
51095
|
return "hsla(" + t + ", " + n + ", " + o + ", " + f + ")";
|
|
51105
51096
|
}, sL = fo(fo({}, oC), { transform: function(e) {
|
|
51106
|
-
return Math.round(
|
|
51097
|
+
return Math.round(Rbe(e));
|
|
51107
51098
|
} });
|
|
51108
|
-
function
|
|
51109
|
-
return e.startsWith(t) &&
|
|
51099
|
+
function Fb(e, t) {
|
|
51100
|
+
return e.startsWith(t) && bD.test(e);
|
|
51110
51101
|
}
|
|
51111
51102
|
var qg = {
|
|
51112
51103
|
test: function(e) {
|
|
51113
|
-
return typeof e == "string" ?
|
|
51104
|
+
return typeof e == "string" ? Fb(e, "rgb") : gS(e);
|
|
51114
51105
|
},
|
|
51115
|
-
parse:
|
|
51106
|
+
parse: HD(["red", "green", "blue", "alpha"]),
|
|
51116
51107
|
transform: function(e) {
|
|
51117
51108
|
var t = e.red, n = e.green, o = e.blue, u = e.alpha, f = u === void 0 ? 1 : u;
|
|
51118
|
-
return
|
|
51109
|
+
return Tbe({
|
|
51119
51110
|
red: sL.transform(t),
|
|
51120
51111
|
green: sL.transform(n),
|
|
51121
51112
|
blue: sL.transform(o),
|
|
@@ -51124,12 +51115,12 @@ var qg = {
|
|
|
51124
51115
|
}
|
|
51125
51116
|
}, aL = {
|
|
51126
51117
|
test: function(e) {
|
|
51127
|
-
return typeof e == "string" ?
|
|
51118
|
+
return typeof e == "string" ? Fb(e, "hsl") : mS(e);
|
|
51128
51119
|
},
|
|
51129
|
-
parse:
|
|
51120
|
+
parse: HD(["hue", "saturation", "lightness", "alpha"]),
|
|
51130
51121
|
transform: function(e) {
|
|
51131
51122
|
var t = e.hue, n = e.saturation, o = e.lightness, u = e.alpha, f = u === void 0 ? 1 : u;
|
|
51132
|
-
return
|
|
51123
|
+
return Obe({
|
|
51133
51124
|
hue: Math.round(t),
|
|
51134
51125
|
saturation: Vh.transform(Ug(n)),
|
|
51135
51126
|
lightness: Vh.transform(Ug(o)),
|
|
@@ -51137,7 +51128,7 @@ var qg = {
|
|
|
51137
51128
|
});
|
|
51138
51129
|
}
|
|
51139
51130
|
}, GR = fo(fo({}, qg), { test: function(e) {
|
|
51140
|
-
return typeof e == "string" &&
|
|
51131
|
+
return typeof e == "string" && Fb(e, "#");
|
|
51141
51132
|
}, parse: function(e) {
|
|
51142
51133
|
var t = "", n = "", o = "";
|
|
51143
51134
|
return e.length > 4 ? (t = e.substr(1, 2), n = e.substr(3, 2), o = e.substr(5, 2)) : (t = e.substr(1, 1), n = e.substr(2, 1), o = e.substr(3, 1), t += t, n += n, o += o), {
|
|
@@ -51148,7 +51139,7 @@ var qg = {
|
|
|
51148
51139
|
};
|
|
51149
51140
|
} }), Zl = {
|
|
51150
51141
|
test: function(e) {
|
|
51151
|
-
return typeof e == "string" &&
|
|
51142
|
+
return typeof e == "string" && bD.test(e) || gS(e) || mS(e);
|
|
51152
51143
|
},
|
|
51153
51144
|
parse: function(e) {
|
|
51154
51145
|
return qg.test(e) ? qg.parse(e) : aL.test(e) ? aL.parse(e) : GR.test(e) ? GR.parse(e) : e;
|
|
@@ -51156,15 +51147,15 @@ var qg = {
|
|
|
51156
51147
|
transform: function(e) {
|
|
51157
51148
|
return gS(e) ? qg.transform(e) : mS(e) ? aL.transform(e) : e;
|
|
51158
51149
|
}
|
|
51159
|
-
},
|
|
51150
|
+
}, Db = function(e) {
|
|
51160
51151
|
var t = e.onRead, n = e.onRender, o = e.uncachedValues, u = o === void 0 ? /* @__PURE__ */ new Set() : o, f = e.useCache, c = f === void 0 ? !0 : f;
|
|
51161
51152
|
return function(d) {
|
|
51162
51153
|
d === void 0 && (d = {});
|
|
51163
|
-
var a =
|
|
51154
|
+
var a = Ob(d, []), h = {}, g = [], m = !1;
|
|
51164
51155
|
function w(x, H) {
|
|
51165
51156
|
x.startsWith("--") && (a.hasCSSVariable = !0);
|
|
51166
51157
|
var E = h[x];
|
|
51167
|
-
h[x] = H, h[x] !== E && (g.indexOf(x) === -1 && g.push(x), m || (m = !0,
|
|
51158
|
+
h[x] = H, h[x] !== E && (g.indexOf(x) === -1 && g.push(x), m || (m = !0, Nbe.render(y.render)));
|
|
51168
51159
|
}
|
|
51169
51160
|
var y = {
|
|
51170
51161
|
get: function(x, H) {
|
|
@@ -51186,44 +51177,44 @@ var qg = {
|
|
|
51186
51177
|
};
|
|
51187
51178
|
return y;
|
|
51188
51179
|
};
|
|
51189
|
-
},
|
|
51190
|
-
return e.replace(
|
|
51191
|
-
},
|
|
51192
|
-
return
|
|
51193
|
-
},
|
|
51180
|
+
}, Bbe = /([a-z])([A-Z])/g, Ibe = "$1-$2", lC = function(e) {
|
|
51181
|
+
return e.replace(Bbe, Ibe).toLowerCase();
|
|
51182
|
+
}, VD = /* @__PURE__ */ new Map(), Pb = /* @__PURE__ */ new Map(), MD = ["Webkit", "Moz", "O", "ms", ""], Fbe = MD.length, Dbe = typeof document < "u", oL, _D = function(e, t) {
|
|
51183
|
+
return Pb.set(e, lC(t));
|
|
51184
|
+
}, Pbe = function(e) {
|
|
51194
51185
|
oL = oL || document.createElement("div");
|
|
51195
|
-
for (var t = 0; t <
|
|
51196
|
-
var n =
|
|
51186
|
+
for (var t = 0; t < Fbe; t++) {
|
|
51187
|
+
var n = MD[t], o = n === "", u = o ? e : n + e.charAt(0).toUpperCase() + e.slice(1);
|
|
51197
51188
|
if (u in oL.style || o) {
|
|
51198
|
-
if (o && e === "clipPath" &&
|
|
51189
|
+
if (o && e === "clipPath" && Pb.has(e))
|
|
51199
51190
|
return;
|
|
51200
|
-
|
|
51191
|
+
VD.set(e, u), _D(e, (o ? "" : "-") + lC(u));
|
|
51201
51192
|
}
|
|
51202
51193
|
}
|
|
51203
|
-
},
|
|
51204
|
-
return
|
|
51205
|
-
},
|
|
51194
|
+
}, jbe = function(e) {
|
|
51195
|
+
return _D(e, e);
|
|
51196
|
+
}, ED = function(e, t) {
|
|
51206
51197
|
t === void 0 && (t = !1);
|
|
51207
|
-
var n = t ?
|
|
51208
|
-
return n.has(e) || (
|
|
51209
|
-
},
|
|
51210
|
-
return
|
|
51198
|
+
var n = t ? Pb : VD;
|
|
51199
|
+
return n.has(e) || (Dbe ? Pbe(e) : jbe(e)), n.get(e) || e;
|
|
51200
|
+
}, $be = ["", "X", "Y", "Z"], Ube = ["translate", "scale", "rotate", "skew", "transformPerspective"], CS = /* @__PURE__ */ Ube.reduce(function(e, t) {
|
|
51201
|
+
return $be.reduce(function(n, o) {
|
|
51211
51202
|
return n.push(t + o), n;
|
|
51212
51203
|
}, e);
|
|
51213
|
-
}, ["x", "y", "z"]),
|
|
51204
|
+
}, ["x", "y", "z"]), qbe = /* @__PURE__ */ CS.reduce(function(e, t) {
|
|
51214
51205
|
return e[t] = !0, e;
|
|
51215
51206
|
}, {});
|
|
51216
|
-
function
|
|
51217
|
-
return
|
|
51207
|
+
function jb(e) {
|
|
51208
|
+
return qbe[e] === !0;
|
|
51218
51209
|
}
|
|
51219
|
-
function
|
|
51210
|
+
function Wbe(e, t) {
|
|
51220
51211
|
return CS.indexOf(e) - CS.indexOf(t);
|
|
51221
51212
|
}
|
|
51222
|
-
var
|
|
51223
|
-
function
|
|
51224
|
-
return
|
|
51213
|
+
var Kbe = /* @__PURE__ */ new Set(["originX", "originY", "originZ"]);
|
|
51214
|
+
function Gbe(e) {
|
|
51215
|
+
return Kbe.has(e);
|
|
51225
51216
|
}
|
|
51226
|
-
var YR = /* @__PURE__ */ Ih(/* @__PURE__ */ Ih({}, oC), { transform: Math.round }),
|
|
51217
|
+
var YR = /* @__PURE__ */ Ih(/* @__PURE__ */ Ih({}, oC), { transform: Math.round }), Ybe = {
|
|
51227
51218
|
color: Zl,
|
|
51228
51219
|
backgroundColor: Zl,
|
|
51229
51220
|
outlineColor: Zl,
|
|
@@ -51291,53 +51282,53 @@ var YR = /* @__PURE__ */ Ih(/* @__PURE__ */ Ih({}, oC), { transform: Math.round
|
|
|
51291
51282
|
fillOpacity: Hh,
|
|
51292
51283
|
strokeOpacity: Hh,
|
|
51293
51284
|
numOctaves: YR
|
|
51294
|
-
},
|
|
51295
|
-
return
|
|
51296
|
-
},
|
|
51285
|
+
}, $b = function(e) {
|
|
51286
|
+
return Ybe[e];
|
|
51287
|
+
}, Jbe = function(e, t) {
|
|
51297
51288
|
return t && typeof e == "number" ? t.transform(e) : e;
|
|
51298
|
-
}, Mh = "scrollLeft", _h = "scrollTop",
|
|
51289
|
+
}, Mh = "scrollLeft", _h = "scrollTop", ND = /* @__PURE__ */ new Set([Mh, _h]), Xbe = /* @__PURE__ */ new Set([Mh, _h, "transform"]), Qbe = {
|
|
51299
51290
|
x: "translateX",
|
|
51300
51291
|
y: "translateY",
|
|
51301
51292
|
z: "translateZ"
|
|
51302
51293
|
};
|
|
51303
|
-
function
|
|
51294
|
+
function zD(e) {
|
|
51304
51295
|
return typeof e == "function";
|
|
51305
51296
|
}
|
|
51306
|
-
function
|
|
51297
|
+
function eHe(e, t, n, o, u, f) {
|
|
51307
51298
|
f === void 0 && (f = !0);
|
|
51308
51299
|
var c = "", d = !1;
|
|
51309
|
-
n.sort(
|
|
51300
|
+
n.sort(Wbe);
|
|
51310
51301
|
for (var a = n.length, h = 0; h < a; h++) {
|
|
51311
51302
|
var g = n[h];
|
|
51312
|
-
c += (
|
|
51303
|
+
c += (Qbe[g] || g) + "(" + t[g] + ") ", d = g === "z" ? !0 : d;
|
|
51313
51304
|
}
|
|
51314
|
-
return !d && u ? c += "translateZ(0)" : c = c.trim(),
|
|
51305
|
+
return !d && u ? c += "translateZ(0)" : c = c.trim(), zD(e.transform) ? c = e.transform(t, o ? "" : c) : f && o && (c = "none"), c;
|
|
51315
51306
|
}
|
|
51316
|
-
function
|
|
51307
|
+
function tHe(e, t, n, o, u, f, c, d) {
|
|
51317
51308
|
t === void 0 && (t = !0), n === void 0 && (n = {}), o === void 0 && (o = {}), u === void 0 && (u = {}), f === void 0 && (f = []), c === void 0 && (c = !1), d === void 0 && (d = !0);
|
|
51318
51309
|
var a = !0, h = !1, g = !1;
|
|
51319
51310
|
for (var m in e) {
|
|
51320
|
-
var w = e[m], y =
|
|
51321
|
-
|
|
51311
|
+
var w = e[m], y = $b(m), x = Jbe(w, y);
|
|
51312
|
+
jb(m) ? (h = !0, o[m] = x, f.push(m), a && (y.default && w !== y.default || !y.default && w !== 0) && (a = !1)) : Gbe(m) ? (u[m] = x, g = !0) : (!Xbe.has(m) || !zD(x)) && (n[ED(m, c)] = x);
|
|
51322
51313
|
}
|
|
51323
|
-
return (h || typeof e.transform == "function") && (n.transform =
|
|
51314
|
+
return (h || typeof e.transform == "function") && (n.transform = eHe(e, o, f, a, t, d)), g && (n.transformOrigin = (u.originX || "50%") + " " + (u.originY || "50%") + " " + (u.originZ || 0)), n;
|
|
51324
51315
|
}
|
|
51325
|
-
function
|
|
51316
|
+
function Ub(e) {
|
|
51326
51317
|
var t = e === void 0 ? {} : e, n = t.enableHardwareAcceleration, o = n === void 0 ? !0 : n, u = t.isDashCase, f = u === void 0 ? !0 : u, c = t.allowTransformNone, d = c === void 0 ? !0 : c, a = {}, h = {}, g = {}, m = [];
|
|
51327
51318
|
return function(w) {
|
|
51328
|
-
return m.length = 0,
|
|
51319
|
+
return m.length = 0, tHe(w, o, a, h, g, m, f, d), a;
|
|
51329
51320
|
};
|
|
51330
51321
|
}
|
|
51331
|
-
function
|
|
51332
|
-
var n = t.element, o = t.preparseOutput, u =
|
|
51333
|
-
if (
|
|
51322
|
+
function rHe(e, t) {
|
|
51323
|
+
var n = t.element, o = t.preparseOutput, u = $b(e);
|
|
51324
|
+
if (jb(e))
|
|
51334
51325
|
return u && u.default || 0;
|
|
51335
|
-
if (
|
|
51326
|
+
if (ND.has(e))
|
|
51336
51327
|
return n[e];
|
|
51337
|
-
var f = window.getComputedStyle(n, null).getPropertyValue(
|
|
51328
|
+
var f = window.getComputedStyle(n, null).getPropertyValue(ED(e, !0)) || 0;
|
|
51338
51329
|
return o && u && u.test(f) && u.parse ? u.parse(f) : f;
|
|
51339
51330
|
}
|
|
51340
|
-
function
|
|
51331
|
+
function nHe(e, t, n) {
|
|
51341
51332
|
var o = t.element, u = t.buildStyles, f = t.hasCSSVariable;
|
|
51342
51333
|
if (Object.assign(o.style, u(e)), f)
|
|
51343
51334
|
for (var c = n.length, d = 0; d < c; d++) {
|
|
@@ -51346,70 +51337,70 @@ function iHe(e, t, n) {
|
|
|
51346
51337
|
}
|
|
51347
51338
|
n.indexOf(Mh) !== -1 && (o[Mh] = e[Mh]), n.indexOf(_h) !== -1 && (o[_h] = e[_h]);
|
|
51348
51339
|
}
|
|
51349
|
-
var
|
|
51350
|
-
onRead:
|
|
51351
|
-
onRender:
|
|
51352
|
-
uncachedValues:
|
|
51340
|
+
var iHe = /* @__PURE__ */ Db({
|
|
51341
|
+
onRead: rHe,
|
|
51342
|
+
onRender: nHe,
|
|
51343
|
+
uncachedValues: ND
|
|
51353
51344
|
});
|
|
51354
|
-
function
|
|
51345
|
+
function sHe(e, t) {
|
|
51355
51346
|
t === void 0 && (t = {});
|
|
51356
|
-
var n = t.enableHardwareAcceleration, o = t.allowTransformNone, u =
|
|
51357
|
-
return
|
|
51347
|
+
var n = t.enableHardwareAcceleration, o = t.allowTransformNone, u = Ob(t, ["enableHardwareAcceleration", "allowTransformNone"]);
|
|
51348
|
+
return iHe(Ih({ element: e, buildStyles: Ub({
|
|
51358
51349
|
enableHardwareAcceleration: n,
|
|
51359
51350
|
allowTransformNone: o
|
|
51360
51351
|
}), preparseOutput: !0 }, u));
|
|
51361
51352
|
}
|
|
51362
|
-
var
|
|
51353
|
+
var ZD = /* @__PURE__ */ new Set(["baseFrequency", "diffuseConstant", "kernelMatrix", "kernelUnitLength", "keySplines", "keyTimes", "limitingConeAngle", "markerHeight", "markerWidth", "numOctaves", "targetX", "targetY", "surfaceScale", "specularConstant", "specularExponent", "stdDeviation", "tableValues"]), JR = 0.5, AD = function() {
|
|
51363
51354
|
return {
|
|
51364
51355
|
style: {}
|
|
51365
51356
|
};
|
|
51366
51357
|
}, lL = function(e, t) {
|
|
51367
51358
|
return Er.transform(e * t);
|
|
51368
|
-
},
|
|
51359
|
+
}, aHe = { x: 0, y: 0, width: 0, height: 0 };
|
|
51369
51360
|
function XR(e, t, n) {
|
|
51370
51361
|
return typeof e == "string" ? e : Er.transform(t + n * e);
|
|
51371
51362
|
}
|
|
51372
|
-
function
|
|
51363
|
+
function oHe(e, t, n) {
|
|
51373
51364
|
return XR(t, e.x, e.width) + " " + XR(n, e.y, e.height);
|
|
51374
51365
|
}
|
|
51375
|
-
var
|
|
51366
|
+
var RD = {
|
|
51376
51367
|
enableHardwareAcceleration: !1,
|
|
51377
51368
|
isDashCase: !1
|
|
51378
51369
|
};
|
|
51379
|
-
function
|
|
51380
|
-
t === void 0 && (t =
|
|
51381
|
-
var c = e.attrX, d = e.attrY, a = e.originX, h = e.originY, g = e.pathLength, m = e.pathSpacing, w = m === void 0 ? 1 : m, y = e.pathOffset, x = y === void 0 ? 0 : y, H =
|
|
51370
|
+
function lHe(e, t, n, o, u, f) {
|
|
51371
|
+
t === void 0 && (t = aHe), o === void 0 && (o = Ub(RD)), u === void 0 && (u = AD()), f === void 0 && (f = !0);
|
|
51372
|
+
var c = e.attrX, d = e.attrY, a = e.originX, h = e.originY, g = e.pathLength, m = e.pathSpacing, w = m === void 0 ? 1 : m, y = e.pathOffset, x = y === void 0 ? 0 : y, H = Ob(e, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]), E = o(H);
|
|
51382
51373
|
for (var z in E)
|
|
51383
51374
|
if (z === "transform")
|
|
51384
51375
|
u.style.transform = E[z];
|
|
51385
51376
|
else {
|
|
51386
|
-
var Z = f && !
|
|
51377
|
+
var Z = f && !ZD.has(z) ? lC(z) : z;
|
|
51387
51378
|
u[Z] = E[z];
|
|
51388
51379
|
}
|
|
51389
|
-
return (a !== void 0 || h !== void 0 || E.transform) && (u.style.transformOrigin =
|
|
51380
|
+
return (a !== void 0 || h !== void 0 || E.transform) && (u.style.transformOrigin = oHe(t, a !== void 0 ? a : JR, h !== void 0 ? h : JR)), c !== void 0 && (u.x = c), d !== void 0 && (u.y = d), n !== void 0 && g !== void 0 && (u[f ? "stroke-dashoffset" : "strokeDashoffset"] = lL(-x, n), u[f ? "stroke-dasharray" : "strokeDasharray"] = lL(g, n) + " " + lL(w, n)), u;
|
|
51390
51381
|
}
|
|
51391
|
-
function
|
|
51382
|
+
function cHe(e, t, n) {
|
|
51392
51383
|
n === void 0 && (n = !0);
|
|
51393
|
-
var o =
|
|
51384
|
+
var o = AD(), u = Ub(RD);
|
|
51394
51385
|
return function(f) {
|
|
51395
|
-
return
|
|
51386
|
+
return lHe(f, e, t, u, o, n);
|
|
51396
51387
|
};
|
|
51397
51388
|
}
|
|
51398
|
-
var
|
|
51389
|
+
var uHe = function(e) {
|
|
51399
51390
|
return typeof e.getBBox == "function" ? e.getBBox() : e.getBoundingClientRect();
|
|
51400
|
-
},
|
|
51391
|
+
}, hHe = function(e) {
|
|
51401
51392
|
try {
|
|
51402
|
-
return
|
|
51393
|
+
return uHe(e);
|
|
51403
51394
|
} catch {
|
|
51404
51395
|
return { x: 0, y: 0, width: 0, height: 0 };
|
|
51405
51396
|
}
|
|
51406
|
-
},
|
|
51397
|
+
}, pHe = function(e) {
|
|
51407
51398
|
return e.tagName === "path";
|
|
51408
|
-
},
|
|
51399
|
+
}, dHe = /* @__PURE__ */ Db({
|
|
51409
51400
|
onRead: function(e, t) {
|
|
51410
51401
|
var n = t.element;
|
|
51411
|
-
if (e =
|
|
51412
|
-
var o =
|
|
51402
|
+
if (e = ZD.has(e) ? e : lC(e), jb(e)) {
|
|
51403
|
+
var o = $b(e);
|
|
51413
51404
|
return o && o.default || 0;
|
|
51414
51405
|
} else
|
|
51415
51406
|
return n.getAttribute(e);
|
|
@@ -51419,13 +51410,13 @@ var hHe = function(e) {
|
|
|
51419
51410
|
for (var f in u)
|
|
51420
51411
|
f === "style" ? Object.assign(n.style, u.style) : n.setAttribute(f, u[f]);
|
|
51421
51412
|
}
|
|
51422
|
-
}),
|
|
51423
|
-
var t =
|
|
51424
|
-
return
|
|
51413
|
+
}), fHe = function(e) {
|
|
51414
|
+
var t = hHe(e), n = pHe(e) && e.getTotalLength ? e.getTotalLength() : void 0;
|
|
51415
|
+
return dHe({
|
|
51425
51416
|
element: e,
|
|
51426
|
-
buildAttrs:
|
|
51417
|
+
buildAttrs: cHe(t, n)
|
|
51427
51418
|
});
|
|
51428
|
-
},
|
|
51419
|
+
}, gHe = /* @__PURE__ */ Db({
|
|
51429
51420
|
useCache: !1,
|
|
51430
51421
|
onRead: function(e) {
|
|
51431
51422
|
return e === "scrollTop" ? window.pageYOffset : window.pageXOffset;
|
|
@@ -51434,28 +51425,28 @@ var hHe = function(e) {
|
|
|
51434
51425
|
var t = e.scrollTop, n = t === void 0 ? 0 : t, o = e.scrollLeft, u = o === void 0 ? 0 : o;
|
|
51435
51426
|
return window.scrollTo(u, n);
|
|
51436
51427
|
}
|
|
51437
|
-
}), wS = /* @__PURE__ */ new WeakMap(),
|
|
51428
|
+
}), wS = /* @__PURE__ */ new WeakMap(), mHe = function(e) {
|
|
51438
51429
|
return e instanceof HTMLElement || typeof e.click == "function";
|
|
51439
|
-
},
|
|
51430
|
+
}, CHe = function(e) {
|
|
51440
51431
|
return e instanceof SVGElement || "ownerSVGElement" in e;
|
|
51441
|
-
},
|
|
51432
|
+
}, wHe = function(e, t) {
|
|
51442
51433
|
var n;
|
|
51443
|
-
return e === window ? n =
|
|
51444
|
-
},
|
|
51445
|
-
return wS.has(e) ? wS.get(e) :
|
|
51434
|
+
return e === window ? n = gHe(e) : mHe(e) ? n = sHe(e, t) : CHe(e) && (n = fHe(e)), L3(n !== void 0, "No valid node provided. Node must be HTMLElement, SVGElement or window."), wS.set(e, n), n;
|
|
51435
|
+
}, yHe = function(e, t) {
|
|
51436
|
+
return wS.has(e) ? wS.get(e) : wHe(e, t);
|
|
51446
51437
|
};
|
|
51447
|
-
function
|
|
51438
|
+
function vHe(e, t) {
|
|
51448
51439
|
var n = typeof e == "string" ? document.querySelector(e) : e;
|
|
51449
|
-
return
|
|
51440
|
+
return yHe(n, t);
|
|
51450
51441
|
}
|
|
51451
|
-
const
|
|
51442
|
+
const xHe = { class: "relative" }, fBe = /* @__PURE__ */ C({
|
|
51452
51443
|
__name: "ReadMore",
|
|
51453
51444
|
props: {
|
|
51454
51445
|
wantedHeight: { default: 284 },
|
|
51455
51446
|
maxHeight: { default: "" }
|
|
51456
51447
|
},
|
|
51457
51448
|
setup(e) {
|
|
51458
|
-
const t = e, { t: n } = C2(), o = ut(!1), u = ut(!1), f = ho("containerRef"), c = ho("readMoreRef"), { height: d } =
|
|
51449
|
+
const t = e, { t: n } = C2(), o = ut(!1), u = ut(!1), f = ho("containerRef"), c = ho("readMoreRef"), { height: d } = pSe(f), a = ut(t.wantedHeight), h = (y) => {
|
|
51459
51450
|
const x = getComputedStyle(y);
|
|
51460
51451
|
return parseFloat(x.getPropertyValue("height")) + parseFloat(x.getPropertyValue("margin-top")) + parseFloat(x.getPropertyValue("margin-bottom"));
|
|
51461
51452
|
}, g = () => {
|
|
@@ -51470,7 +51461,7 @@ const LHe = { class: "relative" }, fBe = /* @__PURE__ */ C({
|
|
|
51470
51461
|
const w = () => {
|
|
51471
51462
|
if (!c.value)
|
|
51472
51463
|
return;
|
|
51473
|
-
const y =
|
|
51464
|
+
const y = vHe(c.value);
|
|
51474
51465
|
o.value ? qR({
|
|
51475
51466
|
from: { height: c.value.scrollHeight },
|
|
51476
51467
|
to: { height: g() },
|
|
@@ -51485,7 +51476,7 @@ const LHe = { class: "relative" }, fBe = /* @__PURE__ */ C({
|
|
|
51485
51476
|
onComplete: () => y.set({ height: "auto" })
|
|
51486
51477
|
}), o.value = !o.value;
|
|
51487
51478
|
};
|
|
51488
|
-
return Qr(d, m), (y, x) => (be(), Ke("div",
|
|
51479
|
+
return Qr(d, m), (y, x) => (be(), Ke("div", xHe, [
|
|
51489
51480
|
Oe("div", {
|
|
51490
51481
|
ref_key: "readMoreRef",
|
|
51491
51482
|
ref: c,
|
|
@@ -51523,7 +51514,7 @@ const LHe = { class: "relative" }, fBe = /* @__PURE__ */ C({
|
|
|
51523
51514
|
], 2)) : z1("", !0)
|
|
51524
51515
|
]));
|
|
51525
51516
|
}
|
|
51526
|
-
}),
|
|
51517
|
+
}), kD = /* @__PURE__ */ C({
|
|
51527
51518
|
__name: "TabGroup",
|
|
51528
51519
|
props: {
|
|
51529
51520
|
size: { default: "md" },
|
|
@@ -51548,7 +51539,7 @@ const LHe = { class: "relative" }, fBe = /* @__PURE__ */ C({
|
|
|
51548
51539
|
_: 3
|
|
51549
51540
|
}, 8, ["class", "default-index"]));
|
|
51550
51541
|
}
|
|
51551
|
-
}),
|
|
51542
|
+
}), LHe = /* @__PURE__ */ C({
|
|
51552
51543
|
__name: "TabList",
|
|
51553
51544
|
setup(e) {
|
|
51554
51545
|
return (t, n) => (be(), F1(he(yxe), { class: "fr-segmented__elements" }, {
|
|
@@ -51558,7 +51549,7 @@ const LHe = { class: "relative" }, fBe = /* @__PURE__ */ C({
|
|
|
51558
51549
|
_: 3
|
|
51559
51550
|
}));
|
|
51560
51551
|
}
|
|
51561
|
-
}),
|
|
51552
|
+
}), TD = /* @__PURE__ */ Vs(LHe, [["__scopeId", "data-v-e266c76b"]]), SHe = { class: "inner" }, bHe = /* @__PURE__ */ C({
|
|
51562
51553
|
__name: "Tab",
|
|
51563
51554
|
setup(e) {
|
|
51564
51555
|
return (t, n) => (be(), F1(he(vxe), { as: "template" }, {
|
|
@@ -51566,7 +51557,7 @@ const LHe = { class: "relative" }, fBe = /* @__PURE__ */ C({
|
|
|
51566
51557
|
Oe("button", {
|
|
51567
51558
|
class: M2(["fr-segmented__element", { selected: o }])
|
|
51568
51559
|
}, [
|
|
51569
|
-
Oe("div",
|
|
51560
|
+
Oe("div", SHe, [
|
|
51570
51561
|
s2(t.$slots, "default", {}, void 0, !0)
|
|
51571
51562
|
])
|
|
51572
51563
|
], 2)
|
|
@@ -51574,7 +51565,7 @@ const LHe = { class: "relative" }, fBe = /* @__PURE__ */ C({
|
|
|
51574
51565
|
_: 3
|
|
51575
51566
|
}));
|
|
51576
51567
|
}
|
|
51577
|
-
}),
|
|
51568
|
+
}), OD = /* @__PURE__ */ Vs(bHe, [["__scopeId", "data-v-db88499f"]]), BD = /* @__PURE__ */ C({
|
|
51578
51569
|
__name: "TabPanels",
|
|
51579
51570
|
setup(e) {
|
|
51580
51571
|
return (t, n) => (be(), F1(he(xxe), null, {
|
|
@@ -51584,7 +51575,7 @@ const LHe = { class: "relative" }, fBe = /* @__PURE__ */ C({
|
|
|
51584
51575
|
_: 3
|
|
51585
51576
|
}));
|
|
51586
51577
|
}
|
|
51587
|
-
}),
|
|
51578
|
+
}), ID = /* @__PURE__ */ C({
|
|
51588
51579
|
__name: "TabPanel",
|
|
51589
51580
|
setup(e) {
|
|
51590
51581
|
return (t, n) => (be(), F1(he(Lxe), null, {
|
|
@@ -51595,14 +51586,14 @@ const LHe = { class: "relative" }, fBe = /* @__PURE__ */ C({
|
|
|
51595
51586
|
}));
|
|
51596
51587
|
}
|
|
51597
51588
|
});
|
|
51598
|
-
function
|
|
51589
|
+
function HHe() {
|
|
51599
51590
|
return window?.Matomo?.getTracker();
|
|
51600
51591
|
}
|
|
51601
51592
|
function ds(e, t, n) {
|
|
51602
|
-
const o =
|
|
51593
|
+
const o = HHe();
|
|
51603
51594
|
o && o.trackEvent(e, t, n);
|
|
51604
51595
|
}
|
|
51605
|
-
const
|
|
51596
|
+
const VHe = {}, MHe = {
|
|
51606
51597
|
width: "100%",
|
|
51607
51598
|
height: "100%",
|
|
51608
51599
|
viewBox: "0 0 14 13",
|
|
@@ -51612,8 +51603,8 @@ const MHe = {}, _He = {
|
|
|
51612
51603
|
"xml:space": "preserve",
|
|
51613
51604
|
style: { "fill-rule": "evenodd", "clip-rule": "evenodd", "stroke-linejoin": "round", "stroke-miterlimit": "2" }
|
|
51614
51605
|
};
|
|
51615
|
-
function
|
|
51616
|
-
return be(), Ke("svg",
|
|
51606
|
+
function _He(e, t) {
|
|
51607
|
+
return be(), Ke("svg", MHe, [...t[0] || (t[0] = [
|
|
51617
51608
|
Oe("rect", {
|
|
51618
51609
|
x: "0",
|
|
51619
51610
|
y: "0",
|
|
@@ -51627,7 +51618,7 @@ function EHe(e, t) {
|
|
|
51627
51618
|
}, null, -1)
|
|
51628
51619
|
])]);
|
|
51629
51620
|
}
|
|
51630
|
-
const
|
|
51621
|
+
const EHe = /* @__PURE__ */ Vs(VHe, [["render", _He]]), NHe = {}, zHe = {
|
|
51631
51622
|
width: "100%",
|
|
51632
51623
|
height: "100%",
|
|
51633
51624
|
viewBox: "0 0 11 14",
|
|
@@ -51637,8 +51628,8 @@ const NHe = /* @__PURE__ */ Vs(MHe, [["render", EHe]]), zHe = {}, ZHe = {
|
|
|
51637
51628
|
"xml:space": "preserve",
|
|
51638
51629
|
style: { "fill-rule": "evenodd", "clip-rule": "evenodd", "stroke-linejoin": "round", "stroke-miterlimit": "2" }
|
|
51639
51630
|
};
|
|
51640
|
-
function
|
|
51641
|
-
return be(), Ke("svg",
|
|
51631
|
+
function ZHe(e, t) {
|
|
51632
|
+
return be(), Ke("svg", zHe, [...t[0] || (t[0] = [
|
|
51642
51633
|
Oe("rect", {
|
|
51643
51634
|
x: "0",
|
|
51644
51635
|
y: "0",
|
|
@@ -51652,7 +51643,7 @@ function AHe(e, t) {
|
|
|
51652
51643
|
}, null, -1)
|
|
51653
51644
|
])]);
|
|
51654
51645
|
}
|
|
51655
|
-
const
|
|
51646
|
+
const AHe = /* @__PURE__ */ Vs(NHe, [["render", ZHe]]), RHe = {}, kHe = {
|
|
51656
51647
|
width: "100%",
|
|
51657
51648
|
height: "100%",
|
|
51658
51649
|
viewBox: "0 0 13 14",
|
|
@@ -51662,8 +51653,8 @@ const RHe = /* @__PURE__ */ Vs(zHe, [["render", AHe]]), kHe = {}, THe = {
|
|
|
51662
51653
|
"xml:space": "preserve",
|
|
51663
51654
|
style: { "fill-rule": "evenodd", "clip-rule": "evenodd", "stroke-linejoin": "round", "stroke-miterlimit": "2" }
|
|
51664
51655
|
};
|
|
51665
|
-
function
|
|
51666
|
-
return be(), Ke("svg",
|
|
51656
|
+
function THe(e, t) {
|
|
51657
|
+
return be(), Ke("svg", kHe, [...t[0] || (t[0] = [
|
|
51667
51658
|
Oe("rect", {
|
|
51668
51659
|
x: "0",
|
|
51669
51660
|
y: "0",
|
|
@@ -51677,17 +51668,17 @@ function OHe(e, t) {
|
|
|
51677
51668
|
}, null, -1)
|
|
51678
51669
|
])]);
|
|
51679
51670
|
}
|
|
51680
|
-
const
|
|
51671
|
+
const OHe = /* @__PURE__ */ Vs(RHe, [["render", THe]]), BHe = {}, IHe = {
|
|
51681
51672
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51682
51673
|
viewBox: "0 0 24 24",
|
|
51683
51674
|
fill: "currentColor"
|
|
51684
51675
|
};
|
|
51685
|
-
function
|
|
51686
|
-
return be(), Ke("svg",
|
|
51676
|
+
function FHe(e, t) {
|
|
51677
|
+
return be(), Ke("svg", IHe, [...t[0] || (t[0] = [
|
|
51687
51678
|
Oe("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" }, null, -1)
|
|
51688
51679
|
])]);
|
|
51689
51680
|
}
|
|
51690
|
-
const
|
|
51681
|
+
const DHe = /* @__PURE__ */ Vs(BHe, [["render", FHe]]), PHe = {}, jHe = {
|
|
51691
51682
|
width: "100%",
|
|
51692
51683
|
height: "100%",
|
|
51693
51684
|
viewBox: "0 0 14 14",
|
|
@@ -51697,8 +51688,8 @@ const PHe = /* @__PURE__ */ Vs(IHe, [["render", DHe]]), jHe = {}, $He = {
|
|
|
51697
51688
|
"xml:space": "preserve",
|
|
51698
51689
|
style: { "fill-rule": "evenodd", "clip-rule": "evenodd", "stroke-linejoin": "round", "stroke-miterlimit": "2" }
|
|
51699
51690
|
};
|
|
51700
|
-
function
|
|
51701
|
-
return be(), Ke("svg",
|
|
51691
|
+
function $He(e, t) {
|
|
51692
|
+
return be(), Ke("svg", jHe, [...t[0] || (t[0] = [
|
|
51702
51693
|
Oe("rect", {
|
|
51703
51694
|
x: "0",
|
|
51704
51695
|
y: "0",
|
|
@@ -51712,7 +51703,7 @@ function UHe(e, t) {
|
|
|
51712
51703
|
}, null, -1)
|
|
51713
51704
|
])]);
|
|
51714
51705
|
}
|
|
51715
|
-
const
|
|
51706
|
+
const UHe = /* @__PURE__ */ Vs(PHe, [["render", $He]]), qHe = {}, WHe = {
|
|
51716
51707
|
width: "100%",
|
|
51717
51708
|
height: "100%",
|
|
51718
51709
|
viewBox: "0 0 14 13",
|
|
@@ -51722,8 +51713,8 @@ const qHe = /* @__PURE__ */ Vs(jHe, [["render", UHe]]), WHe = {}, KHe = {
|
|
|
51722
51713
|
"xml:space": "preserve",
|
|
51723
51714
|
style: { "fill-rule": "evenodd", "clip-rule": "evenodd", "stroke-linejoin": "round", "stroke-miterlimit": "2" }
|
|
51724
51715
|
};
|
|
51725
|
-
function
|
|
51726
|
-
return be(), Ke("svg",
|
|
51716
|
+
function KHe(e, t) {
|
|
51717
|
+
return be(), Ke("svg", WHe, [...t[0] || (t[0] = [
|
|
51727
51718
|
Oe("rect", {
|
|
51728
51719
|
x: "0",
|
|
51729
51720
|
y: "0",
|
|
@@ -51737,8 +51728,8 @@ function GHe(e, t) {
|
|
|
51737
51728
|
}, null, -1)
|
|
51738
51729
|
])]);
|
|
51739
51730
|
}
|
|
51740
|
-
const
|
|
51741
|
-
function
|
|
51731
|
+
const GHe = /* @__PURE__ */ Vs(qHe, [["render", KHe]]);
|
|
51732
|
+
function qb(e) {
|
|
51742
51733
|
switch (e?.trim()?.toLowerCase()) {
|
|
51743
51734
|
case "txt":
|
|
51744
51735
|
case "pdf":
|
|
@@ -51747,7 +51738,7 @@ function Wb(e) {
|
|
|
51747
51738
|
case "doc":
|
|
51748
51739
|
case "docx":
|
|
51749
51740
|
case "epub":
|
|
51750
|
-
return
|
|
51741
|
+
return OHe;
|
|
51751
51742
|
case "json":
|
|
51752
51743
|
case "sql":
|
|
51753
51744
|
case "xml":
|
|
@@ -51774,7 +51765,7 @@ function Wb(e) {
|
|
|
51774
51765
|
case "rdf":
|
|
51775
51766
|
case "ttl":
|
|
51776
51767
|
case "n3":
|
|
51777
|
-
return
|
|
51768
|
+
return AHe;
|
|
51778
51769
|
case "tar":
|
|
51779
51770
|
case "gz":
|
|
51780
51771
|
case "tgz":
|
|
@@ -51783,16 +51774,16 @@ function Wb(e) {
|
|
|
51783
51774
|
case "7z":
|
|
51784
51775
|
case "xz":
|
|
51785
51776
|
case "bz2":
|
|
51786
|
-
return
|
|
51777
|
+
return EHe;
|
|
51787
51778
|
case "url":
|
|
51788
|
-
return
|
|
51779
|
+
return UHe;
|
|
51789
51780
|
case "csv":
|
|
51790
51781
|
case "ods":
|
|
51791
51782
|
case "xls":
|
|
51792
51783
|
case "xlsx":
|
|
51793
51784
|
case "parquet":
|
|
51794
51785
|
case "csv.gz":
|
|
51795
|
-
return
|
|
51786
|
+
return GHe;
|
|
51796
51787
|
case "geojson":
|
|
51797
51788
|
return K4e;
|
|
51798
51789
|
case "ogc:wfs":
|
|
@@ -51804,15 +51795,15 @@ function Wb(e) {
|
|
|
51804
51795
|
case "jpg":
|
|
51805
51796
|
case "jpeg":
|
|
51806
51797
|
case "svg":
|
|
51807
|
-
return
|
|
51798
|
+
return DHe;
|
|
51808
51799
|
default:
|
|
51809
51800
|
return null;
|
|
51810
51801
|
}
|
|
51811
51802
|
}
|
|
51812
|
-
function
|
|
51803
|
+
function FD(e) {
|
|
51813
51804
|
return "resource-" + e.id + "-title";
|
|
51814
51805
|
}
|
|
51815
|
-
const Qu = BT(["main", "documentation", "update", "api", "code", "other"]),
|
|
51806
|
+
const Qu = BT(["main", "documentation", "update", "api", "code", "other"]), DD = (e, t) => {
|
|
51816
51807
|
const { t: n } = C2();
|
|
51817
51808
|
switch (e) {
|
|
51818
51809
|
case "main":
|
|
@@ -51828,7 +51819,7 @@ const Qu = BT(["main", "documentation", "update", "api", "code", "other"]), PD =
|
|
|
51828
51819
|
case "other":
|
|
51829
51820
|
return n("Autre");
|
|
51830
51821
|
}
|
|
51831
|
-
}, QR = ["wfs", "wms"],
|
|
51822
|
+
}, QR = ["wfs", "wms"], PD = (e) => {
|
|
51832
51823
|
if (e.format) {
|
|
51833
51824
|
const n = e.format.replace(/^ogc:/, "");
|
|
51834
51825
|
if (QR.includes(n))
|
|
@@ -51841,8 +51832,31 @@ const Qu = BT(["main", "documentation", "update", "api", "code", "other"]), PD =
|
|
|
51841
51832
|
return n;
|
|
51842
51833
|
}
|
|
51843
51834
|
return !1;
|
|
51835
|
+
};
|
|
51836
|
+
function YHe(e) {
|
|
51837
|
+
return "organization" in e || "owner" in e;
|
|
51838
|
+
}
|
|
51839
|
+
function jD(e, t) {
|
|
51840
|
+
return `${e.page}${YHe(t) ? "/community-resources" : ""}?resource_id=${t.id}`;
|
|
51841
|
+
}
|
|
51842
|
+
function Wb(e) {
|
|
51843
|
+
return e.filesize ? e.filesize : "analysis:content-length" in e.extras ? e.extras["analysis:content-length"] : null;
|
|
51844
|
+
}
|
|
51845
|
+
const gBe = (e) => {
|
|
51846
|
+
const t = e.extras;
|
|
51847
|
+
if (!t || !("check:cors:allow-origin" in t))
|
|
51848
|
+
return "unknown";
|
|
51849
|
+
const n = t["check:cors:allow-origin"], o = t["check:cors:allow-methods"], f = Rn().trustedDomains ?? [], c = n === "*", d = n ? f.some((m) => {
|
|
51850
|
+
try {
|
|
51851
|
+
const w = new URL(n).hostname;
|
|
51852
|
+
return w === m || w.endsWith(`.${m}`);
|
|
51853
|
+
} catch {
|
|
51854
|
+
return !1;
|
|
51855
|
+
}
|
|
51856
|
+
}) : !1, a = c || d, h = o ? o.split(",").map((m) => m.trim().toUpperCase()) : [], g = h.length === 0 || h.includes("GET");
|
|
51857
|
+
return a && g ? "allowed" : "blocked";
|
|
51844
51858
|
}, $D = () => {
|
|
51845
|
-
const e =
|
|
51859
|
+
const e = Rn();
|
|
51846
51860
|
return (t) => e.tabularApiUrl && t.extras["analysis:parsing:parsing_table"] && !t.extras["analysis:parsing:error"] && (e.tabularAllowRemote || t.filetype === "file");
|
|
51847
51861
|
}, JHe = { class: "text-sm pl-0 mb-4 text-gray-medium h-8 flex flex-wrap items-center" }, XHe = {
|
|
51848
51862
|
key: 0,
|
|
@@ -51871,7 +51885,7 @@ const v4 = /* @__PURE__ */ Vs(QHe, [["render", tVe]]), rVe = { class: "flex flex
|
|
|
51871
51885
|
resource: {}
|
|
51872
51886
|
},
|
|
51873
51887
|
setup(e) {
|
|
51874
|
-
const t = e, n = s1(() => Object.keys(t.resource.extras).length), o = s1(() =>
|
|
51888
|
+
const t = e, n = s1(() => Object.keys(t.resource.extras).length), o = s1(() => FD(t.resource)), u = s1(() => Wb(t.resource)), { t: f } = C2(), { formatDate: c } = Ia();
|
|
51875
51889
|
return (d, a) => (be(), Ke("div", null, [
|
|
51876
51890
|
Oe("div", rVe, [
|
|
51877
51891
|
Oe("dl", nVe, [
|
|
@@ -52008,7 +52022,7 @@ const v4 = /* @__PURE__ */ Vs(QHe, [["render", tVe]]), rVe = { class: "flex flex
|
|
|
52008
52022
|
}),
|
|
52009
52023
|
r1(y4, null, {
|
|
52010
52024
|
default: Z1(() => [
|
|
52011
|
-
Y1(Qe(he(
|
|
52025
|
+
Y1(Qe(he(DD)(e.resource.type)), 1)
|
|
52012
52026
|
]),
|
|
52013
52027
|
_: 1
|
|
52014
52028
|
})
|
|
@@ -52030,7 +52044,7 @@ const v4 = /* @__PURE__ */ Vs(QHe, [["render", tVe]]), rVe = { class: "flex flex
|
|
|
52030
52044
|
])
|
|
52031
52045
|
]),
|
|
52032
52046
|
Oe("div", null, [
|
|
52033
|
-
n.value ? (be(), F1(
|
|
52047
|
+
n.value ? (be(), F1(WLe, {
|
|
52034
52048
|
key: 0,
|
|
52035
52049
|
class: "pt-6 mt-6 border-t border-gray-default",
|
|
52036
52050
|
"button-text": he(f)("Voir les extras"),
|
|
@@ -52044,12 +52058,12 @@ const v4 = /* @__PURE__ */ Vs(QHe, [["render", tVe]]), rVe = { class: "flex flex
|
|
|
52044
52058
|
});
|
|
52045
52059
|
let cL = null;
|
|
52046
52060
|
function dVe() {
|
|
52047
|
-
const e =
|
|
52061
|
+
const e = Rn();
|
|
52048
52062
|
return async () => cL || await (cL = rl("api/1/datasets/schemas/", {
|
|
52049
52063
|
baseURL: e.apiBase
|
|
52050
52064
|
}));
|
|
52051
52065
|
}
|
|
52052
|
-
function
|
|
52066
|
+
function mBe(e) {
|
|
52053
52067
|
if (!e)
|
|
52054
52068
|
return null;
|
|
52055
52069
|
if (e.versions && e.versions.length > 0)
|
|
@@ -52063,11 +52077,11 @@ function fVe(e, t) {
|
|
|
52063
52077
|
return t && e.find((n) => t.name === n.name) || null;
|
|
52064
52078
|
}
|
|
52065
52079
|
function qD() {
|
|
52066
|
-
const e =
|
|
52080
|
+
const e = Rn();
|
|
52067
52081
|
return (t) => `${e.schemaDocumentationUrl}${t}/`;
|
|
52068
52082
|
}
|
|
52069
52083
|
function gVe() {
|
|
52070
|
-
const e =
|
|
52084
|
+
const e = Rn();
|
|
52071
52085
|
return (t, n) => {
|
|
52072
52086
|
if (!t.schema || !t.schema.name)
|
|
52073
52087
|
return null;
|
|
@@ -52253,7 +52267,7 @@ const IVe = /* @__PURE__ */ Vs(TVe, [["render", BVe]]), Kb = /* @__PURE__ */ C({
|
|
|
52253
52267
|
resource: {}
|
|
52254
52268
|
},
|
|
52255
52269
|
setup(e) {
|
|
52256
|
-
return (t, n) => (be(), F1(zn((e.resource.format ? he(
|
|
52270
|
+
return (t, n) => (be(), F1(zn((e.resource.format ? he(qb)(e.resource.format) : null) || IVe), {
|
|
52257
52271
|
class: "text-gray-800 shrink-0",
|
|
52258
52272
|
"aria-hidden": "true"
|
|
52259
52273
|
}));
|
|
@@ -52282,7 +52296,7 @@ async function DVe(e, t, n, o) {
|
|
|
52282
52296
|
return o && (u = u + `&${o.column}__sort=${o.type}`), await rl(u);
|
|
52283
52297
|
}
|
|
52284
52298
|
function PVe() {
|
|
52285
|
-
const e =
|
|
52299
|
+
const e = Rn();
|
|
52286
52300
|
return (t) => rl(`${e.tabularApiUrl}/api/resources/${t}/profile/`);
|
|
52287
52301
|
}
|
|
52288
52302
|
var ek = (function() {
|
|
@@ -52896,7 +52910,7 @@ const jVe = ["y"], $Ve = ["y"], UVe = ["y"], qVe = ["y"], WVe = ["y"], KVe = ["y
|
|
|
52896
52910
|
resource: {}
|
|
52897
52911
|
},
|
|
52898
52912
|
setup(e) {
|
|
52899
|
-
const t = e, { t: n } = C2(), { formatDate: o } = Ia(), u = ut([]), f = ut([]), c = ut(!0), d = ut(!1), a = ut(null), h = ut(0), g =
|
|
52913
|
+
const t = e, { t: n } = C2(), { formatDate: o } = Ia(), u = ut([]), f = ut([]), c = ut(!0), d = ut(!1), a = ut(null), h = ut(0), g = Rn(), m = s1(() => g.tabularApiPageSize || 15), w = ut(1);
|
|
52900
52914
|
function y(Z) {
|
|
52901
52915
|
return Z === a.value?.column;
|
|
52902
52916
|
}
|
|
@@ -54143,7 +54157,7 @@ function MMe() {
|
|
|
54143
54157
|
for (j !== L && (j ^= 4294967295 * L); L > 4294967295; ) j ^= L /= 4294967295;
|
|
54144
54158
|
return wt(j);
|
|
54145
54159
|
}
|
|
54146
|
-
if (A === "string") return L.length >
|
|
54160
|
+
if (A === "string") return L.length > kn ? p2(L) : N2(L);
|
|
54147
54161
|
if (typeof L.hashCode == "function") return L.hashCode();
|
|
54148
54162
|
if (A === "object") return zr(L);
|
|
54149
54163
|
if (typeof L.toString == "function") return N2(L.toString());
|
|
@@ -54194,7 +54208,7 @@ function MMe() {
|
|
|
54194
54208
|
en && (G2 = /* @__PURE__ */ new WeakMap());
|
|
54195
54209
|
var hn = 0, Br = "__immutablehash__";
|
|
54196
54210
|
typeof Symbol == "function" && (Br = Symbol(Br));
|
|
54197
|
-
var
|
|
54211
|
+
var kn = 16, $n = 255, Gr = 0, b2 = {};
|
|
54198
54212
|
function k2(L) {
|
|
54199
54213
|
rt(L !== 1 / 0, "Cannot perform this action with an infinite size.");
|
|
54200
54214
|
}
|
|
@@ -54254,7 +54268,7 @@ function MMe() {
|
|
|
54254
54268
|
return Mi(this, Ws, arguments);
|
|
54255
54269
|
}, Lt.prototype.mergeDeepWith = function(L) {
|
|
54256
54270
|
var A = d.call(arguments, 1);
|
|
54257
|
-
return Mi(this,
|
|
54271
|
+
return Mi(this, Tn(L), A);
|
|
54258
54272
|
}, Lt.prototype.mergeDeepIn = function(L) {
|
|
54259
54273
|
var A = d.call(arguments, 1);
|
|
54260
54274
|
return this.updateIn(L, j2(), (function(j) {
|
|
@@ -54369,7 +54383,7 @@ function MMe() {
|
|
|
54369
54383
|
function Ws(L, A, j) {
|
|
54370
54384
|
return L && L.mergeDeep && y(A) ? L.mergeDeep(A) : g2(L, A) ? L : A;
|
|
54371
54385
|
}
|
|
54372
|
-
function
|
|
54386
|
+
function Tn(L) {
|
|
54373
54387
|
return function(A, j, G) {
|
|
54374
54388
|
if (A && A.mergeDeepWith && y(j)) return A.mergeDeepWith(L, j);
|
|
54375
54389
|
var Q = L(A, j, G);
|
|
@@ -54564,7 +54578,7 @@ function MMe() {
|
|
|
54564
54578
|
return _i(this, Ws, arguments);
|
|
54565
54579
|
}, m2.prototype.mergeDeepWith = function(L) {
|
|
54566
54580
|
var A = d.call(arguments, 1);
|
|
54567
|
-
return _i(this,
|
|
54581
|
+
return _i(this, Tn(L), A);
|
|
54568
54582
|
}, m2.prototype.setSize = function(L) {
|
|
54569
54583
|
return Xn(this, 0, L);
|
|
54570
54584
|
}, m2.prototype.slice = function(L, A) {
|
|
@@ -57704,11 +57718,11 @@ function MMe() {
|
|
|
57704
57718
|
this.onError(J1);
|
|
57705
57719
|
}
|
|
57706
57720
|
}
|
|
57707
|
-
var G2 = !1, en = null, hn = !1, Br = null,
|
|
57721
|
+
var G2 = !1, en = null, hn = !1, Br = null, kn = { onError: function(b) {
|
|
57708
57722
|
G2 = !0, en = b;
|
|
57709
57723
|
} };
|
|
57710
57724
|
function $n(b, M, O, J, le, Ce, Ze, h1, m1) {
|
|
57711
|
-
G2 = !1, en = null, Hr.apply(
|
|
57725
|
+
G2 = !1, en = null, Hr.apply(kn, arguments);
|
|
57712
57726
|
}
|
|
57713
57727
|
function Gr(b) {
|
|
57714
57728
|
var M = b, O = b;
|
|
@@ -57898,7 +57912,7 @@ function MMe() {
|
|
|
57898
57912
|
function Ws(b) {
|
|
57899
57913
|
return (b = -1073741825 & b.pendingLanes) !== 0 ? b : 1073741824 & b ? 1073741824 : 0;
|
|
57900
57914
|
}
|
|
57901
|
-
function
|
|
57915
|
+
function Tn() {
|
|
57902
57916
|
var b = tr;
|
|
57903
57917
|
return !(4194240 & (tr <<= 1)) && (tr = 64), b;
|
|
57904
57918
|
}
|
|
@@ -58774,7 +58788,7 @@ function MMe() {
|
|
|
58774
58788
|
function ei(b) {
|
|
58775
58789
|
0 > P4 || (b.current = pc[P4], pc[P4] = null, P4--);
|
|
58776
58790
|
}
|
|
58777
|
-
function
|
|
58791
|
+
function On(b, M) {
|
|
58778
58792
|
P4++, pc[P4] = b.current, b.current = M;
|
|
58779
58793
|
}
|
|
58780
58794
|
var hl = {}, Rs = ul(hl), x0 = ul(!1), Kl = hl;
|
|
@@ -58795,7 +58809,7 @@ function MMe() {
|
|
|
58795
58809
|
}
|
|
58796
58810
|
function P3(b, M, O) {
|
|
58797
58811
|
if (Rs.current !== hl) throw Error(m(168));
|
|
58798
|
-
|
|
58812
|
+
On(Rs, M), On(x0, O);
|
|
58799
58813
|
}
|
|
58800
58814
|
function wp(b, M, O) {
|
|
58801
58815
|
var J = b.stateNode;
|
|
@@ -58804,12 +58818,12 @@ function MMe() {
|
|
|
58804
58818
|
return Ve({}, O, J);
|
|
58805
58819
|
}
|
|
58806
58820
|
function j3(b) {
|
|
58807
|
-
return b = (b = b.stateNode) && b.__reactInternalMemoizedMergedChildContext || hl, Kl = Rs.current,
|
|
58821
|
+
return b = (b = b.stateNode) && b.__reactInternalMemoizedMergedChildContext || hl, Kl = Rs.current, On(Rs, b), On(x0, x0.current), !0;
|
|
58808
58822
|
}
|
|
58809
58823
|
function yp(b, M, O) {
|
|
58810
58824
|
var J = b.stateNode;
|
|
58811
58825
|
if (!J) throw Error(m(169));
|
|
58812
|
-
O ? (b = wp(b, M, Kl), J.__reactInternalMemoizedMergedChildContext = b, ei(x0), ei(Rs),
|
|
58826
|
+
O ? (b = wp(b, M, Kl), J.__reactInternalMemoizedMergedChildContext = b, ei(x0), ei(Rs), On(Rs, b)) : ei(x0), On(x0, O);
|
|
58813
58827
|
}
|
|
58814
58828
|
var vo = null, $3 = !1, dc = !1;
|
|
58815
58829
|
function vp(b) {
|
|
@@ -58859,7 +58873,7 @@ function MMe() {
|
|
|
58859
58873
|
for (; b === U3; ) U3 = pl[--$4], pl[$4] = null, Q5 = pl[--$4], pl[$4] = null;
|
|
58860
58874
|
for (; b === Gl; ) Gl = I0[--ea], I0[ea] = null, Lo = I0[--ea], I0[ea] = null, La = I0[--ea], I0[ea] = null;
|
|
58861
58875
|
}
|
|
58862
|
-
var F0 = null, D0 = null,
|
|
58876
|
+
var F0 = null, D0 = null, Bn = !1, Sa = null;
|
|
58863
58877
|
function xp(b, M) {
|
|
58864
58878
|
var O = sa(5, null, null, 0);
|
|
58865
58879
|
O.elementType = "DELETED", O.stateNode = M, O.return = b, (M = b.deletions) === null ? (b.deletions = [O], b.flags |= 16) : M.push(O);
|
|
@@ -58881,7 +58895,7 @@ function MMe() {
|
|
|
58881
58895
|
return !(!(1 & b.mode) || 128 & b.flags);
|
|
58882
58896
|
}
|
|
58883
58897
|
function q3(b) {
|
|
58884
|
-
if (
|
|
58898
|
+
if (Bn) {
|
|
58885
58899
|
var M = D0;
|
|
58886
58900
|
if (M) {
|
|
58887
58901
|
var O = M;
|
|
@@ -58889,11 +58903,11 @@ function MMe() {
|
|
|
58889
58903
|
if (e9(b)) throw Error(m(418));
|
|
58890
58904
|
M = wo(O.nextSibling);
|
|
58891
58905
|
var J = F0;
|
|
58892
|
-
M && U4(b, M) ? xp(J, O) : (b.flags = -4097 & b.flags | 2,
|
|
58906
|
+
M && U4(b, M) ? xp(J, O) : (b.flags = -4097 & b.flags | 2, Bn = !1, F0 = b);
|
|
58893
58907
|
}
|
|
58894
58908
|
} else {
|
|
58895
58909
|
if (e9(b)) throw Error(m(418));
|
|
58896
|
-
b.flags = -4097 & b.flags | 2,
|
|
58910
|
+
b.flags = -4097 & b.flags | 2, Bn = !1, F0 = b;
|
|
58897
58911
|
}
|
|
58898
58912
|
}
|
|
58899
58913
|
}
|
|
@@ -58903,7 +58917,7 @@ function MMe() {
|
|
|
58903
58917
|
}
|
|
58904
58918
|
function t9(b) {
|
|
58905
58919
|
if (b !== F0) return !1;
|
|
58906
|
-
if (!
|
|
58920
|
+
if (!Bn) return Lp(b), Bn = !0, !1;
|
|
58907
58921
|
var M;
|
|
58908
58922
|
if ((M = b.tag !== 3) && !(M = b.tag !== 5) && (M = (M = b.type) !== "head" && M !== "body" && !I3(b.type, b.memoizedProps)), M && (M = D0)) {
|
|
58909
58923
|
if (e9(b)) throw Sp(), Error(m(418));
|
|
@@ -58934,7 +58948,7 @@ function MMe() {
|
|
|
58934
58948
|
for (var b = D0; b; ) b = wo(b.nextSibling);
|
|
58935
58949
|
}
|
|
58936
58950
|
function Jl() {
|
|
58937
|
-
D0 = F0 = null,
|
|
58951
|
+
D0 = F0 = null, Bn = !1;
|
|
58938
58952
|
}
|
|
58939
58953
|
function Cc(b) {
|
|
58940
58954
|
Sa === null ? Sa = [b] : Sa.push(b);
|
|
@@ -59062,15 +59076,15 @@ function MMe() {
|
|
|
59062
59076
|
}
|
|
59063
59077
|
b && n2 && Wr.alternate === null && M(D1, n2), L1 = Ce(Wr, L1, rr), cr === null ? a2 = Wr : cr.sibling = Wr, cr = Wr, n2 = qr;
|
|
59064
59078
|
}
|
|
59065
|
-
if (rr === P1.length) return O(D1, n2),
|
|
59079
|
+
if (rr === P1.length) return O(D1, n2), Bn && Yl(D1, rr), a2;
|
|
59066
59080
|
if (n2 === null) {
|
|
59067
59081
|
for (; rr < P1.length; rr++) (n2 = X1(D1, P1[rr], gt)) !== null && (L1 = Ce(n2, L1, rr), cr === null ? a2 = n2 : cr.sibling = n2, cr = n2);
|
|
59068
|
-
return
|
|
59082
|
+
return Bn && Yl(D1, rr), a2;
|
|
59069
59083
|
}
|
|
59070
59084
|
for (n2 = J(D1, n2); rr < P1.length; rr++) (qr = ft(n2, D1, rr, P1[rr], gt)) !== null && (b && qr.alternate !== null && n2.delete(qr.key === null ? rr : qr.key), L1 = Ce(qr, L1, rr), cr === null ? a2 = qr : cr.sibling = qr, cr = qr);
|
|
59071
59085
|
return b && n2.forEach((function(an) {
|
|
59072
59086
|
return M(D1, an);
|
|
59073
|
-
})),
|
|
59087
|
+
})), Bn && Yl(D1, rr), a2;
|
|
59074
59088
|
}
|
|
59075
59089
|
function xt(D1, L1, P1, gt) {
|
|
59076
59090
|
var a2 = p1(P1);
|
|
@@ -59085,15 +59099,15 @@ function MMe() {
|
|
|
59085
59099
|
}
|
|
59086
59100
|
b && n2 && an.alternate === null && M(D1, n2), L1 = Ce(an, L1, rr), cr === null ? a2 = an : cr.sibling = an, cr = an, n2 = qr;
|
|
59087
59101
|
}
|
|
59088
|
-
if (Wr.done) return O(D1, n2),
|
|
59102
|
+
if (Wr.done) return O(D1, n2), Bn && Yl(D1, rr), a2;
|
|
59089
59103
|
if (n2 === null) {
|
|
59090
59104
|
for (; !Wr.done; rr++, Wr = P1.next()) (Wr = X1(D1, Wr.value, gt)) !== null && (L1 = Ce(Wr, L1, rr), cr === null ? a2 = Wr : cr.sibling = Wr, cr = Wr);
|
|
59091
|
-
return
|
|
59105
|
+
return Bn && Yl(D1, rr), a2;
|
|
59092
59106
|
}
|
|
59093
59107
|
for (n2 = J(D1, n2); !Wr.done; rr++, Wr = P1.next()) (Wr = ft(n2, D1, rr, Wr.value, gt)) !== null && (b && Wr.alternate !== null && n2.delete(Wr.key === null ? rr : Wr.key), L1 = Ce(Wr, L1, rr), cr === null ? a2 = Wr : cr.sibling = Wr, cr = Wr);
|
|
59094
59108
|
return b && n2.forEach((function(Gn) {
|
|
59095
59109
|
return M(D1, Gn);
|
|
59096
|
-
})),
|
|
59110
|
+
})), Bn && Yl(D1, rr), a2;
|
|
59097
59111
|
}
|
|
59098
59112
|
return function D1(L1, P1, gt, a2) {
|
|
59099
59113
|
if (typeof gt == "object" && gt !== null && gt.type === He && gt.key === null && (gt = gt.props.children), typeof gt == "object" && gt !== null) {
|
|
@@ -59293,7 +59307,7 @@ function MMe() {
|
|
|
59293
59307
|
return b;
|
|
59294
59308
|
}
|
|
59295
59309
|
function Y3(b, M) {
|
|
59296
|
-
switch (
|
|
59310
|
+
switch (On(Ql, M), On(u9, b), On(ja, c9), b = M.nodeType) {
|
|
59297
59311
|
case 9:
|
|
59298
59312
|
case 11:
|
|
59299
59313
|
M = (M = M.documentElement) ? M.namespaceURI : $1(null, "");
|
|
@@ -59301,7 +59315,7 @@ function MMe() {
|
|
|
59301
59315
|
default:
|
|
59302
59316
|
M = $1(M = (b = b === 8 ? M.parentNode : M).namespaceURI || null, b = b.tagName);
|
|
59303
59317
|
}
|
|
59304
|
-
ei(ja),
|
|
59318
|
+
ei(ja), On(ja, M);
|
|
59305
59319
|
}
|
|
59306
59320
|
function K4() {
|
|
59307
59321
|
ei(ja), ei(u9), ei(Ql);
|
|
@@ -59309,7 +59323,7 @@ function MMe() {
|
|
|
59309
59323
|
function J3(b) {
|
|
59310
59324
|
e4(Ql.current);
|
|
59311
59325
|
var M = e4(ja.current), O = $1(M, b.type);
|
|
59312
|
-
M !== O && (
|
|
59326
|
+
M !== O && (On(u9, b), On(ja, O));
|
|
59313
59327
|
}
|
|
59314
59328
|
function X3(b) {
|
|
59315
59329
|
u9.current === b && (ei(ja), ei(u9));
|
|
@@ -59529,7 +59543,7 @@ function MMe() {
|
|
|
59529
59543
|
return J !== null && M !== null && bc(M, J[1]) ? J[0] : (b = b(), O.memoizedState = [b, M], b);
|
|
59530
59544
|
}
|
|
59531
59545
|
function Tp(b, M, O) {
|
|
59532
|
-
return 21 & t4 ? (wi(O, M) || (O =
|
|
59546
|
+
return 21 & t4 ? (wi(O, M) || (O = Tn(), ci.lanes |= O, gl |= O, b.baseState = !0), M) : (b.baseState && (b.baseState = !1, as = !0), b.memoizedState = O);
|
|
59533
59547
|
}
|
|
59534
59548
|
function bC(b, M) {
|
|
59535
59549
|
var O = Y2;
|
|
@@ -59604,7 +59618,7 @@ function MMe() {
|
|
|
59604
59618
|
}, useMutableSource: function() {
|
|
59605
59619
|
}, useSyncExternalStore: function(b, M, O) {
|
|
59606
59620
|
var J = ci, le = ra();
|
|
59607
|
-
if (
|
|
59621
|
+
if (Bn) {
|
|
59608
59622
|
if (O === void 0) throw Error(m(407));
|
|
59609
59623
|
O = O();
|
|
59610
59624
|
} else {
|
|
@@ -59616,7 +59630,7 @@ function MMe() {
|
|
|
59616
59630
|
return le.queue = Ce, s7(Np.bind(null, J, Ce, b), [b]), J.flags |= 2048, J4(9, Ec.bind(null, J, Ce, O, M), void 0, null), O;
|
|
59617
59631
|
}, useId: function() {
|
|
59618
59632
|
var b = ra(), M = os.identifierPrefix;
|
|
59619
|
-
if (
|
|
59633
|
+
if (Bn) {
|
|
59620
59634
|
var O = Lo;
|
|
59621
59635
|
M = ":" + M + "R" + (O = (La & ~(1 << 32 - yr(La) - 1)).toString(32) + O), 0 < (O = p9++) && (M += "H" + O.toString(32)), M += ":";
|
|
59622
59636
|
} else M = ":" + M + "r" + (O = SC++).toString(32) + ":";
|
|
@@ -59755,7 +59769,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
59755
59769
|
function Ic(b, M, O, J, le) {
|
|
59756
59770
|
O = O.render;
|
|
59757
59771
|
var Ce = M.ref;
|
|
59758
|
-
return W4(M, le), J = Hc(b, M, O, J, Ce, le), O = e7(), b === null || as ? (
|
|
59772
|
+
return W4(M, le), J = Hc(b, M, O, J, Ce, le), O = e7(), b === null || as ? (Bn && O && gc(M), M.flags |= 1, t0(b, M, J, le), M.child) : (M.updateQueue = b.updateQueue, M.flags &= -2053, b.lanes &= ~le, ia(b, M, le));
|
|
59759
59773
|
}
|
|
59760
59774
|
function Pp(b, M, O, J, le) {
|
|
59761
59775
|
if (b === null) {
|
|
@@ -59781,10 +59795,10 @@ Error generating stack: ` + Ce.message + `
|
|
|
59781
59795
|
function Dc(b, M, O) {
|
|
59782
59796
|
var J = M.pendingProps, le = J.children, Ce = b !== null ? b.memoizedState : null;
|
|
59783
59797
|
if (J.mode === "hidden") if (1 & M.mode) {
|
|
59784
|
-
if (!(1073741824 & O)) return b = Ce !== null ? Ce.baseLanes | O : O, M.lanes = M.childLanes = 1073741824, M.memoizedState = { baseLanes: b, cachePool: null, transitions: null }, M.updateQueue = null,
|
|
59785
|
-
M.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, J = Ce !== null ? Ce.baseLanes : O,
|
|
59786
|
-
} else M.memoizedState = { baseLanes: 0, cachePool: null, transitions: null },
|
|
59787
|
-
else Ce !== null ? (J = Ce.baseLanes | O, M.memoizedState = null) : J = O,
|
|
59798
|
+
if (!(1073741824 & O)) return b = Ce !== null ? Ce.baseLanes | O : O, M.lanes = M.childLanes = 1073741824, M.memoizedState = { baseLanes: b, cachePool: null, transitions: null }, M.updateQueue = null, On(fl, $0), $0 |= b, null;
|
|
59799
|
+
M.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, J = Ce !== null ? Ce.baseLanes : O, On(fl, $0), $0 |= J;
|
|
59800
|
+
} else M.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, On(fl, $0), $0 |= O;
|
|
59801
|
+
else Ce !== null ? (J = Ce.baseLanes | O, M.memoizedState = null) : J = O, On(fl, $0), $0 |= J;
|
|
59788
59802
|
return t0(b, M, le, O), M.child;
|
|
59789
59803
|
}
|
|
59790
59804
|
function Pc(b, M) {
|
|
@@ -59793,7 +59807,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
59793
59807
|
}
|
|
59794
59808
|
function jc(b, M, O, J, le) {
|
|
59795
59809
|
var Ce = ti(O) ? Kl : Rs.current;
|
|
59796
|
-
return Ce = j4(M, Ce), W4(M, le), O = Hc(b, M, O, J, Ce, le), J = e7(), b === null || as ? (
|
|
59810
|
+
return Ce = j4(M, Ce), W4(M, le), O = Hc(b, M, O, J, Ce, le), J = e7(), b === null || as ? (Bn && J && gc(M), M.flags |= 1, t0(b, M, O, le), M.child) : (M.updateQueue = b.updateQueue, M.flags &= -2053, b.lanes &= ~le, ia(b, M, le));
|
|
59797
59811
|
}
|
|
59798
59812
|
function i4(b, M, O, J, le) {
|
|
59799
59813
|
if (ti(O)) {
|
|
@@ -59840,7 +59854,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
59840
59854
|
}
|
|
59841
59855
|
function jp(b, M, O) {
|
|
59842
59856
|
var J, le = M.pendingProps, Ce = vi.current, Ze = !1, h1 = !!(128 & M.flags);
|
|
59843
|
-
if ((J = h1) || (J = (b === null || b.memoizedState !== null) && !!(2 & Ce)), J ? (Ze = !0, M.flags &= -129) : b !== null && b.memoizedState === null || (Ce |= 1),
|
|
59857
|
+
if ((J = h1) || (J = (b === null || b.memoizedState !== null) && !!(2 & Ce)), J ? (Ze = !0, M.flags &= -129) : b !== null && b.memoizedState === null || (Ce |= 1), On(vi, 1 & Ce), b === null) return q3(M), (b = M.memoizedState) !== null && (b = b.dehydrated) !== null ? (1 & M.mode ? b.data === "$!" ? M.lanes = 8 : M.lanes = 1073741824 : M.lanes = 1, null) : (h1 = le.children, b = le.fallback, Ze ? (le = M.mode, Ze = M.child, h1 = { mode: "hidden", children: h1 }, 1 & le || Ze === null ? Ze = N7(h1, le, 0, null) : (Ze.childLanes = 0, Ze.pendingProps = h1), b = s4(b, le, O, null), Ze.return = M, b.return = M, Ze.sibling = b, M.child = Ze, M.child.memoizedState = Kc(O), M.memoizedState = Wc, b) : Gc(M, h1));
|
|
59844
59858
|
if ((Ce = b.memoizedState) !== null && (J = Ce.dehydrated) !== null) return (function(J1, X1, U1, ft, Nt, xt, D1) {
|
|
59845
59859
|
if (U1) return 256 & X1.flags ? (X1.flags &= -257, p7(J1, X1, D1, ft = Oc(Error(m(422))))) : X1.memoizedState !== null ? (X1.child = J1.child, X1.flags |= 128, null) : (xt = ft.fallback, Nt = X1.mode, ft = N7({ mode: "visible", children: ft.children }, Nt, 0, null), (xt = s4(xt, Nt, D1, null)).flags |= 2, ft.return = X1, xt.return = X1, ft.sibling = xt, X1.child = ft, 1 & X1.mode && q4(X1, J1.child, null, D1), X1.child.memoizedState = Kc(D1), X1.memoizedState = Wc, xt);
|
|
59846
59860
|
if (!(1 & X1.mode)) return p7(J1, X1, D1, null);
|
|
@@ -59890,7 +59904,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
59890
59904
|
}
|
|
59891
59905
|
return L9(), p7(J1, X1, D1, ft = Oc(Error(m(421))));
|
|
59892
59906
|
}
|
|
59893
|
-
return Nt.data === "$?" ? (X1.flags |= 128, X1.child = J1.child, X1 = kC.bind(null, J1), Nt._reactRetry = X1, null) : (J1 = xt.treeContext, D0 = wo(Nt.nextSibling), F0 = X1,
|
|
59907
|
+
return Nt.data === "$?" ? (X1.flags |= 128, X1.child = J1.child, X1 = kC.bind(null, J1), Nt._reactRetry = X1, null) : (J1 = xt.treeContext, D0 = wo(Nt.nextSibling), F0 = X1, Bn = !0, Sa = null, J1 !== null && (I0[ea++] = La, I0[ea++] = Lo, I0[ea++] = Gl, La = J1.id, Lo = J1.overflow, Gl = X1), X1 = Gc(X1, ft.children), X1.flags |= 4096, X1);
|
|
59894
59908
|
})(b, M, h1, le, J, Ce, O);
|
|
59895
59909
|
if (Ze) {
|
|
59896
59910
|
Ze = le.fallback, h1 = M.mode, J = (Ce = b.child).sibling;
|
|
@@ -59934,7 +59948,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
59934
59948
|
}
|
|
59935
59949
|
J &= 1;
|
|
59936
59950
|
}
|
|
59937
|
-
if (
|
|
59951
|
+
if (On(vi, J), 1 & M.mode) switch (le) {
|
|
59938
59952
|
case "forwards":
|
|
59939
59953
|
for (O = M.child, le = null; O !== null; ) (b = O.alternate) !== null && Q3(b) === null && (le = O), O = O.sibling;
|
|
59940
59954
|
(O = le) === null ? (le = M.child, M.child = null) : (le = O.sibling, O.sibling = null), Yc(M, !1, le, O, Ce);
|
|
@@ -59971,7 +59985,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
59971
59985
|
return M.child;
|
|
59972
59986
|
}
|
|
59973
59987
|
function g9(b, M) {
|
|
59974
|
-
if (!
|
|
59988
|
+
if (!Bn) switch (b.tailMode) {
|
|
59975
59989
|
case "hidden":
|
|
59976
59990
|
M = b.tail;
|
|
59977
59991
|
for (var O = null; M !== null; ) M.alternate !== null && (O = M), M = M.sibling;
|
|
@@ -60169,7 +60183,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
60169
60183
|
return ri(M), null;
|
|
60170
60184
|
case 13:
|
|
60171
60185
|
if (ei(vi), J = M.memoizedState, b === null || b.memoizedState !== null && b.memoizedState.dehydrated !== null) {
|
|
60172
|
-
if (
|
|
60186
|
+
if (Bn && D0 !== null && 1 & M.mode && !(128 & M.flags)) Sp(), Jl(), M.flags |= 98560, Ce = !1;
|
|
60173
60187
|
else if (Ce = t9(M), J !== null && J.dehydrated !== null) {
|
|
60174
60188
|
if (b === null) {
|
|
60175
60189
|
if (!Ce) throw Error(m(318));
|
|
@@ -60192,7 +60206,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
60192
60206
|
if (Ii !== 0 || b !== null && 128 & b.flags) for (b = M.child; b !== null; ) {
|
|
60193
60207
|
if ((Ze = Q3(b)) !== null) {
|
|
60194
60208
|
for (M.flags |= 128, g9(Ce, !1), (J = Ze.updateQueue) !== null && (M.updateQueue = J, M.flags |= 4), M.subtreeFlags = 0, J = O, O = M.child; O !== null; ) b = J, (Ce = O).flags &= 14680066, (Ze = Ce.alternate) === null ? (Ce.childLanes = 0, Ce.lanes = b, Ce.child = null, Ce.subtreeFlags = 0, Ce.memoizedProps = null, Ce.memoizedState = null, Ce.updateQueue = null, Ce.dependencies = null, Ce.stateNode = null) : (Ce.childLanes = Ze.childLanes, Ce.lanes = Ze.lanes, Ce.child = Ze.child, Ce.subtreeFlags = 0, Ce.deletions = null, Ce.memoizedProps = Ze.memoizedProps, Ce.memoizedState = Ze.memoizedState, Ce.updateQueue = Ze.updateQueue, Ce.type = Ze.type, b = Ze.dependencies, Ce.dependencies = b === null ? null : { lanes: b.lanes, firstContext: b.firstContext }), O = O.sibling;
|
|
60195
|
-
return
|
|
60209
|
+
return On(vi, 1 & vi.current | 2), M.child;
|
|
60196
60210
|
}
|
|
60197
60211
|
b = b.sibling;
|
|
60198
60212
|
}
|
|
@@ -60200,11 +60214,11 @@ Error generating stack: ` + Ce.message + `
|
|
|
60200
60214
|
}
|
|
60201
60215
|
else {
|
|
60202
60216
|
if (!J) if ((b = Q3(Ze)) !== null) {
|
|
60203
|
-
if (M.flags |= 128, J = !0, (O = b.updateQueue) !== null && (M.updateQueue = O, M.flags |= 4), g9(Ce, !0), Ce.tail === null && Ce.tailMode === "hidden" && !Ze.alternate && !
|
|
60217
|
+
if (M.flags |= 128, J = !0, (O = b.updateQueue) !== null && (M.updateQueue = O, M.flags |= 4), g9(Ce, !0), Ce.tail === null && Ce.tailMode === "hidden" && !Ze.alternate && !Bn) return ri(M), null;
|
|
60204
60218
|
} else 2 * Ot() - Ce.renderingStartTime > t5 && O !== 1073741824 && (M.flags |= 128, J = !0, g9(Ce, !1), M.lanes = 4194304);
|
|
60205
60219
|
Ce.isBackwards ? (Ze.sibling = M.child, M.child = Ze) : ((O = Ce.last) !== null ? O.sibling = Ze : M.child = Ze, Ce.last = Ze);
|
|
60206
60220
|
}
|
|
60207
|
-
return Ce.tail !== null ? (M = Ce.tail, Ce.rendering = M, Ce.tail = M.sibling, Ce.renderingStartTime = Ot(), M.sibling = null, O = vi.current,
|
|
60221
|
+
return Ce.tail !== null ? (M = Ce.tail, Ce.rendering = M, Ce.tail = M.sibling, Ce.renderingStartTime = Ot(), M.sibling = null, O = vi.current, On(vi, J ? 1 & O | 2 : 1 & O), M) : (ri(M), null);
|
|
60208
60222
|
case 22:
|
|
60209
60223
|
case 23:
|
|
60210
60224
|
return x9(), J = M.memoizedState !== null, b !== null && b.memoizedState !== null !== J && (M.flags |= 8192), J && 1 & M.mode ? 1073741824 & $0 && (ri(M), 6 & M.subtreeFlags && (M.flags |= 8192)) : ri(M), null;
|
|
@@ -60840,7 +60854,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
60840
60854
|
return 6 & sn ? Ot() : y9 !== -1 ? y9 : y9 = Ot();
|
|
60841
60855
|
}
|
|
60842
60856
|
function ml(b) {
|
|
60843
|
-
return 1 & b.mode ? 2 & sn && ys !== 0 ? ys & -ys : Ur.transition !== null ? (S7 === 0 && (S7 =
|
|
60857
|
+
return 1 & b.mode ? 2 & sn && ys !== 0 ? ys & -ys : Ur.transition !== null ? (S7 === 0 && (S7 = Tn()), S7) : (b = Y2) !== 0 ? b : b = (b = window.event) === void 0 ? 16 : ki(b.type) : 1;
|
|
60844
60858
|
}
|
|
60845
60859
|
function Va(b, M, O, J) {
|
|
60846
60860
|
if (50 < w9) throw w9 = 0, c6 = null, Error(m(185));
|
|
@@ -61104,7 +61118,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
61104
61118
|
break e;
|
|
61105
61119
|
}
|
|
61106
61120
|
m1 = Error(m(426));
|
|
61107
|
-
} else if (
|
|
61121
|
+
} else if (Bn && 1 & h1.mode) {
|
|
61108
61122
|
var D1 = l7(Ze);
|
|
61109
61123
|
if (D1 !== null) {
|
|
61110
61124
|
!(65536 & D1.flags) && (D1.flags |= 256), Dp(D1, Ze, h1, 0, M), Cc(n4(m1, h1));
|
|
@@ -61587,18 +61601,18 @@ Error generating stack: ` + Ce.message + `
|
|
|
61587
61601
|
break;
|
|
61588
61602
|
case 10:
|
|
61589
61603
|
var xt = ft.type._context, D1 = ft.memoizedProps.value;
|
|
61590
|
-
|
|
61604
|
+
On(K3, xt._currentValue), xt._currentValue = D1;
|
|
61591
61605
|
break;
|
|
61592
61606
|
case 13:
|
|
61593
|
-
if ((xt = ft.memoizedState) !== null) return xt.dehydrated !== null ? (
|
|
61594
|
-
|
|
61607
|
+
if ((xt = ft.memoizedState) !== null) return xt.dehydrated !== null ? (On(vi, 1 & vi.current), ft.flags |= 128, null) : Nt & ft.child.childLanes ? jp(U1, ft, Nt) : (On(vi, 1 & vi.current), (U1 = ia(U1, ft, Nt)) !== null ? U1.sibling : null);
|
|
61608
|
+
On(vi, 1 & vi.current);
|
|
61595
61609
|
break;
|
|
61596
61610
|
case 19:
|
|
61597
61611
|
if (xt = !!(Nt & ft.childLanes), 128 & U1.flags) {
|
|
61598
61612
|
if (xt) return Jc(U1, ft, Nt);
|
|
61599
61613
|
ft.flags |= 128;
|
|
61600
61614
|
}
|
|
61601
|
-
if ((D1 = ft.memoizedState) !== null && (D1.rendering = null, D1.tail = null, D1.lastEffect = null),
|
|
61615
|
+
if ((D1 = ft.memoizedState) !== null && (D1.rendering = null, D1.tail = null, D1.lastEffect = null), On(vi, vi.current), xt) break;
|
|
61602
61616
|
return null;
|
|
61603
61617
|
case 22:
|
|
61604
61618
|
case 23:
|
|
@@ -61608,7 +61622,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
61608
61622
|
})(b, M, O);
|
|
61609
61623
|
as = !!(131072 & b.flags);
|
|
61610
61624
|
}
|
|
61611
|
-
else as = !1,
|
|
61625
|
+
else as = !1, Bn && 1048576 & M.flags && fc(M, Q5, M.index);
|
|
61612
61626
|
switch (M.lanes = 0, M.tag) {
|
|
61613
61627
|
case 2:
|
|
61614
61628
|
var J = M.type;
|
|
@@ -61616,7 +61630,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
61616
61630
|
var le = j4(M, Rs.current);
|
|
61617
61631
|
W4(M, O), le = Hc(null, M, J, b, le, O);
|
|
61618
61632
|
var Ce = e7();
|
|
61619
|
-
return M.flags |= 1, typeof le == "object" && le !== null && typeof le.render == "function" && le.$$typeof === void 0 ? (M.tag = 1, M.memoizedState = null, M.updateQueue = null, ti(J) ? (Ce = !0, j3(M)) : Ce = !1, M.memoizedState = le.state !== null && le.state !== void 0 ? le.state : null, vc(M), le.updater = a7, M.stateNode = le, le._reactInternals = M, Tc(M, J, b, O), M = S0(null, M, J, !0, Ce, O)) : (M.tag = 0,
|
|
61633
|
+
return M.flags |= 1, typeof le == "object" && le !== null && typeof le.render == "function" && le.$$typeof === void 0 ? (M.tag = 1, M.memoizedState = null, M.updateQueue = null, ti(J) ? (Ce = !0, j3(M)) : Ce = !1, M.memoizedState = le.state !== null && le.state !== void 0 ? le.state : null, vc(M), le.updater = a7, M.stateNode = le, le._reactInternals = M, Tc(M, J, b, O), M = S0(null, M, J, !0, Ce, O)) : (M.tag = 0, Bn && Ce && gc(M), t0(null, M, le, O), M = M.child), M;
|
|
61620
61634
|
case 16:
|
|
61621
61635
|
J = M.elementType;
|
|
61622
61636
|
e: {
|
|
@@ -61662,7 +61676,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
61662
61676
|
M = c7(b, M, J, O, le = n4(Error(m(424)), M));
|
|
61663
61677
|
break e;
|
|
61664
61678
|
}
|
|
61665
|
-
for (D0 = wo(M.stateNode.containerInfo.firstChild), F0 = M,
|
|
61679
|
+
for (D0 = wo(M.stateNode.containerInfo.firstChild), F0 = M, Bn = !0, Sa = null, O = Vp(M, null, J, O), M.child = O; O; ) O.flags = -3 & O.flags | 4096, O = O.sibling;
|
|
61666
61680
|
} else {
|
|
61667
61681
|
if (Jl(), J === le) {
|
|
61668
61682
|
M = ia(b, M, O);
|
|
@@ -61690,7 +61704,7 @@ Error generating stack: ` + Ce.message + `
|
|
|
61690
61704
|
return t0(b, M, M.pendingProps.children, O), M.child;
|
|
61691
61705
|
case 10:
|
|
61692
61706
|
e: {
|
|
61693
|
-
if (J = M.type._context, le = M.pendingProps, Ce = M.memoizedProps, Ze = le.value,
|
|
61707
|
+
if (J = M.type._context, le = M.pendingProps, Ce = M.memoizedProps, Ze = le.value, On(K3, J._currentValue), J._currentValue = Ze, Ce !== null) if (wi(Ce.value, Ze)) {
|
|
61694
61708
|
if (Ce.children === le.children && !x0.current) {
|
|
61695
61709
|
M = ia(b, M, O);
|
|
61696
61710
|
break e;
|
|
@@ -64338,7 +64352,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), zr = Q1, N2 = wt);
|
|
|
64338
64352
|
}
|
|
64339
64353
|
function t2(Q1, wt, Dt, p2) {
|
|
64340
64354
|
function N2(Ot, q1) {
|
|
64341
|
-
const ot =
|
|
64355
|
+
const ot = kn.case_insensitive ? q1[0].toLowerCase() : q1[0];
|
|
64342
64356
|
return Object.prototype.hasOwnProperty.call(Ot.keywords, ot) && Ot.keywords[ot];
|
|
64343
64357
|
}
|
|
64344
64358
|
function zr() {
|
|
@@ -64362,7 +64376,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), zr = Q1, N2 = wt);
|
|
|
64362
64376
|
const [vt, Tr] = z2;
|
|
64363
64377
|
if (Lt.addText(Vt), Vt = "", gi += Tr, vt.startsWith("_")) Vt += ot[0];
|
|
64364
64378
|
else {
|
|
64365
|
-
const tn =
|
|
64379
|
+
const tn = kn.classNameAliases[vt] || vt;
|
|
64366
64380
|
Lt.addKeyword(ot[0], tn);
|
|
64367
64381
|
}
|
|
64368
64382
|
} else Vt += ot[0];
|
|
@@ -64372,7 +64386,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), zr = Q1, N2 = wt);
|
|
|
64372
64386
|
})(), hr = "";
|
|
64373
64387
|
}
|
|
64374
64388
|
function er(Ot) {
|
|
64375
|
-
return Ot.className && Lt.openNode(
|
|
64389
|
+
return Ot.className && Lt.openNode(kn.classNameAliases[Ot.className] || Ot.className), b2 = Object.create(Ot, { parent: { value: b2 } }), b2;
|
|
64376
64390
|
}
|
|
64377
64391
|
function ur(Ot, q1, ot) {
|
|
64378
64392
|
let Vt = (function(vt, Tr) {
|
|
@@ -64436,14 +64450,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), zr = Q1, N2 = wt);
|
|
|
64436
64450
|
throw new Error("potential infinite loop, way more iterations than matches");
|
|
64437
64451
|
return hr += ot, ot.length;
|
|
64438
64452
|
}
|
|
64439
|
-
const
|
|
64440
|
-
if (!
|
|
64441
|
-
const $n = Ae(
|
|
64453
|
+
const kn = Gt(Q1);
|
|
64454
|
+
if (!kn) throw ht(T1.replace("{}", Q1)), new Error('Unknown language: "' + Q1 + '"');
|
|
64455
|
+
const $n = Ae(kn, { plugins: ze });
|
|
64442
64456
|
let Gr = "", b2 = p2 || $n;
|
|
64443
64457
|
const k2 = {}, Lt = new V1.__emitter(V1);
|
|
64444
64458
|
(function() {
|
|
64445
64459
|
const q1 = [];
|
|
64446
|
-
for (let ot = b2; ot !==
|
|
64460
|
+
for (let ot = b2; ot !== kn; ot = ot.parent) ot.className && q1.unshift(ot.className);
|
|
64447
64461
|
q1.forEach(((ot) => Lt.openNode(ot)));
|
|
64448
64462
|
})();
|
|
64449
64463
|
let hr = "", gi = 0, gn = 0, qt = 0, pn = !1;
|
|
@@ -69263,7 +69277,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
69263
69277
|
var Y = {};
|
|
69264
69278
|
u.r(Y), u.d(Y, { isJSONReferenceElement: () => kw, isJSONSchemaElement: () => aM, isLinkDescriptionElement: () => xq, isMediaElement: () => oM });
|
|
69265
69279
|
var q = {};
|
|
69266
|
-
u.r(q), u.d(q, { isBooleanJsonSchemaElement: () => CK, isCallbackElement: () => rK, isComponentsElement: () => nK, isContactElement: () => iK, isDiscriminatorElement: () => LK, isExampleElement: () => sK, isExternalDocumentationElement: () => aK, isHeaderElement: () => e8, isInfoElement: () => oK, isLicenseElement: () => lK, isLinkElement: () => cK, isMediaTypeElement: () => Wd, isOpenApi3_0Element: () => hK, isOpenapiElement: () => uK, isOperationElement: () => gM, isParameterElement: () => pK, isPathItemElement: () => Pw, isPathsElement: () => dK, isReferenceElement: () =>
|
|
69280
|
+
u.r(q), u.d(q, { isBooleanJsonSchemaElement: () => CK, isCallbackElement: () => rK, isComponentsElement: () => nK, isContactElement: () => iK, isDiscriminatorElement: () => LK, isExampleElement: () => sK, isExternalDocumentationElement: () => aK, isHeaderElement: () => e8, isInfoElement: () => oK, isLicenseElement: () => lK, isLinkElement: () => cK, isMediaTypeElement: () => Wd, isOpenApi3_0Element: () => hK, isOpenapiElement: () => uK, isOperationElement: () => gM, isParameterElement: () => pK, isPathItemElement: () => Pw, isPathsElement: () => dK, isReferenceElement: () => Fn, isRequestBodyElement: () => fK, isResponseElement: () => qd, isResponsesElement: () => gK, isSchemaElement: () => mK, isSecurityRequirementElement: () => wK, isSecuritySchemeElement: () => yK, isServerElement: () => vK, isServerVariableElement: () => xK, isServersElement: () => mM });
|
|
69267
69281
|
var re = {};
|
|
69268
69282
|
u.r(re), u.d(re, { isJSONReferenceElement: () => kw, isJSONSchemaElement: () => MJ, isLinkDescriptionElement: () => _J, isMediaElement: () => oM });
|
|
69269
69283
|
var se = {};
|
|
@@ -69452,7 +69466,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
69452
69466
|
function Br(s) {
|
|
69453
69467
|
return Array.isArray(s);
|
|
69454
69468
|
}
|
|
69455
|
-
const
|
|
69469
|
+
const kn = dt();
|
|
69456
69470
|
function $n(s, r) {
|
|
69457
69471
|
return Object.keys(s).reduce(((l, p) => (l[p] = r(s[p], p), l)), {});
|
|
69458
69472
|
}
|
|
@@ -69830,7 +69844,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
69830
69844
|
}
|
|
69831
69845
|
};
|
|
69832
69846
|
}
|
|
69833
|
-
var Ws = u(61160),
|
|
69847
|
+
var Ws = u(61160), Tn = u.n(Ws);
|
|
69834
69848
|
const Ki = "show_popup", rn = "authorize", rs = "logout", Y2 = "authorize_oauth2", Z2 = "configure_auth", ns = "restore_authorization";
|
|
69835
69849
|
function bn(s) {
|
|
69836
69850
|
return { type: Ki, payload: s };
|
|
@@ -69883,8 +69897,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
69883
69897
|
let k, { body: P, query: $ = {}, headers: K = {}, name: X, url: ne, auth: ce } = s, { additionalQueryStringParams: ue } = _.getConfigs() || {};
|
|
69884
69898
|
if (N.isOAS3()) {
|
|
69885
69899
|
let ae = S.serverEffectiveValue(S.selectedServer());
|
|
69886
|
-
k =
|
|
69887
|
-
} else k =
|
|
69900
|
+
k = Tn()(ne, ae, !0);
|
|
69901
|
+
} else k = Tn()(ne, N.url(), !0);
|
|
69888
69902
|
typeof ue == "object" && (k.query = Object.assign({}, k.query, ue));
|
|
69889
69903
|
const fe = k.toString();
|
|
69890
69904
|
let ye = Object.assign({ Accept: "application/json, text/plain, */*", "Content-Type": "application/x-www-form-urlencoded", "X-Requested-With": "XMLHttpRequest" }, K);
|
|
@@ -70956,7 +70970,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
70956
70970
|
throw new Error("Function yaml." + s + " is removed in js-yaml 4. Use yaml." + r + " instead, which is now safe by default.");
|
|
70957
70971
|
};
|
|
70958
70972
|
}
|
|
70959
|
-
var Wl = I2, J5 = U2, D4 = f2, Pa = Wt, pc = y2, P4 = v0, ul = lc.load, ei = lc.loadAll,
|
|
70973
|
+
var Wl = I2, J5 = U2, D4 = f2, Pa = Wt, pc = y2, P4 = v0, ul = lc.load, ei = lc.loadAll, On = LC, hl = Pt, Rs = { binary: R2, float: yt, map: D2, null: lr, pairs: As, set: va, timestamp: J2, bool: E2, int: $e, merge: En, omap: Zs, seq: Bt, str: A2 }, x0 = hc("safeLoad", "load"), Kl = hc("safeLoadAll", "loadAll"), j4 = hc("safeDump", "dump"), ti = { Type: Wl, Schema: J5, FAILSAFE_SCHEMA: D4, JSON_SCHEMA: Pa, CORE_SCHEMA: pc, DEFAULT_SCHEMA: P4, load: ul, loadAll: ei, dump: On, YAMLException: hl, types: Rs, safeLoad: x0, safeLoadAll: Kl, safeDump: j4 };
|
|
70960
70974
|
const X5 = "configs_update", P3 = "configs_toggle";
|
|
70961
70975
|
function wp(s, r) {
|
|
70962
70976
|
return { type: X5, payload: { [s]: r } };
|
|
@@ -71074,7 +71088,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
71074
71088
|
return r;
|
|
71075
71089
|
}));
|
|
71076
71090
|
}
|
|
71077
|
-
var D0 = u(58156),
|
|
71091
|
+
var D0 = u(58156), Bn = u.n(D0);
|
|
71078
71092
|
function Sa(s, { jsSpec: r }) {
|
|
71079
71093
|
return s;
|
|
71080
71094
|
}
|
|
@@ -72143,7 +72157,7 @@ ${fe.join(`,
|
|
|
72143
72157
|
const ue = tn(ce, s.parameters);
|
|
72144
72158
|
(!ue || ue && ue.size === 0) && (s.parameters[ce.get("name")] = "");
|
|
72145
72159
|
}
|
|
72146
|
-
})), s.contextUrl =
|
|
72160
|
+
})), s.contextUrl = Tn()(p.url()).toString(), K && K.operationId ? s.operationId = K.operationId : K && N && _ && (s.operationId = r.opId(K, N, _)), p.isOAS3()) {
|
|
72147
72161
|
const ce = `${N}:${_}`;
|
|
72148
72162
|
s.server = S.selectedServer(ce) || S.selectedServer();
|
|
72149
72163
|
const ue = S.serverVariables({ server: s.server, namespace: ce }).toJS(), fe = S.serverVariables({ server: s.server }).toJS();
|
|
@@ -72212,9 +72226,9 @@ ${fe.join(`,
|
|
|
72212
72226
|
s(...l), r.parseToJson(...l);
|
|
72213
72227
|
}, H9 = (s, { specActions: r }) => (...l) => {
|
|
72214
72228
|
s(...l), r.invalidateResolvedSubtreeCache();
|
|
72215
|
-
const [p] = l, v =
|
|
72229
|
+
const [p] = l, v = Bn()(p, ["paths"]) || {};
|
|
72216
72230
|
Object.keys(v).forEach(((S) => {
|
|
72217
|
-
const N =
|
|
72231
|
+
const N = Bn()(v, [S]);
|
|
72218
72232
|
$a()(N) && N.$ref && r.requestResolvedSubtree(["paths", S]);
|
|
72219
72233
|
})), r.requestResolvedSubtree(["components", "securitySchemes"]);
|
|
72220
72234
|
}, IC = (s, { specActions: r }) => (l) => (r.logRequest(l), s(l)), T7 = (s, { specSelectors: r }) => (l) => s(l, r.isOAS3()), b = () => ({ statePlugins: { spec: { wrapActions: { ...B }, reducers: { ...k7 }, actions: { ...T }, selectors: { ...R } } } });
|
|
@@ -73354,12 +73368,12 @@ CAUSE: ${p.stack}`);
|
|
|
73354
73368
|
}, PH = (s) => {
|
|
73355
73369
|
const r = s.indexOf("#");
|
|
73356
73370
|
return r !== -1 ? s.substring(r) : "#";
|
|
73357
|
-
},
|
|
73371
|
+
}, In = (s) => {
|
|
73358
73372
|
const r = s.indexOf("#");
|
|
73359
73373
|
let l = s;
|
|
73360
73374
|
return r >= 0 && (l = s.substring(0, r)), l;
|
|
73361
73375
|
}, iw = () => {
|
|
73362
|
-
if (cd.browser) return
|
|
73376
|
+
if (cd.browser) return In(globalThis.location.href);
|
|
73363
73377
|
const s = cd.cwd(), r = wd(s);
|
|
73364
73378
|
return ["/", "\\"].includes(r) ? s : s + (tw() ? "\\" : "/");
|
|
73365
73379
|
}, a0 = (s, r) => {
|
|
@@ -77756,14 +77770,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77756
77770
|
const l = this.alternator.map((({ predicate: v, specPath: S }) => Tw(v, X2(S), xd))), p = uM(l)(r);
|
|
77757
77771
|
return this.element = this.toRefractedElement(p, r), Fr;
|
|
77758
77772
|
}
|
|
77759
|
-
}, rK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof I6 || s(p) && r("callback", p) && l("object", p))), nK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof F6 || s(p) && r("components", p) && l("object", p))), iK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof D6 || s(p) && r("contact", p) && l("object", p))), sK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof j6 || s(p) && r("example", p) && l("object", p))), aK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof $6 || s(p) && r("externalDocumentation", p) && l("object", p))), e8 = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof U6 || s(p) && r("header", p) && l("object", p))), oK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof q6 || s(p) && r("info", p) && l("object", p))), lK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof W6 || s(p) && r("license", p) && l("object", p))), cK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof K6 || s(p) && r("link", p) && l("object", p))), uK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof Y6 || s(p) && r("openapi", p) && l("string", p))), hK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l, hasClass: p }) => (v) => v instanceof Od || s(v) && r("openApi3_0", v) && l("object", v) && p("api", v))), gM = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof J6 || s(p) && r("operation", p) && l("object", p))), pK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof X6 || s(p) && r("parameter", p) && l("object", p))), Pw = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof Q6 || s(p) && r("pathItem", p) && l("object", p))), dK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof eu || s(p) && r("paths", p) && l("object", p))),
|
|
77773
|
+
}, rK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof I6 || s(p) && r("callback", p) && l("object", p))), nK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof F6 || s(p) && r("components", p) && l("object", p))), iK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof D6 || s(p) && r("contact", p) && l("object", p))), sK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof j6 || s(p) && r("example", p) && l("object", p))), aK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof $6 || s(p) && r("externalDocumentation", p) && l("object", p))), e8 = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof U6 || s(p) && r("header", p) && l("object", p))), oK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof q6 || s(p) && r("info", p) && l("object", p))), lK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof W6 || s(p) && r("license", p) && l("object", p))), cK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof K6 || s(p) && r("link", p) && l("object", p))), uK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof Y6 || s(p) && r("openapi", p) && l("string", p))), hK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l, hasClass: p }) => (v) => v instanceof Od || s(v) && r("openApi3_0", v) && l("object", v) && p("api", v))), gM = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof J6 || s(p) && r("operation", p) && l("object", p))), pK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof X6 || s(p) && r("parameter", p) && l("object", p))), Pw = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof Q6 || s(p) && r("pathItem", p) && l("object", p))), dK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof eu || s(p) && r("paths", p) && l("object", p))), Fn = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof tu || s(p) && r("reference", p) && l("object", p))), fK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof ru || s(p) && r("requestBody", p) && l("object", p))), qd = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof nu || s(p) && r("response", p) && l("object", p))), gK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof iu || s(p) && r("responses", p) && l("object", p))), mK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof jd || s(p) && r("schema", p) && l("object", p))), CK = (s) => A6(s) && s.classes.includes("boolean-json-schema"), wK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof cu || s(p) && r("securityRequirement", p) && l("object", p))), yK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof uu || s(p) && r("securityScheme", p) && l("object", p))), vK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof hu || s(p) && r("server", p) && l("object", p))), xK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof pu || s(p) && r("serverVariable", p) && l("object", p))), Wd = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof G6 || s(p) && r("mediaType", p) && l("object", p))), mM = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l, hasClass: p }) => (v) => v instanceof fM || s(v) && r("array", v) && l("array", v) && p("servers", v))), LK = o2((({ hasBasicElementProps: s, isElementType: r, primitiveEq: l }) => (p) => p instanceof P6 || s(p) && r("discriminator", p) && l("object", p)));
|
|
77760
77774
|
class SK extends $t(Vl, c2) {
|
|
77761
77775
|
constructor(r) {
|
|
77762
77776
|
super(r), this.alternator = [{ predicate: ni, specPath: ["document", "objects", "Reference"] }, { predicate: c4, specPath: ["document", "objects", "Schema"] }];
|
|
77763
77777
|
}
|
|
77764
77778
|
ObjectElement(r) {
|
|
77765
77779
|
const l = Vl.prototype.enter.call(this, r);
|
|
77766
|
-
return
|
|
77780
|
+
return Fn(this.element) && this.element.setMetaProperty("referenced-element", "schema"), l;
|
|
77767
77781
|
}
|
|
77768
77782
|
}
|
|
77769
77783
|
const bK = SK;
|
|
@@ -77773,7 +77787,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77773
77787
|
}
|
|
77774
77788
|
ObjectElement(r) {
|
|
77775
77789
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
77776
|
-
return this.element.filter(
|
|
77790
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
77777
77791
|
p.setMetaProperty("referenced-element", "example");
|
|
77778
77792
|
})), l;
|
|
77779
77793
|
}
|
|
@@ -77875,7 +77889,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77875
77889
|
}
|
|
77876
77890
|
ObjectElement(r) {
|
|
77877
77891
|
const l = Vl.prototype.enter.call(this, r);
|
|
77878
|
-
return
|
|
77892
|
+
return Fn(this.element) && this.element.setMetaProperty("referenced-element", "schema"), l;
|
|
77879
77893
|
}
|
|
77880
77894
|
}
|
|
77881
77895
|
const qK = UK;
|
|
@@ -77891,7 +77905,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77891
77905
|
}
|
|
77892
77906
|
ObjectElement(r) {
|
|
77893
77907
|
const l = Vl.prototype.enter.call(this, r);
|
|
77894
|
-
return
|
|
77908
|
+
return Fn(this.element) && this.element.setMetaProperty("referenced-element", "schema"), l;
|
|
77895
77909
|
}
|
|
77896
77910
|
}
|
|
77897
77911
|
const YK = GK;
|
|
@@ -77931,28 +77945,28 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77931
77945
|
const nG = rG, CM = c0.visitors.document.objects.JSONSchema.fixedFields.allOf, iG = class extends CM {
|
|
77932
77946
|
ArrayElement(r) {
|
|
77933
77947
|
const l = CM.prototype.ArrayElement.call(this, r);
|
|
77934
|
-
return this.element.filter(
|
|
77948
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
77935
77949
|
p.setMetaProperty("referenced-element", "schema");
|
|
77936
77950
|
})), l;
|
|
77937
77951
|
}
|
|
77938
77952
|
}, wM = c0.visitors.document.objects.JSONSchema.fixedFields.anyOf, sG = class extends wM {
|
|
77939
77953
|
ArrayElement(r) {
|
|
77940
77954
|
const l = wM.prototype.ArrayElement.call(this, r);
|
|
77941
|
-
return this.element.filter(
|
|
77955
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
77942
77956
|
p.setMetaProperty("referenced-element", "schema");
|
|
77943
77957
|
})), l;
|
|
77944
77958
|
}
|
|
77945
77959
|
}, yM = c0.visitors.document.objects.JSONSchema.fixedFields.oneOf, aG = class extends yM {
|
|
77946
77960
|
ArrayElement(r) {
|
|
77947
77961
|
const l = yM.prototype.ArrayElement.call(this, r);
|
|
77948
|
-
return this.element.filter(
|
|
77962
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
77949
77963
|
p.setMetaProperty("referenced-element", "schema");
|
|
77950
77964
|
})), l;
|
|
77951
77965
|
}
|
|
77952
77966
|
}, vM = c0.visitors.document.objects.JSONSchema.fixedFields.items, oG = class extends vM {
|
|
77953
77967
|
ObjectElement(r) {
|
|
77954
77968
|
const l = vM.prototype.ObjectElement.call(this, r);
|
|
77955
|
-
return
|
|
77969
|
+
return Fn(this.element) && this.element.setMetaProperty("referenced-element", "schema"), l;
|
|
77956
77970
|
}
|
|
77957
77971
|
ArrayElement(r) {
|
|
77958
77972
|
return this.enter(r);
|
|
@@ -77960,7 +77974,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77960
77974
|
}, xM = c0.visitors.document.objects.JSONSchema.fixedFields.properties, lG = class extends xM {
|
|
77961
77975
|
ObjectElement(r) {
|
|
77962
77976
|
const l = xM.prototype.ObjectElement.call(this, r);
|
|
77963
|
-
return this.element.filter(
|
|
77977
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
77964
77978
|
p.setMetaProperty("referenced-element", "schema");
|
|
77965
77979
|
})), l;
|
|
77966
77980
|
}
|
|
@@ -77971,7 +77985,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
77971
77985
|
}, LM = c0.visitors.JSONSchemaOrJSONReferenceVisitor, SM = class extends LM {
|
|
77972
77986
|
ObjectElement(r) {
|
|
77973
77987
|
const l = LM.prototype.enter.call(this, r);
|
|
77974
|
-
return
|
|
77988
|
+
return Fn(this.element) && this.element.setMetaProperty("referenced-element", "schema"), l;
|
|
77975
77989
|
}
|
|
77976
77990
|
};
|
|
77977
77991
|
class hG extends $t(Mr, c2) {
|
|
@@ -78034,7 +78048,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78034
78048
|
}
|
|
78035
78049
|
ObjectElement(r) {
|
|
78036
78050
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78037
|
-
return this.element.filter(
|
|
78051
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78038
78052
|
p.setMetaProperty("referenced-element", "schema");
|
|
78039
78053
|
})), l;
|
|
78040
78054
|
}
|
|
@@ -78053,7 +78067,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78053
78067
|
}
|
|
78054
78068
|
ObjectElement(r) {
|
|
78055
78069
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78056
|
-
return this.element.filter(
|
|
78070
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78057
78071
|
p.setMetaProperty("referenced-element", "response");
|
|
78058
78072
|
})), this.element.filter(qd).forEach(((p, v) => {
|
|
78059
78073
|
p.setMetaProperty("http-status-code", Ct(v));
|
|
@@ -78074,7 +78088,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78074
78088
|
}
|
|
78075
78089
|
ObjectElement(r) {
|
|
78076
78090
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78077
|
-
return this.element.filter(
|
|
78091
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78078
78092
|
p.setMetaProperty("referenced-element", "parameter");
|
|
78079
78093
|
})), l;
|
|
78080
78094
|
}
|
|
@@ -78093,7 +78107,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78093
78107
|
}
|
|
78094
78108
|
ObjectElement(r) {
|
|
78095
78109
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78096
|
-
return this.element.filter(
|
|
78110
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78097
78111
|
p.setMetaProperty("referenced-element", "example");
|
|
78098
78112
|
})), l;
|
|
78099
78113
|
}
|
|
@@ -78112,7 +78126,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78112
78126
|
}
|
|
78113
78127
|
ObjectElement(r) {
|
|
78114
78128
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78115
|
-
return this.element.filter(
|
|
78129
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78116
78130
|
p.setMetaProperty("referenced-element", "requestBody");
|
|
78117
78131
|
})), l;
|
|
78118
78132
|
}
|
|
@@ -78131,7 +78145,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78131
78145
|
}
|
|
78132
78146
|
ObjectElement(r) {
|
|
78133
78147
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78134
|
-
return this.element.filter(
|
|
78148
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78135
78149
|
p.setMetaProperty("referenced-element", "header");
|
|
78136
78150
|
})), this.element.filter(e8).forEach(((p, v) => {
|
|
78137
78151
|
p.setMetaProperty("header-name", Ct(v));
|
|
@@ -78152,7 +78166,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78152
78166
|
}
|
|
78153
78167
|
ObjectElement(r) {
|
|
78154
78168
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78155
|
-
return this.element.filter(
|
|
78169
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78156
78170
|
p.setMetaProperty("referenced-element", "securityScheme");
|
|
78157
78171
|
})), l;
|
|
78158
78172
|
}
|
|
@@ -78171,7 +78185,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78171
78185
|
}
|
|
78172
78186
|
ObjectElement(r) {
|
|
78173
78187
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78174
|
-
return this.element.filter(
|
|
78188
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78175
78189
|
p.setMetaProperty("referenced-element", "link");
|
|
78176
78190
|
})), l;
|
|
78177
78191
|
}
|
|
@@ -78190,7 +78204,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78190
78204
|
}
|
|
78191
78205
|
ObjectElement(r) {
|
|
78192
78206
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78193
|
-
return this.element.filter(
|
|
78207
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78194
78208
|
p.setMetaProperty("referenced-element", "callback");
|
|
78195
78209
|
})), l;
|
|
78196
78210
|
}
|
|
@@ -78242,7 +78256,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78242
78256
|
}
|
|
78243
78257
|
ObjectElement(r) {
|
|
78244
78258
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78245
|
-
return this.element.filter(
|
|
78259
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78246
78260
|
p.setMetaProperty("referenced-element", "header");
|
|
78247
78261
|
})), this.element.forEach(((p, v) => {
|
|
78248
78262
|
if (!e8(p)) return;
|
|
@@ -78326,7 +78340,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78326
78340
|
}
|
|
78327
78341
|
ObjectElement(r) {
|
|
78328
78342
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78329
|
-
return this.element.filter(
|
|
78343
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78330
78344
|
p.setMetaProperty("referenced-element", "header");
|
|
78331
78345
|
})), this.element.forEach(((p, v) => {
|
|
78332
78346
|
if (!e8(p)) return;
|
|
@@ -78360,7 +78374,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78360
78374
|
}
|
|
78361
78375
|
ObjectElement(r) {
|
|
78362
78376
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78363
|
-
return this.element.filter(
|
|
78377
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78364
78378
|
p.setMetaProperty("referenced-element", "link");
|
|
78365
78379
|
})), l;
|
|
78366
78380
|
}
|
|
@@ -78438,7 +78452,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78438
78452
|
}
|
|
78439
78453
|
ObjectElement(r) {
|
|
78440
78454
|
const l = MM.prototype.ObjectElement.call(this, r);
|
|
78441
|
-
return this.element.filter(
|
|
78455
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78442
78456
|
p.setMetaProperty("referenced-element", "response");
|
|
78443
78457
|
})), this.element.filter(qd).forEach(((p, v) => {
|
|
78444
78458
|
const S = x2(v);
|
|
@@ -78453,7 +78467,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78453
78467
|
}
|
|
78454
78468
|
ObjectElement(r) {
|
|
78455
78469
|
const l = Vl.prototype.enter.call(this, r);
|
|
78456
|
-
return
|
|
78470
|
+
return Fn(this.element) ? this.element.setMetaProperty("referenced-element", "response") : qd(this.element) && this.element.setMetaProperty("http-status-code", "default"), l;
|
|
78457
78471
|
}
|
|
78458
78472
|
}
|
|
78459
78473
|
const zY = NY;
|
|
@@ -78491,7 +78505,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78491
78505
|
ArrayElement(r) {
|
|
78492
78506
|
return r.forEach(((l) => {
|
|
78493
78507
|
const p = ni(l) ? ["document", "objects", "Reference"] : ["document", "objects", "Parameter"], v = this.toRefractedElement(p, l);
|
|
78494
|
-
|
|
78508
|
+
Fn(v) && v.setMetaProperty("referenced-element", "parameter"), this.element.push(v);
|
|
78495
78509
|
})), this.copyMetaAndAttributes(r, this.element), Fr;
|
|
78496
78510
|
}
|
|
78497
78511
|
}
|
|
@@ -78505,7 +78519,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78505
78519
|
}
|
|
78506
78520
|
ObjectElement(r) {
|
|
78507
78521
|
const l = Vl.prototype.enter.call(this, r);
|
|
78508
|
-
return
|
|
78522
|
+
return Fn(this.element) && this.element.setMetaProperty("referenced-element", "requestBody"), l;
|
|
78509
78523
|
}
|
|
78510
78524
|
};
|
|
78511
78525
|
class fy extends B1.Sh {
|
|
@@ -78522,7 +78536,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
78522
78536
|
}
|
|
78523
78537
|
ObjectElement(r) {
|
|
78524
78538
|
const l = Lr.prototype.ObjectElement.call(this, r);
|
|
78525
|
-
return this.element.filter(
|
|
78539
|
+
return this.element.filter(Fn).forEach(((p) => {
|
|
78526
78540
|
p.setMetaProperty("referenced-element", "callback");
|
|
78527
78541
|
})), l;
|
|
78528
78542
|
}
|
|
@@ -80357,7 +80371,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80357
80371
|
}, h_ = (s, r) => {
|
|
80358
80372
|
if (r.$ref === void 0) return;
|
|
80359
80373
|
const l = PH(Ct(r.$ref)), p = Ct(r.meta.get("ancestorsSchemaIdentifiers"));
|
|
80360
|
-
return `${I7(((S, N) => a0(S, Ld(
|
|
80374
|
+
return `${I7(((S, N) => a0(S, Ld(In(N)))), s, [...p, Ct(r.$ref)])}${l === "#" ? "" : l}`;
|
|
80361
80375
|
}, bu = (s) => {
|
|
80362
80376
|
if (bu.cache.has(s)) return bu.cache.get(s);
|
|
80363
80377
|
const r = m5.refract(s);
|
|
@@ -80365,7 +80379,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80365
80379
|
};
|
|
80366
80380
|
bu.cache = /* @__PURE__ */ new WeakMap();
|
|
80367
80381
|
const V0 = (s) => A9(s) ? bu(s) : s, wf = (s, r) => {
|
|
80368
|
-
const { cache: l } = wf, p =
|
|
80382
|
+
const { cache: l } = wf, p = In(s), v = (N) => Do(N) && N.$id !== void 0;
|
|
80369
80383
|
if (!l.has(r)) {
|
|
80370
80384
|
const N = Iee(v, r);
|
|
80371
80385
|
l.set(r, Array.from(N));
|
|
@@ -80373,7 +80387,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80373
80387
|
const S = l.get(r).find(((N) => ((k, P) => {
|
|
80374
80388
|
if (P.$id === void 0) return;
|
|
80375
80389
|
const $ = Ct(P.meta.get("ancestorsSchemaIdentifiers"));
|
|
80376
|
-
return I7(((K, X) => a0(K, Ld(
|
|
80390
|
+
return I7(((K, X) => a0(K, Ld(In(X)))), k, $);
|
|
80377
80391
|
})(p, N) === p));
|
|
80378
80392
|
if (o5(S)) throw new jy(`Evaluation failed on URI: "${s}"`);
|
|
80379
80393
|
return Cf(i8(s)) ? Py(i8(s), S) : Io(S, Ga(s));
|
|
@@ -80383,7 +80397,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80383
80397
|
}, Dee = class extends Fy {
|
|
80384
80398
|
}, p_ = class extends s_ {
|
|
80385
80399
|
}, Pee = async (s, r) => {
|
|
80386
|
-
const l = new Lu({ uri: Ld(
|
|
80400
|
+
const l = new Lu({ uri: Ld(In(s)), mediaType: r.parse.mediaType }), p = await (async (v, S) => {
|
|
80387
80401
|
const N = S.resolve.resolvers.map(((k) => {
|
|
80388
80402
|
const P = Object.create(k);
|
|
80389
80403
|
return Object.assign(P, S.resolve.resolverOpts);
|
|
@@ -80436,7 +80450,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80436
80450
|
this.indirections = v, this.namespace = l, this.reference = r, this.options = p, this.ancestors = new $y(...S), this.refractCache = N, this.allOfDiscriminatorMapping = _;
|
|
80437
80451
|
}
|
|
80438
80452
|
toBaseURI(r) {
|
|
80439
|
-
return a0(this.reference.uri, Ld(
|
|
80453
|
+
return a0(this.reference.uri, Ld(In(r)));
|
|
80440
80454
|
}
|
|
80441
80455
|
async toReference(r) {
|
|
80442
80456
|
if (this.reference.depth >= this.options.resolve.maxDepth) throw new Dee(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`);
|
|
@@ -80461,7 +80475,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80461
80475
|
} };
|
|
80462
80476
|
async ReferenceElement(r, l, p, v, S, N) {
|
|
80463
80477
|
if (this.indirections.includes(r)) return !1;
|
|
80464
|
-
const [_, k] = this.toAncestorLineage([...S, p]), P = this.toBaseURI(Ct(r.$ref)), $ =
|
|
80478
|
+
const [_, k] = this.toAncestorLineage([...S, p]), P = this.toBaseURI(Ct(r.$ref)), $ = In(this.reference.uri) === P, K = !$;
|
|
80465
80479
|
if (!this.options.resolve.internal && $ || !this.options.resolve.external && K) return !1;
|
|
80466
80480
|
const X = await this.toReference(Ct(r.$ref)), ne = a0(P, Ct(r.$ref));
|
|
80467
80481
|
this.indirections.push(r);
|
|
@@ -80481,7 +80495,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80481
80495
|
return N.replaceWith(De, Xa), !p && De;
|
|
80482
80496
|
}
|
|
80483
80497
|
}
|
|
80484
|
-
const ae =
|
|
80498
|
+
const ae = In(X.refSet.rootRef.uri) !== X.uri, Pe = ["error", "replace"].includes(this.options.dereference.circular);
|
|
80485
80499
|
if ((K || ae || B9(ue) || Pe) && !_.includesCycle(ue)) {
|
|
80486
80500
|
k.add(r);
|
|
80487
80501
|
const Re = new a8({ reference: X, namespace: this.namespace, indirections: [...this.indirections], options: this.options, refractCache: this.refractCache, ancestors: _, allOfDiscriminatorMapping: this.allOfDiscriminatorMapping });
|
|
@@ -80494,7 +80508,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80494
80508
|
async PathItemElement(r, l, p, v, S, N) {
|
|
80495
80509
|
if (!sr(r.$ref)) return;
|
|
80496
80510
|
if (this.indirections.includes(r)) return !1;
|
|
80497
|
-
const [_, k] = this.toAncestorLineage([...S, p]), P = this.toBaseURI(Ct(r.$ref)), $ =
|
|
80511
|
+
const [_, k] = this.toAncestorLineage([...S, p]), P = this.toBaseURI(Ct(r.$ref)), $ = In(this.reference.uri) === P, K = !$;
|
|
80498
80512
|
if (!this.options.resolve.internal && $ || !this.options.resolve.external && K) return;
|
|
80499
80513
|
const X = await this.toReference(Ct(r.$ref)), ne = a0(P, Ct(r.$ref));
|
|
80500
80514
|
this.indirections.push(r);
|
|
@@ -80514,7 +80528,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80514
80528
|
return N.replaceWith(Re, Xa), !p && Re;
|
|
80515
80529
|
}
|
|
80516
80530
|
}
|
|
80517
|
-
const ae =
|
|
80531
|
+
const ae = In(X.refSet.rootRef.uri) !== X.uri, Pe = ["error", "replace"].includes(this.options.dereference.circular);
|
|
80518
80532
|
if ((K || ae || O9(ue) && sr(ue.$ref) || Pe) && !_.includesCycle(ue)) {
|
|
80519
80533
|
k.add(r);
|
|
80520
80534
|
const Ne = new a8({ reference: X, namespace: this.namespace, indirections: [...this.indirections], options: this.options, refractCache: this.refractCache, ancestors: _, allOfDiscriminatorMapping: this.allOfDiscriminatorMapping });
|
|
@@ -80534,7 +80548,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80534
80548
|
let _;
|
|
80535
80549
|
if (sr(r.operationRef)) {
|
|
80536
80550
|
var k;
|
|
80537
|
-
const $ = Ga(Ct(r.operationRef)), K = this.toBaseURI(Ct(r.operationRef)), X =
|
|
80551
|
+
const $ = Ga(Ct(r.operationRef)), K = this.toBaseURI(Ct(r.operationRef)), X = In(this.reference.uri) === K, ne = !X;
|
|
80538
80552
|
if (!this.options.resolve.internal && X || !this.options.resolve.external && ne) return;
|
|
80539
80553
|
const ce = await this.toReference(Ct(r.operationRef));
|
|
80540
80554
|
if (_ = Io(ce.value.result, $), A9(_)) {
|
|
@@ -80556,7 +80570,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80556
80570
|
async ExampleElement(r, l, p, v, S, N) {
|
|
80557
80571
|
if (!sr(r.externalValue)) return;
|
|
80558
80572
|
if (r.hasKey("value") && sr(r.externalValue)) throw new Ni("ExampleElement value and externalValue fields are mutually exclusive.");
|
|
80559
|
-
const _ = this.toBaseURI(Ct(r.externalValue)), k =
|
|
80573
|
+
const _ = this.toBaseURI(Ct(r.externalValue)), k = In(this.reference.uri) === _, P = !k;
|
|
80560
80574
|
if (!this.options.resolve.internal && k || !this.options.resolve.external && P) return;
|
|
80561
80575
|
const $ = await this.toReference(Ct(r.externalValue)), K = Os($.value.result);
|
|
80562
80576
|
K.setMetaProperty("ref-origin", $.uri);
|
|
@@ -80581,8 +80595,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80581
80595
|
if (this.indirections.includes(r)) return !1;
|
|
80582
80596
|
const [_, k] = this.toAncestorLineage([...S, p]);
|
|
80583
80597
|
let P = await this.toReference(vl(this.reference.uri)), { uri: $ } = P;
|
|
80584
|
-
const K = h_($, r), X =
|
|
80585
|
-
let fe, ye =
|
|
80598
|
+
const K = h_($, r), X = In(K), ne = new Lu({ uri: X }), ce = Ree(((Ie) => Ie.canRead(ne)), this.options.resolve.resolvers), ue = !ce;
|
|
80599
|
+
let fe, ye = In(this.reference.uri) === K, ae = !ye;
|
|
80586
80600
|
this.indirections.push(r);
|
|
80587
80601
|
try {
|
|
80588
80602
|
if (ce || ue) {
|
|
@@ -80590,7 +80604,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80590
80604
|
const Ie = K, ke = V0(P.value.result);
|
|
80591
80605
|
if (fe = wf(Ie, ke), fe = V0(fe), fe.id = p0.identify(fe), !this.options.resolve.internal && ye || !this.options.resolve.external && ae) return;
|
|
80592
80606
|
} else {
|
|
80593
|
-
if ($ = this.toBaseURI(K), ye =
|
|
80607
|
+
if ($ = this.toBaseURI(K), ye = In(this.reference.uri) === $, ae = !ye, !this.options.resolve.internal && ye || !this.options.resolve.external && ae) return;
|
|
80594
80608
|
P = await this.toReference(vl(K));
|
|
80595
80609
|
const Ie = Ga(K), ke = V0(P.value.result);
|
|
80596
80610
|
fe = Io(ke, Ie), fe = V0(fe), fe.id = p0.identify(fe);
|
|
@@ -80598,12 +80612,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80598
80612
|
} catch (Ie) {
|
|
80599
80613
|
if (!(ue && Ie instanceof jy)) throw Ie;
|
|
80600
80614
|
if (Cf(i8(K))) {
|
|
80601
|
-
if (ye =
|
|
80615
|
+
if (ye = In(this.reference.uri) === $, ae = !ye, !this.options.resolve.internal && ye || !this.options.resolve.external && ae) return;
|
|
80602
80616
|
P = await this.toReference(vl(K));
|
|
80603
80617
|
const ke = i8(K), je = V0(P.value.result);
|
|
80604
80618
|
fe = Py(ke, je), fe = V0(fe), fe.id = p0.identify(fe);
|
|
80605
80619
|
} else {
|
|
80606
|
-
if ($ = this.toBaseURI(K), ye =
|
|
80620
|
+
if ($ = this.toBaseURI(K), ye = In(this.reference.uri) === $, ae = !ye, !this.options.resolve.internal && ye || !this.options.resolve.external && ae) return;
|
|
80607
80621
|
P = await this.toReference(vl(K));
|
|
80608
80622
|
const ke = Ga(K), je = V0(P.value.result);
|
|
80609
80623
|
fe = Io(je, ke), fe = V0(fe), fe.id = p0.identify(fe);
|
|
@@ -80619,7 +80633,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80619
80633
|
return N.replaceWith(ke, Xa), !p && ke;
|
|
80620
80634
|
}
|
|
80621
80635
|
}
|
|
80622
|
-
const Re =
|
|
80636
|
+
const Re = In(P.refSet.rootRef.uri) !== P.uri, De = ["error", "replace"].includes(this.options.dereference.circular);
|
|
80623
80637
|
if ((ae || Re || Do(fe) && sr(fe.$ref) || De) && !_.includesCycle(fe)) {
|
|
80624
80638
|
k.add(r);
|
|
80625
80639
|
const Ie = new a8({ reference: P, namespace: this.namespace, indirections: [...this.indirections], options: this.options, refractCache: this.refractCache, ancestors: _, allOfDiscriminatorMapping: this.allOfDiscriminatorMapping });
|
|
@@ -80794,7 +80808,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80794
80808
|
async ReferenceElement(r, l, p, v, S, N) {
|
|
80795
80809
|
try {
|
|
80796
80810
|
if (this.indirections.includes(r)) return !1;
|
|
80797
|
-
const [ne, ce] = this.toAncestorLineage([...S, p]), ue = this.toBaseURI(Ct(r.$ref)), fe =
|
|
80811
|
+
const [ne, ce] = this.toAncestorLineage([...S, p]), ue = this.toBaseURI(Ct(r.$ref)), fe = In(this.reference.uri) === ue, ye = !fe;
|
|
80798
80812
|
if (!this.options.resolve.internal && fe || !this.options.resolve.external && ye) return !1;
|
|
80799
80813
|
const ae = await this.toReference(Ct(r.$ref)), Pe = a0(ue, Ct(r.$ref));
|
|
80800
80814
|
this.indirections.push(r);
|
|
@@ -80814,7 +80828,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80814
80828
|
return N.replaceWith(Xe, I9), !p && Ie;
|
|
80815
80829
|
}
|
|
80816
80830
|
}
|
|
80817
|
-
const De =
|
|
80831
|
+
const De = In(ae.refSet.rootRef.uri) !== ae.uri, Fe = ["error", "replace"].includes(this.options.dereference.circular);
|
|
80818
80832
|
if ((ye || De || B9(Re) || Fe) && !ne.includesCycle(Re)) {
|
|
80819
80833
|
var P;
|
|
80820
80834
|
ce.add(r);
|
|
@@ -80838,7 +80852,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80838
80852
|
try {
|
|
80839
80853
|
if (!sr(r.$ref)) return;
|
|
80840
80854
|
if (this.indirections.includes(r) || q7(["cycle"], r.$ref)) return !1;
|
|
80841
|
-
const [ne, ce] = this.toAncestorLineage([...S, p]), ue = this.toBaseURI(Ct(r.$ref)), fe =
|
|
80855
|
+
const [ne, ce] = this.toAncestorLineage([...S, p]), ue = this.toBaseURI(Ct(r.$ref)), fe = In(this.reference.uri) === ue, ye = !fe;
|
|
80842
80856
|
if (!this.options.resolve.internal && fe || !this.options.resolve.external && ye) return;
|
|
80843
80857
|
const ae = await this.toReference(Ct(r.$ref)), Pe = a0(ue, Ct(r.$ref));
|
|
80844
80858
|
this.indirections.push(r);
|
|
@@ -80858,7 +80872,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80858
80872
|
return N.replaceWith(n1, I9), !p && Xe;
|
|
80859
80873
|
}
|
|
80860
80874
|
}
|
|
80861
|
-
const De =
|
|
80875
|
+
const De = In(ae.refSet.rootRef.uri) !== ae.uri, Fe = ["error", "replace"].includes(this.options.dereference.circular);
|
|
80862
80876
|
if ((ye || De || O9(Re) && sr(Re.$ref) || Fe) && !ne.includesCycle(Re)) {
|
|
80863
80877
|
var P;
|
|
80864
80878
|
ce.add(r);
|
|
@@ -80888,8 +80902,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80888
80902
|
if (this.indirections.includes(r)) return !1;
|
|
80889
80903
|
const [ne, ce] = this.toAncestorLineage([...S, p]);
|
|
80890
80904
|
let ue = await this.toReference(vl(this.reference.uri)), { uri: fe } = ue;
|
|
80891
|
-
const ye = h_(fe, r), ae =
|
|
80892
|
-
let De, Fe =
|
|
80905
|
+
const ye = h_(fe, r), ae = In(ye), Pe = new Lu({ uri: ae }), Ne = !this.options.resolve.resolvers.some(((ke) => ke.canRead(Pe))), Re = !Ne;
|
|
80906
|
+
let De, Fe = In(this.reference.uri) === ye, n1 = !Fe;
|
|
80893
80907
|
this.indirections.push(r);
|
|
80894
80908
|
try {
|
|
80895
80909
|
if (Ne || Re) {
|
|
@@ -80897,7 +80911,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80897
80911
|
const ke = ye, je = V0(ue.value.result);
|
|
80898
80912
|
if (De = wf(ke, je), De = V0(De), De.id = Qa.identify(De), !this.options.resolve.internal && Fe || !this.options.resolve.external && n1) return;
|
|
80899
80913
|
} else {
|
|
80900
|
-
if (fe = this.toBaseURI(ye), Fe =
|
|
80914
|
+
if (fe = this.toBaseURI(ye), Fe = In(this.reference.uri) === fe, n1 = !Fe, !this.options.resolve.internal && Fe || !this.options.resolve.external && n1) return;
|
|
80901
80915
|
ue = await this.toReference(vl(ye));
|
|
80902
80916
|
const ke = Ga(ye), je = V0(ue.value.result);
|
|
80903
80917
|
De = Io(je, ke), De = V0(De), De.id = Qa.identify(De);
|
|
@@ -80905,12 +80919,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80905
80919
|
} catch (ke) {
|
|
80906
80920
|
if (!(Re && ke instanceof jy)) throw ke;
|
|
80907
80921
|
if (Cf(i8(ye))) {
|
|
80908
|
-
if (Fe =
|
|
80922
|
+
if (Fe = In(this.reference.uri) === fe, n1 = !Fe, !this.options.resolve.internal && Fe || !this.options.resolve.external && n1) return;
|
|
80909
80923
|
ue = await this.toReference(vl(ye));
|
|
80910
80924
|
const je = i8(ye), Je = V0(ue.value.result);
|
|
80911
80925
|
De = Py(je, Je), De = V0(De), De.id = Qa.identify(De);
|
|
80912
80926
|
} else {
|
|
80913
|
-
if (fe = this.toBaseURI(Ct(ye)), Fe =
|
|
80927
|
+
if (fe = this.toBaseURI(Ct(ye)), Fe = In(this.reference.uri) === fe, n1 = !Fe, !this.options.resolve.internal && Fe || !this.options.resolve.external && n1) return;
|
|
80914
80928
|
ue = await this.toReference(vl(ye));
|
|
80915
80929
|
const je = Ga(ye), Je = V0(ue.value.result);
|
|
80916
80930
|
De = Io(Je, je), De = V0(De), De.id = Qa.identify(De);
|
|
@@ -80926,7 +80940,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
80926
80940
|
return N.replaceWith(je, I9), !p && je;
|
|
80927
80941
|
}
|
|
80928
80942
|
}
|
|
80929
|
-
const Xe =
|
|
80943
|
+
const Xe = In(ue.refSet.rootRef.uri) !== ue.uri, Ie = ["error", "replace"].includes(this.options.dereference.circular);
|
|
80930
80944
|
if ((n1 || Xe || Do(De) && sr(De.$ref) || Ie) && !ne.includesCycle(De)) {
|
|
80931
80945
|
var P;
|
|
80932
80946
|
ce.add(r);
|
|
@@ -82123,7 +82137,7 @@ ${Sr.current.stack}
|
|
|
82123
82137
|
const N = l(p);
|
|
82124
82138
|
return N ? v ? v === "root" ? G_(s, N, r()) : G_(s, N) : N : (S.failSilently || s().log.warn("Could not find component:", p), null);
|
|
82125
82139
|
}, Qte = (s) => s.displayName || s.name || "Component", J_ = ({ getComponents: s, getStore: r, getSystem: l }) => {
|
|
82126
|
-
const p = (v = sv(l, r, s),
|
|
82140
|
+
const p = (v = sv(l, r, s), kn(v, ((...N) => JSON.stringify(N))));
|
|
82127
82141
|
var v;
|
|
82128
82142
|
const S = ((N) => as(N, ((..._) => _)))(Jte(l, 0, p));
|
|
82129
82143
|
return { rootInjects: { getComponent: p, makeMappedContainer: S, render: Xte(l, r, sv, s) }, fn: { getDisplayName: Qte } };
|
|
@@ -82804,7 +82818,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82804
82818
|
for (let Ne in ue) ue[Ne] !== void 0 && K.push([Ne, ue[Ne]].map(encodeURIComponent).join("="));
|
|
82805
82819
|
const fe = N.get("authorizationUrl");
|
|
82806
82820
|
let ye;
|
|
82807
|
-
ye = S ?
|
|
82821
|
+
ye = S ? Tn()(ui(fe), S, !0).toString() : ui(fe);
|
|
82808
82822
|
let ae, Pe = [ye, K.join("&")].join(typeof fe != "string" || fe.includes("?") ? "&" : "?");
|
|
82809
82823
|
ae = $ === "implicit" ? r.preAuthorizeImplicit : v.useBasicAuthenticationWithAccessCodeGrant ? r.authorizeAccessCodeWithBasicAuthentication : r.authorizeAccessCodeWithFormParams, r.authPopup(Pe, { auth: s, state: ce, redirectUrl: X, callback: ae, errCb: l.newAuthErr });
|
|
82810
82824
|
}
|
|
@@ -82881,7 +82895,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
82881
82895
|
}
|
|
82882
82896
|
getDefinitionUrl = () => {
|
|
82883
82897
|
let { specSelectors: r } = this.props;
|
|
82884
|
-
return new (
|
|
82898
|
+
return new (Tn())(r.url(), I1.location).toString();
|
|
82885
82899
|
};
|
|
82886
82900
|
UNSAFE_componentWillReceiveProps(r) {
|
|
82887
82901
|
let { getConfigs: l } = r, { validatorUrl: p } = l();
|
|
@@ -85578,10 +85592,10 @@ new Remarkable().use(linkify)
|
|
|
85578
85592
|
Re = R1.TRUSTED_TYPES_POLICY, De = Re.createHTML("");
|
|
85579
85593
|
} else Re === void 0 && (Re = (function($2, Zi) {
|
|
85580
85594
|
if (typeof $2 != "object" || typeof $2.createPolicy != "function") return null;
|
|
85581
|
-
let
|
|
85595
|
+
let Pn = null;
|
|
85582
85596
|
const Yr = "data-tt-policy-suffix";
|
|
85583
|
-
Zi && Zi.hasAttribute(Yr) && (
|
|
85584
|
-
const ii = "dompurify" + (
|
|
85597
|
+
Zi && Zi.hasAttribute(Yr) && (Pn = Zi.getAttribute(Yr));
|
|
85598
|
+
const ii = "dompurify" + (Pn ? "#" + Pn : "");
|
|
85585
85599
|
try {
|
|
85586
85600
|
return $2.createPolicy(ii, { createHTML: (d0) => d0, createScriptURL: (d0) => d0 });
|
|
85587
85601
|
} catch {
|
|
@@ -85631,8 +85645,8 @@ new Remarkable().use(linkify)
|
|
|
85631
85645
|
} catch {
|
|
85632
85646
|
}
|
|
85633
85647
|
}
|
|
85634
|
-
const
|
|
85635
|
-
return R1 && $2 &&
|
|
85648
|
+
const Pn = l2.body || l2.documentElement;
|
|
85649
|
+
return R1 && $2 && Pn.insertBefore(p.createTextNode($2), Pn.childNodes[0] || null), m8 === C4 ? Ie.call(l2, xn ? "html" : "body")[0] : xn ? l2.documentElement : Pn;
|
|
85636
85650
|
}, eZ = function(R1) {
|
|
85637
85651
|
return n1.call(R1.ownerDocument || R1, R1, $.SHOW_ELEMENT | $.SHOW_COMMENT | $.SHOW_TEXT | $.SHOW_PROCESSING_INSTRUCTION | $.SHOW_CDATA_SECTION, null);
|
|
85638
85652
|
}, gx = function(R1) {
|
|
@@ -85654,20 +85668,20 @@ new Remarkable().use(linkify)
|
|
|
85654
85668
|
if (!Cr[$2] && iZ($2) && (ar.tagNameCheck instanceof RegExp && K0(ar.tagNameCheck, $2) || ar.tagNameCheck instanceof Function && ar.tagNameCheck($2)))
|
|
85655
85669
|
return !1;
|
|
85656
85670
|
if (w5 && !Nl[$2]) {
|
|
85657
|
-
const Zi = Ne(R1) || R1.parentNode,
|
|
85658
|
-
if (
|
|
85659
|
-
for (let Yr =
|
|
85660
|
-
const ii = fe(
|
|
85671
|
+
const Zi = Ne(R1) || R1.parentNode, Pn = Pe(R1) || R1.childNodes;
|
|
85672
|
+
if (Pn && Zi)
|
|
85673
|
+
for (let Yr = Pn.length - 1; Yr >= 0; --Yr) {
|
|
85674
|
+
const ii = fe(Pn[Yr], !0);
|
|
85661
85675
|
ii.__removalCount = (R1.__removalCount || 0) + 1, Zi.insertBefore(ii, ae(R1));
|
|
85662
85676
|
}
|
|
85663
85677
|
}
|
|
85664
85678
|
return zl(R1), !0;
|
|
85665
85679
|
}
|
|
85666
|
-
return R1 instanceof P && !(function(
|
|
85667
|
-
let Yr = Ne(
|
|
85680
|
+
return R1 instanceof P && !(function(Pn) {
|
|
85681
|
+
let Yr = Ne(Pn);
|
|
85668
85682
|
Yr && Yr.tagName || (Yr = { namespaceURI: m8, tagName: "template" });
|
|
85669
|
-
const ii = Rf(
|
|
85670
|
-
return !!dx[
|
|
85683
|
+
const ii = Rf(Pn.tagName), d0 = Rf(Yr.tagName);
|
|
85684
|
+
return !!dx[Pn.namespaceURI] && (Pn.namespaceURI === Xf ? Yr.namespaceURI === C4 ? ii === "svg" : Yr.namespaceURI === Jf ? ii === "svg" && (d0 === "annotation-xml" || Qf[d0]) : !!Jz[ii] : Pn.namespaceURI === Jf ? Yr.namespaceURI === C4 ? ii === "math" : Yr.namespaceURI === Xf ? ii === "math" && eg[d0] : !!Xz[ii] : Pn.namespaceURI === C4 ? !(Yr.namespaceURI === Xf && !eg[d0]) && !(Yr.namespaceURI === Jf && !Qf[d0]) && !Xz[ii] && (Koe[ii] || !Jz[ii]) : !(Uu !== "application/xhtml+xml" || !dx[Pn.namespaceURI]));
|
|
85671
85685
|
})(R1) ? (zl(R1), !0) : $2 !== "noscript" && $2 !== "noembed" && $2 !== "noframes" || !K0(/<\/no(script|embed|frames)/i, R1.innerHTML) ? (vn && R1.nodeType === Fie && (l2 = R1.textContent, Af([Je, c1, A1], ((Zi) => {
|
|
85672
85686
|
l2 = ku(l2, Zi, " ");
|
|
85673
85687
|
})), R1.textContent !== l2 && (Ru(l.removed, { element: R1.cloneNode() }), R1.textContent = l2)), w4(je.afterSanitizeElements, R1, null), !1) : (zl(R1), !0);
|
|
@@ -85696,7 +85710,7 @@ new Remarkable().use(linkify)
|
|
|
85696
85710
|
const $2 = { attrName: "", attrValue: "", keepAttr: !0, allowedAttributes: Kt, forceKeepAttr: void 0 };
|
|
85697
85711
|
let Zi = l2.length;
|
|
85698
85712
|
for (; Zi--; ) {
|
|
85699
|
-
const
|
|
85713
|
+
const Pn = l2[Zi], { name: Yr, namespaceURI: ii, value: d0 } = Pn, qu = Is(Yr), mx = d0;
|
|
85700
85714
|
let M0 = Yr === "value" ? mx : Mie(mx);
|
|
85701
85715
|
if ($2.attrName = qu, $2.attrValue = M0, $2.keepAttr = !0, $2.forceKeepAttr = void 0, w4(je.uponSanitizeAttribute, R1, $2), M0 = $2.attrValue, !Ko || qu !== "id" && qu !== "name" || (w8(Yr, R1), M0 = "user-content-" + M0), kr && K0(/((--!?|])>)|<\/(style|title)/i, M0)) {
|
|
85702
85716
|
w8(Yr, R1);
|
|
@@ -85738,7 +85752,7 @@ new Remarkable().use(linkify)
|
|
|
85738
85752
|
w4(je.afterSanitizeShadowDOM, R1, null);
|
|
85739
85753
|
};
|
|
85740
85754
|
return l.sanitize = function(K2) {
|
|
85741
|
-
let R1 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l2 = null, $2 = null, Zi = null,
|
|
85755
|
+
let R1 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l2 = null, $2 = null, Zi = null, Pn = null;
|
|
85742
85756
|
if (px = !K2, px && (K2 = "<!-->"), typeof K2 != "string" && !tZ(K2)) {
|
|
85743
85757
|
if (typeof K2.toString != "function") throw Tu("toString is not a function");
|
|
85744
85758
|
if (typeof (K2 = K2.toString()) != "string") throw Tu("dirty is not a string, aborting");
|
|
@@ -85759,9 +85773,9 @@ new Remarkable().use(linkify)
|
|
|
85759
85773
|
for (; Zi = Yr.nextNode(); ) rZ(Zi), sZ(Zi), Zi.content instanceof N && Joe(Zi.content);
|
|
85760
85774
|
if (so) return K2;
|
|
85761
85775
|
if ($i) {
|
|
85762
|
-
if (zi) for (
|
|
85763
|
-
else
|
|
85764
|
-
return (Kt.shadowroot || Kt.shadowrootmode) && (
|
|
85776
|
+
if (zi) for (Pn = Xe.call(l2.ownerDocument); l2.firstChild; ) Pn.appendChild(l2.firstChild);
|
|
85777
|
+
else Pn = l2;
|
|
85778
|
+
return (Kt.shadowroot || Kt.shadowrootmode) && (Pn = ke.call(v, Pn, !0)), Pn;
|
|
85765
85779
|
}
|
|
85766
85780
|
let ii = xn ? l2.outerHTML : l2.innerHTML;
|
|
85767
85781
|
return xn && u2["!doctype"] && l2.ownerDocument && l2.ownerDocument.doctype && l2.ownerDocument.doctype.name && K0(gN, l2.ownerDocument.doctype.name) && (ii = "<!DOCTYPE " + l2.ownerDocument.doctype.name + `>
|
|
@@ -86496,7 +86510,7 @@ new Remarkable().use(linkify)
|
|
|
86496
86510
|
}, Ut = (s) => {
|
|
86497
86511
|
const { components: r } = (0, V.useContext)(W9);
|
|
86498
86512
|
return r[s] || null;
|
|
86499
|
-
},
|
|
86513
|
+
}, Dn = (s = void 0) => {
|
|
86500
86514
|
const { fn: r } = (0, V.useContext)(W9);
|
|
86501
86515
|
return s !== void 0 ? r[s] : r;
|
|
86502
86516
|
}, bN = () => {
|
|
@@ -86536,7 +86550,7 @@ new Remarkable().use(linkify)
|
|
|
86536
86550
|
return /* @__PURE__ */ new Set([...r, s]);
|
|
86537
86551
|
}, Lae = (0, V.forwardRef)((({ schema: s, name: r = "", dependentRequired: l = [], onExpand: p = () => {
|
|
86538
86552
|
}, identifier: v = "" }, S) => {
|
|
86539
|
-
const N =
|
|
86553
|
+
const N = Dn(), _ = v || s?.$id || r, { path: k } = Y0(_), { isExpanded: P, setExpanded: $, setCollapsed: K } = qo(_), [X, ne] = no(), ce = (() => {
|
|
86540
86554
|
const [Ls] = no();
|
|
86541
86555
|
return Ls > 0;
|
|
86542
86556
|
})(), ue = N.isExpandable(s) || l.length > 0, fe = ((Ls) => HN().has(Ls))(s), ye = HN(s), ae = N.stringifyConstraints(s), Pe = Ut("Accordion"), Ne = Ut("Keyword$schema"), Re = Ut("Keyword$vocabulary"), De = Ut("Keyword$id"), Fe = Ut("Keyword$anchor"), n1 = Ut("Keyword$dynamicAnchor"), Xe = Ut("Keyword$ref"), Ie = Ut("Keyword$dynamicRef"), ke = Ut("Keyword$defs"), je = Ut("Keyword$comment"), Je = Ut("KeywordAllOf"), c1 = Ut("KeywordAnyOf"), A1 = Ut("KeywordOneOf"), bt = Ut("KeywordNot"), kt = Ut("KeywordIf"), h2 = Ut("KeywordThen"), L2 = Ut("KeywordElse"), S2 = Ut("KeywordDependentSchemas"), V2 = Ut("KeywordPrefixItems"), u2 = Ut("KeywordItems"), nt = Ut("KeywordContains"), Kt = Ut("KeywordProperties"), Sr = Ut("KeywordPatternProperties"), ar = Ut("KeywordAdditionalProperties"), Cr = Ut("KeywordPropertyNames"), dr = Ut("KeywordUnevaluatedItems"), Mn = Ut("KeywordUnevaluatedProperties"), mr = Ut("KeywordType"), Nr = Ut("KeywordEnum"), on = Ut("KeywordConst"), vn = Ut("KeywordConstraint"), kr = Ut("KeywordDependentRequired"), xn = Ut("KeywordContentSchema"), ji = Ut("KeywordTitle"), ln = Ut("KeywordDescription"), $i = Ut("KeywordDefault"), zi = Ut("KeywordDeprecated"), Xi = Ut("KeywordReadOnly"), J0 = Ut("KeywordWriteOnly"), Ko = Ut("KeywordExamples"), w5 = Ut("ExtensionKeywords"), so = Ut("ExpandDeepButton"), Go = (0, V.useCallback)(((Ls, Yo) => {
|
|
@@ -86558,43 +86572,43 @@ new Remarkable().use(linkify)
|
|
|
86558
86572
|
}), [S, N]);
|
|
86559
86573
|
return Object.keys(r).length === 0 ? null : V.createElement(oa.Provider, { value: p }, V.createElement(ro.Provider, { value: k }, V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--$defs", "data-json-schema-level": _ }, V.createElement(P, { expanded: v, onChange: X }, V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary" }, "$defs")), V.createElement($, { expanded: v, onClick: ne }), V.createElement("strong", { className: "json-schema-2020-12__attribute json-schema-2020-12__attribute--primary" }, "object"), V.createElement("ul", { className: Ar()("json-schema-2020-12-keyword__children", { "json-schema-2020-12-keyword__children--collapsed": !v }) }, v && V.createElement(V.Fragment, null, Object.entries(r).map((([ce, ue]) => V.createElement("li", { key: ce, className: "json-schema-2020-12-property" }, V.createElement(K, { name: ce, schema: ue })))))))));
|
|
86560
86574
|
}, kN = ({ schema: s }) => s?.$comment ? V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--$comment" }, V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary" }, "$comment"), V.createElement("span", { className: "json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary" }, s.$comment)) : null, TN = ({ schema: s }) => {
|
|
86561
|
-
const r = s?.allOf || [], l =
|
|
86575
|
+
const r = s?.allOf || [], l = Dn(), p = "allOf", { path: v } = Y0(p), { isExpanded: S, setExpanded: N, setCollapsed: _ } = qo(p), [k, P] = no(), $ = Ut("Accordion"), K = Ut("ExpandDeepButton"), X = Ut("JSONSchema"), ne = Ut("KeywordType"), ce = (0, V.useCallback)((() => {
|
|
86562
86576
|
S ? _() : N();
|
|
86563
86577
|
}), [S, N, _]), ue = (0, V.useCallback)(((fe, ye) => {
|
|
86564
86578
|
ye ? N({ deep: !0 }) : _({ deep: !0 });
|
|
86565
86579
|
}), [N, _]);
|
|
86566
86580
|
return Array.isArray(r) && r.length !== 0 ? V.createElement(oa.Provider, { value: v }, V.createElement(ro.Provider, { value: P }, V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--allOf", "data-json-schema-level": k }, V.createElement($, { expanded: S, onChange: ce }, V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "All of")), V.createElement(K, { expanded: S, onClick: ue }), V.createElement(ne, { schema: { allOf: r } }), V.createElement("ul", { className: Ar()("json-schema-2020-12-keyword__children", { "json-schema-2020-12-keyword__children--collapsed": !S }) }, S && V.createElement(V.Fragment, null, r.map(((fe, ye) => V.createElement("li", { key: `#${ye}`, className: "json-schema-2020-12-property" }, V.createElement(X, { name: `#${ye} ${l.getTitle(fe)}`, schema: fe }))))))))) : null;
|
|
86567
86581
|
}, ON = ({ schema: s }) => {
|
|
86568
|
-
const r = s?.anyOf || [], l =
|
|
86582
|
+
const r = s?.anyOf || [], l = Dn(), p = "anyOf", { path: v } = Y0(p), { isExpanded: S, setExpanded: N, setCollapsed: _ } = qo(p), [k, P] = no(), $ = Ut("Accordion"), K = Ut("ExpandDeepButton"), X = Ut("JSONSchema"), ne = Ut("KeywordType"), ce = (0, V.useCallback)((() => {
|
|
86569
86583
|
S ? _() : N();
|
|
86570
86584
|
}), [S, N, _]), ue = (0, V.useCallback)(((fe, ye) => {
|
|
86571
86585
|
ye ? N({ deep: !0 }) : _({ deep: !0 });
|
|
86572
86586
|
}), [N, _]);
|
|
86573
86587
|
return Array.isArray(r) && r.length !== 0 ? V.createElement(oa.Provider, { value: v }, V.createElement(ro.Provider, { value: P }, V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--anyOf", "data-json-schema-level": k }, V.createElement($, { expanded: S, onChange: ce }, V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Any of")), V.createElement(K, { expanded: S, onClick: ue }), V.createElement(ne, { schema: { anyOf: r } }), V.createElement("ul", { className: Ar()("json-schema-2020-12-keyword__children", { "json-schema-2020-12-keyword__children--collapsed": !S }) }, S && V.createElement(V.Fragment, null, r.map(((fe, ye) => V.createElement("li", { key: `#${ye}`, className: "json-schema-2020-12-property" }, V.createElement(X, { name: `#${ye} ${l.getTitle(fe)}`, schema: fe }))))))))) : null;
|
|
86574
86588
|
}, BN = ({ schema: s }) => {
|
|
86575
|
-
const r = s?.oneOf || [], l =
|
|
86589
|
+
const r = s?.oneOf || [], l = Dn(), p = "oneOf", { path: v } = Y0(p), { isExpanded: S, setExpanded: N, setCollapsed: _ } = qo(p), [k, P] = no(), $ = Ut("Accordion"), K = Ut("ExpandDeepButton"), X = Ut("JSONSchema"), ne = Ut("KeywordType"), ce = (0, V.useCallback)((() => {
|
|
86576
86590
|
S ? _() : N();
|
|
86577
86591
|
}), [S, N, _]), ue = (0, V.useCallback)(((fe, ye) => {
|
|
86578
86592
|
ye ? N({ deep: !0 }) : _({ deep: !0 });
|
|
86579
86593
|
}), [N, _]);
|
|
86580
86594
|
return Array.isArray(r) && r.length !== 0 ? V.createElement(oa.Provider, { value: v }, V.createElement(ro.Provider, { value: P }, V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--oneOf", "data-json-schema-level": k }, V.createElement($, { expanded: S, onChange: ce }, V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "One of")), V.createElement(K, { expanded: S, onClick: ue }), V.createElement(ne, { schema: { oneOf: r } }), V.createElement("ul", { className: Ar()("json-schema-2020-12-keyword__children", { "json-schema-2020-12-keyword__children--collapsed": !S }) }, S && V.createElement(V.Fragment, null, r.map(((fe, ye) => V.createElement("li", { key: `#${ye}`, className: "json-schema-2020-12-property" }, V.createElement(X, { name: `#${ye} ${l.getTitle(fe)}`, schema: fe }))))))))) : null;
|
|
86581
86595
|
}, IN = ({ schema: s }) => {
|
|
86582
|
-
const r =
|
|
86596
|
+
const r = Dn(), l = Ut("JSONSchema");
|
|
86583
86597
|
if (!r.hasKeyword(s, "not")) return null;
|
|
86584
86598
|
const p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Not");
|
|
86585
86599
|
return V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--not" }, V.createElement(l, { name: p, schema: s.not, identifier: "not" }));
|
|
86586
86600
|
}, FN = ({ schema: s }) => {
|
|
86587
|
-
const r =
|
|
86601
|
+
const r = Dn(), l = Ut("JSONSchema");
|
|
86588
86602
|
if (!r.hasKeyword(s, "if")) return null;
|
|
86589
86603
|
const p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "If");
|
|
86590
86604
|
return V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--if" }, V.createElement(l, { name: p, schema: s.if, identifier: "if" }));
|
|
86591
86605
|
}, DN = ({ schema: s }) => {
|
|
86592
|
-
const r =
|
|
86606
|
+
const r = Dn(), l = Ut("JSONSchema");
|
|
86593
86607
|
if (!r.hasKeyword(s, "then")) return null;
|
|
86594
86608
|
const p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Then");
|
|
86595
86609
|
return V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--then" }, V.createElement(l, { name: p, schema: s.then, identifier: "then" }));
|
|
86596
86610
|
}, PN = ({ schema: s }) => {
|
|
86597
|
-
const r =
|
|
86611
|
+
const r = Dn(), l = Ut("JSONSchema");
|
|
86598
86612
|
if (!r.hasKeyword(s, "else")) return null;
|
|
86599
86613
|
const p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Else");
|
|
86600
86614
|
return V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--if" }, V.createElement(l, { name: p, schema: s.else, identifier: "else" }));
|
|
@@ -86606,24 +86620,24 @@ new Remarkable().use(linkify)
|
|
|
86606
86620
|
}), [S, N]);
|
|
86607
86621
|
return typeof r != "object" || Object.keys(r).length === 0 ? null : V.createElement(oa.Provider, { value: p }, V.createElement(ro.Provider, { value: k }, V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentSchemas", "data-json-schema-level": _ }, V.createElement(P, { expanded: v, onChange: X }, V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Dependent schemas")), V.createElement($, { expanded: v, onClick: ne }), V.createElement("strong", { className: "json-schema-2020-12__attribute json-schema-2020-12__attribute--primary" }, "object"), V.createElement("ul", { className: Ar()("json-schema-2020-12-keyword__children", { "json-schema-2020-12-keyword__children--collapsed": !v }) }, v && V.createElement(V.Fragment, null, Object.entries(r).map((([ce, ue]) => V.createElement("li", { key: ce, className: "json-schema-2020-12-property" }, V.createElement(K, { name: ce, schema: ue })))))))));
|
|
86608
86622
|
}, $N = ({ schema: s }) => {
|
|
86609
|
-
const r = s?.prefixItems || [], l =
|
|
86623
|
+
const r = s?.prefixItems || [], l = Dn(), p = "prefixItems", { path: v } = Y0(p), { isExpanded: S, setExpanded: N, setCollapsed: _ } = qo(p), [k, P] = no(), $ = Ut("Accordion"), K = Ut("ExpandDeepButton"), X = Ut("JSONSchema"), ne = Ut("KeywordType"), ce = (0, V.useCallback)((() => {
|
|
86610
86624
|
S ? _() : N();
|
|
86611
86625
|
}), [S, N, _]), ue = (0, V.useCallback)(((fe, ye) => {
|
|
86612
86626
|
ye ? N({ deep: !0 }) : _({ deep: !0 });
|
|
86613
86627
|
}), [N, _]);
|
|
86614
86628
|
return Array.isArray(r) && r.length !== 0 ? V.createElement(oa.Provider, { value: v }, V.createElement(ro.Provider, { value: P }, V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--prefixItems", "data-json-schema-level": k }, V.createElement($, { expanded: S, onChange: ce }, V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Prefix items")), V.createElement(K, { expanded: S, onClick: ue }), V.createElement(ne, { schema: { prefixItems: r } }), V.createElement("ul", { className: Ar()("json-schema-2020-12-keyword__children", { "json-schema-2020-12-keyword__children--collapsed": !S }) }, S && V.createElement(V.Fragment, null, r.map(((fe, ye) => V.createElement("li", { key: `#${ye}`, className: "json-schema-2020-12-property" }, V.createElement(X, { name: `#${ye} ${l.getTitle(fe)}`, schema: fe }))))))))) : null;
|
|
86615
86629
|
}, UN = ({ schema: s }) => {
|
|
86616
|
-
const r =
|
|
86630
|
+
const r = Dn(), l = Ut("JSONSchema");
|
|
86617
86631
|
if (!r.hasKeyword(s, "items")) return null;
|
|
86618
86632
|
const p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Items");
|
|
86619
86633
|
return V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--items" }, V.createElement(l, { name: p, schema: s.items, identifier: "items" }));
|
|
86620
86634
|
}, qN = ({ schema: s }) => {
|
|
86621
|
-
const r =
|
|
86635
|
+
const r = Dn(), l = Ut("JSONSchema");
|
|
86622
86636
|
if (!r.hasKeyword(s, "contains")) return null;
|
|
86623
86637
|
const p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Contains");
|
|
86624
86638
|
return V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--contains" }, V.createElement(l, { name: p, schema: s.contains, identifier: "contains" }));
|
|
86625
86639
|
}, WN = ({ schema: s }) => {
|
|
86626
|
-
const r =
|
|
86640
|
+
const r = Dn(), l = s?.properties || {}, p = Array.isArray(s?.required) ? s.required : [], v = Ut("JSONSchema"), { path: S } = Y0("properties");
|
|
86627
86641
|
return Object.keys(l).length === 0 ? null : V.createElement(oa.Provider, { value: S }, V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--properties" }, V.createElement("ul", null, Object.entries(l).map((([N, _]) => {
|
|
86628
86642
|
const k = p.includes(N), P = r.getDependentRequired(N, s);
|
|
86629
86643
|
return V.createElement("li", { key: N, className: Ar()("json-schema-2020-12-property", { "json-schema-2020-12-property--required": k }) }, V.createElement(v, { name: N, schema: _, dependentRequired: P }));
|
|
@@ -86632,31 +86646,31 @@ new Remarkable().use(linkify)
|
|
|
86632
86646
|
const r = s?.patternProperties || {}, l = Ut("JSONSchema"), { path: p } = Y0("patternProperties");
|
|
86633
86647
|
return Object.keys(r).length === 0 ? null : V.createElement(oa.Provider, { value: p }, V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--patternProperties" }, V.createElement("ul", null, Object.entries(r).map((([v, S]) => V.createElement("li", { key: v, className: "json-schema-2020-12-property" }, V.createElement(l, { name: v, schema: S })))))));
|
|
86634
86648
|
}, GN = ({ schema: s }) => {
|
|
86635
|
-
const r =
|
|
86649
|
+
const r = Dn(), l = Ut("JSONSchema");
|
|
86636
86650
|
if (!r.hasKeyword(s, "additionalProperties")) return null;
|
|
86637
86651
|
const p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Additional properties");
|
|
86638
86652
|
return V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--additionalProperties" }, s.additionalProperties === !0 ? V.createElement(V.Fragment, null, p, V.createElement("span", { className: "json-schema-2020-12__attribute json-schema-2020-12__attribute--primary" }, "allowed")) : s.additionalProperties === !1 ? V.createElement(V.Fragment, null, p, V.createElement("span", { className: "json-schema-2020-12__attribute json-schema-2020-12__attribute--primary" }, "forbidden")) : V.createElement(l, { name: p, schema: s.additionalProperties, identifier: "additionalProperties" }));
|
|
86639
86653
|
}, YN = ({ schema: s }) => {
|
|
86640
|
-
const r =
|
|
86654
|
+
const r = Dn(), l = Ut("JSONSchema"), p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Property names");
|
|
86641
86655
|
return r.hasKeyword(s, "propertyNames") ? V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--propertyNames" }, V.createElement(l, { name: p, schema: s.propertyNames, identifier: "propertyNames" })) : null;
|
|
86642
86656
|
}, JN = ({ schema: s }) => {
|
|
86643
|
-
const r =
|
|
86657
|
+
const r = Dn(), l = Ut("JSONSchema");
|
|
86644
86658
|
if (!r.hasKeyword(s, "unevaluatedItems")) return null;
|
|
86645
86659
|
const p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Unevaluated items");
|
|
86646
86660
|
return V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedItems" }, V.createElement(l, { name: p, schema: s.unevaluatedItems, identifier: "unevaluatedItems" }));
|
|
86647
86661
|
}, XN = ({ schema: s }) => {
|
|
86648
|
-
const r =
|
|
86662
|
+
const r = Dn(), l = Ut("JSONSchema");
|
|
86649
86663
|
if (!r.hasKeyword(s, "unevaluatedProperties")) return null;
|
|
86650
86664
|
const p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Unevaluated properties");
|
|
86651
86665
|
return V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedProperties" }, V.createElement(l, { name: p, schema: s.unevaluatedProperties, identifier: "unevaluatedProperties" }));
|
|
86652
86666
|
}, QN = ({ schema: s, isCircular: r = !1 }) => {
|
|
86653
|
-
const l =
|
|
86667
|
+
const l = Dn().getType(s), p = r ? " [circular]" : "";
|
|
86654
86668
|
return V.createElement("strong", { className: "json-schema-2020-12__attribute json-schema-2020-12__attribute--primary" }, `${l}${p}`);
|
|
86655
86669
|
}, ez = ({ schema: s }) => {
|
|
86656
86670
|
const r = Ut("JSONViewer");
|
|
86657
86671
|
return Array.isArray(s?.enum) ? V.createElement(r, { name: "Enum", value: s.enum, className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--enum" }) : null;
|
|
86658
86672
|
}, tz = ({ schema: s }) => {
|
|
86659
|
-
const r =
|
|
86673
|
+
const r = Dn(), l = Ut("JSONViewer");
|
|
86660
86674
|
return r.hasKeyword(s, "const") ? V.createElement(l, { name: "Const", value: s.const, className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--const" }) : null;
|
|
86661
86675
|
}, rz = (s) => typeof s == "string" ? `${s.charAt(0).toUpperCase()}${s.slice(1)}` : s, nz = (s) => (r, { lookup: l = "extended" } = {}) => {
|
|
86662
86676
|
const p = s();
|
|
@@ -86741,28 +86755,28 @@ new Remarkable().use(linkify)
|
|
|
86741
86755
|
const p = (S) => r === S || Array.isArray(r) && r.includes(S), v = l ? s.get("type") : s.type;
|
|
86742
86756
|
return de.List.isList(v) || Array.isArray(v) ? v.some(((S) => p(S))) : p(v);
|
|
86743
86757
|
}, Vae = ({ constraint: s }) => If(s) && typeof s.scope == "string" && typeof s.value == "string" ? V.createElement("span", { className: `json-schema-2020-12__constraint json-schema-2020-12__constraint--${s.scope}` }, s.value) : null, hz = V.memo(Vae), pz = ({ dependentRequired: s }) => Array.isArray(s) && s.length !== 0 ? V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentRequired" }, V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Required when defined"), V.createElement("ul", null, s.map(((r) => V.createElement("li", { key: r }, V.createElement("span", { className: "json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--warning" }, r)))))) : null, dz = ({ schema: s }) => {
|
|
86744
|
-
const r =
|
|
86758
|
+
const r = Dn(), l = Ut("JSONSchema");
|
|
86745
86759
|
if (!r.hasKeyword(s, "contentSchema")) return null;
|
|
86746
86760
|
const p = V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary" }, "Content schema");
|
|
86747
86761
|
return V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--contentSchema" }, V.createElement(l, { name: p, schema: s.contentSchema, identifier: "contentSchema" }));
|
|
86748
86762
|
}, fz = ({ title: s = "", schema: r }) => {
|
|
86749
|
-
const l =
|
|
86763
|
+
const l = Dn(), p = s || l.getTitle(r);
|
|
86750
86764
|
return p ? V.createElement("div", { className: "json-schema-2020-12__title" }, p) : null;
|
|
86751
86765
|
}, gz = ({ schema: s }) => s?.description ? V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--description" }, V.createElement("div", { className: "json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary" }, s.description)) : null, mz = ({ schema: s }) => {
|
|
86752
|
-
const r =
|
|
86766
|
+
const r = Dn(), l = Ut("JSONViewer");
|
|
86753
86767
|
return r.hasKeyword(s, "default") ? V.createElement(l, { name: "Default", value: s.default, className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--default" }) : null;
|
|
86754
86768
|
}, Cz = ({ schema: s }) => s?.deprecated !== !0 ? null : V.createElement("span", { className: "json-schema-2020-12__attribute json-schema-2020-12__attribute--warning" }, "deprecated"), wz = ({ schema: s }) => s?.readOnly !== !0 ? null : V.createElement("span", { className: "json-schema-2020-12__attribute json-schema-2020-12__attribute--muted" }, "read-only"), yz = ({ schema: s }) => s?.writeOnly !== !0 ? null : V.createElement("span", { className: "json-schema-2020-12__attribute json-schema-2020-12__attribute--muted" }, "write-only"), vz = ({ schema: s }) => {
|
|
86755
86769
|
const r = s?.examples || [], l = Ut("JSONViewer");
|
|
86756
86770
|
return Array.isArray(r) && r.length !== 0 ? V.createElement(l, { name: "Examples", value: s.examples, className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--examples" }) : null;
|
|
86757
86771
|
}, xz = ({ schema: s }) => {
|
|
86758
|
-
const r =
|
|
86772
|
+
const r = Dn(), l = "ExtensionKeywords", { path: p } = Y0(l), { isExpanded: v, setExpanded: S, setCollapsed: N } = qo(l), [_, k] = no(), P = Ut("Accordion"), $ = Ut("ExpandDeepButton"), K = Ut("JSONViewer"), { showExtensionKeywords: X } = rx(), ne = r.getExtensionKeywords(s), ce = (0, V.useCallback)((() => {
|
|
86759
86773
|
v ? N() : S();
|
|
86760
86774
|
}), [v, S, N]), ue = (0, V.useCallback)(((fe, ye) => {
|
|
86761
86775
|
ye ? S({ deep: !0 }) : N({ deep: !0 });
|
|
86762
86776
|
}), [S, N]);
|
|
86763
86777
|
return X && ne.length !== 0 ? V.createElement(oa.Provider, { value: p }, V.createElement(ro.Provider, { value: k }, V.createElement("div", { className: "json-schema-2020-12-keyword json-schema-2020-12-keyword--extension-keywords", "data-json-schema-level": _ }, V.createElement(P, { expanded: v, onChange: ce }, V.createElement("span", { className: "json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--extension" }, "Extension Keywords")), V.createElement($, { expanded: v, onClick: ue }), V.createElement("ul", { className: Ar()("json-schema-2020-12-keyword__children", { "json-schema-2020-12-keyword__children--collapsed": !v }) }, v && V.createElement(V.Fragment, null, ne.map(((fe) => V.createElement(K, { key: fe, name: fe, value: s[fe], className: "json-schema-2020-12-json-viewer-extension-keyword" })))))))) : null;
|
|
86764
86778
|
}, nx = ({ name: s, value: r, className: l }) => {
|
|
86765
|
-
const p =
|
|
86779
|
+
const p = Dn(), { path: v } = Y0(s), { isExpanded: S, setExpanded: N, setCollapsed: _ } = qo(s), [k, P] = no(), $ = Ut("Accordion"), K = Ut("ExpandDeepButton"), X = typeof r == "string" || typeof r == "number" || typeof r == "bigint" || typeof r == "boolean" || typeof r == "symbol" || r == null, ne = ((fe) => If(fe) && Object.keys(fe).length === 0)(r) || ((fe) => Array.isArray(fe) && fe.length === 0)(r), ce = (0, V.useCallback)((() => {
|
|
86766
86780
|
S ? _() : N();
|
|
86767
86781
|
}), [S, N, _]), ue = (0, V.useCallback)(((fe, ye) => {
|
|
86768
86782
|
ye ? N({ deep: !0 }) : _({ deep: !0 });
|
|
@@ -86779,14 +86793,14 @@ new Remarkable().use(linkify)
|
|
|
86779
86793
|
}), [s, r]);
|
|
86780
86794
|
return V.createElement("button", { type: "button", className: "json-schema-2020-12-expand-deep-button", onClick: l }, s ? "Collapse all" : "Expand all");
|
|
86781
86795
|
}, Hz = () => V.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24" }, V.createElement("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" })), Vz = (s, r = {}) => {
|
|
86782
|
-
const l = { components: { JSONSchema: VN, Keyword$schema: MN, Keyword$vocabulary: _N, Keyword$id: EN, Keyword$anchor: NN, Keyword$dynamicAnchor: zN, Keyword$ref: ZN, Keyword$dynamicRef: AN, Keyword$defs: RN, Keyword$comment: kN, KeywordAllOf: TN, KeywordAnyOf: ON, KeywordOneOf: BN, KeywordNot: IN, KeywordIf: FN, KeywordThen: DN, KeywordElse: PN, KeywordDependentSchemas: jN, KeywordPrefixItems: $N, KeywordItems: UN, KeywordContains: qN, KeywordProperties: WN, KeywordPatternProperties: KN, KeywordAdditionalProperties: GN, KeywordPropertyNames: YN, KeywordUnevaluatedItems: JN, KeywordUnevaluatedProperties: XN, KeywordType: QN, KeywordEnum: ez, KeywordConst: tz, KeywordConstraint: hz, KeywordDependentRequired: pz, KeywordContentSchema: dz, KeywordTitle: fz, KeywordDescription: gz, KeywordDefault: mz, KeywordDeprecated: Cz, KeywordReadOnly: wz, KeywordWriteOnly: yz, KeywordExamples: vz, ExtensionKeywords: xz, JSONViewer: Lz, Accordion: Sz, ExpandDeepButton: bz, ChevronRightIcon: Hz, ...r.components }, config: { default$schema: "https://json-schema.org/draft/2020-12/schema", defaultExpandedLevels: 0, showExtensionKeywords: !0, ...r.config }, fn: { upperFirst: rz, getTitle: nz(
|
|
86796
|
+
const l = { components: { JSONSchema: VN, Keyword$schema: MN, Keyword$vocabulary: _N, Keyword$id: EN, Keyword$anchor: NN, Keyword$dynamicAnchor: zN, Keyword$ref: ZN, Keyword$dynamicRef: AN, Keyword$defs: RN, Keyword$comment: kN, KeywordAllOf: TN, KeywordAnyOf: ON, KeywordOneOf: BN, KeywordNot: IN, KeywordIf: FN, KeywordThen: DN, KeywordElse: PN, KeywordDependentSchemas: jN, KeywordPrefixItems: $N, KeywordItems: UN, KeywordContains: qN, KeywordProperties: WN, KeywordPatternProperties: KN, KeywordAdditionalProperties: GN, KeywordPropertyNames: YN, KeywordUnevaluatedItems: JN, KeywordUnevaluatedProperties: XN, KeywordType: QN, KeywordEnum: ez, KeywordConst: tz, KeywordConstraint: hz, KeywordDependentRequired: pz, KeywordContentSchema: dz, KeywordTitle: fz, KeywordDescription: gz, KeywordDefault: mz, KeywordDeprecated: Cz, KeywordReadOnly: wz, KeywordWriteOnly: yz, KeywordExamples: vz, ExtensionKeywords: xz, JSONViewer: Lz, Accordion: Sz, ExpandDeepButton: bz, ChevronRightIcon: Hz, ...r.components }, config: { default$schema: "https://json-schema.org/draft/2020-12/schema", defaultExpandedLevels: 0, showExtensionKeywords: !0, ...r.config }, fn: { upperFirst: rz, getTitle: nz(Dn), getType: iz(Dn), isBooleanJSONSchema: sz, hasKeyword: az, isExpandable: oz(Dn), stringify: lz, stringifyConstraints: Sae, getDependentRequired: bae, getSchemaKeywords: cz, getExtensionKeywords: uz(Dn), ...r.fn }, state: { paths: {} } }, p = (v) => V.createElement(W9.Provider, { value: l }, V.createElement(s, v));
|
|
86783
86797
|
return p.contexts = { JSONSchemaContext: W9 }, p.displayName = s.displayName, p;
|
|
86784
86798
|
}, Mae = ({ getSystem: s }) => (r, l = {}) => {
|
|
86785
86799
|
const { getComponent: p, getConfigs: v } = s(), S = v(), N = p("JSONSchema202012"), _ = p("JSONSchema202012Keyword$schema"), k = p("JSONSchema202012Keyword$vocabulary"), P = p("JSONSchema202012Keyword$id"), $ = p("JSONSchema202012Keyword$anchor"), K = p("JSONSchema202012Keyword$dynamicAnchor"), X = p("JSONSchema202012Keyword$ref"), ne = p("JSONSchema202012Keyword$dynamicRef"), ce = p("JSONSchema202012Keyword$defs"), ue = p("JSONSchema202012Keyword$comment"), fe = p("JSONSchema202012KeywordAllOf"), ye = p("JSONSchema202012KeywordAnyOf"), ae = p("JSONSchema202012KeywordOneOf"), Pe = p("JSONSchema202012KeywordNot"), Ne = p("JSONSchema202012KeywordIf"), Re = p("JSONSchema202012KeywordThen"), De = p("JSONSchema202012KeywordElse"), Fe = p("JSONSchema202012KeywordDependentSchemas"), n1 = p("JSONSchema202012KeywordPrefixItems"), Xe = p("JSONSchema202012KeywordItems"), Ie = p("JSONSchema202012KeywordContains"), ke = p("JSONSchema202012KeywordProperties"), je = p("JSONSchema202012KeywordPatternProperties"), Je = p("JSONSchema202012KeywordAdditionalProperties"), c1 = p("JSONSchema202012KeywordPropertyNames"), A1 = p("JSONSchema202012KeywordUnevaluatedItems"), bt = p("JSONSchema202012KeywordUnevaluatedProperties"), kt = p("JSONSchema202012KeywordType"), h2 = p("JSONSchema202012KeywordEnum"), L2 = p("JSONSchema202012KeywordConst"), S2 = p("JSONSchema202012KeywordConstraint"), V2 = p("JSONSchema202012KeywordDependentRequired"), u2 = p("JSONSchema202012KeywordContentSchema"), nt = p("JSONSchema202012KeywordTitle"), Kt = p("JSONSchema202012KeywordDescription"), Sr = p("JSONSchema202012KeywordDefault"), ar = p("JSONSchema202012KeywordDeprecated"), Cr = p("JSONSchema202012KeywordReadOnly"), dr = p("JSONSchema202012KeywordWriteOnly"), Mn = p("JSONSchema202012KeywordExamples"), mr = p("JSONSchema202012ExtensionKeywords"), Nr = p("JSONSchema202012JSONViewer"), on = p("JSONSchema202012Accordion"), vn = p("JSONSchema202012ExpandDeepButton"), kr = p("JSONSchema202012ChevronRightIcon");
|
|
86786
86800
|
return Vz(r, { components: { JSONSchema: N, Keyword$schema: _, Keyword$vocabulary: k, Keyword$id: P, Keyword$anchor: $, Keyword$dynamicAnchor: K, Keyword$ref: X, Keyword$dynamicRef: ne, Keyword$defs: ce, Keyword$comment: ue, KeywordAllOf: fe, KeywordAnyOf: ye, KeywordOneOf: ae, KeywordNot: Pe, KeywordIf: Ne, KeywordThen: Re, KeywordElse: De, KeywordDependentSchemas: Fe, KeywordPrefixItems: n1, KeywordItems: Xe, KeywordContains: Ie, KeywordProperties: ke, KeywordPatternProperties: je, KeywordAdditionalProperties: Je, KeywordPropertyNames: c1, KeywordUnevaluatedItems: A1, KeywordUnevaluatedProperties: bt, KeywordType: kt, KeywordEnum: h2, KeywordConst: L2, KeywordConstraint: S2, KeywordDependentRequired: V2, KeywordContentSchema: u2, KeywordTitle: nt, KeywordDescription: Kt, KeywordDefault: Sr, KeywordDeprecated: ar, KeywordReadOnly: Cr, KeywordWriteOnly: dr, KeywordExamples: Mn, ExtensionKeywords: mr, JSONViewer: Nr, Accordion: on, ExpandDeepButton: vn, ChevronRightIcon: kr, ...l.components }, config: { showExtensionKeywords: S.showExtensions, ...l.config }, fn: { ...l.fn } });
|
|
86787
86801
|
}, Mz = ({ getSystem: s, fn: r }) => {
|
|
86788
86802
|
const l = () => ({ upperFirst: r.upperFirst, ...r.jsonSchema202012 });
|
|
86789
|
-
return { components: { JSONSchema202012: VN, JSONSchema202012Keyword$schema: MN, JSONSchema202012Keyword$vocabulary: _N, JSONSchema202012Keyword$id: EN, JSONSchema202012Keyword$anchor: NN, JSONSchema202012Keyword$dynamicAnchor: zN, JSONSchema202012Keyword$ref: ZN, JSONSchema202012Keyword$dynamicRef: AN, JSONSchema202012Keyword$defs: RN, JSONSchema202012Keyword$comment: kN, JSONSchema202012KeywordAllOf: TN, JSONSchema202012KeywordAnyOf: ON, JSONSchema202012KeywordOneOf: BN, JSONSchema202012KeywordNot: IN, JSONSchema202012KeywordIf: FN, JSONSchema202012KeywordThen: DN, JSONSchema202012KeywordElse: PN, JSONSchema202012KeywordDependentSchemas: jN, JSONSchema202012KeywordPrefixItems: $N, JSONSchema202012KeywordItems: UN, JSONSchema202012KeywordContains: qN, JSONSchema202012KeywordProperties: WN, JSONSchema202012KeywordPatternProperties: KN, JSONSchema202012KeywordAdditionalProperties: GN, JSONSchema202012KeywordPropertyNames: YN, JSONSchema202012KeywordUnevaluatedItems: JN, JSONSchema202012KeywordUnevaluatedProperties: XN, JSONSchema202012KeywordType: QN, JSONSchema202012KeywordEnum: ez, JSONSchema202012KeywordConst: tz, JSONSchema202012KeywordConstraint: hz, JSONSchema202012KeywordDependentRequired: pz, JSONSchema202012KeywordContentSchema: dz, JSONSchema202012KeywordTitle: fz, JSONSchema202012KeywordDescription: gz, JSONSchema202012KeywordDefault: mz, JSONSchema202012KeywordDeprecated: Cz, JSONSchema202012KeywordReadOnly: wz, JSONSchema202012KeywordWriteOnly: yz, JSONSchema202012KeywordExamples: vz, JSONSchema202012ExtensionKeywords: xz, JSONSchema202012JSONViewer: Lz, JSONSchema202012Accordion: Sz, JSONSchema202012ExpandDeepButton: bz, JSONSchema202012ChevronRightIcon: Hz, withJSONSchema202012Context: Vz, withJSONSchema202012SystemContext: Mae(s()), JSONSchema202012PathContext: () => oa, JSONSchema202012LevelContext: () => ro }, fn: { upperFirst: rz, jsonSchema202012: { getTitle: nz(l), getType: iz(l), isExpandable: oz(l), isBooleanJSONSchema: sz, hasKeyword: az, useFn:
|
|
86803
|
+
return { components: { JSONSchema202012: VN, JSONSchema202012Keyword$schema: MN, JSONSchema202012Keyword$vocabulary: _N, JSONSchema202012Keyword$id: EN, JSONSchema202012Keyword$anchor: NN, JSONSchema202012Keyword$dynamicAnchor: zN, JSONSchema202012Keyword$ref: ZN, JSONSchema202012Keyword$dynamicRef: AN, JSONSchema202012Keyword$defs: RN, JSONSchema202012Keyword$comment: kN, JSONSchema202012KeywordAllOf: TN, JSONSchema202012KeywordAnyOf: ON, JSONSchema202012KeywordOneOf: BN, JSONSchema202012KeywordNot: IN, JSONSchema202012KeywordIf: FN, JSONSchema202012KeywordThen: DN, JSONSchema202012KeywordElse: PN, JSONSchema202012KeywordDependentSchemas: jN, JSONSchema202012KeywordPrefixItems: $N, JSONSchema202012KeywordItems: UN, JSONSchema202012KeywordContains: qN, JSONSchema202012KeywordProperties: WN, JSONSchema202012KeywordPatternProperties: KN, JSONSchema202012KeywordAdditionalProperties: GN, JSONSchema202012KeywordPropertyNames: YN, JSONSchema202012KeywordUnevaluatedItems: JN, JSONSchema202012KeywordUnevaluatedProperties: XN, JSONSchema202012KeywordType: QN, JSONSchema202012KeywordEnum: ez, JSONSchema202012KeywordConst: tz, JSONSchema202012KeywordConstraint: hz, JSONSchema202012KeywordDependentRequired: pz, JSONSchema202012KeywordContentSchema: dz, JSONSchema202012KeywordTitle: fz, JSONSchema202012KeywordDescription: gz, JSONSchema202012KeywordDefault: mz, JSONSchema202012KeywordDeprecated: Cz, JSONSchema202012KeywordReadOnly: wz, JSONSchema202012KeywordWriteOnly: yz, JSONSchema202012KeywordExamples: vz, JSONSchema202012ExtensionKeywords: xz, JSONSchema202012JSONViewer: Lz, JSONSchema202012Accordion: Sz, JSONSchema202012ExpandDeepButton: bz, JSONSchema202012ChevronRightIcon: Hz, withJSONSchema202012Context: Vz, withJSONSchema202012SystemContext: Mae(s()), JSONSchema202012PathContext: () => oa, JSONSchema202012LevelContext: () => ro }, fn: { upperFirst: rz, jsonSchema202012: { getTitle: nz(l), getType: iz(l), isExpandable: oz(l), isBooleanJSONSchema: sz, hasKeyword: az, useFn: Dn, useConfig: rx, useComponent: Ut, useIsExpanded: qo, usePath: Y0, useLevel: no, getSchemaKeywords: cz, getExtensionKeywords: uz(l), hasSchemaType: Hae } } };
|
|
86790
86804
|
}, _ae = (s, { sample: r = [] } = {}) => ((l, p = {}) => {
|
|
86791
86805
|
const { minItems: v, maxItems: S, uniqueItems: N } = p, { contains: _, minContains: k, maxContains: P } = p;
|
|
86792
86806
|
let $ = [...l];
|
|
@@ -87213,7 +87227,7 @@ new Remarkable().use(linkify)
|
|
|
87213
87227
|
return Number.isNaN(l) ? r : l;
|
|
87214
87228
|
}, f8 = (s, r = {}) => $a()(s) ? s : r, qz = (s) => typeof s == "function" || typeof s == "string" ? s : null, g8 = (s) => String(s), joe = (s, r) => $a()(s) ? s : s === !1 || s === "false" || s === 0 || s === "0" ? { activated: !1 } : r, $oe = (s) => s === void 0 || s === "undefined" ? void 0 : String(s), Wz = { components: { typeCaster: f8 }, configs: { typeCaster: f8 }, configUrl: { typeCaster: cx }, deepLinking: { typeCaster: io, defaultValue: Li.deepLinking }, defaultModelExpandDepth: { typeCaster: ux, defaultValue: Li.defaultModelExpandDepth }, defaultModelRendering: { typeCaster: g8 }, defaultModelsExpandDepth: { typeCaster: ux, defaultValue: Li.defaultModelsExpandDepth }, displayOperationId: { typeCaster: io, defaultValue: Li.displayOperationId }, displayRequestDuration: { typeCaster: io, defaultValue: Li.displayRequestDuration }, docExpansion: { typeCaster: g8 }, dom_id: { typeCaster: cx }, domNode: { typeCaster: Foe }, fileUploadMediaTypes: { typeCaster: Gf, defaultValue: Li.fileUploadMediaTypes }, filter: { typeCaster: Doe }, fn: { typeCaster: f8 }, initialState: { typeCaster: f8 }, layout: { typeCaster: g8 }, maxDisplayedTags: { typeCaster: ux, defaultValue: Li.maxDisplayedTags }, modelPropertyMacro: { typeCaster: Yf }, oauth2RedirectUrl: { typeCaster: $oe }, onComplete: { typeCaster: Yf }, operationsSorter: { typeCaster: qz }, paramaterMacro: { typeCaster: Yf }, persistAuthorization: { typeCaster: io, defaultValue: Li.persistAuthorization }, plugins: { typeCaster: Gf, defaultValue: Li.plugins }, presets: { typeCaster: Gf, defaultValue: Li.presets }, requestInterceptor: { typeCaster: Uz, defaultValue: Li.requestInterceptor }, requestSnippets: { typeCaster: f8, defaultValue: Li.requestSnippets }, requestSnippetsEnabled: { typeCaster: io, defaultValue: Li.requestSnippetsEnabled }, responseInterceptor: { typeCaster: Uz, defaultValue: Li.responseInterceptor }, showCommonExtensions: { typeCaster: io, defaultValue: Li.showCommonExtensions }, showExtensions: { typeCaster: io, defaultValue: Li.showExtensions }, showMutatedRequest: { typeCaster: io, defaultValue: Li.showMutatedRequest }, spec: { typeCaster: f8, defaultValue: Li.spec }, supportedSubmitMethods: { typeCaster: Gf, defaultValue: Li.supportedSubmitMethods }, syntaxHighlight: { typeCaster: joe, defaultValue: Li.syntaxHighlight }, "syntaxHighlight.activated": { typeCaster: io, defaultValue: Li.syntaxHighlight.activated }, "syntaxHighlight.theme": { typeCaster: g8 }, tagsSorter: { typeCaster: qz }, tryItOutEnabled: { typeCaster: io, defaultValue: Li.tryItOutEnabled }, url: { typeCaster: g8 }, urls: { typeCaster: Poe }, "urls.primaryName": { typeCaster: g8 }, validatorUrl: { typeCaster: cx }, withCredentials: { typeCaster: io, defaultValue: Li.withCredentials }, uncaughtExceptionHandler: { typeCaster: Yf } }, Kz = (s) => Object.entries(Wz).reduce(((r, [l, { typeCaster: p, defaultValue: v }]) => {
|
|
87215
87229
|
if (Ooe()(r, l)) {
|
|
87216
|
-
const S = p(
|
|
87230
|
+
const S = p(Bn()(r, l), v);
|
|
87217
87231
|
r = Ioe()(l, S, r);
|
|
87218
87232
|
}
|
|
87219
87233
|
return r;
|
|
@@ -90828,7 +90842,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
90828
90842
|
for (j !== L && (j ^= 4294967295 * L); L > 4294967295; ) j ^= L /= 4294967295;
|
|
90829
90843
|
return wt(j);
|
|
90830
90844
|
}
|
|
90831
|
-
if (A === "string") return L.length >
|
|
90845
|
+
if (A === "string") return L.length > kn ? p2(L) : N2(L);
|
|
90832
90846
|
if (typeof L.hashCode == "function") return L.hashCode();
|
|
90833
90847
|
if (A === "object") return zr(L);
|
|
90834
90848
|
if (typeof L.toString == "function") return N2(L.toString());
|
|
@@ -90879,7 +90893,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
90879
90893
|
en && (G2 = /* @__PURE__ */ new WeakMap());
|
|
90880
90894
|
var hn = 0, Br = "__immutablehash__";
|
|
90881
90895
|
typeof Symbol == "function" && (Br = Symbol(Br));
|
|
90882
|
-
var
|
|
90896
|
+
var kn = 16, $n = 255, Gr = 0, b2 = {};
|
|
90883
90897
|
function k2(L) {
|
|
90884
90898
|
rt(L !== 1 / 0, "Cannot perform this action with an infinite size.");
|
|
90885
90899
|
}
|
|
@@ -90939,7 +90953,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
90939
90953
|
return Mi(this, Ws, arguments);
|
|
90940
90954
|
}, Lt.prototype.mergeDeepWith = function(L) {
|
|
90941
90955
|
var A = d.call(arguments, 1);
|
|
90942
|
-
return Mi(this,
|
|
90956
|
+
return Mi(this, Tn(L), A);
|
|
90943
90957
|
}, Lt.prototype.mergeDeepIn = function(L) {
|
|
90944
90958
|
var A = d.call(arguments, 1);
|
|
90945
90959
|
return this.updateIn(L, j2(), (function(j) {
|
|
@@ -91054,7 +91068,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
91054
91068
|
function Ws(L, A, j) {
|
|
91055
91069
|
return L && L.mergeDeep && y(A) ? L.mergeDeep(A) : g2(L, A) ? L : A;
|
|
91056
91070
|
}
|
|
91057
|
-
function
|
|
91071
|
+
function Tn(L) {
|
|
91058
91072
|
return function(A, j, G) {
|
|
91059
91073
|
if (A && A.mergeDeepWith && y(j)) return A.mergeDeepWith(L, j);
|
|
91060
91074
|
var Q = L(A, j, G);
|
|
@@ -91249,7 +91263,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
91249
91263
|
return _i(this, Ws, arguments);
|
|
91250
91264
|
}, m2.prototype.mergeDeepWith = function(L) {
|
|
91251
91265
|
var A = d.call(arguments, 1);
|
|
91252
|
-
return _i(this,
|
|
91266
|
+
return _i(this, Tn(L), A);
|
|
91253
91267
|
}, m2.prototype.setSize = function(L) {
|
|
91254
91268
|
return Xn(this, 0, L);
|
|
91255
91269
|
}, m2.prototype.slice = function(L, A) {
|
|
@@ -93056,7 +93070,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
93056
93070
|
return !0;
|
|
93057
93071
|
}, construct: function(_e) {
|
|
93058
93072
|
return _e !== null ? _e : {};
|
|
93059
|
-
} }), Hr = rt.extend({ implicit: [B2, Q2], explicit: [Q1, p2, zr, ur] }), G2 = Object.prototype.hasOwnProperty, en = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, hn = /[\x85\u2028\u2029]/, Br = /[,\[\]\{\}]/,
|
|
93073
|
+
} }), Hr = rt.extend({ implicit: [B2, Q2], explicit: [Q1, p2, zr, ur] }), G2 = Object.prototype.hasOwnProperty, en = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, hn = /[\x85\u2028\u2029]/, Br = /[,\[\]\{\}]/, kn = /^(?:!|!!|![a-z\-]+!)$/i, $n = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
93060
93074
|
function Gr(ie) {
|
|
93061
93075
|
return Object.prototype.toString.call(ie);
|
|
93062
93076
|
}
|
|
@@ -93105,7 +93119,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
93105
93119
|
_e.version !== null && vt(_e, "duplication of %YAML directive"), We.length !== 1 && vt(_e, "YAML directive accepts exactly one argument"), (l1 = /^([0-9]+)\.([0-9]+)$/.exec(We[0])) === null && vt(_e, "ill-formed argument of the YAML directive"), S1 = parseInt(l1[1], 10), G1 = parseInt(l1[2], 10), S1 !== 1 && vt(_e, "unacceptable YAML version of the document"), _e.version = We[0], _e.checkLineBreaks = G1 < 2, G1 !== 1 && G1 !== 2 && Tr(_e, "unsupported YAML version of the document");
|
|
93106
93120
|
}, TAG: function(_e, Be, We) {
|
|
93107
93121
|
var l1, S1;
|
|
93108
|
-
We.length !== 2 && vt(_e, "TAG directive accepts exactly two arguments"), l1 = We[0], S1 = We[1],
|
|
93122
|
+
We.length !== 2 && vt(_e, "TAG directive accepts exactly two arguments"), l1 = We[0], S1 = We[1], kn.test(l1) || vt(_e, "ill-formed tag handle (first argument) of the TAG directive"), G2.call(_e.tagMap, l1) && vt(_e, 'there is a previously declared suffix for "' + l1 + '" tag handle'), $n.test(S1) || vt(_e, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
93109
93123
|
try {
|
|
93110
93124
|
S1 = decodeURIComponent(S1);
|
|
93111
93125
|
} catch {
|
|
@@ -93160,7 +93174,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
93160
93174
|
var Be, We, l1 = ie.tag, S1 = ie.anchor, G1 = [], M1 = !1;
|
|
93161
93175
|
if (ie.firstTabInLine !== -1) return !1;
|
|
93162
93176
|
for (ie.anchor !== null && (ie.anchorMap[ie.anchor] = G1), We = ie.input.charCodeAt(ie.position); We !== 0 && (ie.firstTabInLine !== -1 && (ie.position = ie.firstTabInLine, vt(ie, "tab characters must not be used in indentation")), We === 45) && Lt(ie.input.charCodeAt(ie.position + 1)); ) if (M1 = !0, ie.position++, tr(ie, !0, -1) && ie.lineIndent <= _e) G1.push(null), We = ie.input.charCodeAt(ie.position);
|
|
93163
|
-
else if (Be = ie.line,
|
|
93177
|
+
else if (Be = ie.line, Tn(ie, _e, 3, !1, !0), G1.push(ie.result), tr(ie, !0, -1), We = ie.input.charCodeAt(ie.position), (ie.line === Be || ie.lineIndent > _e) && We !== 0) vt(ie, "bad indentation of a sequence entry");
|
|
93164
93178
|
else if (ie.lineIndent < _e) break;
|
|
93165
93179
|
return !!M1 && (ie.tag = l1, ie.anchor = S1, ie.kind = "sequence", ie.result = G1, !0);
|
|
93166
93180
|
}
|
|
@@ -93173,7 +93187,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
93173
93187
|
while (l1 !== 0 && l1 !== 62);
|
|
93174
93188
|
ie.position < ie.length ? (We = ie.input.slice(_e, ie.position), l1 = ie.input.charCodeAt(++ie.position)) : vt(ie, "unexpected end of the stream within a verbatim tag");
|
|
93175
93189
|
} else {
|
|
93176
|
-
for (; l1 !== 0 && !Lt(l1); ) l1 === 33 && (G1 ? vt(ie, "tag suffix cannot contain exclamation marks") : (Be = ie.input.slice(_e - 1, ie.position + 1),
|
|
93190
|
+
for (; l1 !== 0 && !Lt(l1); ) l1 === 33 && (G1 ? vt(ie, "tag suffix cannot contain exclamation marks") : (Be = ie.input.slice(_e - 1, ie.position + 1), kn.test(Be) || vt(ie, "named tag handle cannot contain such characters"), G1 = !0, _e = ie.position + 1)), l1 = ie.input.charCodeAt(++ie.position);
|
|
93177
93191
|
We = ie.input.slice(_e, ie.position), Br.test(We) && vt(ie, "tag suffix cannot contain flow indicator characters");
|
|
93178
93192
|
}
|
|
93179
93193
|
We && !$n.test(We) && vt(ie, "tag name cannot contain such characters: " + We);
|
|
@@ -93190,7 +93204,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
93190
93204
|
for (ie.anchor !== null && vt(ie, "duplication of an anchor property"), Be = ie.input.charCodeAt(++ie.position), _e = ie.position; Be !== 0 && !Lt(Be) && !hr(Be); ) Be = ie.input.charCodeAt(++ie.position);
|
|
93191
93205
|
return ie.position === _e && vt(ie, "name of an anchor node must contain at least one character"), ie.anchor = ie.input.slice(_e, ie.position), !0;
|
|
93192
93206
|
}
|
|
93193
|
-
function
|
|
93207
|
+
function Tn(ie, _e, Be, We, l1) {
|
|
93194
93208
|
var S1, G1, M1, ct, Qt, Pt, Jt, Xt, ir, jt = 1, Ir = !1, I2 = !1;
|
|
93195
93209
|
if (ie.listener !== null && ie.listener("open", ie), ie.tag = null, ie.anchor = null, ie.kind = null, ie.result = null, S1 = G1 = M1 = Be === 4 || Be === 3, We && tr(ie, !0, -1) && (Ir = !0, ie.lineIndent > _e ? jt = 1 : ie.lineIndent === _e ? jt = 0 : ie.lineIndent < _e && (jt = -1)), jt === 1) for (; Mi(ie) || Ws(ie); ) tr(ie, !0, -1) ? (Ir = !0, M1 = S1, ie.lineIndent > _e ? jt = 1 : ie.lineIndent === _e ? jt = 0 : ie.lineIndent < _e && (jt = -1)) : M1 = !1;
|
|
93196
93210
|
if (M1 && (M1 = Ir || l1), jt !== 1 && Be !== 4 || (Xt = Be === 1 || Be === 2 ? _e : _e + 1, ir = ie.position - ie.lineStart, jt === 1 ? M1 && (Es(ie, ir) || (function(t1, U2, A2) {
|
|
@@ -93198,7 +93212,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
93198
93212
|
if (t1.firstTabInLine !== -1) return !1;
|
|
93199
93213
|
for (t1.anchor !== null && (t1.anchorMap[t1.anchor] = st), xe = t1.input.charCodeAt(t1.position); xe !== 0; ) {
|
|
93200
93214
|
if (O2 || t1.firstTabInLine === -1 || (t1.position = t1.firstTabInLine, vt(t1, "tab characters must not be used in indentation")), Bt = t1.input.charCodeAt(t1.position + 1), f2 = t1.line, xe !== 63 && xe !== 58 || !Lt(Bt)) {
|
|
93201
|
-
if (lr = t1.line, E2 = t1.lineStart, xr = t1.position, !
|
|
93215
|
+
if (lr = t1.line, E2 = t1.lineStart, xr = t1.position, !Tn(t1, A2, 2, !1, !0)) break;
|
|
93202
93216
|
if (t1.line === f2) {
|
|
93203
93217
|
for (xe = t1.input.charCodeAt(t1.position); k2(xe); ) xe = t1.input.charCodeAt(++t1.position);
|
|
93204
93218
|
if (xe === 58) Lt(xe = t1.input.charCodeAt(++t1.position)) || vt(t1, "a whitespace character is expected after the key-value separator within a block mapping"), O2 && (mn(t1, st, yt, Wt, y2, null, lr, E2, xr), Wt = y2 = F2 = null), J2 = !0, O2 = !1, D2 = !1, Wt = t1.tag, y2 = t1.result;
|
|
@@ -93211,7 +93225,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
93211
93225
|
vt(t1, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
93212
93226
|
}
|
|
93213
93227
|
} else xe === 63 ? (O2 && (mn(t1, st, yt, Wt, y2, null, lr, E2, xr), Wt = y2 = F2 = null), J2 = !0, O2 = !0, D2 = !0) : O2 ? (O2 = !1, D2 = !0) : vt(t1, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), t1.position += 1, xe = Bt;
|
|
93214
|
-
if ((t1.line === f2 || t1.lineIndent > U2) && (O2 && (lr = t1.line, E2 = t1.lineStart, xr = t1.position),
|
|
93228
|
+
if ((t1.line === f2 || t1.lineIndent > U2) && (O2 && (lr = t1.line, E2 = t1.lineStart, xr = t1.position), Tn(t1, U2, 4, !0, D2) && (O2 ? y2 = t1.result : F2 = t1.result), O2 || (mn(t1, st, yt, Wt, y2, F2, lr, E2, xr), Wt = y2 = F2 = null), tr(t1, !0, -1), xe = t1.input.charCodeAt(t1.position)), (t1.line === f2 || t1.lineIndent > U2) && xe !== 0) vt(t1, "bad indentation of a mapping entry");
|
|
93215
93229
|
else if (t1.lineIndent < U2) break;
|
|
93216
93230
|
}
|
|
93217
93231
|
return O2 && mn(t1, st, yt, Wt, y2, null, lr, E2, xr), J2 && (t1.tag = $e, t1.anchor = b1, t1.kind = "mapping", t1.result = st), J2;
|
|
@@ -93224,7 +93238,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
93224
93238
|
}
|
|
93225
93239
|
for (t1.anchor !== null && (t1.anchorMap[t1.anchor] = f2), yt = t1.input.charCodeAt(++t1.position); yt !== 0; ) {
|
|
93226
93240
|
if (tr(t1, !0, U2), (yt = t1.input.charCodeAt(t1.position)) === lr) return t1.position++, t1.tag = y2, t1.anchor = F2, t1.kind = xe ? "mapping" : "sequence", t1.result = f2, !0;
|
|
93227
|
-
Wt ? yt === 44 && vt(t1, "expected the node content, but found ','") : vt(t1, "missed comma between flow collection entries"), st = null, E2 = xr = !1, yt === 63 && Lt(t1.input.charCodeAt(t1.position + 1)) && (E2 = xr = !0, t1.position++, tr(t1, !0, U2)), A2 = t1.line, Bt = t1.lineStart, D2 = t1.position,
|
|
93241
|
+
Wt ? yt === 44 && vt(t1, "expected the node content, but found ','") : vt(t1, "missed comma between flow collection entries"), st = null, E2 = xr = !1, yt === 63 && Lt(t1.input.charCodeAt(t1.position + 1)) && (E2 = xr = !0, t1.position++, tr(t1, !0, U2)), A2 = t1.line, Bt = t1.lineStart, D2 = t1.position, Tn(t1, U2, 1, !1, !0), b1 = t1.tag, $e = t1.result, tr(t1, !0, U2), yt = t1.input.charCodeAt(t1.position), !xr && t1.line !== A2 || yt !== 58 || (E2 = !0, yt = t1.input.charCodeAt(++t1.position), tr(t1, !0, U2), Tn(t1, U2, 1, !1, !0), st = t1.result), xe ? mn(t1, f2, O2, b1, $e, st, A2, Bt, D2) : E2 ? f2.push(mn(t1, null, O2, b1, $e, st, A2, Bt, D2)) : f2.push($e), tr(t1, !0, U2), (yt = t1.input.charCodeAt(t1.position)) === 44 ? (Wt = !0, yt = t1.input.charCodeAt(++t1.position)) : Wt = !1;
|
|
93228
93242
|
}
|
|
93229
93243
|
vt(t1, "unexpected end of the stream within a flow collection");
|
|
93230
93244
|
})(ie, Xt) ? I2 = !0 : (G1 && (function(t1, U2) {
|
|
@@ -93351,7 +93365,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
93351
93365
|
}
|
|
93352
93366
|
l1 !== 0 && _s(ie), G2.call(tn, Be) ? tn[Be](ie, Be, We) : Tr(ie, 'unknown document directive "' + Be + '"');
|
|
93353
93367
|
}
|
|
93354
|
-
tr(ie, !0, -1), ie.lineIndent === 0 && ie.input.charCodeAt(ie.position) === 45 && ie.input.charCodeAt(ie.position + 1) === 45 && ie.input.charCodeAt(ie.position + 2) === 45 ? (ie.position += 3, tr(ie, !0, -1)) : G1 && vt(ie, "directives end mark is expected"),
|
|
93368
|
+
tr(ie, !0, -1), ie.lineIndent === 0 && ie.input.charCodeAt(ie.position) === 45 && ie.input.charCodeAt(ie.position + 1) === 45 && ie.input.charCodeAt(ie.position + 2) === 45 ? (ie.position += 3, tr(ie, !0, -1)) : G1 && vt(ie, "directives end mark is expected"), Tn(ie, ie.lineIndent - 1, 4, !1, !0), tr(ie, !0, -1), ie.checkLineBreaks && hn.test(ie.input.slice(S1, ie.position)) && Tr(ie, "non-ASCII line breaks are interpreted as content"), ie.documents.push(ie.result), ie.position === ie.lineStart && qi(ie) ? ie.input.charCodeAt(ie.position) === 46 && (ie.position += 3, tr(ie, !0, -1)) : ie.position < ie.length - 1 && vt(ie, "end of the stream or a document separator is expected");
|
|
93355
93369
|
}
|
|
93356
93370
|
function rn(ie, _e) {
|
|
93357
93371
|
_e = _e || {}, (ie = String(ie)).length !== 0 && (ie.charCodeAt(ie.length - 1) !== 10 && ie.charCodeAt(ie.length - 1) !== 13 && (ie += `
|
|
@@ -93723,10 +93737,10 @@ const kMe = /* @__PURE__ */ ole({
|
|
|
93723
93737
|
canEdit: { type: Boolean, default: !1 }
|
|
93724
93738
|
},
|
|
93725
93739
|
setup(e) {
|
|
93726
|
-
const t = ["parquet", "pmtiles", "geojson"], n = ["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"], o = e, u =
|
|
93740
|
+
const t = ["parquet", "pmtiles", "geojson"], n = ["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"], o = e, u = Rn(), f = pa(() => import("./Swagger.client-DRsUsdkD.js")), c = pa(() => import("./MapContainer.client-PxTb3GFB.js")), d = pa(() => import("./Pmtiles.client-BdN6D_o3.js")), a = pa(() => import("./JsonPreview.client-CsFH4_pc.js")), h = pa(() => import("./PdfPreview.client-F9riTFzW.js")), g = pa(() => import("./XmlPreview.client-CLDalkuE.js")), m = pa(() => import("./Datafair.client-BzyuQrsK.js")), { t: w } = C2(), { formatRelativeIfRecentDate: y } = Ia(), x = $D(), H = s1(() => {
|
|
93727
93741
|
const p1 = o.resource.format?.toLowerCase();
|
|
93728
93742
|
return p1 === "json" || p1 === "pdf" || p1 === "xml";
|
|
93729
|
-
}), E = s1(() => x(o.resource)), z = s1(() => o.resource.extras["analysis:parsing:pmtiles_url"] || o.resource.format === "pmtiles"), Z = s1(() => Rh(o.dataset.organization) && o.resource.extras.datafairEmbed), R = s1(() => Rh(o.dataset.organization) && o.resource.extras.apidocUrl), T = s1(() =>
|
|
93743
|
+
}), E = s1(() => x(o.resource)), z = s1(() => o.resource.extras["analysis:parsing:pmtiles_url"] || o.resource.format === "pmtiles"), Z = s1(() => Rh(o.dataset.organization) && o.resource.extras.datafairEmbed), R = s1(() => Rh(o.dataset.organization) && o.resource.extras.apidocUrl), T = s1(() => qb(o.resource.format) ? o.resource.format : w("Fichier")), B = s1(() => PD(o.resource)), F = s1(() => B.value === "wms"), U = s1(() => {
|
|
93730
93744
|
const p1 = t.filter((ve) => `analysis:parsing:${ve}_url` in o.resource.extras).map((ve) => ({
|
|
93731
93745
|
url: o.resource.extras[`analysis:parsing:${ve}_url`],
|
|
93732
93746
|
size: o.resource.extras[`analysis:parsing:${ve}_size`],
|
|
@@ -93745,7 +93759,7 @@ const kMe = /* @__PURE__ */ ole({
|
|
|
93745
93759
|
}), re = (p1) => {
|
|
93746
93760
|
const ve = q.value[p1];
|
|
93747
93761
|
ve && (ds("View resource tab", o.resource.id, ve.label), ve.key === "data" && ds("Show preview", o.resource.id), ve.key === "data-structure" && ds("Show data structure", o.resource.id));
|
|
93748
|
-
}, se = s1(() => o.isCommunityResource ? o.resource : null), He = s1(() => se.value ? nO(se.value) : null), me = o.resource.last_modified, we = s1(() => y(o.resource.extras["analysis:parsing:finished_at"])), Ee = o.resource.extras && "check:available" in o.resource.extras, Ue = s1(() =>
|
|
93762
|
+
}, se = s1(() => o.isCommunityResource ? o.resource : null), He = s1(() => se.value ? nO(se.value) : null), me = o.resource.last_modified, we = s1(() => y(o.resource.extras["analysis:parsing:finished_at"])), Ee = o.resource.extras && "check:available" in o.resource.extras, Ue = s1(() => Wb(o.resource)), qe = Ee && o.resource.extras["check:available"] === !1, Ye = qe ? w("Le robot de {certifier} n'a pas pu accéder à ce fichier - Télécharger le fichier en {format}", { certifier: u.name, format: T.value }) : w("Télécharger le fichier en {format}", { format: T.value }), Me = s1(() => jD(o.dataset, o.resource)), x1 = "resource-" + o.resource.id, Ge = "resource-" + o.resource.id + "-header", V = FD(o.resource), H1 = s1(() => n.includes(o.resource.format));
|
|
93749
93763
|
return (p1, ve) => (be(), Ke("div", {
|
|
93750
93764
|
class: M2(["border border-gray-default overflow-auto", { "fr-pb-4v": W.value }])
|
|
93751
93765
|
}, [
|
|
@@ -93912,15 +93926,15 @@ const kMe = /* @__PURE__ */ ole({
|
|
|
93912
93926
|
id: x1,
|
|
93913
93927
|
"aria-labelledby": he(V)
|
|
93914
93928
|
}, [
|
|
93915
|
-
r1(
|
|
93929
|
+
r1(kD, {
|
|
93916
93930
|
size: "sm",
|
|
93917
93931
|
onChange: re
|
|
93918
93932
|
}, {
|
|
93919
93933
|
default: Z1(() => [
|
|
93920
93934
|
Oe("div", n_e, [
|
|
93921
|
-
r1(
|
|
93935
|
+
r1(TD, { style: { "max-width": "100%", "overflow-y": "auto" } }, {
|
|
93922
93936
|
default: Z1(() => [
|
|
93923
|
-
(be(!0), Ke(d2, null, Xr(q.value, (Ve) => (be(), F1(
|
|
93937
|
+
(be(!0), Ke(d2, null, Xr(q.value, (Ve) => (be(), F1(OD, {
|
|
93924
93938
|
key: Ve.key
|
|
93925
93939
|
}, {
|
|
93926
93940
|
default: Z1(() => [
|
|
@@ -93932,9 +93946,9 @@ const kMe = /* @__PURE__ */ ole({
|
|
|
93932
93946
|
_: 1
|
|
93933
93947
|
})
|
|
93934
93948
|
]),
|
|
93935
|
-
r1(
|
|
93949
|
+
r1(BD, null, {
|
|
93936
93950
|
default: Z1(() => [
|
|
93937
|
-
(be(!0), Ke(d2, null, Xr(q.value, (Ve) => (be(), F1(
|
|
93951
|
+
(be(!0), Ke(d2, null, Xr(q.value, (Ve) => (be(), F1(ID, {
|
|
93938
93952
|
key: Ve.key,
|
|
93939
93953
|
class: "px-4"
|
|
93940
93954
|
}, {
|
|
@@ -93973,7 +93987,7 @@ const kMe = /* @__PURE__ */ ole({
|
|
|
93973
93987
|
}, null, 8, ["resource"]))
|
|
93974
93988
|
])) : z1("", !0),
|
|
93975
93989
|
Ve.key === "description" ? (be(), Ke("div", a_e, [
|
|
93976
|
-
r1(
|
|
93990
|
+
r1(GF, {
|
|
93977
93991
|
content: e.resource.description || "",
|
|
93978
93992
|
size: "sm"
|
|
93979
93993
|
}, null, 8, ["content"])
|
|
@@ -94086,7 +94100,7 @@ const kMe = /* @__PURE__ */ ole({
|
|
|
94086
94100
|
], 8, r_e)) : z1("", !0)
|
|
94087
94101
|
], 2));
|
|
94088
94102
|
}
|
|
94089
|
-
}),
|
|
94103
|
+
}), vPe = /* @__PURE__ */ Vs(b_e, [["__scopeId", "data-v-f91de39a"]]), hL = /* @__PURE__ */ new WeakMap();
|
|
94090
94104
|
function Ss(e, t, n = {}) {
|
|
94091
94105
|
const {
|
|
94092
94106
|
mode: o = "replace",
|
|
@@ -94098,7 +94112,7 @@ function Ss(e, t, n = {}) {
|
|
|
94098
94112
|
typeof c == "function" ? d = c : c && (c.get && (d = c.get), c.set && (a = c.set)), hL.has(f) || hL.set(f, /* @__PURE__ */ new Map());
|
|
94099
94113
|
const h = hL.get(f);
|
|
94100
94114
|
let g = u.query[e];
|
|
94101
|
-
|
|
94115
|
+
Zb(() => {
|
|
94102
94116
|
g = void 0;
|
|
94103
94117
|
});
|
|
94104
94118
|
let m;
|
|
@@ -94198,7 +94212,7 @@ const H_e = {
|
|
|
94198
94212
|
(be(!0), Ke(d2, null, Xr(e.resources, (f) => (be(), Ke("div", {
|
|
94199
94213
|
key: f.type
|
|
94200
94214
|
}, [
|
|
94201
|
-
Oe("div", A_e, Qe(he(
|
|
94215
|
+
Oe("div", A_e, Qe(he(DD)(f.type, f.total)), 1),
|
|
94202
94216
|
Oe("ul", R_e, [
|
|
94203
94217
|
(be(!0), Ke(d2, null, Xr(f.items, (c) => (be(), Ke("li", {
|
|
94204
94218
|
key: c.id
|
|
@@ -94276,7 +94290,7 @@ function j_e(e) {
|
|
|
94276
94290
|
}
|
|
94277
94291
|
const $_e = ["parquet", "pmtiles", "geojson"], U_e = ["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"];
|
|
94278
94292
|
function q_e(e, t) {
|
|
94279
|
-
const n =
|
|
94293
|
+
const n = Rn(), { t: o } = C2(), u = $D(), f = s1(() => {
|
|
94280
94294
|
const z = Pr(e).format?.toLowerCase();
|
|
94281
94295
|
return z === "json" || z === "pdf" || z === "xml";
|
|
94282
94296
|
}), c = s1(() => {
|
|
@@ -94291,7 +94305,7 @@ function q_e(e, t) {
|
|
|
94291
94305
|
}), h = s1(() => {
|
|
94292
94306
|
const z = Pr(t), Z = Pr(e);
|
|
94293
94307
|
return Rh(z.organization) && Z.extras.apidocUrl;
|
|
94294
|
-
}), g = s1(() =>
|
|
94308
|
+
}), g = s1(() => PD(Pr(e))), m = s1(() => g.value === "wms"), w = s1(() => {
|
|
94295
94309
|
const z = Pr(e), Z = $_e.filter((R) => `analysis:parsing:${R}_url` in z.extras).map((R) => ({
|
|
94296
94310
|
url: z.extras[`analysis:parsing:${R}_url`],
|
|
94297
94311
|
size: z.extras[`analysis:parsing:${R}_size`],
|
|
@@ -94341,20 +94355,20 @@ const W_e = { class: "border border-gray-default" }, K_e = { class: "p-4 flex fl
|
|
|
94341
94355
|
},
|
|
94342
94356
|
setup(e) {
|
|
94343
94357
|
const t = pa(
|
|
94344
|
-
() => import("./JsonPreview.client-
|
|
94358
|
+
() => import("./JsonPreview.client-CsFH4_pc.js")
|
|
94345
94359
|
), n = pa(
|
|
94346
|
-
() => import("./PdfPreview.client-
|
|
94360
|
+
() => import("./PdfPreview.client-F9riTFzW.js")
|
|
94347
94361
|
), o = pa(
|
|
94348
|
-
() => import("./XmlPreview.client-
|
|
94362
|
+
() => import("./XmlPreview.client-CLDalkuE.js")
|
|
94349
94363
|
), u = pa(
|
|
94350
|
-
() => import("./Datafair.client-
|
|
94364
|
+
() => import("./Datafair.client-BzyuQrsK.js")
|
|
94351
94365
|
), f = pa(
|
|
94352
|
-
() => import("./MapContainer.client-
|
|
94366
|
+
() => import("./MapContainer.client-PxTb3GFB.js")
|
|
94353
94367
|
), c = pa(
|
|
94354
|
-
() => import("./Pmtiles.client-
|
|
94368
|
+
() => import("./Pmtiles.client-BdN6D_o3.js")
|
|
94355
94369
|
), d = pa(
|
|
94356
|
-
() => import("./Swagger.client-
|
|
94357
|
-
), a = e, { t: h } = C2(), g =
|
|
94370
|
+
() => import("./Swagger.client-DRsUsdkD.js")
|
|
94371
|
+
), a = e, { t: h } = C2(), g = Rn(), { formatRelativeIfRecentDate: m } = Ia(), {
|
|
94358
94372
|
hasTabularData: w,
|
|
94359
94373
|
hasPmtiles: y,
|
|
94360
94374
|
hasDatafairPreview: x,
|
|
@@ -94366,7 +94380,7 @@ const W_e = { class: "border border-gray-default" }, K_e = { class: "p-4 flex fl
|
|
|
94366
94380
|
defaultWfsProjection: T,
|
|
94367
94381
|
isResourceUrl: B,
|
|
94368
94382
|
tabsOptions: F
|
|
94369
|
-
} = q_e(() => a.resource, () => a.dataset), U = s1(() =>
|
|
94383
|
+
} = q_e(() => a.resource, () => a.dataset), U = s1(() => Wb(a.resource)), W = s1(() => jD(a.dataset, a.resource)), Y = s1(() => qb(a.resource.format) ? a.resource.format : "Fichier"), q = s1(() => a.resource.extras && "check:available" in a.resource.extras), re = s1(() => q.value && a.resource.extras["check:available"] === !1), se = s1(() => re.value ? h("Le robot de {platform} n'a pas pu accéder à ce fichier - Télécharger le fichier en {format}", { platform: g.name, format: Y.value }) : h("Télécharger le fichier en {format}", { format: Y.value })), He = s1(
|
|
94370
94384
|
() => m(a.resource.extras["analysis:parsing:finished_at"])
|
|
94371
94385
|
), me = async () => {
|
|
94372
94386
|
try {
|
|
@@ -94470,15 +94484,15 @@ const W_e = { class: "border border-gray-default" }, K_e = { class: "p-4 flex fl
|
|
|
94470
94484
|
])
|
|
94471
94485
|
]),
|
|
94472
94486
|
Oe("section", rEe, [
|
|
94473
|
-
r1(
|
|
94487
|
+
r1(kD, {
|
|
94474
94488
|
size: "sm",
|
|
94475
94489
|
onChange: we
|
|
94476
94490
|
}, {
|
|
94477
94491
|
default: Z1(() => [
|
|
94478
94492
|
Oe("div", nEe, [
|
|
94479
|
-
r1(
|
|
94493
|
+
r1(TD, { class: "max-w-full overflow-x-auto" }, {
|
|
94480
94494
|
default: Z1(() => [
|
|
94481
|
-
(be(!0), Ke(d2, null, Xr(he(F), (qe) => (be(), F1(
|
|
94495
|
+
(be(!0), Ke(d2, null, Xr(he(F), (qe) => (be(), F1(OD, {
|
|
94482
94496
|
key: qe.key
|
|
94483
94497
|
}, {
|
|
94484
94498
|
default: Z1(() => [
|
|
@@ -94490,9 +94504,9 @@ const W_e = { class: "border border-gray-default" }, K_e = { class: "p-4 flex fl
|
|
|
94490
94504
|
_: 1
|
|
94491
94505
|
})
|
|
94492
94506
|
]),
|
|
94493
|
-
r1(
|
|
94507
|
+
r1(BD, null, {
|
|
94494
94508
|
default: Z1(() => [
|
|
94495
|
-
(be(!0), Ke(d2, null, Xr(he(F), (qe) => (be(), F1(
|
|
94509
|
+
(be(!0), Ke(d2, null, Xr(he(F), (qe) => (be(), F1(ID, {
|
|
94496
94510
|
key: qe.key,
|
|
94497
94511
|
class: "px-4"
|
|
94498
94512
|
}, {
|
|
@@ -94536,7 +94550,7 @@ const W_e = { class: "border border-gray-default" }, K_e = { class: "p-4 flex fl
|
|
|
94536
94550
|
}))
|
|
94537
94551
|
])) : z1("", !0),
|
|
94538
94552
|
qe.key === "description" ? (be(), Ke("div", aEe, [
|
|
94539
|
-
r1(
|
|
94553
|
+
r1(GF, {
|
|
94540
94554
|
content: e.resource.description || "",
|
|
94541
94555
|
size: "sm"
|
|
94542
94556
|
}, null, 8, ["content"])
|
|
@@ -94688,7 +94702,7 @@ const W_e = { class: "border border-gray-default" }, K_e = { class: "p-4 flex fl
|
|
|
94688
94702
|
}, kEe = ["src"], TEe = { class: "fr-text--bold fr-my-3v" }, OEe = {
|
|
94689
94703
|
key: 1,
|
|
94690
94704
|
class: "flex flex-col items-center py-12"
|
|
94691
|
-
}, BEe = ["src"], IEe = { class: "fr-text--bold fr-my-3v" }, t3 = 10,
|
|
94705
|
+
}, BEe = ["src"], IEe = { class: "fr-text--bold fr-my-3v" }, t3 = 10, xPe = /* @__PURE__ */ C({
|
|
94692
94706
|
__name: "ResourceExplorer",
|
|
94693
94707
|
props: {
|
|
94694
94708
|
dataset: {},
|
|
@@ -94696,7 +94710,7 @@ const W_e = { class: "border border-gray-default" }, K_e = { class: "p-4 flex fl
|
|
|
94696
94710
|
},
|
|
94697
94711
|
async setup(e) {
|
|
94698
94712
|
let t, n;
|
|
94699
|
-
const o = e, { t: u } = C2(), f = DT(), c =
|
|
94713
|
+
const o = e, { t: u } = C2(), f = DT(), c = Rn(), d = ut(!1), a = ut(""), { debounced: h, flush: g } = QD(a, c.searchDebounce ?? 300), m = s1(() => `/api/2/datasets/${o.dataset.id}/resources/`), w = Ss("resource_id"), y = s1(() => ({
|
|
94700
94714
|
type: "main",
|
|
94701
94715
|
page_size: t3,
|
|
94702
94716
|
q: h.value || void 0
|
|
@@ -94830,7 +94844,7 @@ const W_e = { class: "border border-gray-default" }, K_e = { class: "p-4 flex fl
|
|
|
94830
94844
|
});
|
|
94831
94845
|
let pL = null;
|
|
94832
94846
|
function FEe() {
|
|
94833
|
-
const e =
|
|
94847
|
+
const e = Rn(), { locale: t } = C2();
|
|
94834
94848
|
return async () => pL || await (pL = rl("api/1/reuses/types/", {
|
|
94835
94849
|
baseURL: e.apiBase,
|
|
94836
94850
|
query: { lang: t }
|
|
@@ -94840,14 +94854,14 @@ function DEe(e, t) {
|
|
|
94840
94854
|
const n = e.find((o) => o.id === t);
|
|
94841
94855
|
return n ? n.label : "";
|
|
94842
94856
|
}
|
|
94843
|
-
function
|
|
94857
|
+
function LPe(e, t) {
|
|
94844
94858
|
const n = e.find((o) => o.id === t);
|
|
94845
94859
|
return n ? n.label : "";
|
|
94846
94860
|
}
|
|
94847
94861
|
function PEe(e) {
|
|
94848
94862
|
const t = FEe();
|
|
94849
94863
|
return {
|
|
94850
|
-
label:
|
|
94864
|
+
label: WF(async () => {
|
|
94851
94865
|
const o = Pr(e), u = await t();
|
|
94852
94866
|
return DEe(u, o);
|
|
94853
94867
|
}, "")
|
|
@@ -94891,7 +94905,7 @@ const jEe = { class: "flex flex-wrap items-center gap-1" }, $Ee = { class: "text
|
|
|
94891
94905
|
}), WEe = { class: "fr-enlarge-link group/reuse-card bg-white border border-gray-default hover:bg-gray-some flex flex-col relative" }, KEe = { class: "flex flex-col h-full flex-1 order-2 px-8" }, GEe = { class: "order-1 flex flex-col px-4 py-1 h-full -mx-8" }, YEe = { class: "font-bold text-base mt-1 mb-0 truncate" }, JEe = { class: "order-3 text-sm m-0 text-gray-medium" }, XEe = { class: "text-sm mb-0 flex items-center" }, QEe = { class: "block flex-none" }, eNe = { class: "order-1 relative flex-auto" }, tNe = { class: "group-hover/reuse-card:brightness-90" }, rNe = { class: "object-cover block w-full h-auto aspect-[1.4]" }, nNe = ["src"], iNe = {
|
|
94892
94906
|
key: 0,
|
|
94893
94907
|
class: "list-none m-0 p-0 mt-4 px-4 -mb-2"
|
|
94894
|
-
}, sNe = { key: 0 }, aNe = { class: "fr-badge fr-badge--sm fr-badge--mention-grey text-gray-medium" }, oNe = { key: 1 }, lNe = { class: "fr-badge fr-badge--sm fr-badge--mention-grey text-gray-medium" },
|
|
94908
|
+
}, sNe = { key: 0 }, aNe = { class: "fr-badge fr-badge--sm fr-badge--mention-grey text-gray-medium" }, oNe = { key: 1 }, lNe = { class: "fr-badge fr-badge--sm fr-badge--mention-grey text-gray-medium" }, SPe = /* @__PURE__ */ C({
|
|
94895
94909
|
__name: "ReuseCard",
|
|
94896
94910
|
props: {
|
|
94897
94911
|
reuse: {},
|
|
@@ -95034,7 +95048,7 @@ const jEe = { class: "flex flex-wrap items-center gap-1" }, $Ee = { class: "text
|
|
|
95034
95048
|
}), dNe = ["role", "aria-selected"], fNe = { class: "text-base font-bold mb-0 flex items-center gap-1" }, gNe = { class: "flex items-center gap-1 text-gray-medium" }, mNe = { class: "flex items-center gap-1 text-sm mb-0" }, CNe = { class: "flex items-center gap-1 text-gray-medium" }, wNe = { class: "text-sm mt-4 mb-0" }, yNe = {
|
|
95035
95049
|
key: 0,
|
|
95036
95050
|
class: "mt-4 mb-0 flex flex-col gap-2 text-sm"
|
|
95037
|
-
},
|
|
95051
|
+
}, bPe = /* @__PURE__ */ C({
|
|
95038
95052
|
__name: "SchemaCard",
|
|
95039
95053
|
props: {
|
|
95040
95054
|
schema: {},
|
|
@@ -95043,7 +95057,7 @@ const jEe = { class: "flex flex-wrap items-center gap-1" }, $Ee = { class: "text
|
|
|
95043
95057
|
showLinks: { type: Boolean }
|
|
95044
95058
|
},
|
|
95045
95059
|
setup(e) {
|
|
95046
|
-
const { t } = C2(), n =
|
|
95060
|
+
const { t } = C2(), n = Rn(), o = qD();
|
|
95047
95061
|
return (u, f) => (be(), Ke("div", {
|
|
95048
95062
|
class: M2(["p-4 relative border bg-white hover:bg-gray-some", { "border-gray-default": !e.selected, "border-datagouv": e.selected }]),
|
|
95049
95063
|
role: e.selectable ? "option" : void 0,
|
|
@@ -95110,7 +95124,7 @@ const jEe = { class: "flex flex-wrap items-center gap-1" }, $Ee = { class: "text
|
|
|
95110
95124
|
})) : z1("", !0)
|
|
95111
95125
|
], 10, dNe));
|
|
95112
95126
|
}
|
|
95113
|
-
}),
|
|
95127
|
+
}), HPe = /* @__PURE__ */ C({
|
|
95114
95128
|
__name: "SimpleBanner",
|
|
95115
95129
|
props: {
|
|
95116
95130
|
type: {}
|
|
@@ -104458,7 +104472,7 @@ const Pke = ["width", "height"], jke = {
|
|
|
104458
104472
|
}, sTe = {
|
|
104459
104473
|
key: 0,
|
|
104460
104474
|
class: "mt-2 font-normal normal-case fr-badge fr-badge--no-icon fr-badge--success"
|
|
104461
|
-
}, aTe = { class: "mr-1" },
|
|
104475
|
+
}, aTe = { class: "mr-1" }, MPe = /* @__PURE__ */ C({
|
|
104462
104476
|
__name: "StatBox",
|
|
104463
104477
|
props: {
|
|
104464
104478
|
title: {},
|
|
@@ -104611,7 +104625,7 @@ const Pke = ["width", "height"], jke = {
|
|
|
104611
104625
|
}, pTe = {
|
|
104612
104626
|
key: 2,
|
|
104613
104627
|
class: "flex items-center gap-1"
|
|
104614
|
-
},
|
|
104628
|
+
}, _Pe = /* @__PURE__ */ C({
|
|
104615
104629
|
__name: "TopicCard",
|
|
104616
104630
|
props: {
|
|
104617
104631
|
topic: {},
|
|
@@ -104782,7 +104796,7 @@ const fTe = { class: "fr-search-bar fr-search-bar--lg w-full" }, gTe = ["for"],
|
|
|
104782
104796
|
buttonText: {}
|
|
104783
104797
|
},
|
|
104784
104798
|
setup(e) {
|
|
104785
|
-
const t = O5(), n =
|
|
104799
|
+
const t = O5(), n = uSe("(max-width: 767px)"), o = ut(!1);
|
|
104786
104800
|
return (u, f) => (be(), Ke("nav", { "aria-labelledby": he(t) }, [
|
|
104787
104801
|
Oe("button", {
|
|
104788
104802
|
class: "flex w-[calc(100%+2rem)] items-center justify-between -mx-4 px-4 py-3 font-bold md:hidden",
|
|
@@ -104966,7 +104980,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
104966
104980
|
fetchSuggestsQuery: w
|
|
104967
104981
|
}), Sn(async () => {
|
|
104968
104982
|
await m();
|
|
104969
|
-
}),
|
|
104983
|
+
}), iSe(h, async () => {
|
|
104970
104984
|
await m();
|
|
104971
104985
|
}, { debounce: 400, maxWait: 800 });
|
|
104972
104986
|
const y = s1(() => {
|
|
@@ -105142,7 +105156,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
105142
105156
|
}),
|
|
105143
105157
|
emits: ["update:modelValue", "update:id"],
|
|
105144
105158
|
setup(e) {
|
|
105145
|
-
const t = ts(e, "modelValue"), n = ts(e, "id"), o =
|
|
105159
|
+
const t = ts(e, "modelValue"), n = ts(e, "id"), o = Rn(), { t: u } = C2(), { fetching: f } = ej({
|
|
105146
105160
|
model: t,
|
|
105147
105161
|
id: n,
|
|
105148
105162
|
getId: (d) => d.id,
|
|
@@ -105223,7 +105237,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
105223
105237
|
},
|
|
105224
105238
|
emits: ["update:modelValue", "update:id"],
|
|
105225
105239
|
setup(e) {
|
|
105226
|
-
const t = ts(e, "modelValue"), n = ts(e, "id"), o =
|
|
105240
|
+
const t = ts(e, "modelValue"), n = ts(e, "id"), o = Rn(), { t: u } = C2();
|
|
105227
105241
|
QP({ model: t, id: n });
|
|
105228
105242
|
async function f(c) {
|
|
105229
105243
|
return (await rl("/api/1/tags/suggest/", {
|
|
@@ -105327,7 +105341,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
105327
105341
|
},
|
|
105328
105342
|
emits: ["update:modelValue", "update:id"],
|
|
105329
105343
|
setup(e) {
|
|
105330
|
-
const t = ts(e, "modelValue"), n = ts(e, "id"), o =
|
|
105344
|
+
const t = ts(e, "modelValue"), n = ts(e, "id"), o = Rn(), { t: u } = C2(), { fetching: f } = ej({
|
|
105331
105345
|
model: t,
|
|
105332
105346
|
id: n,
|
|
105333
105347
|
getId: (d) => d.id,
|
|
@@ -105425,7 +105439,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
105425
105439
|
return n.facets ? n.facets.find((a) => a.name === c)?.count ?? 0 : void 0;
|
|
105426
105440
|
}
|
|
105427
105441
|
const f = s1(() => u("all"));
|
|
105428
|
-
return (c, d) => (be(), F1(
|
|
105442
|
+
return (c, d) => (be(), F1(XF, {
|
|
105429
105443
|
"model-value": e.modelValue ?? "",
|
|
105430
105444
|
name: e.name,
|
|
105431
105445
|
legend: e.label,
|
|
@@ -105655,7 +105669,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
105655
105669
|
}, dOe = { class: "fr-col" }, fOe = { value: void 0 }, gOe = ["value", "hidden"], mOe = { key: 0 }, COe = { class: "space-y-4 mt-2 p-0 relative z-2 list-none" }, wOe = {
|
|
105656
105670
|
key: 1,
|
|
105657
105671
|
class: "mt-4"
|
|
105658
|
-
}, yOe = { class: "rounded p-6 flex flex-wrap gap-4 bg-blue-light text-datagouv" }, vOe = { class: "flex-none" }, xOe = ["src"], LOe = { class: "flex-1 min-w-48" }, SOe = { class: "font-bold mb-2" }, bOe = { class: "mt-1 mb-3" }, HOe = { class: "flex flex-wrap gap-2" }, ML = 20,
|
|
105672
|
+
}, yOe = { class: "rounded p-6 flex flex-wrap gap-4 bg-blue-light text-datagouv" }, vOe = { class: "flex-none" }, xOe = ["src"], LOe = { class: "flex-1 min-w-48" }, SOe = { class: "font-bold mb-2" }, bOe = { class: "mt-1 mb-3" }, HOe = { class: "flex flex-wrap gap-2" }, ML = 20, EPe = /* @__PURE__ */ C({
|
|
105659
105673
|
__name: "GlobalSearch",
|
|
105660
105674
|
props: /* @__PURE__ */ Gh({
|
|
105661
105675
|
config: { default: mle },
|
|
@@ -105669,7 +105683,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
105669
105683
|
let t, n;
|
|
105670
105684
|
const o = e, u = ts(e, "type");
|
|
105671
105685
|
u.value || (u.value = o.config[0]?.class ?? "datasets");
|
|
105672
|
-
const { t: f } = C2(), c =
|
|
105686
|
+
const { t: f } = C2(), c = Rn(), d = u.value, a = s1(
|
|
105673
105687
|
() => o.config.find((V1) => V1.class === u.value)
|
|
105674
105688
|
), h = s1(
|
|
105675
105689
|
() => a.value?.basicFilters ?? []
|
|
@@ -105834,7 +105848,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
105834
105848
|
Y1(Qe(he(f)("Type")), 1)
|
|
105835
105849
|
]),
|
|
105836
105850
|
default: Z1(() => [
|
|
105837
|
-
r1(
|
|
105851
|
+
r1(XF, {
|
|
105838
105852
|
modelValue: u.value,
|
|
105839
105853
|
"onUpdate:modelValue": dt[1] || (dt[1] = (St) => u.value = St),
|
|
105840
105854
|
name: "search-type"
|
|
@@ -106077,7 +106091,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
106077
106091
|
key: 3,
|
|
106078
106092
|
organization: t2
|
|
106079
106093
|
}, () => [
|
|
106080
|
-
r1(
|
|
106094
|
+
r1(HSe, {
|
|
106081
106095
|
organization: t2
|
|
106082
106096
|
}, null, 8, ["organization"])
|
|
106083
106097
|
]) : z1("", !0)
|
|
@@ -106163,7 +106177,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
106163
106177
|
value: null,
|
|
106164
106178
|
disabled: "",
|
|
106165
106179
|
hidden: ""
|
|
106166
|
-
}, zOe = ["value", "disabled", "hidden"], ZOe = ["id"], AOe = ["id"],
|
|
106180
|
+
}, zOe = ["value", "disabled", "hidden"], ZOe = ["id"], AOe = ["id"], NPe = /* @__PURE__ */ C({
|
|
106167
106181
|
__name: "SelectGroup",
|
|
106168
106182
|
props: /* @__PURE__ */ Gh({
|
|
106169
106183
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -106235,7 +106249,7 @@ const bTe = ["for", "title"], HTe = {
|
|
|
106235
106249
|
], 2));
|
|
106236
106250
|
}
|
|
106237
106251
|
});
|
|
106238
|
-
function
|
|
106252
|
+
function zPe(e, t) {
|
|
106239
106253
|
const n = ut(), o = s1(() => Pr(e).find((y) => y.id === n.value));
|
|
106240
106254
|
function u(y) {
|
|
106241
106255
|
return n.value === y;
|
|
@@ -106312,7 +106326,7 @@ async function ROe(e, t) {
|
|
|
106312
106326
|
datasetsViewsTotal: m
|
|
106313
106327
|
};
|
|
106314
106328
|
}
|
|
106315
|
-
function
|
|
106329
|
+
function ZPe(e, t, n, o) {
|
|
106316
106330
|
let u = `month,visit_datasets,download_resource,visit_dataservice,visit_reuse
|
|
106317
106331
|
`;
|
|
106318
106332
|
for (const f in e)
|
|
@@ -106378,8 +106392,8 @@ async function BOe(e, t) {
|
|
|
106378
106392
|
visitsTotal: d
|
|
106379
106393
|
};
|
|
106380
106394
|
}
|
|
106381
|
-
function
|
|
106382
|
-
const e =
|
|
106395
|
+
function APe() {
|
|
106396
|
+
const e = Rn();
|
|
106383
106397
|
if (!e.metricsApiUrl || !e.apiBase)
|
|
106384
106398
|
throw new Error("metricsApiUrl and apiBase must be configured in @datagouv/components-next");
|
|
106385
106399
|
return {
|
|
@@ -106390,7 +106404,7 @@ function ZPe() {
|
|
|
106390
106404
|
createDatasetsForOrganizationMetricsUrl: (t) => TOe(t, e.metricsApiUrl, e.apiBase)
|
|
106391
106405
|
};
|
|
106392
106406
|
}
|
|
106393
|
-
function
|
|
106407
|
+
function RPe(e) {
|
|
106394
106408
|
return {
|
|
106395
106409
|
access_type: e.access_type,
|
|
106396
106410
|
access_audiences: Object.entries(e.access_audiences).map(([t, n]) => ({ role: t, condition: n })),
|
|
@@ -106399,7 +106413,7 @@ function APe(e) {
|
|
|
106399
106413
|
access_type_reason: e.access_type_reason || null
|
|
106400
106414
|
};
|
|
106401
106415
|
}
|
|
106402
|
-
function
|
|
106416
|
+
function kPe() {
|
|
106403
106417
|
return {
|
|
106404
106418
|
access_type: "open",
|
|
106405
106419
|
access_audiences: {},
|
|
@@ -106408,7 +106422,7 @@ function RPe() {
|
|
|
106408
106422
|
authorization_request_url: ""
|
|
106409
106423
|
};
|
|
106410
106424
|
}
|
|
106411
|
-
function
|
|
106425
|
+
function TPe(e) {
|
|
106412
106426
|
return {
|
|
106413
106427
|
access_type: e.access_type,
|
|
106414
106428
|
access_audiences: Object.fromEntries(e.access_audiences.map((t) => [t.role, t.condition])),
|
|
@@ -106417,7 +106431,7 @@ function kPe(e) {
|
|
|
106417
106431
|
authorization_request_url: e.authorization_request_url || ""
|
|
106418
106432
|
};
|
|
106419
106433
|
}
|
|
106420
|
-
const
|
|
106434
|
+
const OPe = {
|
|
106421
106435
|
async install(e, t) {
|
|
106422
106436
|
if (e.provide(WT, t), !t.textClamp) {
|
|
106423
106437
|
const n = await import("./text-clamp.esm-DVseBqZZ.js");
|
|
@@ -106426,166 +106440,167 @@ const TPe = {
|
|
|
106426
106440
|
}
|
|
106427
106441
|
};
|
|
106428
106442
|
export {
|
|
106429
|
-
|
|
106443
|
+
DS as $,
|
|
106430
106444
|
tBe as A,
|
|
106431
|
-
|
|
106445
|
+
iBe as B,
|
|
106432
106446
|
P9e as C,
|
|
106433
106447
|
eBe as D,
|
|
106434
|
-
|
|
106435
|
-
|
|
106436
|
-
|
|
106437
|
-
|
|
106438
|
-
|
|
106439
|
-
|
|
106448
|
+
uBe as E,
|
|
106449
|
+
kxe as F,
|
|
106450
|
+
S5 as G,
|
|
106451
|
+
pF as H,
|
|
106452
|
+
dF as I,
|
|
106453
|
+
oBe as J,
|
|
106440
106454
|
j4e as K,
|
|
106441
|
-
|
|
106442
|
-
|
|
106443
|
-
|
|
106444
|
-
|
|
106445
|
-
|
|
106446
|
-
|
|
106447
|
-
|
|
106448
|
-
|
|
106449
|
-
|
|
106450
|
-
|
|
106451
|
-
|
|
106452
|
-
|
|
106453
|
-
|
|
106454
|
-
|
|
106455
|
-
|
|
106455
|
+
aBe as L,
|
|
106456
|
+
sBe as M,
|
|
106457
|
+
tLe as N,
|
|
106458
|
+
Il as O,
|
|
106459
|
+
Bl as P,
|
|
106460
|
+
nBe as Q,
|
|
106461
|
+
WLe as R,
|
|
106462
|
+
EPe as S,
|
|
106463
|
+
tm as T,
|
|
106464
|
+
hBe as U,
|
|
106465
|
+
cBe as V,
|
|
106466
|
+
aLe as W,
|
|
106467
|
+
XT as X,
|
|
106468
|
+
GF as Y,
|
|
106469
|
+
QR as Z,
|
|
106456
106470
|
YD as _,
|
|
106457
106471
|
C2 as a,
|
|
106458
|
-
|
|
106459
|
-
|
|
106460
|
-
|
|
106461
|
-
|
|
106462
|
-
|
|
106463
|
-
|
|
106464
|
-
|
|
106465
|
-
|
|
106466
|
-
|
|
106467
|
-
|
|
106468
|
-
|
|
106469
|
-
|
|
106470
|
-
|
|
106471
|
-
|
|
106472
|
-
|
|
106473
|
-
|
|
106474
|
-
|
|
106475
|
-
|
|
106476
|
-
|
|
106477
|
-
|
|
106478
|
-
|
|
106479
|
-
|
|
106480
|
-
|
|
106481
|
-
|
|
106482
|
-
|
|
106483
|
-
|
|
106484
|
-
|
|
106485
|
-
|
|
106486
|
-
|
|
106487
|
-
|
|
106488
|
-
|
|
106489
|
-
|
|
106490
|
-
|
|
106491
|
-
|
|
106492
|
-
|
|
106493
|
-
|
|
106494
|
-
|
|
106495
|
-
|
|
106496
|
-
|
|
106497
|
-
|
|
106498
|
-
|
|
106499
|
-
|
|
106500
|
-
|
|
106501
|
-
|
|
106472
|
+
kOe as a$,
|
|
106473
|
+
pBe as a0,
|
|
106474
|
+
HSe as a1,
|
|
106475
|
+
Xh as a2,
|
|
106476
|
+
zm as a3,
|
|
106477
|
+
YF as a4,
|
|
106478
|
+
lO as a5,
|
|
106479
|
+
em as a6,
|
|
106480
|
+
f5e as a7,
|
|
106481
|
+
FS as a8,
|
|
106482
|
+
V3 as a9,
|
|
106483
|
+
qF as aA,
|
|
106484
|
+
qOe as aB,
|
|
106485
|
+
Nb as aC,
|
|
106486
|
+
xO as aD,
|
|
106487
|
+
_Pe as aE,
|
|
106488
|
+
xLe as aF,
|
|
106489
|
+
iO as aG,
|
|
106490
|
+
jOe as aH,
|
|
106491
|
+
RPe as aI,
|
|
106492
|
+
TPe as aJ,
|
|
106493
|
+
TOe as aK,
|
|
106494
|
+
ZPe as aL,
|
|
106495
|
+
OPe as aM,
|
|
106496
|
+
kPe as aN,
|
|
106497
|
+
cle as aO,
|
|
106498
|
+
lle as aP,
|
|
106499
|
+
hle as aQ,
|
|
106500
|
+
ule as aR,
|
|
106501
|
+
PD as aS,
|
|
106502
|
+
wx as aT,
|
|
106503
|
+
DOe as aU,
|
|
106504
|
+
d3 as aV,
|
|
106505
|
+
oO as aW,
|
|
106506
|
+
fVe as aX,
|
|
106507
|
+
Dye as aY,
|
|
106508
|
+
_L as aZ,
|
|
106509
|
+
OOe as a_,
|
|
106510
|
+
dBe as aa,
|
|
106511
|
+
ave as ab,
|
|
106512
|
+
Qu as ac,
|
|
106513
|
+
XF as ad,
|
|
106514
|
+
oS as ae,
|
|
106515
|
+
fBe as af,
|
|
106502
106516
|
vPe as ag,
|
|
106503
|
-
|
|
106504
|
-
|
|
106505
|
-
|
|
106506
|
-
|
|
106507
|
-
|
|
106508
|
-
|
|
106509
|
-
|
|
106510
|
-
|
|
106511
|
-
|
|
106512
|
-
|
|
106513
|
-
|
|
106514
|
-
|
|
106515
|
-
|
|
106516
|
-
|
|
106517
|
-
|
|
106518
|
-
|
|
106519
|
-
|
|
106517
|
+
xPe as ah,
|
|
106518
|
+
F_e as ai,
|
|
106519
|
+
NEe as aj,
|
|
106520
|
+
Kb as ak,
|
|
106521
|
+
SPe as al,
|
|
106522
|
+
eP as am,
|
|
106523
|
+
pNe as an,
|
|
106524
|
+
bPe as ao,
|
|
106525
|
+
CTe as ap,
|
|
106526
|
+
R4 as aq,
|
|
106527
|
+
NPe as ar,
|
|
106528
|
+
HPe as as,
|
|
106529
|
+
NT as at,
|
|
106530
|
+
MPe as au,
|
|
106531
|
+
OD as av,
|
|
106532
|
+
kD as aw,
|
|
106533
|
+
TD as ax,
|
|
106520
106534
|
ID as ay,
|
|
106521
|
-
|
|
106522
|
-
|
|
106523
|
-
|
|
106524
|
-
|
|
106525
|
-
|
|
106526
|
-
|
|
106527
|
-
|
|
106528
|
-
|
|
106529
|
-
|
|
106530
|
-
|
|
106531
|
-
|
|
106532
|
-
|
|
106533
|
-
|
|
106534
|
-
|
|
106535
|
-
|
|
106536
|
-
|
|
106537
|
-
|
|
106538
|
-
|
|
106539
|
-
|
|
106540
|
-
|
|
106541
|
-
|
|
106542
|
-
|
|
106543
|
-
|
|
106544
|
-
|
|
106545
|
-
|
|
106535
|
+
BD as az,
|
|
106536
|
+
Wb as b,
|
|
106537
|
+
ELe as b0,
|
|
106538
|
+
dle as b1,
|
|
106539
|
+
ple as b2,
|
|
106540
|
+
mle as b3,
|
|
106541
|
+
gle as b4,
|
|
106542
|
+
fle as b5,
|
|
106543
|
+
ive as b6,
|
|
106544
|
+
KT as b7,
|
|
106545
|
+
HHe as b8,
|
|
106546
|
+
ROe as b9,
|
|
106547
|
+
zPe as bA,
|
|
106548
|
+
FEe as bB,
|
|
106549
|
+
dVe as bC,
|
|
106550
|
+
qD as bD,
|
|
106551
|
+
gVe as bE,
|
|
106552
|
+
V4e as bF,
|
|
106553
|
+
$D as bG,
|
|
106554
|
+
APe as bH,
|
|
106555
|
+
PEe as bI,
|
|
106556
|
+
KOe as ba,
|
|
106557
|
+
PS as bb,
|
|
106558
|
+
aO as bc,
|
|
106559
|
+
jD as bd,
|
|
106560
|
+
qb as be,
|
|
106546
106561
|
DD as bf,
|
|
106547
|
-
|
|
106548
|
-
|
|
106549
|
-
|
|
106550
|
-
|
|
106551
|
-
|
|
106552
|
-
|
|
106553
|
-
|
|
106554
|
-
|
|
106555
|
-
|
|
106556
|
-
|
|
106557
|
-
|
|
106558
|
-
|
|
106559
|
-
|
|
106560
|
-
|
|
106561
|
-
|
|
106562
|
-
|
|
106563
|
-
|
|
106564
|
-
|
|
106565
|
-
|
|
106566
|
-
|
|
106567
|
-
|
|
106568
|
-
|
|
106569
|
-
|
|
106570
|
-
|
|
106562
|
+
FD as bg,
|
|
106563
|
+
BOe as bh,
|
|
106564
|
+
mBe as bi,
|
|
106565
|
+
LPe as bj,
|
|
106566
|
+
DEe as bk,
|
|
106567
|
+
sO as bl,
|
|
106568
|
+
YHe as bm,
|
|
106569
|
+
Rh as bn,
|
|
106570
|
+
N8 as bo,
|
|
106571
|
+
zle as bp,
|
|
106572
|
+
hF as bq,
|
|
106573
|
+
Gye as br,
|
|
106574
|
+
QOe as bs,
|
|
106575
|
+
Ele as bt,
|
|
106576
|
+
XOe as bu,
|
|
106577
|
+
bb as bv,
|
|
106578
|
+
$s as bw,
|
|
106579
|
+
POe as bx,
|
|
106580
|
+
zL as by,
|
|
106581
|
+
ds as bz,
|
|
106582
|
+
gBe as c,
|
|
106583
|
+
Ia as d,
|
|
106584
|
+
WOe as e,
|
|
106585
|
+
nO as f,
|
|
106571
106586
|
Zm as g,
|
|
106572
|
-
|
|
106573
|
-
|
|
106574
|
-
|
|
106575
|
-
|
|
106576
|
-
|
|
106577
|
-
|
|
106578
|
-
|
|
106579
|
-
|
|
106580
|
-
|
|
106581
|
-
|
|
106582
|
-
|
|
106583
|
-
|
|
106587
|
+
lMe as h,
|
|
106588
|
+
js as i,
|
|
106589
|
+
XD as j,
|
|
106590
|
+
ag as k,
|
|
106591
|
+
ZL as l,
|
|
106592
|
+
z5e as m,
|
|
106593
|
+
IS as n,
|
|
106594
|
+
fa as o,
|
|
106595
|
+
Yh as p,
|
|
106596
|
+
$Oe as q,
|
|
106597
|
+
UOe as r,
|
|
106598
|
+
AL as s,
|
|
106584
106599
|
A9e as t,
|
|
106585
|
-
|
|
106586
|
-
|
|
106587
|
-
|
|
106588
|
-
|
|
106589
|
-
|
|
106590
|
-
|
|
106600
|
+
Rn as u,
|
|
106601
|
+
Ta as v,
|
|
106602
|
+
SR as w,
|
|
106603
|
+
nve as x,
|
|
106604
|
+
qxe as y,
|
|
106605
|
+
lBe as z
|
|
106591
106606
|
};
|