@asgard-js/react 0.2.42-canary.1 → 0.2.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -761,8 +761,8 @@ function sI(e) {
761
761
  } = e, v = yt(null), x = yt(null), [E, w] = we(null), [k, S] = we(!0), A = oe((Le) => {
762
762
  S(Le);
763
763
  }, []), T = oe((Le) => {
764
- const Ut = x.current;
765
- Ut && Ut.scrollTo({ top: Ut.scrollHeight, behavior: Le });
764
+ const Dt = x.current;
765
+ Dt && Dt.scrollTo({ top: Dt.scrollHeight, behavior: Le });
766
766
  }, []), F = oe(
767
767
  (Le = "smooth") => {
768
768
  T(Le), S(!0);
@@ -795,19 +795,19 @@ function sI(e) {
795
795
  }), fe = xe(() => {
796
796
  if (O)
797
797
  return async (Le) => {
798
- const Ut = m ? m(Le) : Le;
798
+ const Dt = m ? m(Le) : Le;
799
799
  try {
800
- const En = await O(Ut);
801
- return y?.(), En;
800
+ const Jt = await O(Dt);
801
+ return y?.(), Jt;
802
802
  } catch {
803
803
  return;
804
804
  }
805
805
  };
806
806
  }, [O, m, y]), Be = xe(() => {
807
807
  if (re)
808
- return async (Le) => {
809
- const Ut = m ? m({ text: "", payload: void 0 }) : void 0;
810
- return re(Le, Ut?.payload);
808
+ return async (Le, Dt) => {
809
+ const Jt = m ? m({ text: "", payload: Dt }) : { payload: Dt };
810
+ return re(Le, Jt.payload);
811
811
  };
812
812
  }, [re, m]), pe = xe(
813
813
  () => ({
@@ -1124,7 +1124,7 @@ const AI = "_chatbot_body_wrapper_13zns_1", MI = "_chatbot_body_13zns_1", TI = "
1124
1124
  "template_box--user": "_template_box--user_rjm7y_14",
1125
1125
  "template_box--empty": "_template_box--empty_rjm7y_18"
1126
1126
  };
1127
- function mn(e) {
1127
+ function yn(e) {
1128
1128
  const { type: t, children: n, style: r, className: i } = e, o = e.type === "bot" ? e.direction : "horizontal", s = e.type === "bot" ? e.isEmpty : !1, a = xe(() => t === "user" ? ke(Gs.template_box, Gs["template_box--user"]) : ke(
1129
1129
  Gs.template_box,
1130
1130
  Gs["template_box--bot"],
@@ -1339,7 +1339,7 @@ function cT(e) {
1339
1339
  }
1340
1340
  function uP(e) {
1341
1341
  const { message: t } = e, { template: n } = St(), { avatar: r } = Ft(), i = t.message.template;
1342
- return /* @__PURE__ */ U(mn, { className: "asgard-button-template", type: "bot", direction: "horizontal", children: [
1342
+ return /* @__PURE__ */ U(yn, { className: "asgard-button-template", type: "bot", direction: "horizontal", children: [
1343
1343
  /* @__PURE__ */ C(gr, { avatar: r }),
1344
1344
  /* @__PURE__ */ C(
1345
1345
  pr,
@@ -1517,7 +1517,7 @@ function ok(e) {
1517
1517
  if (t.type === "error") return null;
1518
1518
  if (t.type === "user")
1519
1519
  return /* @__PURE__ */ U(
1520
- mn,
1520
+ yn,
1521
1521
  {
1522
1522
  className: "asgard-text-template asgard-text-template--user",
1523
1523
  type: "user",
@@ -1531,7 +1531,7 @@ function ok(e) {
1531
1531
  );
1532
1532
  const u = t.type === "bot" ? t : void 0, c = o.trim() !== "", f = u?.message.template?.references, d = u?.message.template?.quickReplies, h = !!f?.length, p = !!d?.length, g = !c;
1533
1533
  return g && !h && !p ? null : g ? /* @__PURE__ */ U(
1534
- mn,
1534
+ yn,
1535
1535
  {
1536
1536
  className: ke("asgard-text-template", "asgard-text-template--bot", "asgard-text-template--empty"),
1537
1537
  type: "bot",
@@ -1553,7 +1553,7 @@ function ok(e) {
1553
1553
  ]
1554
1554
  }
1555
1555
  ) : /* @__PURE__ */ U(
1556
- mn,
1556
+ yn,
1557
1557
  {
1558
1558
  className: "asgard-text-template asgard-text-template--bot",
1559
1559
  type: "bot",
@@ -1588,7 +1588,7 @@ function LT(e) {
1588
1588
  }),
1589
1589
  [i]
1590
1590
  );
1591
- return o ? /* @__PURE__ */ U(mn, { className: "asgard-text-template asgard-text-template--bot", type: "bot", direction: "horizontal", children: [
1591
+ return o ? /* @__PURE__ */ U(yn, { className: "asgard-text-template asgard-text-template--bot", type: "bot", direction: "horizontal", children: [
1592
1592
  /* @__PURE__ */ C(gr, { avatar: r }),
1593
1593
  /* @__PURE__ */ C(pr, { time: /* @__PURE__ */ new Date(), children: /* @__PURE__ */ C("div", { className: ke(Si.text, Si["text--bot"]), style: s, children: /* @__PURE__ */ U("span", { children: [
1594
1594
  n ? /* @__PURE__ */ C(OT, { children: n }) : null,
@@ -1614,7 +1614,7 @@ const zP = "_carousel_root_v06v3_1", BP = "_carousel_time_v06v3_13", sk = {
1614
1614
  function UP(e) {
1615
1615
  const { message: t } = e, { template: n } = St(), { avatar: r } = Ft(), i = t.message.template;
1616
1616
  return /* @__PURE__ */ U(
1617
- mn,
1617
+ yn,
1618
1618
  {
1619
1619
  className: "asgard-carousel-template",
1620
1620
  type: "bot",
@@ -1745,7 +1745,7 @@ function er(e, t, n) {
1745
1745
  function _t(e) {
1746
1746
  return e == null ? null : e.fname;
1747
1747
  }
1748
- function yn(e) {
1748
+ function _n(e) {
1749
1749
  return e == null ? null : e.fields;
1750
1750
  }
1751
1751
  function IT(e) {
@@ -1787,7 +1787,7 @@ function Nr(e, t, n) {
1787
1787
  const r = Vi(e);
1788
1788
  return e = r.length === 1 ? r[0] : e, er((n && n.get || IT)(r), [e], t || e);
1789
1789
  }
1790
- const rd = Nr("id"), xn = er((e) => e, [], "identity"), es = er(() => 0, [], "zero"), Iu = er(() => 1, [], "one"), Fr = er(() => !0, [], "true"), Go = er(() => !1, [], "false"), bv = /* @__PURE__ */ new Set([...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function"), "__proto__"]);
1790
+ const rd = Nr("id"), wn = er((e) => e, [], "identity"), es = er(() => 0, [], "zero"), Iu = er(() => 1, [], "one"), Fr = er(() => !0, [], "true"), Go = er(() => !1, [], "false"), bv = /* @__PURE__ */ new Set([...Object.getOwnPropertyNames(Object.prototype).filter((e) => typeof Object.prototype[e] == "function"), "__proto__"]);
1791
1791
  function KP(e, t, n) {
1792
1792
  const r = [t].concat([].slice.call(n));
1793
1793
  console[e].apply(console, r);
@@ -1853,7 +1853,7 @@ function ZP(e, t) {
1853
1853
  function ze(e) {
1854
1854
  return e[e.length - 1];
1855
1855
  }
1856
- function pn(e) {
1856
+ function gn(e) {
1857
1857
  return e == null || e === "" ? null : +e;
1858
1858
  }
1859
1859
  const UT = (e) => (t) => e * Math.exp(t), jT = (e) => (t) => Math.log(e * t), qT = (e) => (t) => Math.sign(t) * Math.log1p(Math.abs(t / e)), WT = (e) => (t) => Math.sign(t) * Math.expm1(Math.abs(t)) * e, mp = (e) => (t) => t < 0 ? -Math.pow(-t, e) : Math.pow(t, e);
@@ -1862,7 +1862,7 @@ function Jg(e, t, n, r) {
1862
1862
  return [r(i - s), r(o - s)];
1863
1863
  }
1864
1864
  function HT(e, t) {
1865
- return Jg(e, t, pn, xn);
1865
+ return Jg(e, t, gn, wn);
1866
1866
  }
1867
1867
  function GT(e, t) {
1868
1868
  var n = Math.sign(e[0]);
@@ -1879,7 +1879,7 @@ function Qg(e, t, n, r, i) {
1879
1879
  return [i(a + (o - a) * n), i(a + (s - a) * n)];
1880
1880
  }
1881
1881
  function wv(e, t, n) {
1882
- return Qg(e, t, n, pn, xn);
1882
+ return Qg(e, t, n, gn, wn);
1883
1883
  }
1884
1884
  function Ev(e, t, n) {
1885
1885
  const r = Math.sign(e[0]);
@@ -1912,7 +1912,7 @@ function kv(e, t, n) {
1912
1912
  n = n || {}, t = ee(t) || [];
1913
1913
  const r = [], i = [], o = {}, s = n.comparator || QP;
1914
1914
  return ee(e).forEach((a, l) => {
1915
- a != null && (r.push(t[l] === JP ? -1 : 1), i.push(a = Ee(a) ? a : Nr(a, null, n)), (yn(a) || []).forEach((u) => o[u] = 1));
1915
+ a != null && (r.push(t[l] === JP ? -1 : 1), i.push(a = Ee(a) ? a : Nr(a, null, n)), (_n(a) || []).forEach((u) => o[u] = 1));
1916
1916
  }), i.length === 0 ? null : er(s(i, r), Object.keys(o));
1917
1917
  }
1918
1918
  const Bu = (e, t) => (e < t || e == null) && t != null ? -1 : (e > t || t == null) && e != null ? 1 : (t = t instanceof Date ? +t : t, (e = e instanceof Date ? +e : e) !== e && t === t ? -1 : t !== t && e === e ? 1 : 0), QP = (e, t) => e.length === 1 ? ez(e[0], t[0]) : tz(e, t, e.length), ez = (e, t) => function(n, r) {
@@ -1923,7 +1923,7 @@ const Bu = (e, t) => (e < t || e == null) && t != null ? -1 : (e > t || t == nul
1923
1923
  o = e[a], s = Bu(o(r), o(i));
1924
1924
  return s * t[a];
1925
1925
  });
1926
- function wn(e) {
1926
+ function En(e) {
1927
1927
  return Ee(e) ? e : () => e;
1928
1928
  }
1929
1929
  function Sv(e, t) {
@@ -2901,7 +2901,7 @@ function w5(e, t) {
2901
2901
  return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, Ql(t) - Ql(e)) + 1;
2902
2902
  }
2903
2903
  const u1 = /* @__PURE__ */ new Date(), c1 = /* @__PURE__ */ new Date();
2904
- function zt(e, t, n, r) {
2904
+ function Bt(e, t, n, r) {
2905
2905
  function i(o) {
2906
2906
  return e(o = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+o)), o;
2907
2907
  }
@@ -2916,7 +2916,7 @@ function zt(e, t, n, r) {
2916
2916
  l.push(u = /* @__PURE__ */ new Date(+o)), t(o, a), e(o);
2917
2917
  while (u < o && o < s);
2918
2918
  return l;
2919
- }, i.filter = (o) => zt((s) => {
2919
+ }, i.filter = (o) => Bt((s) => {
2920
2920
  if (s >= s) for (; e(s), !o(s); ) s.setTime(s - 1);
2921
2921
  }, (s, a) => {
2922
2922
  if (s >= s)
@@ -2928,67 +2928,67 @@ function zt(e, t, n, r) {
2928
2928
  ;
2929
2929
  }), n && (i.count = (o, s) => (u1.setTime(+o), c1.setTime(+s), e(u1), e(c1), Math.floor(n(u1, c1))), i.every = (o) => (o = Math.floor(o), !isFinite(o) || !(o > 0) ? null : o > 1 ? i.filter(r ? (s) => r(s) % o === 0 : (s) => i.count(0, s) % o === 0) : i)), i;
2930
2930
  }
2931
- const eu = zt(() => {
2931
+ const eu = Bt(() => {
2932
2932
  }, (e, t) => {
2933
2933
  e.setTime(+e + t);
2934
2934
  }, (e, t) => t - e);
2935
- eu.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? zt((t) => {
2935
+ eu.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? Bt((t) => {
2936
2936
  t.setTime(Math.floor(t / e) * e);
2937
2937
  }, (t, n) => {
2938
2938
  t.setTime(+t + n * e);
2939
2939
  }, (t, n) => (n - t) / e) : eu);
2940
2940
  eu.range;
2941
- const mo = 1e3, kr = mo * 60, yo = kr * 60, To = yo * 24, Rv = To * 7, _k = To * 30, f1 = To * 365, _o = zt((e) => {
2941
+ const mo = 1e3, kr = mo * 60, yo = kr * 60, To = yo * 24, Rv = To * 7, _k = To * 30, f1 = To * 365, _o = Bt((e) => {
2942
2942
  e.setTime(e - e.getMilliseconds());
2943
2943
  }, (e, t) => {
2944
2944
  e.setTime(+e + t * mo);
2945
2945
  }, (e, t) => (t - e) / mo, (e) => e.getUTCSeconds());
2946
2946
  _o.range;
2947
- const tm = zt((e) => {
2947
+ const tm = Bt((e) => {
2948
2948
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * mo);
2949
2949
  }, (e, t) => {
2950
2950
  e.setTime(+e + t * kr);
2951
2951
  }, (e, t) => (t - e) / kr, (e) => e.getMinutes());
2952
2952
  tm.range;
2953
- const nm = zt((e) => {
2953
+ const nm = Bt((e) => {
2954
2954
  e.setUTCSeconds(0, 0);
2955
2955
  }, (e, t) => {
2956
2956
  e.setTime(+e + t * kr);
2957
2957
  }, (e, t) => (t - e) / kr, (e) => e.getUTCMinutes());
2958
2958
  nm.range;
2959
- const rm = zt((e) => {
2959
+ const rm = Bt((e) => {
2960
2960
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * mo - e.getMinutes() * kr);
2961
2961
  }, (e, t) => {
2962
2962
  e.setTime(+e + t * yo);
2963
2963
  }, (e, t) => (t - e) / yo, (e) => e.getHours());
2964
2964
  rm.range;
2965
- const im = zt((e) => {
2965
+ const im = Bt((e) => {
2966
2966
  e.setUTCMinutes(0, 0, 0);
2967
2967
  }, (e, t) => {
2968
2968
  e.setTime(+e + t * yo);
2969
2969
  }, (e, t) => (t - e) / yo, (e) => e.getUTCHours());
2970
2970
  im.range;
2971
- const Eo = zt(
2971
+ const Eo = Bt(
2972
2972
  (e) => e.setHours(0, 0, 0, 0),
2973
2973
  (e, t) => e.setDate(e.getDate() + t),
2974
2974
  (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * kr) / To,
2975
2975
  (e) => e.getDate() - 1
2976
2976
  );
2977
2977
  Eo.range;
2978
- const fs = zt((e) => {
2978
+ const fs = Bt((e) => {
2979
2979
  e.setUTCHours(0, 0, 0, 0);
2980
2980
  }, (e, t) => {
2981
2981
  e.setUTCDate(e.getUTCDate() + t);
2982
2982
  }, (e, t) => (t - e) / To, (e) => e.getUTCDate() - 1);
2983
2983
  fs.range;
2984
- const E5 = zt((e) => {
2984
+ const E5 = Bt((e) => {
2985
2985
  e.setUTCHours(0, 0, 0, 0);
2986
2986
  }, (e, t) => {
2987
2987
  e.setUTCDate(e.getUTCDate() + t);
2988
2988
  }, (e, t) => (t - e) / To, (e) => Math.floor(e / To));
2989
2989
  E5.range;
2990
2990
  function tl(e) {
2991
- return zt((t) => {
2991
+ return Bt((t) => {
2992
2992
  t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
2993
2993
  }, (t, n) => {
2994
2994
  t.setDate(t.getDate() + n * 7);
@@ -3003,7 +3003,7 @@ tu.range;
3003
3003
  Uz.range;
3004
3004
  jz.range;
3005
3005
  function nl(e) {
3006
- return zt((t) => {
3006
+ return Bt((t) => {
3007
3007
  t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
3008
3008
  }, (t, n) => {
3009
3009
  t.setUTCDate(t.getUTCDate() + n * 7);
@@ -3017,35 +3017,35 @@ Wz.range;
3017
3017
  nu.range;
3018
3018
  Hz.range;
3019
3019
  Gz.range;
3020
- const kf = zt((e) => {
3020
+ const kf = Bt((e) => {
3021
3021
  e.setDate(1), e.setHours(0, 0, 0, 0);
3022
3022
  }, (e, t) => {
3023
3023
  e.setMonth(e.getMonth() + t);
3024
3024
  }, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
3025
3025
  kf.range;
3026
- const Sf = zt((e) => {
3026
+ const Sf = Bt((e) => {
3027
3027
  e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
3028
3028
  }, (e, t) => {
3029
3029
  e.setUTCMonth(e.getUTCMonth() + t);
3030
3030
  }, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
3031
3031
  Sf.range;
3032
- const zi = zt((e) => {
3032
+ const zi = Bt((e) => {
3033
3033
  e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
3034
3034
  }, (e, t) => {
3035
3035
  e.setFullYear(e.getFullYear() + t);
3036
3036
  }, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
3037
- zi.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : zt((t) => {
3037
+ zi.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Bt((t) => {
3038
3038
  t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
3039
3039
  }, (t, n) => {
3040
3040
  t.setFullYear(t.getFullYear() + n * e);
3041
3041
  });
3042
3042
  zi.range;
3043
- const Bi = zt((e) => {
3043
+ const Bi = Bt((e) => {
3044
3044
  e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
3045
3045
  }, (e, t) => {
3046
3046
  e.setUTCFullYear(e.getUTCFullYear() + t);
3047
3047
  }, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
3048
- Bi.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : zt((t) => {
3048
+ Bi.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Bt((t) => {
3049
3049
  t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
3050
3050
  }, (t, n) => {
3051
3051
  t.setUTCFullYear(t.getUTCFullYear() + n * e);
@@ -3087,27 +3087,27 @@ function C5(e, t, n, r, i, o) {
3087
3087
  }
3088
3088
  return [a, l];
3089
3089
  }
3090
- const [Vz, Yz] = C5(Bi, Sf, Wu, E5, im, nm), [Xz, Kz] = C5(zi, kf, qu, Eo, rm, tm), on = "year", Yn = "quarter", _n = "month", Lt = "week", Xn = "date", hn = "day", Ui = "dayofyear", mr = "hours", yr = "minutes", Dr = "seconds", oi = "milliseconds", Ov = [on, Yn, _n, Lt, Xn, hn, Ui, mr, yr, Dr, oi], d1 = Ov.reduce((e, t, n) => (e[t] = 1 + n, e), {});
3090
+ const [Vz, Yz] = C5(Bi, Sf, Wu, E5, im, nm), [Xz, Kz] = C5(zi, kf, qu, Eo, rm, tm), sn = "year", Yn = "quarter", bn = "month", It = "week", Xn = "date", pn = "day", Ui = "dayofyear", mr = "hours", yr = "minutes", Dr = "seconds", oi = "milliseconds", Ov = [sn, Yn, bn, It, Xn, pn, Ui, mr, yr, Dr, oi], d1 = Ov.reduce((e, t, n) => (e[t] = 1 + n, e), {});
3091
3091
  function Lv(e) {
3092
3092
  const t = ee(e).slice(), n = {};
3093
3093
  return t.length || I("Missing time unit."), t.forEach((i) => {
3094
3094
  ne(d1, i) ? n[i] = 1 : I(`Invalid time unit: ${i}.`);
3095
- }), (n[Lt] || n[hn] ? 1 : 0) + (n[Yn] || n[_n] || n[Xn] ? 1 : 0) + (n[Ui] ? 1 : 0) > 1 && I(`Incompatible time units: ${e}`), t.sort((i, o) => d1[i] - d1[o]), t;
3095
+ }), (n[It] || n[pn] ? 1 : 0) + (n[Yn] || n[bn] || n[Xn] ? 1 : 0) + (n[Ui] ? 1 : 0) > 1 && I(`Incompatible time units: ${e}`), t.sort((i, o) => d1[i] - d1[o]), t;
3096
3096
  }
3097
3097
  const Zz = {
3098
- [on]: "%Y ",
3098
+ [sn]: "%Y ",
3099
3099
  [Yn]: "Q%q ",
3100
- [_n]: "%b ",
3100
+ [bn]: "%b ",
3101
3101
  [Xn]: "%d ",
3102
- [Lt]: "W%U ",
3103
- [hn]: "%a ",
3102
+ [It]: "W%U ",
3103
+ [pn]: "%a ",
3104
3104
  [Ui]: "%j ",
3105
3105
  [mr]: "%H:00",
3106
3106
  [yr]: "00:%M",
3107
3107
  [Dr]: ":%S",
3108
3108
  [oi]: ".%L",
3109
- [`${on}-${_n}`]: "%Y-%m ",
3110
- [`${on}-${_n}-${Xn}`]: "%Y-%m-%d ",
3109
+ [`${sn}-${bn}`]: "%Y-%m ",
3110
+ [`${sn}-${bn}-${Xn}`]: "%Y-%m-%d ",
3111
3111
  [`${mr}-${yr}`]: "%H:%M"
3112
3112
  };
3113
3113
  function k5(e, t) {
@@ -3172,7 +3172,7 @@ function Qz(e, t, n, r, i, o, s) {
3172
3172
  return new Date(Date.UTC(e, t, n, r, i, o, s));
3173
3173
  }
3174
3174
  function F5(e, t, n, r, i) {
3175
- const o = t || 1, s = ze(e), a = (y, _, b) => (b = b || y, eB(n[b], r[b], y === s && o, _)), l = /* @__PURE__ */ new Date(), u = ii(e), c = u[on] ? a(on) : wn(2012), f = u[_n] ? a(_n) : u[Yn] ? a(Yn) : es, d = u[Lt] && u[hn] ? a(hn, 1, Lt + hn) : u[Lt] ? a(Lt, 1) : u[hn] ? a(hn, 1) : u[Xn] ? a(Xn, 1) : u[Ui] ? a(Ui, 1) : Iu, h = u[mr] ? a(mr) : es, p = u[yr] ? a(yr) : es, g = u[Dr] ? a(Dr) : es, m = u[oi] ? a(oi) : es;
3175
+ const o = t || 1, s = ze(e), a = (y, _, b) => (b = b || y, eB(n[b], r[b], y === s && o, _)), l = /* @__PURE__ */ new Date(), u = ii(e), c = u[sn] ? a(sn) : En(2012), f = u[bn] ? a(bn) : u[Yn] ? a(Yn) : es, d = u[It] && u[pn] ? a(pn, 1, It + pn) : u[It] ? a(It, 1) : u[pn] ? a(pn, 1) : u[Xn] ? a(Xn, 1) : u[Ui] ? a(Ui, 1) : Iu, h = u[mr] ? a(mr) : es, p = u[yr] ? a(yr) : es, g = u[Dr] ? a(Dr) : es, m = u[oi] ? a(oi) : es;
3176
3176
  return function(y) {
3177
3177
  l.setTime(+y);
3178
3178
  const _ = c(l);
@@ -3187,64 +3187,64 @@ function ru(e, t, n) {
3187
3187
  return t + e * 7 - (n + 6) % 7;
3188
3188
  }
3189
3189
  const tB = {
3190
- [on]: (e) => e.getFullYear(),
3190
+ [sn]: (e) => e.getFullYear(),
3191
3191
  [Yn]: (e) => Math.floor(e.getMonth() / 3),
3192
- [_n]: (e) => e.getMonth(),
3192
+ [bn]: (e) => e.getMonth(),
3193
3193
  [Xn]: (e) => e.getDate(),
3194
3194
  [mr]: (e) => e.getHours(),
3195
3195
  [yr]: (e) => e.getMinutes(),
3196
3196
  [Dr]: (e) => e.getSeconds(),
3197
3197
  [oi]: (e) => e.getMilliseconds(),
3198
3198
  [Ui]: (e) => A5(e),
3199
- [Lt]: (e) => r_(e),
3200
- [Lt + hn]: (e, t) => ru(r_(e), e.getDay(), i_(t)),
3201
- [hn]: (e, t) => ru(1, e.getDay(), i_(t))
3199
+ [It]: (e) => r_(e),
3200
+ [It + pn]: (e, t) => ru(r_(e), e.getDay(), i_(t)),
3201
+ [pn]: (e, t) => ru(1, e.getDay(), i_(t))
3202
3202
  }, nB = {
3203
3203
  [Yn]: (e) => 3 * e,
3204
- [Lt]: (e, t) => ru(e, 0, i_(t))
3204
+ [It]: (e, t) => ru(e, 0, i_(t))
3205
3205
  };
3206
3206
  function D5(e, t) {
3207
3207
  return F5(e, t || 1, tB, nB, Jz);
3208
3208
  }
3209
3209
  const rB = {
3210
- [on]: (e) => e.getUTCFullYear(),
3210
+ [sn]: (e) => e.getUTCFullYear(),
3211
3211
  [Yn]: (e) => Math.floor(e.getUTCMonth() / 3),
3212
- [_n]: (e) => e.getUTCMonth(),
3212
+ [bn]: (e) => e.getUTCMonth(),
3213
3213
  [Xn]: (e) => e.getUTCDate(),
3214
3214
  [mr]: (e) => e.getUTCHours(),
3215
3215
  [yr]: (e) => e.getUTCMinutes(),
3216
3216
  [Dr]: (e) => e.getUTCSeconds(),
3217
3217
  [oi]: (e) => e.getUTCMilliseconds(),
3218
3218
  [Ui]: (e) => N5(e),
3219
- [Lt]: (e) => o_(e),
3220
- [hn]: (e, t) => ru(1, e.getUTCDay(), s_(t)),
3221
- [Lt + hn]: (e, t) => ru(o_(e), e.getUTCDay(), s_(t))
3219
+ [It]: (e) => o_(e),
3220
+ [pn]: (e, t) => ru(1, e.getUTCDay(), s_(t)),
3221
+ [It + pn]: (e, t) => ru(o_(e), e.getUTCDay(), s_(t))
3222
3222
  }, iB = {
3223
3223
  [Yn]: (e) => 3 * e,
3224
- [Lt]: (e, t) => ru(e, 0, s_(t))
3224
+ [It]: (e, t) => ru(e, 0, s_(t))
3225
3225
  };
3226
3226
  function R5(e, t) {
3227
3227
  return F5(e, t || 1, rB, iB, Qz);
3228
3228
  }
3229
3229
  const oB = {
3230
- [on]: zi,
3230
+ [sn]: zi,
3231
3231
  [Yn]: kf.every(3),
3232
- [_n]: kf,
3233
- [Lt]: qu,
3232
+ [bn]: kf,
3233
+ [It]: qu,
3234
3234
  [Xn]: Eo,
3235
- [hn]: Eo,
3235
+ [pn]: Eo,
3236
3236
  [Ui]: Eo,
3237
3237
  [mr]: rm,
3238
3238
  [yr]: tm,
3239
3239
  [Dr]: _o,
3240
3240
  [oi]: eu
3241
3241
  }, sB = {
3242
- [on]: Bi,
3242
+ [sn]: Bi,
3243
3243
  [Yn]: Sf.every(3),
3244
- [_n]: Sf,
3245
- [Lt]: Wu,
3244
+ [bn]: Sf,
3245
+ [It]: Wu,
3246
3246
  [Xn]: fs,
3247
- [hn]: fs,
3247
+ [pn]: fs,
3248
3248
  [Ui]: fs,
3249
3249
  [mr]: im,
3250
3250
  [yr]: nm,
@@ -3275,7 +3275,7 @@ function z5(e, t, n, r) {
3275
3275
  function B5(e, t, n, r) {
3276
3276
  return P5(Gu(e), t, n, r);
3277
3277
  }
3278
- const jc = 1e3, qc = jc * 60, Wc = qc * 60, om = Wc * 24, aB = om * 7, bk = om * 30, a_ = om * 365, U5 = [on, _n, Xn, mr, yr, Dr, oi], Hc = U5.slice(0, -1), Gc = Hc.slice(0, -1), Vc = Gc.slice(0, -1), lB = Vc.slice(0, -1), uB = [on, Lt], vk = [on, _n], j5 = [on], yc = [[Hc, 1, jc], [Hc, 5, 5 * jc], [Hc, 15, 15 * jc], [Hc, 30, 30 * jc], [Gc, 1, qc], [Gc, 5, 5 * qc], [Gc, 15, 15 * qc], [Gc, 30, 30 * qc], [Vc, 1, Wc], [Vc, 3, 3 * Wc], [Vc, 6, 6 * Wc], [Vc, 12, 12 * Wc], [lB, 1, om], [uB, 1, aB], [vk, 1, bk], [vk, 3, 3 * bk], [j5, 1, a_]];
3278
+ const jc = 1e3, qc = jc * 60, Wc = qc * 60, om = Wc * 24, aB = om * 7, bk = om * 30, a_ = om * 365, U5 = [sn, bn, Xn, mr, yr, Dr, oi], Hc = U5.slice(0, -1), Gc = Hc.slice(0, -1), Vc = Gc.slice(0, -1), lB = Vc.slice(0, -1), uB = [sn, It], vk = [sn, bn], j5 = [sn], yc = [[Hc, 1, jc], [Hc, 5, 5 * jc], [Hc, 15, 15 * jc], [Hc, 30, 30 * jc], [Gc, 1, qc], [Gc, 5, 5 * qc], [Gc, 15, 15 * qc], [Gc, 30, 30 * qc], [Vc, 1, Wc], [Vc, 3, 3 * Wc], [Vc, 6, 6 * Wc], [Vc, 12, 12 * Wc], [lB, 1, om], [uB, 1, aB], [vk, 1, bk], [vk, 3, 3 * bk], [j5, 1, a_]];
3279
3279
  function q5(e) {
3280
3280
  const t = e.extent, n = e.maxbins || 40, r = Math.abs(id(t)) / n;
3281
3281
  let i = ju((a) => a[2]).right(yc, r), o, s;
@@ -3352,8 +3352,8 @@ function W5(e) {
3352
3352
  L: V5,
3353
3353
  m: KB,
3354
3354
  M: ZB,
3355
- p: Ut,
3356
- q: En,
3355
+ p: Dt,
3356
+ q: Jt,
3357
3357
  Q: Mk,
3358
3358
  s: Tk,
3359
3359
  S: JB,
@@ -3405,9 +3405,9 @@ function W5(e) {
3405
3405
  b.x = E(n, b), b.X = E(r, b), b.c = E(t, b), v.x = E(n, v), v.X = E(r, v), v.c = E(t, v);
3406
3406
  function E(te, ge) {
3407
3407
  return function(ye) {
3408
- var j = [], vt = -1, Ie = 0, ht = te.length, xt, Dt, jt;
3408
+ var j = [], vt = -1, Ie = 0, ht = te.length, xt, Rt, jt;
3409
3409
  for (ye instanceof Date || (ye = /* @__PURE__ */ new Date(+ye)); ++vt < ht; )
3410
- te.charCodeAt(vt) === 37 && (j.push(te.slice(Ie, vt)), (Dt = xk[xt = te.charAt(++vt)]) != null ? xt = te.charAt(++vt) : Dt = xt === "e" ? " " : "0", (jt = ge[xt]) && (xt = jt(ye, Dt)), j.push(xt), Ie = vt + 1);
3410
+ te.charCodeAt(vt) === 37 && (j.push(te.slice(Ie, vt)), (Rt = xk[xt = te.charAt(++vt)]) != null ? xt = te.charAt(++vt) : Rt = xt === "e" ? " " : "0", (jt = ge[xt]) && (xt = jt(ye, Rt)), j.push(xt), Ie = vt + 1);
3411
3411
  return j.push(te.slice(Ie, vt)), j.join("");
3412
3412
  };
3413
3413
  }
@@ -3425,10 +3425,10 @@ function W5(e) {
3425
3425
  };
3426
3426
  }
3427
3427
  function k(te, ge, ye, j) {
3428
- for (var vt = 0, Ie = ge.length, ht = ye.length, xt, Dt; vt < Ie; ) {
3428
+ for (var vt = 0, Ie = ge.length, ht = ye.length, xt, Rt; vt < Ie; ) {
3429
3429
  if (j >= ht) return -1;
3430
3430
  if (xt = ge.charCodeAt(vt++), xt === 37) {
3431
- if (xt = ge.charAt(vt++), Dt = x[xt in xk ? ge.charAt(vt++) : xt], !Dt || (j = Dt(te, ye, j)) < 0) return -1;
3431
+ if (xt = ge.charAt(vt++), Rt = x[xt in xk ? ge.charAt(vt++) : xt], !Rt || (j = Rt(te, ye, j)) < 0) return -1;
3432
3432
  } else if (xt != ye.charCodeAt(j++))
3433
3433
  return -1;
3434
3434
  }
@@ -3493,10 +3493,10 @@ function W5(e) {
3493
3493
  function Le(te) {
3494
3494
  return a[te.getUTCMonth()];
3495
3495
  }
3496
- function Ut(te) {
3496
+ function Dt(te) {
3497
3497
  return i[+(te.getUTCHours() >= 12)];
3498
3498
  }
3499
- function En(te) {
3499
+ function Jt(te) {
3500
3500
  return 1 + ~~(te.getUTCMonth() / 3);
3501
3501
  }
3502
3502
  return {
@@ -3860,7 +3860,7 @@ function Cp(e) {
3860
3860
  }
3861
3861
  function Nk(e, t, n) {
3862
3862
  n = n || {}, J(n) || I(`Invalid time multi-format specifier: ${n}`);
3863
- const r = t(Dr), i = t(yr), o = t(mr), s = t(Xn), a = t(Lt), l = t(_n), u = t(Yn), c = t(on), f = e(n[oi] || ".%L"), d = e(n[Dr] || ":%S"), h = e(n[yr] || "%I:%M"), p = e(n[mr] || "%I %p"), g = e(n[Xn] || n[hn] || "%a %d"), m = e(n[Lt] || "%b %d"), y = e(n[_n] || "%B"), _ = e(n[Yn] || "%B"), b = e(n[on] || "%Y");
3863
+ const r = t(Dr), i = t(yr), o = t(mr), s = t(Xn), a = t(It), l = t(bn), u = t(Yn), c = t(sn), f = e(n[oi] || ".%L"), d = e(n[Dr] || ":%S"), h = e(n[yr] || "%I:%M"), p = e(n[mr] || "%I %p"), g = e(n[Xn] || n[pn] || "%a %d"), m = e(n[It] || "%b %d"), y = e(n[bn] || "%B"), _ = e(n[Yn] || "%B"), b = e(n[sn] || "%Y");
3864
3864
  return (v) => (r(v) < v ? f : i(v) < v ? d : o(v) < v ? h : s(v) < v ? p : l(v) < v ? a(v) < v ? g : m : c(v) < v ? u(v) < v ? y : _ : b)(v);
3865
3865
  }
3866
3866
  function eN(e) {
@@ -3940,11 +3940,11 @@ async function xU(e, t) {
3940
3940
  }
3941
3941
  const wU = (e) => e != null && e === e, EU = (e) => e === "true" || e === "false" || e === !0 || e === !1, CU = (e) => !Number.isNaN(Date.parse(e)), iN = (e) => !Number.isNaN(+e) && !(e instanceof Date), kU = (e) => iN(e) && Number.isInteger(+e), f_ = {
3942
3942
  boolean: Mv,
3943
- integer: pn,
3944
- number: pn,
3943
+ integer: gn,
3944
+ number: gn,
3945
3945
  date: Tv,
3946
3946
  string: Nv,
3947
- unknown: xn
3947
+ unknown: wn
3948
3948
  }, th = [EU, kU, iN, CU], SU = ["boolean", "integer", "number", "date"];
3949
3949
  function oN(e, t) {
3950
3950
  if (!e || !e.length) return "unknown";
@@ -3976,7 +3976,7 @@ function $U(e) {
3976
3976
  return typeof Buffer == "function" && Ee(Buffer.isBuffer) ? Buffer.isBuffer(e) : !1;
3977
3977
  }
3978
3978
  function jv(e, t) {
3979
- const n = t && t.property ? Nr(t.property) : xn;
3979
+ const n = t && t.property ? Nr(t.property) : wn;
3980
3980
  return J(e) && !$U(e) ? AU(n(e), t) : n(JSON.parse(e));
3981
3981
  }
3982
3982
  jv.responseType = "json";
@@ -4032,7 +4032,7 @@ function TU(e, t, n, r) {
4032
4032
  }
4033
4033
  const sm = mU();
4034
4034
  function am(e) {
4035
- const t = e || xn, n = [], r = {};
4035
+ const t = e || wn, n = [], r = {};
4036
4036
  return n.add = (i) => {
4037
4037
  const o = t(i);
4038
4038
  return r[o] || (r[o] = 1, n.push(i)), n;
@@ -4104,7 +4104,7 @@ function il() {
4104
4104
  modify(a, l, u) {
4105
4105
  const c = {
4106
4106
  field: l,
4107
- value: wn(u)
4107
+ value: En(u)
4108
4108
  };
4109
4109
  return Ee(a) ? (c.filter = a, i.push(c)) : (c.tuple = a, n.push(c)), this;
4110
4110
  },
@@ -4384,7 +4384,7 @@ function Vo(e, t, n) {
4384
4384
  }
4385
4385
  fm.prototype = {
4386
4386
  _filter: Fr,
4387
- _apply: xn,
4387
+ _apply: wn,
4388
4388
  targets() {
4389
4389
  return this._targets || (this._targets = am(rd));
4390
4390
  },
@@ -4503,7 +4503,7 @@ function VU(e, t, n, r, i) {
4503
4503
  function YU(e, t, n, r, i, o) {
4504
4504
  const s = Se({}, o, GU);
4505
4505
  let a, l;
4506
- Ee(n) || (n = wn(n)), r === void 0 ? a = (u) => e.touch(n(u)) : Ee(r) ? (l = new et(null, r, i, !1), a = (u) => {
4506
+ Ee(n) || (n = En(n)), r === void 0 ? a = (u) => e.touch(n(u)) : Ee(r) ? (l = new et(null, r, i, !1), a = (u) => {
4507
4507
  l.evaluate(u);
4508
4508
  const c = n(u), f = l.value;
4509
4509
  hN(f) ? e.pulse(c, f, o) : e.update(c, f, s);
@@ -4518,7 +4518,7 @@ function XU(e, t, n, r, i, o) {
4518
4518
  }
4519
4519
  }
4520
4520
  function KU(e, t) {
4521
- return t = Ee(t) ? t : wn(t), e ? function(n, r) {
4521
+ return t = Ee(t) ? t : En(t), e ? function(n, r) {
4522
4522
  const i = t(n, r);
4523
4523
  return e.skip() || (e.skip(i !== this.value).value = i), i;
4524
4524
  } : t;
@@ -5887,7 +5887,7 @@ function Dj(e) {
5887
5887
  return this._out.forEach((t) => e[t.out] = t.value(this)), e;
5888
5888
  }
5889
5889
  function RN(e, t) {
5890
- const n = t || xn, r = Mj(e), i = e.slice().sort(DN);
5890
+ const n = t || wn, r = Mj(e), i = e.slice().sort(DN);
5891
5891
  function o(s) {
5892
5892
  this._ops = r, this._out = i, this.cell = s, this.init();
5893
5893
  }
@@ -5896,17 +5896,17 @@ function RN(e, t) {
5896
5896
  function cx(e) {
5897
5897
  this._key = e ? Nr(e) : ue, this.reset();
5898
5898
  }
5899
- const an = cx.prototype;
5900
- an.reset = function() {
5899
+ const ln = cx.prototype;
5900
+ ln.reset = function() {
5901
5901
  this._add = [], this._rem = [], this._ext = null, this._get = null, this._q = null;
5902
5902
  };
5903
- an.add = function(e) {
5903
+ ln.add = function(e) {
5904
5904
  this._add.push(e);
5905
5905
  };
5906
- an.rem = function(e) {
5906
+ ln.rem = function(e) {
5907
5907
  this._rem.push(e);
5908
5908
  };
5909
- an.values = function() {
5909
+ ln.values = function() {
5910
5910
  if (this._get = null, this._rem.length === 0) return this._add;
5911
5911
  const e = this._add, t = this._rem, n = this._key, r = e.length, i = t.length, o = Array(r - i), s = {};
5912
5912
  let a, l, u;
@@ -5916,53 +5916,53 @@ an.values = function() {
5916
5916
  s[n(u = e[a])] ? s[n(u)] = 0 : o[l++] = u;
5917
5917
  return this._rem = [], this._add = o;
5918
5918
  };
5919
- an.distinct = function(e) {
5919
+ ln.distinct = function(e) {
5920
5920
  const t = this.values(), n = {};
5921
5921
  let r = t.length, i = 0, o;
5922
5922
  for (; --r >= 0; )
5923
5923
  o = e(t[r]) + "", ne(n, o) || (n[o] = 1, ++i);
5924
5924
  return i;
5925
5925
  };
5926
- an.extent = function(e) {
5926
+ ln.extent = function(e) {
5927
5927
  if (this._get !== e || !this._ext) {
5928
5928
  const t = this.values(), n = JT(t, e);
5929
5929
  this._ext = [t[n[0]], t[n[1]]], this._get = e;
5930
5930
  }
5931
5931
  return this._ext;
5932
5932
  };
5933
- an.argmin = function(e) {
5933
+ ln.argmin = function(e) {
5934
5934
  return this.extent(e)[0] || {};
5935
5935
  };
5936
- an.argmax = function(e) {
5936
+ ln.argmax = function(e) {
5937
5937
  return this.extent(e)[1] || {};
5938
5938
  };
5939
- an.min = function(e) {
5939
+ ln.min = function(e) {
5940
5940
  const t = this.extent(e)[0];
5941
5941
  return t != null ? e(t) : void 0;
5942
5942
  };
5943
- an.max = function(e) {
5943
+ ln.max = function(e) {
5944
5944
  const t = this.extent(e)[1];
5945
5945
  return t != null ? e(t) : void 0;
5946
5946
  };
5947
- an.quartile = function(e) {
5947
+ ln.quartile = function(e) {
5948
5948
  return (this._get !== e || !this._q) && (this._q = Yv(this.values(), e), this._get = e), this._q;
5949
5949
  };
5950
- an.q1 = function(e) {
5950
+ ln.q1 = function(e) {
5951
5951
  return this.quartile(e)[0];
5952
5952
  };
5953
- an.q2 = function(e) {
5953
+ ln.q2 = function(e) {
5954
5954
  return this.quartile(e)[1];
5955
5955
  };
5956
- an.q3 = function(e) {
5956
+ ln.q3 = function(e) {
5957
5957
  return this.quartile(e)[2];
5958
5958
  };
5959
- an.ci = function(e) {
5959
+ ln.ci = function(e) {
5960
5960
  return (this._get !== e || !this._ci) && (this._ci = vN(this.values(), 1e3, 0.05, e), this._get = e), this._ci;
5961
5961
  };
5962
- an.ci0 = function(e) {
5962
+ ln.ci0 = function(e) {
5963
5963
  return this.ci(e)[0];
5964
5964
  };
5965
- an.ci1 = function(e) {
5965
+ ln.ci1 = function(e) {
5966
5966
  return this.ci(e)[1];
5967
5967
  };
5968
5968
  function _s(e) {
@@ -6037,7 +6037,7 @@ X(_s, L, {
6037
6037
  init(e) {
6038
6038
  const t = this._inputs = [], n = this._outputs = [], r = {};
6039
6039
  function i(_) {
6040
- const b = ee(yn(_)), v = b.length;
6040
+ const b = ee(_n(_)), v = b.length;
6041
6041
  let x = 0, E;
6042
6042
  for (; x < v; ++x)
6043
6043
  r[E = b[x]] || (r[E] = 1, t.push(E));
@@ -6204,7 +6204,7 @@ X(fx, L, {
6204
6204
  transform(e, t) {
6205
6205
  const n = e.interval !== !1, r = this._bins(e), i = r.start, o = r.step, s = e.as || ["bin0", "bin1"], a = s[0], l = s[1];
6206
6206
  let u;
6207
- return e.modified() ? (t = t.reflow(!0), u = t.SOURCE) : u = t.modified(yn(e.field)) ? t.ADD_MOD : t.ADD, t.visit(u, n ? (c) => {
6207
+ return e.modified() ? (t = t.reflow(!0), u = t.SOURCE) : u = t.modified(_n(e.field)) ? t.ADD_MOD : t.ADD, t.visit(u, n ? (c) => {
6208
6208
  const f = r(c);
6209
6209
  c[a] = f, c[l] = f == null ? null : i + o * (1 + (f - i) / o);
6210
6210
  } : (c) => c[a] = r(c)), t.modifies(n ? s : a);
@@ -6216,10 +6216,10 @@ X(fx, L, {
6216
6216
  let i = n.start, o = i + Math.ceil((n.stop - i) / r) * r, s, a;
6217
6217
  (s = e.anchor) != null && (a = s - (i + r * Math.floor((s - i) / r)), i += a, o += a);
6218
6218
  const l = function(u) {
6219
- let c = pn(t(u));
6219
+ let c = gn(t(u));
6220
6220
  return c == null ? null : c < i ? -1 / 0 : c > o ? 1 / 0 : (c = Math.max(i, Math.min(c, o - r)), i + r * Math.floor(Rj + (c - i) / r));
6221
6221
  };
6222
- return l.start = i, l.stop = n.stop, l.step = r, this.value = er(l, yn(t), e.name || "bin_" + _t(t));
6222
+ return l.start = i, l.stop = n.stop, l.step = r, this.value = er(l, _n(t), e.name || "bin_" + _t(t));
6223
6223
  }
6224
6224
  });
6225
6225
  function ON(e, t, n) {
@@ -6547,7 +6547,7 @@ X(yx, L, {
6547
6547
  transform(e, t) {
6548
6548
  if (this.value && !(e.modified() || t.changed()))
6549
6549
  return t;
6550
- const n = t.materialize(t.SOURCE).source, r = mx(t.source, e.groupby, xn), i = e.smooth || !1, o = e.field, s = e.step || jj(n, o), a = rl((p, g) => o(p) - o(g)), l = e.as || BN, u = r.length;
6550
+ const n = t.materialize(t.SOURCE).source, r = mx(t.source, e.groupby, wn), i = e.smooth || !1, o = e.field, s = e.step || jj(n, o), a = rl((p, g) => o(p) - o(g)), l = e.as || BN, u = r.length;
6551
6551
  let c = 1 / 0, f = -1 / 0, d = 0, h;
6552
6552
  for (; d < u; ++d) {
6553
6553
  const p = r[d].sort(a);
@@ -6568,7 +6568,7 @@ function UN(e) {
6568
6568
  X(UN, et);
6569
6569
  function qj(e) {
6570
6570
  const t = e.expr;
6571
- return this.value && !e.modified("expr") ? this.value : er((n) => t(n, e), yn(t), _t(t));
6571
+ return this.value && !e.modified("expr") ? this.value : er((n) => t(n, e), _n(t), _t(t));
6572
6572
  }
6573
6573
  function _x(e) {
6574
6574
  L.call(this, [void 0, void 0], e);
@@ -6587,7 +6587,7 @@ X(_x, L, {
6587
6587
  const n = this.value, r = e.field, i = t.changed() || t.modified(r.fields) || e.modified("field");
6588
6588
  let o = n[0], s = n[1];
6589
6589
  if ((i || o == null) && (o = 1 / 0, s = -1 / 0), t.visit(i ? t.SOURCE : t.ADD, (a) => {
6590
- const l = pn(r(a));
6590
+ const l = gn(r(a));
6591
6591
  l != null && (l < o && (o = l), l > s && (s = l));
6592
6592
  }), !Number.isFinite(o) || !Number.isFinite(s)) {
6593
6593
  let a = _t(r);
@@ -7196,7 +7196,7 @@ X(Ax, _s, {
7196
7196
  }
7197
7197
  });
7198
7198
  function Qj(e, t) {
7199
- const n = e.field, r = e.value, i = (e.op === "count" ? "__count__" : e.op) || "sum", o = yn(n).concat(yn(r)), s = tq(n, e.limit || 0, t);
7199
+ const n = e.field, r = e.value, i = (e.op === "count" ? "__count__" : e.op) || "sum", o = _n(n).concat(_n(r)), s = tq(n, e.limit || 0, t);
7200
7200
  return t.changed() && e.set("__pivot__", null, null, !0), {
7201
7201
  key: e.key,
7202
7202
  groupby: e.groupby,
@@ -7222,7 +7222,7 @@ function XN(e) {
7222
7222
  X(XN, ym, {
7223
7223
  transform(e, t) {
7224
7224
  const n = e.subflow, r = e.field, i = (o) => this.subflow(ue(o), n, t, o);
7225
- return (e.modified("field") || r && t.modified(yn(r))) && I("PreFacet does not support field modification."), this.initTargets(), r ? (t.visit(t.MOD, (o) => {
7225
+ return (e.modified("field") || r && t.modified(_n(r))) && I("PreFacet does not support field modification."), this.initTargets(), r ? (t.visit(t.MOD, (o) => {
7226
7226
  const s = i(o);
7227
7227
  r(o).forEach((a) => s.mod(a));
7228
7228
  }), t.visit(t.ADD, (o) => {
@@ -7484,7 +7484,7 @@ X(Dx, L, {
7484
7484
  transform(e, t) {
7485
7485
  const n = e.field, r = e.interval !== !1, i = e.timezone === "utc", o = this._floor(e, t), s = (i ? Gu : Hu)(o.unit).offset, a = e.as || QN, l = a[0], u = a[1], c = o.step;
7486
7486
  let f = o.start || 1 / 0, d = o.stop || -1 / 0, h = t.ADD;
7487
- return (e.modified() || t.changed(t.REM) || t.modified(yn(n))) && (t = t.reflow(!0), h = t.SOURCE, f = 1 / 0, d = -1 / 0), t.visit(h, (p) => {
7487
+ return (e.modified() || t.changed(t.REM) || t.modified(_n(n))) && (t = t.reflow(!0), h = t.SOURCE, f = 1 / 0, d = -1 / 0), t.visit(h, (p) => {
7488
7488
  const g = n(p);
7489
7489
  let m, y;
7490
7490
  g == null ? (p[l] = null, r && (p[u] = null)) : (p[l] = m = y = o(g), r && (p[u] = y = s(m, c)), m < f && (f = m), y > d && (d = y));
@@ -7652,7 +7652,7 @@ function n6(e) {
7652
7652
  const t = ee(e.ops), n = ee(e.fields), r = ee(e.params), i = ee(e.aggregate_params), o = ee(e.as), s = this.outputs = [], a = this.windows = [], l = {}, u = {}, c = [], f = [];
7653
7653
  let d = !0;
7654
7654
  function h(p) {
7655
- ee(yn(p)).forEach((g) => l[g] = 1);
7655
+ ee(_n(p)).forEach((g) => l[g] = 1);
7656
7656
  }
7657
7657
  h(e.sort), t.forEach((p, g) => {
7658
7658
  const m = n[g], y = r[g], _ = i[g] || null, b = _t(m), v = NN(p, b, o[g]);
@@ -7792,7 +7792,7 @@ function lq(e, t, n, r) {
7792
7792
  p1: 0,
7793
7793
  index: 0,
7794
7794
  data: a,
7795
- compare: i || wn(-1)
7795
+ compare: i || En(-1)
7796
7796
  };
7797
7797
  t.init();
7798
7798
  for (let f = 0; f < l; ++f)
@@ -7853,7 +7853,7 @@ function Ve(e) {
7853
7853
  return e;
7854
7854
  };
7855
7855
  }
7856
- const Wk = Math.abs, ln = Math.atan2, Ys = Math.cos, dq = Math.max, _1 = Math.min, bi = Math.sin, pa = Math.sqrt, cn = 1e-12, ou = Math.PI, Sp = ou / 2, i6 = 2 * ou;
7856
+ const Wk = Math.abs, un = Math.atan2, Ys = Math.cos, dq = Math.max, _1 = Math.min, bi = Math.sin, pa = Math.sqrt, fn = 1e-12, ou = Math.PI, Sp = ou / 2, i6 = 2 * ou;
7857
7857
  function hq(e) {
7858
7858
  return e > 1 ? 0 : e < -1 ? ou : Math.acos(e);
7859
7859
  }
@@ -7956,7 +7956,7 @@ function vq(e) {
7956
7956
  }
7957
7957
  function xq(e, t, n, r, i, o, s, a) {
7958
7958
  var l = n - e, u = r - t, c = s - i, f = a - o, d = f * l - c * u;
7959
- if (!(d * d < cn))
7959
+ if (!(d * d < fn))
7960
7960
  return d = (c * (t - o) - f * (e - i)) / d, [e + d * l, t + d * u];
7961
7961
  }
7962
7962
  function ih(e, t, n, r, i, o, s) {
@@ -7974,26 +7974,26 @@ function wq() {
7974
7974
  var e = mq, t = yq, n = Ve(0), r = null, i = _q, o = bq, s = vq, a = null, l = bm(u);
7975
7975
  function u() {
7976
7976
  var c, f, d = +e.apply(this, arguments), h = +t.apply(this, arguments), p = i.apply(this, arguments) - Sp, g = o.apply(this, arguments) - Sp, m = Wk(g - p), y = g > p;
7977
- if (a || (a = c = l()), h < d && (f = h, h = d, d = f), !(h > cn)) a.moveTo(0, 0);
7978
- else if (m > i6 - cn)
7979
- a.moveTo(h * Ys(p), h * bi(p)), a.arc(0, 0, h, p, g, !y), d > cn && (a.moveTo(d * Ys(g), d * bi(g)), a.arc(0, 0, d, g, p, y));
7977
+ if (a || (a = c = l()), h < d && (f = h, h = d, d = f), !(h > fn)) a.moveTo(0, 0);
7978
+ else if (m > i6 - fn)
7979
+ a.moveTo(h * Ys(p), h * bi(p)), a.arc(0, 0, h, p, g, !y), d > fn && (a.moveTo(d * Ys(g), d * bi(g)), a.arc(0, 0, d, g, p, y));
7980
7980
  else {
7981
- var _ = p, b = g, v = p, x = g, E = m, w = m, k = s.apply(this, arguments) / 2, S = k > cn && (r ? +r.apply(this, arguments) : pa(d * d + h * h)), A = _1(Wk(h - d) / 2, +n.apply(this, arguments)), T = A, F = A, D, N;
7982
- if (S > cn) {
7981
+ var _ = p, b = g, v = p, x = g, E = m, w = m, k = s.apply(this, arguments) / 2, S = k > fn && (r ? +r.apply(this, arguments) : pa(d * d + h * h)), A = _1(Wk(h - d) / 2, +n.apply(this, arguments)), T = A, F = A, D, N;
7982
+ if (S > fn) {
7983
7983
  var $ = Hk(S / d * bi(k)), M = Hk(S / h * bi(k));
7984
- (E -= $ * 2) > cn ? ($ *= y ? 1 : -1, v += $, x -= $) : (E = 0, v = x = (p + g) / 2), (w -= M * 2) > cn ? (M *= y ? 1 : -1, _ += M, b -= M) : (w = 0, _ = b = (p + g) / 2);
7984
+ (E -= $ * 2) > fn ? ($ *= y ? 1 : -1, v += $, x -= $) : (E = 0, v = x = (p + g) / 2), (w -= M * 2) > fn ? (M *= y ? 1 : -1, _ += M, b -= M) : (w = 0, _ = b = (p + g) / 2);
7985
7985
  }
7986
7986
  var R = h * Ys(_), z = h * bi(_), O = d * Ys(x), V = d * bi(x);
7987
- if (A > cn) {
7987
+ if (A > fn) {
7988
7988
  var ae = h * Ys(b), re = h * bi(b), fe = d * Ys(v), Be = d * bi(v), pe;
7989
7989
  if (m < ou)
7990
7990
  if (pe = xq(R, z, fe, Be, ae, re, O, V)) {
7991
- var Le = R - pe[0], Ut = z - pe[1], En = ae - pe[0], te = re - pe[1], ge = 1 / bi(hq((Le * En + Ut * te) / (pa(Le * Le + Ut * Ut) * pa(En * En + te * te))) / 2), ye = pa(pe[0] * pe[0] + pe[1] * pe[1]);
7991
+ var Le = R - pe[0], Dt = z - pe[1], Jt = ae - pe[0], te = re - pe[1], ge = 1 / bi(hq((Le * Jt + Dt * te) / (pa(Le * Le + Dt * Dt) * pa(Jt * Jt + te * te))) / 2), ye = pa(pe[0] * pe[0] + pe[1] * pe[1]);
7992
7992
  T = _1(A, (d - ye) / (ge - 1)), F = _1(A, (h - ye) / (ge + 1));
7993
7993
  } else
7994
7994
  T = F = 0;
7995
7995
  }
7996
- w > cn ? F > cn ? (D = ih(fe, Be, R, z, h, F, y), N = ih(ae, re, O, V, h, F, y), a.moveTo(D.cx + D.x01, D.cy + D.y01), F < A ? a.arc(D.cx, D.cy, F, ln(D.y01, D.x01), ln(N.y01, N.x01), !y) : (a.arc(D.cx, D.cy, F, ln(D.y01, D.x01), ln(D.y11, D.x11), !y), a.arc(0, 0, h, ln(D.cy + D.y11, D.cx + D.x11), ln(N.cy + N.y11, N.cx + N.x11), !y), a.arc(N.cx, N.cy, F, ln(N.y11, N.x11), ln(N.y01, N.x01), !y))) : (a.moveTo(R, z), a.arc(0, 0, h, _, b, !y)) : a.moveTo(R, z), !(d > cn) || !(E > cn) ? a.lineTo(O, V) : T > cn ? (D = ih(O, V, ae, re, d, -T, y), N = ih(R, z, fe, Be, d, -T, y), a.lineTo(D.cx + D.x01, D.cy + D.y01), T < A ? a.arc(D.cx, D.cy, T, ln(D.y01, D.x01), ln(N.y01, N.x01), !y) : (a.arc(D.cx, D.cy, T, ln(D.y01, D.x01), ln(D.y11, D.x11), !y), a.arc(0, 0, d, ln(D.cy + D.y11, D.cx + D.x11), ln(N.cy + N.y11, N.cx + N.x11), y), a.arc(N.cx, N.cy, T, ln(N.y11, N.x11), ln(N.y01, N.x01), !y))) : a.arc(0, 0, d, x, v, y);
7996
+ w > fn ? F > fn ? (D = ih(fe, Be, R, z, h, F, y), N = ih(ae, re, O, V, h, F, y), a.moveTo(D.cx + D.x01, D.cy + D.y01), F < A ? a.arc(D.cx, D.cy, F, un(D.y01, D.x01), un(N.y01, N.x01), !y) : (a.arc(D.cx, D.cy, F, un(D.y01, D.x01), un(D.y11, D.x11), !y), a.arc(0, 0, h, un(D.cy + D.y11, D.cx + D.x11), un(N.cy + N.y11, N.cx + N.x11), !y), a.arc(N.cx, N.cy, F, un(N.y11, N.x11), un(N.y01, N.x01), !y))) : (a.moveTo(R, z), a.arc(0, 0, h, _, b, !y)) : a.moveTo(R, z), !(d > fn) || !(E > fn) ? a.lineTo(O, V) : T > fn ? (D = ih(O, V, ae, re, d, -T, y), N = ih(R, z, fe, Be, d, -T, y), a.lineTo(D.cx + D.x01, D.cy + D.y01), T < A ? a.arc(D.cx, D.cy, T, un(D.y01, D.x01), un(N.y01, N.x01), !y) : (a.arc(D.cx, D.cy, T, un(D.y01, D.x01), un(D.y11, D.x11), !y), a.arc(0, 0, d, un(D.cy + D.y11, D.cx + D.x11), un(N.cy + N.y11, N.cx + N.x11), y), a.arc(N.cx, N.cy, T, un(N.y11, N.x11), un(N.y01, N.x01), !y))) : a.arc(0, 0, d, x, v, y);
7997
7997
  }
7998
7998
  if (a.closePath(), c) return a = null, c + "" || null;
7999
7999
  }
@@ -8481,11 +8481,11 @@ const Nq = (function e(t) {
8481
8481
  })(0);
8482
8482
  function Bx(e, t, n) {
8483
8483
  var r = e._x1, i = e._y1, o = e._x2, s = e._y2;
8484
- if (e._l01_a > cn) {
8484
+ if (e._l01_a > fn) {
8485
8485
  var a = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, l = 3 * e._l01_a * (e._l01_a + e._l12_a);
8486
8486
  r = (r * a - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / l, i = (i * a - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / l;
8487
8487
  }
8488
- if (e._l23_a > cn) {
8488
+ if (e._l23_a > fn) {
8489
8489
  var u = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, c = 3 * e._l23_a * (e._l23_a + e._l12_a);
8490
8490
  o = (o * u + e._x1 * e._l23_2a - t * e._l12_2a) / c, s = (s * u + e._y1 * e._l23_2a - n * e._l12_2a) / c;
8491
8491
  }
@@ -10123,7 +10123,7 @@ function t2(e, t, n) {
10123
10123
  const r = e - t + n * 2;
10124
10124
  return e ? r > 0 ? r : 1 : 0;
10125
10125
  }
10126
- const nH = "identity", au = "linear", No = "log", fd = "pow", dd = "sqrt", Am = "symlog", Na = "time", Fa = "utc", Ri = "sequential", Xu = "diverging", lu = "quantile", Mm = "quantize", Tm = "threshold", n2 = "ordinal", w_ = "point", uF = "band", r2 = "bin-ordinal", Bt = "continuous", hd = "discrete", pd = "discretizing", Pr = "interpolating", i2 = "temporal";
10126
+ const nH = "identity", au = "linear", No = "log", fd = "pow", dd = "sqrt", Am = "symlog", Na = "time", Fa = "utc", Ri = "sequential", Xu = "diverging", lu = "quantile", Mm = "quantize", Tm = "threshold", n2 = "ordinal", w_ = "point", uF = "band", r2 = "bin-ordinal", Ut = "continuous", hd = "discrete", pd = "discretizing", Pr = "interpolating", i2 = "temporal";
10127
10127
  function rH(e) {
10128
10128
  return function(t) {
10129
10129
  let n = t[0], r = t[1], i;
@@ -10195,7 +10195,7 @@ function oH() {
10195
10195
  }
10196
10196
  var sH = Array.prototype.map;
10197
10197
  function aH(e) {
10198
- return sH.call(e, pn);
10198
+ return sH.call(e, gn);
10199
10199
  }
10200
10200
  const lH = Array.prototype.slice;
10201
10201
  function fF() {
@@ -10231,24 +10231,24 @@ function He(e, t, n) {
10231
10231
  return arguments.length > 1 ? (Op.set(e, uH(e, t, n)), this) : pF(e) ? Op.get(e) : void 0;
10232
10232
  }
10233
10233
  He(nH, Z6);
10234
- He(au, K6, Bt);
10235
- He(No, Q6, [Bt, No]);
10236
- He(fd, Kx, Bt);
10237
- He(dd, zW, Bt);
10238
- He(Am, eF, Bt);
10239
- He(Na, jW, [Bt, i2]);
10240
- He(Fa, qW, [Bt, i2]);
10241
- He(Ri, Jx, [Bt, Pr]);
10242
- He(`${Ri}-${au}`, Jx, [Bt, Pr]);
10243
- He(`${Ri}-${No}`, iF, [Bt, Pr, No]);
10244
- He(`${Ri}-${fd}`, Qx, [Bt, Pr]);
10245
- He(`${Ri}-${dd}`, WW, [Bt, Pr]);
10246
- He(`${Ri}-${Am}`, oF, [Bt, Pr]);
10247
- He(`${Xu}-${au}`, sF, [Bt, Pr]);
10248
- He(`${Xu}-${No}`, aF, [Bt, Pr, No]);
10249
- He(`${Xu}-${fd}`, e2, [Bt, Pr]);
10250
- He(`${Xu}-${dd}`, HW, [Bt, Pr]);
10251
- He(`${Xu}-${Am}`, lF, [Bt, Pr]);
10234
+ He(au, K6, Ut);
10235
+ He(No, Q6, [Ut, No]);
10236
+ He(fd, Kx, Ut);
10237
+ He(dd, zW, Ut);
10238
+ He(Am, eF, Ut);
10239
+ He(Na, jW, [Ut, i2]);
10240
+ He(Fa, qW, [Ut, i2]);
10241
+ He(Ri, Jx, [Ut, Pr]);
10242
+ He(`${Ri}-${au}`, Jx, [Ut, Pr]);
10243
+ He(`${Ri}-${No}`, iF, [Ut, Pr, No]);
10244
+ He(`${Ri}-${fd}`, Qx, [Ut, Pr]);
10245
+ He(`${Ri}-${dd}`, WW, [Ut, Pr]);
10246
+ He(`${Ri}-${Am}`, oF, [Ut, Pr]);
10247
+ He(`${Xu}-${au}`, sF, [Ut, Pr]);
10248
+ He(`${Xu}-${No}`, aF, [Ut, Pr, No]);
10249
+ He(`${Xu}-${fd}`, e2, [Ut, Pr]);
10250
+ He(`${Xu}-${dd}`, HW, [Ut, Pr]);
10251
+ He(`${Xu}-${Am}`, lF, [Ut, Pr]);
10252
10252
  He(lu, tF, [pd, lu]);
10253
10253
  He(Mm, nF, pd);
10254
10254
  He(Tm, rF, pd);
@@ -10264,7 +10264,7 @@ function sl(e, t) {
10264
10264
  return n && n.metadata[t];
10265
10265
  }
10266
10266
  function s2(e) {
10267
- return sl(e, Bt);
10267
+ return sl(e, Ut);
10268
10268
  }
10269
10269
  function uu(e) {
10270
10270
  return sl(e, hd);
@@ -10302,7 +10302,7 @@ function bF(e, t) {
10302
10302
  function vF(e, t, n) {
10303
10303
  const r = n - t;
10304
10304
  let i, o, s;
10305
- return !r || !Number.isFinite(r) ? wn(0.5) : (i = (o = e.type).indexOf("-"), o = i < 0 ? o : o.slice(i + 1), s = He(o)().domain([t, n]).range([0, 1]), fH.forEach((a) => e[a] ? s[a](e[a]()) : 0), s);
10305
+ return !r || !Number.isFinite(r) ? En(0.5) : (i = (o = e.type).indexOf("-"), o = i < 0 ? o : o.slice(i + 1), s = He(o)().domain([t, n]).range([0, 1]), fH.forEach((a) => e[a] ? s[a](e[a]()) : 0), s);
10306
10306
  }
10307
10307
  function a2(e, t) {
10308
10308
  const n = $W[dH(e)];
@@ -11966,7 +11966,7 @@ function T2(e, t) {
11966
11966
  for (var n = e.childNodes, r = 0, i = n.length; r < i; ++r) if (n[r].tagName.toLowerCase() === t)
11967
11967
  return n[r];
11968
11968
  }
11969
- function Ot(e, t, n, r) {
11969
+ function Lt(e, t, n, r) {
11970
11970
  var i = e.childNodes[t], o;
11971
11971
  return (!i || i.tagName.toLowerCase() !== n.toLowerCase()) && (o = i || null, i = ns(e.ownerDocument, n, r), e.insertBefore(i, o)), i;
11972
11972
  }
@@ -12620,7 +12620,7 @@ const Vp = {
12620
12620
  }, b4 = {
12621
12621
  fill: "none",
12622
12622
  "stroke-miterlimit": 10
12623
- }, kc = 0, US = "http://www.w3.org/2000/xmlns/", Rt = Of.xmlns;
12623
+ }, kc = 0, US = "http://www.w3.org/2000/xmlns/", Ot = Of.xmlns;
12624
12624
  class I2 extends wd {
12625
12625
  constructor(t) {
12626
12626
  super(t), this._dirtyID = 0, this._dirty = [], this._svg = null, this._root = null, this._defs = null;
@@ -12637,7 +12637,7 @@ class I2 extends wd {
12637
12637
  * @return {SVGRenderer} - This renderer instance.
12638
12638
  */
12639
12639
  initialize(t, n, r, i, o) {
12640
- return this._defs = {}, this._clearDefs(), t && (this._svg = Ot(t, 0, "svg", Rt), this._svg.setAttributeNS(US, "xmlns", Rt), this._svg.setAttributeNS(US, "xmlns:xlink", Of["xmlns:xlink"]), this._svg.setAttribute("version", Of.version), this._svg.setAttribute("class", "marks"), Er(t, 1), this._root = Ot(this._svg, kc, "g", Rt), rs(this._root, b4), Er(this._svg, kc + 1)), this.background(this._bgcolor), super.initialize(t, n, r, i, o);
12640
+ return this._defs = {}, this._clearDefs(), t && (this._svg = Lt(t, 0, "svg", Ot), this._svg.setAttributeNS(US, "xmlns", Ot), this._svg.setAttributeNS(US, "xmlns:xlink", Of["xmlns:xlink"]), this._svg.setAttribute("version", Of.version), this._svg.setAttribute("class", "marks"), Er(t, 1), this._root = Lt(this._svg, kc, "g", Ot), rs(this._root, b4), Er(this._svg, kc + 1)), this.background(this._bgcolor), super.initialize(t, n, r, i, o);
12641
12641
  }
12642
12642
  /**
12643
12643
  * Get / set the background color.
@@ -12677,7 +12677,7 @@ class I2 extends wd {
12677
12677
  const t = this._svg, n = this._bgcolor;
12678
12678
  if (!t) return null;
12679
12679
  let r;
12680
- n && (t.removeAttribute("style"), r = Ot(t, kc, "rect", Rt), rs(r, {
12680
+ n && (t.removeAttribute("style"), r = Lt(t, kc, "rect", Ot), rs(r, {
12681
12681
  width: this._width,
12682
12682
  height: this._height,
12683
12683
  fill: n
@@ -12764,7 +12764,7 @@ class I2 extends wd {
12764
12764
  * @param {Item} item - The mark item.
12765
12765
  */
12766
12766
  _update(t, n, r) {
12767
- vo = n, dn = n.__values__, h4(hf, r), t.attr(hf, r, this);
12767
+ vo = n, hn = n.__values__, h4(hf, r), t.attr(hf, r, this);
12768
12768
  const i = QV[t.type];
12769
12769
  i && i.call(this, t, n, r), vo && this.style(vo, r);
12770
12770
  }
@@ -12777,9 +12777,9 @@ class I2 extends wd {
12777
12777
  if (n != null) {
12778
12778
  for (const r in Vp) {
12779
12779
  let i = r === "font" ? xd(n) : n[r];
12780
- if (i === dn[r]) continue;
12780
+ if (i === hn[r]) continue;
12781
12781
  const o = Vp[r];
12782
- i == null ? t.removeAttribute(o) : (f2(i) && (i = NF(i, this._defs.gradient, v4())), t.setAttribute(o, i + "")), dn[r] = i;
12782
+ i == null ? t.removeAttribute(o) : (f2(i) && (i = NF(i, this._defs.gradient, v4())), t.setAttribute(o, i + "")), hn[r] = i;
12783
12783
  }
12784
12784
  for (const r in Yp)
12785
12785
  ep(t, Yp[r], n[r]);
@@ -12794,9 +12794,9 @@ class I2 extends wd {
12794
12794
  const t = this._svg, n = this._defs;
12795
12795
  let r = n.el, i = 0;
12796
12796
  for (const o in n.gradient)
12797
- r || (n.el = r = Ot(t, kc + 1, "defs", Rt)), i = XV(r, n.gradient[o], i);
12797
+ r || (n.el = r = Lt(t, kc + 1, "defs", Ot)), i = XV(r, n.gradient[o], i);
12798
12798
  for (const o in n.clipping)
12799
- r || (n.el = r = Ot(t, kc + 1, "defs", Rt)), i = KV(r, n.clipping[o], i);
12799
+ r || (n.el = r = Lt(t, kc + 1, "defs", Ot)), i = KV(r, n.clipping[o], i);
12800
12800
  r && (i === 0 ? (t.removeChild(r), n.el = null) : Er(r, i));
12801
12801
  }
12802
12802
  /**
@@ -12816,18 +12816,18 @@ function jS(e, t) {
12816
12816
  function XV(e, t, n) {
12817
12817
  let r, i, o;
12818
12818
  if (t.gradient === "radial") {
12819
- let s = Ot(e, n++, "pattern", Rt);
12819
+ let s = Lt(e, n++, "pattern", Ot);
12820
12820
  rs(s, {
12821
12821
  id: Lp + t.id,
12822
12822
  viewBox: "0,0,1,1",
12823
12823
  width: "100%",
12824
12824
  height: "100%",
12825
12825
  preserveAspectRatio: "xMidYMid slice"
12826
- }), s = Ot(s, 0, "rect", Rt), rs(s, {
12826
+ }), s = Lt(s, 0, "rect", Ot), rs(s, {
12827
12827
  width: 1,
12828
12828
  height: 1,
12829
12829
  fill: `url(${v4()}#${t.id})`
12830
- }), e = Ot(e, n++, "radialGradient", Rt), rs(e, {
12830
+ }), e = Lt(e, n++, "radialGradient", Ot), rs(e, {
12831
12831
  id: t.id,
12832
12832
  fx: t.x1,
12833
12833
  fy: t.y1,
@@ -12837,7 +12837,7 @@ function XV(e, t, n) {
12837
12837
  r: t.r2
12838
12838
  });
12839
12839
  } else
12840
- e = Ot(e, n++, "linearGradient", Rt), rs(e, {
12840
+ e = Lt(e, n++, "linearGradient", Ot), rs(e, {
12841
12841
  id: t.id,
12842
12842
  x1: t.x1,
12843
12843
  x2: t.x2,
@@ -12845,12 +12845,12 @@ function XV(e, t, n) {
12845
12845
  y2: t.y2
12846
12846
  });
12847
12847
  for (r = 0, i = t.stops.length; r < i; ++r)
12848
- o = Ot(e, r, "stop", Rt), o.setAttribute("offset", t.stops[r].offset), o.setAttribute("stop-color", t.stops[r].color);
12848
+ o = Lt(e, r, "stop", Ot), o.setAttribute("offset", t.stops[r].offset), o.setAttribute("stop-color", t.stops[r].color);
12849
12849
  return Er(e, r), n;
12850
12850
  }
12851
12851
  function KV(e, t, n) {
12852
12852
  let r;
12853
- return e = Ot(e, n, "clipPath", Rt), e.setAttribute("id", t.id), t.path ? (r = Ot(e, 0, "path", Rt), r.setAttribute("d", t.path)) : (r = Ot(e, 0, "rect", Rt), rs(r, {
12853
+ return e = Lt(e, n, "clipPath", Ot), e.setAttribute("id", t.id), t.path ? (r = Lt(e, 0, "path", Ot), r.setAttribute("d", t.path)) : (r = Lt(e, 0, "rect", Ot), rs(r, {
12854
12854
  x: 0,
12855
12855
  y: 0,
12856
12856
  width: t.width,
@@ -12866,14 +12866,14 @@ function ZV(e, t, n, r) {
12866
12866
  }
12867
12867
  function qS(e, t, n, r, i) {
12868
12868
  let o = e._svg, s;
12869
- if (!o && (s = t.ownerDocument, o = ns(s, r, Rt), e._svg = o, e.mark && (o.__data__ = e, o.__values__ = {
12869
+ if (!o && (s = t.ownerDocument, o = ns(s, r, Ot), e._svg = o, e.mark && (o.__data__ = e, o.__values__ = {
12870
12870
  fill: "default"
12871
12871
  }, r === "g"))) {
12872
- const a = ns(s, "path", Rt);
12872
+ const a = ns(s, "path", Ot);
12873
12873
  o.appendChild(a), a.__data__ = e;
12874
- const l = ns(s, "g", Rt);
12874
+ const l = ns(s, "g", Ot);
12875
12875
  o.appendChild(l), l.__data__ = e;
12876
- const u = ns(s, "path", Rt);
12876
+ const u = ns(s, "path", Ot);
12877
12877
  o.appendChild(u), u.__data__ = e, u.__values__ = {
12878
12878
  fill: "default"
12879
12879
  };
@@ -12883,17 +12883,17 @@ function qS(e, t, n, r, i) {
12883
12883
  function JV(e, t) {
12884
12884
  return e.parentNode && e.parentNode.childNodes.length > 1 && e.previousSibling != t;
12885
12885
  }
12886
- let vo = null, dn = null;
12886
+ let vo = null, hn = null;
12887
12887
  const QV = {
12888
12888
  group(e, t, n) {
12889
12889
  const r = vo = t.childNodes[2];
12890
- dn = r.__values__, e.foreground(hf, n, this), dn = t.__values__, vo = t.childNodes[1], e.content(hf, n, this);
12890
+ hn = r.__values__, e.foreground(hf, n, this), hn = t.__values__, vo = t.childNodes[1], e.content(hf, n, this);
12891
12891
  const i = vo = t.childNodes[0];
12892
12892
  e.background(hf, n, this);
12893
12893
  const o = n.mark.interactive === !1 ? "none" : null;
12894
- if (o !== dn.events && (Sn(r, "pointer-events", o), Sn(i, "pointer-events", o), dn.events = o), n.strokeForeground && n.stroke) {
12894
+ if (o !== hn.events && (Sn(r, "pointer-events", o), Sn(i, "pointer-events", o), hn.events = o), n.strokeForeground && n.stroke) {
12895
12895
  const s = n.fill;
12896
- Sn(r, "display", null), this.style(i, n), Sn(i, "stroke", null), s && (n.fill = null), dn = r.__values__, this.style(r, n), s && (n.fill = s), vo = null;
12896
+ Sn(r, "display", null), this.style(i, n), Sn(i, "stroke", null), s && (n.fill = null), hn = r.__values__, this.style(r, n), s && (n.fill = s), vo = null;
12897
12897
  } else
12898
12898
  Sn(r, "display", "none");
12899
12899
  },
@@ -12904,17 +12904,17 @@ const QV = {
12904
12904
  const r = vd(n);
12905
12905
  let i, o, s, a;
12906
12906
  B(r) ? (o = r.map((l) => Es(n, l)), i = o.join(`
12907
- `), i !== dn.text && (Er(t, 0), s = t.ownerDocument, a = ws(n), o.forEach((l, u) => {
12908
- const c = ns(s, "tspan", Rt);
12907
+ `), i !== hn.text && (Er(t, 0), s = t.ownerDocument, a = ws(n), o.forEach((l, u) => {
12908
+ const c = ns(s, "tspan", Ot);
12909
12909
  c.__data__ = n, c.textContent = l, u && (c.setAttribute("x", 0), c.setAttribute("dy", a)), t.appendChild(c);
12910
- }), dn.text = i)) : (o = Es(n, r), o !== dn.text && (t.textContent = o, dn.text = o)), Sn(t, "font-family", xd(n)), Sn(t, "font-size", Ki(n) + "px"), Sn(t, "font-style", n.fontStyle), Sn(t, "font-variant", n.fontVariant), Sn(t, "font-weight", n.fontWeight);
12910
+ }), hn.text = i)) : (o = Es(n, r), o !== hn.text && (t.textContent = o, hn.text = o)), Sn(t, "font-family", xd(n)), Sn(t, "font-size", Ki(n) + "px"), Sn(t, "font-style", n.fontStyle), Sn(t, "font-variant", n.fontVariant), Sn(t, "font-weight", n.fontWeight);
12911
12911
  }
12912
12912
  };
12913
12913
  function hf(e, t, n) {
12914
- t !== dn[e] && (n ? eY(vo, e, t, n) : Sn(vo, e, t), dn[e] = t);
12914
+ t !== hn[e] && (n ? eY(vo, e, t, n) : Sn(vo, e, t), hn[e] = t);
12915
12915
  }
12916
12916
  function ep(e, t, n) {
12917
- n !== dn[t] && (n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n + ""), dn[t] = n);
12917
+ n !== hn[t] && (n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n + ""), hn[t] = n);
12918
12918
  }
12919
12919
  function rs(e, t) {
12920
12920
  for (const n in t)
@@ -13129,8 +13129,8 @@ class R_ extends wd {
13129
13129
  * @return {HybridRenderer} - This renderer instance.
13130
13130
  */
13131
13131
  initialize(t, n, r, i, o) {
13132
- this._root_el = Ot(t, 0, "div");
13133
- const s = Ot(this._root_el, 0, "div"), a = Ot(this._root_el, 1, "div");
13132
+ this._root_el = Lt(t, 0, "div");
13133
+ const s = Lt(this._root_el, 0, "div"), a = Lt(this._root_el, 1, "div");
13134
13134
  return this._root_el.style.position = "relative", Gr.debug || (s.style.height = "100%", a.style.position = "absolute", a.style.top = "0", a.style.left = "0", a.style.height = "100%", a.style.width = "100%"), this._svgEl = Gr.svgOnTop ? a : s, this._canvasEl = Gr.svgOnTop ? s : a, this._svgEl.style.pointerEvents = "none", this._canvasRenderer.initialize(this._canvasEl, n, r, i, o), this._svgRenderer.initialize(this._svgEl, n, r, i, o), super.initialize(t, n, r, i, o);
13135
13135
  }
13136
13136
  /**
@@ -13172,7 +13172,7 @@ class w4 extends Ed {
13172
13172
  super(t, n);
13173
13173
  }
13174
13174
  initialize(t, n, r) {
13175
- const i = Ot(Ot(t, 0, "div"), Gr.svgOnTop ? 0 : 1, "div");
13175
+ const i = Lt(Lt(t, 0, "div"), Gr.svgOnTop ? 0 : 1, "div");
13176
13176
  return super.initialize(i, n, r);
13177
13177
  }
13178
13178
  }
@@ -13394,7 +13394,7 @@ X(V4, L, {
13394
13394
  }
13395
13395
  }
13396
13396
  });
13397
- const fn = new Nt();
13397
+ const dn = new Nt();
13398
13398
  function Pl(e, t, n) {
13399
13399
  return e[t] === n ? 0 : (e[t] = n, 1);
13400
13400
  }
@@ -13415,7 +13415,7 @@ function EY(e) {
13415
13415
  }
13416
13416
  function CY(e, t, n, r) {
13417
13417
  var i = t.items[0], o = i.datum, s = i.translate != null ? i.translate : 0.5, a = i.orient, l = EY(o), u = i.range, c = i.offset, f = i.position, d = i.minExtent, h = i.maxExtent, p = o.title && i.items[l[2]].items[0], g = i.titlePadding, m = i.bounds, y = p && $2(p), _ = 0, b = 0, v, x;
13418
- switch (fn.clear().union(m), m.clear(), (v = l[0]) > -1 && m.union(i.items[v].bounds), (v = l[1]) > -1 && m.union(i.items[v].bounds), a) {
13418
+ switch (dn.clear().union(m), m.clear(), (v = l[0]) > -1 && m.union(i.items[v].bounds), (v = l[1]) > -1 && m.union(i.items[v].bounds), a) {
13419
13419
  case hu:
13420
13420
  _ = f || 0, b = -c, x = Math.max(d, Math.min(h, -m.y1)), m.add(0, -x).add(u, 0), p && fh(e, p, x, g, y, 0, -1, m);
13421
13421
  break;
@@ -13431,7 +13431,7 @@ function CY(e, t, n, r) {
13431
13431
  default:
13432
13432
  _ = i.x, b = i.y;
13433
13433
  }
13434
- return Lo(m.translate(_, b), i), Pl(i, "x", _ + s) | Pl(i, "y", b + s) && (i.bounds = fn, e.dirty(i), i.bounds = m, e.dirty(i)), i.mark.bounds.clear().union(m);
13434
+ return Lo(m.translate(_, b), i), Pl(i, "x", _ + s) | Pl(i, "y", b + s) && (i.bounds = dn, e.dirty(i), i.bounds = m, e.dirty(i)), i.mark.bounds.clear().union(m);
13435
13435
  }
13436
13436
  function fh(e, t, n, r, i, o, s, a) {
13437
13437
  const l = t.bounds;
@@ -13499,7 +13499,7 @@ function ZS(e) {
13499
13499
  return e < 0 ? Math.ceil(-e) : 0;
13500
13500
  }
13501
13501
  function Y4(e, t, n) {
13502
- var r = !n.nodirty, i = n.bounds === W2 ? SY : $Y, o = fn.set(0, 0, 0, 0), s = st(n.align, os), a = st(n.align, ss), l = st(n.padding, os), u = st(n.padding, ss), c = n.columns || t.length, f = c <= 0 ? 1 : Math.ceil(t.length / c), d = t.length, h = Array(d), p = Array(c), g = 0, m = Array(d), y = Array(f), _ = 0, b = Array(d), v = Array(d), x = Array(d), E, w, k, S, A, T, F, D, N, $, M;
13502
+ var r = !n.nodirty, i = n.bounds === W2 ? SY : $Y, o = dn.set(0, 0, 0, 0), s = st(n.align, os), a = st(n.align, ss), l = st(n.padding, os), u = st(n.padding, ss), c = n.columns || t.length, f = c <= 0 ? 1 : Math.ceil(t.length / c), d = t.length, h = Array(d), p = Array(c), g = 0, m = Array(d), y = Array(f), _ = 0, b = Array(d), v = Array(d), x = Array(d), E, w, k, S, A, T, F, D, N, $, M;
13503
13503
  for (w = 0; w < c; ++w) p[w] = 0;
13504
13504
  for (w = 0; w < f; ++w) y[w] = 0;
13505
13505
  for (w = 0; w < d; ++w)
@@ -13751,18 +13751,18 @@ function PY(e, t, n, r, i) {
13751
13751
  y = -f.bounds.width() - c;
13752
13752
  break;
13753
13753
  }
13754
- fn.clear().union(d.bounds), fn.translate(y - (d.x || 0), _ - (d.y || 0)), Pl(d, "x", y) | Pl(d, "y", _) && (e.dirty(d), d.bounds.clear().union(fn), d.mark.bounds.clear().union(fn), e.dirty(d)), fn.clear().union(d.bounds);
13754
+ dn.clear().union(d.bounds), dn.translate(y - (d.x || 0), _ - (d.y || 0)), Pl(d, "x", y) | Pl(d, "y", _) && (e.dirty(d), d.bounds.clear().union(dn), d.mark.bounds.clear().union(dn), e.dirty(d)), dn.clear().union(d.bounds);
13755
13755
  } else
13756
- fn.clear();
13757
- switch (fn.union(f.bounds), a) {
13756
+ dn.clear();
13757
+ switch (dn.union(f.bounds), a) {
13758
13758
  case hu:
13759
- g = b, m = i.y1 - fn.height() - u;
13759
+ g = b, m = i.y1 - dn.height() - u;
13760
13760
  break;
13761
13761
  case Zr:
13762
- g = i.x1 - fn.width() - u, m = b;
13762
+ g = i.x1 - dn.width() - u, m = b;
13763
13763
  break;
13764
13764
  case Jr:
13765
- g = i.x2 + fn.width() + u, m = b;
13765
+ g = i.x2 + dn.width() + u, m = b;
13766
13766
  break;
13767
13767
  case Cs:
13768
13768
  g = b, m = i.y2 + u;
@@ -13770,7 +13770,7 @@ function PY(e, t, n, r, i) {
13770
13770
  default:
13771
13771
  g = o.x, m = o.y;
13772
13772
  }
13773
- return Pl(o, "x", g) | Pl(o, "y", m) && (fn.translate(g, m), e.dirty(o), o.bounds.clear().union(fn), t.bounds.clear().union(fn), e.dirty(o)), o.bounds;
13773
+ return Pl(o, "x", g) | Pl(o, "y", m) && (dn.translate(g, m), e.dirty(o), o.bounds.clear().union(dn), t.bounds.clear().union(dn), e.dirty(o)), o.bounds;
13774
13774
  }
13775
13775
  function X4(e) {
13776
13776
  L.call(this, null, e);
@@ -13944,7 +13944,7 @@ X(Q4, L, {
13944
13944
  if (this.value != null && !e.modified())
13945
13945
  return t.StopPropagation;
13946
13946
  var n = t.dataflow.locale(), r = t.fork(t.NO_SOURCE | t.NO_FIELDS), i = this.value, o = e.type || Gh, s = e.scale, a = +e.limit, l = u2(s, e.count == null ? 5 : e.count, e.minstep), u = !!e.values || o === Gh, c = e.format || AF(n, s, l, o, e.formatSpecifier, e.formatType, u), f = e.values || $F(s, l), d, h, p, g, m;
13947
- return i && (r.rem = i), o === Gh ? (a && f.length > a ? (t.dataflow.warn("Symbol legend count exceeds limit, filtering items."), i = f.slice(0, a - 1), m = !0) : i = f, Ee(p = e.size) ? (!e.values && s(i[0]) === 0 && (i = i.slice(1)), g = i.reduce((y, _) => Math.max(y, p(_, e)), 0)) : p = wn(g = p || 8), i = i.map((y, _) => Ge({
13947
+ return i && (r.rem = i), o === Gh ? (a && f.length > a ? (t.dataflow.warn("Symbol legend count exceeds limit, filtering items."), i = f.slice(0, a - 1), m = !0) : i = f, Ee(p = e.size) ? (!e.values && s(i[0]) === 0 && (i = i.slice(1)), g = i.reduce((y, _) => Math.max(y, p(_, e)), 0)) : p = En(g = p || 8), i = i.map((y, _) => Ge({
13948
13948
  index: _,
13949
13949
  label: c(y, _, i),
13950
13950
  value: y,
@@ -14283,7 +14283,7 @@ function fD(e) {
14283
14283
  function Kn(e) {
14284
14284
  return e > 1 ? mt : e < -1 ? -mt : Math.asin(e);
14285
14285
  }
14286
- function nn() {
14286
+ function rn() {
14287
14287
  }
14288
14288
  function Jp(e, t) {
14289
14289
  e && r$.hasOwnProperty(e.type) && r$[e.type](e, t);
@@ -14335,15 +14335,15 @@ function po(e, t) {
14335
14335
  e && n$.hasOwnProperty(e.type) ? n$[e.type](e, t) : Jp(e, t);
14336
14336
  }
14337
14337
  var Qp = new Rn(), eg = new Rn(), dD, hD, B_, U_, j_, ji = {
14338
- point: nn,
14339
- lineStart: nn,
14340
- lineEnd: nn,
14338
+ point: rn,
14339
+ lineStart: rn,
14340
+ lineEnd: rn,
14341
14341
  polygonStart: function() {
14342
14342
  Qp = new Rn(), ji.lineStart = xX, ji.lineEnd = wX;
14343
14343
  },
14344
14344
  polygonEnd: function() {
14345
14345
  var e = +Qp;
14346
- eg.add(e < 0 ? Ln + e : e), this.lineStart = this.lineEnd = this.point = nn;
14346
+ eg.add(e < 0 ? Ln + e : e), this.lineStart = this.lineEnd = this.point = rn;
14347
14347
  },
14348
14348
  sphere: function() {
14349
14349
  eg.add(Ln);
@@ -14457,7 +14457,7 @@ function AX(e) {
14457
14457
  return Zo = Fo = null, ft === 1 / 0 || Wn === 1 / 0 ? [[NaN, NaN], [NaN, NaN]] : [[ft, Wn], [pt, ir]];
14458
14458
  }
14459
14459
  var Kc, rg, ig, og, sg, ag, lg, ug, W_, H_, G_, bD, vD, An, Mn, Tn, Qr = {
14460
- sphere: nn,
14460
+ sphere: rn,
14461
14461
  point: K2,
14462
14462
  lineStart: l$,
14463
14463
  lineEnd: u$,
@@ -14585,7 +14585,7 @@ function ED() {
14585
14585
  lineStart: function() {
14586
14586
  e.push(t = []);
14587
14587
  },
14588
- lineEnd: nn,
14588
+ lineEnd: rn,
14589
14589
  rejoin: function() {
14590
14590
  e.length > 1 && e.push(e.pop().concat(e.shift()));
14591
14591
  },
@@ -14996,14 +14996,14 @@ function HX() {
14996
14996
  }
14997
14997
  const Lf = (e) => e;
14998
14998
  var L1 = new Rn(), X_ = new Rn(), $D, AD, K_, Z_, go = {
14999
- point: nn,
15000
- lineStart: nn,
15001
- lineEnd: nn,
14999
+ point: rn,
15000
+ lineStart: rn,
15001
+ lineEnd: rn,
15002
15002
  polygonStart: function() {
15003
15003
  go.lineStart = GX, go.lineEnd = YX;
15004
15004
  },
15005
15005
  polygonEnd: function() {
15006
- go.lineStart = go.lineEnd = go.point = nn, L1.add(Pe(X_)), X_ = new Rn();
15006
+ go.lineStart = go.lineEnd = go.point = rn, L1.add(Pe(X_)), X_ = new Rn();
15007
15007
  },
15008
15008
  result: function() {
15009
15009
  var e = L1 / 2;
@@ -15024,10 +15024,10 @@ function YX() {
15024
15024
  }
15025
15025
  var gu = 1 / 0, cg = gu, If = -gu, fg = If, dg = {
15026
15026
  point: XX,
15027
- lineStart: nn,
15028
- lineEnd: nn,
15029
- polygonStart: nn,
15030
- polygonEnd: nn,
15027
+ lineStart: rn,
15028
+ lineEnd: rn,
15029
+ polygonStart: rn,
15030
+ polygonEnd: rn,
15031
15031
  result: function() {
15032
15032
  var e = [[gu, cg], [If, fg]];
15033
15033
  return If = fg = -(cg = gu = 1 / 0), e;
@@ -15116,15 +15116,15 @@ DD.prototype = {
15116
15116
  }
15117
15117
  }
15118
15118
  },
15119
- result: nn
15119
+ result: rn
15120
15120
  };
15121
15121
  var nb = new Rn(), I1, RD, OD, ef, tf, Pf = {
15122
- point: nn,
15122
+ point: rn,
15123
15123
  lineStart: function() {
15124
15124
  Pf.point = tK;
15125
15125
  },
15126
15126
  lineEnd: function() {
15127
- I1 && LD(RD, OD), Pf.point = nn;
15127
+ I1 && LD(RD, OD), Pf.point = rn;
15128
15128
  },
15129
15129
  polygonStart: function() {
15130
15130
  I1 = !0;
@@ -16012,7 +16012,7 @@ X(rw, L, {
16012
16012
  transform(e, t) {
16013
16013
  if (this.value && !t.changed() && !e.modified())
16014
16014
  return t.StopPropagation;
16015
- var n = t.fork(t.NO_SOURCE | t.NO_FIELDS), r = t.materialize(t.SOURCE).source, i = e.field || xn, o = QD().smooth(e.smooth !== !1), s = e.thresholds || HK(r, i, e), a = e.as === null ? null : e.as || "contour", l = [];
16015
+ var n = t.fork(t.NO_SOURCE | t.NO_FIELDS), r = t.materialize(t.SOURCE).source, i = e.field || wn, o = QD().smooth(e.smooth !== !1), s = e.thresholds || HK(r, i, e), a = e.as === null ? null : e.as || "contour", l = [];
16016
16016
  return r.forEach((u) => {
16017
16017
  const c = i(u), f = o.size([c.width, c.height])(c.values, B(s) ? s : s(c.values));
16018
16018
  GK(f, c, u, e), f.forEach((d) => {
@@ -16053,7 +16053,7 @@ function M$(e, t, n) {
16053
16053
  return Math.round((Math.sqrt(4 * r * r + 1) - 1) / 2);
16054
16054
  }
16055
16055
  function P1(e) {
16056
- return Ee(e) ? e : wn(+e);
16056
+ return Ee(e) ? e : En(+e);
16057
16057
  }
16058
16058
  function nR() {
16059
16059
  var e = (l) => l[0], t = (l) => l[1], n = Iu, r = [-1, -1], i = 960, o = 500, s = 2;
@@ -16255,8 +16255,8 @@ aw.Definition = {
16255
16255
  };
16256
16256
  X(aw, L, {
16257
16257
  transform(e, t) {
16258
- var n = this._features, r = this._points, i = e.fields, o = i && i[0], s = i && i[1], a = e.geojson || !i && xn, l = t.ADD, u;
16259
- u = e.modified() || t.changed(t.REM) || t.modified(yn(a)) || o && t.modified(yn(o)) || s && t.modified(yn(s)), (!this.value || u) && (l = t.SOURCE, this._features = n = [], this._points = r = []), a && t.visit(l, (c) => n.push(a(c))), o && s && (t.visit(l, (c) => {
16258
+ var n = this._features, r = this._points, i = e.fields, o = i && i[0], s = i && i[1], a = e.geojson || !i && wn, l = t.ADD, u;
16259
+ u = e.modified() || t.changed(t.REM) || t.modified(_n(a)) || o && t.modified(_n(o)) || s && t.modified(_n(s)), (!this.value || u) && (l = t.SOURCE, this._features = n = [], this._points = r = []), a && t.visit(l, (c) => n.push(a(c))), o && s && (t.visit(l, (c) => {
16260
16260
  var f = o(c), d = s(c);
16261
16261
  f != null && d != null && (f = +f) === f && (d = +d) === d && r.push([f, d]);
16262
16262
  }), n = n.concat({
@@ -16297,8 +16297,8 @@ lw.Definition = {
16297
16297
  };
16298
16298
  X(lw, L, {
16299
16299
  transform(e, t) {
16300
- var n = t.fork(t.ALL), r = this.value, i = e.field || xn, o = e.as || "path", s = n.SOURCE;
16301
- !r || e.modified() ? (this.value = r = JD(e.projection), n.materialize().reflow()) : s = i === xn || t.modified(i.fields) ? n.ADD_MOD : n.ADD;
16300
+ var n = t.fork(t.ALL), r = this.value, i = e.field || wn, o = e.as || "path", s = n.SOURCE;
16301
+ !r || e.modified() ? (this.value = r = JD(e.projection), n.materialize().reflow()) : s = i === wn || t.modified(i.fields) ? n.ADD_MOD : n.ADD;
16302
16302
  const a = KK(r, e.pointRadius);
16303
16303
  return n.visit(s, (l) => l[o] = r(i(l))), r.pointRadius(a), n.modifies(o);
16304
16304
  }
@@ -16487,7 +16487,7 @@ X(dw, L, {
16487
16487
  transform(e, t) {
16488
16488
  if (!t.changed() && !e.modified())
16489
16489
  return t.StopPropagation;
16490
- var n = t.materialize(t.SOURCE).source, r = e.resolve === "shared", i = e.field || xn, o = QK(e.opacity, e), s = JK(e.color, e), a = e.as || "image", l = {
16490
+ var n = t.materialize(t.SOURCE).source, r = e.resolve === "shared", i = e.field || wn, o = QK(e.opacity, e), s = JK(e.color, e), a = e.as || "image", l = {
16491
16491
  $x: 0,
16492
16492
  $y: 0,
16493
16493
  $value: 0,
@@ -16495,21 +16495,21 @@ X(dw, L, {
16495
16495
  };
16496
16496
  return n.forEach((u) => {
16497
16497
  const c = i(u), f = Se({}, u, l);
16498
- r || (f.$max = ba(c.values || [])), u[a] = eZ(c, f, s.dep ? s : wn(s(f)), o.dep ? o : wn(o(f)));
16498
+ r || (f.$max = ba(c.values || [])), u[a] = eZ(c, f, s.dep ? s : En(s(f)), o.dep ? o : En(o(f)));
16499
16499
  }), t.reflow(!0).modifies(a);
16500
16500
  }
16501
16501
  });
16502
16502
  function JK(e, t) {
16503
16503
  let n;
16504
- return Ee(e) ? (n = (r) => vs(e(r, t)), n.dep = iR(e)) : n = wn(vs(e || "#888")), n;
16504
+ return Ee(e) ? (n = (r) => vs(e(r, t)), n.dep = iR(e)) : n = En(vs(e || "#888")), n;
16505
16505
  }
16506
16506
  function QK(e, t) {
16507
16507
  let n;
16508
- return Ee(e) ? (n = (r) => e(r, t), n.dep = iR(e)) : e ? n = wn(e) : (n = (r) => r.$value / r.$max || 0, n.dep = !0), n;
16508
+ return Ee(e) ? (n = (r) => e(r, t), n.dep = iR(e)) : e ? n = En(e) : (n = (r) => r.$value / r.$max || 0, n.dep = !0), n;
16509
16509
  }
16510
16510
  function iR(e) {
16511
16511
  if (!Ee(e)) return !1;
16512
- const t = ii(yn(e));
16512
+ const t = ii(_n(e));
16513
16513
  return t.$x || t.$y || t.$value || t.$max;
16514
16514
  }
16515
16515
  function eZ(e, t, n, r) {
@@ -17383,7 +17383,7 @@ function dR(e, t, n, r) {
17383
17383
  function KZ(e, t) {
17384
17384
  var n, r;
17385
17385
  for (n in e)
17386
- if (Ee(r = e[n]) && t.modified(yn(r))) return 1;
17386
+ if (Ee(r = e[n]) && t.modified(_n(r))) return 1;
17387
17387
  return 0;
17388
17388
  }
17389
17389
  function ZZ(e) {
@@ -18924,7 +18924,7 @@ const AQ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18924
18924
  __proto__: null,
18925
18925
  loess: Sw,
18926
18926
  regression: $w
18927
- }, Symbol.toStringTag, { value: "Module" })), Co = 11102230246251565e-32, un = 134217729, MQ = (3 + 8 * Co) * Co;
18927
+ }, Symbol.toStringTag, { value: "Module" })), Co = 11102230246251565e-32, cn = 134217729, MQ = (3 + 8 * Co) * Co;
18928
18928
  function J1(e, t, n, r, i) {
18929
18929
  let o, s, a, l, u = t[0], c = r[0], f = 0, d = 0;
18930
18930
  c > u == c > -u ? (o = u, u = t[++f]) : (o = c, c = r[++d]);
@@ -18950,14 +18950,14 @@ const NQ = (3 + 16 * Co) * Co, FQ = (2 + 12 * Co) * Co, DQ = (9 + 64 * Co) * Co
18950
18950
  function RQ(e, t, n, r, i, o, s) {
18951
18951
  let a, l, u, c, f, d, h, p, g, m, y, _, b, v, x, E, w, k;
18952
18952
  const S = e - i, A = n - i, T = t - o, F = r - o;
18953
- v = S * F, d = un * S, h = d - (d - S), p = S - h, d = un * F, g = d - (d - F), m = F - g, x = p * m - (v - h * g - p * g - h * m), E = T * A, d = un * T, h = d - (d - T), p = T - h, d = un * A, g = d - (d - A), m = A - g, w = p * m - (E - h * g - p * g - h * m), y = x - w, f = x - y, Sl[0] = x - (y + f) + (f - w), _ = v + y, f = _ - v, b = v - (_ - f) + (y - f), y = b - E, f = b - y, Sl[1] = b - (y + f) + (f - E), k = _ + y, f = k - _, Sl[2] = _ - (k - f) + (y - f), Sl[3] = k;
18953
+ v = S * F, d = cn * S, h = d - (d - S), p = S - h, d = cn * F, g = d - (d - F), m = F - g, x = p * m - (v - h * g - p * g - h * m), E = T * A, d = cn * T, h = d - (d - T), p = T - h, d = cn * A, g = d - (d - A), m = A - g, w = p * m - (E - h * g - p * g - h * m), y = x - w, f = x - y, Sl[0] = x - (y + f) + (f - w), _ = v + y, f = _ - v, b = v - (_ - f) + (y - f), y = b - E, f = b - y, Sl[1] = b - (y + f) + (f - E), k = _ + y, f = k - _, Sl[2] = _ - (k - f) + (y - f), Sl[3] = k;
18954
18954
  let D = TQ(4, Sl), N = FQ * s;
18955
18955
  if (D >= N || -D >= N || (f = e - S, a = e - (S + f) + (f - i), f = n - A, u = n - (A + f) + (f - i), f = t - T, l = t - (T + f) + (f - o), f = r - F, c = r - (F + f) + (f - o), a === 0 && l === 0 && u === 0 && c === 0) || (N = DQ * s + MQ * Math.abs(D), D += S * c + F * a - (T * u + A * l), D >= N || -D >= N)) return D;
18956
- v = a * F, d = un * a, h = d - (d - a), p = a - h, d = un * F, g = d - (d - F), m = F - g, x = p * m - (v - h * g - p * g - h * m), E = l * A, d = un * l, h = d - (d - l), p = l - h, d = un * A, g = d - (d - A), m = A - g, w = p * m - (E - h * g - p * g - h * m), y = x - w, f = x - y, kn[0] = x - (y + f) + (f - w), _ = v + y, f = _ - v, b = v - (_ - f) + (y - f), y = b - E, f = b - y, kn[1] = b - (y + f) + (f - E), k = _ + y, f = k - _, kn[2] = _ - (k - f) + (y - f), kn[3] = k;
18956
+ v = a * F, d = cn * a, h = d - (d - a), p = a - h, d = cn * F, g = d - (d - F), m = F - g, x = p * m - (v - h * g - p * g - h * m), E = l * A, d = cn * l, h = d - (d - l), p = l - h, d = cn * A, g = d - (d - A), m = A - g, w = p * m - (E - h * g - p * g - h * m), y = x - w, f = x - y, kn[0] = x - (y + f) + (f - w), _ = v + y, f = _ - v, b = v - (_ - f) + (y - f), y = b - E, f = b - y, kn[1] = b - (y + f) + (f - E), k = _ + y, f = k - _, kn[2] = _ - (k - f) + (y - f), kn[3] = k;
18957
18957
  const $ = J1(4, Sl, 4, kn, X$);
18958
- v = S * c, d = un * S, h = d - (d - S), p = S - h, d = un * c, g = d - (d - c), m = c - g, x = p * m - (v - h * g - p * g - h * m), E = T * u, d = un * T, h = d - (d - T), p = T - h, d = un * u, g = d - (d - u), m = u - g, w = p * m - (E - h * g - p * g - h * m), y = x - w, f = x - y, kn[0] = x - (y + f) + (f - w), _ = v + y, f = _ - v, b = v - (_ - f) + (y - f), y = b - E, f = b - y, kn[1] = b - (y + f) + (f - E), k = _ + y, f = k - _, kn[2] = _ - (k - f) + (y - f), kn[3] = k;
18958
+ v = S * c, d = cn * S, h = d - (d - S), p = S - h, d = cn * c, g = d - (d - c), m = c - g, x = p * m - (v - h * g - p * g - h * m), E = T * u, d = cn * T, h = d - (d - T), p = T - h, d = cn * u, g = d - (d - u), m = u - g, w = p * m - (E - h * g - p * g - h * m), y = x - w, f = x - y, kn[0] = x - (y + f) + (f - w), _ = v + y, f = _ - v, b = v - (_ - f) + (y - f), y = b - E, f = b - y, kn[1] = b - (y + f) + (f - E), k = _ + y, f = k - _, kn[2] = _ - (k - f) + (y - f), kn[3] = k;
18959
18959
  const M = J1($, X$, 4, kn, K$);
18960
- v = a * c, d = un * a, h = d - (d - a), p = a - h, d = un * c, g = d - (d - c), m = c - g, x = p * m - (v - h * g - p * g - h * m), E = l * u, d = un * l, h = d - (d - l), p = l - h, d = un * u, g = d - (d - u), m = u - g, w = p * m - (E - h * g - p * g - h * m), y = x - w, f = x - y, kn[0] = x - (y + f) + (f - w), _ = v + y, f = _ - v, b = v - (_ - f) + (y - f), y = b - E, f = b - y, kn[1] = b - (y + f) + (f - E), k = _ + y, f = k - _, kn[2] = _ - (k - f) + (y - f), kn[3] = k;
18960
+ v = a * c, d = cn * a, h = d - (d - a), p = a - h, d = cn * c, g = d - (d - c), m = c - g, x = p * m - (v - h * g - p * g - h * m), E = l * u, d = cn * l, h = d - (d - l), p = l - h, d = cn * u, g = d - (d - u), m = u - g, w = p * m - (E - h * g - p * g - h * m), y = x - w, f = x - y, kn[0] = x - (y + f) + (f - w), _ = v + y, f = _ - v, b = v - (_ - f) + (y - f), y = b - E, f = b - y, kn[1] = b - (y + f) + (f - E), k = _ + y, f = k - _, kn[2] = _ - (k - f) + (y - f), kn[3] = k;
18961
18961
  const R = J1(M, K$, 4, kn, Z$);
18962
18962
  return Z$[R - 1];
18963
18963
  }
@@ -19912,7 +19912,7 @@ X(Tw, L, {
19912
19912
  if (!(r || t.changed(t.ADD_REM) || aee.some(n))) return;
19913
19913
  const i = t.materialize(t.SOURCE).source, o = this.value, s = e.as || CR;
19914
19914
  let a = e.fontSize || 14, l;
19915
- if (Ee(a) ? l = e.fontSizeRange : a = wn(a), l) {
19915
+ if (Ee(a) ? l = e.fontSizeRange : a = En(a), l) {
19916
19916
  const p = a, g = He("sqrt")().domain(Pi(i, p)).range(l);
19917
19917
  a = (m) => g(p(m));
19918
19918
  }
@@ -20256,7 +20256,7 @@ function See(e) {
20256
20256
  return [];
20257
20257
  }
20258
20258
  }
20259
- var Ji, ie, P, bn, Ke, Xm = 1, Ad = 2, Pa = 3, Os = 4, Km = 5, al = 6, qn = 7, Md = 8, $ee = 9;
20259
+ var Ji, ie, P, vn, Ke, Xm = 1, Ad = 2, Pa = 3, Os = 4, Km = 5, al = 6, qn = 7, Md = 8, $ee = 9;
20260
20260
  Ji = {};
20261
20261
  Ji[Xm] = "Boolean";
20262
20262
  Ji[Ad] = "<end>";
@@ -20267,7 +20267,7 @@ Ji[al] = "Numeric";
20267
20267
  Ji[qn] = "Punctuator";
20268
20268
  Ji[Md] = "String";
20269
20269
  Ji[$ee] = "RegularExpression";
20270
- var Aee = "ArrayExpression", Mee = "BinaryExpression", Tee = "CallExpression", Nee = "ConditionalExpression", SR = "Identifier", Fee = "Literal", Dee = "LogicalExpression", Ree = "MemberExpression", Oee = "ObjectExpression", Lee = "Property", Iee = "UnaryExpression", Gt = "Unexpected token %0", Pee = "Unexpected number", zee = "Unexpected string", Bee = "Unexpected identifier", Uee = "Unexpected reserved word", jee = "Unexpected end of input", bb = "Invalid regular expression", ty = "Invalid regular expression: missing /", $R = "Octal literals are not allowed in strict mode.", qee = "Duplicate data property in object literal not allowed in strict mode", rn = "ILLEGAL", Uf = "Disabled.", Wee = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), Hee = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
20270
+ var Aee = "ArrayExpression", Mee = "BinaryExpression", Tee = "CallExpression", Nee = "ConditionalExpression", SR = "Identifier", Fee = "Literal", Dee = "LogicalExpression", Ree = "MemberExpression", Oee = "ObjectExpression", Lee = "Property", Iee = "UnaryExpression", Gt = "Unexpected token %0", Pee = "Unexpected number", zee = "Unexpected string", Bee = "Unexpected identifier", Uee = "Unexpected reserved word", jee = "Unexpected end of input", bb = "Invalid regular expression", ty = "Invalid regular expression: missing /", $R = "Octal literals are not allowed in strict mode.", qee = "Duplicate data property in object literal not allowed in strict mode", on = "ILLEGAL", Uf = "Disabled.", Wee = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), Hee = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
20271
20271
  function Zm(e, t) {
20272
20272
  if (!e)
20273
20273
  throw new Error("ASSERT: " + t);
@@ -20347,7 +20347,7 @@ const Vee = {
20347
20347
  implements: 1
20348
20348
  };
20349
20349
  function AR() {
20350
- for (; P < bn; ) {
20350
+ for (; P < vn; ) {
20351
20351
  const e = ie.charCodeAt(P);
20352
20352
  if (Gee(e) || jf(e))
20353
20353
  ++P;
@@ -20358,24 +20358,24 @@ function AR() {
20358
20358
  function vb(e) {
20359
20359
  var t, n, r, i = 0;
20360
20360
  for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t)
20361
- P < bn && Dw(ie[P]) ? (r = ie[P++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : je({}, Gt, rn);
20361
+ P < vn && Dw(ie[P]) ? (r = ie[P++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : je({}, Gt, on);
20362
20362
  return String.fromCharCode(i);
20363
20363
  }
20364
20364
  function Yee() {
20365
20365
  var e, t, n, r;
20366
- for (e = ie[P], t = 0, e === "}" && je({}, Gt, rn); P < bn && (e = ie[P++], !!Dw(e)); )
20366
+ for (e = ie[P], t = 0, e === "}" && je({}, Gt, on); P < vn && (e = ie[P++], !!Dw(e)); )
20367
20367
  t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
20368
- return (t > 1114111 || e !== "}") && je({}, Gt, rn), t <= 65535 ? String.fromCharCode(t) : (n = (t - 65536 >> 10) + 55296, r = (t - 65536 & 1023) + 56320, String.fromCharCode(n, r));
20368
+ return (t > 1114111 || e !== "}") && je({}, Gt, on), t <= 65535 ? String.fromCharCode(t) : (n = (t - 65536 >> 10) + 55296, r = (t - 65536 & 1023) + 56320, String.fromCharCode(n, r));
20369
20369
  }
20370
20370
  function MR() {
20371
20371
  var e, t;
20372
- for (e = ie.charCodeAt(P++), t = String.fromCharCode(e), e === 92 && (ie.charCodeAt(P) !== 117 && je({}, Gt, rn), ++P, e = vb("u"), (!e || e === "\\" || !Td(e.charCodeAt(0))) && je({}, Gt, rn), t = e); P < bn && (e = ie.charCodeAt(P), !!Sg(e)); )
20373
- ++P, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), ie.charCodeAt(P) !== 117 && je({}, Gt, rn), ++P, e = vb("u"), (!e || e === "\\" || !Sg(e.charCodeAt(0))) && je({}, Gt, rn), t += e);
20372
+ for (e = ie.charCodeAt(P++), t = String.fromCharCode(e), e === 92 && (ie.charCodeAt(P) !== 117 && je({}, Gt, on), ++P, e = vb("u"), (!e || e === "\\" || !Td(e.charCodeAt(0))) && je({}, Gt, on), t = e); P < vn && (e = ie.charCodeAt(P), !!Sg(e)); )
20373
+ ++P, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), ie.charCodeAt(P) !== 117 && je({}, Gt, on), ++P, e = vb("u"), (!e || e === "\\" || !Sg(e.charCodeAt(0))) && je({}, Gt, on), t += e);
20374
20374
  return t;
20375
20375
  }
20376
20376
  function Xee() {
20377
20377
  var e, t;
20378
- for (e = P++; P < bn; ) {
20378
+ for (e = P++; P < vn; ) {
20379
20379
  if (t = ie.charCodeAt(P), t === 92)
20380
20380
  return P = e, MR();
20381
20381
  if (Sg(t))
@@ -20487,20 +20487,20 @@ function ny() {
20487
20487
  start: e,
20488
20488
  end: P
20489
20489
  };
20490
- if (i === "//" && je({}, Gt, rn), "<>=!+-*%&|^/".includes(r))
20490
+ if (i === "//" && je({}, Gt, on), "<>=!+-*%&|^/".includes(r))
20491
20491
  return ++P, {
20492
20492
  type: qn,
20493
20493
  value: r,
20494
20494
  start: e,
20495
20495
  end: P
20496
20496
  };
20497
- je({}, Gt, rn);
20497
+ je({}, Gt, on);
20498
20498
  }
20499
20499
  function Zee(e) {
20500
20500
  let t = "";
20501
- for (; P < bn && Dw(ie[P]); )
20501
+ for (; P < vn && Dw(ie[P]); )
20502
20502
  t += ie[P++];
20503
- return t.length === 0 && je({}, Gt, rn), Td(ie.charCodeAt(P)) && je({}, Gt, rn), {
20503
+ return t.length === 0 && je({}, Gt, on), Td(ie.charCodeAt(P)) && je({}, Gt, on), {
20504
20504
  type: al,
20505
20505
  value: parseInt("0x" + t, 16),
20506
20506
  start: e,
@@ -20509,9 +20509,9 @@ function Zee(e) {
20509
20509
  }
20510
20510
  function Jee(e) {
20511
20511
  let t = "0" + ie[P++];
20512
- for (; P < bn && vf(ie[P]); )
20512
+ for (; P < vn && vf(ie[P]); )
20513
20513
  t += ie[P++];
20514
- return (Td(ie.charCodeAt(P)) || ho(ie.charCodeAt(P))) && je({}, Gt, rn), {
20514
+ return (Td(ie.charCodeAt(P)) || ho(ie.charCodeAt(P))) && je({}, Gt, on), {
20515
20515
  type: al,
20516
20516
  value: parseInt(t, 8),
20517
20517
  octal: !0,
@@ -20527,7 +20527,7 @@ function nA() {
20527
20527
  return ++P, Zee(t);
20528
20528
  if (vf(n))
20529
20529
  return Jee(t);
20530
- n && ho(n.charCodeAt(0)) && je({}, Gt, rn);
20530
+ n && ho(n.charCodeAt(0)) && je({}, Gt, on);
20531
20531
  }
20532
20532
  for (; ho(ie.charCodeAt(P)); )
20533
20533
  e += ie[P++];
@@ -20543,8 +20543,8 @@ function nA() {
20543
20543
  for (; ho(ie.charCodeAt(P)); )
20544
20544
  e += ie[P++];
20545
20545
  else
20546
- je({}, Gt, rn);
20547
- return Td(ie.charCodeAt(P)) && je({}, Gt, rn), {
20546
+ je({}, Gt, on);
20547
+ return Td(ie.charCodeAt(P)) && je({}, Gt, on), {
20548
20548
  type: al,
20549
20549
  value: parseFloat(e),
20550
20550
  start: t,
@@ -20553,7 +20553,7 @@ function nA() {
20553
20553
  }
20554
20554
  function Qee() {
20555
20555
  var e = "", t, n, r, i, o = !1;
20556
- for (t = ie[P], Zm(t === "'" || t === '"', "String literal must starts with a quote"), n = P, ++P; P < bn; )
20556
+ for (t = ie[P], Zm(t === "'" || t === '"', "String literal must starts with a quote"), n = P, ++P; P < vn; )
20557
20557
  if (r = ie[P++], r === t) {
20558
20558
  t = "";
20559
20559
  break;
@@ -20584,7 +20584,7 @@ function Qee() {
20584
20584
  e += "\v";
20585
20585
  break;
20586
20586
  default:
20587
- vf(r) ? (i = "01234567".indexOf(r), i !== 0 && (o = !0), P < bn && vf(ie[P]) && (o = !0, i = i * 8 + "01234567".indexOf(ie[P++]), "0123".includes(r) && P < bn && vf(ie[P]) && (i = i * 8 + "01234567".indexOf(ie[P++]))), e += String.fromCharCode(i)) : e += r;
20587
+ vf(r) ? (i = "01234567".indexOf(r), i !== 0 && (o = !0), P < vn && vf(ie[P]) && (o = !0, i = i * 8 + "01234567".indexOf(ie[P++]), "0123".includes(r) && P < vn && vf(ie[P]) && (i = i * 8 + "01234567".indexOf(ie[P++]))), e += String.fromCharCode(i)) : e += r;
20588
20588
  break;
20589
20589
  }
20590
20590
  else
@@ -20595,7 +20595,7 @@ function Qee() {
20595
20595
  break;
20596
20596
  e += r;
20597
20597
  }
20598
- return t !== "" && je({}, Gt, rn), {
20598
+ return t !== "" && je({}, Gt, on), {
20599
20599
  type: Md,
20600
20600
  value: e,
20601
20601
  octal: o,
@@ -20623,7 +20623,7 @@ function ete(e, t) {
20623
20623
  }
20624
20624
  function tte() {
20625
20625
  var e, t, n, r, i;
20626
- for (e = ie[P], Zm(e === "/", "Regular expression literal must start with a slash"), t = ie[P++], n = !1, r = !1; P < bn; )
20626
+ for (e = ie[P], Zm(e === "/", "Regular expression literal must start with a slash"), t = ie[P++], n = !1, r = !1; P < vn; )
20627
20627
  if (e = ie[P++], t += e, e === "\\")
20628
20628
  e = ie[P++], jf(e.charCodeAt(0)) && je({}, ty), t += e;
20629
20629
  else if (jf(e.charCodeAt(0)))
@@ -20641,8 +20641,8 @@ function tte() {
20641
20641
  }
20642
20642
  function nte() {
20643
20643
  var e, t, n;
20644
- for (t = "", n = ""; P < bn && (e = ie[P], !!Sg(e.charCodeAt(0))); )
20645
- ++P, e === "\\" && P < bn ? je({}, Gt, rn) : (n += e, t += e);
20644
+ for (t = "", n = ""; P < vn && (e = ie[P], !!Sg(e.charCodeAt(0))); )
20645
+ ++P, e === "\\" && P < vn ? je({}, Gt, on) : (n += e, t += e);
20646
20646
  return n.search(/[^gimuy]/g) >= 0 && je({}, bb, n), {
20647
20647
  value: n,
20648
20648
  literal: t
@@ -20665,7 +20665,7 @@ function ite(e) {
20665
20665
  return e.type === Pa || e.type === Os || e.type === Xm || e.type === Km;
20666
20666
  }
20667
20667
  function TR() {
20668
- if (AR(), P >= bn)
20668
+ if (AR(), P >= vn)
20669
20669
  return {
20670
20670
  type: Ad,
20671
20671
  start: P,
@@ -20729,7 +20729,7 @@ function je(e, t) {
20729
20729
  function Jm(e) {
20730
20730
  e.type === Ad && je(e, jee), e.type === al && je(e, Pee), e.type === Md && je(e, zee), e.type === Pa && je(e, Bee), e.type === Os && je(e, Uee), je(e, Gt, e.value);
20731
20731
  }
20732
- function vn(e) {
20732
+ function xn(e) {
20733
20733
  const t = Hn();
20734
20734
  (t.type !== qn || t.value !== e) && Jm(t);
20735
20735
  }
@@ -20741,8 +20741,8 @@ function ry(e) {
20741
20741
  }
20742
20742
  function cte() {
20743
20743
  const e = [];
20744
- for (P = Ke.start, vn("["); !rt("]"); )
20745
- rt(",") ? (Hn(), e.push(null)) : (e.push(za()), rt("]") || vn(","));
20744
+ for (P = Ke.start, xn("["); !rt("]"); )
20745
+ rt(",") ? (Hn(), e.push(null)) : (e.push(za()), rt("]") || xn(","));
20746
20746
  return Hn(), ote(e);
20747
20747
  }
20748
20748
  function sA() {
@@ -20753,22 +20753,22 @@ function sA() {
20753
20753
  function fte() {
20754
20754
  var e, t, n, r;
20755
20755
  if (P = Ke.start, e = Ke, e.type === Pa)
20756
- return n = sA(), vn(":"), r = za(), oA("init", n, r);
20756
+ return n = sA(), xn(":"), r = za(), oA("init", n, r);
20757
20757
  if (e.type === Ad || e.type === qn)
20758
20758
  Jm(e);
20759
20759
  else
20760
- return t = sA(), vn(":"), r = za(), oA("init", t, r);
20760
+ return t = sA(), xn(":"), r = za(), oA("init", t, r);
20761
20761
  }
20762
20762
  function dte() {
20763
20763
  var e = [], t, n, r, i = {}, o = String;
20764
- for (P = Ke.start, vn("{"); !rt("}"); )
20765
- t = fte(), t.key.type === SR ? n = t.key.name : n = o(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? je({}, qee) : i[r] = !0, e.push(t), rt("}") || vn(",");
20766
- return vn("}"), lte(e);
20764
+ for (P = Ke.start, xn("{"); !rt("}"); )
20765
+ t = fte(), t.key.type === SR ? n = t.key.name : n = o(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? je({}, qee) : i[r] = !0, e.push(t), rt("}") || xn(",");
20766
+ return xn("}"), lte(e);
20767
20767
  }
20768
20768
  function hte() {
20769
- vn("(");
20769
+ xn("(");
20770
20770
  const e = Ow();
20771
- return vn(")"), e;
20771
+ return xn(")"), e;
20772
20772
  }
20773
20773
  const pte = {
20774
20774
  if: 1
@@ -20794,10 +20794,10 @@ function gte() {
20794
20794
  }
20795
20795
  function mte() {
20796
20796
  const e = [];
20797
- if (vn("("), !rt(")"))
20798
- for (; P < bn && (e.push(za()), !rt(")")); )
20799
- vn(",");
20800
- return vn(")"), e;
20797
+ if (xn("("), !rt(")"))
20798
+ for (; P < vn && (e.push(za()), !rt(")")); )
20799
+ xn(",");
20800
+ return xn(")"), e;
20801
20801
  }
20802
20802
  function yte() {
20803
20803
  P = Ke.start;
@@ -20805,12 +20805,12 @@ function yte() {
20805
20805
  return ite(e) || Jm(e), Rw(e.value);
20806
20806
  }
20807
20807
  function _te() {
20808
- return vn("."), yte();
20808
+ return xn("."), yte();
20809
20809
  }
20810
20810
  function bte() {
20811
- vn("[");
20811
+ xn("[");
20812
20812
  const e = Ow();
20813
- return vn("]"), e;
20813
+ return xn("]"), e;
20814
20814
  }
20815
20815
  function vte() {
20816
20816
  var e, t, n;
@@ -20914,7 +20914,7 @@ function xte() {
20914
20914
  }
20915
20915
  function za() {
20916
20916
  var e, t, n;
20917
- return e = xte(), rt("?") && (Hn(), t = za(), vn(":"), n = za(), e = ate(e, t, n)), e;
20917
+ return e = xte(), rt("?") && (Hn(), t = za(), xn(":"), n = za(), e = ate(e, t, n)), e;
20918
20918
  }
20919
20919
  function Ow() {
20920
20920
  const e = za();
@@ -20923,7 +20923,7 @@ function Ow() {
20923
20923
  return e;
20924
20924
  }
20925
20925
  function Lw(e) {
20926
- ie = e, P = 0, bn = ie.length, Ke = null, NR();
20926
+ ie = e, P = 0, vn = ie.length, Ke = null, NR();
20927
20927
  const t = Ow();
20928
20928
  if (Ke.type !== Ad)
20929
20929
  throw new Error("Unexpect token after expression.");
@@ -21091,7 +21091,7 @@ function OR(e) {
21091
21091
  const Iw = "intersect", cA = "union", Ete = "vlMulti", Cte = "vlPoint", fA = "or", kte = "and", $i = "_vgsid_", qf = Nr($i), Ste = "E", $te = "R", Ate = "R-E", Mte = "R-LE", Tte = "R-RE", Nte = "E-LT", Fte = "E-LTE", Dte = "E-GT", Rte = "E-GTE", Ote = "E-VALID", Lte = "E-ONE", $g = "index:unit";
21092
21092
  function dA(e, t) {
21093
21093
  for (var n = t.fields, r = t.values, i = n.length, o = 0, s, a; o < i; ++o)
21094
- if (a = n[o], s = OR(a)(e), cs(s) && (s = pn(s)), cs(r[o]) && (r[o] = pn(r[o])), B(r[o]) && cs(r[o][0]) && (r[o] = r[o].map(pn)), a.type === Ste) {
21094
+ if (a = n[o], s = OR(a)(e), cs(s) && (s = gn(s)), cs(r[o]) && (r[o] = gn(r[o])), B(r[o]) && cs(r[o][0]) && (r[o] = r[o].map(gn)), a.type === Ste) {
21095
21095
  if (B(r[o]) ? !r[o].includes(s) : s !== r[o])
21096
21096
  return !1;
21097
21097
  } else if (a.type === $te) {
@@ -21178,11 +21178,11 @@ var iy = {
21178
21178
  return e.length ? e.filter((n) => t.includes(n)) : t;
21179
21179
  },
21180
21180
  R_union: function(e, t) {
21181
- var n = pn(t[0]), r = pn(t[1]);
21181
+ var n = gn(t[0]), r = gn(t[1]);
21182
21182
  return n > r && (n = t[1], r = t[0]), e.length ? (e[0] > n && (e[0] = n), e[1] < r && (e[1] = r), e) : [n, r];
21183
21183
  },
21184
21184
  R_intersect: function(e, t) {
21185
- var n = pn(t[0]), r = pn(t[1]);
21185
+ var n = gn(t[0]), r = gn(t[1]);
21186
21186
  return n > r && (n = t[1], r = t[0]), e.length ? r < e[0] || e[1] < n ? [] : (e[0] < n && (e[0] = n), e[1] > r && (e[1] = r), e) : [n, r];
21187
21187
  }
21188
21188
  };
@@ -21436,7 +21436,7 @@ function Rne(e, t, n) {
21436
21436
  function One(e, t, n, r, i) {
21437
21437
  e = Qi(e, (i || this).context);
21438
21438
  const o = FF(t, n);
21439
- let s = e.domain(), a = s[0], l = ze(s), u = xn;
21439
+ let s = e.domain(), a = s[0], l = ze(s), u = wn;
21440
21440
  return l - a ? u = vF(e, a, l) : e = (e.interpolator ? He("sequential")().interpolator(e.interpolator()) : He("linear")().interpolate(e.interpolate()).range(e.range())).domain([a = 0, l = 1]), e.ticks && (s = e.ticks(+r || 15), a !== s[0] && s.unshift(a), l !== ze(s) && s.push(l)), s.forEach((c) => o.stop(u(c), e(c))), o;
21441
21441
  }
21442
21442
  function Lne(e, t, n) {
@@ -21552,7 +21552,7 @@ const Wf = {
21552
21552
  return Tv(e);
21553
21553
  },
21554
21554
  // suppress extra arguments
21555
- toNumber: pn,
21555
+ toNumber: gn,
21556
21556
  toString: Nv,
21557
21557
  indexof: wne,
21558
21558
  join: xne,
@@ -22099,8 +22099,8 @@ function Mre(e, t, n) {
22099
22099
  return a;
22100
22100
  }
22101
22101
  return {
22102
- view: wn(e),
22103
- item: wn(t || {}),
22102
+ view: En(e),
22103
+ item: En(t || {}),
22104
22104
  group: i,
22105
22105
  xy: o,
22106
22106
  x: (s) => o(s)[0],
@@ -22789,7 +22789,7 @@ function AA(e, t, n, r) {
22789
22789
  value: n
22790
22790
  }, 1) : 0;
22791
22791
  }
22792
- function sn(e, t, n) {
22792
+ function an(e, t, n) {
22793
22793
  for (const r in t)
22794
22794
  AA(e, r, t[r]);
22795
22795
  for (const r in n)
@@ -22960,14 +22960,14 @@ function o0(e, t) {
22960
22960
  return (e && e.signal ? "$" + e.signal : e || "") + (e && t ? "_" : "") + (t && t.signal ? "$" + t.signal : t || "");
22961
22961
  }
22962
22962
  const Zw = "scope", Ab = "view";
22963
- function Pt(e) {
22963
+ function zt(e) {
22964
22964
  return e && e.signal;
22965
22965
  }
22966
22966
  function ioe(e) {
22967
22967
  return e && e.expr;
22968
22968
  }
22969
22969
  function up(e) {
22970
- if (Pt(e)) return !0;
22970
+ if (zt(e)) return !0;
22971
22971
  if (J(e)) {
22972
22972
  for (const t in e)
22973
22973
  if (up(e[t])) return !0;
@@ -23296,7 +23296,7 @@ function fse(e, t, n, r) {
23296
23296
  opacity: Ue
23297
23297
  }
23298
23298
  };
23299
- return sn(h, {
23299
+ return an(h, {
23300
23300
  stroke: i("gradientStrokeColor"),
23301
23301
  strokeWidth: i("gradientStrokeWidth")
23302
23302
  }, {
@@ -23335,7 +23335,7 @@ function dse(e, t, n, r, i) {
23335
23335
  opacity: Ue
23336
23336
  }
23337
23337
  };
23338
- return sn(g, {
23338
+ return an(g, {
23339
23339
  stroke: o("gradientStrokeColor"),
23340
23340
  strokeWidth: o("gradientStrokeWidth")
23341
23341
  }, {
@@ -23367,7 +23367,7 @@ function RA(e, t, n, r) {
23367
23367
  opacity: Ue
23368
23368
  }
23369
23369
  };
23370
- return sn(p, {
23370
+ return an(p, {
23371
23371
  fill: i("labelColor"),
23372
23372
  fillOpacity: i("labelOpacity"),
23373
23373
  font: i("labelFont"),
@@ -23427,7 +23427,7 @@ function gse(e, t, n, r, i) {
23427
23427
  }
23428
23428
  };
23429
23429
  let x = null, E = null;
23430
- e.fill || (x = t.symbolBaseFillColor, E = t.symbolBaseStrokeColor), sn(m, {
23430
+ e.fill || (x = t.symbolBaseFillColor, E = t.symbolBaseStrokeColor), an(m, {
23431
23431
  fill: o("symbolFillColor", x),
23432
23432
  shape: o("symbolType"),
23433
23433
  size: o("symbolSize"),
@@ -23472,7 +23472,7 @@ function gse(e, t, n, r, i) {
23472
23472
  exit: {
23473
23473
  opacity: Ue
23474
23474
  }
23475
- }, sn(m, {
23475
+ }, an(m, {
23476
23476
  align: o("labelAlign"),
23477
23477
  baseline: o("labelBaseline"),
23478
23478
  fill: o("labelColor"),
@@ -23571,7 +23571,7 @@ function Cse(e, t, n, r) {
23571
23571
  opacity: Ue
23572
23572
  }
23573
23573
  };
23574
- return sn(o, {
23574
+ return an(o, {
23575
23575
  orient: i("titleOrient"),
23576
23576
  _anchor: i("titleAnchor"),
23577
23577
  anchor: {
@@ -23658,11 +23658,11 @@ function Ase(e, t, n) {
23658
23658
  if (r === "projection")
23659
23659
  return n.projectionRef(t[e.name]);
23660
23660
  }
23661
- return e.array && !Pt(i) ? i.map((o) => LA(e, o, n)) : LA(e, i, n);
23661
+ return e.array && !zt(i) ? i.map((o) => LA(e, o, n)) : LA(e, i, n);
23662
23662
  }
23663
23663
  function LA(e, t, n) {
23664
23664
  const r = e.type;
23665
- if (Pt(t))
23665
+ if (zt(t))
23666
23666
  return PA(r) ? I("Expression references can not be signals.") : uy(r) ? n.fieldRef(t) : zA(r) ? n.compareRef(t) : n.signalRef(t.signal);
23667
23667
  {
23668
23668
  const i = e.expr || uy(r);
@@ -23866,15 +23866,15 @@ function c0(e, t) {
23866
23866
  }
23867
23867
  function Ise(e, t, n) {
23868
23868
  const r = e.method, i = e.bound, o = e.separation, s = {
23869
- separation: Pt(o) ? n.signalRef(o.signal) : o,
23870
- method: Pt(r) ? n.signalRef(r.signal) : r,
23869
+ separation: zt(o) ? n.signalRef(o.signal) : o,
23870
+ method: zt(r) ? n.signalRef(r.signal) : r,
23871
23871
  pulse: t
23872
23872
  };
23873
23873
  if (e.order && (s.sort = n.compareRef({
23874
23874
  field: e.order
23875
23875
  })), i) {
23876
23876
  const a = i.tolerance;
23877
- s.boundTolerance = Pt(a) ? n.signalRef(a.signal) : +a, s.boundScale = n.scaleRef(i.scale), s.boundOrient = i.orient;
23877
+ s.boundTolerance = zt(a) ? n.signalRef(a.signal) : +a, s.boundScale = n.scaleRef(i.scale), s.boundOrient = i.orient;
23878
23878
  }
23879
23879
  return le(n.add(Soe(s)));
23880
23880
  }
@@ -23938,7 +23938,7 @@ function Use(e, t, n) {
23938
23938
  enter: {},
23939
23939
  update: {}
23940
23940
  };
23941
- return sn(r, {
23941
+ return an(r, {
23942
23942
  orient: e("orient"),
23943
23943
  offset: e("offset"),
23944
23944
  padding: e("padding"),
@@ -23997,7 +23997,7 @@ function Vse(e, t) {
23997
23997
  enter: {},
23998
23998
  update: {}
23999
23999
  };
24000
- return sn(n, {
24000
+ return an(n, {
24001
24001
  orient: e("orient"),
24002
24002
  anchor: e("anchor"),
24003
24003
  align: {
@@ -24028,7 +24028,7 @@ function Yse(e, t, n, r) {
24028
24028
  opacity: i
24029
24029
  }
24030
24030
  };
24031
- return sn(s, {
24031
+ return an(s, {
24032
24032
  text: o,
24033
24033
  align: {
24034
24034
  signal: "item.mark.group.align"
@@ -24077,7 +24077,7 @@ function Xse(e, t, n, r) {
24077
24077
  opacity: i
24078
24078
  }
24079
24079
  };
24080
- return sn(s, {
24080
+ return an(s, {
24081
24081
  text: o,
24082
24082
  align: {
24083
24083
  signal: "item.mark.group.align"
@@ -24121,7 +24121,7 @@ function Kse(e, t) {
24121
24121
  function Zse(e, t, n) {
24122
24122
  const r = [];
24123
24123
  let i = null, o = !1, s = !1, a, l, u, c, f;
24124
- for (e.values ? Pt(e.values) || up(e.format) ? (r.push(jA(t, e)), r.push(i = Ks())) : r.push(i = Ks({
24124
+ for (e.values ? zt(e.values) || up(e.format) ? (r.push(jA(t, e)), r.push(i = Ks())) : r.push(i = Ks({
24125
24125
  $ingest: e.values,
24126
24126
  $format: e.format
24127
24127
  })) : e.url ? up(e.url) || up(e.format) ? (r.push(jA(t, e)), r.push(i = Ks())) : r.push(i = Ks({
@@ -24148,11 +24148,11 @@ function jA(e, t) {
24148
24148
  format: e.objectProperty(t.format)
24149
24149
  });
24150
24150
  }
24151
- const z8 = (e) => e === ks || e === hi, f0 = (e, t, n) => Pt(e) ? tae(e.signal, t, n) : e === Qu || e === hi ? t : n, Yt = (e, t, n) => Pt(e) ? Qse(e.signal, t, n) : z8(e) ? t : n, ni = (e, t, n) => Pt(e) ? eae(e.signal, t, n) : z8(e) ? n : t, B8 = (e, t, n) => Pt(e) ? nae(e.signal, t, n) : e === hi ? {
24151
+ const z8 = (e) => e === ks || e === hi, f0 = (e, t, n) => zt(e) ? tae(e.signal, t, n) : e === Qu || e === hi ? t : n, Yt = (e, t, n) => zt(e) ? Qse(e.signal, t, n) : z8(e) ? t : n, ni = (e, t, n) => zt(e) ? eae(e.signal, t, n) : z8(e) ? n : t, B8 = (e, t, n) => zt(e) ? nae(e.signal, t, n) : e === hi ? {
24152
24152
  value: t
24153
24153
  } : {
24154
24154
  value: n
24155
- }, Jse = (e, t, n) => Pt(e) ? rae(e.signal, t, n) : e === ec ? {
24155
+ }, Jse = (e, t, n) => zt(e) ? rae(e.signal, t, n) : e === ec ? {
24156
24156
  value: t
24157
24157
  } : {
24158
24158
  value: n
@@ -24164,7 +24164,7 @@ const z8 = (e) => e === ks || e === hi, f0 = (e, t, n) => Pt(e) ? tae(e.signal,
24164
24164
  signal: `${e} ? (${Ul(t)}) : (${Ul(n)})`
24165
24165
  }), iae = (e, t, n, r, i) => ({
24166
24166
  signal: (r != null ? `${e} === '${Qu}' ? (${Ul(r)}) : ` : "") + (n != null ? `${e} === '${ks}' ? (${Ul(n)}) : ` : "") + (i != null ? `${e} === '${ec}' ? (${Ul(i)}) : ` : "") + (t != null ? `${e} === '${hi}' ? (${Ul(t)}) : ` : "") + "(null)"
24167
- }), Ul = (e) => Pt(e) ? e.signal : e == null ? null : Y(e), oae = (e, t) => t === 0 ? 0 : Pt(e) ? {
24167
+ }), Ul = (e) => zt(e) ? e.signal : e == null ? null : Y(e), oae = (e, t) => t === 0 ? 0 : zt(e) ? {
24168
24168
  signal: `(${e.signal}) * ${t}`
24169
24169
  } : {
24170
24170
  value: e * t
@@ -24213,7 +24213,7 @@ function WA(e) {
24213
24213
  }
24214
24214
  function sae(e, t) {
24215
24215
  var n = t.config, r = n.style, i = n.axis, o = t.scaleType(e.scale) === "band" && n.axisBand, s = e.orient, a, l, u;
24216
- if (Pt(s)) {
24216
+ if (zt(s)) {
24217
24217
  const f = WA([n.axisX, n.axisY]), d = WA([n.axisTop, n.axisBottom, n.axisLeft, n.axisRight]);
24218
24218
  a = {};
24219
24219
  for (u of f)
@@ -24239,7 +24239,7 @@ function aae(e, t, n, r) {
24239
24239
  opacity: Ue
24240
24240
  }
24241
24241
  };
24242
- sn(l, {
24242
+ an(l, {
24243
24243
  stroke: i("domainColor"),
24244
24244
  strokeCap: i("domainCap"),
24245
24245
  strokeDash: i("domainDash"),
@@ -24275,7 +24275,7 @@ function lae(e, t, n, r, i) {
24275
24275
  opacity: Ue
24276
24276
  }
24277
24277
  };
24278
- sn(h, {
24278
+ an(h, {
24279
24279
  stroke: o("gridColor"),
24280
24280
  strokeCap: o("gridCap"),
24281
24281
  strokeDash: o("gridDash"),
@@ -24321,7 +24321,7 @@ function lae(e, t, n, r, i) {
24321
24321
  }
24322
24322
  function uae(e, t) {
24323
24323
  if (t !== 1) if (!J(e))
24324
- e = Pt(t) ? {
24324
+ e = zt(t) ? {
24325
24325
  signal: `(${t.signal}) * (${e || 0})`
24326
24326
  } : t * (e || 0);
24327
24327
  else {
@@ -24330,7 +24330,7 @@ function uae(e, t) {
24330
24330
  if (J(n.mult))
24331
24331
  n = n.mult = Se({}, n.mult);
24332
24332
  else
24333
- return n.mult = Pt(t) ? {
24333
+ return n.mult = zt(t) ? {
24334
24334
  signal: `(${n.mult}) * (${t.signal})`
24335
24335
  } : n.mult * t, e;
24336
24336
  n.mult = t;
@@ -24351,7 +24351,7 @@ function cae(e, t, n, r, i, o) {
24351
24351
  opacity: Ue
24352
24352
  }
24353
24353
  };
24354
- sn(d, {
24354
+ an(d, {
24355
24355
  stroke: s("tickColor"),
24356
24356
  strokeCap: s("tickCap"),
24357
24357
  strokeDash: s("tickDash"),
@@ -24420,10 +24420,10 @@ function fae(e, t, n, r, i, o) {
24420
24420
  y: x.y
24421
24421
  }
24422
24422
  };
24423
- sn(E, {
24423
+ an(E, {
24424
24424
  dx: !d && p ? Yt(a, v) : null,
24425
24425
  dy: !h && p ? ni(a, v) : null
24426
- }), sn(E, {
24426
+ }), an(E, {
24427
24427
  angle: s("labelAngle"),
24428
24428
  fill: s("labelColor"),
24429
24429
  fillOpacity: s("labelOpacity"),
@@ -24481,7 +24481,7 @@ function dae(e, t, n, r) {
24481
24481
  };
24482
24482
  return l.x = Yt(o, c), l.y = ni(o, c), a.angle = Yt(o, Ue, oae(s, 90)), a.baseline = Yt(o, B8(o, ks, hi), {
24483
24483
  value: ks
24484
- }), l.angle = a.angle, l.baseline = a.baseline, sn(u, {
24484
+ }), l.angle = a.angle, l.baseline = a.baseline, an(u, {
24485
24485
  fill: i("titleColor"),
24486
24486
  fillOpacity: i("titleOpacity"),
24487
24487
  font: i("titleFont"),
@@ -24543,7 +24543,7 @@ function gae(e, t) {
24543
24543
  enter: {},
24544
24544
  update: {}
24545
24545
  };
24546
- return sn(n, {
24546
+ return an(n, {
24547
24547
  orient: e("orient"),
24548
24548
  offset: e("offset") || 0,
24549
24549
  position: Vr(t.position, 0),
@@ -24725,7 +24725,7 @@ q8.prototype = GA.prototype = {
24725
24725
  },
24726
24726
  compareRef(e) {
24727
24727
  let t = !1;
24728
- const n = (o) => Pt(o) ? (t = !0, this.signalRef(o.signal)) : ioe(o) ? (t = !0, this.exprRef(o.expr)) : o, r = ee(e.field).map(n), i = ee(e.order).map(n);
24728
+ const n = (o) => zt(o) ? (t = !0, this.signalRef(o.signal)) : ioe(o) ? (t = !0, this.exprRef(o.expr)) : o, r = ee(e.field).map(n), i = ee(e.order).map(n);
24729
24729
  return t ? le(this.add(FA({
24730
24730
  fields: r,
24731
24731
  orders: i
@@ -24733,7 +24733,7 @@ q8.prototype = GA.prototype = {
24733
24733
  },
24734
24734
  keyRef(e, t) {
24735
24735
  let n = !1;
24736
- const r = (o) => Pt(o) ? (n = !0, le(i[o.signal])) : o, i = this.signals;
24736
+ const r = (o) => zt(o) ? (n = !0, le(i[o.signal])) : o, i = this.signals;
24737
24737
  return e = ee(e).map(r), n ? le(this.add(voe({
24738
24738
  fields: e,
24739
24739
  flat: t
@@ -25080,7 +25080,7 @@ const Cae = Eae, kae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
25080
25080
  CanvasHandler: Ed,
25081
25081
  CanvasRenderer: Gp,
25082
25082
  DATE: Xn,
25083
- DAY: hn,
25083
+ DAY: pn,
25084
25084
  DAYOFYEAR: Ui,
25085
25085
  Dataflow: ql,
25086
25086
  Debug: BT,
@@ -25097,7 +25097,7 @@ const Cae = Eae, kae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
25097
25097
  Item: Dm,
25098
25098
  MILLISECONDS: oi,
25099
25099
  MINUTES: yr,
25100
- MONTH: _n,
25100
+ MONTH: bn,
25101
25101
  Marks: _r,
25102
25102
  MultiPulse: Hv,
25103
25103
  None: PT,
@@ -25116,11 +25116,11 @@ const Cae = Eae, kae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
25116
25116
  TIME_UNITS: Ov,
25117
25117
  Transform: L,
25118
25118
  View: a8,
25119
- WEEK: Lt,
25119
+ WEEK: It,
25120
25120
  Warn: xv,
25121
- YEAR: on,
25121
+ YEAR: sn,
25122
25122
  accessor: er,
25123
- accessorFields: yn,
25123
+ accessorFields: _n,
25124
25124
  accessorName: _t,
25125
25125
  array: ee,
25126
25126
  ascending: Bu,
@@ -25136,7 +25136,7 @@ const Cae = Eae, kae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
25136
25136
  clampRange: ZT,
25137
25137
  codegenExpression: RR,
25138
25138
  compare: kv,
25139
- constant: wn,
25139
+ constant: En,
25140
25140
  cumulativeLogNormal: tx,
25141
25141
  cumulativeNormal: hm,
25142
25142
  cumulativeUniform: ox,
@@ -25147,7 +25147,7 @@ const Cae = Eae, kae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
25147
25147
  densityLogNormal: ex,
25148
25148
  densityNormal: Kv,
25149
25149
  densityUniform: ix,
25150
- domChild: Ot,
25150
+ domChild: Lt,
25151
25151
  domClear: Er,
25152
25152
  domCreate: ns,
25153
25153
  domFind: T2,
@@ -25169,7 +25169,7 @@ const Cae = Eae, kae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
25169
25169
  formats: qv,
25170
25170
  hasOwnProperty: ne,
25171
25171
  id: rd,
25172
- identity: xn,
25172
+ identity: wn,
25173
25173
  inferType: oN,
25174
25174
  inferTypes: sN,
25175
25175
  ingest: Ge,
@@ -25285,7 +25285,7 @@ const Cae = Eae, kae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
25285
25285
  timeUnits: Lv,
25286
25286
  toBoolean: Mv,
25287
25287
  toDate: Tv,
25288
- toNumber: pn,
25288
+ toNumber: gn,
25289
25289
  toSet: ii,
25290
25290
  toString: Nv,
25291
25291
  transform: yN,
@@ -26334,7 +26334,7 @@ function fO(e) {
26334
26334
  function nt(e) {
26335
26335
  return e === !0 || dl(e) && !e.binned;
26336
26336
  }
26337
- function Jt(e) {
26337
+ function Qt(e) {
26338
26338
  return e === "binned" || dl(e) && e.binned === !0;
26339
26339
  }
26340
26340
  function dl(e) {
@@ -26370,10 +26370,10 @@ function YA(e) {
26370
26370
  function Pd(e) {
26371
26371
  return W(e, "expr");
26372
26372
  }
26373
- function Qt(e, { level: t } = { level: 0 }) {
26373
+ function en(e, { level: t } = { level: 0 }) {
26374
26374
  const n = q(e || {}), r = {};
26375
26375
  for (const i of n)
26376
- r[i] = t === 0 ? or(e[i]) : Qt(e[i], { level: t - 1 });
26376
+ r[i] = t === 0 ? or(e[i]) : en(e[i], { level: t - 1 });
26377
26377
  return r;
26378
26378
  }
26379
26379
  function dO(e) {
@@ -27155,7 +27155,7 @@ function PO(e, t = !0) {
27155
27155
  if (Wue(e))
27156
27156
  return E0(a, e.valid);
27157
27157
  if (IE(e)) {
27158
- const { range: l } = Qt(e), u = se(l) ? { signal: `${l.signal}[0]` } : l[0], c = se(l) ? { signal: `${l.signal}[1]` } : l[1];
27158
+ const { range: l } = en(e), u = se(l) ? { signal: `${l.signal}[0]` } : l[0], c = se(l) ? { signal: `${l.signal}[1]` } : l[1];
27159
27159
  if (u !== null && c !== null && t)
27160
27160
  return `inrange(${a}, [${wi(u, i)}, ${wi(c, i)}])`;
27161
27161
  const f = [];
@@ -27206,7 +27206,7 @@ function Yue(e) {
27206
27206
  return "geojson";
27207
27207
  }
27208
27208
  }
27209
- const en = {
27209
+ const tn = {
27210
27210
  // Continuous - Quantitative
27211
27211
  LINEAR: "linear",
27212
27212
  LOG: "log",
@@ -27455,7 +27455,7 @@ function WO(e, t) {
27455
27455
  }
27456
27456
  }
27457
27457
  function sce(e, t) {
27458
- return Re([BE, UE], t) ? e === void 0 || bt(e) : t === Cu ? Re([en.TIME, en.UTC, void 0], e) : t === Ha ? UO(e) || ku(e) || e === void 0 : !0;
27458
+ return Re([BE, UE], t) ? e === void 0 || bt(e) : t === Cu ? Re([tn.TIME, tn.UTC, void 0], e) : t === Ha ? UO(e) || ku(e) || e === void 0 : !0;
27459
27459
  }
27460
27460
  function ace(e, t, n = !1) {
27461
27461
  if (!io(e))
@@ -27705,7 +27705,7 @@ function YE({ channel: e, channelDef: t, channel2Def: n, markDef: r, config: i,
27705
27705
  return a?.impute ? Ca(t, o, { binSuffix: "mid" }, { offset: l }) : c && !bt(f) ? Ig({ scaleName: o, fieldOrDatumDef: t, bandPosition: c, offset: l }) : Ca(t, o, Wd(t, e) ? { binSuffix: "range" } : {}, {
27706
27706
  offset: l
27707
27707
  });
27708
- if (Jt(d)) {
27708
+ if (Qt(d)) {
27709
27709
  if (G(n))
27710
27710
  return Ig({
27711
27711
  scaleName: o,
@@ -27799,7 +27799,7 @@ function XE({ fieldOrDatumDef: e, format: t, formatType: n, expr: r, normalizeSt
27799
27799
  format: t,
27800
27800
  formatType: o.timeFormatType,
27801
27801
  rawTimeFormat: o.timeFormat,
27802
- isUTCScale: c || ml(e) && e.scale?.type === en.UTC
27802
+ isUTCScale: c || ml(e) && e.scale?.type === tn.UTC
27803
27803
  });
27804
27804
  return f ? { signal: f } : void 0;
27805
27805
  }
@@ -28163,7 +28163,7 @@ function ui(e) {
28163
28163
  if (T0(e))
28164
28164
  return e.condition;
28165
28165
  }
28166
- function It(e) {
28166
+ function Pt(e) {
28167
28167
  if (be(e))
28168
28168
  return e;
28169
28169
  if (qd(e))
@@ -28204,7 +28204,7 @@ function Wce(e) {
28204
28204
  }
28205
28205
  function eC(e, t, { compositeMark: n = !1 } = {}) {
28206
28206
  const { aggregate: r, timeUnit: i, bin: o, field: s } = e, a = { ...e };
28207
- if (!n && r && !CE(r) && !qs(r) && !Do(r) && (H(Wle(r)), delete a.aggregate), i && (a.timeUnit = Xt(i)), s && (a.field = `${s}`), nt(o) && (a.bin = N0(o, t)), Jt(o) && !kt(t) && H(Eue(t)), Pn(a)) {
28207
+ if (!n && r && !CE(r) && !qs(r) && !Do(r) && (H(Wle(r)), delete a.aggregate), i && (a.timeUnit = Xt(i)), s && (a.field = `${s}`), nt(o) && (a.bin = N0(o, t)), Qt(o) && !kt(t) && H(Eue(t)), Pn(a)) {
28208
28208
  const { type: l } = a, u = Yue(l);
28209
28209
  l !== u && (a.type = u), l !== "quantitative" && b0(r) && (H(qle(l, r)), a.type = "quantitative");
28210
28210
  } else if (!oO(t)) {
@@ -28734,7 +28734,7 @@ function Kce(e, t, n) {
28734
28734
  if (r) {
28735
28735
  if (r === "binned") {
28736
28736
  const i = e[t === pi ? ut : Zt];
28737
- return !!(G(i) && G(e[t]) && Jt(i.bin));
28737
+ return !!(G(i) && G(e[t]) && Qt(i.bin));
28738
28738
  }
28739
28739
  } else return !1;
28740
28740
  return !0;
@@ -29021,7 +29021,7 @@ function S9(e, { config: t }) {
29021
29021
  a,
29022
29022
  // TODO: https://github.com/vega/vega-lite/issues/6245
29023
29023
  t
29024
- ), c = a.invalid, f = k9(l), { bins: d, timeUnits: h, transform: p, continuousAxisChannelDef: g, continuousAxis: m, groupby: y, aggregate: _, encodingWithoutContinuousAxis: b, ticksOrient: v, boxOrient: x, customTooltipWithoutAggregatedField: E } = rfe(e, l, t), w = tc(g.field), { color: k, size: S, ...A } = b, T = (Dt) => rC(a, m, g, Dt, t.boxplot), F = T(A), D = T(b), N = (J(t.boxplot.box) ? t.boxplot.box.color : t.mark.color) || "#4c78a8", $ = T({
29024
+ ), c = a.invalid, f = k9(l), { bins: d, timeUnits: h, transform: p, continuousAxisChannelDef: g, continuousAxis: m, groupby: y, aggregate: _, encodingWithoutContinuousAxis: b, ticksOrient: v, boxOrient: x, customTooltipWithoutAggregatedField: E } = rfe(e, l, t), w = tc(g.field), { color: k, size: S, ...A } = b, T = (Rt) => rC(a, m, g, Rt, t.boxplot), F = T(A), D = T(b), N = (J(t.boxplot.box) ? t.boxplot.box.color : t.mark.color) || "#4c78a8", $ = T({
29025
29025
  ...A,
29026
29026
  ...S ? { size: S } : {},
29027
29027
  color: {
@@ -29104,10 +29104,10 @@ function S9(e, { config: t }) {
29104
29104
  transform: (s.transform ?? []).concat(p),
29105
29105
  layer: V
29106
29106
  };
29107
- const ae = Xe(`lower_box_${g.field}`), re = Xe(`upper_box_${g.field}`), fe = `(${re} - ${ae})`, Be = `${ae} - ${l} * ${fe}`, pe = `${re} + ${l} * ${fe}`, Le = Xe(g.field), Ut = {
29107
+ const ae = Xe(`lower_box_${g.field}`), re = Xe(`upper_box_${g.field}`), fe = `(${re} - ${ae})`, Be = `${ae} - ${l} * ${fe}`, pe = `${re} + ${l} * ${fe}`, Le = Xe(g.field), Dt = {
29108
29108
  joinaggregate: $9(g.field),
29109
29109
  groupby: y
29110
- }, En = {
29110
+ }, Jt = {
29111
29111
  transform: [
29112
29112
  {
29113
29113
  filter: `(${Be} <= ${Le}) && (${Le} <= ${pe})`
@@ -29158,11 +29158,11 @@ function S9(e, { config: t }) {
29158
29158
  }
29159
29159
  })[0];
29160
29160
  let ht;
29161
- const xt = [...d, ...h, Ut];
29161
+ const xt = [...d, ...h, Dt];
29162
29162
  return Ie ? ht = {
29163
29163
  transform: xt,
29164
- layer: [Ie, En]
29165
- } : (ht = En, ht.transform.unshift(...xt)), {
29164
+ layer: [Ie, Jt]
29165
+ } : (ht = Jt, ht.transform.unshift(...xt)), {
29166
29166
  ...s,
29167
29167
  layer: [
29168
29168
  ht,
@@ -29954,19 +29954,19 @@ function B9(e = {}) {
29954
29954
  for (const l of ["background", "lineBreak", "padding"])
29955
29955
  s[l] && (a[l] = or(s[l]));
29956
29956
  for (const l of YO)
29957
- s[l] && (a[l] = Qt(s[l]));
29957
+ s[l] && (a[l] = en(s[l]));
29958
29958
  for (const l of m9)
29959
29959
  s[l] && (a[l] = z9(s[l]));
29960
29960
  for (const l of R9)
29961
- s[l] && (a[l] = Qt(s[l]));
29962
- if (s.legend && (a.legend = Qt(s.legend)), s.scale) {
29963
- const { invalid: l, ...u } = s.scale, c = Qt(l, { level: 1 });
29961
+ s[l] && (a[l] = en(s[l]));
29962
+ if (s.legend && (a.legend = en(s.legend)), s.scale) {
29963
+ const { invalid: l, ...u } = s.scale, c = en(l, { level: 1 });
29964
29964
  a.scale = {
29965
- ...Qt(u),
29965
+ ...en(u),
29966
29966
  ...q(c).length > 0 ? { invalid: c } : {}
29967
29967
  };
29968
29968
  }
29969
- return s.style && (a.style = Tfe(s.style)), s.title && (a.title = Qt(s.title)), s.view && (a.view = Qt(s.view)), a;
29969
+ return s.style && (a.style = Tfe(s.style)), s.title && (a.title = en(s.title)), s.view && (a.view = en(s.view)), a;
29970
29970
  }
29971
29971
  const Ffe = /* @__PURE__ */ new Set(["view", ...dce]), Dfe = [
29972
29972
  "color",
@@ -30201,7 +30201,7 @@ function U9(e, t) {
30201
30201
  return g;
30202
30202
  }, []);
30203
30203
  let p;
30204
- return o.stack !== void 0 ? el(o.stack) ? p = o.stack ? "zero" : null : p = o.stack : qfe.has(r) && (p = "zero"), !p || !Ufe(p) || b9(t) && h.length === 0 ? null : (o?.scale?.type && o?.scale?.type !== en.LINEAR && o?.stack && H(yue(o.scale.type)), be(t[ro(i)]) ? (o.stack !== void 0 && H(mue(i)), null) : (G(o) && o.aggregate && !cle.has(o.aggregate) && H(_ue(o.aggregate)), {
30204
+ return o.stack !== void 0 ? el(o.stack) ? p = o.stack ? "zero" : null : p = o.stack : qfe.has(r) && (p = "zero"), !p || !Ufe(p) || b9(t) && h.length === 0 ? null : (o?.scale?.type && o?.scale?.type !== tn.LINEAR && o?.stack && H(yue(o.scale.type)), be(t[ro(i)]) ? (o.stack !== void 0 && H(mue(i)), null) : (G(o) && o.aggregate && !cle.has(o.aggregate) && H(_ue(o.aggregate)), {
30205
30205
  groupbyChannels: l,
30206
30206
  groupbyFields: u,
30207
30207
  fieldChannel: i,
@@ -30211,7 +30211,7 @@ function U9(e, t) {
30211
30211
  }));
30212
30212
  }
30213
30213
  function j9(e, t, n) {
30214
- const r = Qt(e), i = Ye("orient", r, n);
30214
+ const r = en(e), i = Ye("orient", r, n);
30215
30215
  if (r.orient = Yfe(r.type, t, i), i !== void 0 && i !== r.orient && H(Qle(r.orient, i)), r.type === "bar" && r.orient) {
30216
30216
  const l = Ye("cornerRadiusEnd", r, n);
30217
30217
  if (l !== void 0) {
@@ -30251,28 +30251,28 @@ function Yfe(e, t, n) {
30251
30251
  switch (e) {
30252
30252
  case GO:
30253
30253
  case k0:
30254
- if (G(r) && (Jt(r.bin) || G(i) && i.aggregate && !r.aggregate))
30254
+ if (G(r) && (Qt(r.bin) || G(i) && i.aggregate && !r.aggregate))
30255
30255
  return "vertical";
30256
- if (G(i) && (Jt(i.bin) || G(r) && r.aggregate && !i.aggregate))
30256
+ if (G(i) && (Qt(i.bin) || G(r) && r.aggregate && !i.aggregate))
30257
30257
  return "horizontal";
30258
30258
  if (s || o) {
30259
30259
  if (n)
30260
30260
  return n;
30261
30261
  if (!o)
30262
- return (G(r) && r.type === Ha && !nt(r.bin) || Pg(r)) && G(i) && Jt(i.bin) ? "horizontal" : "vertical";
30262
+ return (G(r) && r.type === Ha && !nt(r.bin) || Pg(r)) && G(i) && Qt(i.bin) ? "horizontal" : "vertical";
30263
30263
  if (!s)
30264
- return (G(i) && i.type === Ha && !nt(i.bin) || Pg(i)) && G(r) && Jt(r.bin) ? "vertical" : "horizontal";
30264
+ return (G(i) && i.type === Ha && !nt(i.bin) || Pg(i)) && G(r) && Qt(r.bin) ? "vertical" : "horizontal";
30265
30265
  }
30266
30266
  // falls through
30267
30267
  case Lg:
30268
- if (o && !(G(r) && Jt(r.bin)) && s && !(G(i) && Jt(i.bin)))
30268
+ if (o && !(G(r) && Qt(r.bin)) && s && !(G(i) && Qt(i.bin)))
30269
30269
  return;
30270
30270
  // falls through
30271
30271
  case C0:
30272
30272
  if (s)
30273
- return G(i) && Jt(i.bin) ? "horizontal" : "vertical";
30273
+ return G(i) && Qt(i.bin) ? "horizontal" : "vertical";
30274
30274
  if (o)
30275
- return G(r) && Jt(r.bin) ? "vertical" : "horizontal";
30275
+ return G(r) && Qt(r.bin) ? "vertical" : "horizontal";
30276
30276
  if (e === Lg) {
30277
30277
  if (r && !i)
30278
30278
  return "vertical";
@@ -30475,7 +30475,7 @@ class Qfe {
30475
30475
  if (r === "line" || Hi(r) && r.type === "line")
30476
30476
  for (const i of Yae) {
30477
30477
  const o = fl(i), s = n[o];
30478
- if (n[i] && (G(s) && !Jt(s.bin) || oo(s)))
30478
+ if (n[i] && (G(s) && !Qt(s.bin) || oo(s)))
30479
30479
  return !0;
30480
30480
  }
30481
30481
  }
@@ -31458,7 +31458,7 @@ function sL(e) {
31458
31458
  const { signals: t, hasLegend: n, index: r, ...i } = e;
31459
31459
  return i.field = Lr(i.field), i;
31460
31460
  }
31461
- function Ya(e, t = !0, n = xn) {
31461
+ function Ya(e, t = !0, n = wn) {
31462
31462
  if (B(e)) {
31463
31463
  const r = e.map((i) => Ya(i, t, n));
31464
31464
  return t ? `[${r.join(", ")}]` : r;
@@ -31862,7 +31862,7 @@ function fL(e, t, n, { reactiveGeom: r } = {}) {
31862
31862
  let m;
31863
31863
  if (kt(f)) {
31864
31864
  const y = f === "x" ? "x2" : "y2", _ = ui(e[y]);
31865
- if (Jt(h.bin) && _) {
31865
+ if (Qt(h.bin) && _) {
31866
31866
  const b = K(h, { expr: s }), v = K(_, { expr: s }), { format: x, formatType: E } = Au(h);
31867
31867
  m = Bd(b, v, x, E, i), o.add(y);
31868
31868
  }
@@ -31942,7 +31942,7 @@ function Xde(e) {
31942
31942
  }
31943
31943
  };
31944
31944
  }
31945
- function tn(e, t, n = {}) {
31945
+ function nn(e, t, n = {}) {
31946
31946
  const { markDef: r, encoding: i, config: o } = t, { vgChannel: s } = n;
31947
31947
  let { defaultRef: a, defaultValue: l } = n;
31948
31948
  const u = i[e];
@@ -31988,15 +31988,15 @@ function hL(e, t = { filled: void 0 }) {
31988
31988
  };
31989
31989
  return n.color && (s ? n.fill : n.stroke) && H(EO("property", { fill: "fill" in n, stroke: "stroke" in n })), {
31990
31990
  ...f,
31991
- ...tn("color", e, {
31991
+ ...nn("color", e, {
31992
31992
  vgChannel: c,
31993
31993
  defaultValue: s ? l : u
31994
31994
  }),
31995
- ...tn("fill", e, {
31995
+ ...nn("fill", e, {
31996
31996
  // if there is encoding.fill, include default fill just in case we have conditional-only fill encoding
31997
31997
  defaultValue: r.fill ? l : void 0
31998
31998
  }),
31999
- ...tn("stroke", e, {
31999
+ ...nn("stroke", e, {
32000
32000
  // if there is encoding.stroke, include default fill just in case we have conditional-only stroke encoding
32001
32001
  defaultValue: r.stroke ? u : void 0
32002
32002
  })
@@ -32220,7 +32220,7 @@ function Mh(e, t) {
32220
32220
  }
32221
32221
  function Ro(e, t) {
32222
32222
  const { config: n, encoding: r, markDef: i } = e, o = i.type, s = ro(t), a = Qn(t), l = r[t], u = r[s], c = e.getScaleComponent(t), f = c ? c.get("type") : void 0, d = i.orient, h = r[a] ?? r.size ?? Ye("size", i, n, { vgChannel: a }), p = sO(t), g = o === "bar" && (t === "x" ? d === "vertical" : d === "horizontal") || o === "tick" && (t === "y" ? d === "vertical" : d === "horizontal");
32223
- return G(l) && (nt(l.bin) || Jt(l.bin) || l.timeUnit && !u) && !(h && !Ga(h)) && !r[p] && !bt(f) ? ihe({
32223
+ return G(l) && (nt(l.bin) || Qt(l.bin) || l.timeUnit && !u) && !(h && !Ga(h)) && !r[p] && !bt(f) ? ihe({
32224
32224
  fieldDef: l,
32225
32225
  fieldDef2: u,
32226
32226
  channel: t,
@@ -32269,7 +32269,7 @@ function rhe(e, t, n) {
32269
32269
  a === "horizontal" && t === "y" || a === "vertical" && t === "x"
32270
32270
  );
32271
32271
  let m;
32272
- (i.size || r.size) && (g ? m = tn("size", n, {
32272
+ (i.size || r.size) && (g ? m = nn("size", n, {
32273
32273
  vgChannel: c,
32274
32274
  defaultRef: it(r.size)
32275
32275
  }) : H(oue(r.type)));
@@ -32342,7 +32342,7 @@ function ihe({ fieldDef: e, fieldDef2: t, channel: n, model: r }) {
32342
32342
  useRectOffsetField: A
32343
32343
  })
32344
32344
  };
32345
- } else if (Jt(e.bin)) {
32345
+ } else if (Qt(e.bin)) {
32346
32346
  const A = Ca(e, l, {}, { offset: w });
32347
32347
  if (G(t))
32348
32348
  return {
@@ -32379,11 +32379,11 @@ function Br(e, t) {
32379
32379
  ...she(e.markDef, t),
32380
32380
  ...O3("fill", n),
32381
32381
  ...O3("stroke", r),
32382
- ...tn("opacity", e),
32383
- ...tn("fillOpacity", e),
32384
- ...tn("strokeOpacity", e),
32385
- ...tn("strokeWidth", e),
32386
- ...tn("strokeDash", e),
32382
+ ...nn("opacity", e),
32383
+ ...nn("fillOpacity", e),
32384
+ ...nn("strokeOpacity", e),
32385
+ ...nn("strokeWidth", e),
32386
+ ...nn("strokeDash", e),
32387
32387
  ...Kde(e),
32388
32388
  ...cL(e),
32389
32389
  ...gC(e, "href"),
@@ -33011,7 +33011,7 @@ const B3 = {
33011
33011
  zindex: ({ axis: e, fieldOrDatumDef: t, mark: n }) => e.zindex ?? Ahe(n, t)
33012
33012
  };
33013
33013
  function bhe(e, t) {
33014
- return !bt(e) && G(t) && !nt(t?.bin) && !Jt(t?.bin);
33014
+ return !bt(e) && G(t) && !nt(t?.bin) && !Qt(t?.bin);
33015
33015
  }
33016
33016
  function vhe(e, t) {
33017
33017
  const n = t === "x" ? "y" : "x";
@@ -33655,7 +33655,7 @@ function HL(e) {
33655
33655
  function Khe(e) {
33656
33656
  const { encoding: t } = e, n = {};
33657
33657
  for (const r of [Zn, ...O9]) {
33658
- const i = It(t[r]);
33658
+ const i = Pt(t[r]);
33659
33659
  !i || !e.getScaleComponent(r) || r === Jn && G(i) && i.type === rc || (n[r] = Qhe(e, r));
33660
33660
  }
33661
33661
  return n;
@@ -33691,7 +33691,7 @@ function Qhe(e, t) {
33691
33691
  if (a.set("disable", l, n !== void 0), l)
33692
33692
  return a;
33693
33693
  n = n || {};
33694
- const u = e.getScaleComponent(t).get("type"), c = It(i[t]), f = G(c) ? Xt(c.timeUnit)?.unit : void 0, d = n.orient || o.legend.orient || "right", h = Whe({ legend: n, channel: t, timeUnit: f, scaleType: u }), p = Ghe({ legend: n, legendType: h, orient: d, legendConfig: s }), g = {
33694
+ const u = e.getScaleComponent(t).get("type"), c = Pt(i[t]), f = G(c) ? Xt(c.timeUnit)?.unit : void 0, d = n.orient || o.legend.orient || "right", h = Whe({ legend: n, channel: t, timeUnit: f, scaleType: u }), p = Ghe({ legend: n, legendType: h, orient: d, legendConfig: s }), g = {
33695
33695
  legend: n,
33696
33696
  channel: t,
33697
33697
  model: e,
@@ -34221,10 +34221,10 @@ function cpe(e) {
34221
34221
  }
34222
34222
  return t;
34223
34223
  }
34224
- class gn extends Je {
34224
+ class mn extends Je {
34225
34225
  _parse;
34226
34226
  clone() {
34227
- return new gn(null, _e(this._parse));
34227
+ return new mn(null, _e(this._parse));
34228
34228
  }
34229
34229
  constructor(t, n) {
34230
34230
  super(t), this._parse = n;
@@ -34259,7 +34259,7 @@ class gn extends Je {
34259
34259
  const l = o.get(a);
34260
34260
  l !== null && (s[a] = l);
34261
34261
  }
34262
- return q(s).length === 0 || i.parseNothing ? null : new gn(t, s);
34262
+ return q(s).length === 0 || i.parseNothing ? null : new mn(t, s);
34263
34263
  }
34264
34264
  get parse() {
34265
34265
  return this._parse;
@@ -34485,7 +34485,7 @@ class dpe extends $C {
34485
34485
  super(), this.requiresSelectionId = t && bC(t);
34486
34486
  }
34487
34487
  run(t) {
34488
- t instanceof Ts && (this.requiresSelectionId && (kC(t.parent) || t.parent instanceof ri || t.parent instanceof gn) || (this.setModified(), t.remove()));
34488
+ t instanceof Ts && (this.requiresSelectionId && (kC(t.parent) || t.parent instanceof ri || t.parent instanceof mn) || (this.setModified(), t.remove()));
34489
34489
  }
34490
34490
  }
34491
34491
  class hpe extends SC {
@@ -34511,8 +34511,8 @@ class gpe extends yl {
34511
34511
  run(t) {
34512
34512
  if (!kC(t) && !(t.numChildren() > 1)) {
34513
34513
  for (const n of t.children)
34514
- if (n instanceof gn)
34515
- if (t instanceof gn)
34514
+ if (n instanceof mn)
34515
+ if (t instanceof mn)
34516
34516
  this.setModified(), t.merge(n);
34517
34517
  else {
34518
34518
  if (pE(t.producedFields(), n.dependentFields()))
@@ -34524,7 +34524,7 @@ class gpe extends yl {
34524
34524
  }
34525
34525
  class mpe extends yl {
34526
34526
  run(t) {
34527
- const n = [...t.children], r = t.children.filter((i) => i instanceof gn);
34527
+ const n = [...t.children], r = t.children.filter((i) => i instanceof mn);
34528
34528
  if (t.numChildren() > 1 && r.length >= 1) {
34529
34529
  const i = {}, o = /* @__PURE__ */ new Set();
34530
34530
  for (const s of r) {
@@ -34536,12 +34536,12 @@ class mpe extends yl {
34536
34536
  delete i[s];
34537
34537
  if (!tt(i)) {
34538
34538
  this.setModified();
34539
- const s = new gn(t, i);
34539
+ const s = new mn(t, i);
34540
34540
  for (const a of n) {
34541
- if (a instanceof gn)
34541
+ if (a instanceof mn)
34542
34542
  for (const l of q(i))
34543
34543
  delete a.parse[l];
34544
- t.removeChild(a), a.parent = s, a instanceof gn && q(a.parse).length === 0 && a.remove();
34544
+ t.removeChild(a), a.parent = s, a instanceof mn && q(a.parse).length === 0 && a.remove();
34545
34545
  }
34546
34546
  }
34547
34547
  }
@@ -34582,7 +34582,7 @@ class vpe extends yl {
34582
34582
  super(), this.model = t;
34583
34583
  }
34584
34584
  run(t) {
34585
- const n = !(kC(t) || t instanceof oc || t instanceof gn || t instanceof Ts), r = [], i = [];
34585
+ const n = !(kC(t) || t instanceof oc || t instanceof mn || t instanceof Ts), r = [], i = [];
34586
34586
  for (const o of t.children)
34587
34587
  o instanceof Ii && (n && !pE(t.producedFields(), o.dependentFields()) ? r.push(o) : i.push(o));
34588
34588
  if (r.length > 0) {
@@ -35032,7 +35032,7 @@ function Mpe(e, t) {
35032
35032
  return i !== e.scaleDomain(t) && (e.specifiedScales[t] = {
35033
35033
  ...e.specifiedScales[t],
35034
35034
  domain: i
35035
- }), t === "x" && It(r.x2) ? It(r.x) ? Ms(Yo(n, i, e, "x"), Yo(n, i, e, "x2"), "domain", "scale", sv) : Yo(n, i, e, "x2") : t === "y" && It(r.y2) ? It(r.y) ? Ms(Yo(n, i, e, "y"), Yo(n, i, e, "y2"), "domain", "scale", sv) : Yo(n, i, e, "y2") : Yo(n, i, e, t);
35035
+ }), t === "x" && Pt(r.x2) ? Pt(r.x) ? Ms(Yo(n, i, e, "x"), Yo(n, i, e, "x2"), "domain", "scale", sv) : Yo(n, i, e, "x2") : t === "y" && Pt(r.y2) ? Pt(r.y) ? Ms(Yo(n, i, e, "y"), Yo(n, i, e, "y2"), "domain", "scale", sv) : Yo(n, i, e, "y2") : Yo(n, i, e, t);
35036
35036
  }
35037
35037
  function Tpe(e, t, n) {
35038
35038
  return e.map((r) => ({ signal: `{data: ${F0(r, { timeUnit: n, type: t })}}` }));
@@ -35042,7 +35042,7 @@ function Ey(e, t, n) {
35042
35042
  return t === "temporal" || r ? Tpe(e, t, r) : [e];
35043
35043
  }
35044
35044
  function Yo(e, t, n, r) {
35045
- const { encoding: i, markDef: o, mark: s, config: a, stack: l } = n, u = It(i[r]), { type: c } = u, f = u.timeUnit, d = Fde({
35045
+ const { encoding: i, markDef: o, mark: s, config: a, stack: l } = n, u = Pt(i[r]), { type: c } = u, f = u.timeUnit, d = Fde({
35046
35046
  invalid: Wi("invalid", o, a),
35047
35047
  isPath: Ws(s)
35048
35048
  });
@@ -35484,8 +35484,8 @@ function e7(e) {
35484
35484
  }
35485
35485
  function Wpe(e) {
35486
35486
  if (e.hasProjection) {
35487
- const t = Qt(e.specifiedProjection), n = !(t && (t.scale != null || t.translate != null)), r = n ? [e.getSizeSignalRef("width"), e.getSizeSignalRef("height")] : void 0, i = n ? Hpe(e) : void 0, o = new QL(e.projectionName(!0), {
35488
- ...Qt(e.config.projection),
35487
+ const t = en(e.specifiedProjection), n = !(t && (t.scale != null || t.translate != null)), r = n ? [e.getSizeSignalRef("width"), e.getSizeSignalRef("height")] : void 0, i = n ? Hpe(e) : void 0, o = new QL(e.projectionName(!0), {
35488
+ ...en(e.config.projection),
35489
35489
  ...t
35490
35490
  }, r, i);
35491
35491
  return o.get("type") || o.set("type", "equalEarth", !1), o;
@@ -35497,7 +35497,7 @@ function Hpe(e) {
35497
35497
  [yi, mi],
35498
35498
  [Ir, _i]
35499
35499
  ])
35500
- (It(n[r[0]]) || It(n[r[1]])) && t.push({
35500
+ (Pt(n[r[0]]) || Pt(n[r[1]])) && t.push({
35501
35501
  signal: e.getName(`geojson_${t.length}`)
35502
35502
  });
35503
35503
  return e.channelHasField(Jn) && e.typedFieldDef(Jn).type === rc && t.push({
@@ -35589,11 +35589,11 @@ class n7 extends Wo {
35589
35589
  */
35590
35590
  domainHasZero() {
35591
35591
  const t = this.get("type");
35592
- if (Re([en.LOG, en.TIME, en.UTC], t))
35592
+ if (Re([tn.LOG, tn.TIME, tn.UTC], t))
35593
35593
  return "definitely-not";
35594
35594
  const n = this.get("zero");
35595
35595
  if (n === !0 || // If zero is undefined, linear/sqrt/pow scales have zero by default.
35596
- n === void 0 && Re([en.LINEAR, en.SQRT, en.POW], t))
35596
+ n === void 0 && Re([tn.LINEAR, tn.SQRT, tn.POW], t))
35597
35597
  return "definitely";
35598
35598
  const r = this.get("domains");
35599
35599
  if (r.length > 0) {
@@ -35722,7 +35722,7 @@ function r7(e, t, n, { center: r } = {}) {
35722
35722
  ] : [0, qt.fromName(s, o)];
35723
35723
  }
35724
35724
  function Qpe(e, t) {
35725
- const { size: n, config: r, mark: i, encoding: o } = t, { type: s } = It(o[e]), l = t.getScaleComponent(e).get("type"), { domain: u, domainMid: c } = t.specifiedScales[e];
35725
+ const { size: n, config: r, mark: i, encoding: o } = t, { type: s } = Pt(o[e]), l = t.getScaleComponent(e).get("type"), { domain: u, domainMid: c } = t.specifiedScales[e];
35726
35726
  switch (e) {
35727
35727
  case ut:
35728
35728
  case Zt: {
@@ -35910,7 +35910,7 @@ function a7(e, t) {
35910
35910
  function oge(e, t) {
35911
35911
  const n = e.component.scales, { config: r, encoding: i, markDef: o, specifiedScales: s } = e;
35912
35912
  for (const a of q(n)) {
35913
- const l = s[a], u = n[a], c = e.getScaleComponent(a), f = It(i[a]), d = l[t], h = c.get("type"), p = c.get("padding"), g = c.get("paddingInner"), m = Bb(h, t), y = WO(a, t);
35913
+ const l = s[a], u = n[a], c = e.getScaleComponent(a), f = Pt(i[a]), d = l[t], h = c.get("type"), p = c.get("padding"), g = c.get("paddingInner"), m = Bb(h, t), y = WO(a, t);
35914
35914
  if (d !== void 0 && (m ? y && H(y) : H(CO(h, t, a))), m && y === void 0)
35915
35915
  if (d !== void 0) {
35916
35916
  const _ = f.timeUnit, b = f.type;
@@ -35980,7 +35980,7 @@ function sge(e, t) {
35980
35980
  if (nt(n)) {
35981
35981
  const r = CC(e, t.field, n);
35982
35982
  return new qt(() => e.getSignalName(r));
35983
- } else if (Jt(n) && dl(n) && n.step !== void 0)
35983
+ } else if (Qt(n) && dl(n) && n.step !== void 0)
35984
35984
  return {
35985
35985
  step: n.step
35986
35986
  };
@@ -35990,7 +35990,7 @@ function age(e, t) {
35990
35990
  return "hcl";
35991
35991
  }
35992
35992
  function lge(e, t, n, r, i, o) {
35993
- if (!(ui(o)?.bin || B(n) || i != null || r != null || Re([en.TIME, en.UTC], e)))
35993
+ if (!(ui(o)?.bin || B(n) || i != null || r != null || Re([tn.TIME, tn.UTC], e)))
35994
35994
  return kt(t) ? !0 : void 0;
35995
35995
  }
35996
35996
  function uge(e, t, n, r, i, o) {
@@ -36002,7 +36002,7 @@ function uge(e, t, n, r, i, o) {
36002
36002
  if (s === "bar" && !(G(r) && (r.bin || r.timeUnit)) && (a === "vertical" && e === "x" || a === "horizontal" && e === "y"))
36003
36003
  return o.continuousBandSize;
36004
36004
  }
36005
- if (t === en.POINT)
36005
+ if (t === tn.POINT)
36006
36006
  return n.pointPadding;
36007
36007
  }
36008
36008
  }
@@ -36011,7 +36011,7 @@ function cge(e, t, n, r, i, o = !1) {
36011
36011
  if (kt(t)) {
36012
36012
  const { bandPaddingInner: s, barBandPaddingInner: a, rectBandPaddingInner: l, tickBandPaddingInner: u, bandWithNestedOffsetPaddingInner: c } = i;
36013
36013
  return o ? c : Ct(s, n === "bar" ? a : n === "tick" ? u : l);
36014
- } else if (Id(t) && r === en.BAND)
36014
+ } else if (Id(t) && r === tn.BAND)
36015
36015
  return i.offsetBandPaddingInner;
36016
36016
  }
36017
36017
  }
@@ -36021,7 +36021,7 @@ function fge(e, t, n, r, i, o = !1) {
36021
36021
  const { bandPaddingOuter: s, bandWithNestedOffsetPaddingOuter: a } = i;
36022
36022
  if (o)
36023
36023
  return a;
36024
- if (n === en.BAND)
36024
+ if (n === tn.BAND)
36025
36025
  return Ct(
36026
36026
  s,
36027
36027
  /* By default, paddingOuter is paddingInner / 2. The reason is that
@@ -36031,9 +36031,9 @@ function fge(e, t, n, r, i, o = !1) {
36031
36031
  se(r) ? { signal: `${r.signal}/2` } : r / 2
36032
36032
  );
36033
36033
  } else if (Id(t)) {
36034
- if (n === en.POINT)
36034
+ if (n === tn.POINT)
36035
36035
  return 0.5;
36036
- if (n === en.BAND)
36036
+ if (n === tn.BAND)
36037
36037
  return i.offsetBandPaddingOuter;
36038
36038
  }
36039
36039
  }
@@ -36102,7 +36102,7 @@ function c7(e) {
36102
36102
  function yge(e) {
36103
36103
  const { encoding: t, mark: n, markDef: r } = e, i = {};
36104
36104
  for (const o of EE) {
36105
- const s = It(t[o]);
36105
+ const s = Pt(t[o]);
36106
36106
  if (s && n === VO && o === Jn && s.type === rc)
36107
36107
  continue;
36108
36108
  let a = s && s.scale;
@@ -36187,7 +36187,7 @@ class TC {
36187
36187
  component;
36188
36188
  view;
36189
36189
  constructor(t, n, r, i, o, s, a) {
36190
- this.type = n, this.parent = r, this.config = o, this.parent = r, this.config = o, this.view = Qt(a), this.name = t.name ?? i, this.title = Qo(t.title) ? { text: t.title } : t.title ? Qt(t.title) : void 0, this.scaleNameMap = r ? r.scaleNameMap : new ky(), this.projectionNameMap = r ? r.projectionNameMap : new ky(), this.signalNameMap = r ? r.signalNameMap : new ky(), this.data = t.data, this.description = t.description, this.transforms = vde(t.transform ?? []), this.layout = n === "layer" || n === "unit" ? {} : Cfe(t, n, o), this.component = {
36190
+ this.type = n, this.parent = r, this.config = o, this.parent = r, this.config = o, this.view = en(a), this.name = t.name ?? i, this.title = Qo(t.title) ? { text: t.title } : t.title ? en(t.title) : void 0, this.scaleNameMap = r ? r.scaleNameMap : new ky(), this.projectionNameMap = r ? r.projectionNameMap : new ky(), this.signalNameMap = r ? r.signalNameMap : new ky(), this.data = t.data, this.description = t.description, this.transforms = vde(t.transform ?? []), this.layout = n === "layer" || n === "unit" ? {} : Cfe(t, n, o), this.component = {
36191
36191
  data: {
36192
36192
  sources: r ? r.component.data.sources : [],
36193
36193
  outputNodes: r ? r.component.data.outputNodes : {},
@@ -36563,7 +36563,7 @@ class Jl extends Je {
36563
36563
  [Ir, _i]
36564
36564
  ]) {
36565
36565
  const o = i.map((s) => {
36566
- const a = It(n.encoding[s]);
36566
+ const a = Pt(n.encoding[s]);
36567
36567
  return G(a) ? a.field : oo(a) ? { expr: `${a.datum}` } : li(a) ? { expr: `${a.value}` } : void 0;
36568
36568
  });
36569
36569
  (o[0] || o[1]) && (t = new Jl(t, o, null, n.getName(`geojson_${r++}`)));
@@ -36622,7 +36622,7 @@ class Zf extends Je {
36622
36622
  [Ir, _i]
36623
36623
  ]) {
36624
36624
  const i = r.map((s) => {
36625
- const a = It(n.encoding[s]);
36625
+ const a = Pt(n.encoding[s]);
36626
36626
  return G(a) ? a.field : oo(a) ? { expr: `${a.datum}` } : li(a) ? { expr: `${a.value}` } : void 0;
36627
36627
  }), o = r[0] === Ir ? "2" : "";
36628
36628
  (i[0] || i[1]) && (t = new Zf(t, n.projectionName(), i, [
@@ -36933,7 +36933,7 @@ function d7(e) {
36933
36933
  name: null,
36934
36934
  source: i.name,
36935
36935
  transform: []
36936
- }), r instanceof gn && (r.parent instanceof Ka && !i.source ? (i.format = {
36936
+ }), r instanceof mn && (r.parent instanceof Ka && !i.source ? (i.format = {
36937
36937
  ...i.format,
36938
36938
  parse: r.assembleFormatParse()
36939
36939
  }, i.transform.push(...r.assembleTransforms(!0))) : i.transform.push(...r.assembleTransforms())), r instanceof sc) {
@@ -37146,7 +37146,7 @@ class Cf extends f7 {
37146
37146
  }
37147
37147
  initFacetFieldDef(t, n) {
37148
37148
  const r = eC(t, n);
37149
- return r.header ? r.header = Qt(r.header) : r.header === null && (r.header = null), r;
37149
+ return r.header ? r.header = en(r.header) : r.header === null && (r.header = null), r;
37150
37150
  }
37151
37151
  channelHasField(t) {
37152
37152
  return W(this.facet, t);
@@ -37404,11 +37404,11 @@ function Nge(e, t, n) {
37404
37404
  s = e = new Fu(e, i), o = "derived";
37405
37405
  else if (dC(i)) {
37406
37406
  const a = lpe(i);
37407
- s = e = gn.makeWithAncestors(e, {}, a, n) ?? e, e = new oc(e, t, i.filter);
37407
+ s = e = mn.makeWithAncestors(e, {}, a, n) ?? e, e = new oc(e, t, i.filter);
37408
37408
  } else if (V9(i))
37409
37409
  s = e = Ii.makeFromTransform(e, i, t), o = "number";
37410
37410
  else if (gde(i))
37411
- o = "date", n.getWithExplicit(i.field).value === void 0 && (e = new gn(e, { [i.field]: o }), n.set(i.field, o, !1)), s = e = Oi.makeFromTransform(e, i);
37411
+ o = "date", n.getWithExplicit(i.field).value === void 0 && (e = new mn(e, { [i.field]: o }), n.set(i.field, o, !1)), s = e = Oi.makeFromTransform(e, i);
37412
37412
  else if (mde(i))
37413
37413
  s = e = ri.makeFromTransform(e, i), o = "number", bC(t) && (e = new Ts(e));
37414
37414
  else if (G9(i))
@@ -37452,11 +37452,11 @@ function Nge(e, t, n) {
37452
37452
  function J0(e) {
37453
37453
  let t = Tge(e, e.component.data.sources);
37454
37454
  const { outputNodes: n, outputNodeRefCounts: r } = e.component.data, i = e.data, s = !(i && (gs(i) || Tu(i) || Kf(i))) && e.parent ? e.parent.component.data.ancestorParse.clone() : new Nde();
37455
- gs(i) ? (Q9(i) ? t = new Yd(t, i.sequence) : hC(i) && (t = new Vd(t, i.graticule)), s.parseNothing = !0) : i?.format?.parse === null && (s.parseNothing = !0), t = gn.makeExplicit(t, e, s) ?? t, t = new Ts(t);
37455
+ gs(i) ? (Q9(i) ? t = new Yd(t, i.sequence) : hC(i) && (t = new Vd(t, i.graticule)), s.parseNothing = !0) : i?.format?.parse === null && (s.parseNothing = !0), t = mn.makeExplicit(t, e, s) ?? t, t = new Ts(t);
37456
37456
  const a = e.parent && lc(e.parent);
37457
37457
  (at(e) || hr(e)) && a && (t = Ii.makeFromEncoding(t, e) ?? t), e.transforms.length > 0 && (t = Nge(t, e, s));
37458
37458
  const l = cpe(e), u = upe(e);
37459
- t = gn.makeWithAncestors(t, {}, { ...l, ...u }, s) ?? t, at(e) && (t = Jl.parseAll(t, e), t = Zf.parseAll(t, e)), (at(e) || hr(e)) && (a || (t = Ii.makeFromEncoding(t, e) ?? t), t = Oi.makeFromEncoding(t, e) ?? t, t = Fu.parseAllForSortIndex(t, e));
37459
+ t = mn.makeWithAncestors(t, {}, { ...l, ...u }, s) ?? t, at(e) && (t = Jl.parseAll(t, e), t = Zf.parseAll(t, e)), (at(e) || hr(e)) && (a || (t = Ii.makeFromEncoding(t, e) ?? t), t = Oi.makeFromEncoding(t, e) ?? t, t = Fu.parseAllForSortIndex(t, e));
37460
37460
  const c = t = Fh(dt.Raw, e, t);
37461
37461
  if (at(e)) {
37462
37462
  const m = ri.makeFromEncoding(t, e);
@@ -37603,7 +37603,7 @@ class FC extends Wo {
37603
37603
  }
37604
37604
  }
37605
37605
  function Oge(e, t, n) {
37606
- const { encoding: r, config: i } = e, o = It(r[t]) ?? It(r[ro(t)]), s = e.axis(t) || {}, { format: a, formatType: l } = s;
37606
+ const { encoding: r, config: i } = e, o = Pt(r[t]) ?? Pt(r[ro(t)]), s = e.axis(t) || {}, { format: a, formatType: l } = s;
37607
37607
  if (Va(l))
37608
37608
  return {
37609
37609
  text: ti({
@@ -37773,7 +37773,7 @@ const jge = /* @__PURE__ */ new Set([
37773
37773
  ]);
37774
37774
  function qge(e, t) {
37775
37775
  let n = t.axis(e);
37776
- const r = new FC(), i = It(t.encoding[e]), { mark: o, config: s } = t, a = n?.orient || s[e === "x" ? "axisX" : "axisY"]?.orient || s.axis?.orient || Che(e), l = t.getScaleComponent(e).get("type"), u = yhe(e, l, a, t.config), c = n !== void 0 ? !n : Jb("disable", s.style, n?.style, u).configValue;
37776
+ const r = new FC(), i = Pt(t.encoding[e]), { mark: o, config: s } = t, a = n?.orient || s[e === "x" ? "axisX" : "axisY"]?.orient || s.axis?.orient || Che(e), l = t.getScaleComponent(e).get("type"), u = yhe(e, l, a, t.config), c = n !== void 0 ? !n : Jb("disable", s.style, n?.style, u).configValue;
37777
37777
  if (r.set("disable", c, n !== void 0), c)
37778
37778
  return r;
37779
37779
  n = n || {};
@@ -37923,7 +37923,7 @@ const Hge = {
37923
37923
  }),
37924
37924
  ...Dn("x", e, { defaultPos: "mid" }),
37925
37925
  ...Dn("y", e, { defaultPos: "mid" }),
37926
- ...tn("size", e, {
37926
+ ...nn("size", e, {
37927
37927
  vgChannel: "strokeWidth"
37928
37928
  // VL's line size is strokeWidth
37929
37929
  }),
@@ -37942,7 +37942,7 @@ const Hge = {
37942
37942
  }),
37943
37943
  ...Dn("x", e, { defaultPos: "mid" }),
37944
37944
  ...Dn("y", e, { defaultPos: "mid" }),
37945
- ...tn("size", e),
37945
+ ...nn("size", e),
37946
37946
  ..._C(e)
37947
37947
  })
37948
37948
  };
@@ -37959,13 +37959,13 @@ function DC(e, t) {
37959
37959
  }),
37960
37960
  ...Dn("x", e, { defaultPos: "mid" }),
37961
37961
  ...Dn("y", e, { defaultPos: "mid" }),
37962
- ...tn("size", e),
37963
- ...tn("angle", e),
37962
+ ...nn("size", e),
37963
+ ...nn("angle", e),
37964
37964
  ...Jge(e, n, t)
37965
37965
  };
37966
37966
  }
37967
37967
  function Jge(e, t, n) {
37968
- return n ? { shape: { value: n } } : tn("shape", e);
37968
+ return n ? { shape: { value: n } } : nn("shape", e);
37969
37969
  }
37970
37970
  const Qge = {
37971
37971
  vgMark: "symbol",
@@ -38015,7 +38015,7 @@ const Qge = {
38015
38015
  range: n !== "horizontal"
38016
38016
  // include y2 for vertical or line segment rule
38017
38017
  }),
38018
- ...tn("size", e, {
38018
+ ...nn("size", e, {
38019
38019
  vgChannel: "strokeWidth"
38020
38020
  // VL's rule size is strokeWidth
38021
38021
  })
@@ -38037,11 +38037,11 @@ const Qge = {
38037
38037
  ...Dn("x", e, { defaultPos: "mid" }),
38038
38038
  ...Dn("y", e, { defaultPos: "mid" }),
38039
38039
  ...gC(e),
38040
- ...tn("size", e, {
38040
+ ...nn("size", e, {
38041
38041
  vgChannel: "fontSize"
38042
38042
  // VL's text size is fontSize
38043
38043
  }),
38044
- ...tn("angle", e),
38044
+ ...nn("angle", e),
38045
38045
  ...L3("align", ome(e.markDef, n, t)),
38046
38046
  ...L3("baseline", sme(e.markDef, n, t)),
38047
38047
  ...Dn("radius", e, { defaultPos: null }),
@@ -38325,12 +38325,12 @@ class m7 extends f7 {
38325
38325
  }
38326
38326
  initScales(t, n) {
38327
38327
  return EE.reduce((r, i) => {
38328
- const o = It(n[i]);
38328
+ const o = Pt(n[i]);
38329
38329
  return o && (r[i] = this.initScale(o.scale ?? {})), r;
38330
38330
  }, {});
38331
38331
  }
38332
38332
  initScale(t) {
38333
- const { domain: n, range: r } = t, i = Qt(t);
38333
+ const { domain: n, range: r } = t, i = en(t);
38334
38334
  return B(n) && (i.domain = n.map(or)), B(r) && (i.range = r.map(or)), i;
38335
38335
  }
38336
38336
  initAxes(t) {
@@ -38353,10 +38353,10 @@ class m7 extends f7 {
38353
38353
  }
38354
38354
  initLegends(t) {
38355
38355
  return ele.reduce((n, r) => {
38356
- const i = It(t[r]);
38356
+ const i = Pt(t[r]);
38357
38357
  if (i && nle(r)) {
38358
38358
  const o = i.legend;
38359
- n[r] = o && Qt(o);
38359
+ n[r] = o && en(o);
38360
38360
  }
38361
38361
  return n;
38362
38362
  }, {});
@@ -40938,7 +40938,7 @@ function h1e(e) {
40938
40938
  [i]
40939
40939
  );
40940
40940
  return /* @__PURE__ */ U(
40941
- mn,
40941
+ yn,
40942
40942
  {
40943
40943
  className: "asgard-chart-template",
40944
40944
  type: "bot",
@@ -40969,7 +40969,7 @@ function _1e(e) {
40969
40969
  /* @__PURE__ */ C("div", { className: zh.full_screen_close, children: /* @__PURE__ */ C(uT, {}) }),
40970
40970
  /* @__PURE__ */ C("div", { className: zh.imageOrigin, style: { backgroundImage: `url(${i})` } })
40971
40971
  ] }) : /* @__PURE__ */ U(
40972
- mn,
40972
+ yn,
40973
40973
  {
40974
40974
  className: "asgard-image-template",
40975
40975
  type: "bot",
@@ -41094,7 +41094,7 @@ function A1e(e) {
41094
41094
  }
41095
41095
  }, [g, y, h]);
41096
41096
  return /* @__PURE__ */ U(
41097
- mn,
41097
+ yn,
41098
41098
  {
41099
41099
  className: "asgard-video-template",
41100
41100
  type: "bot",
@@ -41156,7 +41156,7 @@ function N1e(e) {
41156
41156
  }, 100);
41157
41157
  return () => clearTimeout(a);
41158
41158
  }, [s]), /* @__PURE__ */ U(
41159
- mn,
41159
+ yn,
41160
41160
  {
41161
41161
  className: "asgard-audio-template",
41162
41162
  type: "bot",
@@ -41225,7 +41225,7 @@ function P1e(e) {
41225
41225
  }
41226
41226
  function z1e(e) {
41227
41227
  const { message: t } = e, { template: n } = St(), { avatar: r } = Ft(), i = t.message.template;
41228
- return /* @__PURE__ */ U(mn, { className: "asgard-location-template", type: "bot", direction: "horizontal", children: [
41228
+ return /* @__PURE__ */ U(yn, { className: "asgard-location-template", type: "bot", direction: "horizontal", children: [
41229
41229
  /* @__PURE__ */ C(gr, { avatar: r }),
41230
41230
  /* @__PURE__ */ C(
41231
41231
  pr,
@@ -41283,7 +41283,7 @@ function Z1e({ message: e }) {
41283
41283
  ), s = r?.template?.TextMessageTemplate?.style;
41284
41284
  return /* @__PURE__ */ U(Ja, { children: [
41285
41285
  /* @__PURE__ */ U(
41286
- mn,
41286
+ yn,
41287
41287
  {
41288
41288
  className: "asgard-text-template asgard-text-template--user",
41289
41289
  type: "user",
@@ -41561,7 +41561,7 @@ function Rye({
41561
41561
  }
41562
41562
  function Oye(e) {
41563
41563
  const { time: t, ...n } = e, { avatar: r } = Ft();
41564
- return /* @__PURE__ */ U(mn, { className: "asgard-tool-call-group-template", type: "bot", direction: "horizontal", children: [
41564
+ return /* @__PURE__ */ U(yn, { className: "asgard-tool-call-group-template", type: "bot", direction: "horizontal", children: [
41565
41565
  /* @__PURE__ */ C(gr, { avatar: r }),
41566
41566
  /* @__PURE__ */ C(pr, { time: t, children: /* @__PURE__ */ C(Rye, { ...n }) })
41567
41567
  ] });
@@ -41661,7 +41661,7 @@ function r_e(e) {
41661
41661
  return () => clearTimeout(S);
41662
41662
  }
41663
41663
  }, [p.visible, k]), /* @__PURE__ */ U(
41664
- mn,
41664
+ yn,
41665
41665
  {
41666
41666
  className: "asgard-table-template",
41667
41667
  type: "bot",
@@ -41732,10 +41732,10 @@ function r_e(e) {
41732
41732
  }
41733
41733
  function i_e(e) {
41734
41734
  const { message: t } = e, { renderMessageContent: n } = Lu(), { avatar: r } = Ft(), i = xe(() => function({ children: a }) {
41735
- return t.type === "bot" ? /* @__PURE__ */ U(mn, { type: "bot", direction: "horizontal", children: [
41735
+ return t.type === "bot" ? /* @__PURE__ */ U(yn, { type: "bot", direction: "horizontal", children: [
41736
41736
  /* @__PURE__ */ C(gr, { avatar: r }),
41737
41737
  /* @__PURE__ */ C(pr, { message: t, time: t.time, children: a })
41738
- ] }) : t.type === "user" ? /* @__PURE__ */ C(mn, { type: "user", direction: "horizontal", children: a }) : a;
41738
+ ] }) : t.type === "user" ? /* @__PURE__ */ C(yn, { type: "user", direction: "horizontal", children: a }) : a;
41739
41739
  }, [t, r]), o = oe(() => {
41740
41740
  if (t.type === "user")
41741
41741
  return t.blobIds && t.blobIds.length > 0 ? /* @__PURE__ */ C(Z1e, { message: { type: "user", message: t } }) : /* @__PURE__ */ C(ok, { message: t });
@@ -42147,7 +42147,7 @@ function Z_e({ footerEndActions: e } = {}) {
42147
42147
  color: g?.primaryComponent?.secondaryColor
42148
42148
  }),
42149
42149
  [g]
42150
- ), En = xe(() => {
42150
+ ), Jt = xe(() => {
42151
42151
  let Z = 0;
42152
42152
  return y && Z++, m && Z++, _ && Z++, Z;
42153
42153
  }, [y, m, _]) >= 3;
@@ -42214,7 +42214,7 @@ function Z_e({ footerEndActions: e } = {}) {
42214
42214
  }
42215
42215
  },
42216
42216
  [i, o]
42217
- ), Dt = oe(
42217
+ ), Rt = oe(
42218
42218
  (Z) => {
42219
42219
  const { validFiles: Ce, errors: Ae } = V_e(Z);
42220
42220
  if (Ae.length > 0 && alert(`檔案驗證錯誤:
@@ -42244,9 +42244,9 @@ function Z_e({ footerEndActions: e } = {}) {
42244
42244
  ), jt = oe(
42245
42245
  (Z) => {
42246
42246
  const Ce = Z.target.files;
42247
- Ce && Ce.length > 0 && Dt(Array.from(Ce)), Z.target.value = "";
42247
+ Ce && Ce.length > 0 && Rt(Array.from(Ce)), Z.target.value = "";
42248
42248
  },
42249
- [Dt]
42249
+ [Rt]
42250
42250
  ), cc = oe(() => {
42251
42251
  if (k.length >= Uh) {
42252
42252
  alert(`最多只能上傳 ${Uh} 張圖片`);
@@ -42308,8 +42308,8 @@ function Z_e({ footerEndActions: e } = {}) {
42308
42308
  const Z = [], Ce = [];
42309
42309
  for (const Ae of n1)
42310
42310
  Ae.type.startsWith("image/") ? Z.push(Ae) : Ce.push(Ae);
42311
- Z.length > 0 && m ? Dt(Z) : Ce.length > 0 && _ ? fc(Ce) : Z.length > 0 && !m && _ && fc(Z), GC();
42312
- }, [n1, GC, m, _, Dt, fc]);
42311
+ Z.length > 0 && m ? Rt(Z) : Ce.length > 0 && _ ? fc(Ce) : Z.length > 0 && !m && _ && fc(Z), GC();
42312
+ }, [n1, GC, m, _, Rt, fc]);
42313
42313
  const W7 = oe(
42314
42314
  (Z) => {
42315
42315
  if (!m) return;
@@ -42321,9 +42321,9 @@ function Z_e({ footerEndActions: e } = {}) {
42321
42321
  const At = Ce[Fe].getAsFile();
42322
42322
  At && Ae.push(At);
42323
42323
  }
42324
- Ae.length > 0 && (Z.preventDefault(), Dt(Ae));
42324
+ Ae.length > 0 && (Z.preventDefault(), Rt(Ae));
42325
42325
  },
42326
- [m, Dt]
42326
+ [m, Rt]
42327
42327
  );
42328
42328
  Oe(() => {
42329
42329
  d !== null && (x(d), h(null), M.current && (M.current.style.height = "36px", M.current.style.height = `${M.current.scrollHeight}px`, M.current.focus()));
@@ -42493,7 +42493,7 @@ function Z_e({ footerEndActions: e } = {}) {
42493
42493
  className: me.file_input_hidden
42494
42494
  }
42495
42495
  ),
42496
- /* @__PURE__ */ C("div", { className: me.attachment_buttons, children: En ? /* @__PURE__ */ U("div", { className: me.attachment_menu_container, ref: z, children: [
42496
+ /* @__PURE__ */ C("div", { className: me.attachment_buttons, children: Jt ? /* @__PURE__ */ U("div", { className: me.attachment_menu_container, ref: z, children: [
42497
42497
  /* @__PURE__ */ C(
42498
42498
  "button",
42499
42499
  {
@@ -43064,9 +43064,9 @@ const Fbe = "_chatbot__auth_state_container_1hs4h_1", Dbe = "_chatbot__error_sta
43064
43064
  renderMenu: Be,
43065
43065
  footerEndActions: pe,
43066
43066
  renderToolCallGroup: Le,
43067
- autoResetChannel: Ut,
43068
- userIdentityHint: En
43069
- } = t, te = En ? { ...s, userIdentityHint: En } : s, ge = yt(0), ye = yt(null), j = g || y, vt = oe(
43067
+ autoResetChannel: Dt,
43068
+ userIdentityHint: Jt
43069
+ } = t, te = Jt ? { ...s, userIdentityHint: Jt } : s, ge = yt(0), ye = yt(null), j = g || y, vt = oe(
43070
43070
  (jt) => {
43071
43071
  jt.preventDefault(), jt.stopPropagation(), !(!j || !jt.dataTransfer.types.includes("Files")) && (ge.current++, ge.current === 1 && ye.current?.setIsDraggingOver(!0));
43072
43072
  },
@@ -43082,7 +43082,7 @@ const Fbe = "_chatbot__auth_state_container_1hs4h_1", Dbe = "_chatbot__error_sta
43082
43082
  cc.length > 0 && ye.current?.setDroppedFiles(cc);
43083
43083
  },
43084
43084
  [j]
43085
- ), Dt = () => {
43085
+ ), Rt = () => {
43086
43086
  switch (M) {
43087
43087
  case "loading":
43088
43088
  return /* @__PURE__ */ C("div", { className: xi.chatbot__auth_state_container, children: v || /* @__PURE__ */ C("div", { children: "Loading..." }) });
@@ -43175,7 +43175,7 @@ const Fbe = "_chatbot__auth_state_container_1hs4h_1", Dbe = "_chatbot__error_sta
43175
43175
  enableUpload: g,
43176
43176
  enableExport: m,
43177
43177
  enableDocumentUpload: y,
43178
- autoResetChannel: Ut,
43178
+ autoResetChannel: Dt,
43179
43179
  children: /* @__PURE__ */ U(lI, { children: [
43180
43180
  /* @__PURE__ */ C(Lbe, { fileDropRef: ye }),
43181
43181
  /* @__PURE__ */ U(
@@ -43199,7 +43199,7 @@ const Fbe = "_chatbot__auth_state_container_1hs4h_1", Dbe = "_chatbot__error_sta
43199
43199
  maintainConnectionWhenClosed: _
43200
43200
  }
43201
43201
  ),
43202
- Dt(),
43202
+ Rt(),
43203
43203
  /* @__PURE__ */ C(ube, {})
43204
43204
  ]
43205
43205
  }
@@ -43219,7 +43219,7 @@ const Fbe = "_chatbot__auth_state_container_1hs4h_1", Dbe = "_chatbot__error_sta
43219
43219
  maintainConnectionWhenClosed: _
43220
43220
  }
43221
43221
  ),
43222
- Dt()
43222
+ Rt()
43223
43223
  ] }) });
43224
43224
  });
43225
43225
  function Lbe({
@@ -43258,7 +43258,7 @@ export {
43258
43258
  JI as References,
43259
43259
  L7 as SyntaxHighlightedJson,
43260
43260
  r_e as TableTemplate,
43261
- mn as TemplateBox,
43261
+ yn as TemplateBox,
43262
43262
  pr as TemplateBoxContent,
43263
43263
  ok as TextTemplate,
43264
43264
  Nbe as ToolCallConsentGate,