@datagouv/components-next 1.0.2-dev.59 → 1.0.2-dev.60

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.
@@ -10983,7 +10983,7 @@ var Fv = /* @__PURE__ */ o({
10983
10983
  }), R = A(() => {
10984
10984
  const s1 = i.toast.position || i.position;
10985
10985
  return i.heights.filter((N1) => N1.position === s1).reduce((N1, J1, x2) => x2 >= b.value ? N1 : N1 + J1.height, 0);
10986
- }), T = A(() => b.value * i.gap + R.value || 0), j = A(() => i.toast.closeButton ?? i.closeButton), N = A(() => i.toast.duration || i.duration || co), D = Q(0), $ = Q(0), X = Q(null), n1 = A(() => i.position.split("-")), t1 = A(() => n1.value[0]), r1 = A(() => n1.value[1]), u1 = A(() => typeof i.toast.title != "string"), o1 = A(() => typeof i.toast.description != "string"), { isDocumentHidden: b1 } = Rv(), I = A(() => H.value && H.value === "loading");
10986
+ }), T = A(() => b.value * i.gap + R.value || 0), j = A(() => i.toast.closeButton ?? i.closeButton), N = A(() => i.toast.duration || i.duration || co), D = Q(0), $ = Q(0), X = Q(null), n1 = A(() => i.position.split("-")), t1 = A(() => n1.value[0]), r1 = A(() => n1.value[1]), u1 = A(() => typeof i.toast.title != "string"), c1 = A(() => typeof i.toast.description != "string"), { isDocumentHidden: b1 } = Rv(), I = A(() => H.value && H.value === "loading");
10987
10987
  a2(() => {
10988
10988
  a.value = !0, g.value = N.value;
10989
10989
  }), g2(async () => {
@@ -11147,7 +11147,7 @@ var Fv = /* @__PURE__ */ o({
11147
11147
  key: 0,
11148
11148
  "data-description": "",
11149
11149
  class: w1(L(X0)(s1.descriptionClass, z.value, s1.classes?.description, s1.toast.classes?.description))
11150
- }, [o1.value ? (v(), Y(v2(s1.toast.description), Ya(At({ key: 0 }, s1.toast.componentProps)), null, 16)) : (v(), _(f1, { key: 1 }, [K(E(s1.toast.description), 1)], 64))], 2)) : q("v-if", !0)], 2),
11150
+ }, [c1.value ? (v(), Y(v2(s1.toast.description), Ya(At({ key: 0 }, s1.toast.componentProps)), null, 16)) : (v(), _(f1, { key: 1 }, [K(E(s1.toast.description), 1)], 64))], 2)) : q("v-if", !0)], 2),
11151
11151
  s1.toast.cancel ? (v(), _("button", {
11152
11152
  key: 1,
11153
11153
  style: S2(s1.toast.cancelButtonStyle || s1.cancelButtonStyle),
@@ -12220,7 +12220,7 @@ const OV = function(e) {
12220
12220
  const n1 = (((D = l.flip) == null ? void 0 : D.index) || 0) + 1, t1 = R[n1];
12221
12221
  if (t1 && (!(p === "alignment" ? H !== j4(t1) : !1) || // We leave the current main axis only if every placement on that axis
12222
12222
  // overflows the main axis.
12223
- N.every((o1) => j4(o1.placement) === H ? o1.overflows[0] > 0 : !0)))
12223
+ N.every((c1) => j4(c1.placement) === H ? c1.overflows[0] > 0 : !0)))
12224
12224
  return {
12225
12225
  data: {
12226
12226
  index: n1,
@@ -12230,20 +12230,20 @@ const OV = function(e) {
12230
12230
  placement: t1
12231
12231
  }
12232
12232
  };
12233
- let r1 = ($ = N.filter((u1) => u1.overflows[0] <= 0).sort((u1, o1) => u1.overflows[1] - o1.overflows[1])[0]) == null ? void 0 : $.placement;
12233
+ let r1 = ($ = N.filter((u1) => u1.overflows[0] <= 0).sort((u1, c1) => u1.overflows[1] - c1.overflows[1])[0]) == null ? void 0 : $.placement;
12234
12234
  if (!r1)
12235
12235
  switch (g) {
12236
12236
  case "bestFit": {
12237
12237
  var X;
12238
- const u1 = (X = N.filter((o1) => {
12238
+ const u1 = (X = N.filter((c1) => {
12239
12239
  if (b) {
12240
- const b1 = j4(o1.placement);
12240
+ const b1 = j4(c1.placement);
12241
12241
  return b1 === H || // Create a bias to the `y` side axis due to horizontal
12242
12242
  // reading directions favoring greater width.
12243
12243
  b1 === "y";
12244
12244
  }
12245
12245
  return !0;
12246
- }).map((o1) => [o1.placement, o1.overflows.filter((b1) => b1 > 0).reduce((b1, I) => b1 + I, 0)]).sort((o1, b1) => o1[1] - b1[1])[0]) == null ? void 0 : X[0];
12246
+ }).map((c1) => [c1.placement, c1.overflows.filter((b1) => b1 > 0).reduce((b1, I) => b1 + I, 0)]).sort((c1, b1) => c1[1] - b1[1])[0]) == null ? void 0 : X[0];
12247
12247
  u1 && (r1 = u1);
12248
12248
  break;
12249
12249
  }
@@ -13213,10 +13213,10 @@ is.exports;
13213
13213
  var No;
13214
13214
  function VS() {
13215
13215
  return No || (No = 1, (function(e, t) {
13216
- var i = 200, s = "Expected a function", n = "__lodash_hash_undefined__", l = 1, a = 2, c = 9007199254740991, u = "[object Arguments]", h = "[object Array]", d = "[object Boolean]", p = "[object Date]", C = "[object Error]", g = "[object Function]", m = "[object GeneratorFunction]", f = "[object Map]", x = "[object Number]", y = "[object Object]", H = "[object Promise]", V = "[object RegExp]", Z = "[object Set]", z = "[object String]", b = "[object Symbol]", R = "[object WeakMap]", T = "[object ArrayBuffer]", j = "[object DataView]", N = "[object Float32Array]", D = "[object Float64Array]", $ = "[object Int8Array]", X = "[object Int16Array]", n1 = "[object Int32Array]", t1 = "[object Uint8Array]", r1 = "[object Uint8ClampedArray]", u1 = "[object Uint16Array]", o1 = "[object Uint32Array]", b1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, I = /^\w*$/, v1 = /^\./, S1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, P = /[\\^$.*+?()[\]{}|]/g, B1 = /\\(\\)?/g, R1 = /\w*$/, A1 = /^\[object .+?Constructor\]$/, s1 = /^(?:0|[1-9]\d*)$/, E1 = {};
13217
- E1[N] = E1[D] = E1[$] = E1[X] = E1[n1] = E1[t1] = E1[r1] = E1[u1] = E1[o1] = !0, E1[u] = E1[h] = E1[T] = E1[d] = E1[j] = E1[p] = E1[C] = E1[g] = E1[f] = E1[x] = E1[y] = E1[V] = E1[Z] = E1[z] = E1[R] = !1;
13216
+ var i = 200, s = "Expected a function", n = "__lodash_hash_undefined__", l = 1, a = 2, c = 9007199254740991, u = "[object Arguments]", h = "[object Array]", d = "[object Boolean]", p = "[object Date]", C = "[object Error]", g = "[object Function]", m = "[object GeneratorFunction]", f = "[object Map]", x = "[object Number]", y = "[object Object]", H = "[object Promise]", V = "[object RegExp]", Z = "[object Set]", z = "[object String]", b = "[object Symbol]", R = "[object WeakMap]", T = "[object ArrayBuffer]", j = "[object DataView]", N = "[object Float32Array]", D = "[object Float64Array]", $ = "[object Int8Array]", X = "[object Int16Array]", n1 = "[object Int32Array]", t1 = "[object Uint8Array]", r1 = "[object Uint8ClampedArray]", u1 = "[object Uint16Array]", c1 = "[object Uint32Array]", b1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, I = /^\w*$/, v1 = /^\./, S1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, P = /[\\^$.*+?()[\]{}|]/g, B1 = /\\(\\)?/g, R1 = /\w*$/, A1 = /^\[object .+?Constructor\]$/, s1 = /^(?:0|[1-9]\d*)$/, E1 = {};
13217
+ E1[N] = E1[D] = E1[$] = E1[X] = E1[n1] = E1[t1] = E1[r1] = E1[u1] = E1[c1] = !0, E1[u] = E1[h] = E1[T] = E1[d] = E1[j] = E1[p] = E1[C] = E1[g] = E1[f] = E1[x] = E1[y] = E1[V] = E1[Z] = E1[z] = E1[R] = !1;
13218
13218
  var N1 = {};
13219
- N1[u] = N1[h] = N1[T] = N1[j] = N1[d] = N1[p] = N1[N] = N1[D] = N1[$] = N1[X] = N1[n1] = N1[f] = N1[x] = N1[y] = N1[V] = N1[Z] = N1[z] = N1[b] = N1[t1] = N1[r1] = N1[u1] = N1[o1] = !0, N1[C] = N1[g] = N1[R] = !1;
13219
+ N1[u] = N1[h] = N1[T] = N1[j] = N1[d] = N1[p] = N1[N] = N1[D] = N1[$] = N1[X] = N1[n1] = N1[f] = N1[x] = N1[y] = N1[V] = N1[Z] = N1[z] = N1[b] = N1[t1] = N1[r1] = N1[u1] = N1[c1] = !0, N1[C] = N1[g] = N1[R] = !1;
13220
13220
  var J1 = typeof D9 == "object" && D9 && D9.Object === Object && D9, x2 = typeof self == "object" && self && self.Object === Object && self, M2 = J1 || x2 || Function("return this")(), O2 = t && !t.nodeType && t, _2 = O2 && !0 && e && !e.nodeType && e, be = _2 && _2.exports === O2, T1 = be && J1.process, U1 = (function() {
13221
13221
  try {
13222
13222
  return T1 && T1.binding("util");
@@ -13268,7 +13268,7 @@ function VS() {
13268
13268
  function Y1(M, F) {
13269
13269
  return M?.[F];
13270
13270
  }
13271
- function c1(M) {
13271
+ function o1(M) {
13272
13272
  var F = !1;
13273
13273
  if (M != null && typeof M.toString != "function")
13274
13274
  try {
@@ -13277,7 +13277,7 @@ function VS() {
13277
13277
  }
13278
13278
  return F;
13279
13279
  }
13280
- function h1(M) {
13280
+ function d1(M) {
13281
13281
  var F = -1, J = Array(M.size);
13282
13282
  return M.forEach(function(C1, j1) {
13283
13283
  J[++F] = [j1, C1];
@@ -13299,7 +13299,7 @@ function VS() {
13299
13299
  return M ? "Symbol(src)_1." + M : "";
13300
13300
  })(), $e = ke.toString, at = lt.hasOwnProperty, y0 = lt.toString, k7 = RegExp(
13301
13301
  "^" + $e.call(at).replace(P, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
13302
- ), T5 = be ? M2.Buffer : void 0, H0 = M2.Symbol, G = M2.Uint8Array, d1 = i1(Object.getPrototypeOf, Object), z1 = Object.create, t2 = lt.propertyIsEnumerable, ie = K1.splice, K2 = Object.getOwnPropertySymbols, P1 = T5 ? T5.isBuffer : void 0, F1 = i1(Object.keys, Object), Q1 = _i(M2, "DataView"), X2 = _i(M2, "Map"), Q2 = _i(M2, "Promise"), v0 = _i(M2, "Set"), M4 = _i(M2, "WeakMap"), V0 = _i(Object, "create"), F7 = N4(Q1), B5 = N4(X2), D7 = N4(Q2), O7 = N4(v0), I7 = N4(M4), b4 = H0 ? H0.prototype : void 0, t0 = b4 ? b4.valueOf : void 0, v9 = b4 ? b4.toString : void 0;
13302
+ ), T5 = be ? M2.Buffer : void 0, H0 = M2.Symbol, G = M2.Uint8Array, h1 = i1(Object.getPrototypeOf, Object), z1 = Object.create, t2 = lt.propertyIsEnumerable, ie = K1.splice, K2 = Object.getOwnPropertySymbols, P1 = T5 ? T5.isBuffer : void 0, F1 = i1(Object.keys, Object), Q1 = _i(M2, "DataView"), X2 = _i(M2, "Map"), Q2 = _i(M2, "Promise"), v0 = _i(M2, "Set"), M4 = _i(M2, "WeakMap"), V0 = _i(Object, "create"), F7 = N4(Q1), B5 = N4(X2), D7 = N4(Q2), O7 = N4(v0), I7 = N4(M4), b4 = H0 ? H0.prototype : void 0, t0 = b4 ? b4.valueOf : void 0, v9 = b4 ? b4.toString : void 0;
13303
13303
  function S0(M) {
13304
13304
  var F = -1, J = M ? M.length : 0;
13305
13305
  for (this.clear(); ++F < J; ) {
@@ -13458,7 +13458,7 @@ function VS() {
13458
13458
  if (ux(M))
13459
13459
  return $L(M, F);
13460
13460
  if (se == y || se == u || Fe && !O1) {
13461
- if (c1(M))
13461
+ if (o1(M))
13462
13462
  return O1 ? M : {};
13463
13463
  if (b2 = rx(Fe ? {} : M), !F)
13464
13464
  return XL(M, K7(b2, M));
@@ -13503,7 +13503,7 @@ function VS() {
13503
13503
  function F5(M, F, J, C1, j1, O1) {
13504
13504
  var n2 = b0(M), b2 = b0(F), re = h, se = h;
13505
13505
  n2 || (re = M0(M), re = re == u ? y : re), b2 || (se = M0(F), se = se == u ? y : se);
13506
- var Fe = re == y && !c1(M), De = se == y && !c1(F), Ee = re == se;
13506
+ var Fe = re == y && !o1(M), De = se == y && !o1(F), Ee = re == se;
13507
13507
  if (Ee && !Fe)
13508
13508
  return O1 || (O1 = new wt()), n2 || hx(M) ? Fa(M, F, J, C1, j1, O1) : QL(M, F, re, J, C1, j1, O1);
13509
13509
  if (!(j1 & a)) {
@@ -13541,7 +13541,7 @@ function VS() {
13541
13541
  function Z1(M) {
13542
13542
  if (!Ri(M) || ax(M))
13543
13543
  return !1;
13544
- var F = qa(M) || c1(M) ? k7 : A1;
13544
+ var F = qa(M) || o1(M) ? k7 : A1;
13545
13545
  return F.test(N4(M));
13546
13546
  }
13547
13547
  function $1(M) {
@@ -13601,7 +13601,7 @@ function VS() {
13601
13601
  return new M.constructor(J, M.byteOffset, M.byteLength);
13602
13602
  }
13603
13603
  function WL(M, F, J) {
13604
- var C1 = F ? J(h1(M), !0) : h1(M);
13604
+ var C1 = F ? J(d1(M), !0) : d1(M);
13605
13605
  return I1(C1, ze, new M.constructor());
13606
13606
  }
13607
13607
  function qL(M) {
@@ -13687,7 +13687,7 @@ function VS() {
13687
13687
  case z:
13688
13688
  return M == F + "";
13689
13689
  case f:
13690
- var b2 = h1;
13690
+ var b2 = d1;
13691
13691
  case Z:
13692
13692
  var re = O1 & a;
13693
13693
  if (b2 || (b2 = D1), M.size != F.size && !re)
@@ -13789,7 +13789,7 @@ function VS() {
13789
13789
  return F && typeof M[0] == "string" && at.call(M, "index") && (J.index = M.index, J.input = M.input), J;
13790
13790
  }
13791
13791
  function rx(M) {
13792
- return typeof M.constructor == "function" && !Ia(M) ? s2(d1(M)) : {};
13792
+ return typeof M.constructor == "function" && !Ia(M) ? s2(h1(M)) : {};
13793
13793
  }
13794
13794
  function nx(M, F, J, C1) {
13795
13795
  var j1 = M.constructor;
@@ -13809,7 +13809,7 @@ function VS() {
13809
13809
  case t1:
13810
13810
  case r1:
13811
13811
  case u1:
13812
- case o1:
13812
+ case c1:
13813
13813
  return YL(M, C1);
13814
13814
  case f:
13815
13815
  return WL(M, C1, J);
@@ -19068,9 +19068,9 @@ const Oo = "[A-Za-z$_][0-9A-Za-z$_]*", $M = [
19068
19068
  Bp
19069
19069
  );
19070
19070
  function jM(e) {
19071
- const t = e.regex, i = (o1, { after: b1 }) => {
19072
- const I = "</" + o1[0].slice(1);
19073
- return o1.input.indexOf(I, b1) !== -1;
19071
+ const t = e.regex, i = (c1, { after: b1 }) => {
19072
+ const I = "</" + c1[0].slice(1);
19073
+ return c1.input.indexOf(I, b1) !== -1;
19074
19074
  }, s = Oo, n = {
19075
19075
  begin: "<>",
19076
19076
  end: "</>"
@@ -19081,8 +19081,8 @@ function jM(e) {
19081
19081
  * @param {RegExpMatchArray} match
19082
19082
  * @param {CallbackResponse} response
19083
19083
  */
19084
- isTrulyOpeningTag: (o1, b1) => {
19085
- const I = o1[0].length + o1.index, v1 = o1.input[I];
19084
+ isTrulyOpeningTag: (c1, b1) => {
19085
+ const I = c1[0].length + c1.index, v1 = c1.input[I];
19086
19086
  if (
19087
19087
  // HTML should not include another raw `<` inside a tag
19088
19088
  // nested type?
@@ -19094,9 +19094,9 @@ function jM(e) {
19094
19094
  b1.ignoreMatch();
19095
19095
  return;
19096
19096
  }
19097
- v1 === ">" && (i(o1, { after: I }) || b1.ignoreMatch());
19097
+ v1 === ">" && (i(c1, { after: I }) || b1.ignoreMatch());
19098
19098
  let S1;
19099
- const P = o1.input.substring(I);
19099
+ const P = c1.input.substring(I);
19100
19100
  if (S1 = P.match(/^\s*=/)) {
19101
19101
  b1.ignoreMatch();
19102
19102
  return;
@@ -19359,8 +19359,8 @@ function jM(e) {
19359
19359
  match: /\b[A-Z][A-Z_0-9]+\b/,
19360
19360
  className: "variable.constant"
19361
19361
  };
19362
- function $(o1) {
19363
- return t.concat("(?!", o1.join("|"), ")");
19362
+ function $(c1) {
19363
+ return t.concat("(?!", c1.join("|"), ")");
19364
19364
  }
19365
19365
  const X = {
19366
19366
  match: t.concat(
@@ -19369,7 +19369,7 @@ function jM(e) {
19369
19369
  ...Ap,
19370
19370
  "super",
19371
19371
  "import"
19372
- ].map((o1) => `${o1}\\s*\\(`)),
19372
+ ].map((c1) => `${c1}\\s*\\(`)),
19373
19373
  s,
19374
19374
  t.lookahead(/\s*\(/)
19375
19375
  ),
@@ -25836,7 +25836,7 @@ function Ab(e) {
25836
25836
  n1,
25837
25837
  t1,
25838
25838
  r1
25839
- ], o1 = {
25839
+ ], c1 = {
25840
25840
  match: /(@|#(un)?)available/,
25841
25841
  scope: "keyword",
25842
25842
  starts: { contains: [
@@ -25858,7 +25858,7 @@ function Ab(e) {
25858
25858
  scope: "meta",
25859
25859
  match: F2(/@/, n0)
25860
25860
  }, v1 = [
25861
- o1,
25861
+ c1,
25862
25862
  b1,
25863
25863
  I
25864
25864
  ], S1 = {
@@ -26281,9 +26281,9 @@ const i3 = "[A-Za-z$_][0-9A-Za-z$_]*", $p = [
26281
26281
  qp
26282
26282
  );
26283
26283
  function kb(e) {
26284
- const t = e.regex, i = (o1, { after: b1 }) => {
26285
- const I = "</" + o1[0].slice(1);
26286
- return o1.input.indexOf(I, b1) !== -1;
26284
+ const t = e.regex, i = (c1, { after: b1 }) => {
26285
+ const I = "</" + c1[0].slice(1);
26286
+ return c1.input.indexOf(I, b1) !== -1;
26287
26287
  }, s = i3, n = {
26288
26288
  begin: "<>",
26289
26289
  end: "</>"
@@ -26294,8 +26294,8 @@ function kb(e) {
26294
26294
  * @param {RegExpMatchArray} match
26295
26295
  * @param {CallbackResponse} response
26296
26296
  */
26297
- isTrulyOpeningTag: (o1, b1) => {
26298
- const I = o1[0].length + o1.index, v1 = o1.input[I];
26297
+ isTrulyOpeningTag: (c1, b1) => {
26298
+ const I = c1[0].length + c1.index, v1 = c1.input[I];
26299
26299
  if (
26300
26300
  // HTML should not include another raw `<` inside a tag
26301
26301
  // nested type?
@@ -26307,9 +26307,9 @@ function kb(e) {
26307
26307
  b1.ignoreMatch();
26308
26308
  return;
26309
26309
  }
26310
- v1 === ">" && (i(o1, { after: I }) || b1.ignoreMatch());
26310
+ v1 === ">" && (i(c1, { after: I }) || b1.ignoreMatch());
26311
26311
  let S1;
26312
- const P = o1.input.substring(I);
26312
+ const P = c1.input.substring(I);
26313
26313
  if (S1 = P.match(/^\s*=/)) {
26314
26314
  b1.ignoreMatch();
26315
26315
  return;
@@ -26572,8 +26572,8 @@ function kb(e) {
26572
26572
  match: /\b[A-Z][A-Z_0-9]+\b/,
26573
26573
  className: "variable.constant"
26574
26574
  };
26575
- function $(o1) {
26576
- return t.concat("(?!", o1.join("|"), ")");
26575
+ function $(c1) {
26576
+ return t.concat("(?!", c1.join("|"), ")");
26577
26577
  }
26578
26578
  const X = {
26579
26579
  match: t.concat(
@@ -26582,7 +26582,7 @@ function kb(e) {
26582
26582
  ...jp,
26583
26583
  "super",
26584
26584
  "import"
26585
- ].map((o1) => `${o1}\\s*\\(`)),
26585
+ ].map((c1) => `${c1}\\s*\\(`)),
26586
26586
  s,
26587
26587
  t.lookahead(/\s*\(/)
26588
26588
  ),
@@ -27558,8 +27558,8 @@ function Ub() {
27558
27558
  throw new Error("map is read-only");
27559
27559
  } : G instanceof Set && (G.add = G.clear = G.delete = function() {
27560
27560
  throw new Error("set is read-only");
27561
- }), Object.freeze(G), Object.getOwnPropertyNames(G).forEach((d1) => {
27562
- const z1 = G[d1], t2 = typeof z1;
27561
+ }), Object.freeze(G), Object.getOwnPropertyNames(G).forEach((h1) => {
27562
+ const z1 = G[h1], t2 = typeof z1;
27563
27563
  (t2 === "object" || t2 === "function") && !Object.isFrozen(z1) && e(z1);
27564
27564
  }), G;
27565
27565
  }
@@ -27567,8 +27567,8 @@ function Ub() {
27567
27567
  /**
27568
27568
  * @param {CompiledMode} mode
27569
27569
  */
27570
- constructor(d1) {
27571
- d1.data === void 0 && (d1.data = {}), this.data = d1.data, this.isMatchIgnored = !1;
27570
+ constructor(h1) {
27571
+ h1.data === void 0 && (h1.data = {}), this.data = h1.data, this.isMatchIgnored = !1;
27572
27572
  }
27573
27573
  ignoreMatch() {
27574
27574
  this.isMatchIgnored = !0;
@@ -27577,27 +27577,27 @@ function Ub() {
27577
27577
  function i(G) {
27578
27578
  return G.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
27579
27579
  }
27580
- function s(G, ...d1) {
27580
+ function s(G, ...h1) {
27581
27581
  const z1 = /* @__PURE__ */ Object.create(null);
27582
27582
  for (const t2 in G)
27583
27583
  z1[t2] = G[t2];
27584
- return d1.forEach(function(t2) {
27584
+ return h1.forEach(function(t2) {
27585
27585
  for (const ie in t2)
27586
27586
  z1[ie] = t2[ie];
27587
27587
  }), /** @type {T} */
27588
27588
  z1;
27589
27589
  }
27590
- const n = "</span>", l = (G) => !!G.scope, a = (G, { prefix: d1 }) => {
27590
+ const n = "</span>", l = (G) => !!G.scope, a = (G, { prefix: h1 }) => {
27591
27591
  if (G.startsWith("language:"))
27592
27592
  return G.replace("language:", "language-");
27593
27593
  if (G.includes(".")) {
27594
27594
  const z1 = G.split(".");
27595
27595
  return [
27596
- `${d1}${z1.shift()}`,
27596
+ `${h1}${z1.shift()}`,
27597
27597
  ...z1.map((t2, ie) => `${t2}${"_".repeat(ie + 1)}`)
27598
27598
  ].join(" ");
27599
27599
  }
27600
- return `${d1}${G}`;
27600
+ return `${h1}${G}`;
27601
27601
  };
27602
27602
  class c {
27603
27603
  /**
@@ -27606,24 +27606,24 @@ function Ub() {
27606
27606
  * @param {Tree} parseTree - the parse tree (must support `walk` API)
27607
27607
  * @param {{classPrefix: string}} options
27608
27608
  */
27609
- constructor(d1, z1) {
27610
- this.buffer = "", this.classPrefix = z1.classPrefix, d1.walk(this);
27609
+ constructor(h1, z1) {
27610
+ this.buffer = "", this.classPrefix = z1.classPrefix, h1.walk(this);
27611
27611
  }
27612
27612
  /**
27613
27613
  * Adds texts to the output stream
27614
27614
  *
27615
27615
  * @param {string} text */
27616
- addText(d1) {
27617
- this.buffer += i(d1);
27616
+ addText(h1) {
27617
+ this.buffer += i(h1);
27618
27618
  }
27619
27619
  /**
27620
27620
  * Adds a node open to the output stream (if needed)
27621
27621
  *
27622
27622
  * @param {Node} node */
27623
- openNode(d1) {
27624
- if (!l(d1)) return;
27623
+ openNode(h1) {
27624
+ if (!l(h1)) return;
27625
27625
  const z1 = a(
27626
- d1.scope,
27626
+ h1.scope,
27627
27627
  { prefix: this.classPrefix }
27628
27628
  );
27629
27629
  this.span(z1);
@@ -27632,8 +27632,8 @@ function Ub() {
27632
27632
  * Adds a node close to the output stream (if needed)
27633
27633
  *
27634
27634
  * @param {Node} node */
27635
- closeNode(d1) {
27636
- l(d1) && (this.buffer += n);
27635
+ closeNode(h1) {
27636
+ l(h1) && (this.buffer += n);
27637
27637
  }
27638
27638
  /**
27639
27639
  * returns the accumulated buffer
@@ -27646,13 +27646,13 @@ function Ub() {
27646
27646
  * Builds a span element
27647
27647
  *
27648
27648
  * @param {string} className */
27649
- span(d1) {
27650
- this.buffer += `<span class="${d1}">`;
27649
+ span(h1) {
27650
+ this.buffer += `<span class="${h1}">`;
27651
27651
  }
27652
27652
  }
27653
27653
  const u = (G = {}) => {
27654
- const d1 = { children: [] };
27655
- return Object.assign(d1, G), d1;
27654
+ const h1 = { children: [] };
27655
+ return Object.assign(h1, G), h1;
27656
27656
  };
27657
27657
  class h {
27658
27658
  constructor() {
@@ -27665,12 +27665,12 @@ function Ub() {
27665
27665
  return this.rootNode;
27666
27666
  }
27667
27667
  /** @param {Node} node */
27668
- add(d1) {
27669
- this.top.children.push(d1);
27668
+ add(h1) {
27669
+ this.top.children.push(h1);
27670
27670
  }
27671
27671
  /** @param {string} scope */
27672
- openNode(d1) {
27673
- const z1 = u({ scope: d1 });
27672
+ openNode(h1) {
27673
+ const z1 = u({ scope: h1 });
27674
27674
  this.add(z1), this.stack.push(z1);
27675
27675
  }
27676
27676
  closeNode() {
@@ -27687,21 +27687,21 @@ function Ub() {
27687
27687
  * @typedef { import("./html_renderer").Renderer } Renderer
27688
27688
  * @param {Renderer} builder
27689
27689
  */
27690
- walk(d1) {
27691
- return this.constructor._walk(d1, this.rootNode);
27690
+ walk(h1) {
27691
+ return this.constructor._walk(h1, this.rootNode);
27692
27692
  }
27693
27693
  /**
27694
27694
  * @param {Renderer} builder
27695
27695
  * @param {Node} node
27696
27696
  */
27697
- static _walk(d1, z1) {
27698
- return typeof z1 == "string" ? d1.addText(z1) : z1.children && (d1.openNode(z1), z1.children.forEach((t2) => this._walk(d1, t2)), d1.closeNode(z1)), d1;
27697
+ static _walk(h1, z1) {
27698
+ return typeof z1 == "string" ? h1.addText(z1) : z1.children && (h1.openNode(z1), z1.children.forEach((t2) => this._walk(h1, t2)), h1.closeNode(z1)), h1;
27699
27699
  }
27700
27700
  /**
27701
27701
  * @param {Node} node
27702
27702
  */
27703
- static _collapse(d1) {
27704
- typeof d1 != "string" && d1.children && (d1.children.every((z1) => typeof z1 == "string") ? d1.children = [d1.children.join("")] : d1.children.forEach((z1) => {
27703
+ static _collapse(h1) {
27704
+ typeof h1 != "string" && h1.children && (h1.children.every((z1) => typeof z1 == "string") ? h1.children = [h1.children.join("")] : h1.children.forEach((z1) => {
27705
27705
  h._collapse(z1);
27706
27706
  }));
27707
27707
  }
@@ -27710,18 +27710,18 @@ function Ub() {
27710
27710
  /**
27711
27711
  * @param {*} options
27712
27712
  */
27713
- constructor(d1) {
27714
- super(), this.options = d1;
27713
+ constructor(h1) {
27714
+ super(), this.options = h1;
27715
27715
  }
27716
27716
  /**
27717
27717
  * @param {string} text
27718
27718
  */
27719
- addText(d1) {
27720
- d1 !== "" && this.add(d1);
27719
+ addText(h1) {
27720
+ h1 !== "" && this.add(h1);
27721
27721
  }
27722
27722
  /** @param {string} scope */
27723
- startScope(d1) {
27724
- this.openNode(d1);
27723
+ startScope(h1) {
27724
+ this.openNode(h1);
27725
27725
  }
27726
27726
  endScope() {
27727
27727
  this.closeNode();
@@ -27730,8 +27730,8 @@ function Ub() {
27730
27730
  * @param {Emitter & {root: DataNode}} emitter
27731
27731
  * @param {string} name
27732
27732
  */
27733
- __addSublanguage(d1, z1) {
27734
- const t2 = d1.root;
27733
+ __addSublanguage(h1, z1) {
27734
+ const t2 = h1.root;
27735
27735
  z1 && (t2.scope = `language:${z1}`), this.add(t2);
27736
27736
  }
27737
27737
  toHTML() {
@@ -27757,8 +27757,8 @@ function Ub() {
27757
27757
  return G.map((z1) => p(z1)).join("");
27758
27758
  }
27759
27759
  function x(G) {
27760
- const d1 = G[G.length - 1];
27761
- return typeof d1 == "object" && d1.constructor === Object ? (G.splice(G.length - 1, 1), d1) : {};
27760
+ const h1 = G[G.length - 1];
27761
+ return typeof h1 == "object" && h1.constructor === Object ? (G.splice(G.length - 1, 1), h1) : {};
27762
27762
  }
27763
27763
  function y(...G) {
27764
27764
  return "(" + (x(G).capture ? "" : "?:") + G.map((t2) => p(t2)).join("|") + ")";
@@ -27766,12 +27766,12 @@ function Ub() {
27766
27766
  function H(G) {
27767
27767
  return new RegExp(G.toString() + "|").exec("").length - 1;
27768
27768
  }
27769
- function V(G, d1) {
27770
- const z1 = G && G.exec(d1);
27769
+ function V(G, h1) {
27770
+ const z1 = G && G.exec(h1);
27771
27771
  return z1 && z1.index === 0;
27772
27772
  }
27773
27773
  const Z = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
27774
- function z(G, { joinWith: d1 }) {
27774
+ function z(G, { joinWith: h1 }) {
27775
27775
  let z1 = 0;
27776
27776
  return G.map((t2) => {
27777
27777
  z1 += 1;
@@ -27786,18 +27786,18 @@ function Ub() {
27786
27786
  P1 += K2.substring(0, F1.index), K2 = K2.substring(F1.index + F1[0].length), F1[0][0] === "\\" && F1[1] ? P1 += "\\" + String(Number(F1[1]) + ie) : (P1 += F1[0], F1[0] === "(" && z1++);
27787
27787
  }
27788
27788
  return P1;
27789
- }).map((t2) => `(${t2})`).join(d1);
27789
+ }).map((t2) => `(${t2})`).join(h1);
27790
27790
  }
27791
27791
  const b = /\b\B/, R = "[a-zA-Z]\\w*", T = "[a-zA-Z_]\\w*", j = "\\b\\d+(\\.\\d+)?", N = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", D = "\\b(0b[01]+)", $ = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", X = (G = {}) => {
27792
- const d1 = /^#![ ]*\//;
27792
+ const h1 = /^#![ ]*\//;
27793
27793
  return G.binary && (G.begin = f(
27794
- d1,
27794
+ h1,
27795
27795
  /.*\b/,
27796
27796
  G.binary,
27797
27797
  /\b.*/
27798
27798
  )), s({
27799
27799
  scope: "meta",
27800
- begin: d1,
27800
+ begin: h1,
27801
27801
  end: /$/,
27802
27802
  relevance: 0,
27803
27803
  /** @type {ModeCallback} */
@@ -27822,12 +27822,12 @@ function Ub() {
27822
27822
  contains: [n1]
27823
27823
  }, u1 = {
27824
27824
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
27825
- }, o1 = function(G, d1, z1 = {}) {
27825
+ }, c1 = function(G, h1, z1 = {}) {
27826
27826
  const t2 = s(
27827
27827
  {
27828
27828
  scope: "comment",
27829
27829
  begin: G,
27830
- end: d1,
27830
+ end: h1,
27831
27831
  contains: []
27832
27832
  },
27833
27833
  z1
@@ -27888,7 +27888,7 @@ function Ub() {
27888
27888
  // look for 3 words in a row
27889
27889
  }
27890
27890
  ), t2;
27891
- }, b1 = o1("//", "$"), I = o1("/\\*", "\\*/"), v1 = o1("#", "$"), S1 = {
27891
+ }, b1 = c1("//", "$"), I = c1("/\\*", "\\*/"), v1 = c1("#", "$"), S1 = {
27892
27892
  scope: "number",
27893
27893
  begin: j,
27894
27894
  relevance: 0
@@ -27932,7 +27932,7 @@ function Ub() {
27932
27932
  BACKSLASH_ESCAPE: n1,
27933
27933
  BINARY_NUMBER_MODE: B1,
27934
27934
  BINARY_NUMBER_RE: D,
27935
- COMMENT: o1,
27935
+ COMMENT: c1,
27936
27936
  C_BLOCK_COMMENT_MODE: I,
27937
27937
  C_LINE_COMMENT_MODE: b1,
27938
27938
  C_NUMBER_MODE: P,
@@ -27942,12 +27942,12 @@ function Ub() {
27942
27942
  G,
27943
27943
  {
27944
27944
  /** @type {ModeCallback} */
27945
- "on:begin": (d1, z1) => {
27946
- z1.data._beginMatch = d1[1];
27945
+ "on:begin": (h1, z1) => {
27946
+ z1.data._beginMatch = h1[1];
27947
27947
  },
27948
27948
  /** @type {ModeCallback} */
27949
- "on:end": (d1, z1) => {
27950
- z1.data._beginMatch !== d1[1] && z1.ignoreMatch();
27949
+ "on:end": (h1, z1) => {
27950
+ z1.data._beginMatch !== h1[1] && z1.ignoreMatch();
27951
27951
  }
27952
27952
  }
27953
27953
  );
@@ -27967,28 +27967,28 @@ function Ub() {
27967
27967
  UNDERSCORE_IDENT_RE: T,
27968
27968
  UNDERSCORE_TITLE_MODE: s1
27969
27969
  });
27970
- function x2(G, d1) {
27971
- G.input[G.index - 1] === "." && d1.ignoreMatch();
27970
+ function x2(G, h1) {
27971
+ G.input[G.index - 1] === "." && h1.ignoreMatch();
27972
27972
  }
27973
- function M2(G, d1) {
27973
+ function M2(G, h1) {
27974
27974
  G.className !== void 0 && (G.scope = G.className, delete G.className);
27975
27975
  }
27976
- function O2(G, d1) {
27977
- d1 && G.beginKeywords && (G.begin = "\\b(" + G.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", G.__beforeBegin = x2, G.keywords = G.keywords || G.beginKeywords, delete G.beginKeywords, G.relevance === void 0 && (G.relevance = 0));
27976
+ function O2(G, h1) {
27977
+ h1 && G.beginKeywords && (G.begin = "\\b(" + G.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", G.__beforeBegin = x2, G.keywords = G.keywords || G.beginKeywords, delete G.beginKeywords, G.relevance === void 0 && (G.relevance = 0));
27978
27978
  }
27979
- function _2(G, d1) {
27979
+ function _2(G, h1) {
27980
27980
  Array.isArray(G.illegal) && (G.illegal = y(...G.illegal));
27981
27981
  }
27982
- function be(G, d1) {
27982
+ function be(G, h1) {
27983
27983
  if (G.match) {
27984
27984
  if (G.begin || G.end) throw new Error("begin & end are not supported with match");
27985
27985
  G.begin = G.match, delete G.match;
27986
27986
  }
27987
27987
  }
27988
- function T1(G, d1) {
27988
+ function T1(G, h1) {
27989
27989
  G.relevance === void 0 && (G.relevance = 1);
27990
27990
  }
27991
- const U1 = (G, d1) => {
27991
+ const U1 = (G, h1) => {
27992
27992
  if (!G.beforeMatch) return;
27993
27993
  if (G.starts) throw new Error("beforeMatch cannot be used with starts");
27994
27994
  const z1 = Object.assign({}, G);
@@ -28016,42 +28016,42 @@ function Ub() {
28016
28016
  "value"
28017
28017
  // common variable name
28018
28018
  ], ze = "keyword";
28019
- function zt(G, d1, z1 = ze) {
28019
+ function zt(G, h1, z1 = ze) {
28020
28020
  const t2 = /* @__PURE__ */ Object.create(null);
28021
28021
  return typeof G == "string" ? ie(z1, G.split(" ")) : Array.isArray(G) ? ie(z1, G) : Object.keys(G).forEach(function(K2) {
28022
28022
  Object.assign(
28023
28023
  t2,
28024
- zt(G[K2], d1, K2)
28024
+ zt(G[K2], h1, K2)
28025
28025
  );
28026
28026
  }), t2;
28027
28027
  function ie(K2, P1) {
28028
- d1 && (P1 = P1.map((F1) => F1.toLowerCase())), P1.forEach(function(F1) {
28028
+ h1 && (P1 = P1.map((F1) => F1.toLowerCase())), P1.forEach(function(F1) {
28029
28029
  const Q1 = F1.split("|");
28030
28030
  t2[Q1[0]] = [K2, k1(Q1[0], Q1[1])];
28031
28031
  });
28032
28032
  }
28033
28033
  }
28034
- function k1(G, d1) {
28035
- return d1 ? Number(d1) : _1(G) ? 0 : 1;
28034
+ function k1(G, h1) {
28035
+ return h1 ? Number(h1) : _1(G) ? 0 : 1;
28036
28036
  }
28037
28037
  function _1(G) {
28038
28038
  return f2.includes(G.toLowerCase());
28039
28039
  }
28040
28040
  const I1 = {}, X1 = (G) => {
28041
28041
  console.error(G);
28042
- }, o2 = (G, ...d1) => {
28043
- console.log(`WARN: ${G}`, ...d1);
28044
- }, a1 = (G, d1) => {
28045
- I1[`${G}/${d1}`] || (console.log(`Deprecated as of ${G}. ${d1}`), I1[`${G}/${d1}`] = !0);
28042
+ }, o2 = (G, ...h1) => {
28043
+ console.log(`WARN: ${G}`, ...h1);
28044
+ }, a1 = (G, h1) => {
28045
+ I1[`${G}/${h1}`] || (console.log(`Deprecated as of ${G}. ${h1}`), I1[`${G}/${h1}`] = !0);
28046
28046
  }, y1 = new Error();
28047
- function Y1(G, d1, { key: z1 }) {
28047
+ function Y1(G, h1, { key: z1 }) {
28048
28048
  let t2 = 0;
28049
28049
  const ie = G[z1], K2 = {}, P1 = {};
28050
- for (let F1 = 1; F1 <= d1.length; F1++)
28051
- P1[F1 + t2] = ie[F1], K2[F1 + t2] = !0, t2 += H(d1[F1 - 1]);
28050
+ for (let F1 = 1; F1 <= h1.length; F1++)
28051
+ P1[F1 + t2] = ie[F1], K2[F1 + t2] = !0, t2 += H(h1[F1 - 1]);
28052
28052
  G[z1] = P1, G[z1]._emit = K2, G[z1]._multi = !0;
28053
28053
  }
28054
- function c1(G) {
28054
+ function o1(G) {
28055
28055
  if (Array.isArray(G.begin)) {
28056
28056
  if (G.skip || G.excludeBegin || G.returnBegin)
28057
28057
  throw X1("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), y1;
@@ -28060,7 +28060,7 @@ function Ub() {
28060
28060
  Y1(G, G.begin, { key: "beginScope" }), G.begin = z(G.begin, { joinWith: "" });
28061
28061
  }
28062
28062
  }
28063
- function h1(G) {
28063
+ function d1(G) {
28064
28064
  if (Array.isArray(G.end)) {
28065
28065
  if (G.skip || G.excludeEnd || G.returnEnd)
28066
28066
  throw X1("skip, excludeEnd, returnEnd not compatible with endScope: {}"), y1;
@@ -28073,10 +28073,10 @@ function Ub() {
28073
28073
  G.scope && typeof G.scope == "object" && G.scope !== null && (G.beginScope = G.scope, delete G.scope);
28074
28074
  }
28075
28075
  function D1(G) {
28076
- i1(G), typeof G.beginScope == "string" && (G.beginScope = { _wrap: G.beginScope }), typeof G.endScope == "string" && (G.endScope = { _wrap: G.endScope }), c1(G), h1(G);
28076
+ i1(G), typeof G.beginScope == "string" && (G.beginScope = { _wrap: G.beginScope }), typeof G.endScope == "string" && (G.endScope = { _wrap: G.endScope }), o1(G), d1(G);
28077
28077
  }
28078
28078
  function K1(G) {
28079
- function d1(P1, F1) {
28079
+ function h1(P1, F1) {
28080
28080
  return new RegExp(
28081
28081
  p(P1),
28082
28082
  "m" + (G.case_insensitive ? "i" : "") + (G.unicodeRegex ? "u" : "") + (F1 ? "g" : "")
@@ -28093,7 +28093,7 @@ function Ub() {
28093
28093
  compile() {
28094
28094
  this.regexes.length === 0 && (this.exec = () => null);
28095
28095
  const F1 = this.regexes.map((Q1) => Q1[1]);
28096
- this.matcherRe = d1(z(F1, { joinWith: "|" }), !0), this.lastIndex = 0;
28096
+ this.matcherRe = h1(z(F1, { joinWith: "|" }), !0), this.lastIndex = 0;
28097
28097
  }
28098
28098
  /** @param {string} s */
28099
28099
  exec(F1) {
@@ -28163,7 +28163,7 @@ function Ub() {
28163
28163
  T1
28164
28164
  ].forEach((Q2) => Q2(P1, F1)), P1.isCompiled = !0;
28165
28165
  let X2 = null;
28166
- return typeof P1.keywords == "object" && P1.keywords.$pattern && (P1.keywords = Object.assign({}, P1.keywords), X2 = P1.keywords.$pattern, delete P1.keywords.$pattern), X2 = X2 || /\w+/, P1.keywords && (P1.keywords = zt(P1.keywords, G.case_insensitive)), Q1.keywordPatternRe = d1(X2, !0), F1 && (P1.begin || (P1.begin = /\B|\b/), Q1.beginRe = d1(Q1.begin), !P1.end && !P1.endsWithParent && (P1.end = /\B|\b/), P1.end && (Q1.endRe = d1(Q1.end)), Q1.terminatorEnd = p(Q1.end) || "", P1.endsWithParent && F1.terminatorEnd && (Q1.terminatorEnd += (P1.end ? "|" : "") + F1.terminatorEnd)), P1.illegal && (Q1.illegalRe = d1(
28166
+ return typeof P1.keywords == "object" && P1.keywords.$pattern && (P1.keywords = Object.assign({}, P1.keywords), X2 = P1.keywords.$pattern, delete P1.keywords.$pattern), X2 = X2 || /\w+/, P1.keywords && (P1.keywords = zt(P1.keywords, G.case_insensitive)), Q1.keywordPatternRe = h1(X2, !0), F1 && (P1.begin || (P1.begin = /\B|\b/), Q1.beginRe = h1(Q1.begin), !P1.end && !P1.endsWithParent && (P1.end = /\B|\b/), P1.end && (Q1.endRe = h1(Q1.end)), Q1.terminatorEnd = p(Q1.end) || "", P1.endsWithParent && F1.terminatorEnd && (Q1.terminatorEnd += (P1.end ? "|" : "") + F1.terminatorEnd)), P1.illegal && (Q1.illegalRe = h1(
28167
28167
  /** @type {RegExp | string} */
28168
28168
  P1.illegal
28169
28169
  )), P1.contains || (P1.contains = []), P1.contains = [].concat(...P1.contains.map(function(Q2) {
@@ -28187,18 +28187,18 @@ function Ub() {
28187
28187
  return G ? G.endsWithParent || ke(G.starts) : !1;
28188
28188
  }
28189
28189
  function lt(G) {
28190
- return G.variants && !G.cachedVariants && (G.cachedVariants = G.variants.map(function(d1) {
28191
- return s(G, { variants: null }, d1);
28190
+ return G.variants && !G.cachedVariants && (G.cachedVariants = G.variants.map(function(h1) {
28191
+ return s(G, { variants: null }, h1);
28192
28192
  })), G.cachedVariants ? G.cachedVariants : ke(G) ? s(G, { starts: G.starts ? s(G.starts) : null }) : Object.isFrozen(G) ? s(G) : G;
28193
28193
  }
28194
28194
  var ye = "11.11.1";
28195
28195
  class Pt extends Error {
28196
- constructor(d1, z1) {
28197
- super(d1), this.name = "HTMLInjectionError", this.html = z1;
28196
+ constructor(h1, z1) {
28197
+ super(h1), this.name = "HTMLInjectionError", this.html = z1;
28198
28198
  }
28199
28199
  }
28200
28200
  const $e = i, at = s, y0 = Symbol("nomatch"), k7 = 7, T5 = function(G) {
28201
- const d1 = /* @__PURE__ */ Object.create(null), z1 = /* @__PURE__ */ Object.create(null), t2 = [];
28201
+ const h1 = /* @__PURE__ */ Object.create(null), z1 = /* @__PURE__ */ Object.create(null), t2 = [];
28202
28202
  let ie = !0;
28203
28203
  const K2 = "Could not find the language '{}', did you forget to load/include a language module?", P1 = { disableAutodetect: !0, name: "Plain text", contains: [] };
28204
28204
  let F1 = {
@@ -28272,7 +28272,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), oe = H1, A2 = W1), i2
28272
28272
  if (k2 === "") return;
28273
28273
  let Z1 = null;
28274
28274
  if (typeof s2.subLanguage == "string") {
28275
- if (!d1[s2.subLanguage]) {
28275
+ if (!h1[s2.subLanguage]) {
28276
28276
  He.addText(k2);
28277
28277
  return;
28278
28278
  }
@@ -28444,7 +28444,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), oe = H1, A2 = W1), i2
28444
28444
  return W1._emitter.addText(H1), W1;
28445
28445
  }
28446
28446
  function V0(H1, W1) {
28447
- W1 = W1 || F1.languages || Object.keys(d1);
28447
+ W1 = W1 || F1.languages || Object.keys(h1);
28448
28448
  const i2 = M4(H1), A2 = W1.filter(i0).filter(S9).map(
28449
28449
  (Ne) => v0(Ne, H1, !1)
28450
28450
  );
@@ -28524,18 +28524,18 @@ https://github.com/highlightjs/highlight.js/issues/2277`), oe = H1, A2 = W1), i2
28524
28524
  throw A2;
28525
28525
  i2 = P1;
28526
28526
  }
28527
- i2.name || (i2.name = H1), d1[H1] = i2, i2.rawDefinition = W1.bind(null, G), i2.aliases && V9(i2.aliases, { languageName: H1 });
28527
+ i2.name || (i2.name = H1), h1[H1] = i2, i2.rawDefinition = W1.bind(null, G), i2.aliases && V9(i2.aliases, { languageName: H1 });
28528
28528
  }
28529
28529
  function S0(H1) {
28530
- delete d1[H1];
28530
+ delete h1[H1];
28531
28531
  for (const W1 of Object.keys(z1))
28532
28532
  z1[W1] === H1 && delete z1[W1];
28533
28533
  }
28534
28534
  function P7() {
28535
- return Object.keys(d1);
28535
+ return Object.keys(h1);
28536
28536
  }
28537
28537
  function i0(H1) {
28538
- return H1 = (H1 || "").toLowerCase(), d1[H1] || d1[z1[H1]];
28538
+ return H1 = (H1 || "").toLowerCase(), h1[H1] || h1[z1[H1]];
28539
28539
  }
28540
28540
  function V9(H1, { languageName: W1 }) {
28541
28541
  typeof H1 == "string" && (H1 = [H1]), H1.forEach((i2) => {
@@ -30310,14 +30310,14 @@ function aN(e, t, i) {
30310
30310
  return P === 45 ? (e.consume(P), I) : $(P);
30311
30311
  }
30312
30312
  function u1(P) {
30313
- return P === 47 ? (e.consume(P), a = "", o1) : $(P);
30313
+ return P === 47 ? (e.consume(P), a = "", c1) : $(P);
30314
30314
  }
30315
- function o1(P) {
30315
+ function c1(P) {
30316
30316
  if (P === 62) {
30317
30317
  const B1 = a.toLowerCase();
30318
30318
  return ec.includes(B1) ? (e.consume(P), v1) : $(P);
30319
30319
  }
30320
- return st(P) && a.length < 8 ? (e.consume(P), a += String.fromCharCode(P), o1) : $(P);
30320
+ return st(P) && a.length < 8 ? (e.consume(P), a += String.fromCharCode(P), c1) : $(P);
30321
30321
  }
30322
30322
  function b1(P) {
30323
30323
  return P === 93 ? (e.consume(P), I) : $(P);
@@ -30436,9 +30436,9 @@ function hN(e, t, i) {
30436
30436
  return I === 62 ? (e.consume(I), e.exit("htmlTextData"), e.exit("htmlText"), t) : i(I);
30437
30437
  }
30438
30438
  function u1(I) {
30439
- return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(I), e.exit("lineEnding"), o1;
30439
+ return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(I), e.exit("lineEnding"), c1;
30440
30440
  }
30441
- function o1(I) {
30441
+ function c1(I) {
30442
30442
  return w2(I) ? V2(e, b1, "linePrefix", s.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(I) : b1(I);
30443
30443
  }
30444
30444
  function b1(I) {
@@ -31063,7 +31063,7 @@ function QN(e, t, i) {
31063
31063
  function R(D, $) {
31064
31064
  return X;
31065
31065
  function X(n1, t1, r1) {
31066
- let u1, o1, b1, I;
31066
+ let u1, c1, b1, I;
31067
31067
  return Array.isArray(n1) ? (
31068
31068
  /* c8 ignore next 1 */
31069
31069
  S1(n1)
@@ -31087,7 +31087,7 @@ function QN(e, t, i) {
31087
31087
  }
31088
31088
  }
31089
31089
  function S1(A1) {
31090
- return u1 = A1, o1 = 0, A1.length === 0 ? r1 : P(A1[o1]);
31090
+ return u1 = A1, c1 = 0, A1.length === 0 ? r1 : P(A1[c1]);
31091
31091
  }
31092
31092
  function P(A1) {
31093
31093
  return s1;
@@ -31107,7 +31107,7 @@ function QN(e, t, i) {
31107
31107
  return D(b1, I), t1;
31108
31108
  }
31109
31109
  function R1(A1) {
31110
- return I.restore(), ++o1 < u1.length ? P(u1[o1]) : r1;
31110
+ return I.restore(), ++c1 < u1.length ? P(u1[c1]) : r1;
31111
31111
  }
31112
31112
  }
31113
31113
  }
@@ -31355,7 +31355,7 @@ function aZ(e) {
31355
31355
  htmlTextData: N,
31356
31356
  image: u(u1),
31357
31357
  label: b1,
31358
- labelText: o1,
31358
+ labelText: c1,
31359
31359
  lineEnding: D,
31360
31360
  link: u(r1),
31361
31361
  listItem: u(),
@@ -31390,21 +31390,21 @@ function aZ(e) {
31390
31390
  buffer: a,
31391
31391
  resume: d,
31392
31392
  data: i
31393
- }, c1 = [];
31394
- let h1 = -1;
31395
- for (; ++h1 < a1.length; )
31396
- if (a1[h1][1].type === "listOrdered" || a1[h1][1].type === "listUnordered")
31397
- if (a1[h1][0] === "enter")
31398
- c1.push(h1);
31393
+ }, o1 = [];
31394
+ let d1 = -1;
31395
+ for (; ++d1 < a1.length; )
31396
+ if (a1[d1][1].type === "listOrdered" || a1[d1][1].type === "listUnordered")
31397
+ if (a1[d1][0] === "enter")
31398
+ o1.push(d1);
31399
31399
  else {
31400
- const i1 = c1.pop();
31401
- h1 = n(a1, i1, h1);
31400
+ const i1 = o1.pop();
31401
+ d1 = n(a1, i1, d1);
31402
31402
  }
31403
- for (h1 = -1; ++h1 < a1.length; ) {
31404
- const i1 = t[a1[h1][0]];
31405
- hC.call(i1, a1[h1][1].type) && i1[a1[h1][1].type].call(Object.assign({
31406
- sliceSerialize: a1[h1][2].sliceSerialize
31407
- }, Y1), a1[h1][1]);
31403
+ for (d1 = -1; ++d1 < a1.length; ) {
31404
+ const i1 = t[a1[d1][0]];
31405
+ hC.call(i1, a1[d1][1].type) && i1[a1[d1][1].type].call(Object.assign({
31406
+ sliceSerialize: a1[d1][2].sliceSerialize
31407
+ }, Y1), a1[d1][1]);
31408
31408
  }
31409
31409
  if (Y1.tokenStack.length > 0) {
31410
31410
  const i1 = Y1.tokenStack[Y1.tokenStack.length - 1];
@@ -31421,23 +31421,23 @@ function aZ(e) {
31421
31421
  column: 1,
31422
31422
  offset: 0
31423
31423
  })
31424
- }, h1 = -1; ++h1 < t.transforms.length; )
31425
- y1 = t.transforms[h1](y1) || y1;
31424
+ }, d1 = -1; ++d1 < t.transforms.length; )
31425
+ y1 = t.transforms[d1](y1) || y1;
31426
31426
  return y1;
31427
31427
  }
31428
31428
  function n(a1, y1, Y1) {
31429
- let c1 = y1 - 1, h1 = -1, i1 = !1, D1, K1, ke, lt;
31430
- for (; ++c1 <= Y1; ) {
31431
- const ye = a1[c1];
31429
+ let o1 = y1 - 1, d1 = -1, i1 = !1, D1, K1, ke, lt;
31430
+ for (; ++o1 <= Y1; ) {
31431
+ const ye = a1[o1];
31432
31432
  switch (ye[1].type) {
31433
31433
  case "listUnordered":
31434
31434
  case "listOrdered":
31435
31435
  case "blockQuote": {
31436
- ye[0] === "enter" ? h1++ : h1--, lt = void 0;
31436
+ ye[0] === "enter" ? d1++ : d1--, lt = void 0;
31437
31437
  break;
31438
31438
  }
31439
31439
  case "lineEndingBlank": {
31440
- ye[0] === "enter" && (D1 && !lt && !h1 && !ke && (ke = c1), lt = void 0);
31440
+ ye[0] === "enter" && (D1 && !lt && !d1 && !ke && (ke = o1), lt = void 0);
31441
31441
  break;
31442
31442
  }
31443
31443
  case "linePrefix":
@@ -31449,9 +31449,9 @@ function aZ(e) {
31449
31449
  default:
31450
31450
  lt = void 0;
31451
31451
  }
31452
- if (!h1 && ye[0] === "enter" && ye[1].type === "listItemPrefix" || h1 === -1 && ye[0] === "exit" && (ye[1].type === "listUnordered" || ye[1].type === "listOrdered")) {
31452
+ if (!d1 && ye[0] === "enter" && ye[1].type === "listItemPrefix" || d1 === -1 && ye[0] === "exit" && (ye[1].type === "listUnordered" || ye[1].type === "listOrdered")) {
31453
31453
  if (D1) {
31454
- let Pt = c1;
31454
+ let Pt = o1;
31455
31455
  for (K1 = void 0; Pt--; ) {
31456
31456
  const $e = a1[Pt];
31457
31457
  if ($e[1].type === "lineEnding" || $e[1].type === "lineEndingBlank") {
@@ -31459,7 +31459,7 @@ function aZ(e) {
31459
31459
  K1 && (a1[K1][1].type = "lineEndingBlank", i1 = !0), $e[1].type = "lineEnding", K1 = Pt;
31460
31460
  } else if (!($e[1].type === "linePrefix" || $e[1].type === "blockQuotePrefix" || $e[1].type === "blockQuotePrefixWhitespace" || $e[1].type === "blockQuoteMarker" || $e[1].type === "listItemIndent")) break;
31461
31461
  }
31462
- ke && (!K1 || ke < K1) && (D1._spread = !0), D1.end = Object.assign({}, K1 ? a1[K1][1].start : ye[1].end), a1.splice(K1 || c1, 0, ["exit", D1, ye[2]]), c1++, Y1++;
31462
+ ke && (!K1 || ke < K1) && (D1._spread = !0), D1.end = Object.assign({}, K1 ? a1[K1][1].start : ye[1].end), a1.splice(K1 || o1, 0, ["exit", D1, ye[2]]), o1++, Y1++;
31463
31463
  }
31464
31464
  if (ye[1].type === "listItemPrefix") {
31465
31465
  const Pt = {
@@ -31469,7 +31469,7 @@ function aZ(e) {
31469
31469
  // @ts-expect-error: we’ll add `end` in a second.
31470
31470
  end: void 0
31471
31471
  };
31472
- D1 = Pt, a1.splice(c1, 0, ["enter", Pt, ye[2]]), c1++, Y1++, ke = void 0, lt = !0;
31472
+ D1 = Pt, a1.splice(o1, 0, ["enter", Pt, ye[2]]), o1++, Y1++, ke = void 0, lt = !0;
31473
31473
  }
31474
31474
  }
31475
31475
  }
@@ -31477,8 +31477,8 @@ function aZ(e) {
31477
31477
  }
31478
31478
  function l(a1, y1) {
31479
31479
  return Y1;
31480
- function Y1(c1) {
31481
- c.call(this, a1(c1), c1), y1 && y1.call(this, c1);
31480
+ function Y1(o1) {
31481
+ c.call(this, a1(o1), o1), y1 && y1.call(this, o1);
31482
31482
  }
31483
31483
  }
31484
31484
  function a() {
@@ -31501,9 +31501,9 @@ function aZ(e) {
31501
31501
  }
31502
31502
  }
31503
31503
  function h(a1, y1) {
31504
- const Y1 = this.stack.pop(), c1 = this.tokenStack.pop();
31505
- if (c1)
31506
- c1[0].type !== a1.type && (y1 ? y1.call(this, a1, c1[0]) : (c1[1] || nc).call(this, a1, c1[0]));
31504
+ const Y1 = this.stack.pop(), o1 = this.tokenStack.pop();
31505
+ if (o1)
31506
+ o1[0].type !== a1.type && (y1 ? y1.call(this, a1, o1[0]) : (o1[1] || nc).call(this, a1, o1[0]));
31507
31507
  else throw new Error("Cannot close `" + a1.type + "` (" + ds({
31508
31508
  start: a1.start,
31509
31509
  end: a1.end
@@ -31572,12 +31572,12 @@ function aZ(e) {
31572
31572
  }
31573
31573
  function j(a1) {
31574
31574
  const Y1 = this.stack[this.stack.length - 1].children;
31575
- let c1 = Y1[Y1.length - 1];
31576
- (!c1 || c1.type !== "text") && (c1 = X1(), c1.position = {
31575
+ let o1 = Y1[Y1.length - 1];
31576
+ (!o1 || o1.type !== "text") && (o1 = X1(), o1.position = {
31577
31577
  start: Q0(a1.start),
31578
31578
  // @ts-expect-error: we’ll add `end` later.
31579
31579
  end: void 0
31580
- }, Y1.push(c1)), this.stack.push(c1);
31580
+ }, Y1.push(o1)), this.stack.push(o1);
31581
31581
  }
31582
31582
  function N(a1) {
31583
31583
  const y1 = this.stack.pop();
@@ -31625,15 +31625,15 @@ function aZ(e) {
31625
31625
  delete a1.identifier, delete a1.label;
31626
31626
  this.data.referenceType = void 0;
31627
31627
  }
31628
- function o1(a1) {
31628
+ function c1(a1) {
31629
31629
  const y1 = this.sliceSerialize(a1), Y1 = this.stack[this.stack.length - 2];
31630
31630
  Y1.label = uC(y1), Y1.identifier = Kt(y1).toLowerCase();
31631
31631
  }
31632
31632
  function b1() {
31633
31633
  const a1 = this.stack[this.stack.length - 1], y1 = this.resume(), Y1 = this.stack[this.stack.length - 1];
31634
31634
  if (this.data.inReference = !0, Y1.type === "link") {
31635
- const c1 = a1.children;
31636
- Y1.children = c1;
31635
+ const o1 = a1.children;
31636
+ Y1.children = o1;
31637
31637
  } else
31638
31638
  Y1.alt = y1;
31639
31639
  }
@@ -31660,10 +31660,10 @@ function aZ(e) {
31660
31660
  }
31661
31661
  function A1(a1) {
31662
31662
  const y1 = this.sliceSerialize(a1), Y1 = this.data.characterReferenceType;
31663
- let c1;
31664
- Y1 ? (c1 = eC(y1, Y1 === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : c1 = il(y1);
31665
- const h1 = this.stack[this.stack.length - 1];
31666
- h1.value += c1;
31663
+ let o1;
31664
+ Y1 ? (o1 = eC(y1, Y1 === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : o1 = il(y1);
31665
+ const d1 = this.stack[this.stack.length - 1];
31666
+ d1.value += o1;
31667
31667
  }
31668
31668
  function s1(a1) {
31669
31669
  const y1 = this.stack.pop();
@@ -48136,8 +48136,8 @@ let Nf = Symbol("VirtualContext"), BO = o({ name: "VirtualProvider", setup(e, {
48136
48136
  p.value = N === Ie.Specific ? D : vu({ focus: N }, { resolveItems: () => T.virtual.value.options, resolveActiveIndex: () => {
48137
48137
  var t1, r1;
48138
48138
  return (r1 = (t1 = T.activeOptionIndex.value) != null ? t1 : T.virtual.value.options.findIndex((u1) => {
48139
- var o1;
48140
- return !((o1 = T.virtual.value) != null && o1.disabled(u1));
48139
+ var c1;
48140
+ return !((c1 = T.virtual.value) != null && c1.disabled(u1));
48141
48141
  })) != null ? r1 : null;
48142
48142
  }, resolveDisabled: (t1) => T.virtual.value.disabled(t1), resolveId() {
48143
48143
  throw new Error("Function not implemented.");
@@ -48212,7 +48212,7 @@ let Nf = Symbol("VirtualContext"), BO = o({ name: "VirtualProvider", setup(e, {
48212
48212
  }), () => {
48213
48213
  var N, D, $;
48214
48214
  let { name: X, disabled: n1, form: t1, ...r1 } = e, u1 = { open: n.value === 0, disabled: n1, activeIndex: T.activeOptionIndex.value, activeOption: T.activeOptionIndex.value === null ? null : T.virtual.value ? T.virtual.value.options[(N = T.activeOptionIndex.value) != null ? N : 0] : ($ = (D = T.options.value[T.activeOptionIndex.value]) == null ? void 0 : D.dataRef.value) != null ? $ : null, value: V.value };
48215
- return m2(f1, [...X != null && V.value != null ? Sf({ [X]: V.value }).map(([o1, b1]) => m2(m0, MO({ features: f0.Hidden, key: o1, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: t1, disabled: n1, name: o1, value: b1 }))) : [], Z2({ theirProps: { ...i, ...z5(r1, ["by", "defaultValue", "immediate", "modelValue", "multiple", "nullable", "onUpdate:modelValue", "virtual"]) }, ourProps: {}, slot: u1, slots: t, attrs: i, name: "Combobox" })]);
48215
+ return m2(f1, [...X != null && V.value != null ? Sf({ [X]: V.value }).map(([c1, b1]) => m2(m0, MO({ features: f0.Hidden, key: c1, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: t1, disabled: n1, name: c1, value: b1 }))) : [], Z2({ theirProps: { ...i, ...z5(r1, ["by", "defaultValue", "immediate", "modelValue", "multiple", "nullable", "onUpdate:modelValue", "virtual"]) }, ourProps: {}, slot: u1, slots: t, attrs: i, name: "Combobox" })]);
48216
48216
  };
48217
48217
  } });
48218
48218
  o({ name: "ComboboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: i }) {
@@ -48886,10 +48886,10 @@ let tr = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", aI = o({ name: "Dialog", inheri
48886
48886
  t("close", !1);
48887
48887
  } };
48888
48888
  ae(e6, u1);
48889
- let o1 = A(() => !(!y.value || H.value));
48889
+ let c1 = A(() => !(!y.value || H.value));
48890
48890
  Nl(b, (v1, S1) => {
48891
48891
  v1.preventDefault(), u1.close(), dt(() => S1?.focus());
48892
- }, o1);
48892
+ }, c1);
48893
48893
  let b1 = A(() => !(H.value || x.value !== 0));
48894
48894
  Zl((a = f.value) == null ? void 0 : a.defaultView, "keydown", (v1) => {
48895
48895
  b1.value && (v1.defaultPrevented || v1.key === y2.Escape && (v1.preventDefault(), v1.stopPropagation(), u1.close()));
@@ -49572,7 +49572,7 @@ let Kf = Xe.RenderStrategy, i6 = o({ props: { as: { type: [Object, String], defa
49572
49572
  $(t1), y.value = !1;
49573
49573
  }, { immediate: !0 });
49574
49574
  }), ae(Al, Z), r7(A(() => D2(x.value, { visible: I2.Open, hidden: I2.Closed }) | l.value)), () => {
49575
- let { appear: X, show: n1, enter: t1, enterFrom: r1, enterTo: u1, entered: o1, leave: b1, leaveFrom: I, leaveTo: v1, ...S1 } = e, P = { ref: d }, B1 = { ...S1, ...g.value && C.value && h9.isServer ? { class: w1([i.class, S1.class, ...z, ...b]) } : {} };
49575
+ let { appear: X, show: n1, enter: t1, enterFrom: r1, enterTo: u1, entered: c1, leave: b1, leaveFrom: I, leaveTo: v1, ...S1 } = e, P = { ref: d }, B1 = { ...S1, ...g.value && C.value && h9.isServer ? { class: w1([i.class, S1.class, ...z, ...b]) } : {} };
49576
49576
  return Z2({ theirProps: B1, ourProps: P, slot: {}, slots: s, attrs: i, features: Kf, visible: x.value === "visible", name: "TransitionChild" });
49577
49577
  };
49578
49578
  } }), zI = i6, kl = o({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: t, attrs: i, slots: s }) {
@@ -58830,7 +58830,7 @@ const dY = {
58830
58830
  canEdit: { type: Boolean, default: !1 }
58831
58831
  },
58832
58832
  setup(e) {
58833
- const t = ["parquet", "pmtiles", "geojson"], i = ["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"], s = e, n = T2(), l = Et(() => import("./MapContainer.client-CUGKCZsN.js")), a = Et(() => import("./Pmtiles.client-BQbOKcQX.js")), c = Et(() => import("./JsonPreview.client-m3C0XIoF.js")), u = Et(() => import("./PdfPreview.client-deTriWNm.js")), h = Et(() => import("./XmlPreview.client-DJL20TEn.js")), d = Et(() => import("./Datafair.client-f2FP7plo.js")), { t: p } = M1(), { formatRelativeIfRecentDate: C } = Mt(), g = Wm(), m = A(() => {
58833
+ const t = ["parquet", "pmtiles", "geojson"], i = ["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"], s = e, n = T2(), l = Et(() => import("./MapContainer.client-Cjwpar3k.js")), a = Et(() => import("./Pmtiles.client-BDAAb3_H.js")), c = Et(() => import("./JsonPreview.client-DSKs3Wg7.js")), u = Et(() => import("./PdfPreview.client-6H3KMLOL.js")), h = Et(() => import("./XmlPreview.client-DnL8nMyL.js")), d = Et(() => import("./Datafair.client-4zDFMXaE.js")), { t: p } = M1(), { formatRelativeIfRecentDate: C } = Mt(), g = Wm(), m = A(() => {
58834
58834
  const B1 = s.resource.format?.toLowerCase();
58835
58835
  return B1 === "json" || B1 === "pdf" || B1 === "xml";
58836
58836
  }), f = A(() => g(s.resource)), x = A(() => s.resource.extras["analysis:parsing:pmtiles_url"] || s.resource.format === "pmtiles"), y = A(() => Rs(s.dataset.organization) && s.resource.extras.datafairEmbed), H = A(() => Rs(s.dataset.organization) && s.resource.extras.apidocUrl), V = A(() => Jl(s.resource.format) ? s.resource.format : p("Fichier")), Z = A(() => $m(s.resource)), z = A(() => Z.value === "wms"), b = A(() => {
@@ -58852,7 +58852,7 @@ const dY = {
58852
58852
  }), N = (B1) => {
58853
58853
  const R1 = j.value[B1];
58854
58854
  R1 && (we("View resource tab", s.resource.id, R1.label), R1.key === "data" && we("Show preview", s.resource.id), R1.key === "data-structure" && we("Show data structure", s.resource.id));
58855
- }, D = A(() => s.isCommunityResource ? s.resource : null), $ = A(() => D.value ? rp(D.value) : null), X = s.resource.last_modified, n1 = A(() => C(s.resource.extras["analysis:parsing:finished_at"])), t1 = s.resource.extras && "check:available" in s.resource.extras, r1 = A(() => ea(s.resource)), u1 = t1 && s.resource.extras["check:available"] === !1, o1 = u1 ? p("Le robot de {certifier} n'a pas pu accéder à ce fichier - Télécharger le fichier en {format}", { certifier: n.name, format: V.value }) : p("Télécharger le fichier en {format}", { format: V.value }), b1 = A(() => Um(s.dataset, s.resource)), I = "resource-" + s.resource.id, v1 = "resource-" + s.resource.id + "-header", S1 = Im(s.resource), P = A(() => i.includes(s.resource.format));
58855
+ }, D = A(() => s.isCommunityResource ? s.resource : null), $ = A(() => D.value ? rp(D.value) : null), X = s.resource.last_modified, n1 = A(() => C(s.resource.extras["analysis:parsing:finished_at"])), t1 = s.resource.extras && "check:available" in s.resource.extras, r1 = A(() => ea(s.resource)), u1 = t1 && s.resource.extras["check:available"] === !1, c1 = u1 ? p("Le robot de {certifier} n'a pas pu accéder à ce fichier - Télécharger le fichier en {format}", { certifier: n.name, format: V.value }) : p("Télécharger le fichier en {format}", { format: V.value }), b1 = A(() => Um(s.dataset, s.resource)), I = "resource-" + s.resource.id, v1 = "resource-" + s.resource.id + "-header", S1 = Im(s.resource), P = A(() => i.includes(s.resource.format));
58856
58856
  return (B1, R1) => (v(), _("div", {
58857
58857
  class: w1(["border border-gray-default overflow-auto", { "fr-pb-4v": R.value }])
58858
58858
  }, [
@@ -58985,7 +58985,7 @@ const dY = {
58985
58985
  B(R2, {
58986
58986
  href: e.resource.latest,
58987
58987
  rel: "ugc nofollow noopener",
58988
- title: L(o1),
58988
+ title: L(c1),
58989
58989
  download: "",
58990
58990
  class: "relative matomo_download z-2",
58991
58991
  icon: L(u1) ? L(Qd) : L($r),
@@ -59406,17 +59406,17 @@ const UK = { class: "border border-gray-default" }, WK = { class: "p-4 flex flex
59406
59406
  },
59407
59407
  setup(e) {
59408
59408
  const t = Et(
59409
- () => import("./JsonPreview.client-m3C0XIoF.js")
59409
+ () => import("./JsonPreview.client-DSKs3Wg7.js")
59410
59410
  ), i = Et(
59411
- () => import("./PdfPreview.client-deTriWNm.js")
59411
+ () => import("./PdfPreview.client-6H3KMLOL.js")
59412
59412
  ), s = Et(
59413
- () => import("./XmlPreview.client-DJL20TEn.js")
59413
+ () => import("./XmlPreview.client-DnL8nMyL.js")
59414
59414
  ), n = Et(
59415
- () => import("./Datafair.client-f2FP7plo.js")
59415
+ () => import("./Datafair.client-4zDFMXaE.js")
59416
59416
  ), l = Et(
59417
- () => import("./MapContainer.client-CUGKCZsN.js")
59417
+ () => import("./MapContainer.client-Cjwpar3k.js")
59418
59418
  ), a = Et(
59419
- () => import("./Pmtiles.client-BQbOKcQX.js")
59419
+ () => import("./Pmtiles.client-BDAAb3_H.js")
59420
59420
  ), c = e, { t: u } = M1(), h = T2(), { formatRelativeIfRecentDate: d } = Mt(), {
59421
59421
  hasTabularData: p,
59422
59422
  hasPmtiles: C,
@@ -59632,7 +59632,7 @@ const UK = { class: "border border-gray-default" }, WK = { class: "p-4 flex flex
59632
59632
  class: "fr-link no-icon-after truncate",
59633
59633
  rel: "ugc nofollow noopener",
59634
59634
  target: "_blank",
59635
- onClick: r1[2] || (r1[2] = (o1) => L(we)("Jeux de données", "Télécharger un fichier", "Bouton : télécharger un fichier"))
59635
+ onClick: r1[2] || (r1[2] = (c1) => L(we)("Jeux de données", "Télécharger un fichier", "Bouton : télécharger un fichier"))
59636
59636
  }, E(e.resource.url), 9, pX),
59637
59637
  r1[5] || (r1[5] = S("span", { class: "fr-ml-1v fr-icon-external-link-line fr-icon--sm shrink-0" }, null, -1))
59638
59638
  ])) : (v(), _("span", CX, [
@@ -59641,7 +59641,7 @@ const UK = { class: "border border-gray-default" }, WK = { class: "p-4 flex flex
59641
59641
  href: e.resource.latest,
59642
59642
  class: "fr-link",
59643
59643
  rel: "ugc nofollow noopener",
59644
- onClick: r1[3] || (r1[3] = (o1) => L(we)("Jeux de données", "Télécharger un fichier", `Bouton : format ${e.resource.format}`))
59644
+ onClick: r1[3] || (r1[3] = (c1) => L(we)("Jeux de données", "Télécharger un fichier", `Bouton : format ${e.resource.format}`))
59645
59645
  }, [
59646
59646
  S("span", null, [
59647
59647
  K(E(L(u)("Format {format}", { format: e.resource.format })), 1),
@@ -59658,28 +59658,28 @@ const UK = { class: "border border-gray-default" }, WK = { class: "p-4 flex flex
59658
59658
  ]),
59659
59659
  L(y).length ? (v(), _(f1, { key: 2 }, [
59660
59660
  S("dt", mX, E(L(u)("Formats générés automatiquement par {platform} (dernière mise à jour {date})", { platform: L(h).name, date: $.value })), 1),
59661
- (v(!0), _(f1, null, q1(L(y), (o1) => (v(), _("dd", {
59662
- key: o1.format,
59661
+ (v(!0), _(f1, null, q1(L(y), (c1) => (v(), _("dd", {
59662
+ key: c1.format,
59663
59663
  class: "text-sm pl-0 mb-4 text-gray-medium h-8 flex flex-wrap items-center"
59664
59664
  }, [
59665
59665
  S("span", null, [
59666
59666
  r1[7] || (r1[7] = S("span", { class: "text-datagouv fr-icon-download-line fr-icon--sm fr-mr-1v fr-mt-1v" }, null, -1)),
59667
59667
  S("a", {
59668
- href: o1.url,
59668
+ href: c1.url,
59669
59669
  class: "fr-link",
59670
59670
  rel: "ugc nofollow noopener",
59671
- onClick: (b1) => L(we)("Jeux de données", "Télécharger un fichier", `Bouton : format ${o1.format}`)
59671
+ onClick: (b1) => L(we)("Jeux de données", "Télécharger un fichier", `Bouton : format ${c1.format}`)
59672
59672
  }, [
59673
59673
  S("span", null, [
59674
- K(E(L(u)("Format {format}", { format: o1.format })), 1),
59675
- o1.size ? (v(), _("span", LX, " - " + E(L(J4)(o1.size)), 1)) : q("", !0)
59674
+ K(E(L(u)("Format {format}", { format: c1.format })), 1),
59675
+ c1.size ? (v(), _("span", LX, " - " + E(L(J4)(c1.size)), 1)) : q("", !0)
59676
59676
  ])
59677
59677
  ], 8, wX)
59678
59678
  ]),
59679
59679
  B(rt, {
59680
59680
  label: L(u)("Copier le lien"),
59681
59681
  "copied-label": L(u)("Lien copié !"),
59682
- text: o1.url,
59682
+ text: c1.url,
59683
59683
  class: "relative"
59684
59684
  }, null, 8, ["label", "copied-label", "text"])
59685
59685
  ]))), 128))
@@ -59705,25 +59705,25 @@ const UK = { class: "border border-gray-default" }, WK = { class: "p-4 flex flex
59705
59705
  })
59706
59706
  ])
59707
59707
  ]),
59708
- (v(!0), _(f1, null, q1(L(H), (o1) => (v(), _("dd", {
59709
- key: o1.format,
59708
+ (v(!0), _(f1, null, q1(L(H), (c1) => (v(), _("dd", {
59709
+ key: c1.format,
59710
59710
  class: "text-sm pl-0 mb-4 text-gray-medium h-8 flex flex-wrap items-center"
59711
59711
  }, [
59712
59712
  S("span", null, [
59713
59713
  r1[8] || (r1[8] = S("span", { class: "text-datagouv fr-icon-download-line fr-icon--sm fr-mr-1v fr-mt-1v" }, null, -1)),
59714
59714
  S("a", {
59715
- href: o1.url,
59715
+ href: c1.url,
59716
59716
  class: "fr-link",
59717
59717
  rel: "ugc nofollow noopener",
59718
- onClick: (b1) => L(we)("Jeux de données", "Télécharger un fichier", `Bouton : format ${o1.format}`)
59718
+ onClick: (b1) => L(we)("Jeux de données", "Télécharger un fichier", `Bouton : format ${c1.format}`)
59719
59719
  }, [
59720
- S("span", null, E(L(u)("Format {format}", { format: o1.format })), 1)
59720
+ S("span", null, E(L(u)("Format {format}", { format: c1.format })), 1)
59721
59721
  ], 8, SX)
59722
59722
  ]),
59723
59723
  B(rt, {
59724
59724
  label: L(u)("Copier le lien"),
59725
59725
  "copied-label": L(u)("Lien copié !"),
59726
- text: o1.url,
59726
+ text: c1.url,
59727
59727
  class: "relative"
59728
59728
  }, null, 8, ["label", "copied-label", "text"])
59729
59729
  ]))), 128))
@@ -59802,10 +59802,10 @@ const UK = { class: "border border-gray-default" }, WK = { class: "p-4 flex flex
59802
59802
  { data: j, status: N },
59803
59803
  { data: D, status: $ },
59804
59804
  { data: X, status: n1 }
59805
- ], r1 = A(() => s.dataset.resources.total > 0), u1 = G5.map(() => Q([])), o1 = G5.map(() => Q(1));
59805
+ ], r1 = A(() => s.dataset.resources.total > 0), u1 = G5.map(() => Q([])), c1 = G5.map(() => Q(1));
59806
59806
  e2(h, () => {
59807
59807
  for (let T1 = 0; T1 < G5.length; T1++)
59808
- u1[T1].value = [], o1[T1].value = 1;
59808
+ u1[T1].value = [], c1[T1].value = 1;
59809
59809
  });
59810
59810
  const b1 = Q("main"), I = Q(1), v1 = A(() => ({
59811
59811
  type: b1.value,
@@ -59819,7 +59819,7 @@ const UK = { class: "border border-gray-default" }, WK = { class: "p-4 flex flex
59819
59819
  })), t = await t, i(), t), B1 = async (T1) => {
59820
59820
  const U1 = G5.indexOf(T1);
59821
59821
  if (U1 === -1) return;
59822
- const f2 = o1[U1], ze = u1[U1];
59822
+ const f2 = c1[U1], ze = u1[U1];
59823
59823
  f2.value++, b1.value = T1, I.value = f2.value, await P(), S1.value && (ze.value = [...ze.value, ...S1.value.data]);
59824
59824
  }, R1 = A(() => G5.map((T1, U1) => {
59825
59825
  const f2 = t1[U1], ze = u1[U1];
@@ -65102,7 +65102,7 @@ class bi extends j0 {
65102
65102
  }
65103
65103
  const n1 = r2(n.ticks.maxTicksLimit, p), t1 = Math.max(1, Math.ceil(p / n1));
65104
65104
  for (V = 0; V < p; V += t1) {
65105
- const r1 = this.getContext(V), u1 = l.setContext(r1), o1 = c.setContext(r1), b1 = u1.lineWidth, I = u1.color, v1 = o1.dash || [], S1 = o1.dashOffset, P = u1.tickWidth, B1 = u1.tickColor, R1 = u1.tickBorderDash || [], A1 = u1.tickBorderDashOffset;
65105
+ const r1 = this.getContext(V), u1 = l.setContext(r1), c1 = c.setContext(r1), b1 = u1.lineWidth, I = u1.color, v1 = c1.dash || [], S1 = c1.dashOffset, P = u1.tickWidth, B1 = u1.tickColor, R1 = u1.tickBorderDash || [], A1 = u1.tickBorderDashOffset;
65106
65106
  Z = x21(this, V, u), Z !== void 0 && (z = D4(s, Z, b1), h ? b = T = N = $ = z : R = j = D = X = z, g.push({
65107
65107
  tx1: b,
65108
65108
  ty1: R,
@@ -65160,7 +65160,7 @@ class bi extends j0 {
65160
65160
  V = c[y], Z = V.label;
65161
65161
  const t1 = l.setContext(this.getContext(y));
65162
65162
  T = this.getPixelForTick(y) + l.labelOffset, j = this._resolveTickFontOptions(y), N = j.lineHeight, D = ee(Z) ? Z.length : 1;
65163
- const r1 = D / 2, u1 = t1.color, o1 = t1.textStrokeColor, b1 = t1.textStrokeWidth;
65163
+ const r1 = D / 2, u1 = t1.color, c1 = t1.textStrokeColor, b1 = t1.textStrokeWidth;
65164
65164
  let I = R;
65165
65165
  a ? (z = T, R === "inner" && (y === H - 1 ? I = this.options.reverse ? "left" : "right" : y === 0 ? I = this.options.reverse ? "right" : "left" : I = "center"), n === "top" ? h === "near" || f !== 0 ? $ = -D * N + N / 2 : h === "center" ? $ = -n1.highest.height / 2 - r1 * N + N : $ = -n1.highest.height + N / 2 : h === "near" || f !== 0 ? $ = N / 2 : h === "center" ? $ = n1.highest.height / 2 - r1 * N : $ = n1.highest.height - D * N, p && ($ *= -1), f !== 0 && !t1.showLabelBackdrop && (z += N / 2 * Math.sin(f))) : (b = T, $ = (1 - D) * N / 2);
65166
65166
  let v1;
@@ -65201,7 +65201,7 @@ class bi extends j0 {
65201
65201
  options: {
65202
65202
  rotation: f,
65203
65203
  color: u1,
65204
- strokeColor: o1,
65204
+ strokeColor: c1,
65205
65205
  strokeWidth: b1,
65206
65206
  textAlign: I,
65207
65207
  textBaseline: X,
@@ -66418,8 +66418,8 @@ function y3(e, t, i, s, n, l) {
66418
66418
  let g = 0;
66419
66419
  const m = n - u;
66420
66420
  if (s) {
66421
- const t1 = d > 0 ? d - s : 0, r1 = p > 0 ? p - s : 0, u1 = (t1 + r1) / 2, o1 = u1 !== 0 ? m * u1 / (u1 + s) : m;
66422
- g = (m - o1) / 2;
66421
+ const t1 = d > 0 ? d - s : 0, r1 = p > 0 ? p - s : 0, u1 = (t1 + r1) / 2, c1 = u1 !== 0 ? m * u1 / (u1 + s) : m;
66422
+ g = (m - c1) / 2;
66423
66423
  }
66424
66424
  const f = Math.max(1e-3, m * p - i / z2) / p, x = (m - f) / 2, y = u + x + g, H = n - x - g, { outerStart: V, outerEnd: Z, innerStart: z, innerEnd: b } = Q21(t, C, p, H - y), R = p - V, T = p - Z, j = y + V / R, N = H - Z / T, D = C + z, $ = C + b, X = y + z / D, n1 = H - b / $;
66425
66425
  if (e.beginPath(), l) {
@@ -66438,8 +66438,8 @@ function y3(e, t, i, s, n, l) {
66438
66438
  const b1 = Ii(D, X, a, c);
66439
66439
  e.arc(b1.x, b1.y, z, X + Math.PI, y - he);
66440
66440
  }
66441
- const o1 = Ii(R, y, a, c);
66442
- if (e.lineTo(o1.x, o1.y), V > 0) {
66441
+ const c1 = Ii(R, y, a, c);
66442
+ if (e.lineTo(c1.x, c1.y), V > 0) {
66443
66443
  const b1 = Ii(R, j, a, c);
66444
66444
  e.arc(b1.x, b1.y, V, y - he, j);
66445
66445
  }
@@ -66447,8 +66447,8 @@ function y3(e, t, i, s, n, l) {
66447
66447
  e.moveTo(a, c);
66448
66448
  const t1 = Math.cos(j) * p + a, r1 = Math.sin(j) * p + c;
66449
66449
  e.lineTo(t1, r1);
66450
- const u1 = Math.cos(N) * p + a, o1 = Math.sin(N) * p + c;
66451
- e.lineTo(u1, o1);
66450
+ const u1 = Math.cos(N) * p + a, c1 = Math.sin(N) * p + c;
66451
+ e.lineTo(u1, c1);
66452
66452
  }
66453
66453
  e.closePath();
66454
66454
  }
@@ -70819,7 +70819,7 @@ const b01 = ["for", "title"], z01 = {
70819
70819
  h.get(k1)?.(), h.delete(k1), u.delete(k1);
70820
70820
  }
70821
70821
  });
70822
- const j = ge("organization"), N = ge("organization_badge"), D = ge("tag"), $ = ge("format"), X = ge("license"), n1 = ge("schema"), t1 = ge("geozone"), r1 = ge("granularity"), u1 = ge("badge"), o1 = ge("topic"), b1 = ge("format_family"), I = ge("access_type"), v1 = ge("last_update_range"), S1 = ge("producer_type"), P = ge("type"), B1 = {
70822
+ const j = ge("organization"), N = ge("organization_badge"), D = ge("tag"), $ = ge("format"), X = ge("license"), n1 = ge("schema"), t1 = ge("geozone"), r1 = ge("granularity"), u1 = ge("badge"), c1 = ge("topic"), b1 = ge("format_family"), I = ge("access_type"), v1 = ge("last_update_range"), S1 = ge("producer_type"), P = ge("type"), B1 = {
70823
70823
  organization: j,
70824
70824
  organization_badge: N,
70825
70825
  tag: D,
@@ -70829,7 +70829,7 @@ const b01 = ["for", "title"], z01 = {
70829
70829
  geozone: t1,
70830
70830
  granularity: r1,
70831
70831
  badge: u1,
70832
- topic: o1,
70832
+ topic: c1,
70833
70833
  format_family: b1,
70834
70834
  access_type: I,
70835
70835
  last_update_range: v1,
@@ -70909,7 +70909,7 @@ const b01 = ["for", "title"], z01 = {
70909
70909
  geozone: t1.value,
70910
70910
  granularity: r1.value,
70911
70911
  badge: u1.value,
70912
- topic: o1.value,
70912
+ topic: c1.value,
70913
70913
  format_family: b1.value,
70914
70914
  access_type: I.value,
70915
70915
  last_update_range: v1.value,
@@ -70917,9 +70917,9 @@ const b01 = ["for", "title"], z01 = {
70917
70917
  type: P.value
70918
70918
  }));
70919
70919
  e2(N1, () => R.value = 1), e2(T, () => R.value = 1);
70920
- const J1 = A(() => Z.value || j.value || N.value || D.value || $.value || X.value || n1.value || t1.value || r1.value || u1.value || o1.value || b1.value || I.value || v1.value || S1.value || P.value || Array.from(u.values()).some(Id)), x2 = A(() => (l.value === "datasets" || l.value === "dataservices") && !!c.forumUrl);
70920
+ const J1 = A(() => Z.value || j.value || N.value || D.value || $.value || X.value || n1.value || t1.value || r1.value || u1.value || c1.value || b1.value || I.value || v1.value || S1.value || P.value || Array.from(u.values()).some(Id)), x2 = A(() => (l.value === "datasets" || l.value === "dataservices") && !!c.forumUrl);
70921
70921
  function M2() {
70922
- j.value = void 0, N.value = void 0, D.value = void 0, $.value = void 0, X.value = void 0, n1.value = void 0, t1.value = void 0, r1.value = void 0, u1.value = void 0, o1.value = void 0, b1.value = void 0, I.value = void 0, v1.value = void 0, S1.value = void 0, P.value = void 0;
70922
+ j.value = void 0, N.value = void 0, D.value = void 0, $.value = void 0, X.value = void 0, n1.value = void 0, t1.value = void 0, r1.value = void 0, u1.value = void 0, c1.value = void 0, b1.value = void 0, I.value = void 0, v1.value = void 0, S1.value = void 0, P.value = void 0;
70923
70923
  for (const k1 of u.values())
70924
70924
  k1.ref.value = k1.defaultValue;
70925
70925
  Z.value = "", b();
@@ -70930,7 +70930,7 @@ const b01 = ["for", "title"], z01 = {
70930
70930
  if (p.value?.hiddenFilters)
70931
70931
  for (const X1 of p.value.hiddenFilters)
70932
70932
  X1?.value && k1.set(X1.key, String(X1.value));
70933
- z.value && k1.set("q", z.value), j.value && k1.set("organization", j.value), N.value && k1.set("organization_badge", N.value), D.value && k1.set("tag", D.value), $.value && k1.set("format", $.value), X.value && k1.set("license", X.value), n1.value && k1.set("schema", n1.value), t1.value && k1.set("geozone", t1.value), r1.value && k1.set("granularity", r1.value), u1.value && k1.set("badge", u1.value), o1.value && k1.set("topic", o1.value), Pd(u, (X1, o2) => {
70933
+ z.value && k1.set("q", z.value), j.value && k1.set("organization", j.value), N.value && k1.set("organization_badge", N.value), D.value && k1.set("tag", D.value), $.value && k1.set("format", $.value), X.value && k1.set("license", X.value), n1.value && k1.set("schema", n1.value), t1.value && k1.set("geozone", t1.value), r1.value && k1.set("granularity", r1.value), u1.value && k1.set("badge", u1.value), c1.value && k1.set("topic", c1.value), Pd(u, (X1, o2) => {
70934
70934
  k1.set(X1, o2);
70935
70935
  }), T.value && k1.set("sort", T.value);
70936
70936
  const _1 = k1.toString();
@@ -71059,8 +71059,8 @@ const b01 = ["for", "title"], z01 = {
71059
71059
  }, null, 8, ["id", "style"])) : q("", !0),
71060
71060
  I1("topic") ? (v(), Y(Y01, {
71061
71061
  key: 8,
71062
- id: L(o1),
71063
- "onUpdate:id": _1[10] || (_1[10] = (o2) => _e(o1) ? o1.value = o2 : null),
71062
+ id: L(c1),
71063
+ "onUpdate:id": _1[10] || (_1[10] = (o2) => _e(c1) ? c1.value = o2 : null),
71064
71064
  style: S2({ order: X1("topic") })
71065
71065
  }, null, 8, ["id", "style"])) : q("", !0),
71066
71066
  I1("format_family") ? (v(), Y(J01, {
@@ -72017,143 +72017,143 @@ const U41 = {
72017
72017
  ), C = A(
72018
72018
  () => `${l.tabularApiUrl}/api/resources/${s.resourceId}/profile/`
72019
72019
  ), g = Q(null), m = Q({}), f = A(() => {
72020
- const c1 = { page: 1, page_size: N51 };
72021
- g.value && (c1[`${g.value.column}__sort`] = g.value.direction);
72022
- for (const [h1, i1] of Object.entries(m.value))
72023
- i1.in?.length && (c1[`${h1}__in`] = i1.in.join(",")), i1.exact != null && (c1[`${h1}__exact`] = i1.exact), Number.isFinite(i1.min) && (c1[`${h1}__greater`] = i1.min), Number.isFinite(i1.max) && (c1[`${h1}__less`] = i1.max), i1.contains && (c1[`${h1}__contains`] = i1.contains), i1.null === "only" ? c1[`${h1}__isnull`] = "" : i1.null === "exclude" && (c1[`${h1}__isnotnull`] = "");
72024
- return c1;
72020
+ const o1 = { page: 1, page_size: N51 };
72021
+ g.value && (o1[`${g.value.column}__sort`] = g.value.direction);
72022
+ for (const [d1, i1] of Object.entries(m.value))
72023
+ i1.in?.length && (o1[`${d1}__in`] = i1.in.join(",")), i1.exact != null && (o1[`${d1}__exact`] = i1.exact), Number.isFinite(i1.min) && (o1[`${d1}__greater`] = i1.min), Number.isFinite(i1.max) && (o1[`${d1}__less`] = i1.max), i1.contains && (o1[`${d1}__contains`] = i1.contains), i1.null === "only" ? o1[`${d1}__isnull`] = "" : i1.null === "exclude" && (o1[`${d1}__isnotnull`] = "");
72024
+ return o1;
72025
72025
  }), { data: x, error: y } = ([t, i] = ve(() => Ve(p, { raw: !0, query: f })), t = await t, i(), t), { data: H } = ([t, i] = ve(() => Ve(C, { raw: !0 })), t = await t, i(), t), V = Q([]), Z = Q(1), z = Q(!1), b = Q(!1), R = Q(0), T = Le("scrollContainer");
72026
- e2(() => x.value, (c1) => {
72027
- R.value++, c1 && (V.value = [...c1.data], Z.value = 1, z.value = c1.data.length < c1.meta.total);
72026
+ e2(() => x.value, (o1) => {
72027
+ R.value++, o1 && (V.value = [...o1.data], Z.value = 1, z.value = o1.data.length < o1.meta.total);
72028
72028
  }, { immediate: !0 });
72029
72029
  async function j() {
72030
72030
  if (b.value || !z.value || !x.value) return;
72031
72031
  b.value = !0;
72032
- const c1 = R.value;
72032
+ const o1 = R.value;
72033
72033
  try {
72034
- const h1 = Z.value + 1, i1 = { ...f.value, page: h1 }, D1 = await St(p.value, { params: i1 });
72035
- if (c1 !== R.value) return;
72036
- V.value = [...V.value, ...D1.data], Z.value = h1, z.value = V.value.length < x.value.meta.total;
72034
+ const d1 = Z.value + 1, i1 = { ...f.value, page: d1 }, D1 = await St(p.value, { params: i1 });
72035
+ if (o1 !== R.value) return;
72036
+ V.value = [...V.value, ...D1.data], Z.value = d1, z.value = V.value.length < x.value.meta.total;
72037
72037
  } finally {
72038
72038
  b.value = !1;
72039
72039
  }
72040
72040
  }
72041
72041
  const N = A(() => H.value?.profile?.total_lines ?? x.value?.meta.total ?? 0), D = A(() => H.value?.profile?.header ?? []), $ = Q(new Set(D.value));
72042
- e2(D, (c1) => {
72043
- c1.length > 0 && $.value.size === 0 && ($.value = new Set(c1));
72042
+ e2(D, (o1) => {
72043
+ o1.length > 0 && $.value.size === 0 && ($.value = new Set(o1));
72044
72044
  });
72045
72045
  const X = A(
72046
- () => D.value.filter((c1) => $.value.has(c1))
72046
+ () => D.value.filter((o1) => $.value.has(o1))
72047
72047
  ), n1 = A(
72048
72048
  () => D.value.length - $.value.size
72049
72049
  );
72050
- function t1(c1) {
72051
- const h1 = new Set($.value);
72052
- h1.has(c1) ? h1.size > 1 && h1.delete(c1) : h1.add(c1), $.value = h1;
72050
+ function t1(o1) {
72051
+ const d1 = new Set($.value);
72052
+ d1.has(o1) ? d1.size > 1 && d1.delete(o1) : d1.add(o1), $.value = d1;
72053
72053
  }
72054
72054
  function r1() {
72055
72055
  $.value = new Set(D.value);
72056
72056
  }
72057
- const u1 = Q({}), o1 = Q(null);
72057
+ const u1 = Q({}), c1 = Q(null);
72058
72058
  function b1() {
72059
- const c1 = T.value?.querySelectorAll("th");
72060
- if (!c1) return;
72061
- const h1 = {};
72062
- c1.forEach((i1, D1) => {
72059
+ const o1 = T.value?.querySelectorAll("th");
72060
+ if (!o1) return;
72061
+ const d1 = {};
72062
+ o1.forEach((i1, D1) => {
72063
72063
  const K1 = X.value[D1];
72064
- K1 && (h1[K1] = i1.offsetWidth);
72065
- }), u1.value = h1;
72064
+ K1 && (d1[K1] = i1.offsetWidth);
72065
+ }), u1.value = d1;
72066
72066
  }
72067
- function I(c1, h1) {
72068
- Object.keys(u1.value).length || b1(), o1.value = { column: c1, startX: h1.clientX, startWidth: u1.value[c1] ?? 100 }, T.value && (T.value.style.scrollBehavior = "auto"), document.addEventListener("mousemove", v1), document.addEventListener("mouseup", S1);
72067
+ function I(o1, d1) {
72068
+ Object.keys(u1.value).length || b1(), c1.value = { column: o1, startX: d1.clientX, startWidth: u1.value[o1] ?? 100 }, T.value && (T.value.style.scrollBehavior = "auto"), document.addEventListener("mousemove", v1), document.addEventListener("mouseup", S1);
72069
72069
  }
72070
- function v1(c1) {
72071
- if (!o1.value) return;
72072
- const h1 = T.value;
72073
- if (h1) {
72074
- const ke = h1.getBoundingClientRect().right - c1.clientX;
72070
+ function v1(o1) {
72071
+ if (!c1.value) return;
72072
+ const d1 = T.value;
72073
+ if (d1) {
72074
+ const ke = d1.getBoundingClientRect().right - o1.clientX;
72075
72075
  if (ke < 50) {
72076
- const lt = h1.scrollLeft;
72077
- h1.scrollLeft += Math.max(1, (50 - ke) * 0.5), o1.value.startX -= h1.scrollLeft - lt;
72076
+ const lt = d1.scrollLeft;
72077
+ d1.scrollLeft += Math.max(1, (50 - ke) * 0.5), c1.value.startX -= d1.scrollLeft - lt;
72078
72078
  }
72079
72079
  }
72080
- const i1 = c1.clientX - o1.value.startX, D1 = Math.max(60, o1.value.startWidth + i1);
72081
- u1.value = { ...u1.value, [o1.value.column]: D1 };
72080
+ const i1 = o1.clientX - c1.value.startX, D1 = Math.max(60, c1.value.startWidth + i1);
72081
+ u1.value = { ...u1.value, [c1.value.column]: D1 };
72082
72082
  }
72083
72083
  function S1() {
72084
- T.value && (T.value.style.scrollBehavior = ""), o1.value = null, document.removeEventListener("mousemove", v1), document.removeEventListener("mouseup", S1);
72084
+ T.value && (T.value.style.scrollBehavior = ""), c1.value = null, document.removeEventListener("mousemove", v1), document.removeEventListener("mouseup", S1);
72085
72085
  }
72086
72086
  pe(() => {
72087
72087
  document.removeEventListener("mousemove", v1), document.removeEventListener("mouseup", S1);
72088
72088
  });
72089
72089
  const P = Q(null);
72090
- function B1(c1, h1, i1) {
72090
+ function B1(o1, d1, i1) {
72091
72091
  const D1 = i1.target.closest("[data-cell]");
72092
72092
  if (D1) {
72093
72093
  if (P.value && P.value.element === D1) {
72094
72094
  P.value = null;
72095
72095
  return;
72096
72096
  }
72097
- P.value = { column: c1, columnType: T1.value[c1] ?? "text", value: h1, element: D1 };
72097
+ P.value = { column: o1, columnType: T1.value[o1] ?? "text", value: d1, element: D1 };
72098
72098
  }
72099
72099
  }
72100
72100
  const R1 = A(() => {
72101
- const c1 = [];
72102
- for (const [h1, i1] of Object.entries(m.value)) {
72101
+ const o1 = [];
72102
+ for (const [d1, i1] of Object.entries(m.value)) {
72103
72103
  const D1 = [];
72104
- i1.in?.length && D1.push(`= ${i1.in.join(", ")}`), i1.exact != null && D1.push(`= ${i1.exact === "true" ? n("Vrai") : n("Faux")}`), i1.contains && D1.push(`${n("contient")} "${i1.contains}"`), i1.null === "only" ? D1.push(n("null uniquement")) : i1.null === "exclude" && D1.push(n("sans null")), i1.min != null && i1.max != null ? D1.push(`${i1.min} – ${i1.max}`) : i1.min != null ? D1.push(`≥ ${i1.min}`) : i1.max != null && D1.push(`≤ ${i1.max}`), D1.length && c1.push({ column: h1, label: D1.join(", ") });
72104
+ i1.in?.length && D1.push(`= ${i1.in.join(", ")}`), i1.exact != null && D1.push(`= ${i1.exact === "true" ? n("Vrai") : n("Faux")}`), i1.contains && D1.push(`${n("contient")} "${i1.contains}"`), i1.null === "only" ? D1.push(n("null uniquement")) : i1.null === "exclude" && D1.push(n("sans null")), i1.min != null && i1.max != null ? D1.push(`${i1.min} – ${i1.max}`) : i1.min != null ? D1.push(`≥ ${i1.min}`) : i1.max != null && D1.push(`≤ ${i1.max}`), D1.length && o1.push({ column: d1, label: D1.join(", ") });
72105
72105
  }
72106
- return c1;
72106
+ return o1;
72107
72107
  });
72108
- function A1(c1) {
72109
- const { [c1]: h1, ...i1 } = m.value;
72108
+ function A1(o1) {
72109
+ const { [o1]: d1, ...i1 } = m.value;
72110
72110
  m.value = i1;
72111
72111
  }
72112
72112
  function s1() {
72113
72113
  m.value = {};
72114
72114
  }
72115
- function E1(c1) {
72116
- return DL(m.value, c1);
72115
+ function E1(o1) {
72116
+ return DL(m.value, o1);
72117
72117
  }
72118
72118
  const N1 = Q(!1), J1 = Q(/* @__PURE__ */ new Set()), x2 = Q(null);
72119
- function M2(c1, h1) {
72120
- return X.value.length <= 4 || J1.value.has(h1) ? X.value : X.value.slice(0, 4);
72119
+ function M2(o1) {
72120
+ return X.value.length <= 4 || J1.value.has(o1) ? X.value : X.value.slice(0, 4);
72121
72121
  }
72122
- function O2(c1) {
72123
- const h1 = new Set(J1.value);
72124
- h1.has(c1) ? h1.delete(c1) : h1.add(c1), J1.value = h1;
72122
+ function O2(o1) {
72123
+ const d1 = new Set(J1.value);
72124
+ d1.has(o1) ? d1.delete(o1) : d1.add(o1), J1.value = d1;
72125
72125
  }
72126
- function _2(c1) {
72127
- x2.value = x2.value === c1 ? null : c1;
72126
+ function _2(o1) {
72127
+ x2.value = x2.value === o1 ? null : o1;
72128
72128
  }
72129
- function be(c1) {
72130
- const h1 = H.value?.profile;
72131
- if (!h1) return "text";
72132
- const i1 = h1.columns[c1];
72133
- return i1 ? ["int", "float"].includes(i1.python_type) ? "number" : i1.format === "year" || ["date", "datetime"].includes(i1.python_type) ? "date" : i1.python_type === "bool" ? "boolean" : h1.categorical.includes(c1) ? "categorical" : "text" : "text";
72129
+ function be(o1) {
72130
+ const d1 = H.value?.profile;
72131
+ if (!d1) return "text";
72132
+ const i1 = d1.columns[o1];
72133
+ return i1 ? ["int", "float"].includes(i1.python_type) ? "number" : i1.format === "year" || ["date", "datetime"].includes(i1.python_type) ? "date" : i1.python_type === "bool" ? "boolean" : d1.categorical.includes(o1) ? "categorical" : "text" : "text";
72134
72134
  }
72135
72135
  const T1 = A(() => {
72136
- const c1 = {};
72137
- for (const h1 of D.value)
72138
- c1[h1] = be(h1);
72139
- return c1;
72136
+ const o1 = {};
72137
+ for (const d1 of D.value)
72138
+ o1[d1] = be(d1);
72139
+ return o1;
72140
72140
  });
72141
- function U1(c1) {
72142
- return T1.value[c1] ?? "text";
72141
+ function U1(o1) {
72142
+ return T1.value[o1] ?? "text";
72143
72143
  }
72144
- function f2(c1) {
72145
- return H.value?.profile?.profile?.[c1] ?? null;
72144
+ function f2(o1) {
72145
+ return H.value?.profile?.profile?.[o1] ?? null;
72146
72146
  }
72147
- function ze(c1) {
72148
- return f2(c1)?.tops ?? [];
72147
+ function ze(o1) {
72148
+ return f2(o1)?.tops ?? [];
72149
72149
  }
72150
- function zt(c1) {
72151
- const h1 = f2(c1), i1 = H.value?.profile?.total_lines;
72152
- return !h1 || !i1 ? "0%" : `${(h1.nb_missing_values / i1 * 100).toFixed(1)}%`;
72150
+ function zt(o1) {
72151
+ const d1 = f2(o1), i1 = H.value?.profile?.total_lines;
72152
+ return !d1 || !i1 ? "0%" : `${(d1.nb_missing_values / i1 * 100).toFixed(1)}%`;
72153
72153
  }
72154
72154
  const k1 = OL(n);
72155
- function _1(c1) {
72156
- return k1[U1(c1)];
72155
+ function _1(o1) {
72156
+ return k1[U1(o1)];
72157
72157
  }
72158
72158
  const I1 = [
72159
72159
  { bg: "#E6EEFE", text: "#3558A2" },
@@ -72177,33 +72177,33 @@ const U41 = {
72177
72177
  { bg: "#FCE164", text: "#695240" }
72178
72178
  // yellow-moutarde
72179
72179
  ], X1 = { bg: "#F0E0CF", text: "#745B47" }, o2 = A(() => {
72180
- const c1 = /* @__PURE__ */ new Map(), h1 = H.value?.profile;
72181
- if (!h1) return c1;
72182
- for (const i1 of h1.categorical)
72180
+ const o1 = /* @__PURE__ */ new Map(), d1 = H.value?.profile;
72181
+ if (!d1) return o1;
72182
+ for (const i1 of d1.categorical)
72183
72183
  ze(i1).forEach((D1, K1) => {
72184
- c1.set(`${i1}::${D1.value}`, I1[K1 % I1.length]);
72184
+ o1.set(`${i1}::${D1.value}`, I1[K1 % I1.length]);
72185
72185
  });
72186
- return c1;
72186
+ return o1;
72187
72187
  });
72188
- function a1(c1, h1) {
72189
- const i1 = o2.value.get(`${c1}::${h1}`) ?? X1;
72188
+ function a1(o1, d1) {
72189
+ const i1 = o2.value.get(`${o1}::${d1}`) ?? X1;
72190
72190
  return { backgroundColor: i1.bg, color: i1.text };
72191
72191
  }
72192
- function y1(c1) {
72193
- const h1 = {};
72194
- for (const i1 of ze(c1))
72195
- h1[i1.value] = a1(c1, i1.value);
72196
- return h1;
72192
+ function y1(o1) {
72193
+ const d1 = {};
72194
+ for (const i1 of ze(o1))
72195
+ d1[i1.value] = a1(o1, i1.value);
72196
+ return d1;
72197
72197
  }
72198
- function Y1(c1) {
72199
- const h1 = f2(c1);
72200
- if (!h1?.tops) return { trueCount: 0, falseCount: 0 };
72198
+ function Y1(o1) {
72199
+ const d1 = f2(o1);
72200
+ if (!d1?.tops) return { trueCount: 0, falseCount: 0 };
72201
72201
  let i1 = 0, D1 = 0;
72202
- for (const K1 of h1.tops)
72202
+ for (const K1 of d1.tops)
72203
72203
  Fr(K1.value ?? "") ? i1 += K1.count : $41(K1.value ?? "") && (D1 += K1.count);
72204
72204
  return { trueCount: i1, falseCount: D1 };
72205
72205
  }
72206
- return (c1, h1) => (v(), _("div", null, [
72206
+ return (o1, d1) => (v(), _("div", null, [
72207
72207
  L(y) ? (v(), Y(xQ, {
72208
72208
  key: 0,
72209
72209
  type: "warning",
@@ -72222,14 +72222,14 @@ const U41 = {
72222
72222
  size: "2xs",
72223
72223
  icon: L(Ur),
72224
72224
  "keep-margins-even-without-borders": "",
72225
- onClick: h1[0] || (h1[0] = (i1) => N1.value = !0)
72225
+ onClick: d1[0] || (d1[0] = (i1) => N1.value = !0)
72226
72226
  }, {
72227
72227
  default: U(() => [
72228
72228
  K(E(L(n)("Filtres & tri")), 1)
72229
72229
  ]),
72230
72230
  _: 1
72231
72231
  }, 8, ["icon"]),
72232
- h1[9] || (h1[9] = S("div", { class: "flex-1" }, null, -1)),
72232
+ d1[9] || (d1[9] = S("div", { class: "flex-1" }, null, -1)),
72233
72233
  S("div", Ei1, [
72234
72234
  B(L(Rl), {
72235
72235
  ref: "columnAnchor",
@@ -72382,9 +72382,9 @@ const U41 = {
72382
72382
  })) : q("", !0),
72383
72383
  B(zi1, {
72384
72384
  sort: g.value,
72385
- "onUpdate:sort": h1[1] || (h1[1] = (D1) => g.value = D1),
72385
+ "onUpdate:sort": d1[1] || (d1[1] = (D1) => g.value = D1),
72386
72386
  filters: m.value,
72387
- "onUpdate:filters": h1[2] || (h1[2] = (D1) => m.value = D1),
72387
+ "onUpdate:filters": d1[2] || (d1[2] = (D1) => m.value = D1),
72388
72388
  class: "mt-1",
72389
72389
  column: i1,
72390
72390
  "column-type": U1(i1),
@@ -72407,7 +72407,7 @@ const U41 = {
72407
72407
  onMousedown: qe((D1) => I(i1, D1), ["prevent"])
72408
72408
  }, [
72409
72409
  S("div", {
72410
- class: w1(["absolute inset-y-0 left-1/2 w-1 -translate-x-1/2 rounded-full bg-primary/40 opacity-0 group-hover/resize:opacity-100", { "!opacity-100": o1.value?.column === i1 }])
72410
+ class: w1(["absolute inset-y-0 left-1/2 w-1 -translate-x-1/2 rounded-full bg-primary/40 opacity-0 group-hover/resize:opacity-100", { "!opacity-100": c1.value?.column === i1 }])
72411
72411
  }, null, 2)
72412
72412
  ], 42, l51)
72413
72413
  ], 4))), 128))
@@ -72456,9 +72456,9 @@ const U41 = {
72456
72456
  ], 512),
72457
72457
  B(J41, {
72458
72458
  cell: P.value,
72459
- "onUpdate:cell": h1[3] || (h1[3] = (i1) => P.value = i1),
72459
+ "onUpdate:cell": d1[3] || (d1[3] = (i1) => P.value = i1),
72460
72460
  filters: m.value,
72461
- "onUpdate:filters": h1[4] || (h1[4] = (i1) => m.value = i1)
72461
+ "onUpdate:filters": d1[4] || (d1[4] = (i1) => m.value = i1)
72462
72462
  }, null, 8, ["cell", "filters"]),
72463
72463
  S("div", d51, [
72464
72464
  V.value.length === 0 ? (v(), _("div", p51, [
@@ -72474,7 +72474,7 @@ const U41 = {
72474
72474
  key: i1.__id ?? D1,
72475
72475
  class: w1(["border border-gray-default rounded-lg p-3 space-y-2", D1 % 2 === 1 ? "bg-gray-lowest-2" : "bg-white"])
72476
72476
  }, [
72477
- (v(!0), _(f1, null, q1(M2(i1, D1), (K1) => (v(), _("div", {
72477
+ (v(!0), _(f1, null, q1(M2(D1), (K1) => (v(), _("div", {
72478
72478
  key: K1,
72479
72479
  class: "flex flex-col gap-0.5 min-w-0"
72480
72480
  }, [
@@ -72521,7 +72521,7 @@ const U41 = {
72521
72521
  default: U(() => [
72522
72522
  B(L(aI), {
72523
72523
  class: "relative z-[900]",
72524
- onClose: h1[8] || (h1[8] = (i1) => N1.value = !1)
72524
+ onClose: d1[8] || (d1[8] = (i1) => N1.value = !1)
72525
72525
  }, {
72526
72526
  default: U(() => [
72527
72527
  B(L(i6), {
@@ -72533,7 +72533,7 @@ const U41 = {
72533
72533
  "leave-from": "opacity-100",
72534
72534
  "leave-to": "opacity-0"
72535
72535
  }, {
72536
- default: U(() => [...h1[10] || (h1[10] = [
72536
+ default: U(() => [...d1[10] || (d1[10] = [
72537
72537
  S("div", { class: "fixed inset-0 bg-black/30" }, null, -1)
72538
72538
  ])]),
72539
72539
  _: 1
@@ -72593,9 +72593,9 @@ const U41 = {
72593
72593
  x2.value === i1 ? (v(), _("div", b51, [
72594
72594
  B(PL, {
72595
72595
  sort: g.value,
72596
- "onUpdate:sort": h1[5] || (h1[5] = (D1) => g.value = D1),
72596
+ "onUpdate:sort": d1[5] || (d1[5] = (D1) => g.value = D1),
72597
72597
  filters: m.value,
72598
- "onUpdate:filters": h1[6] || (h1[6] = (D1) => m.value = D1),
72598
+ "onUpdate:filters": d1[6] || (d1[6] = (D1) => m.value = D1),
72599
72599
  column: i1,
72600
72600
  "column-type": U1(i1),
72601
72601
  "column-profile": f2(i1),
@@ -72612,7 +72612,7 @@ const U41 = {
72612
72612
  color: "secondary",
72613
72613
  size: "xs",
72614
72614
  class: "w-full",
72615
- onClick: h1[7] || (h1[7] = (i1) => {
72615
+ onClick: d1[7] || (d1[7] = (i1) => {
72616
72616
  s1(), g.value = null, N1.value = !1;
72617
72617
  })
72618
72618
  }, {