@datagouv/components-next 1.0.2-dev.93 → 1.0.2-dev.95

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.
@@ -1,5 +1,5 @@
1
1
  import * as C_ from "vue";
2
- import { inject as ft, defineComponent as g, reactive as n6, computed as Y, h as it, unref as N, getCurrentInstance as s6, watchEffect as rt, onMounted as Be, nextTick as y2, getCurrentScope as kS, onScopeDispose as Wp, watch as we, hasInjectionContext as OO, toValue as Ue, customRef as Xe1, ref as o1, createElementBlock as $, openBlock as T, normalizeClass as k1, createVNode as G, isVNode as H5, createBlock as s1, createElementVNode as D, createCommentVNode as i1, renderSlot as Y1, useTemplateRef as f2, withModifiers as Ei, toDisplayString as P, Fragment as A1, renderList as Le, withAsyncContext as W2, withCtx as J, mergeProps as Rr, createTextVNode as l1, resolveDynamicComponent as ut, provide as l2, useSlots as IS, Comment as Qe1, Text as Je1, useAttrs as et1, normalizeStyle as Ct, onBeforeUnmount as tt1, normalizeProps as m_, shallowRef as dn, shallowReadonly as Ul, useId as Ya, triggerRef as v_, onUnmounted as s2, cloneVNode as FO, toRaw as Y2, Teleport as a6, withDirectives as M0, vShow as OS, createSlots as PO, isRef as ai, resolveComponent as $O, toRef as w_, readonly as UO, defineAsyncComponent as tn, mergeModels as R0, useModel as Dt, vModelText as dh, shallowReactive as it1, vModelSelect as GO, Transition as rt1 } from "vue";
2
+ import { inject as ft, defineComponent as g, reactive as n6, computed as Y, h as it, unref as N, getCurrentInstance as s6, watchEffect as rt, onMounted as Be, nextTick as y2, getCurrentScope as kS, onScopeDispose as Wp, watch as we, hasInjectionContext as OO, toValue as Ue, customRef as Xe1, ref as o1, createElementBlock as $, openBlock as T, normalizeClass as k1, createVNode as G, isVNode as H5, createBlock as s1, createElementVNode as D, createCommentVNode as i1, renderSlot as Y1, useTemplateRef as f2, withModifiers as Ei, toDisplayString as P, Fragment as A1, renderList as Le, withAsyncContext as W2, withCtx as J, mergeProps as Rr, createTextVNode as l1, resolveDynamicComponent as ut, provide as l2, useSlots as IS, Comment as Qe1, Text as Je1, useAttrs as et1, normalizeStyle as Ct, onBeforeUnmount as tt1, normalizeProps as m_, shallowRef as hn, shallowReadonly as Ul, useId as Ya, triggerRef as v_, onUnmounted as s2, cloneVNode as FO, toRaw as Y2, Teleport as a6, withDirectives as M0, vShow as OS, createSlots as PO, isRef as ai, resolveComponent as $O, toRef as w_, readonly as UO, defineAsyncComponent as en, mergeModels as R0, useModel as Dt, vModelText as dh, shallowReactive as it1, vModelSelect as GO, Transition as rt1 } from "vue";
3
3
  const nt1 = [
4
4
  { value: "-created", label: "Date de création" },
5
5
  { value: "-last_update", label: "Dernière mise à jour" },
@@ -878,7 +878,7 @@ const Kh = (function() {
878
878
  if (typeof global < "u")
879
879
  return global;
880
880
  throw new Error("unable to locate global object");
881
- })(), D21 = Kh.fetch ? (...e) => Kh.fetch(...e) : () => Promise.reject(new Error("[ofetch] global.fetch is not supported!")), B21 = Kh.Headers, k21 = Kh.AbortController, kr = rF({ fetch: D21, Headers: B21, AbortController: k21 }), nF = Symbol();
881
+ })(), D21 = Kh.fetch ? (...e) => Kh.fetch(...e) : () => Promise.reject(new Error("[ofetch] global.fetch is not supported!")), B21 = Kh.Headers, k21 = Kh.AbortController, fn = rF({ fetch: D21, Headers: B21, AbortController: k21 }), nF = Symbol();
882
882
  function Ht() {
883
883
  const e = ft(nF);
884
884
  if (!e) throw new Error("Calling `useComponentsConfig` outside @datagouv/components");
@@ -891,50 +891,39 @@ function z_(e) {
891
891
  );
892
892
  }
893
893
  async function q2(e, t) {
894
- const i = Ht(), { locale: r } = K1();
894
+ const i = Ht();
895
895
  if (i.customUseFetch)
896
896
  return await i.customUseFetch(e, t);
897
- const n = t?.raw, s = o1(null), a = o1(null), o = o1("idle"), l = async () => {
898
- const c = Ue(e);
899
- if (!c) return;
900
- const h = z_(t?.params), d = z_(t?.query);
901
- o.value = "pending";
897
+ const r = t?.raw, n = o1(null), s = o1(null), a = o1("idle"), o = async () => {
898
+ const l = Ue(e);
899
+ if (!l) return;
900
+ const c = z_(t?.params), h = z_(t?.query);
901
+ a.value = "pending";
902
902
  try {
903
- s.value = n ? await kr(c, { params: h ?? d }) : await kr(c, {
904
- baseURL: i.apiBase,
905
- params: h ?? d,
906
- onRequest(p) {
907
- i.onRequest && (Array.isArray(i.onRequest) ? i.onRequest.forEach((C) => C(p)) : i.onRequest(p));
908
- const { options: f } = p;
909
- f.headers.set("Content-Type", "application/json"), f.headers.set("Accept", "application/json"), f.credentials = "include", i.devApiKey && f.headers.set("X-API-KEY", i.devApiKey), r && (f.params || (f.params = {}), f.params.lang = r);
910
- },
911
- onRequestError: i.onRequestError,
912
- onResponse: i.onResponse,
913
- onResponseError: i.onResponseError
914
- }), o.value = "success";
915
- } catch (p) {
916
- a.value = p, o.value = "error";
903
+ n.value = r ? await fn(l, { params: c ?? h }) : await i.$fetch(l, { baseURL: i.apiBase, params: c ?? h }), a.value = "success";
904
+ } catch (d) {
905
+ s.value = d, a.value = "error";
917
906
  }
918
907
  };
919
908
  return t?.server === !1 ? Be(() => {
920
909
  rt(async () => {
921
- await l();
910
+ await o();
922
911
  });
923
912
  }) : rt(async () => {
924
- await l();
913
+ await o();
925
914
  }), {
926
- data: s,
927
- refresh: () => l(),
928
- execute: l,
915
+ data: n,
916
+ refresh: () => o(),
917
+ execute: o,
929
918
  clear: () => {
930
- s.value = null, o.value = "idle";
919
+ n.value = null, a.value = "idle";
931
920
  },
932
- error: a,
933
- status: o
921
+ error: s,
922
+ status: a
934
923
  };
935
924
  }
936
925
  const hu = 3600 * 24;
937
- function Ir() {
926
+ function kr() {
938
927
  const { t: e, locale: t } = K1(), i = (s, a = {}) => s ? (s = new Date(s), "dateStyle" in a || (a.dateStyle = "long"), new Intl.DateTimeFormat(t, a).format(s)) : "", r = (s) => {
939
928
  if (!s)
940
929
  return "";
@@ -10393,7 +10382,7 @@ const Kp = /* @__PURE__ */ g({
10393
10382
  },
10394
10383
  async setup(e) {
10395
10384
  let t, i;
10396
- const r = e, n = PS(), { formatDate: s } = Ir(), { t: a } = K1(), o = o1(parseInt(n.query.page ?? "1", 10)), { data: l, status: c } = ([t, i] = W2(() => q2("/api/1/activity/", {
10385
+ const r = e, n = PS(), { formatDate: s } = kr(), { t: a } = K1(), o = o1(parseInt(n.query.page ?? "1", 10)), { data: l, status: c } = ([t, i] = W2(() => q2("/api/1/activity/", {
10397
10386
  query: {
10398
10387
  related_to: r.id ?? void 0,
10399
10388
  user: r.user ?? void 0,
@@ -12884,7 +12873,7 @@ function ml(e, t, i) {
12884
12873
  }), l = Y(() => {
12885
12874
  var H;
12886
12875
  return (H = C3(i.transform)) != null ? H : !0;
12887
- }), c = Y(() => P_(e.value)), h = Y(() => P_(t.value)), d = o1(0), p = o1(0), f = o1(o.value), C = o1(a.value), m = dn({}), v = o1(!1), w = Y(() => {
12876
+ }), c = Y(() => P_(e.value)), h = Y(() => P_(t.value)), d = o1(0), p = o1(0), f = o1(o.value), C = o1(a.value), m = hn({}), v = o1(!1), w = Y(() => {
12888
12877
  const H = {
12889
12878
  position: f.value,
12890
12879
  left: "0",
@@ -13269,7 +13258,7 @@ function ns1() {
13269
13258
  B[be + d1] = X[d1];
13270
13259
  return B;
13271
13260
  }
13272
- function $r(B, X, d1, Z1) {
13261
+ function Pr(B, X, d1, Z1) {
13273
13262
  for (var be = -1, fe = B ? B.length : 0; ++be < fe; )
13274
13263
  d1 = X(d1, B[be], be, B);
13275
13264
  return d1;
@@ -13421,13 +13410,13 @@ function ns1() {
13421
13410
  for (this.__data__ = new Pe(); ++X < d1; )
13422
13411
  this.add(B[X]);
13423
13412
  }
13424
- function Ur(B) {
13413
+ function $r(B) {
13425
13414
  return this.__data__.set(B, n), this;
13426
13415
  }
13427
13416
  function iu(B) {
13428
13417
  return this.__data__.has(B);
13429
13418
  }
13430
- ii.prototype.add = ii.prototype.push = Ur, ii.prototype.has = iu;
13419
+ ii.prototype.add = ii.prototype.push = $r, ii.prototype.has = iu;
13431
13420
  function Lr(B) {
13432
13421
  this.__data__ = new Ln(B);
13433
13422
  }
@@ -13632,7 +13621,7 @@ function ns1() {
13632
13621
  }
13633
13622
  function Le1(B, X, d1) {
13634
13623
  var Z1 = X ? d1(_1(B), !0) : _1(B);
13635
- return $r(Z1, gt, new B.constructor());
13624
+ return Pr(Z1, gt, new B.constructor());
13636
13625
  }
13637
13626
  function Se1(B) {
13638
13627
  var X = new B.constructor(B.source, v1.exec(B));
@@ -13640,7 +13629,7 @@ function ns1() {
13640
13629
  }
13641
13630
  function Ve1(B, X, d1) {
13642
13631
  var Z1 = X ? d1(pe(B), !0) : pe(B);
13643
- return $r(Z1, Kt, new B.constructor());
13632
+ return Pr(Z1, Kt, new B.constructor());
13644
13633
  }
13645
13634
  function He1(B) {
13646
13635
  return Qn ? Object(Qn.call(B)) : {};
@@ -28067,12 +28056,12 @@ function Va1() {
28067
28056
  function mi(n1) {
28068
28057
  return Ne.includes(n1.toLowerCase());
28069
28058
  }
28070
- const $r = {}, X1 = (n1) => {
28059
+ const Pr = {}, X1 = (n1) => {
28071
28060
  console.error(n1);
28072
28061
  }, ue = (n1, ...b1) => {
28073
28062
  console.log(`WARN: ${n1}`, ...b1);
28074
28063
  }, c1 = (n1, b1) => {
28075
- $r[`${n1}/${b1}`] || (console.log(`Deprecated as of ${n1}. ${b1}`), $r[`${n1}/${b1}`] = !0);
28064
+ Pr[`${n1}/${b1}`] || (console.log(`Deprecated as of ${n1}. ${b1}`), Pr[`${n1}/${b1}`] = !0);
28076
28065
  }, V1 = new Error();
28077
28066
  function W1(n1, b1, { key: Q1 }) {
28078
28067
  let Oe = 0;
@@ -28290,7 +28279,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), m2 = U1, Et = xe), Pe
28290
28279
  Qe += me[0];
28291
28280
  else {
28292
28281
  const hC = $i.classNameAliases[Vn] || Vn;
28293
- Ur(me[0], hC);
28282
+ $r(me[0], hC);
28294
28283
  }
28295
28284
  } else
28296
28285
  Qe += me[0];
@@ -28315,7 +28304,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), m2 = U1, Et = xe), Pe
28315
28304
  function ii() {
28316
28305
  $e.subLanguage != null ? kl() : es(), Tt = "";
28317
28306
  }
28318
- function Ur(te, me) {
28307
+ function $r(te, me) {
28319
28308
  te !== "" && (G2.startScope(me), G2.addText(te), G2.endScope());
28320
28309
  }
28321
28310
  function iu(te, me) {
@@ -28327,11 +28316,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), m2 = U1, Et = xe), Pe
28327
28316
  continue;
28328
28317
  }
28329
28318
  const ri = $i.classNameAliases[te[Qe]] || te[Qe], Vn = me[Qe];
28330
- ri ? Ur(Vn, ri) : (Tt = Vn, es(), Tt = ""), Qe++;
28319
+ ri ? $r(Vn, ri) : (Tt = Vn, es(), Tt = ""), Qe++;
28331
28320
  }
28332
28321
  }
28333
28322
  function Lr(te, me) {
28334
- return te.scope && typeof te.scope == "string" && G2.openNode($i.classNameAliases[te.scope] || te.scope), te.beginScope && (te.beginScope._wrap ? (Ur(Tt, $i.classNameAliases[te.beginScope._wrap] || te.beginScope._wrap), Tt = "") : te.beginScope._multi && (iu(te.beginScope, me), Tt = "")), $e = Object.create(te, { parent: { value: $e } }), $e;
28323
+ return te.scope && typeof te.scope == "string" && G2.openNode($i.classNameAliases[te.scope] || te.scope), te.beginScope && (te.beginScope._wrap ? ($r(Tt, $i.classNameAliases[te.beginScope._wrap] || te.beginScope._wrap), Tt = "") : te.beginScope._multi && (iu(te.beginScope, me), Tt = "")), $e = Object.create(te, { parent: { value: $e } }), $e;
28335
28324
  }
28336
28325
  function ru(te, me, Qe) {
28337
28326
  let xt = x(te.endRe, Qe);
@@ -28364,7 +28353,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), m2 = U1, Et = xe), Pe
28364
28353
  if (!xt)
28365
28354
  return js;
28366
28355
  const ri = $e;
28367
- $e.endScope && $e.endScope._wrap ? (ii(), Ur(me, $e.endScope._wrap)) : $e.endScope && $e.endScope._multi ? (ii(), iu($e.endScope, te)) : ri.skip ? Tt += me : (ri.returnEnd || ri.excludeEnd || (Tt += me), ii(), ri.excludeEnd && (Tt = me));
28356
+ $e.endScope && $e.endScope._wrap ? (ii(), $r(me, $e.endScope._wrap)) : $e.endScope && $e.endScope._multi ? (ii(), iu($e.endScope, te)) : ri.skip ? Tt += me : (ri.returnEnd || ri.excludeEnd || (Tt += me), ii(), ri.excludeEnd && (Tt = me));
28368
28357
  do
28369
28358
  $e.scope && G2.closeNode(), !$e.skip && !$e.subLanguage && (Ol += $e.relevance), $e = $e.parent;
28370
28359
  while ($e !== xt.parent);
@@ -28479,12 +28468,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), m2 = U1, Et = xe), Pe
28479
28468
  (ii) => Xs(ii, U1, !1)
28480
28469
  );
28481
28470
  Et.unshift(Pe);
28482
- const m2 = Et.sort((ii, Ur) => {
28483
- if (ii.relevance !== Ur.relevance) return Ur.relevance - ii.relevance;
28484
- if (ii.language && Ur.language) {
28485
- if (Jn(ii.language).supersetOf === Ur.language)
28471
+ const m2 = Et.sort((ii, $r) => {
28472
+ if (ii.relevance !== $r.relevance) return $r.relevance - ii.relevance;
28473
+ if (ii.language && $r.language) {
28474
+ if (Jn(ii.language).supersetOf === $r.language)
28486
28475
  return 1;
28487
- if (Jn(Ur.language).supersetOf === ii.language)
28476
+ if (Jn($r.language).supersetOf === ii.language)
28488
28477
  return -1;
28489
28478
  }
28490
28479
  return 0;
@@ -29065,7 +29054,7 @@ function Dr(e, t, i, r) {
29065
29054
  for (i && e.splice(t, i); s < r.length; )
29066
29055
  a = r.slice(s, s + 1e4), a.unshift(t, 0), e.splice(...a), s += 1e4, t += 1e4;
29067
29056
  }
29068
- function rn(e, t) {
29057
+ function tn(e, t) {
29069
29058
  return e.length > 0 ? (Dr(e, e.length, 0, t), e) : t;
29070
29059
  }
29071
29060
  const CN = {}.hasOwnProperty;
@@ -29390,7 +29379,7 @@ function to1(e, t) {
29390
29379
  ...a.start
29391
29380
  }, e[i][1].start = {
29392
29381
  ...o.end
29393
- }, c = [], e[r][1].end.offset - e[r][1].start.offset && (c = rn(c, [["enter", e[r][1], t], ["exit", e[r][1], t]])), c = rn(c, [["enter", n, t], ["enter", a, t], ["exit", a, t], ["enter", s, t]]), c = rn(c, df(t.parser.constructs.insideSpan.null, e.slice(r + 1, i), t)), c = rn(c, [["exit", s, t], ["enter", o, t], ["exit", o, t], ["exit", n, t]]), e[i][1].end.offset - e[i][1].start.offset ? (h = 2, c = rn(c, [["enter", e[i][1], t], ["exit", e[i][1], t]])) : h = 0, Dr(e, r - 1, i - r + 3, c), i = r + c.length - h - 2;
29382
+ }, c = [], e[r][1].end.offset - e[r][1].start.offset && (c = tn(c, [["enter", e[r][1], t], ["exit", e[r][1], t]])), c = tn(c, [["enter", n, t], ["enter", a, t], ["exit", a, t], ["enter", s, t]]), c = tn(c, df(t.parser.constructs.insideSpan.null, e.slice(r + 1, i), t)), c = tn(c, [["exit", s, t], ["enter", o, t], ["exit", o, t], ["exit", n, t]]), e[i][1].end.offset - e[i][1].start.offset ? (h = 2, c = tn(c, [["enter", e[i][1], t], ["exit", e[i][1], t]])) : h = 0, Dr(e, r - 1, i - r + 3, c), i = r + c.length - h - 2;
29394
29383
  break;
29395
29384
  }
29396
29385
  }
@@ -30537,7 +30526,7 @@ function Ko1(e, t) {
30537
30526
  ...e[a - 2][1].start
30538
30527
  }
30539
30528
  };
30540
- return o = [["enter", l, t], ["enter", c, t]], o = rn(o, e.slice(s + 1, s + r + 3)), o = rn(o, [["enter", h, t]]), o = rn(o, df(t.parser.constructs.insideSpan.null, e.slice(s + r + 4, a - 3), t)), o = rn(o, [["exit", h, t], e[a - 2], e[a - 1], ["exit", c, t]]), o = rn(o, e.slice(a + 1)), o = rn(o, [["exit", l, t]]), Dr(e, s, e.length, o), e;
30529
+ return o = [["enter", l, t], ["enter", c, t]], o = tn(o, e.slice(s + 1, s + r + 3)), o = tn(o, [["enter", h, t]]), o = tn(o, df(t.parser.constructs.insideSpan.null, e.slice(s + r + 4, a - 3), t)), o = tn(o, [["exit", h, t], e[a - 2], e[a - 1], ["exit", c, t]]), o = tn(o, e.slice(a + 1)), o = tn(o, [["exit", l, t]]), Dr(e, s, e.length, o), e;
30541
30530
  }
30542
30531
  function Xo1(e, t, i) {
30543
30532
  const r = this;
@@ -31029,7 +31018,7 @@ function E41(e, t, i) {
31029
31018
  let h = t.tokenize.call(c, l);
31030
31019
  return t.resolveAll && s.push(t), c;
31031
31020
  function d(z) {
31032
- return a = rn(a, z), v(), a[a.length - 1] !== null ? [] : (M(t, 0), c.events = df(s, c.events, c), c.events);
31021
+ return a = tn(a, z), v(), a[a.length - 1] !== null ? [] : (M(t, 0), c.events = df(s, c.events, c), c.events);
31033
31022
  }
31034
31023
  function p(z, E) {
31035
31024
  return R41(f(z), E);
@@ -31348,7 +31337,7 @@ function F41(e) {
31348
31337
  resourceDestinationString: a,
31349
31338
  resourceTitleString: a,
31350
31339
  setextHeading: s(Ve),
31351
- strong: s($r),
31340
+ strong: s(Pr),
31352
31341
  thematicBreak: s(ue)
31353
31342
  },
31354
31343
  exit: {
@@ -31802,7 +31791,7 @@ function F41(e) {
31802
31791
  children: []
31803
31792
  };
31804
31793
  }
31805
- function $r() {
31794
+ function Pr() {
31806
31795
  return {
31807
31796
  type: "strong",
31808
31797
  children: []
@@ -36990,10 +36979,10 @@ var R4;
36990
36979
  (function(e) {
36991
36980
  e.TYPE = "type", e.ACTION = "action", e.ENCODING = "encoding", e.PROMPT = "prompt", e.NAME = "name", e.COLOR = "color", e.FACE = "face", e.SIZE = "size";
36992
36981
  })(R4 || (R4 = {}));
36993
- var nn;
36982
+ var rn;
36994
36983
  (function(e) {
36995
36984
  e.NO_QUIRKS = "no-quirks", e.QUIRKS = "quirks", e.LIMITED_QUIRKS = "limited-quirks";
36996
- })(nn || (nn = {}));
36985
+ })(rn || (rn = {}));
36997
36986
  var f1;
36998
36987
  (function(e) {
36999
36988
  e.A = "a", e.ADDRESS = "address", e.ANNOTATION_XML = "annotation-xml", e.APPLET = "applet", e.AREA = "area", e.ARTICLE = "article", e.ASIDE = "aside", e.B = "b", e.BASE = "base", e.BASEFONT = "basefont", e.BGSOUND = "bgsound", e.BIG = "big", e.BLOCKQUOTE = "blockquote", e.BODY = "body", e.BR = "br", e.BUTTON = "button", e.CAPTION = "caption", e.CENTER = "center", e.CODE = "code", e.COL = "col", e.COLGROUP = "colgroup", e.DD = "dd", e.DESC = "desc", e.DETAILS = "details", e.DIALOG = "dialog", e.DIR = "dir", e.DIV = "div", e.DL = "dl", e.DT = "dt", e.EM = "em", e.EMBED = "embed", e.FIELDSET = "fieldset", e.FIGCAPTION = "figcaption", e.FIGURE = "figure", e.FONT = "font", e.FOOTER = "footer", e.FOREIGN_OBJECT = "foreignObject", e.FORM = "form", e.FRAME = "frame", e.FRAMESET = "frameset", e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e.HEAD = "head", e.HEADER = "header", e.HGROUP = "hgroup", e.HR = "hr", e.HTML = "html", e.I = "i", e.IMG = "img", e.IMAGE = "image", e.INPUT = "input", e.IFRAME = "iframe", e.KEYGEN = "keygen", e.LABEL = "label", e.LI = "li", e.LINK = "link", e.LISTING = "listing", e.MAIN = "main", e.MALIGNMARK = "malignmark", e.MARQUEE = "marquee", e.MATH = "math", e.MENU = "menu", e.META = "meta", e.MGLYPH = "mglyph", e.MI = "mi", e.MO = "mo", e.MN = "mn", e.MS = "ms", e.MTEXT = "mtext", e.NAV = "nav", e.NOBR = "nobr", e.NOFRAMES = "noframes", e.NOEMBED = "noembed", e.NOSCRIPT = "noscript", e.OBJECT = "object", e.OL = "ol", e.OPTGROUP = "optgroup", e.OPTION = "option", e.P = "p", e.PARAM = "param", e.PLAINTEXT = "plaintext", e.PRE = "pre", e.RB = "rb", e.RP = "rp", e.RT = "rt", e.RTC = "rtc", e.RUBY = "ruby", e.S = "s", e.SCRIPT = "script", e.SEARCH = "search", e.SECTION = "section", e.SELECT = "select", e.SOURCE = "source", e.SMALL = "small", e.SPAN = "span", e.STRIKE = "strike", e.STRONG = "strong", e.STYLE = "style", e.SUB = "sub", e.SUMMARY = "summary", e.SUP = "sup", e.TABLE = "table", e.TBODY = "tbody", e.TEMPLATE = "template", e.TEXTAREA = "textarea", e.TFOOT = "tfoot", e.TD = "td", e.TH = "th", e.THEAD = "thead", e.TITLE = "title", e.TR = "tr", e.TRACK = "track", e.TT = "tt", e.U = "u", e.UL = "ul", e.SVG = "svg", e.VAR = "var", e.WBR = "wbr", e.XMP = "xmp";
@@ -39473,7 +39462,7 @@ const fa = {
39473
39462
  createDocument() {
39474
39463
  return {
39475
39464
  nodeName: "#document",
39476
- mode: nn.NO_QUIRKS,
39465
+ mode: rn.NO_QUIRKS,
39477
39466
  childNodes: []
39478
39467
  };
39479
39468
  },
@@ -39702,21 +39691,21 @@ function i31(e) {
39702
39691
  }
39703
39692
  function r31(e) {
39704
39693
  if (e.name !== w$)
39705
- return nn.QUIRKS;
39694
+ return rn.QUIRKS;
39706
39695
  const { systemId: t } = e;
39707
39696
  if (t && t.toLowerCase() === Q91)
39708
- return nn.QUIRKS;
39697
+ return rn.QUIRKS;
39709
39698
  let { publicId: i } = e;
39710
39699
  if (i !== null) {
39711
39700
  if (i = i.toLowerCase(), e31.has(i))
39712
- return nn.QUIRKS;
39701
+ return rn.QUIRKS;
39713
39702
  let r = t === null ? J91 : y$;
39714
39703
  if (rz(i, r))
39715
- return nn.QUIRKS;
39704
+ return rn.QUIRKS;
39716
39705
  if (r = t === null ? x$ : t31, rz(i, r))
39717
- return nn.LIMITED_QUIRKS;
39706
+ return rn.LIMITED_QUIRKS;
39718
39707
  }
39719
- return nn.NO_QUIRKS;
39708
+ return rn.NO_QUIRKS;
39720
39709
  }
39721
39710
  const nz = {
39722
39711
  TEXT_HTML: "text/html",
@@ -40914,11 +40903,11 @@ function SV(e, t) {
40914
40903
  }
40915
40904
  function b31(e, t) {
40916
40905
  e._setDocumentType(t);
40917
- const i = t.forceQuirks ? nn.QUIRKS : r31(t);
40906
+ const i = t.forceQuirks ? rn.QUIRKS : r31(t);
40918
40907
  i31(t) || e._err(t, L1.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, i), e.insertionMode = t1.BEFORE_HTML;
40919
40908
  }
40920
40909
  function y3(e, t) {
40921
- e._err(t, L1.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, nn.QUIRKS), e.insertionMode = t1.BEFORE_HTML, e._processToken(t);
40910
+ e._err(t, L1.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, rn.QUIRKS), e.insertionMode = t1.BEFORE_HTML, e._processToken(t);
40922
40911
  }
40923
40912
  function _31(e, t) {
40924
40913
  t.tagID === _.HTML ? (e._insertElement(t, T1.HTML), e.insertionMode = t1.BEFORE_HEAD) : D7(e, t);
@@ -41208,7 +41197,7 @@ function K31(e, t) {
41208
41197
  e._reconstructActiveFormattingElements(), e._insertElement(t, T1.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
41209
41198
  }
41210
41199
  function X31(e, t) {
41211
- e.treeAdapter.getDocumentMode(e.document) !== nn.QUIRKS && e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, T1.HTML), e.framesetOk = !1, e.insertionMode = t1.IN_TABLE;
41200
+ e.treeAdapter.getDocumentMode(e.document) !== rn.QUIRKS && e.openElements.hasInButtonScope(_.P) && e._closePElement(), e._insertElement(t, T1.HTML), e.framesetOk = !1, e.insertionMode = t1.IN_TABLE;
41212
41201
  }
41213
41202
  function b$(e, t) {
41214
41203
  e._reconstructActiveFormattingElements(), e._appendElement(t, T1.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
@@ -46744,7 +46733,7 @@ const lh1 = "prose prose-neutral max-w-none prose-strong:text-gray-plain", uh1 =
46744
46733
  titleTag: {}
46745
46734
  },
46746
46735
  setup(e) {
46747
- const t = e, { t: i } = K1(), { formatRelativeIfRecentDate: r } = Ir(), n = Ht(), s = Y(() => n.tabularApiDataserviceId === t.dataservice.id);
46736
+ const t = e, { t: i } = K1(), { formatRelativeIfRecentDate: r } = kr(), n = Ht(), s = Y(() => n.tabularApiDataserviceId === t.dataservice.id);
46748
46737
  return (a, o) => (T(), s1(pl, {
46749
46738
  "article-class": {
46750
46739
  "border-tabular-api": s.value,
@@ -47637,7 +47626,7 @@ function Ph1({
47637
47626
  return { startIndex: a, endIndex: o };
47638
47627
  }
47639
47628
  function $h1(e) {
47640
- const t = new Fh1(N(e)), i = dn(t), r = t._didMount();
47629
+ const t = new Fh1(N(e)), i = hn(t), r = t._didMount();
47641
47630
  return we(
47642
47631
  () => N(e).getScrollElement(),
47643
47632
  (n) => {
@@ -47774,7 +47763,7 @@ let Xh1 = class {
47774
47763
  return typeof window > "u" || typeof document > "u" ? "server" : "client";
47775
47764
  }
47776
47765
  }, y6 = new Xh1();
47777
- function Or(e) {
47766
+ function Ir(e) {
47778
47767
  if (y6.isServer) return null;
47779
47768
  if (e instanceof Node) return e.ownerDocument;
47780
47769
  if (e != null && e.hasOwnProperty("value")) {
@@ -47791,7 +47780,7 @@ function Mf(e = document.body) {
47791
47780
  var bf = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(bf || {});
47792
47781
  function EV(e, t = 0) {
47793
47782
  var i;
47794
- return e === ((i = Or(e)) == null ? void 0 : i.body) ? !1 : pt(t, { 0() {
47783
+ return e === ((i = Ir(e)) == null ? void 0 : i.body) ? !1 : pt(t, { 0() {
47795
47784
  return e.matches(By);
47796
47785
  }, 1() {
47797
47786
  let r = e;
@@ -47926,7 +47915,7 @@ function rd1({ container: e, accept: t, walk: i, enabled: r }) {
47926
47915
  rt(() => {
47927
47916
  let n = e.value;
47928
47917
  if (!n || r !== void 0 && !r.value) return;
47929
- let s = Or(e);
47918
+ let s = Ir(e);
47930
47919
  if (!s) return;
47931
47920
  let a = Object.assign((l) => t(l), { acceptNode: t }), o = s.createTreeWalker(n, NodeFilter.SHOW_ELEMENT, a, !1);
47932
47921
  for (; o.nextNode(); ) i(o.currentNode);
@@ -48314,7 +48303,7 @@ let Uz = g({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
48314
48303
  };
48315
48304
  } }), fd1 = g({ name: "ComboboxInput", props: { as: { type: [Object, String], default: "input" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, displayValue: { type: Function }, defaultValue: { type: String, default: void 0 }, id: { type: String, default: null } }, emits: { change: (e) => !0 }, setup(e, { emit: t, attrs: i, slots: r, expose: n }) {
48316
48305
  var s;
48317
- let a = (s = e.id) != null ? s : `headlessui-combobox-input-${qt()}`, o = Vl("ComboboxInput"), l = Y(() => Or(S1(o.inputRef))), c = { value: !1 };
48306
+ let a = (s = e.id) != null ? s : `headlessui-combobox-input-${qt()}`, o = Vl("ComboboxInput"), l = Y(() => Ir(S1(o.inputRef))), c = { value: !1 };
48318
48307
  n({ el: o.inputRef, $el: o.inputRef });
48319
48308
  function h() {
48320
48309
  o.change(null);
@@ -48514,7 +48503,7 @@ var IU = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus"
48514
48503
  let L3 = Object.assign(g({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: o1(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: i, expose: r }) {
48515
48504
  let n = o1(null);
48516
48505
  r({ el: n, $el: n });
48517
- let s = Y(() => Or(n)), a = o1(!1);
48506
+ let s = Y(() => Ir(n)), a = o1(!1);
48518
48507
  Be(() => a.value = !0), s2(() => a.value = !1), vd1({ ownerDocument: s }, Y(() => a.value && !!(e.features & 16)));
48519
48508
  let o = wd1({ ownerDocument: s, container: n, initialFocus: Y(() => e.initialFocus) }, Y(() => a.value && !!(e.features & 2)));
48520
48509
  yd1({ ownerDocument: s, container: n, containers: e.containers, previousActiveElement: o }, Y(() => a.value && !!(e.features & 8)));
@@ -48610,7 +48599,7 @@ function OU(e, t) {
48610
48599
  return !1;
48611
48600
  }
48612
48601
  function xd1(e) {
48613
- let t = dn(e.getSnapshot());
48602
+ let t = hn(e.getSnapshot());
48614
48603
  return s2(e.subscribe(() => {
48615
48604
  t.value = e.getSnapshot();
48616
48605
  })), t;
@@ -48747,7 +48736,7 @@ function Gz(e, t = o1(!0)) {
48747
48736
  });
48748
48737
  }
48749
48738
  function FU({ defaultContainers: e = [], portals: t, mainTreeNodeRef: i } = {}) {
48750
- let r = o1(null), n = Or(r);
48739
+ let r = o1(null), n = Ir(r);
48751
48740
  function s() {
48752
48741
  var a, o, l;
48753
48742
  let c = [];
@@ -48821,7 +48810,7 @@ g({ name: "Description", props: { as: { type: [Object, String], default: "p" },
48821
48810
  };
48822
48811
  } });
48823
48812
  function Rd1(e) {
48824
- let t = Or(e);
48813
+ let t = Ir(e);
48825
48814
  if (!t) {
48826
48815
  if (e === null) return null;
48827
48816
  throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`);
@@ -48841,7 +48830,7 @@ function Wz(e, t) {
48841
48830
  return i <= 0 ? Fy.delete(e) : Fy.set(e, i), i;
48842
48831
  }
48843
48832
  let GU = g({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: i }) {
48844
- let r = o1(null), n = Y(() => Or(r)), s = Nd1(), a = ft(YU, null), o = o1(s === !0 || a == null ? Rd1(r.value) : a.resolveTarget());
48833
+ let r = o1(null), n = Y(() => Ir(r)), s = Nd1(), a = ft(YU, null), o = o1(s === !0 || a == null ? Rd1(r.value) : a.resolveTarget());
48845
48834
  o.value && Wz(o.value, (p) => p + 1);
48846
48835
  let l = o1(!1);
48847
48836
  Be(() => {
@@ -48906,7 +48895,7 @@ let Zu = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", kd1 = g({ name: "Dialog", inher
48906
48895
  Be(() => {
48907
48896
  l.value = !0;
48908
48897
  });
48909
- let c = !1, h = Y(() => e.role === "dialog" || e.role === "alertdialog" ? e.role : (c || (c = !0, console.warn(`Invalid role [${h}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), d = o1(0), p = uo(), f = Y(() => e.open === Zu && p !== null ? (p.value & St.Open) === St.Open : e.open), C = o1(null), m = Y(() => Or(C));
48898
+ let c = !1, h = Y(() => e.role === "dialog" || e.role === "alertdialog" ? e.role : (c || (c = !0, console.warn(`Invalid role [${h}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), d = o1(0), p = uo(), f = Y(() => e.open === Zu && p !== null ? (p.value & St.Open) === St.Open : e.open), C = o1(null), m = Y(() => Ir(C));
48910
48899
  if (n({ el: C, $el: C }), !(e.open !== Zu || p !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
48911
48900
  if (typeof f.value != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${f.value === Zu ? void 0 : e.open}`);
48912
48901
  let v = Y(() => l.value && f.value ? 0 : 1), w = Y(() => v.value === 0), y = Y(() => d.value > 1), x = ft($y, null) !== null, [L, V] = WU(), { resolveContainers: S, mainTreeNodeRef: H, MainTreeNode: M } = FU({ portals: L, defaultContainers: [Y(() => {
@@ -49384,7 +49373,7 @@ let BV = g({ name: "Popover", inheritAttrs: !1, props: { as: { type: [Object, St
49384
49373
  var n;
49385
49374
  let s = o1(null);
49386
49375
  r({ el: s, $el: s });
49387
- let a = o1(1), o = o1(null), l = o1(null), c = o1(null), h = o1(null), d = Y(() => Or(s)), p = Y(() => {
49376
+ let a = o1(1), o = o1(null), l = o1(null), c = o1(null), h = o1(null), d = Y(() => Ir(s)), p = Y(() => {
49388
49377
  var V, S;
49389
49378
  if (!S1(o) || !S1(h)) return !1;
49390
49379
  for (let R of document.querySelectorAll("body > *")) if (Number(R?.contains(S1(o))) ^ Number(R?.contains(S1(h)))) return !0;
@@ -49419,7 +49408,7 @@ let BV = g({ name: "Popover", inheritAttrs: !1, props: { as: { type: [Object, St
49419
49408
  };
49420
49409
  } }), tG = g({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: null } }, inheritAttrs: !1, setup(e, { attrs: t, slots: i, expose: r }) {
49421
49410
  var n;
49422
- let s = (n = e.id) != null ? n : `headlessui-popover-button-${qt()}`, a = Nf("PopoverButton"), o = Y(() => Or(a.button));
49411
+ let s = (n = e.id) != null ? n : `headlessui-popover-button-${qt()}`, a = Nf("PopoverButton"), o = Y(() => Ir(a.button));
49423
49412
  r({ el: a.button, $el: a.button }), Be(() => {
49424
49413
  a.buttonId.value = s;
49425
49414
  }), s2(() => {
@@ -49488,7 +49477,7 @@ g({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div
49488
49477
  } });
49489
49478
  let iG = g({ name: "PopoverPanel", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, focus: { type: Boolean, default: !1 }, id: { type: String, default: null } }, inheritAttrs: !1, setup(e, { attrs: t, slots: i, expose: r }) {
49490
49479
  var n;
49491
- let s = (n = e.id) != null ? n : `headlessui-popover-panel-${qt()}`, { focus: a } = e, o = Nf("PopoverPanel"), l = Y(() => Or(o.panel)), c = `headlessui-focus-sentinel-before-${qt()}`, h = `headlessui-focus-sentinel-after-${qt()}`;
49480
+ let s = (n = e.id) != null ? n : `headlessui-popover-panel-${qt()}`, { focus: a } = e, o = Nf("PopoverPanel"), l = Y(() => Ir(o.panel)), c = `headlessui-focus-sentinel-before-${qt()}`, h = `headlessui-focus-sentinel-after-${qt()}`;
49492
49481
  r({ el: o.panel, $el: o.panel }), Be(() => {
49493
49482
  o.panelId.value = s;
49494
49483
  }), s2(() => {
@@ -49558,7 +49547,7 @@ let iG = g({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
49558
49547
  };
49559
49548
  } });
49560
49549
  g({ name: "PopoverGroup", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: t, slots: i, expose: r }) {
49561
- let n = o1(null), s = dn([]), a = Y(() => Or(n)), o = _d1();
49550
+ let n = o1(null), s = hn([]), a = Y(() => Ir(n)), o = _d1();
49562
49551
  r({ el: n, $el: n });
49563
49552
  function l(p) {
49564
49553
  let f = s.value.indexOf(p);
@@ -49704,7 +49693,7 @@ let kV = Symbol("TabsSSRContext"), sp1 = g({ name: "TabGroup", emits: { change:
49704
49693
  var x;
49705
49694
  let L = y();
49706
49695
  if (L === w0.Success && a.activation.value === "auto") {
49707
- let V = (x = Or(o)) == null ? void 0 : x.activeElement, S = a.tabs.value.findIndex((H) => S1(H) === V);
49696
+ let V = (x = Ir(o)) == null ? void 0 : x.activeElement, S = a.tabs.value.findIndex((H) => S1(H) === V);
49708
49697
  S !== -1 && a.setSelectedIndex(S);
49709
49698
  }
49710
49699
  return L;
@@ -50042,7 +50031,7 @@ const Zf = /* @__PURE__ */ g({
50042
50031
  titleTag: {}
50043
50032
  },
50044
50033
  setup(e) {
50045
- const t = e, { t: i } = K1(), { formatRelativeIfRecentDate: r } = Ir();
50034
+ const t = e, { t: i } = K1(), { formatRelativeIfRecentDate: r } = kr();
50046
50035
  return (n, s) => (T(), s1(pl, null, {
50047
50036
  badge: J(() => [
50048
50037
  e.dataset.private ? (T(), s1(La, {
@@ -50191,7 +50180,7 @@ const Ls = /* @__PURE__ */ P2(Ap1, [["render", Bp1]]), kp1 = {
50191
50180
  organizationUrl: {}
50192
50181
  },
50193
50182
  setup(e) {
50194
- const t = e, { t: i } = K1(), { formatRelativeIfRecentDate: r } = Ir(), n = Y(() => t.discussion.discussion?.[0]?.content), s = (a) => r(a, {
50183
+ const t = e, { t: i } = K1(), { formatRelativeIfRecentDate: r } = kr(), n = Y(() => t.discussion.discussion?.[0]?.content), s = (a) => r(a, {
50195
50184
  dateStyle: "long",
50196
50185
  timeStyle: "short"
50197
50186
  });
@@ -50384,7 +50373,7 @@ const $V = /* @__PURE__ */ P2(Fp1, [["render", $p1]]), Up1 = {
50384
50373
  dataset: {}
50385
50374
  },
50386
50375
  setup(e) {
50387
- const { t } = K1(), { formatDate: i } = Ir();
50376
+ const { t } = K1(), { formatDate: i } = kr();
50388
50377
  return (r, n) => (T(), $("div", Xp1, [
50389
50378
  D("h3", Qp1, P(N(t)("Temporalité")), 1),
50390
50379
  G($V, null, {
@@ -50845,7 +50834,7 @@ function oG(e, t, i) {
50845
50834
  var r;
50846
50835
  let n;
50847
50836
  ai(i) ? n = { evaluating: i } : n = i || {};
50848
- const { lazy: s = !1, flush: a = "sync", evaluating: o = void 0, shallow: l = !0, onError: c = (r = globalThis.reportError) !== null && r !== void 0 ? r : v4 } = n, h = dn(!s), d = l ? dn(t) : o1(t);
50837
+ const { lazy: s = !1, flush: a = "sync", evaluating: o = void 0, shallow: l = !0, onError: c = (r = globalThis.reportError) !== null && r !== void 0 ? r : v4 } = n, h = hn(!s), d = l ? hn(t) : o1(t);
50849
50838
  let p = 0;
50850
50839
  return rt(async (f) => {
50851
50840
  if (!h.value) return;
@@ -50963,7 +50952,7 @@ function lG(e, t, i = {}) {
50963
50952
  }
50964
50953
  // @__NO_SIDE_EFFECTS__
50965
50954
  function Tf1() {
50966
- const e = dn(!1), t = s6();
50955
+ const e = hn(!1), t = s6();
50967
50956
  return t && Be(() => {
50968
50957
  e.value = !0;
50969
50958
  }, t), e;
@@ -50980,7 +50969,7 @@ function Af1() {
50980
50969
  return typeof e == "number" ? e : void 0;
50981
50970
  }
50982
50971
  function Df1(e, t = {}) {
50983
- const { window: i = M6, ssrWidth: r = /* @__PURE__ */ Af1() } = t, n = /* @__PURE__ */ uG(() => i && "matchMedia" in i && typeof i.matchMedia == "function"), s = dn(typeof r == "number"), a = dn(), o = dn(!1), l = (c) => {
50972
+ const { window: i = M6, ssrWidth: r = /* @__PURE__ */ Af1() } = t, n = /* @__PURE__ */ uG(() => i && "matchMedia" in i && typeof i.matchMedia == "function"), s = hn(typeof r == "number"), a = hn(), o = hn(!1), l = (c) => {
50984
50973
  o.value = c.matches;
50985
50974
  };
50986
50975
  return rt(() => {
@@ -51026,7 +51015,7 @@ function kf1(e, t = {
51026
51015
  const { window: r = M6, box: n = "content-box" } = i, s = Y(() => {
51027
51016
  var d;
51028
51017
  return (d = Zn(e)) === null || d === void 0 || (d = d.namespaceURI) === null || d === void 0 ? void 0 : d.includes("svg");
51029
- }), a = dn(t.width), o = dn(t.height), { stop: l } = Bf1(e, ([d]) => {
51018
+ }), a = hn(t.width), o = hn(t.height), { stop: l } = Bf1(e, ([d]) => {
51030
51019
  const p = n === "border-box" ? d.borderBoxSize : n === "content-box" ? d.contentBoxSize : d.devicePixelContentBoxSize;
51031
51020
  if (r && s.value) {
51032
51021
  const f = Zn(e);
@@ -51380,7 +51369,7 @@ const rg1 = /* @__PURE__ */ P2(eg1, [["render", ig1]]), ng1 = ["name", "value",
51380
51369
  postUrl: {}
51381
51370
  },
51382
51371
  setup(e) {
51383
- const { t } = K1(), { formatRelativeIfRecentDate: i } = Ir(), r = (n) => i(n, {
51372
+ const { t } = K1(), { formatRelativeIfRecentDate: i } = kr(), r = (n) => i(n, {
51384
51373
  dateStyle: "long",
51385
51374
  timeStyle: "short"
51386
51375
  });
@@ -52816,7 +52805,7 @@ const n0 = /* @__PURE__ */ P2(Hm1, [["render", bm1]]), _m1 = { class: "flex flex
52816
52805
  resource: {}
52817
52806
  },
52818
52807
  setup(e) {
52819
- const t = e, i = Y(() => Object.keys(t.resource.extras).length), r = Y(() => KG(t.resource)), n = Y(() => nH(t.resource)), { t: s } = K1(), { formatDate: a } = Ir();
52808
+ const t = e, i = Y(() => Object.keys(t.resource.extras).length), r = Y(() => KG(t.resource)), n = Y(() => nH(t.resource)), { t: s } = K1(), { formatDate: a } = kr();
52820
52809
  return (o, l) => (T(), $("div", null, [
52821
52810
  D("div", _m1, [
52822
52811
  D("dl", Nm1, [
@@ -52990,7 +52979,7 @@ const n0 = /* @__PURE__ */ P2(Hm1, [["render", bm1]]), _m1 = { class: "flex flex
52990
52979
  let hm = null;
52991
52980
  function Im1() {
52992
52981
  const e = Ht();
52993
- return async () => hm || await (hm = kr("api/1/datasets/schemas/", {
52982
+ return async () => hm || await (hm = fn("api/1/datasets/schemas/", {
52994
52983
  baseURL: e.apiBase
52995
52984
  }));
52996
52985
  }
@@ -53229,7 +53218,7 @@ async function nW(e, t) {
53229
53218
  const s = sW(t.filters);
53230
53219
  s && (n += `&${s}`);
53231
53220
  }
53232
- return await kr(n);
53221
+ return await fn(n);
53233
53222
  }
53234
53223
  function sW(e) {
53235
53224
  const t = [];
@@ -53251,7 +53240,7 @@ async function pv1(e, t, i, r) {
53251
53240
  }
53252
53241
  function aW() {
53253
53242
  const e = Ht();
53254
- return (t) => kr(`${e.tabularApiUrl}/api/resources/${t}/profile/`);
53243
+ return (t) => fn(`${e.tabularApiUrl}/api/resources/${t}/profile/`);
53255
53244
  }
53256
53245
  var dZ = (function() {
53257
53246
  return Math.random().toString(36).substring(2);
@@ -53864,7 +53853,7 @@ const fv1 = ["y"], gv1 = ["y"], Cv1 = ["y"], mv1 = ["y"], vv1 = ["y"], wv1 = ["y
53864
53853
  resource: {}
53865
53854
  },
53866
53855
  setup(e) {
53867
- const t = e, { t: i } = K1(), { formatDate: r } = Ir(), n = o1([]), s = o1([]), a = o1(!0), o = o1(!1), l = o1(null), c = o1(0), h = Ht(), d = Y(() => h.tabularApiPageSize || 15), p = o1(1);
53856
+ const t = e, { t: i } = K1(), { formatDate: r } = kr(), n = o1([]), s = o1([]), a = o1(!0), o = o1(!1), l = o1(null), c = o1(0), h = Ht(), d = Y(() => h.tabularApiPageSize || 15), p = o1(1);
53868
53857
  function f(y) {
53869
53858
  return y === l.value?.column;
53870
53859
  }
@@ -54738,9 +54727,9 @@ function O5(e, t, i, r) {
54738
54727
  }
54739
54728
  return e.call(t, i, r);
54740
54729
  }
54741
- function pn(e, t, i) {
54730
+ function dn(e, t, i) {
54742
54731
  if (Array.isArray(e))
54743
- return e.map((r, n) => pn(r, String(n), i));
54732
+ return e.map((r, n) => dn(r, String(n), i));
54744
54733
  if (e && typeof e.toJSON == "function") {
54745
54734
  if (!i || !pW(e))
54746
54735
  return e.toJSON(t, i);
@@ -54773,7 +54762,7 @@ class lH {
54773
54762
  mapAsMap: i === !0,
54774
54763
  mapKeyWarned: !1,
54775
54764
  maxAliasCount: typeof r == "number" ? r : 100
54776
- }, o = pn(this, "", a);
54765
+ }, o = dn(this, "", a);
54777
54766
  if (typeof n == "function")
54778
54767
  for (const { count: l, res: c } of a.anchors.values())
54779
54768
  n(c, l);
@@ -54816,7 +54805,7 @@ class uH extends lH {
54816
54805
  throw new ReferenceError(l);
54817
54806
  }
54818
54807
  let o = r.get(a);
54819
- if (o || (pn(a, null, i), o = r.get(a)), o?.res === void 0) {
54808
+ if (o || (dn(a, null, i), o = r.get(a)), o?.res === void 0) {
54820
54809
  const l = "This should not happen: Alias anchor was not resolved?";
54821
54810
  throw new ReferenceError(l);
54822
54811
  }
@@ -54862,7 +54851,7 @@ class Ye extends lH {
54862
54851
  super(Bs), this.value = t;
54863
54852
  }
54864
54853
  toJSON(t, i) {
54865
- return i?.keep ? this.value : pn(this.value, t, i);
54854
+ return i?.keep ? this.value : dn(this.value, t, i);
54866
54855
  }
54867
54856
  toString() {
54868
54857
  return String(this.value);
@@ -55527,13 +55516,13 @@ function SW(e, t, { key: i, value: r }) {
55527
55516
  else if (ny1(e, i))
55528
55517
  LW(e, t, r);
55529
55518
  else {
55530
- const n = pn(i, "", e);
55519
+ const n = dn(i, "", e);
55531
55520
  if (t instanceof Map)
55532
- t.set(n, pn(r, n, e));
55521
+ t.set(n, dn(r, n, e));
55533
55522
  else if (t instanceof Set)
55534
55523
  t.add(n);
55535
55524
  else {
55536
- const s = sy1(i, n, e), a = pn(r, s, e);
55525
+ const s = sy1(i, n, e), a = dn(r, s, e);
55537
55526
  s in t ? Object.defineProperty(t, s, {
55538
55527
  value: a,
55539
55528
  writable: !0,
@@ -55675,7 +55664,7 @@ function V4(e, t) {
55675
55664
  if (N2(r) && (r.key === t || r.key === i || jt(r.key) && r.key.value === i))
55676
55665
  return r;
55677
55666
  }
55678
- class on extends vW {
55667
+ class an extends vW {
55679
55668
  static get tagName() {
55680
55669
  return "tag:yaml.org,2002:map";
55681
55670
  }
@@ -55766,12 +55755,12 @@ class on extends vW {
55766
55755
  const U9 = {
55767
55756
  collection: "map",
55768
55757
  default: !0,
55769
- nodeClass: on,
55758
+ nodeClass: an,
55770
55759
  tag: "tag:yaml.org,2002:map",
55771
55760
  resolve(e, t) {
55772
55761
  return N6(e) || t("Expected a mapping for this tag"), e;
55773
55762
  },
55774
- createNode: (e, t, i) => on.from(e, t, i)
55763
+ createNode: (e, t, i) => an.from(e, t, i)
55775
55764
  };
55776
55765
  class Q4 extends vW {
55777
55766
  static get tagName() {
@@ -55831,7 +55820,7 @@ class Q4 extends vW {
55831
55820
  i?.onCreate && i.onCreate(r);
55832
55821
  let n = 0;
55833
55822
  for (const s of this.items)
55834
- r.push(pn(s, String(n++), i));
55823
+ r.push(dn(s, String(n++), i));
55835
55824
  return r;
55836
55825
  }
55837
55826
  toString(t, i, r) {
@@ -56139,7 +56128,7 @@ const gH = {
56139
56128
  };
56140
56129
  class J5 extends Q4 {
56141
56130
  constructor() {
56142
- super(), this.add = on.prototype.add.bind(this), this.delete = on.prototype.delete.bind(this), this.get = on.prototype.get.bind(this), this.has = on.prototype.has.bind(this), this.set = on.prototype.set.bind(this), this.tag = J5.tag;
56131
+ super(), this.add = an.prototype.add.bind(this), this.delete = an.prototype.delete.bind(this), this.get = an.prototype.get.bind(this), this.has = an.prototype.has.bind(this), this.set = an.prototype.set.bind(this), this.tag = J5.tag;
56143
56132
  }
56144
56133
  /**
56145
56134
  * If `ctx` is given, the return type is actually `Map<unknown, unknown>`,
@@ -56152,7 +56141,7 @@ class J5 extends Q4 {
56152
56141
  i?.onCreate && i.onCreate(r);
56153
56142
  for (const n of this.items) {
56154
56143
  let s, a;
56155
- if (N2(n) ? (s = pn(n.key, "", i), a = pn(n.value, s, i)) : s = pn(n, "", i), r.has(s))
56144
+ if (N2(n) ? (s = dn(n.key, "", i), a = dn(n.value, s, i)) : s = dn(n, "", i), r.has(s))
56156
56145
  throw new Error("Ordered maps must not include duplicate keys");
56157
56146
  r.set(s, a);
56158
56147
  }
@@ -56288,7 +56277,7 @@ const gy1 = {
56288
56277
  resolve: (e, t, i) => jf(e, 2, 16, i),
56289
56278
  stringify: (e) => mH(e, 16, "0x")
56290
56279
  };
56291
- class e9 extends on {
56280
+ class e9 extends an {
56292
56281
  constructor(t) {
56293
56282
  super(t), this.tag = e9.tag;
56294
56283
  }
@@ -56716,7 +56705,7 @@ class Xf {
56716
56705
  mapAsMap: r === !0,
56717
56706
  mapKeyWarned: !1,
56718
56707
  maxAliasCount: typeof n == "number" ? n : 100
56719
- }, l = pn(this.contents, i ?? "", o);
56708
+ }, l = dn(this.contents, i ?? "", o);
56720
56709
  if (typeof s == "function")
56721
56710
  for (const { count: c, res: h } of o.anchors.values())
56722
56711
  s(h, c);
@@ -56889,7 +56878,7 @@ function FW(e, t, i) {
56889
56878
  }
56890
56879
  const yZ = "All mapping items must start at the same column";
56891
56880
  function Sy1({ composeNode: e, composeEmptyNode: t }, i, r, n, s) {
56892
- const a = s?.nodeClass ?? on, o = new a(i.schema);
56881
+ const a = s?.nodeClass ?? an, o = new a(i.schema);
56893
56882
  i.atRoot && (i.atRoot = !1);
56894
56883
  let l = r.offset, c = null;
56895
56884
  for (const h of r.items) {
@@ -56989,7 +56978,7 @@ function E6(e, t, i, r) {
56989
56978
  }
56990
56979
  const fm = "Block collections are not allowed within flow collections", gm = (e) => e && (e.type === "block-map" || e.type === "block-seq");
56991
56980
  function Hy1({ composeNode: e, composeEmptyNode: t }, i, r, n, s) {
56992
- const a = r.start.source === "{", o = a ? "flow map" : "flow sequence", l = s?.nodeClass ?? (a ? on : Q4), c = new l(i.schema);
56981
+ const a = r.start.source === "{", o = a ? "flow map" : "flow sequence", l = s?.nodeClass ?? (a ? an : Q4), c = new l(i.schema);
56993
56982
  c.flow = !0;
56994
56983
  const h = i.atRoot;
56995
56984
  h && (i.atRoot = !1), i.atKey && (i.atKey = !1);
@@ -57076,7 +57065,7 @@ function Hy1({ composeNode: e, composeEmptyNode: t }, i, r, n, s) {
57076
57065
  const E = c;
57077
57066
  FW(i, E.items, M) && n(H, "DUPLICATE_KEY", "Map keys must be unique"), E.items.push(z);
57078
57067
  } else {
57079
- const E = new on(i.schema);
57068
+ const E = new an(i.schema);
57080
57069
  E.flow = !0, E.items.push(z);
57081
57070
  const R = (b ?? M).range;
57082
57071
  E.range = [M.range[0], R[1], R[2]], c.items.push(E);
@@ -57111,7 +57100,7 @@ function My1(e, t, i, r, n) {
57111
57100
  C && (!f || f.offset < C.offset) && n(C, "MISSING_CHAR", "Missing newline after block sequence props");
57112
57101
  }
57113
57102
  const o = i.type === "block-map" ? "map" : i.type === "block-seq" ? "seq" : i.start.source === "{" ? "map" : "seq";
57114
- if (!s || !a || a === "!" || a === on.tagName && o === "map" || a === Q4.tagName && o === "seq")
57103
+ if (!s || !a || a === "!" || a === an.tagName && o === "map" || a === Q4.tagName && o === "seq")
57115
57104
  return Cm(e, t, i, n, a);
57116
57105
  let l = t.schema.tags.find((p) => p.tag === a && p.collection === o);
57117
57106
  if (!l) {
@@ -59176,7 +59165,7 @@ const Jy1 = {
59176
59165
  canEdit: { type: Boolean, default: !1 }
59177
59166
  },
59178
59167
  setup(e) {
59179
- 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"], r = e, n = Ht(), s = tn(() => import("./MapContainer.client-CszeqIWr.js")), a = tn(() => import("./Pmtiles.client-BnPqJIsF.js")), o = tn(() => import("./JsonPreview.client-DQh095Dl.js")), l = tn(() => import("./PdfPreview.client-DKpKZprd.js")), c = tn(() => import("./XmlPreview.client-C75QZMsm.js")), h = tn(() => import("./Datafair.client-CQNz2GL7.js")), { t: d } = K1(), { formatRelativeIfRecentDate: p } = Ir(), f = eW(), C = Y(() => {
59168
+ 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"], r = e, n = Ht(), s = en(() => import("./MapContainer.client-CTz0wmJG.js")), a = en(() => import("./Pmtiles.client-BwmHo3T8.js")), o = en(() => import("./JsonPreview.client-BxuoPK_w.js")), l = en(() => import("./PdfPreview.client-DpVreUSl.js")), c = en(() => import("./XmlPreview.client-DAOs89cR.js")), h = en(() => import("./Datafair.client-8bXp6UeQ.js")), { t: d } = K1(), { formatRelativeIfRecentDate: p } = kr(), f = eW(), C = Y(() => {
59180
59169
  const p1 = r.resource.format?.toLowerCase();
59181
59170
  return p1 === "json" || p1 === "pdf" || p1 === "xml";
59182
59171
  }), m = Y(() => f(r.resource)), v = Y(() => r.resource.extras["analysis:parsing:pmtiles_url"] || r.resource.format === "pmtiles"), w = Y(() => f8(r.dataset.organization) && r.resource.extras.datafairEmbed), y = Y(() => f8(r.dataset.organization) && r.resource.extras.apidocUrl), x = Y(() => rH(r.resource.format) ? r.resource.format : d("Fichier")), L = Y(() => QG(r.resource)), V = Y(() => L.value === "wms"), S = Y(() => {
@@ -59751,19 +59740,19 @@ const ZL1 = { class: "border border-gray-default" }, EL1 = { class: "p-4 flex fl
59751
59740
  resource: {}
59752
59741
  },
59753
59742
  setup(e) {
59754
- const t = tn(
59755
- () => import("./JsonPreview.client-DQh095Dl.js")
59756
- ), i = tn(
59757
- () => import("./PdfPreview.client-DKpKZprd.js")
59758
- ), r = tn(
59759
- () => import("./XmlPreview.client-C75QZMsm.js")
59760
- ), n = tn(
59761
- () => import("./Datafair.client-CQNz2GL7.js")
59762
- ), s = tn(
59763
- () => import("./MapContainer.client-CszeqIWr.js")
59764
- ), a = tn(
59765
- () => import("./Pmtiles.client-BnPqJIsF.js")
59766
- ), o = e, { t: l } = K1(), c = Ht(), { formatRelativeIfRecentDate: h } = Ir(), {
59743
+ const t = en(
59744
+ () => import("./JsonPreview.client-BxuoPK_w.js")
59745
+ ), i = en(
59746
+ () => import("./PdfPreview.client-DpVreUSl.js")
59747
+ ), r = en(
59748
+ () => import("./XmlPreview.client-DAOs89cR.js")
59749
+ ), n = en(
59750
+ () => import("./Datafair.client-8bXp6UeQ.js")
59751
+ ), s = en(
59752
+ () => import("./MapContainer.client-CTz0wmJG.js")
59753
+ ), a = en(
59754
+ () => import("./Pmtiles.client-BwmHo3T8.js")
59755
+ ), o = e, { t: l } = K1(), c = Ht(), { formatRelativeIfRecentDate: h } = kr(), {
59767
59756
  hasTabularData: d,
59768
59757
  hasPmtiles: p,
59769
59758
  hasDatafairPreview: f,
@@ -60292,7 +60281,7 @@ const ZL1 = { class: "border border-gray-default" }, EL1 = { class: "p-4 flex fl
60292
60281
  let vm = null;
60293
60282
  function bS1() {
60294
60283
  const e = Ht(), { locale: t } = K1();
60295
- return async () => vm || await (vm = kr("api/1/reuses/types/", {
60284
+ return async () => vm || await (vm = fn("api/1/reuses/types/", {
60296
60285
  baseURL: e.apiBase,
60297
60286
  query: { lang: t }
60298
60287
  }));
@@ -60361,7 +60350,7 @@ const zS1 = { class: "flex flex-wrap items-center gap-1" }, ZS1 = { class: "text
60361
60350
  titleTag: { default: "h3" }
60362
60351
  },
60363
60352
  setup(e) {
60364
- const t = e, { t: i } = K1(), { formatRelativeIfRecentDate: r } = Ir(), n = Y(() => t.reuseUrl || t.reuse.page);
60353
+ const t = e, { t: i } = K1(), { formatRelativeIfRecentDate: r } = kr(), n = Y(() => t.reuseUrl || t.reuse.page);
60365
60354
  return (s, a) => (T(), $("article", RS1, [
60366
60355
  D("div", AS1, [
60367
60356
  D("div", DS1, [
@@ -60619,19 +60608,19 @@ function g0(e) {
60619
60608
  function MZ(e) {
60620
60609
  return Ma(T6(e * 100), 0, 100);
60621
60610
  }
60622
- const Gr = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, dx = [..."0123456789ABCDEF"], oV1 = (e) => dx[e & 15], lV1 = (e) => dx[(e & 240) >> 4] + dx[e & 15], Iu = (e) => (e & 240) >> 4 === (e & 15), uV1 = (e) => Iu(e.r) && Iu(e.g) && Iu(e.b) && Iu(e.a);
60611
+ const Ur = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, dx = [..."0123456789ABCDEF"], oV1 = (e) => dx[e & 15], lV1 = (e) => dx[(e & 240) >> 4] + dx[e & 15], Iu = (e) => (e & 240) >> 4 === (e & 15), uV1 = (e) => Iu(e.r) && Iu(e.g) && Iu(e.b) && Iu(e.a);
60623
60612
  function cV1(e) {
60624
60613
  var t = e.length, i;
60625
60614
  return e[0] === "#" && (t === 4 || t === 5 ? i = {
60626
- r: 255 & Gr[e[1]] * 17,
60627
- g: 255 & Gr[e[2]] * 17,
60628
- b: 255 & Gr[e[3]] * 17,
60629
- a: t === 5 ? Gr[e[4]] * 17 : 255
60615
+ r: 255 & Ur[e[1]] * 17,
60616
+ g: 255 & Ur[e[2]] * 17,
60617
+ b: 255 & Ur[e[3]] * 17,
60618
+ a: t === 5 ? Ur[e[4]] * 17 : 255
60630
60619
  } : (t === 7 || t === 9) && (i = {
60631
- r: Gr[e[1]] << 4 | Gr[e[2]],
60632
- g: Gr[e[3]] << 4 | Gr[e[4]],
60633
- b: Gr[e[5]] << 4 | Gr[e[6]],
60634
- a: t === 9 ? Gr[e[7]] << 4 | Gr[e[8]] : 255
60620
+ r: Ur[e[1]] << 4 | Ur[e[2]],
60621
+ g: Ur[e[3]] << 4 | Ur[e[4]],
60622
+ b: Ur[e[5]] << 4 | Ur[e[6]],
60623
+ a: t === 9 ? Ur[e[7]] << 4 | Ur[e[8]] : 255
60635
60624
  })), i;
60636
60625
  }
60637
60626
  const hV1 = (e, t) => e < 255 ? t(e) : "";
@@ -70259,7 +70248,7 @@ function G1(e, t) {
70259
70248
  if (!e)
70260
70249
  throw new Error(t);
70261
70250
  }
70262
- function cn(e) {
70251
+ function un(e) {
70263
70252
  return e == null ? null : typeof e.trim == "function" ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
70264
70253
  }
70265
70254
  var tq = "__ec_primitive__";
@@ -70683,7 +70672,7 @@ function tT(e, t, i) {
70683
70672
  function WH(e) {
70684
70673
  return e || window.event;
70685
70674
  }
70686
- function Xr(e, t, i) {
70675
+ function Kr(e, t, i) {
70687
70676
  if (t = WH(t), t.zrX != null)
70688
70677
  return t;
70689
70678
  var r = t.type, n = r && r.indexOf("touch") >= 0;
@@ -71593,7 +71582,7 @@ var i8 = {
71593
71582
  bounceInOut: function(e) {
71594
71583
  return e < 0.5 ? i8.bounceIn(e * 2) * 0.5 : i8.bounceOut(e * 2 - 1) * 0.5 + 0.5;
71595
71584
  }
71596
- }, ec = Math.pow, Fa = Math.sqrt, Bd = 1e-8, cq = 1e-4, hT = Fa(3), tc = 1 / 3, vs = bl(), sn = bl(), i9 = bl();
71585
+ }, ec = Math.pow, Fa = Math.sqrt, Bd = 1e-8, cq = 1e-4, hT = Fa(3), tc = 1 / 3, vs = bl(), nn = bl(), i9 = bl();
71597
71586
  function Ea(e) {
71598
71587
  return e > -Bd && e < Bd;
71599
71588
  }
@@ -71660,10 +71649,10 @@ function pq(e, t, i, r, n, s, a, o, l, c, h) {
71660
71649
  var d, p = 5e-3, f = 1 / 0, C, m, v, w;
71661
71650
  vs[0] = l, vs[1] = c;
71662
71651
  for (var y = 0; y < 1; y += 0.05)
71663
- sn[0] = j2(e, i, n, a, y), sn[1] = j2(t, r, s, o, y), v = k4(vs, sn), v < f && (d = y, f = v);
71652
+ nn[0] = j2(e, i, n, a, y), nn[1] = j2(t, r, s, o, y), v = k4(vs, nn), v < f && (d = y, f = v);
71664
71653
  f = 1 / 0;
71665
71654
  for (var x = 0; x < 32 && !(p < cq); x++)
71666
- C = d - p, m = d + p, sn[0] = j2(e, i, n, a, C), sn[1] = j2(t, r, s, o, C), v = k4(sn, vs), C >= 0 && v < f ? (d = C, f = v) : (i9[0] = j2(e, i, n, a, m), i9[1] = j2(t, r, s, o, m), w = k4(i9, vs), m <= 1 && w < f ? (d = m, f = w) : p *= 0.5);
71655
+ C = d - p, m = d + p, nn[0] = j2(e, i, n, a, C), nn[1] = j2(t, r, s, o, C), v = k4(nn, vs), C >= 0 && v < f ? (d = C, f = v) : (i9[0] = j2(e, i, n, a, m), i9[1] = j2(t, r, s, o, m), w = k4(i9, vs), m <= 1 && w < f ? (d = m, f = w) : p *= 0.5);
71667
71656
  return h && (h[0] = j2(e, i, n, a, d), h[1] = j2(t, r, s, o, d)), Fa(f);
71668
71657
  }
71669
71658
  function _z1(e, t, i, r, n, s, a, o, l) {
@@ -71711,15 +71700,15 @@ function gq(e, t, i, r, n, s, a, o, l) {
71711
71700
  var c, h = 5e-3, d = 1 / 0;
71712
71701
  vs[0] = a, vs[1] = o;
71713
71702
  for (var p = 0; p < 1; p += 0.05) {
71714
- sn[0] = ui(e, i, n, p), sn[1] = ui(t, r, s, p);
71715
- var f = k4(vs, sn);
71703
+ nn[0] = ui(e, i, n, p), nn[1] = ui(t, r, s, p);
71704
+ var f = k4(vs, nn);
71716
71705
  f < d && (c = p, d = f);
71717
71706
  }
71718
71707
  d = 1 / 0;
71719
71708
  for (var C = 0; C < 32 && !(h < cq); C++) {
71720
71709
  var m = c - h, v = c + h;
71721
- sn[0] = ui(e, i, n, m), sn[1] = ui(t, r, s, m);
71722
- var f = k4(sn, vs);
71710
+ nn[0] = ui(e, i, n, m), nn[1] = ui(t, r, s, m);
71711
+ var f = k4(nn, vs);
71723
71712
  if (m >= 0 && f < d)
71724
71713
  c = m, d = f;
71725
71714
  else {
@@ -71741,7 +71730,7 @@ var Zz1 = /cubic-bezier\(([0-9,\.e ]+)\)/;
71741
71730
  function qH(e) {
71742
71731
  var t = e && Zz1.exec(e);
71743
71732
  if (t) {
71744
- var i = t[1].split(","), r = +cn(i[0]), n = +cn(i[1]), s = +cn(i[2]), a = +cn(i[3]);
71733
+ var i = t[1].split(","), r = +un(i[0]), n = +un(i[1]), s = +un(i[2]), a = +un(i[3]);
71745
71734
  if (isNaN(r + n + s + a))
71746
71735
  return;
71747
71736
  var o = [];
@@ -71995,7 +71984,7 @@ function Fm(e, t, i) {
71995
71984
  function Ta(e, t, i) {
71996
71985
  return e + (t - e) * i;
71997
71986
  }
71998
- function Kr(e, t, i, r, n) {
71987
+ function jr(e, t, i, r, n) {
71999
71988
  return e[0] = t, e[1] = i, e[2] = r, e[3] = n, e;
72000
71989
  }
72001
71990
  function Dx(e, t) {
@@ -72020,17 +72009,17 @@ function vr(e, t) {
72020
72009
  if (n === 4 || n === 5) {
72021
72010
  var s = parseInt(r.slice(1, 4), 16);
72022
72011
  if (!(s >= 0 && s <= 4095)) {
72023
- Kr(t, 0, 0, 0, 1);
72012
+ jr(t, 0, 0, 0, 1);
72024
72013
  return;
72025
72014
  }
72026
- return Kr(t, (s & 3840) >> 4 | (s & 3840) >> 8, s & 240 | (s & 240) >> 4, s & 15 | (s & 15) << 4, n === 5 ? parseInt(r.slice(4), 16) / 15 : 1), Ql(e, t), t;
72015
+ return jr(t, (s & 3840) >> 4 | (s & 3840) >> 8, s & 240 | (s & 240) >> 4, s & 15 | (s & 15) << 4, n === 5 ? parseInt(r.slice(4), 16) / 15 : 1), Ql(e, t), t;
72027
72016
  } else if (n === 7 || n === 9) {
72028
72017
  var s = parseInt(r.slice(1, 7), 16);
72029
72018
  if (!(s >= 0 && s <= 16777215)) {
72030
- Kr(t, 0, 0, 0, 1);
72019
+ jr(t, 0, 0, 0, 1);
72031
72020
  return;
72032
72021
  }
72033
- return Kr(t, (s & 16711680) >> 16, (s & 65280) >> 8, s & 255, n === 9 ? parseInt(r.slice(7), 16) / 255 : 1), Ql(e, t), t;
72022
+ return jr(t, (s & 16711680) >> 16, (s & 65280) >> 8, s & 255, n === 9 ? parseInt(r.slice(7), 16) / 255 : 1), Ql(e, t), t;
72034
72023
  }
72035
72024
  return;
72036
72025
  }
@@ -72040,22 +72029,22 @@ function vr(e, t) {
72040
72029
  switch (l) {
72041
72030
  case "rgba":
72042
72031
  if (c.length !== 4)
72043
- return c.length === 3 ? Kr(t, +c[0], +c[1], +c[2], 1) : Kr(t, 0, 0, 0, 1);
72032
+ return c.length === 3 ? jr(t, +c[0], +c[1], +c[2], 1) : jr(t, 0, 0, 0, 1);
72044
72033
  h = Pa(c.pop());
72045
72034
  case "rgb":
72046
72035
  if (c.length >= 3)
72047
- return Kr(t, Om(c[0]), Om(c[1]), Om(c[2]), c.length === 3 ? h : Pa(c[3])), Ql(e, t), t;
72048
- Kr(t, 0, 0, 0, 1);
72036
+ return jr(t, Om(c[0]), Om(c[1]), Om(c[2]), c.length === 3 ? h : Pa(c[3])), Ql(e, t), t;
72037
+ jr(t, 0, 0, 0, 1);
72049
72038
  return;
72050
72039
  case "hsla":
72051
72040
  if (c.length !== 4) {
72052
- Kr(t, 0, 0, 0, 1);
72041
+ jr(t, 0, 0, 0, 1);
72053
72042
  return;
72054
72043
  }
72055
72044
  return c[3] = Pa(c[3]), Bx(c, t), Ql(e, t), t;
72056
72045
  case "hsl":
72057
72046
  if (c.length !== 3) {
72058
- Kr(t, 0, 0, 0, 1);
72047
+ jr(t, 0, 0, 0, 1);
72059
72048
  return;
72060
72049
  }
72061
72050
  return Bx(c, t), Ql(e, t), t;
@@ -72063,12 +72052,12 @@ function vr(e, t) {
72063
72052
  return;
72064
72053
  }
72065
72054
  }
72066
- Kr(t, 0, 0, 0, 1);
72055
+ jr(t, 0, 0, 0, 1);
72067
72056
  }
72068
72057
  }
72069
72058
  function Bx(e, t) {
72070
72059
  var i = (parseFloat(e[0]) % 360 + 360) % 360 / 360, r = Pa(e[1]), n = Pa(e[2]), s = n <= 0.5 ? n * (r + 1) : n + r - n * r, a = n * 2 - s;
72071
- return t = t || [], Kr(t, Dn(Fm(a, s, i + 1 / 3) * 255), Dn(Fm(a, s, i) * 255), Dn(Fm(a, s, i - 1 / 3) * 255), 1), e.length === 4 && (t[3] = e[3]), t;
72060
+ return t = t || [], jr(t, Dn(Fm(a, s, i + 1 / 3) * 255), Dn(Fm(a, s, i) * 255), Dn(Fm(a, s, i - 1 / 3) * 255), 1), e.length === 4 && (t[3] = e[3]), t;
72072
72061
  }
72073
72062
  function Az1(e) {
72074
72063
  if (e) {
@@ -72712,7 +72701,7 @@ function Wm(e) {
72712
72701
  e && (e.zrByTouch = !0);
72713
72702
  }
72714
72703
  function Qz1(e, t) {
72715
- return Xr(e.dom, new Jz1(e, t), !0);
72704
+ return Kr(e.dom, new Jz1(e, t), !0);
72716
72705
  }
72717
72706
  function Hq(e, t) {
72718
72707
  for (var i = t, r = !1; i && i.nodeType !== 9 && !(r = i.domBelongToZr || i !== t && i === e.painterRoot); )
@@ -72726,35 +72715,35 @@ var Jz1 = /* @__PURE__ */ (function() {
72726
72715
  return e;
72727
72716
  })(), _n = {
72728
72717
  mousedown: function(e) {
72729
- e = Xr(this.dom, e), this.__mayPointerCapture = [e.zrX, e.zrY], this.trigger("mousedown", e);
72718
+ e = Kr(this.dom, e), this.__mayPointerCapture = [e.zrX, e.zrY], this.trigger("mousedown", e);
72730
72719
  },
72731
72720
  mousemove: function(e) {
72732
- e = Xr(this.dom, e);
72721
+ e = Kr(this.dom, e);
72733
72722
  var t = this.__mayPointerCapture;
72734
72723
  t && (e.zrX !== t[0] || e.zrY !== t[1]) && this.__togglePointerCapture(!0), this.trigger("mousemove", e);
72735
72724
  },
72736
72725
  mouseup: function(e) {
72737
- e = Xr(this.dom, e), this.__togglePointerCapture(!1), this.trigger("mouseup", e);
72726
+ e = Kr(this.dom, e), this.__togglePointerCapture(!1), this.trigger("mouseup", e);
72738
72727
  },
72739
72728
  mouseout: function(e) {
72740
- e = Xr(this.dom, e);
72729
+ e = Kr(this.dom, e);
72741
72730
  var t = e.toElement || e.relatedTarget;
72742
72731
  Hq(this, t) || (this.__pointerCapturing && (e.zrEventControl = "no_globalout"), this.trigger("mouseout", e));
72743
72732
  },
72744
72733
  wheel: function(e) {
72745
- yT = !0, e = Xr(this.dom, e), this.trigger("mousewheel", e);
72734
+ yT = !0, e = Kr(this.dom, e), this.trigger("mousewheel", e);
72746
72735
  },
72747
72736
  mousewheel: function(e) {
72748
- yT || (e = Xr(this.dom, e), this.trigger("mousewheel", e));
72737
+ yT || (e = Kr(this.dom, e), this.trigger("mousewheel", e));
72749
72738
  },
72750
72739
  touchstart: function(e) {
72751
- e = Xr(this.dom, e), Wm(e), this.__lastTouchMoment = /* @__PURE__ */ new Date(), this.handler.processGesture(e, "start"), _n.mousemove.call(this, e), _n.mousedown.call(this, e);
72740
+ e = Kr(this.dom, e), Wm(e), this.__lastTouchMoment = /* @__PURE__ */ new Date(), this.handler.processGesture(e, "start"), _n.mousemove.call(this, e), _n.mousedown.call(this, e);
72752
72741
  },
72753
72742
  touchmove: function(e) {
72754
- e = Xr(this.dom, e), Wm(e), this.handler.processGesture(e, "change"), _n.mousemove.call(this, e);
72743
+ e = Kr(this.dom, e), Wm(e), this.handler.processGesture(e, "change"), _n.mousemove.call(this, e);
72755
72744
  },
72756
72745
  touchend: function(e) {
72757
- e = Xr(this.dom, e), Wm(e), this.handler.processGesture(e, "end"), _n.mouseup.call(this, e), +/* @__PURE__ */ new Date() - +this.__lastTouchMoment < Kz1 && _n.click.call(this, e);
72746
+ e = Kr(this.dom, e), Wm(e), this.handler.processGesture(e, "end"), _n.mouseup.call(this, e), +/* @__PURE__ */ new Date() - +this.__lastTouchMoment < Kz1 && _n.click.call(this, e);
72758
72747
  },
72759
72748
  pointerdown: function(e) {
72760
72749
  _n.mousedown.call(this, e);
@@ -72771,7 +72760,7 @@ var Jz1 = /* @__PURE__ */ (function() {
72771
72760
  };
72772
72761
  A(["click", "dblclick", "contextmenu"], function(e) {
72773
72762
  _n[e] = function(t) {
72774
- t = Xr(this.dom, t), this.trigger(e, t);
72763
+ t = Kr(this.dom, t), this.trigger(e, t);
72775
72764
  };
72776
72765
  });
72777
72766
  var Gx = {
@@ -73763,7 +73752,7 @@ function Gd(e, t, i) {
73763
73752
  function V2(e, t, i) {
73764
73753
  return t == null && (t = 10), t = Math.min(Math.max(0, t), zq), e = (+e).toFixed(t), i ? e : +e;
73765
73754
  }
73766
- function hn(e) {
73755
+ function cn(e) {
73767
73756
  return e.sort(function(t, i) {
73768
73757
  return t - i;
73769
73758
  }), e;
@@ -75223,10 +75212,10 @@ var sa = Ps.CMD, Go = Math.PI * 2, gE1 = 1e-4;
75223
75212
  function CE1(e, t) {
75224
75213
  return Math.abs(e - t) < gE1;
75225
75214
  }
75226
- var qi = [-1, -1, -1], Jr = [-1, -1];
75215
+ var qi = [-1, -1, -1], Qr = [-1, -1];
75227
75216
  function mE1() {
75228
- var e = Jr[0];
75229
- Jr[0] = Jr[1], Jr[1] = e;
75217
+ var e = Qr[0];
75218
+ Qr[0] = Qr[1], Qr[1] = e;
75230
75219
  }
75231
75220
  function vE1(e, t, i, r, n, s, a, o, l, c) {
75232
75221
  if (c > t && c > r && c > s && c > o || c < t && c < r && c < s && c < o)
@@ -75236,7 +75225,7 @@ function vE1(e, t, i, r, n, s, a, o, l, c) {
75236
75225
  return 0;
75237
75226
  for (var d = 0, p = -1, f = void 0, C = void 0, m = 0; m < h; m++) {
75238
75227
  var v = qi[m], w = v === 0 || v === 1 ? 0.5 : 1, y = j2(e, i, n, a, v);
75239
- y < l || (p < 0 && (p = dq(t, r, s, o, Jr), Jr[1] < Jr[0] && p > 1 && mE1(), f = j2(t, r, s, o, Jr[0]), p > 1 && (C = j2(t, r, s, o, Jr[1]))), p === 2 ? v < Jr[0] ? d += f < t ? w : -w : v < Jr[1] ? d += C < f ? w : -w : d += o < C ? w : -w : v < Jr[0] ? d += f < t ? w : -w : d += o < f ? w : -w);
75228
+ y < l || (p < 0 && (p = dq(t, r, s, o, Qr), Qr[1] < Qr[0] && p > 1 && mE1(), f = j2(t, r, s, o, Qr[0]), p > 1 && (C = j2(t, r, s, o, Qr[1]))), p === 2 ? v < Qr[0] ? d += f < t ? w : -w : v < Qr[1] ? d += C < f ? w : -w : d += o < C ? w : -w : v < Qr[0] ? d += f < t ? w : -w : d += o < f ? w : -w);
75240
75229
  }
75241
75230
  return d;
75242
75231
  }
@@ -75847,7 +75836,7 @@ var WT = {
75847
75836
  i.fontWeight,
75848
75837
  Qq(i.fontSize),
75849
75838
  i.fontFamily || "sans-serif"
75850
- ].join(" ")), r && cn(r) || i.textFont || i.font;
75839
+ ].join(" ")), r && un(r) || i.textFont || i.font;
75851
75840
  }, t;
75852
75841
  })(mn), EE1 = { left: !0, right: 1, center: 1 }, TE1 = { top: 1, bottom: 1, middle: 1 }, qT = ["fontStyle", "fontWeight", "fontSize", "fontFamily"];
75853
75842
  function Qq(e) {
@@ -77039,7 +77028,7 @@ function xj(e, t) {
77039
77028
  height: n
77040
77029
  };
77041
77030
  }
77042
- var ln = nT1;
77031
+ var on = nT1;
77043
77032
  function Lj(e, t) {
77044
77033
  if (e.applyTransform) {
77045
77034
  var i = e.getBoundingRect(), r = i.calculateTransform(t);
@@ -77314,7 +77303,7 @@ const Nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
77314
77303
  linePolygonIntersect: V7,
77315
77304
  makeImage: yj,
77316
77305
  makePath: D8,
77317
- mergePath: ln,
77306
+ mergePath: on,
77318
77307
  registerShape: jn,
77319
77308
  removeElement: io,
77320
77309
  removeElementWithFadeOut: N0,
@@ -77477,7 +77466,7 @@ function xR(e, t, i, r, n, s, a, o, l, c) {
77477
77466
  }
77478
77467
  function pM(e, t) {
77479
77468
  var i = t && t.getModel("textStyle");
77480
- return cn([
77469
+ return un([
77481
77470
  // FIXME in node-canvas fontWeight is before fontStyle
77482
77471
  e.fontStyle || i && i.getShallow("fontStyle") || "",
77483
77472
  e.fontWeight || i && i.getShallow("fontWeight") || "",
@@ -77967,7 +77956,7 @@ function WT1(e) {
77967
77956
  function M2() {
77968
77957
  return pL;
77969
77958
  }
77970
- var CM = 1e3, mM = CM * 60, a8 = mM * 60, un = a8 * 24, LR = un * 365, YT1 = {
77959
+ var CM = 1e3, mM = CM * 60, a8 = mM * 60, ln = a8 * 24, LR = ln * 365, YT1 = {
77971
77960
  year: /({yyyy}|{yy})/,
77972
77961
  month: /({MMMM}|{MMM}|{MM}|{M})/,
77973
77962
  day: /({dd}|{d})/,
@@ -78145,7 +78134,7 @@ var P6 = lg;
78145
78134
  function gL(e, t, i) {
78146
78135
  var r = "{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";
78147
78136
  function n(h) {
78148
- return h && cn(h) ? h : "-";
78137
+ return h && un(h) ? h : "-";
78149
78138
  }
78150
78139
  function s(h) {
78151
78140
  return !!(h != null && !isNaN(h) && isFinite(h));
@@ -78750,7 +78739,7 @@ const dR1 = {
78750
78739
  // See: module:echarts/scale/Time
78751
78740
  useUTC: !1
78752
78741
  };
78753
- var vL = j1(["tooltip", "label", "itemName", "itemId", "itemGroupId", "itemChildGroupId", "seriesName"]), Fr = "original", gi = "arrayRows", Pr = "objectRows", Kn = "keyedColumns", z0 = "typedArray", Jj = "unknown", kn = "column", Zl = "row", Li = {
78742
+ var vL = j1(["tooltip", "label", "itemName", "itemId", "itemGroupId", "itemChildGroupId", "seriesName"]), Or = "original", gi = "arrayRows", Fr = "objectRows", Kn = "keyedColumns", z0 = "typedArray", Jj = "unknown", kn = "column", Zl = "row", Li = {
78754
78743
  Must: 1,
78755
78744
  Might: 2,
78756
78745
  Not: 3
@@ -78801,7 +78790,7 @@ function HM(e, t, i) {
78801
78790
  if (!n)
78802
78791
  return r;
78803
78792
  var s = t.sourceFormat, a = t.dimensionsDefine, o;
78804
- (s === Pr || s === Kn) && A(a, function(h, d) {
78793
+ (s === Fr || s === Kn) && A(a, function(h, d) {
78805
78794
  (ne(h) ? h.name : h) === "name" && (o = d);
78806
78795
  });
78807
78796
  var l = (function() {
@@ -78865,7 +78854,7 @@ function rK(e, t, i, r, n, s) {
78865
78854
  if (C && (a = L(C[s])) != null)
78866
78855
  return a;
78867
78856
  }
78868
- } else if (t === Pr) {
78857
+ } else if (t === Fr) {
78869
78858
  var m = e;
78870
78859
  if (!l)
78871
78860
  return Li.Not;
@@ -78884,7 +78873,7 @@ function rK(e, t, i, r, n, s) {
78884
78873
  for (var f = 0; f < p.length && f < o; f++)
78885
78874
  if ((a = L(p[f])) != null)
78886
78875
  return a;
78887
- } else if (t === Fr)
78876
+ } else if (t === Or)
78888
78877
  for (var y = e, f = 0; f < y.length && f < o; f++) {
78889
78878
  var v = y[f], x = q9(v);
78890
78879
  if (!w1(x))
@@ -79409,7 +79398,7 @@ function zR1(e, t, i) {
79409
79398
  function ZR1(e, t) {
79410
79399
  return e.join(",") === t.join(",");
79411
79400
  }
79412
- var Wr = A, I8 = ne, ER = ["areaStyle", "lineStyle", "nodeStyle", "linkStyle", "chordStyle", "label", "labelLine"];
79401
+ var Gr = A, I8 = ne, ER = ["areaStyle", "lineStyle", "nodeStyle", "linkStyle", "chordStyle", "label", "labelLine"];
79413
79402
  function Hv(e) {
79414
79403
  var t = e && e.itemStyle;
79415
79404
  if (t)
@@ -79437,38 +79426,38 @@ function v2(e, t) {
79437
79426
  }
79438
79427
  }
79439
79428
  }
79440
- function Qr(e) {
79429
+ function Xr(e) {
79441
79430
  e && (M7(e), v2(e, "label"), e.emphasis && v2(e.emphasis, "label"));
79442
79431
  }
79443
79432
  function ER1(e) {
79444
79433
  if (I8(e)) {
79445
79434
  Hv(e), M7(e), v2(e, "label"), v2(e, "upperLabel"), v2(e, "edgeLabel"), e.emphasis && (v2(e.emphasis, "label"), v2(e.emphasis, "upperLabel"), v2(e.emphasis, "edgeLabel"));
79446
79435
  var t = e.markPoint;
79447
- t && (Hv(t), Qr(t));
79436
+ t && (Hv(t), Xr(t));
79448
79437
  var i = e.markLine;
79449
- i && (Hv(i), Qr(i));
79438
+ i && (Hv(i), Xr(i));
79450
79439
  var r = e.markArea;
79451
- r && Qr(r);
79440
+ r && Xr(r);
79452
79441
  var n = e.data;
79453
79442
  if (e.type === "graph") {
79454
79443
  n = n || e.nodes;
79455
79444
  var s = e.links || e.edges;
79456
79445
  if (s && !ir(s))
79457
79446
  for (var a = 0; a < s.length; a++)
79458
- Qr(s[a]);
79447
+ Xr(s[a]);
79459
79448
  A(e.categories, function(c) {
79460
79449
  M7(c);
79461
79450
  });
79462
79451
  }
79463
79452
  if (n && !ir(n))
79464
79453
  for (var a = 0; a < n.length; a++)
79465
- Qr(n[a]);
79454
+ Xr(n[a]);
79466
79455
  if (t = e.markPoint, t && t.data)
79467
79456
  for (var o = t.data, a = 0; a < o.length; a++)
79468
- Qr(o[a]);
79457
+ Xr(o[a]);
79469
79458
  if (i = e.markLine, i && i.data)
79470
79459
  for (var l = i.data, a = 0; a < l.length; a++)
79471
- w1(l[a]) ? (Qr(l[a][0]), Qr(l[a][1])) : Qr(l[a]);
79460
+ w1(l[a]) ? (Xr(l[a][0]), Xr(l[a][1])) : Xr(l[a]);
79472
79461
  e.type === "gauge" ? (v2(e, "axisLabel"), v2(e, "title"), v2(e, "detail")) : e.type === "treemap" ? (Zi(e.breadcrumb, "itemStyle"), A(e.levels, function(c) {
79473
79462
  M7(c);
79474
79463
  })) : e.type === "tree" && M7(e.leaves);
@@ -79481,35 +79470,35 @@ function TR(e) {
79481
79470
  return (w1(e) ? e[0] : e) || {};
79482
79471
  }
79483
79472
  function TR1(e, t) {
79484
- Wr(o0(e.series), function(r) {
79473
+ Gr(o0(e.series), function(r) {
79485
79474
  I8(r) && ER1(r);
79486
79475
  });
79487
79476
  var i = ["xAxis", "yAxis", "radiusAxis", "angleAxis", "singleAxis", "parallelAxis", "radar"];
79488
- t && i.push("valueAxis", "categoryAxis", "logAxis", "timeAxis"), Wr(i, function(r) {
79489
- Wr(o0(e[r]), function(n) {
79477
+ t && i.push("valueAxis", "categoryAxis", "logAxis", "timeAxis"), Gr(i, function(r) {
79478
+ Gr(o0(e[r]), function(n) {
79490
79479
  n && (v2(n, "axisLabel"), v2(n.axisPointer, "label"));
79491
79480
  });
79492
- }), Wr(o0(e.parallel), function(r) {
79481
+ }), Gr(o0(e.parallel), function(r) {
79493
79482
  var n = r && r.parallelAxisDefault;
79494
79483
  v2(n, "axisLabel"), v2(n && n.axisPointer, "label");
79495
- }), Wr(o0(e.calendar), function(r) {
79484
+ }), Gr(o0(e.calendar), function(r) {
79496
79485
  Zi(r, "itemStyle"), v2(r, "dayLabel"), v2(r, "monthLabel"), v2(r, "yearLabel");
79497
- }), Wr(o0(e.radar), function(r) {
79498
- v2(r, "name"), r.name && r.axisName == null && (r.axisName = r.name, delete r.name, process.env.NODE_ENV !== "production" && Fs("name property in radar component has been changed to axisName")), r.nameGap != null && r.axisNameGap == null && (r.axisNameGap = r.nameGap, delete r.nameGap, process.env.NODE_ENV !== "production" && Fs("nameGap property in radar component has been changed to axisNameGap")), process.env.NODE_ENV !== "production" && Wr(r.indicator, function(n) {
79486
+ }), Gr(o0(e.radar), function(r) {
79487
+ v2(r, "name"), r.name && r.axisName == null && (r.axisName = r.name, delete r.name, process.env.NODE_ENV !== "production" && Fs("name property in radar component has been changed to axisName")), r.nameGap != null && r.axisNameGap == null && (r.axisNameGap = r.nameGap, delete r.nameGap, process.env.NODE_ENV !== "production" && Fs("nameGap property in radar component has been changed to axisNameGap")), process.env.NODE_ENV !== "production" && Gr(r.indicator, function(n) {
79499
79488
  n.text && w2("text", "name", "radar.indicator");
79500
79489
  });
79501
- }), Wr(o0(e.geo), function(r) {
79502
- I8(r) && (Qr(r), Wr(o0(r.regions), function(n) {
79503
- Qr(n);
79490
+ }), Gr(o0(e.geo), function(r) {
79491
+ I8(r) && (Xr(r), Gr(o0(r.regions), function(n) {
79492
+ Xr(n);
79504
79493
  }));
79505
- }), Wr(o0(e.timeline), function(r) {
79506
- Qr(r), Zi(r, "label"), Zi(r, "itemStyle"), Zi(r, "controlStyle", !0);
79494
+ }), Gr(o0(e.timeline), function(r) {
79495
+ Xr(r), Zi(r, "label"), Zi(r, "itemStyle"), Zi(r, "controlStyle", !0);
79507
79496
  var n = r.data;
79508
79497
  w1(n) && A(n, function(s) {
79509
79498
  ne(s) && (Zi(s, "label"), Zi(s, "itemStyle"));
79510
79499
  });
79511
- }), Wr(o0(e.toolbox), function(r) {
79512
- Zi(r, "iconStyle"), Wr(r.feature, function(n) {
79500
+ }), Gr(o0(e.toolbox), function(r) {
79501
+ Zi(r, "iconStyle"), Gr(r.feature, function(n) {
79513
79502
  Zi(n, "iconStyle");
79514
79503
  });
79515
79504
  }), v2(TR(e.axisPointer), "label"), v2(TR(e.tooltip).axisPointer, "label");
@@ -79673,7 +79662,7 @@ function xL(e, t, i) {
79673
79662
  function zM(e) {
79674
79663
  return new Tg({
79675
79664
  data: e,
79676
- sourceFormat: ir(e) ? z0 : Fr
79665
+ sourceFormat: ir(e) ? z0 : Or
79677
79666
  });
79678
79667
  }
79679
79668
  function FR1(e) {
@@ -79699,7 +79688,7 @@ function lK(e) {
79699
79688
  t = gi;
79700
79689
  break;
79701
79690
  } else if (ne(n)) {
79702
- t = Pr;
79691
+ t = Fr;
79703
79692
  break;
79704
79693
  }
79705
79694
  }
@@ -79728,13 +79717,13 @@ function PR1(e, t, i, r, n) {
79728
79717
  }, i, o, 10) : a = je(r) ? r : r ? 1 : 0, !n && a === 1 && (n = [], kR(function(c, h) {
79729
79718
  n[h] = c != null ? c + "" : "";
79730
79719
  }, i, o, 1 / 0)), s = n ? n.length : i === Zl ? o.length : o[0] ? o[0].length : null;
79731
- } else if (t === Pr)
79720
+ } else if (t === Fr)
79732
79721
  n || (n = $R1(e));
79733
79722
  else if (t === Kn)
79734
79723
  n || (n = [], A(e, function(c, h) {
79735
79724
  n.push(h);
79736
79725
  }));
79737
- else if (t === Fr) {
79726
+ else if (t === Or) {
79738
79727
  var l = q9(e[0]);
79739
79728
  s = w1(l) && l.length || 1;
79740
79729
  } else t === z0 && process.env.NODE_ENV !== "production" && G1(!!n, "dimensions must be given if data is TypedArray.");
@@ -79782,7 +79771,7 @@ function kR(e, t, i, r) {
79782
79771
  }
79783
79772
  function uK(e) {
79784
79773
  var t = e.sourceFormat;
79785
- return t === Pr || t === Kn;
79774
+ return t === Fr || t === Kn;
79786
79775
  }
79787
79776
  var Ko, Xo, Qo, Jo, IR, OR, cK = (
79788
79777
  /** @class */
@@ -79849,7 +79838,7 @@ var Ko, Xo, Qo, Jo, IR, OR, cK = (
79849
79838
  appendData: function() {
79850
79839
  throw new Error('Do not support appendData when set seriesLayoutBy: "row".');
79851
79840
  }
79852
- }, t[Pr] = {
79841
+ }, t[Fr] = {
79853
79842
  pure: !0,
79854
79843
  appendData: s
79855
79844
  }, t[Kn] = {
@@ -79861,7 +79850,7 @@ var Ko, Xo, Qo, Jo, IR, OR, cK = (
79861
79850
  h.push(l[d]);
79862
79851
  });
79863
79852
  }
79864
- }, t[Fr] = {
79853
+ }, t[Or] = {
79865
79854
  appendData: s
79866
79855
  }, t[z0] = {
79867
79856
  persistent: !1,
@@ -79882,12 +79871,12 @@ var Ko, Xo, Qo, Jo, IR, OR, cK = (
79882
79871
  })()
79883
79872
  ), xc = function(e) {
79884
79873
  w1(e) || qe("series.data or dataset.source must be an array.");
79885
- }, UR1 = (Ko = {}, Ko[gi + "_" + kn] = xc, Ko[gi + "_" + Zl] = xc, Ko[Pr] = xc, Ko[Kn] = function(e, t) {
79874
+ }, UR1 = (Ko = {}, Ko[gi + "_" + kn] = xc, Ko[gi + "_" + Zl] = xc, Ko[Fr] = xc, Ko[Kn] = function(e, t) {
79886
79875
  for (var i = 0; i < t.length; i++) {
79887
79876
  var r = t[i].name;
79888
79877
  r == null && qe("dimension name must not be null/undefined.");
79889
79878
  }
79890
- }, Ko[Fr] = xc, Ko), FR = function(e, t, i, r) {
79879
+ }, Ko[Or] = xc, Ko), FR = function(e, t, i, r) {
79891
79880
  return e[r];
79892
79881
  }, GR1 = (Xo = {}, Xo[gi + "_" + kn] = function(e, t, i, r) {
79893
79882
  return e[r + t];
@@ -79898,13 +79887,13 @@ var Ko, Xo, Qo, Jo, IR, OR, cK = (
79898
79887
  s[o] = l ? l[r] : null;
79899
79888
  }
79900
79889
  return s;
79901
- }, Xo[Pr] = FR, Xo[Kn] = function(e, t, i, r, n) {
79890
+ }, Xo[Fr] = FR, Xo[Kn] = function(e, t, i, r, n) {
79902
79891
  for (var s = n || [], a = 0; a < i.length; a++) {
79903
79892
  var o = i[a].name, l = o != null ? e[o] : null;
79904
79893
  s[a] = l ? l[r] : null;
79905
79894
  }
79906
79895
  return s;
79907
- }, Xo[Fr] = FR, Xo);
79896
+ }, Xo[Or] = FR, Xo);
79908
79897
  function hK(e, t) {
79909
79898
  var i = GR1[tp(e, t)];
79910
79899
  return process.env.NODE_ENV !== "production" && G1(i, 'Do not support get item on "' + e + '", "' + t + '".'), i;
@@ -79916,19 +79905,19 @@ var PR = function(e, t, i) {
79916
79905
  }, Qo[gi + "_" + Zl] = function(e, t, i) {
79917
79906
  var r = e[0];
79918
79907
  return r ? Math.max(0, r.length - t) : 0;
79919
- }, Qo[Pr] = PR, Qo[Kn] = function(e, t, i) {
79908
+ }, Qo[Fr] = PR, Qo[Kn] = function(e, t, i) {
79920
79909
  var r = i[0].name, n = r != null ? e[r] : null;
79921
79910
  return n ? n.length : 0;
79922
- }, Qo[Fr] = PR, Qo);
79911
+ }, Qo[Or] = PR, Qo);
79923
79912
  function dK(e, t) {
79924
79913
  var i = WR1[tp(e, t)];
79925
79914
  return process.env.NODE_ENV !== "production" && G1(i, 'Do not support count on "' + e + '", "' + t + '".'), i;
79926
79915
  }
79927
79916
  var bv = function(e, t, i) {
79928
79917
  return e[t];
79929
- }, YR1 = (Jo = {}, Jo[gi] = bv, Jo[Pr] = function(e, t, i) {
79918
+ }, YR1 = (Jo = {}, Jo[gi] = bv, Jo[Fr] = function(e, t, i) {
79930
79919
  return e[i];
79931
- }, Jo[Kn] = bv, Jo[Fr] = function(e, t, i) {
79920
+ }, Jo[Kn] = bv, Jo[Or] = function(e, t, i) {
79932
79921
  var r = q9(e);
79933
79922
  return r instanceof Array ? r[t] : r;
79934
79923
  }, Jo[z0] = bv, Jo);
@@ -79949,7 +79938,7 @@ function x9(e, t, i) {
79949
79938
  return pK(s)(r, a, o);
79950
79939
  } else {
79951
79940
  var l = r;
79952
- return s === Fr && (l = q9(r)), l;
79941
+ return s === Or && (l = q9(r)), l;
79953
79942
  }
79954
79943
  }
79955
79944
  }
@@ -80115,7 +80104,7 @@ var KR1 = j1({
80115
80104
  return +_l(e);
80116
80105
  },
80117
80106
  trim: function(e) {
80118
- return D1(e) ? cn(e) : e;
80107
+ return D1(e) ? un(e) : e;
80119
80108
  }
80120
80109
  });
80121
80110
  function fK(e) {
@@ -80262,7 +80251,7 @@ function rA1(e) {
80262
80251
  for (var n = [], s = 0, a = i.length; s < a; s++)
80263
80252
  n.push(i[s].slice());
80264
80253
  return n;
80265
- } else if (t === Pr) {
80254
+ } else if (t === Fr) {
80266
80255
  for (var n = [], s = 0, a = i.length; s < a; s++)
80267
80256
  n.push(C1({}, i[s]));
80268
80257
  return n;
@@ -80342,7 +80331,7 @@ function lA1(e, t, i, r) {
80342
80331
  });
80343
80332
  }
80344
80333
  function ZM(e) {
80345
- return e === gi || e === Pr;
80334
+ return e === gi || e === Fr;
80346
80335
  }
80347
80336
  var Ag = "undefined", uA1 = typeof Uint32Array === Ag ? Array : Uint32Array, cA1 = typeof Uint16Array === Ag ? Array : Uint16Array, vK = typeof Int32Array === Ag ? Array : Int32Array, GR = typeof Float64Array === Ag ? Array : Float64Array, wK = {
80348
80337
  float: GR,
@@ -80776,7 +80765,7 @@ var LL = (
80776
80765
  var h = i[0];
80777
80766
  h.prepareSource(), c = h.getSource(), o = c.data, l = c.sourceFormat, s = [h._getVersionSign()];
80778
80767
  } else
80779
- o = a.get("data", !0), l = ir(o) ? z0 : Fr, s = [];
80768
+ o = a.get("data", !0), l = ir(o) ? z0 : Or, s = [];
80780
80769
  var d = this._getSourceMetaRawOption() || {}, p = c && c.metaRawOption || {}, f = q1(d.seriesLayoutBy, p.seriesLayoutBy) || null, C = q1(d.sourceHeader, p.sourceHeader), m = q1(d.dimensions, p.dimensions), v = f !== p.seriesLayoutBy || !!C != !!p.sourceHeader || m;
80781
80770
  n = v ? [xL(o, {
80782
80771
  seriesLayoutBy: f,
@@ -81078,7 +81067,7 @@ function _K(e) {
81078
81067
  name: x,
81079
81068
  // name dimension might be auto assigned, where the name might
81080
81069
  // be not readable. So we check trim here.
81081
- noName: !cn(x),
81070
+ noName: !un(x),
81082
81071
  value: h,
81083
81072
  valueType: d,
81084
81073
  dataIndex: i
@@ -82987,7 +82976,7 @@ var QK = (
82987
82976
  ), JK = QK.prototype;
82988
82977
  JK.on = KK("on");
82989
82978
  JK.off = KK("off");
82990
- var e4, Tv, Mc, l0, bc, Rv, Av, l5, u5, yA, xA, Dv, LA, _c, SA, eX, Yr, VA, c5, tX = (
82979
+ var e4, Tv, Mc, l0, bc, Rv, Av, l5, u5, yA, xA, Dv, LA, _c, SA, eX, Wr, VA, c5, tX = (
82991
82980
  /** @class */
82992
82981
  (function(e) {
82993
82982
  u1(t, e);
@@ -83452,7 +83441,7 @@ var e4, Tv, Mc, l0, bc, Rv, Av, l5, u5, yA, xA, Dv, LA, _c, SA, eX, Yr, VA, c5,
83452
83441
  f.type === F4 ? k0(z) : I0(z);
83453
83442
  });
83454
83443
  }
83455
- else oL(f) && S instanceof Nt && (GE1(S, f, d._api), aR(S), Yr(d));
83444
+ else oL(f) && S instanceof Nt && (GE1(S, f, d._api), aR(S), Wr(d));
83456
83445
  }, d), v && v.eachComponent(y, function(S) {
83457
83446
  var H = L && L.get(S.id) != null;
83458
83447
  H || V(d[C === "series" ? "_chartsMap" : "_componentsMap"][S.__viewId]);
@@ -83565,8 +83554,8 @@ var e4, Tv, Mc, l0, bc, Rv, Av, l5, u5, yA, xA, Dv, LA, _c, SA, eX, Yr, VA, c5,
83565
83554
  var q = w.action(O, C, f._api);
83566
83555
  if (w.refineEvent ? Z.push(q) : M = q, M = M || C1({}, O), M.type = b, H.push(M), E) {
83567
83556
  var U = JH(d), K = U.queryOptionMap, F = U.mainTypeSpecified, e1 = F ? K.keys()[0] : "series";
83568
- Mc(f, x, O, e1), Yr(f);
83569
- } else z ? (Mc(f, x, O, "series"), Yr(f)) : L && Mc(f, x, O, L.main, L.sub);
83557
+ Mc(f, x, O, e1), Wr(f);
83558
+ } else z ? (Mc(f, x, O, "series"), Wr(f)) : L && Mc(f, x, O, L.main, L.sub);
83570
83559
  }), x !== "none" && !E && !z && !L)
83571
83560
  try {
83572
83561
  this[si] ? (e4(this), l0.update.call(this, d), this[si] = null) : l0[x].call(this, d);
@@ -83605,10 +83594,10 @@ var e4, Tv, Mc, l0, bc, Rv, Av, l5, u5, yA, xA, Dv, LA, _c, SA, eX, Yr, VA, c5,
83605
83594
  }, xA = function(d, p) {
83606
83595
  d.on("mouseover", function(f) {
83607
83596
  var C = f.target, m = N4(C, to);
83608
- m && ($E1(m, f, p._api), Yr(p));
83597
+ m && ($E1(m, f, p._api), Wr(p));
83609
83598
  }).on("mouseout", function(f) {
83610
83599
  var C = f.target, m = N4(C, to);
83611
- m && (UE1(m, f, p._api), Yr(p));
83600
+ m && (UE1(m, f, p._api), Wr(p));
83612
83601
  }).on("click", function(f) {
83613
83602
  var C = f.target, m = N4(C, function(y) {
83614
83603
  return de(y).dataIndex != null;
@@ -83677,7 +83666,7 @@ var e4, Tv, Mc, l0, bc, Rv, Av, l5, u5, yA, xA, Dv, LA, _c, SA, eX, Yr, VA, c5,
83677
83666
  var L = d._chartsMap[x.__viewId];
83678
83667
  l(x, L), h(x, L);
83679
83668
  }), a(d, p), Nn.trigger("series:afterupdate", p, f, m);
83680
- }, Yr = function(d) {
83669
+ }, Wr = function(d) {
83681
83670
  d[Zv] = !0, d.getZr().wakeUp();
83682
83671
  }, c5 = function(d) {
83683
83672
  d[Hc] = (d[Hc] + 1) % 1e3;
@@ -83769,17 +83758,17 @@ var e4, Tv, Mc, l0, bc, Rv, Av, l5, u5, yA, xA, Dv, LA, _c, SA, eX, Yr, VA, c5,
83769
83758
  C = C.parent;
83770
83759
  }
83771
83760
  }, f.prototype.enterEmphasis = function(C, m) {
83772
- k0(C, m), Yr(d);
83761
+ k0(C, m), Wr(d);
83773
83762
  }, f.prototype.leaveEmphasis = function(C, m) {
83774
- I0(C, m), Yr(d);
83763
+ I0(C, m), Wr(d);
83775
83764
  }, f.prototype.enterBlur = function(C) {
83776
- nj(C), Yr(d);
83765
+ nj(C), Wr(d);
83777
83766
  }, f.prototype.leaveBlur = function(C) {
83778
- oM(C), Yr(d);
83767
+ oM(C), Wr(d);
83779
83768
  }, f.prototype.enterSelect = function(C) {
83780
- sj(C), Yr(d);
83769
+ sj(C), Wr(d);
83781
83770
  }, f.prototype.leaveSelect = function(C) {
83782
- aj(C), Yr(d);
83771
+ aj(C), Wr(d);
83783
83772
  }, f.prototype.getModel = function() {
83784
83773
  return d.getModel();
83785
83774
  }, f.prototype.getViewOfComponentModel = function(C) {
@@ -84289,7 +84278,7 @@ var U3 = ne, la = y1, iB1 = typeof Int32Array > "u" ? Array : Int32Array, rB1 =
84289
84278
  if (!(t >= i)) {
84290
84279
  var r = this._store, n = r.getProvider();
84291
84280
  this._updateOrdinalMeta();
84292
- var s = this._nameList, a = this._idList, o = n.getSource().sourceFormat, l = o === Fr;
84281
+ var s = this._nameList, a = this._idList, o = n.getSource().sourceFormat, l = o === Or;
84293
84282
  if (l && !n.pure)
84294
84283
  for (var c = [], h = t; h < i; h++) {
84295
84284
  var d = n.getItem(h, c);
@@ -84752,7 +84741,7 @@ function gB1(e, t, i) {
84752
84741
  function K0(e, t, i) {
84753
84742
  i = i || {};
84754
84743
  var r = t.getSourceManager(), n, s = !1;
84755
- e ? (s = !0, n = zM(e)) : (n = r.getSource(), s = n.sourceFormat === Fr);
84744
+ e ? (s = !0, n = zM(e)) : (n = r.getSource(), s = n.sourceFormat === Or);
84756
84745
  var a = cB1(t), o = fB1(t, a), l = i.useEncodeDefaulter, c = J1(l) ? l : l ? ye(tK, o, t) : null, h = {
84757
84746
  coordDimensions: o,
84758
84747
  generateCoord: i.generateCoord,
@@ -84775,7 +84764,7 @@ function K0(e, t, i) {
84775
84764
  ), m;
84776
84765
  }
84777
84766
  function CB1(e) {
84778
- if (e.sourceFormat === Fr) {
84767
+ if (e.sourceFormat === Or) {
84779
84768
  var t = mB1(e.data || []);
84780
84769
  return !w1(q9(t));
84781
84770
  }
@@ -85384,9 +85373,9 @@ var NB1 = function(e, t, i, r) {
85384
85373
  }), a;
85385
85374
  }, t.prototype.calcNiceExtent = function(i) {
85386
85375
  var r = this.getExtent();
85387
- if (r[0] === r[1] && (r[0] -= un, r[1] += un), r[1] === -1 / 0 && r[0] === 1 / 0) {
85376
+ if (r[0] === r[1] && (r[0] -= ln, r[1] += ln), r[1] === -1 / 0 && r[0] === 1 / 0) {
85388
85377
  var n = /* @__PURE__ */ new Date();
85389
- r[1] = +new Date(n.getFullYear(), n.getMonth(), n.getDate()), r[0] = r[1] - un;
85378
+ r[1] = +new Date(n.getFullYear(), n.getMonth(), n.getDate()), r[0] = r[1] - ln;
85390
85379
  }
85391
85380
  this._innerSetExtent(r[0], r[1]), this.calcNiceTicks(i.splitNumber, i.minInterval, i.maxInterval);
85392
85381
  }, t.prototype.calcNiceTicks = function(i, r, n) {
@@ -85412,11 +85401,11 @@ var NB1 = function(e, t, i, r) {
85412
85401
  ["hour", a8],
85413
85402
  ["quarter-day", a8 * 6],
85414
85403
  ["half-day", a8 * 12],
85415
- ["day", un * 1.2],
85416
- ["half-week", un * 3.5],
85417
- ["week", un * 7],
85418
- ["month", un * 31],
85419
- ["quarter", un * 95],
85404
+ ["day", ln * 1.2],
85405
+ ["half-week", ln * 3.5],
85406
+ ["week", ln * 7],
85407
+ ["month", ln * 31],
85408
+ ["quarter", ln * 95],
85420
85409
  ["half-year", LR / 2],
85421
85410
  ["year", LR]
85422
85411
  // 1Y
@@ -85425,10 +85414,10 @@ function LX(e, t, i, r) {
85425
85414
  return fL(new Date(t), e, r).getTime() === fL(new Date(i), e, r).getTime();
85426
85415
  }
85427
85416
  function zB1(e, t) {
85428
- return e /= un, e > 16 ? 16 : e > 7.5 ? 7 : e > 3.5 ? 4 : e > 1.5 ? 2 : 1;
85417
+ return e /= ln, e > 16 ? 16 : e > 7.5 ? 7 : e > 3.5 ? 4 : e > 1.5 ? 2 : 1;
85429
85418
  }
85430
85419
  function ZB1(e) {
85431
- var t = 30 * un;
85420
+ var t = 30 * ln;
85432
85421
  return e /= t, e > 6 ? 6 : e > 3 ? 3 : e > 2 ? 2 : 1;
85433
85422
  }
85434
85423
  function EB1(e) {
@@ -85488,7 +85477,7 @@ function DB1(e, t, i, r, n, s) {
85488
85477
  var e1 = void 0, r1 = void 0, W = void 0, p1 = !1;
85489
85478
  switch (R) {
85490
85479
  case "year":
85491
- e1 = Math.max(1, Math.round(t / un / 365)), r1 = Rj(i), W = tR1(i);
85480
+ e1 = Math.max(1, Math.round(t / ln / 365)), r1 = Rj(i), W = tR1(i);
85492
85481
  break;
85493
85482
  case "half-year":
85494
85483
  case "quarter":
@@ -93264,7 +93253,7 @@ var lF1 = (
93264
93253
  }
93265
93254
  var R = l.getLineStyle(), k = c.getAreaStyle();
93266
93255
  A(w, function(I, O) {
93267
- this.group.add(ln(I, {
93256
+ this.group.add(on(I, {
93268
93257
  style: oe({
93269
93258
  stroke: "none",
93270
93259
  fill: m[O % m.length]
@@ -93272,7 +93261,7 @@ var lF1 = (
93272
93261
  silent: !0
93273
93262
  }));
93274
93263
  }, this), A(v, function(I, O) {
93275
- this.group.add(ln(I, {
93264
+ this.group.add(on(I, {
93276
93265
  style: oe({
93277
93266
  fill: "none",
93278
93267
  stroke: C[O % C.length]
@@ -93765,7 +93754,7 @@ var sw, Sp = {
93765
93754
  x: this._textX || 0,
93766
93755
  y: this._textY || 0
93767
93756
  });
93768
- qr(i, r), Sr(t, r, this._defsUsePending, !1, !1), xF1(r, i);
93757
+ Yr(i, r), Sr(t, r, this._defsUsePending, !1, !1), xF1(r, i);
93769
93758
  var n = r.style, s = n.fontSize;
93770
93759
  s && s < 9 && (n.fontSize = 9, r.scaleX *= s / 9, r.scaleY *= s / 9);
93771
93760
  var a = (n.fontSize || n.fontFamily) && [
@@ -93781,11 +93770,11 @@ var sw, Sp = {
93781
93770
  sw = {
93782
93771
  g: function(t, i) {
93783
93772
  var r = new ie();
93784
- return qr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r;
93773
+ return Yr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r;
93785
93774
  },
93786
93775
  rect: function(t, i) {
93787
93776
  var r = new Ee();
93788
- return qr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r.setShape({
93777
+ return Yr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r.setShape({
93789
93778
  x: parseFloat(t.getAttribute("x") || "0"),
93790
93779
  y: parseFloat(t.getAttribute("y") || "0"),
93791
93780
  width: parseFloat(t.getAttribute("width") || "0"),
@@ -93794,7 +93783,7 @@ var sw, Sp = {
93794
93783
  },
93795
93784
  circle: function(t, i) {
93796
93785
  var r = new q0();
93797
- return qr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r.setShape({
93786
+ return Yr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r.setShape({
93798
93787
  cx: parseFloat(t.getAttribute("cx") || "0"),
93799
93788
  cy: parseFloat(t.getAttribute("cy") || "0"),
93800
93789
  r: parseFloat(t.getAttribute("r") || "0")
@@ -93802,7 +93791,7 @@ var sw, Sp = {
93802
93791
  },
93803
93792
  line: function(t, i) {
93804
93793
  var r = new H2();
93805
- return qr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r.setShape({
93794
+ return Yr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r.setShape({
93806
93795
  x1: parseFloat(t.getAttribute("x1") || "0"),
93807
93796
  y1: parseFloat(t.getAttribute("y1") || "0"),
93808
93797
  x2: parseFloat(t.getAttribute("x2") || "0"),
@@ -93811,7 +93800,7 @@ var sw, Sp = {
93811
93800
  },
93812
93801
  ellipse: function(t, i) {
93813
93802
  var r = new Hg();
93814
- return qr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r.setShape({
93803
+ return Yr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r.setShape({
93815
93804
  cx: parseFloat(t.getAttribute("cx") || "0"),
93816
93805
  cy: parseFloat(t.getAttribute("cy") || "0"),
93817
93806
  rx: parseFloat(t.getAttribute("rx") || "0"),
@@ -93827,7 +93816,7 @@ var sw, Sp = {
93827
93816
  },
93828
93817
  silent: !0
93829
93818
  });
93830
- return qr(i, s), Sr(t, s, this._defsUsePending, !1, !1), s;
93819
+ return Yr(i, s), Sr(t, s, this._defsUsePending, !1, !1), s;
93831
93820
  },
93832
93821
  polyline: function(t, i) {
93833
93822
  var r = t.getAttribute("points"), n;
@@ -93838,11 +93827,11 @@ var sw, Sp = {
93838
93827
  },
93839
93828
  silent: !0
93840
93829
  });
93841
- return qr(i, s), Sr(t, s, this._defsUsePending, !1, !1), s;
93830
+ return Yr(i, s), Sr(t, s, this._defsUsePending, !1, !1), s;
93842
93831
  },
93843
93832
  image: function(t, i) {
93844
93833
  var r = new Ci();
93845
- return qr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r.setStyle({
93834
+ return Yr(i, r), Sr(t, r, this._defsUsePending, !1, !1), r.setStyle({
93846
93835
  image: t.getAttribute("xlink:href") || t.getAttribute("href"),
93847
93836
  x: +t.getAttribute("x"),
93848
93837
  y: +t.getAttribute("y"),
@@ -93854,17 +93843,17 @@ var sw, Sp = {
93854
93843
  var r = t.getAttribute("x") || "0", n = t.getAttribute("y") || "0", s = t.getAttribute("dx") || "0", a = t.getAttribute("dy") || "0";
93855
93844
  this._textX = parseFloat(r) + parseFloat(s), this._textY = parseFloat(n) + parseFloat(a);
93856
93845
  var o = new ie();
93857
- return qr(i, o), Sr(t, o, this._defsUsePending, !1, !0), o;
93846
+ return Yr(i, o), Sr(t, o, this._defsUsePending, !1, !0), o;
93858
93847
  },
93859
93848
  tspan: function(t, i) {
93860
93849
  var r = t.getAttribute("x"), n = t.getAttribute("y");
93861
93850
  r != null && (this._textX = parseFloat(r)), n != null && (this._textY = parseFloat(n));
93862
93851
  var s = t.getAttribute("dx") || "0", a = t.getAttribute("dy") || "0", o = new ie();
93863
- return qr(i, o), Sr(t, o, this._defsUsePending, !1, !0), this._textX += parseFloat(s), this._textY += parseFloat(a), o;
93852
+ return Yr(i, o), Sr(t, o, this._defsUsePending, !1, !0), this._textX += parseFloat(s), this._textY += parseFloat(a), o;
93864
93853
  },
93865
93854
  path: function(t, i) {
93866
93855
  var r = t.getAttribute("d") || "", n = pj(r);
93867
- return qr(i, n), Sr(t, n, this._defsUsePending, !1, !1), n.silent = !0, n;
93856
+ return Yr(i, n), Sr(t, n, this._defsUsePending, !1, !1), n.silent = !0, n;
93868
93857
  }
93869
93858
  };
93870
93859
  })(), e;
@@ -93902,7 +93891,7 @@ function qD(e, t) {
93902
93891
  i = i.nextSibling;
93903
93892
  }
93904
93893
  }
93905
- function qr(e, t) {
93894
+ function Yr(e, t) {
93906
93895
  e && e.__inheritedStyle && (t.__inheritedStyle || (t.__inheritedStyle = {}), oe(t.__inheritedStyle, e.__inheritedStyle));
93907
93896
  }
93908
93897
  function jD(e) {
@@ -93953,7 +93942,7 @@ var LF1 = /^url\(\s*#(.*?)\)/;
93953
93942
  function KD(e, t, i, r) {
93954
93943
  var n = i && i.match(LF1);
93955
93944
  if (n) {
93956
- var s = cn(n[1]);
93945
+ var s = un(n[1]);
93957
93946
  r.push([e, t, s]);
93958
93947
  return;
93959
93948
  }
@@ -95723,7 +95712,7 @@ function tS(e, t, i, r, n) {
95723
95712
  cpy2: l
95724
95713
  };
95725
95714
  }
95726
- var fn = Re();
95715
+ var pn = Re();
95727
95716
  function rJ(e) {
95728
95717
  var t = e.mainData, i = e.datas;
95729
95718
  i || (i = {
@@ -95740,45 +95729,45 @@ function rJ(e) {
95740
95729
  }
95741
95730
  function gP1(e, t) {
95742
95731
  if (yP1(this)) {
95743
- var i = C1({}, fn(this).datas);
95732
+ var i = C1({}, pn(this).datas);
95744
95733
  i[this.dataType] = t, nJ(t, i, e);
95745
95734
  } else
95746
- ub(t, this.dataType, fn(this).mainData, e);
95735
+ ub(t, this.dataType, pn(this).mainData, e);
95747
95736
  return t;
95748
95737
  }
95749
95738
  function CP1(e, t) {
95750
95739
  return e.struct && e.struct.update(), t;
95751
95740
  }
95752
95741
  function mP1(e, t) {
95753
- return A(fn(t).datas, function(i, r) {
95742
+ return A(pn(t).datas, function(i, r) {
95754
95743
  i !== t && ub(i.cloneShallow(), r, t, e);
95755
95744
  }), t;
95756
95745
  }
95757
95746
  function vP1(e) {
95758
- var t = fn(this).mainData;
95759
- return e == null || t == null ? t : fn(t).datas[e];
95747
+ var t = pn(this).mainData;
95748
+ return e == null || t == null ? t : pn(t).datas[e];
95760
95749
  }
95761
95750
  function wP1() {
95762
- var e = fn(this).mainData;
95751
+ var e = pn(this).mainData;
95763
95752
  return e == null ? [{
95764
95753
  data: e
95765
- }] : y1(Ie(fn(e).datas), function(t) {
95754
+ }] : y1(Ie(pn(e).datas), function(t) {
95766
95755
  return {
95767
95756
  type: t,
95768
- data: fn(e).datas[t]
95757
+ data: pn(e).datas[t]
95769
95758
  };
95770
95759
  });
95771
95760
  }
95772
95761
  function yP1(e) {
95773
- return fn(e).mainData === e;
95762
+ return pn(e).mainData === e;
95774
95763
  }
95775
95764
  function nJ(e, t, i) {
95776
- fn(e).datas = {}, A(t, function(r, n) {
95765
+ pn(e).datas = {}, A(t, function(r, n) {
95777
95766
  ub(r, n, e, i);
95778
95767
  });
95779
95768
  }
95780
95769
  function ub(e, t, i, r) {
95781
- fn(i).datas[t] = e, fn(e).mainData = i, e.dataType = t, r.struct && (e[r.structAttr] = r.struct, r.struct[r.datasAttr[t]] = e), e.getLinkedData = vP1, e.getLinkedDataAll = wP1;
95770
+ pn(i).datas[t] = e, pn(e).mainData = i, e.dataType = t, r.struct && (e[r.structAttr] = r.struct, r.struct[r.datasAttr[t]] = e), e.getLinkedData = vP1, e.getLinkedDataAll = wP1;
95782
95771
  }
95783
95772
  var xP1 = (
95784
95773
  /** @class */
@@ -100529,7 +100518,7 @@ var VU1 = {
100529
100518
  var r = this.activeIntervals = re(i);
100530
100519
  if (r)
100531
100520
  for (var n = r.length - 1; n >= 0; n--)
100532
- hn(r[n]);
100521
+ cn(r[n]);
100533
100522
  }, t.prototype.getActiveState = function(i) {
100534
100523
  var r = this.activeIntervals;
100535
100524
  if (!r.length)
@@ -102004,7 +101993,7 @@ function HG1(e, t, i) {
102004
101993
  function MG1(e, t) {
102005
101994
  t = t || {};
102006
101995
  for (var i = [], r = [], n = t.boundIQR, s = n === "none" || n === 0, a = 0; a < e.length; a++) {
102007
- var o = hn(e[a].slice()), l = tv(o, 0.25), c = tv(o, 0.5), h = tv(o, 0.75), d = o[0], p = o[o.length - 1], f = (n ?? 1.5) * (h - l), C = s ? d : Math.max(d, l - f), m = s ? p : Math.min(p, h + f), v = t.itemNameFormatter, w = J1(v) ? v({
101996
+ var o = cn(e[a].slice()), l = tv(o, 0.25), c = tv(o, 0.5), h = tv(o, 0.75), d = o[0], p = o[o.length - 1], f = (n ?? 1.5) * (h - l), C = s ? d : Math.max(d, l - f), m = s ? p : Math.min(p, h + f), v = t.itemNameFormatter, w = J1(v) ? v({
102008
101997
  value: a
102009
101998
  }) : D1(v) ? v.replace("{value}", a + "") : a + "";
102010
101999
  i.push([w, C, l, c, h, m]);
@@ -104895,7 +104884,7 @@ var E0 = "emphasis", Da = "normal", zb = "blur", Zb = "select", oo = [Da, E0, zb
104895
104884
  emphasis: [E0, "label"],
104896
104885
  blur: [zb, "label"],
104897
104886
  select: [Zb, "label"]
104898
- }, oY1 = ["x", "y"], lY1 = "e\0\0", jr = {
104887
+ }, oY1 = ["x", "y"], lY1 = "e\0\0", qr = {
104899
104888
  normal: {},
104900
104889
  emphasis: {},
104901
104890
  blur: {},
@@ -105198,12 +105187,12 @@ function Rb(e, t, i, r, n, s) {
105198
105187
  var a = -1, o = t;
105199
105188
  t && d11(t, r, n) && (a = Se(s.childrenRef(), t), t = null);
105200
105189
  var l = !t, c = t;
105201
- c ? c.clearStates() : (c = Eb(r), o && uY1(o, c)), r.morph === !1 ? c.disableMorphing = !0 : c.disableMorphing && (c.disableMorphing = !1), r.tooltipDisabled && (c.tooltipDisabled = !0), jr.normal.cfg = jr.normal.conOpt = jr.emphasis.cfg = jr.emphasis.conOpt = jr.blur.cfg = jr.blur.conOpt = jr.select.cfg = jr.select.conOpt = null, jr.isLegacy = !1, gY1(c, i, r, n, l, jr), fY1(c, i, r, n, l), Tb(e, c, i, r, jr, n, l), F1(r, "info") && (Z0(c).info = r.info);
105190
+ c ? c.clearStates() : (c = Eb(r), o && uY1(o, c)), r.morph === !1 ? c.disableMorphing = !0 : c.disableMorphing && (c.disableMorphing = !1), r.tooltipDisabled && (c.tooltipDisabled = !0), qr.normal.cfg = qr.normal.conOpt = qr.emphasis.cfg = qr.emphasis.conOpt = qr.blur.cfg = qr.blur.conOpt = qr.select.cfg = qr.select.conOpt = null, qr.isLegacy = !1, gY1(c, i, r, n, l, qr), fY1(c, i, r, n, l), Tb(e, c, i, r, qr, n, l), F1(r, "info") && (Z0(c).info = r.info);
105202
105191
  for (var h = 0; h < oo.length; h++) {
105203
105192
  var d = oo[h];
105204
105193
  if (d !== Da) {
105205
105194
  var p = Tp(r, d), f = Ab(r, p, d);
105206
- h11(d, c, p, f, jr);
105195
+ h11(d, c, p, f, qr);
105207
105196
  }
105208
105197
  }
105209
105198
  return hY1(c, r, n), r.type === "group" && CY1(e, c, i, r, n), a >= 0 ? s.replaceAt(c, a) : s.add(c), c;
@@ -106422,7 +106411,7 @@ var JY1 = (
106422
106411
  shape: Xc(i, [l, l + o], h.coord)
106423
106412
  });
106424
106413
  });
106425
- e.add(ln(c, {
106414
+ e.add(on(c, {
106426
106415
  style: oe(a.getModel("lineStyle").getLineStyle(), {
106427
106416
  stroke: t.get(["axisLine", "lineStyle", "color"])
106428
106417
  })
@@ -106435,7 +106424,7 @@ var JY1 = (
106435
106424
  h.push(new H2({
106436
106425
  shape: Xc(i, [c, c + l], n[d][p].coord)
106437
106426
  }));
106438
- e.add(ln(h, {
106427
+ e.add(on(h, {
106439
106428
  style: oe(o.getModel("lineStyle").getLineStyle(), oe(a.getLineStyle(), {
106440
106429
  stroke: t.get(["axisLine", "lineStyle", "color"])
106441
106430
  }))
@@ -106488,7 +106477,7 @@ var JY1 = (
106488
106477
  }));
106489
106478
  }
106490
106479
  for (var d = 0; d < h.length; d++)
106491
- e.add(ln(h[d], {
106480
+ e.add(on(h[d], {
106492
106481
  style: oe({
106493
106482
  stroke: l[d % l.length]
106494
106483
  }, o.getLineStyle()),
@@ -106503,7 +106492,7 @@ var JY1 = (
106503
106492
  l.push(new H2({
106504
106493
  shape: Xc(i, s, n[c][h].coord)
106505
106494
  }));
106506
- e.add(ln(l, {
106495
+ e.add(on(l, {
106507
106496
  style: o.getLineStyle(),
106508
106497
  silent: !0,
106509
106498
  z: t.get("z")
@@ -106530,7 +106519,7 @@ var JY1 = (
106530
106519
  })), p = -y * d;
106531
106520
  }
106532
106521
  for (var v = 0; v < h.length; v++)
106533
- e.add(ln(h[v], {
106522
+ e.add(on(h[v], {
106534
106523
  style: oe({
106535
106524
  fill: l[v % l.length]
106536
106525
  }, o.getAreaStyle()),
@@ -106576,7 +106565,7 @@ var JY1 = (
106576
106565
  }));
106577
106566
  }
106578
106567
  for (var m = 0; m < C.length; m++)
106579
- e.add(ln(C[m], {
106568
+ e.add(on(C[m], {
106580
106569
  style: oe({
106581
106570
  stroke: l[m % l.length],
106582
106571
  fill: null
@@ -106595,7 +106584,7 @@ var JY1 = (
106595
106584
  r: a[h][d].coord
106596
106585
  }
106597
106586
  }));
106598
- e.add(ln(c, {
106587
+ e.add(on(c, {
106599
106588
  style: oe({
106600
106589
  fill: null
106601
106590
  }, l.getLineStyle()),
@@ -106622,7 +106611,7 @@ var JY1 = (
106622
106611
  })), d = s[p].coord;
106623
106612
  }
106624
106613
  for (var p = 0; p < h.length; p++)
106625
- e.add(ln(h[p], {
106614
+ e.add(on(h[p], {
106626
106615
  style: oe({
106627
106616
  fill: l[p % l.length]
106628
106617
  }, o.getAreaStyle()),
@@ -106837,7 +106826,7 @@ var hq1 = ["splitArea", "splitLine", "breakArea"], dq1 = (
106837
106826
  p[L] = p[L] || [], p[L].push(x);
106838
106827
  }
106839
106828
  for (var V = o.getLineStyle(["color"]), w = 0; w < p.length; ++w)
106840
- t.add(ln(p[w], {
106829
+ t.add(on(p[w], {
106841
106830
  style: oe({
106842
106831
  stroke: l[w % l.length]
106843
106832
  }, V),
@@ -108394,7 +108383,7 @@ var Xq1 = (
108394
108383
  group: ie,
108395
108384
  image: Ci,
108396
108385
  text: Xe
108397
- }, en = Re(), Qq1 = (
108386
+ }, Jr = Re(), Qq1 = (
108398
108387
  /** @class */
108399
108388
  (function(e) {
108400
108389
  u1(t, e);
@@ -108423,7 +108412,7 @@ var Xq1 = (
108423
108412
  var x = l.$action || "merge", L = x === "merge", V = x === "replace";
108424
108413
  if (L) {
108425
108414
  var S = !h, H = h;
108426
- S ? H = dI(c, p, l.type, n) : (H && (en(H).isNew = !1), c11(H)), H && ($h(H, y, i, {
108415
+ S ? H = dI(c, p, l.type, n) : (H && (Jr(H).isNew = !1), c11(H)), H && ($h(H, y, i, {
108427
108416
  isInit: S
108428
108417
  }), pI(H, l, a, o));
108429
108418
  } else if (V) {
@@ -108445,13 +108434,13 @@ var Xq1 = (
108445
108434
  var E = z.type, R = void 0, S = !1;
108446
108435
  if (L) {
108447
108436
  var k = Z.getClipPath();
108448
- S = !k || en(k).type !== E, R = S ? xS(E) : k;
108437
+ S = !k || Jr(k).type !== E, R = S ? xS(E) : k;
108449
108438
  } else V && (S = !0, R = xS(E));
108450
108439
  Z.setClipPath(R), $h(R, z, i, {
108451
108440
  isInit: S
108452
108441
  }), Zp(R, z.keyframeAnimation, i);
108453
108442
  }
108454
- var I = en(Z);
108443
+ var I = Jr(Z);
108455
108444
  Z.setTextConfig(v), I.option = l, ej1(Z, i, l), j0({
108456
108445
  el: Z,
108457
108446
  componentModel: i,
@@ -108465,14 +108454,14 @@ var Xq1 = (
108465
108454
  for (var n = i.option.elements, s = this.group, a = this._elMap, o = r.getWidth(), l = r.getHeight(), c = ["x", "y"], h = 0; h < n.length; h++) {
108466
108455
  var d = n[h], p = I2(d.id, null), f = p != null ? a.get(p) : null;
108467
108456
  if (!(!f || !f.isGroup)) {
108468
- var C = f.parent, m = C === s, v = en(f), w = en(C);
108457
+ var C = f.parent, m = C === s, v = Jr(f), w = Jr(C);
108469
108458
  v.width = R1(v.option.width, m ? o : w.width) || 0, v.height = R1(v.option.height, m ? l : w.height) || 0;
108470
108459
  }
108471
108460
  }
108472
108461
  for (var h = n.length - 1; h >= 0; h--) {
108473
108462
  var d = n[h], p = I2(d.id, null), f = p != null ? a.get(p) : null;
108474
108463
  if (f) {
108475
- var C = f.parent, w = en(C), y = C === s ? {
108464
+ var C = f.parent, w = Jr(C), y = C === s ? {
108476
108465
  width: o,
108477
108466
  height: l
108478
108467
  } : {
@@ -108482,7 +108471,7 @@ var Xq1 = (
108482
108471
  hv: d.hv,
108483
108472
  boundingMode: d.bounding
108484
108473
  }, x);
108485
- if (!en(f).isNew && L) {
108474
+ if (!Jr(f).isNew && L) {
108486
108475
  for (var V = d.transition, S = {}, H = 0; H < c.length; H++) {
108487
108476
  var M = c[H], Z = x[M];
108488
108477
  V && (W4(V) || Se(V, M) >= 0) ? S[M] = Z : f[M] = Z;
@@ -108495,7 +108484,7 @@ var Xq1 = (
108495
108484
  }, t.prototype._clear = function() {
108496
108485
  var i = this, r = this._elMap;
108497
108486
  r.each(function(n) {
108498
- Wh(n, en(n).option, r, i._lastGraphicModel);
108487
+ Wh(n, Jr(n).option, r, i._lastGraphicModel);
108499
108488
  }), this._elMap = j1();
108500
108489
  }, t.prototype.dispose = function() {
108501
108490
  this._clear();
@@ -108507,17 +108496,17 @@ function xS(e) {
108507
108496
  var t = F1(hI, e) ? hI[e] : Kd(e);
108508
108497
  process.env.NODE_ENV !== "production" && G1(t, "graphic type " + e + " can not be found");
108509
108498
  var i = new t({});
108510
- return en(i).type = e, i;
108499
+ return Jr(i).type = e, i;
108511
108500
  }
108512
108501
  function dI(e, t, i, r) {
108513
108502
  var n = xS(i);
108514
- return t.add(n), r.set(e, n), en(n).id = e, en(n).isNew = !0, n;
108503
+ return t.add(n), r.set(e, n), Jr(n).id = e, Jr(n).isNew = !0, n;
108515
108504
  }
108516
108505
  function Wh(e, t, i, r) {
108517
108506
  var n = e && e.parent;
108518
108507
  n && (e.type === "group" && e.traverse(function(s) {
108519
108508
  Wh(s, t, i, r);
108520
- }), Yg(e, t, r), i.removeKey(en(e).id));
108509
+ }), Yg(e, t, r), i.removeKey(Jr(e).id));
108521
108510
  }
108522
108511
  function pI(e, t, i, r) {
108523
108512
  e.isGroup || A([
@@ -108832,7 +108821,7 @@ var sj1 = (
108832
108821
  }
108833
108822
  return t.type = "dataZoom.select", t;
108834
108823
  })(Gb)
108835
- ), Z5 = A, CI = hn, oj1 = (
108824
+ ), Z5 = A, CI = cn, oj1 = (
108836
108825
  /** @class */
108837
108826
  (function() {
108838
108827
  function e(t, i, r, n) {
@@ -109020,7 +109009,7 @@ function Wb(e) {
109020
109009
  function hj1(e) {
109021
109010
  e.registerComponentModel(sj1), e.registerComponentView(aj1), Wb(e);
109022
109011
  }
109023
- var an = (
109012
+ var sn = (
109024
109013
  /** @class */
109025
109014
  /* @__PURE__ */ (function() {
109026
109015
  function e() {
@@ -109137,7 +109126,7 @@ var pj1 = (
109137
109126
  } else if (M = h[V], !M)
109138
109127
  return;
109139
109128
  M.uid = e3("toolbox-feature"), M.model = H, M.ecModel = r, M.api = n;
109140
- var b = M instanceof an;
109129
+ var b = M instanceof sn;
109141
109130
  if (!L && V) {
109142
109131
  b && M.dispose && M.dispose(r, n);
109143
109132
  return;
@@ -109149,10 +109138,10 @@ var pj1 = (
109149
109138
  f(H, M, L), H.setIconStatus = function(z, E) {
109150
109139
  var R = this.option, k = this.iconPaths;
109151
109140
  R.iconStatus = R.iconStatus || {}, R.iconStatus[z] = E, k[z] && (E === "emphasis" ? k0 : I0)(k[z]);
109152
- }, M instanceof an && M.render && M.render(H, r, n, s);
109141
+ }, M instanceof sn && M.render && M.render(H, r, n, s);
109153
109142
  }
109154
109143
  function f(y, x, L) {
109155
- var V = y.getModel("iconStyle"), S = y.getModel(["emphasis", "iconStyle"]), H = x instanceof an && x.getIcons ? x.getIcons() : y.get("icon"), M = y.get("title") || {}, Z, b;
109144
+ var V = y.getModel("iconStyle"), S = y.getModel(["emphasis", "iconStyle"]), H = x instanceof sn && x.getIcons ? x.getIcons() : y.get("icon"), M = y.get("title") || {}, Z, b;
109156
109145
  D1(H) ? (Z = {}, Z[L] = H) : Z = H, D1(M) ? (b = {}, b[L] = M) : b = M;
109157
109146
  var z = y.iconPaths = {};
109158
109147
  A(Z, function(E, R) {
@@ -109213,15 +109202,15 @@ var pj1 = (
109213
109202
  });
109214
109203
  }, t.prototype.updateView = function(i, r, n, s) {
109215
109204
  A(this._features, function(a) {
109216
- a instanceof an && a.updateView && a.updateView(a.model, r, n, s);
109205
+ a instanceof sn && a.updateView && a.updateView(a.model, r, n, s);
109217
109206
  });
109218
109207
  }, t.prototype.remove = function(i, r) {
109219
109208
  A(this._features, function(n) {
109220
- n instanceof an && n.remove && n.remove(i, r);
109209
+ n instanceof sn && n.remove && n.remove(i, r);
109221
109210
  }), this.group.removeAll();
109222
109211
  }, t.prototype.dispose = function(i, r) {
109223
109212
  A(this._features, function(n) {
109224
- n instanceof an && n.dispose && n.dispose(i, r);
109213
+ n instanceof sn && n.dispose && n.dispose(i, r);
109225
109214
  });
109226
109215
  }, t.type = "toolbox", t;
109227
109216
  })(kt)
@@ -109290,7 +109279,7 @@ var gj1 = (
109290
109279
  };
109291
109280
  return r;
109292
109281
  }, t;
109293
- })(an)
109282
+ })(sn)
109294
109283
  ), vI = "__ec_magicType_stack__", Cj1 = [["line", "bar"], ["stack"]], mj1 = (
109295
109284
  /** @class */
109296
109285
  (function(e) {
@@ -109364,7 +109353,7 @@ var gj1 = (
109364
109353
  });
109365
109354
  }
109366
109355
  }, t;
109367
- })(an)
109356
+ })(sn)
109368
109357
  ), wI = {
109369
109358
  line: function(e, t, i, r) {
109370
109359
  if (e === "bar")
@@ -109627,7 +109616,7 @@ var Mj1 = (
109627
109616
  };
109628
109617
  return r;
109629
109618
  }, t;
109630
- })(an)
109619
+ })(sn)
109631
109620
  );
109632
109621
  function bj1(e, t) {
109633
109622
  return y1(e, function(i, r) {
@@ -109736,7 +109725,7 @@ var Ej1 = (
109736
109725
  };
109737
109726
  return r;
109738
109727
  }, t;
109739
- })(an)
109728
+ })(sn)
109740
109729
  );
109741
109730
  qs({
109742
109731
  type: "restore",
@@ -110012,7 +110001,7 @@ var VS = A, Dj1 = EZ1("toolbox-dataZoom_"), Bj1 = (
110012
110001
  };
110013
110002
  return r;
110014
110003
  }, t;
110015
- })(an)
110004
+ })(sn)
110016
110005
  ), kj1 = {
110017
110006
  zoom: function() {
110018
110007
  var e = !this._isZoomActive;
@@ -110251,7 +110240,7 @@ var Qj1 = (
110251
110240
  }, r.onmousemove = function(l) {
110252
110241
  if (l = l || window.event, !o._enterable) {
110253
110242
  var c = n.handler, h = n.painter.getViewportRoot();
110254
- Xr(h, l, !0), c.dispatch("mousemove", l);
110243
+ Kr(h, l, !0), c.dispatch("mousemove", l);
110255
110244
  }
110256
110245
  }, r.onmouseleave = function() {
110257
110246
  o._inContent = !1, o._enterable && o._show && o.hideLater(o._hideDelay);
@@ -110564,7 +110553,7 @@ var eK1 = new Ee({
110564
110553
  if (!(!L || V == null)) {
110565
110554
  var S = C11(V, L.axis, n, x.seriesDataIndices, x.valueLabelOpt), H = z2("section", {
110566
110555
  header: S,
110567
- noHeader: !cn(S),
110556
+ noHeader: !un(S),
110568
110557
  sortBlocks: !0,
110569
110558
  blocks: []
110570
110559
  });
@@ -111250,7 +111239,7 @@ var wK1 = ["rect", "polygon", "lineX", "lineY", "keep", "clear"], yK1 = (
111250
111239
  };
111251
111240
  return r;
111252
111241
  }, t;
111253
- })(an)
111242
+ })(sn)
111254
111243
  );
111255
111244
  function xK1(e) {
111256
111245
  e.registerComponentView(mK1), e.registerComponentModel(vK1), e.registerPreprocessor(oK1), e.registerVisual(e.PRIORITY.VISUAL.BRUSH, dK1), e.registerAction({
@@ -111796,7 +111785,7 @@ var VK1 = (
111796
111785
  }, t.prototype._handlePointerDragend = function(i) {
111797
111786
  this._pointerChangeTimeline([i.offsetX, i.offsetY], !0);
111798
111787
  }, t.prototype._pointerChangeTimeline = function(i, r) {
111799
- var n = this._toAxisCoord(i)[0], s = this._axis, a = hn(s.getExtent().slice());
111788
+ var n = this._toAxisCoord(i)[0], s = this._axis, a = cn(s.getExtent().slice());
111800
111789
  n > a[1] && (n = a[1]), n < a[0] && (n = a[0]), this._currentPointer.x = n, this._currentPointer.markRedraw();
111801
111790
  var o = this._progressLine;
111802
111791
  o && (o.shape.x2 = n, o.dirty());
@@ -112604,7 +112593,7 @@ var KI = [["x0", "y0"], ["x1", "y0"], ["x1", "y1"], ["x0", "y1"]], XK1 = (
112604
112593
  var f = y1(KI, function(b) {
112605
112594
  return jI(d, p, b, i, s);
112606
112595
  }), C = a.getAxis("x").scale, m = a.getAxis("y").scale, v = C.getExtent(), w = m.getExtent(), y = [C.parse(d.get("x0", p)), C.parse(d.get("x1", p))], x = [m.parse(d.get("y0", p)), m.parse(d.get("y1", p))];
112607
- hn(y), hn(x);
112596
+ cn(y), cn(x);
112608
112597
  var L = !(v[0] > y[1] || v[1] < y[0] || w[0] > x[1] || w[1] < x[0]), V = !L;
112609
112598
  d.setItemLayout(p, {
112610
112599
  points: f,
@@ -113970,10 +113959,10 @@ var vX1 = (
113970
113959
  }, t.prototype._updateInterval = function(i, r) {
113971
113960
  var n = this.dataZoomModel, s = this._handleEnds, a = this._getViewExtent(), o = n.findRepresentativeAxisProxy().getMinMaxSpan(), l = [0, 100];
113972
113961
  so(r, s, a, n.get("zoomLock") ? "all" : i, o.minSpan != null ? at(o.minSpan, l, a, !0) : null, o.maxSpan != null ? at(o.maxSpan, l, a, !0) : null);
113973
- var c = this._range, h = this._range = hn([at(s[0], a, l, !0), at(s[1], a, l, !0)]);
113962
+ var c = this._range, h = this._range = cn([at(s[0], a, l, !0), at(s[1], a, l, !0)]);
113974
113963
  return !c || c[0] !== h[0] || c[1] !== h[1];
113975
113964
  }, t.prototype._updateView = function(i) {
113976
- var r = this._displayables, n = this._handleEnds, s = hn(n.slice()), a = this._size;
113965
+ var r = this._displayables, n = this._handleEnds, s = cn(n.slice()), a = this._size;
113977
113966
  A([0, 1], function(f) {
113978
113967
  var C = r.handles[f], m = this._handleHeight;
113979
113968
  C.attr({
@@ -114017,7 +114006,7 @@ var vX1 = (
114017
114006
  o = [this._formatLabel(d[0], c), this._formatLabel(d[1], c)];
114018
114007
  }
114019
114008
  }
114020
- var p = hn(this._handleEnds.slice());
114009
+ var p = cn(this._handleEnds.slice());
114021
114010
  f.call(this, 0), f.call(this, 1);
114022
114011
  function f(C) {
114023
114012
  var m = $4(n.handles[C].parent, this.group), v = _g(C === 0 ? "right" : "left", m), w = this._handleWidth / 2 + xX1, y = Bn([p[C] + (C === 0 ? -w : w), this._size[1] / 2], m);
@@ -114064,7 +114053,7 @@ var vX1 = (
114064
114053
  var n = r.shape, s = +/* @__PURE__ */ new Date();
114065
114054
  if (!(s - this._brushStartTime < 200 && Math.abs(n.width) < 5)) {
114066
114055
  var a = this._getViewExtent(), o = [0, 100], l = this._handleEnds = [n.x, n.x + n.width], c = this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();
114067
- so(0, l, a, 0, c.minSpan != null ? at(c.minSpan, o, a, !0) : null, c.maxSpan != null ? at(c.maxSpan, o, a, !0) : null), this._range = hn([at(l[0], a, o, !0), at(l[1], a, o, !0)]), this._updateView(), this._dispatchZoomAction(!1);
114056
+ so(0, l, a, 0, c.minSpan != null ? at(c.minSpan, o, a, !0) : null, c.maxSpan != null ? at(c.maxSpan, o, a, !0) : null), this._range = cn([at(l[0], a, o, !0), at(l[1], a, o, !0)]), this._updateView(), this._dispatchZoomAction(!1);
114068
114057
  }
114069
114058
  }
114070
114059
  }
@@ -114171,7 +114160,7 @@ var ee1 = {
114171
114160
  active: [10, 50],
114172
114161
  inactive: [0, 0]
114173
114162
  }
114174
- }, rO = J2.mapVisual, NX1 = J2.eachVisual, zX1 = w1, nO = A, ZX1 = hn, EX1 = at, Fp = (
114163
+ }, rO = J2.mapVisual, NX1 = J2.eachVisual, zX1 = w1, nO = A, ZX1 = cn, EX1 = at, Fp = (
114175
114164
  /** @class */
114176
114165
  (function(e) {
114177
114166
  u1(t, e);
@@ -114356,7 +114345,7 @@ var ee1 = {
114356
114345
  }, t.prototype.setSelected = function(i) {
114357
114346
  this.option.range = i.slice(), this._resetRange();
114358
114347
  }, t.prototype.getSelected = function() {
114359
- var i = this.getExtent(), r = hn((this.get("range") || []).slice());
114348
+ var i = this.getExtent(), r = cn((this.get("range") || []).slice());
114360
114349
  return r[0] > i[1] && (r[0] = i[1]), r[1] > i[1] && (r[1] = i[1]), r[0] < i[0] && (r[0] = i[0]), r[1] < i[0] && (r[1] = i[0]), r;
114361
114350
  }, t.prototype.getValueState = function(i) {
114362
114351
  var r = this.option.range, n = this.getExtent(), s = q1(this.option.unboundedRange, !0);
@@ -115829,7 +115818,7 @@ var fQ1 = {
115829
115818
  });
115830
115819
  });
115831
115820
  var a = t.sourceFormat;
115832
- a !== gi && a !== Pr && (process.env.NODE_ENV !== "production" && (r = 'sourceFormat "' + a + '" is not supported yet'), st(r));
115821
+ a !== gi && a !== Fr && (process.env.NODE_ENV !== "production" && (r = 'sourceFormat "' + a + '" is not supported yet'), st(r));
115833
115822
  for (var o = [], l = 0, c = t.count(); l < c; l++)
115834
115823
  o.push(t.getRawDataItem(l));
115835
115824
  return o.sort(function(h, d) {
@@ -117039,7 +117028,7 @@ function DS(e, t, i) {
117039
117028
  if (a.gap != null) {
117040
117029
  var l = !1;
117041
117030
  if (D1(a.gap)) {
117042
- var c = cn(a.gap);
117031
+ var c = un(a.gap);
117043
117032
  if (c.match(/%$/)) {
117044
117033
  var h = parseFloat(c) / 100;
117045
117034
  n(h, "Percent gap") || (h = 0), o.gapParsed.type = "tpPrct", o.gapParsed.val = h, l = !0;
@@ -117745,7 +117734,7 @@ const fJ1 = /* @__PURE__ */ g({
117745
117734
  since: {}
117746
117735
  },
117747
117736
  setup(e) {
117748
- const t = e, { t: i } = K1(), { formatDate: r } = Ir(), n = Y(() => t.data ? Object.keys(t.data) : []), s = Y(() => t.data ? Object.values(t.data) : []), a = Y(() => n.value.length ? n.value.reduce((d, p) => p > d ? p : d) : null), o = Y(() => a.value ? n.value.indexOf(a.value) : null), l = Y(() => o.value !== null ? s.value[o.value] : null), c = Y(() => Math.max(...s.value) > 0), h = Y(() => t.summary !== void 0 ? t.summary : t.data ? Object.values(t.data).reduce((d, p) => d + p, 0) : null);
117737
+ const t = e, { t: i } = K1(), { formatDate: r } = kr(), n = Y(() => t.data ? Object.keys(t.data) : []), s = Y(() => t.data ? Object.values(t.data) : []), a = Y(() => n.value.length ? n.value.reduce((d, p) => p > d ? p : d) : null), o = Y(() => a.value ? n.value.indexOf(a.value) : null), l = Y(() => o.value !== null ? s.value[o.value] : null), c = Y(() => Math.max(...s.value) > 0), h = Y(() => t.summary !== void 0 ? t.summary : t.data ? Object.values(t.data).reduce((d, p) => d + p, 0) : null);
117749
117738
  return (d, p) => e.size === "sm" ? (T(), $("div", CJ1, [
117750
117739
  D("p", mJ1, P(e.title), 1),
117751
117740
  D("div", vJ1, [
@@ -117896,7 +117885,7 @@ const fJ1 = /* @__PURE__ */ g({
117896
117885
  showStats: { type: Boolean, default: !0 }
117897
117886
  },
117898
117887
  setup(e) {
117899
- const { t } = K1(), { formatRelativeIfRecentDate: i } = Ir(), r = (n) => i(n, {
117888
+ const { t } = K1(), { formatRelativeIfRecentDate: i } = kr(), r = (n) => i(n, {
117900
117889
  dateStyle: "long"
117901
117890
  });
117902
117891
  return (n, s) => (T(), s1(pl, null, PO({
@@ -118431,10 +118420,10 @@ const qJ1 = ["for", "title"], jJ1 = {
118431
118420
  model: t,
118432
118421
  id: i,
118433
118422
  getId: (o) => o.id,
118434
- fetchById: (o) => kr(`/api/1/organizations/${o}/`, { baseURL: r.apiBase })
118423
+ fetchById: (o) => fn(`/api/1/organizations/${o}/`, { baseURL: r.apiBase })
118435
118424
  });
118436
118425
  async function a(o) {
118437
- return await kr("/api/1/organizations/suggest/", {
118426
+ return await fn("/api/1/organizations/suggest/", {
118438
118427
  baseURL: r.apiBase,
118439
118428
  query: {
118440
118429
  q: o,
@@ -118511,7 +118500,7 @@ const qJ1 = ["for", "title"], jJ1 = {
118511
118500
  const t = Dt(e, "modelValue"), i = Dt(e, "id"), r = Ht(), { t: n } = K1();
118512
118501
  fe1({ model: t, id: i });
118513
118502
  async function s(a) {
118514
- return (await kr("/api/1/tags/suggest/", {
118503
+ return (await fn("/api/1/tags/suggest/", {
118515
118504
  baseURL: r.apiBase,
118516
118505
  query: { q: a, size: 20 }
118517
118506
  })).map((l) => l.text);
@@ -118619,7 +118608,7 @@ const qJ1 = ["for", "title"], jJ1 = {
118619
118608
  fetchById: async (o) => (await a(o)).find((c) => c.id === o) ?? null
118620
118609
  });
118621
118610
  async function a(o) {
118622
- return await kr("/api/1/spatial/zones/suggest/", {
118611
+ return await fn("/api/1/spatial/zones/suggest/", {
118623
118612
  baseURL: r.apiBase,
118624
118613
  query: { q: o, size: 20 }
118625
118614
  });
@@ -119116,7 +119105,7 @@ const qJ1 = ["for", "title"], jJ1 = {
119116
119105
  function mi() {
119117
119106
  Mi.value?.scrollIntoView({ behavior: "smooth" });
119118
119107
  }
119119
- function $r(X1) {
119108
+ function Pr(X1) {
119120
119109
  b.value = X1, mi();
119121
119110
  }
119122
119111
  return (X1, ue) => (T(), $("form", {
@@ -119407,7 +119396,7 @@ const qJ1 = ["for", "title"], jJ1 = {
119407
119396
  "page-size": uy,
119408
119397
  "total-results": c1.total,
119409
119398
  class: "mt-4",
119410
- onChange: $r
119399
+ onChange: Pr
119411
119400
  }, null, 8, ["page", "total-results"])) : i1("", !0)
119412
119401
  ])) : (T(), $("div", P1e, [
119413
119402
  Y1(X1.$slots, "no-results", {
@@ -120293,7 +120282,7 @@ const gee = {
120293
120282
  S.value = !0;
120294
120283
  const H1 = H.value;
120295
120284
  try {
120296
- const _1 = L.value + 1, m1 = { ...m.value, page: _1 }, pe = await kr(d.value, { params: m1 });
120285
+ const _1 = L.value + 1, m1 = { ...m.value, page: _1 }, pe = await fn(d.value, { params: m1 });
120297
120286
  if (H1 !== H.value) return;
120298
120287
  x.value = [...x.value, ...pe.data], L.value = _1, V.value = x.value.length < v.value.meta.total;
120299
120288
  } finally {
@@ -120417,7 +120406,7 @@ const gee = {
120417
120406
  function mi(H1) {
120418
120407
  return Mi[ee(H1)];
120419
120408
  }
120420
- const $r = [
120409
+ const Pr = [
120421
120410
  { bg: "#E6EEFE", text: "#3558A2" },
120422
120411
  // blue-cumulus
120423
120412
  { bg: "#E8E3DB", text: "#6A6156" },
@@ -120443,7 +120432,7 @@ const gee = {
120443
120432
  if (!_1) return H1;
120444
120433
  for (const m1 of _1.categorical)
120445
120434
  gt(m1).forEach((pe, Ze) => {
120446
- H1.set(`${m1}::${pe.value}`, $r[Ze % $r.length]);
120435
+ H1.set(`${m1}::${pe.value}`, Pr[Ze % Pr.length]);
120447
120436
  });
120448
120437
  return H1;
120449
120438
  });
@@ -120999,28 +120988,28 @@ async function i2e(e, t) {
120999
120988
  downloadsTotal: c
121000
120989
  };
121001
120990
  }
121002
- async function r2e(e, t, i) {
121003
- let r = `dataset_title,dataset_id,month,monthly_visit,monthly_download_resource
120991
+ async function r2e(e, t, i, r) {
120992
+ let n = `dataset_title,dataset_id,month,monthly_visit,monthly_download_resource
121004
120993
  `;
121005
- const n = {};
121006
- let s = `/api/2/datasets/?organization=${e}&page_size=200`;
121007
- for (; s; ) {
121008
- const o = await kr(s, { baseURL: i, credentials: "include" });
121009
- s = o.next_page;
121010
- for (const l of o.data)
121011
- n[l.id] = { title: l.title };
121012
- }
121013
- let a = `${t}/api/datasets/data/?organization_id__exact=${e}&metric_month__sort=desc&page_size=50`;
120994
+ const s = {};
120995
+ let a = `/api/2/datasets/?organization=${e}&page_size=200`;
121014
120996
  for (; a; ) {
121015
- const o = await kr(a);
121016
- a = o.links.next;
121017
- for (const l of o.data) {
121018
- const c = n[l.dataset_id]?.title || "";
121019
- r += `${yC(c)},${yC(l.dataset_id)},${yC(l.metric_month)},${l.monthly_visit},${l.monthly_download_resource}
120997
+ const l = await r(a, { baseURL: i });
120998
+ a = l.next_page;
120999
+ for (const c of l.data)
121000
+ s[c.id] = { title: c.title };
121001
+ }
121002
+ let o = `${t}/api/datasets/data/?organization_id__exact=${e}&metric_month__sort=desc&page_size=50`;
121003
+ for (; o; ) {
121004
+ const l = await fn(o);
121005
+ o = l.links.next;
121006
+ for (const c of l.data) {
121007
+ const h = s[c.dataset_id]?.title || "";
121008
+ n += `${yC(h)},${yC(c.dataset_id)},${yC(c.metric_month)},${c.monthly_visit},${c.monthly_download_resource}
121020
121009
  `;
121021
121010
  }
121022
121011
  }
121023
- return URL.createObjectURL(new Blob([r], { type: "text/csv" }));
121012
+ return URL.createObjectURL(new Blob([n], { type: "text/csv" }));
121024
121013
  }
121025
121014
  async function n2e(e, t) {
121026
121015
  const r = await (await fetch(`${t}/api/dataservices/data/?dataservice_id__exact=${e}&metric_month__sort=desc&page_size=12`)).json(), n = {};
@@ -121053,7 +121042,7 @@ function rie() {
121053
121042
  getDatasetMetrics: (t) => i2e(t, e.metricsApiUrl),
121054
121043
  getDataserviceMetrics: (t) => n2e(t, e.metricsApiUrl),
121055
121044
  getReuseMetrics: (t) => s2e(t, e.metricsApiUrl),
121056
- createDatasetsForOrganizationMetricsUrl: (t) => r2e(t, e.metricsApiUrl, e.apiBase)
121045
+ createDatasetsForOrganizationMetricsUrl: (t) => r2e(t, e.metricsApiUrl, e.apiBase, e.$fetch)
121057
121046
  };
121058
121047
  }
121059
121048
  function nie(e) {
@@ -121142,7 +121131,17 @@ function lie(e) {
121142
121131
  }
121143
121132
  const uie = {
121144
121133
  async install(e, t) {
121145
- if (e.provide(nF, t), !t.textClamp) {
121134
+ if (t.$fetch || (t.$fetch = fn.create({
121135
+ baseURL: t.apiBase,
121136
+ onRequest(i) {
121137
+ t.onRequest && (Array.isArray(t.onRequest) ? t.onRequest.forEach((n) => n(i)) : t.onRequest(i)), i.options.headers.set("Content-Type", "application/json"), i.options.headers.set("Accept", "application/json"), t.devApiKey && i.options.headers.set("X-API-KEY", t.devApiKey);
121138
+ const { locale: r } = K1();
121139
+ r && (i.options.params ??= {}, i.options.params.lang = r);
121140
+ },
121141
+ onRequestError: t.onRequestError,
121142
+ onResponse: t.onResponse,
121143
+ onResponseError: t.onResponseError
121144
+ })), e.provide(nF, t), !t.textClamp) {
121146
121145
  const i = await import("./text-clamp.esm-B5kW_XMt.js");
121147
121146
  t.textClamp = i.default;
121148
121147
  }
@@ -121306,7 +121305,7 @@ export {
121306
121305
  V3 as by,
121307
121306
  XG as bz,
121308
121307
  sf as c,
121309
- Ir as d,
121308
+ kr as d,
121310
121309
  f2e as e,
121311
121310
  dF as f,
121312
121311
  nH as g,