@astrato-io/visualizations 0.11.0 → 0.12.0

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.
Files changed (135) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +129 -4
  3. package/VISUALIZATION_DEFINITIONS.md +3 -1
  4. package/chunks/{Button-CPG4WX8X.js → Button-CQdoKSXX.js} +3 -3
  5. package/chunks/{CircularProgress-PSLW8HmD.js → CircularProgress-DpT1lwWw.js} +18 -18
  6. package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
  7. package/chunks/{LinearProgress-KQ2EQlGL.js → LinearProgress-B7S0Q26A.js} +8 -8
  8. package/chunks/{MenuOption-B-6K7kks.js → MenuOption-DpKFJxmo.js} +133 -133
  9. package/chunks/{Title-BmvwZYkh.js → Title-m5damhc0.js} +10 -10
  10. package/chunks/{_createAggregator-CFmH6gUN.js → _createAggregator-BA8_iU9q.js} +7 -7
  11. package/chunks/{app-filter-bar.compiler-BY5-T16I.js → app-filter-bar.compiler--T4Qz3Wu.js} +3 -3
  12. package/chunks/{bar-layout-BNou0dZF.js → bar-layout-OFhxn2Go.js} +2 -2
  13. package/chunks/{bar.compiler-BkhO7sDd.js → bar.compiler-hWZBYYvV.js} +62 -62
  14. package/chunks/{builder-CNjuqD2z.js → builder-7w_bgV_h.js} +31 -31
  15. package/chunks/{coloring-BOiP0rmn.js → coloring-Cd6p0GQJ.js} +88 -83
  16. package/chunks/{createSimplePaletteValueFilter-BkgQ7MFE.js → createSimplePaletteValueFilter-CiJT8s1s.js} +55 -55
  17. package/chunks/defaults-CMFqXvaJ.js +3 -0
  18. package/chunks/{definitions-AS9GcavE.js → definitions-DTauTjIX.js} +412 -406
  19. package/chunks/{escobar-cQ1eQ64G.js → escobar-CMvphKSK.js} +4787 -4717
  20. package/chunks/{extend-preset-BlCbcXKR.js → extend-preset-BpXttHFk.js} +371 -372
  21. package/chunks/{filter.compiler-CI7dDNM1.js → filter.compiler-DOGFweJz.js} +4 -4
  22. package/chunks/{filtering-Dwi7hDPZ.js → filtering-NOnDcGbo.js} +183 -183
  23. package/chunks/handlers-CyYFSfhM.js +15393 -0
  24. package/chunks/{icon-picker-styles-CBlxEu3s.js → icon-picker-styles-DuSERhBU.js} +2 -2
  25. package/chunks/{isEqual-BdHo6wqq.js → isEqual-4f8yUUtC.js} +1 -1
  26. package/chunks/{isFocusVisible-C1nlVUwL.js → isFocusVisible-Czm70MGc.js} +1 -1
  27. package/chunks/line.compiler-B-4H55_T.js +203 -0
  28. package/chunks/{logger-Bc-DqDM_.js → logger-Cioob-QV.js} +71 -70
  29. package/chunks/{map.compiler-CRO6XpdI.js → map.compiler-Cv5V6EhF.js} +13 -13
  30. package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
  31. package/chunks/{measure-format-default-B6ghxih7.js → measure-format-default-B_kuGSzi.js} +7 -3
  32. package/chunks/{metadata-CtkvZEhS.js → metadata-dGSe5UWy.js} +5 -5
  33. package/chunks/{number.compiler-kV4lobCZ.js → number.compiler-D7nMcEMv.js} +8 -8
  34. package/chunks/{operations-COl9wgqi.js → operations-CgfehCad.js} +11462 -11223
  35. package/chunks/{range-CMJ5yc5Z.js → range-Dmwp9kVB.js} +2 -2
  36. package/chunks/{react-dom-BjsCbYHq.js → react-dom-CfuL-m78.js} +24 -24
  37. package/chunks/{render-wrappers-DFHi3Wkr.js → render-wrappers--g-zPFBW.js} +1 -1
  38. package/chunks/{requirements-C5YLmHKe.js → requirements-DHayNJ2C.js} +83 -83
  39. package/chunks/{shared-DyqxOie0.js → shared-DoEN9nNM.js} +282 -277
  40. package/chunks/standalone-B3hRGgYi.js +773 -0
  41. package/chunks/{standalone-BYK2U0Vd.js → standalone-BPNXgFft.js} +380 -380
  42. package/chunks/standalone-BPTT8XEu.js +424 -0
  43. package/chunks/standalone-BgAeHROc.js +2 -0
  44. package/chunks/{standalone-I5kRIsp8.js → standalone-BkQxag7M.js} +81 -81
  45. package/chunks/{standalone-DYVYccmY.js → standalone-Bxa3x6dg.js} +913 -913
  46. package/chunks/standalone-C0If-V6O.js +773 -0
  47. package/chunks/standalone-C1TOyflX.js +287 -0
  48. package/chunks/{standalone-DaNxWIKn.js → standalone-CE5PwJN0.js} +21 -21
  49. package/chunks/{standalone-K2OvRAQM.js → standalone-CG7IFN6n.js} +121 -121
  50. package/chunks/{standalone-Db_HNuWx.js → standalone-CKlgGu80.js} +44 -44
  51. package/chunks/standalone-CNf-oA2U.js +355 -0
  52. package/chunks/{standalone-9jrQ3zJT.js → standalone-CXPdWFlw.js} +10 -10
  53. package/chunks/{standalone-c4CPN6ug.js → standalone-Cf0_5tbu.js} +5783 -5785
  54. package/chunks/{standalone-Bp4G3MDx.js → standalone-DMi4-Vp3.js} +118 -118
  55. package/chunks/{standalone-BrjtMIdd.js → standalone-DTEX67C8.js} +108 -108
  56. package/chunks/{standalone-iOnJhCvA.js → standalone-DU46-kYv.js} +181 -181
  57. package/chunks/standalone-Dbn3jSH6.js +690 -0
  58. package/chunks/{standalone-CS5VGoja.js → standalone-DdcAL_k_.js} +833 -837
  59. package/chunks/standalone-DwCIA0UG.js +1057 -0
  60. package/chunks/standalone-Dz13tl3P.js +357 -0
  61. package/chunks/{standalone-CIjNYyya.js → standalone-H9GFzFk_.js} +937 -938
  62. package/chunks/{standalone-ChfEHb28.js → standalone-MduR0qre.js} +1279 -1279
  63. package/chunks/standalone-ejTz66P3.js +2 -0
  64. package/chunks/{standalone-D9k5SCd8.js → standalone-keB-0wK3.js} +189 -189
  65. package/chunks/{standalone-Bsfz5vnJ.js → standalone-nnkuQd0K.js} +35 -35
  66. package/chunks/standalone-vGGR6Vcn.js +6 -0
  67. package/chunks/{table.compiler-CMH_dtYs.js → table.compiler-mS4UvhLT.js} +12 -12
  68. package/chunks/theme-MYp6Rj1J.js +232 -0
  69. package/chunks/{useFieldName-BfxBzhhH.js → useFieldName-AdSak4Ch.js} +1 -1
  70. package/chunks/{utils-BdJrEeIQ.js → utils-CUKgR7it.js} +3265 -3133
  71. package/chunks/{view-Q-_XIrWE.js → view-BeYwpcVD.js} +478 -478
  72. package/chunks/{visualization-filters-BwS0xUqs.js → visualization-filters-B9qik5_K.js} +2706 -2384
  73. package/chunks/{with-html-element-D_ooGNWI.js → with-html-element-1GSeLT59.js} +3888 -3870
  74. package/definitions.js +2 -2
  75. package/docs/operations/astrato-app-filter-bar.md +1 -1
  76. package/docs/operations/bar.md +115 -32
  77. package/docs/operations/combo.md +50 -17
  78. package/docs/operations/date-picker.md +4 -4
  79. package/docs/operations/distribution-gauge.md +18 -16
  80. package/docs/operations/dot.md +107 -24
  81. package/docs/operations/filter.md +10 -8
  82. package/docs/operations/gauge.md +20 -18
  83. package/docs/operations/heatMap.md +73 -21
  84. package/docs/operations/histogram.md +45 -12
  85. package/docs/operations/iframe.md +1 -1
  86. package/docs/operations/image.md +1 -1
  87. package/docs/operations/index.md +11 -11
  88. package/docs/operations/line.md +57 -24
  89. package/docs/operations/map.md +16 -16
  90. package/docs/operations/number.md +10 -9
  91. package/docs/operations/pie.md +23 -21
  92. package/docs/operations/radar.md +13 -11
  93. package/docs/operations/sankey.md +19 -17
  94. package/docs/operations/scatter.md +111 -28
  95. package/docs/operations/shape.md +5 -5
  96. package/docs/operations/simpleTextObject.md +4 -4
  97. package/docs/operations/slider.md +1 -1
  98. package/docs/operations/table.md +27 -25
  99. package/docs/operations/tree.md +5 -3
  100. package/docs/operations/treemap.md +70 -18
  101. package/docs/operations/waterfall.md +40 -7
  102. package/docs/operations/word-cloud.md +69 -17
  103. package/getters.js +2 -2
  104. package/index.js +474 -525
  105. package/metadata.js +2 -2
  106. package/operations.js +24 -17
  107. package/package.json +71 -72
  108. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1 -1
  109. package/src/definitions/model/definitions/schema-registry.d.ts +13 -12
  110. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +2 -2
  111. package/src/definitions/model/definitions/schemas/common.schema.d.ts +5 -4
  112. package/src/definitions/model/definitions/schemas/line.schema.d.ts +3 -2
  113. package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
  114. package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
  115. package/src/index.d.ts +1 -1
  116. package/src/operations/index.d.ts +11 -1
  117. package/src/types.d.ts +166 -1
  118. package/chunks/FieldTypeIcon-5k2bkqd0.js +0 -22
  119. package/chunks/category-axis-D1OVyMrr.js +0 -20
  120. package/chunks/color-rules-DYJL4fIW.js +0 -15
  121. package/chunks/color-settings-DJFoFTip.js +0 -5
  122. package/chunks/defaults-B5_8S-J-.js +0 -3
  123. package/chunks/handlers-C63NVo7i.js +0 -15433
  124. package/chunks/line.compiler-DCv3h42f.js +0 -198
  125. package/chunks/standalone-06i1wmIX.js +0 -6
  126. package/chunks/standalone-B6zUvxNQ.js +0 -357
  127. package/chunks/standalone-Be5APcVv.js +0 -762
  128. package/chunks/standalone-BuXpKMnc.js +0 -2
  129. package/chunks/standalone-CUGt2FUF.js +0 -2
  130. package/chunks/standalone-CnF2OYLQ.js +0 -355
  131. package/chunks/standalone-CznEEiq3.js +0 -422
  132. package/chunks/standalone-DcuE8KBa.js +0 -287
  133. package/chunks/standalone-pCrzBiTy.js +0 -773
  134. package/chunks/standalone-qrZaimgC.js +0 -689
  135. package/chunks/standalone-yqDJ8h3K.js +0 -1012
@@ -1,19 +1,17 @@
1
1
  import { o as e, t } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Cs as n, Ec as r, Et as i, Lc as a, Na as o, Vr as s } from "./visualization-filters-BwS0xUqs.js";
3
- import { wn as c } from "./utils-BdJrEeIQ.js";
4
- import { t as l } from "./color-rules-DYJL4fIW.js";
5
- import { r as u } from "./color-settings-DJFoFTip.js";
6
- import "./logger-Bc-DqDM_.js";
7
- import { t as d, u as f } from "./src-77e3mC7i.js";
8
- var p = (e, t, n) => e?.type === r.Single ? m(t, e.color ?? void 0) : e?.type === r.Categorical ? {
9
- ref: n || void 0,
10
- scale: r.Categorical
11
- } : e?.type === r.Gradient ? {
12
- ref: n || void 0,
13
- scale: r.Gradient
14
- } : m(t), m = (e, t) => t ?? e.colors.brandColors[0], h = (e, t, n, i, a, o = !1) => {
2
+ import { $c as n, Do as r, Pt as i, Ua as a, Us as o, Xs as s, Yr as c, u as l, ul as u } from "./visualization-filters-B9qik5_K.js";
3
+ import { Dn as d } from "./utils-CUKgR7it.js";
4
+ import "./logger-Cioob-QV.js";
5
+ import { t as f, u as p } from "./src-77e3mC7i.js";
6
+ var m = (e, t, r) => e?.type === n.Single ? h(t, e.color ?? void 0) : e?.type === n.Categorical ? {
7
+ ref: r || void 0,
8
+ scale: n.Categorical
9
+ } : e?.type === n.Gradient ? {
10
+ ref: r || void 0,
11
+ scale: n.Gradient
12
+ } : h(t), h = (e, t) => t ?? e.colors.brandColors[0], g = (e, t, r, i, a, o = !1) => {
15
13
  let s = e?.coloring?.type;
16
- if ((s === r.Single || s === r.PerEachMeasure) && t.scales[s]?.range) {
14
+ if ((s === n.Single || s === n.PerEachMeasure) && t.scales[s]?.range) {
17
15
  if (o) return {
18
16
  scale: s,
19
17
  ref: a || "color"
@@ -21,65 +19,65 @@ var p = (e, t, n) => e?.type === r.Single ? m(t, e.color ?? void 0) : e?.type ==
21
19
  let n = e.measures.findIndex((e) => i?.dataItem === e.dataItem), r = t.scales[s].range?.[n];
22
20
  if (typeof r == "string") return r;
23
21
  }
24
- return e?.coloring?.type === r.Single ? i?.graphColor ?? e?.coloring?.color ?? n.colors.brandColors[0] : p(e.coloring, n, a);
25
- }, g = (e, t) => {
22
+ return e?.coloring?.type === n.Single ? i?.graphColor ?? e?.coloring?.color ?? r.colors.brandColors[0] : m(e.coloring, r, a);
23
+ }, _ = (e, t) => {
26
24
  let n = null;
27
25
  if (t?.pattern) {
28
26
  let r = e.datum, i = Object.keys(r).reduce((e, t) => {
29
27
  let n = r[t];
30
28
  return n?.source?.field && n.source.key !== void 0 && (e[n.source.field] = n), e;
31
- }, {}), a = t.pattern.reduce((e, t) => i[t] ? `${e}-${i[t].value}` : `${e}-${r.value}`, `${r.source?.key ?? ""}`);
32
- t.itemsMap?.[a] || (n = o.grey3);
29
+ }, {}), o = t.pattern.reduce((e, t) => i[t] ? `${e}-${i[t].value}` : `${e}-${r.value}`, `${r.source?.key ?? ""}`);
30
+ t.itemsMap?.[o] || (n = a.grey3);
33
31
  }
34
32
  return n;
35
- }, _ = /* @__PURE__ */ t(((e, t) => {
33
+ }, v = /* @__PURE__ */ t(((e, t) => {
36
34
  var n = Math.max, r = Math.min;
37
35
  function i(e, t, i) {
38
36
  return e >= r(t, i) && e < n(t, i);
39
37
  }
40
38
  t.exports = i;
41
- })), v = /* @__PURE__ */ t(((e, t) => {
42
- var n = c(), r = Infinity, i = 17976931348623157e292;
39
+ })), y = /* @__PURE__ */ t(((e, t) => {
40
+ var n = d(), r = Infinity, i = 17976931348623157e292;
43
41
  function a(e) {
44
42
  return e ? (e = n(e), e === r || e === -r ? (e < 0 ? -1 : 1) * i : e === e ? e : 0) : e === 0 ? e : 0;
45
43
  }
46
44
  t.exports = a;
47
- })), y = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
48
- var n = _(), r = v(), i = c();
45
+ })), b = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
46
+ var n = v(), r = y(), i = d();
49
47
  function a(e, t, a) {
50
48
  return t = r(t), a === void 0 ? (a = t, t = 0) : a = r(a), e = i(e), n(e, t, a);
51
49
  }
52
50
  t.exports = a;
53
- })))()), b = /* @__PURE__ */ e(i()), x = (e) => typeof e == "string" ? e : `${e}`, S = [
51
+ })))()), x = /* @__PURE__ */ e(i()), S = (e) => typeof e == "string" ? e : `${e}`, C = [
54
52
  "equals",
55
53
  "contains",
56
54
  "startsWith",
57
55
  "endsWith"
58
- ], C = [
56
+ ], w = [
59
57
  "greater",
60
58
  "less",
61
59
  "greater-equals",
62
60
  "less-equals",
63
61
  "between",
64
62
  "not-equals"
65
- ], w = ["inList", "notInList"], T = (e) => n(e) || typeof e != "string" || e.length === 0 ? "," : e, E = (e, t) => {
66
- if (n(e.value)) return !1;
67
- let r = e.operator || "equals";
68
- return S.includes(r) ? O(e, t) : C.includes(r) ? k(e, t) : w.includes(r) ? D(e, t) : !1;
63
+ ], T = ["inList", "notInList"], E = (e) => s(e) || typeof e != "string" || e.length === 0 ? "," : e, D = (e, t) => {
64
+ if (s(e.value)) return !1;
65
+ let n = e.operator || "equals";
66
+ return C.includes(n) ? k(e, t) : w.includes(n) ? A(e, t) : T.includes(n) ? O(e, t) : !1;
69
67
  };
70
- function D(e, t) {
68
+ function O(e, t) {
71
69
  let n = e.operator;
72
70
  if (t == null || e?.value === null || e?.value === void 0) return !1;
73
- let r = x(t), i = x(e.value), a = T(e.delimiter), o = new Set(i.split(a).map((e) => e.trim()).filter((e) => e.length > 0));
71
+ let r = S(t), i = S(e.value), a = E(e.delimiter), o = new Set(i.split(a).map((e) => e.trim()).filter((e) => e.length > 0));
74
72
  if (o.size === 0) return !1;
75
73
  let s = o.has(r);
76
74
  return n === "notInList" ? !s : s;
77
75
  }
78
- function O(e, t) {
79
- let n = x(t), r = e?.value, i = e.operator || "equals";
76
+ function k(e, t) {
77
+ let n = S(t), r = e?.value, i = e.operator || "equals";
80
78
  if (i === "equals") return r === n;
81
79
  if (t == null || r == null || r === "") return !1;
82
- let a = x(r);
80
+ let a = S(r);
83
81
  switch (i) {
84
82
  case "contains": return n.includes(a);
85
83
  case "startsWith": return n.startsWith(a);
@@ -87,10 +85,10 @@ function O(e, t) {
87
85
  default: return !1;
88
86
  }
89
87
  }
90
- function k(e, t) {
88
+ function A(e, t) {
91
89
  let n = Number(t), r = Number(e?.value), i = e.operator || "equals";
92
90
  if (i === "equals") return r === n;
93
- if ((0, b.default)(t) || (0, b.default)(r) || Number.isNaN(n) || Number.isNaN(r)) return !1;
91
+ if ((0, x.default)(t) || (0, x.default)(r) || Number.isNaN(n) || Number.isNaN(r)) return !1;
94
92
  switch (i) {
95
93
  case "greater": return n > r;
96
94
  case "less": return n < r;
@@ -98,14 +96,14 @@ function k(e, t) {
98
96
  case "less-equals": return n <= r;
99
97
  case "between": {
100
98
  let t = Number(e.secondValue);
101
- return (0, b.default)(t) || Number.isNaN(t) ? !1 : (0, y.default)(n, r, t);
99
+ return (0, x.default)(t) || Number.isNaN(t) ? !1 : (0, b.default)(n, r, t);
102
100
  }
103
101
  case "not-equals": return n !== r;
104
102
  default: return !1;
105
103
  }
106
104
  }
107
- d();
108
- var A = s("color-manager", "#3f6212"), j = (e, t) => {
105
+ f();
106
+ var j = c("color-manager", "#3f6212"), M = (e, t) => {
109
107
  if (t === "null") return null;
110
108
  switch (typeof e) {
111
109
  case "boolean": return typeof t == "boolean" ? t : String(t).toLowerCase() === "true";
@@ -113,46 +111,46 @@ var A = s("color-manager", "#3f6212"), j = (e, t) => {
113
111
  case "number": return typeof t == "string" ? parseFloat(t) : Number(t);
114
112
  default: return t;
115
113
  }
116
- }, M = (e) => n(e) || typeof e != "string" || e.length === 0 ? "," : e, N = (e) => {
114
+ }, N = (e) => s(e) || typeof e != "string" || e.length === 0 ? "," : e, P = (e) => {
117
115
  if (typeof e.value != "string" && typeof e.value != "number") return [];
118
- let t = M(typeof e.delimiter == "string" ? e.delimiter : void 0);
116
+ let t = N(typeof e.delimiter == "string" ? e.delimiter : void 0);
119
117
  return String(e.value).split(t).map((e) => e.trim()).filter((e) => e.length > 0);
120
- }, P = (e, t) => {
118
+ }, F = (e, t) => {
121
119
  let n = String(e);
122
120
  if (t[n]) return t[n];
123
121
  let r = n.split("").reverse().reduce((e, t, n) => e + t.charCodeAt(0) * (1 + n), 0);
124
122
  return t[n] = r, r;
125
- }, F = (e, t) => {
126
- if ((0, b.default)(e.value)) return !1;
127
- if (n(e.value) || u(e.value)) return A.warn("Color rule not preprocessed correctly - ignoring", e), !1;
128
- let r = j(t, e.value);
129
- if ([l.InList, l.NotInList].includes(e.operator)) {
130
- let n = N(e);
123
+ }, I = (e, t) => {
124
+ if ((0, x.default)(e.value)) return !1;
125
+ if (s(e.value) || r(e.value)) return j.warn("Color rule not preprocessed correctly - ignoring", e), !1;
126
+ let n = M(t, e.value);
127
+ if ([o.InList, o.NotInList].includes(e.operator)) {
128
+ let n = P(e);
131
129
  if (n.length === 0) return !1;
132
- let r = new Set(n.map((e) => j(t, e))).has(t);
133
- return e.operator === l.NotInList ? !r : r;
130
+ let r = new Set(n.map((e) => M(t, e))).has(t);
131
+ return e.operator === o.NotInList ? !r : r;
134
132
  }
135
133
  if (typeof t != "number") switch (e.operator) {
136
- case l.Equals: return t === r;
137
- case l.NotEquals: return t !== r;
134
+ case o.Equals: return t === n;
135
+ case o.NotEquals: return t !== n;
138
136
  default: return !1;
139
137
  }
140
138
  switch (e.operator) {
141
- case l.Equals: return t === r;
142
- case l.Greater: return t > r;
143
- case l.Less: return t < r;
144
- case l.GreaterEquals: return t >= r;
145
- case l.LessEquals: return t <= r;
146
- case l.Between: {
147
- if ((0, b.default)(e.secondValue)) return !1;
148
- if (n(e.secondValue) || u(e.secondValue)) return A.warn("Color rule not preprocessed correctly - ignoring", e), !1;
149
- let i = j(t, e.secondValue);
150
- return r <= t && t <= i;
139
+ case o.Equals: return t === n;
140
+ case o.Greater: return t > n;
141
+ case o.Less: return t < n;
142
+ case o.GreaterEquals: return t >= n;
143
+ case o.LessEquals: return t <= n;
144
+ case o.Between: {
145
+ if ((0, x.default)(e.secondValue)) return !1;
146
+ if (s(e.secondValue) || r(e.secondValue)) return j.warn("Color rule not preprocessed correctly - ignoring", e), !1;
147
+ let i = M(t, e.secondValue);
148
+ return n <= t && t <= i;
151
149
  }
152
- case l.NotEquals: return t !== r;
150
+ case o.NotEquals: return t !== n;
153
151
  default: return !1;
154
152
  }
155
- }, I = (e) => typeof e == "string" ? parseFloat(e) : e, L = {}, R = class {
153
+ }, L = (e) => typeof e == "string" ? parseFloat(e) : e, R = {}, z = class {
156
154
  vSpec;
157
155
  vTheme;
158
156
  notAffectedItems;
@@ -174,7 +172,7 @@ var A = s("color-manager", "#3f6212"), j = (e, t) => {
174
172
  let i = e[r], a = this.resolveColorOverwriteValues(i, n);
175
173
  if (!this.hasUnresolvedSupportingMeasureValue(i, n)) for (let e = 0; e < t.length; e++) {
176
174
  let r = t[e];
177
- if (E(a, this.getValueFromProp(n, r))) return a?.color;
175
+ if (D(a, this.getValueFromProp(n, r))) return a?.color;
178
176
  }
179
177
  }
180
178
  return null;
@@ -189,7 +187,7 @@ var A = s("color-manager", "#3f6212"), j = (e, t) => {
189
187
  let r = i[t], a = this.resolveColorOverwriteValues(r, e);
190
188
  if (this.hasUnresolvedSupportingMeasureValue(r, e)) continue;
191
189
  let o = this.getValueFromProp(e, n || this.MAIN_FIELD);
192
- if ((a.operator || "equals") === "equals" && (a?.value === o || a?.value === x(o)) || E(a, o)) return a?.color;
190
+ if ((a.operator || "equals") === "equals" && (a?.value === o || a?.value === S(o)) || D(a, o)) return a?.color;
193
191
  }
194
192
  return null;
195
193
  }
@@ -197,17 +195,17 @@ var A = s("color-manager", "#3f6212"), j = (e, t) => {
197
195
  return this.vSpec.coloring?.rules?.find((t) => {
198
196
  if (e.datum.series && !e.datum.series.source && e.datum.series.value !== t.dataItemId) return !1;
199
197
  let n = e.datum[t.dataItemId]?.value;
200
- return n !== void 0 && F(this.resolveColorRuleValues(t, e), I(n));
198
+ return n !== void 0 && I(this.resolveColorRuleValues(t, e), L(n));
201
199
  })?.color || null;
202
200
  }
203
201
  getHash(e) {
204
- return P(e, L);
202
+ return F(e, R);
205
203
  }
206
204
  getValueFromProp(e, t, n) {
207
205
  return t === this.MAIN_FIELD ? e.datum?.value : e.datum[t || n || ""]?.value;
208
206
  }
209
207
  resolveColoringConditionValue(e, t) {
210
- return u(e) ? t.datum[e.dataItemId]?.value : e;
208
+ return r(e) ? t.datum[e.dataItemId]?.value : e;
211
209
  }
212
210
  resolveColorRuleValues(e, t) {
213
211
  return {
@@ -224,31 +222,38 @@ var A = s("color-manager", "#3f6212"), j = (e, t) => {
224
222
  };
225
223
  }
226
224
  hasUnresolvedSupportingMeasureValue(e, t) {
227
- return [e.value, e.secondValue].some((e) => u(e) && this.resolveColoringConditionValue(e, t) === void 0);
225
+ return [e.value, e.secondValue].some((e) => r(e) && this.resolveColoringConditionValue(e, t) === void 0);
226
+ }
227
+ getThemeCategoryColor(e) {
228
+ let t = l(this.vTheme);
229
+ if (t.null && e == null) return t.null;
230
+ let n = this.vSpec.querySettings?.topN;
231
+ if (t.others && n?.enabled && n.showOthers && e === (n.othersLabel?.stringLabel ?? "Others")) return t.others;
228
232
  }
229
233
  getColorByScale(e, t = {}) {
230
- let { ref: n, dataItemId: i } = t;
234
+ let { ref: r, dataItemId: i } = t;
231
235
  switch (this.vSpec.coloring?.type) {
232
- case r.Categorical: {
233
- let t = e.resources.scale(r.Categorical), a = i || this.getValueFromProp(e, n, "color");
236
+ case n.Categorical: {
237
+ let t = e.resources.scale(n.Categorical), a = i || this.getValueFromProp(e, r, "color"), o = this.getThemeCategoryColor(a);
238
+ if (o) return o;
234
239
  if (this.vSpec.coloring.persistentColors === !1) return t(a);
235
- let o = t.range();
236
- return o[this.getHash(a) % o.length];
240
+ let s = t.range();
241
+ return s[this.getHash(a) % s.length];
237
242
  }
238
- case r.Gradient: {
239
- let t = e.resources.scale(r.Gradient)(i || this.getValueFromProp(e, n, "end"));
243
+ case n.Gradient: {
244
+ let t = e.resources.scale(n.Gradient)(i || this.getValueFromProp(e, r, "end"));
240
245
  return Number.isNaN(t) ? "#000000" : t;
241
246
  }
242
- case r.PerEachMeasure: return e.resources.scale(r.PerEachMeasure)(i || this.getValueFromProp(e, n, "color"));
243
- case r.Single: return e.resources.scale(r.Single)(i || this.getValueFromProp(e, n, "color"));
247
+ case n.PerEachMeasure: return e.resources.scale(n.PerEachMeasure)(i || this.getValueFromProp(e, r, "color"));
248
+ case n.Single: return e.resources.scale(n.Single)(i || this.getValueFromProp(e, r, "color"));
244
249
  default: return this.getSimpleColor();
245
250
  }
246
251
  }
247
252
  overrideColorOpacity(e, t) {
248
- return !e || !t ? e : f(e).copy({ opacity: t }).toString();
253
+ return !e || !t ? e : p(e).copy({ opacity: t }).toString();
249
254
  }
250
255
  getFilteredColor(e, t) {
251
- return g(e, t);
256
+ return _(e, t);
252
257
  }
253
258
  getColorDefinition(e, t) {
254
259
  return (n) => {
@@ -268,11 +273,11 @@ var A = s("color-manager", "#3f6212"), j = (e, t) => {
268
273
  };
269
274
  }
270
275
  getMeasureColor(e, t) {
271
- let n = this.vSpec?.coloring?.type, r = this.vSpec.measures.findIndex((e) => a(t?.dataItem, e.dataItem)), i = n ? e.scales[n]?.range?.[r] : void 0;
276
+ let n = this.vSpec?.coloring?.type, r = this.vSpec.measures.findIndex((e) => u(t?.dataItem, e.dataItem)), i = n ? e.scales[n]?.range?.[r] : void 0;
272
277
  return typeof i == "string" ? i : t?.graphColor ?? this.vSpec?.coloring?.color ?? this.vTheme.colors.brandColors[0];
273
278
  }
274
279
  static getColorWithCallback(e, t) {
275
280
  return (n) => t(typeof e == "function" ? e(n) : e, n);
276
281
  }
277
282
  };
278
- export { v as a, m as c, E as i, P as n, g as o, F as r, h as s, R as t };
283
+ export { y as a, h as c, D as i, F as n, _ as o, I as r, g as s, z as t };
@@ -1,7 +1,7 @@
1
1
  import { o as e } from "./rolldown-runtime-DleVn1XH.js";
2
- import { At as t, Br as n, Et as r, Ht as i, _t as a, dn as o, fn as s, ft as c, gt as l, it as u, kt as d, li as f, mn as p, nt as m, pn as h, un as g, vt as _, wt as v, yt as y } from "./utils-BdJrEeIQ.js";
3
- var b = /* @__PURE__ */ e(f());
4
- n(), t();
2
+ import { At as t, Et as n, Ht as r, Ur as i, _n as a, _t as o, fi as s, ft as c, gn as l, gt as u, hn as d, it as f, kt as p, mn as m, nt as h, pn as g, vt as _, wt as v, yt as y } from "./utils-CUKgR7it.js";
3
+ var b = /* @__PURE__ */ e(s());
4
+ i(), t();
5
5
  var x = {
6
6
  black: "#000",
7
7
  white: "#fff"
@@ -110,7 +110,7 @@ var x = {
110
110
  A200: "#eeeeee",
111
111
  A400: "#bdbdbd",
112
112
  A700: "#616161"
113
- }, te = "$$material", ne = /* #__PURE__ */ b.createContext(typeof HTMLElement < "u" ? /* #__PURE__ */ p({ key: "css" }) : null);
113
+ }, te = "$$material", ne = /* #__PURE__ */ b.createContext(typeof HTMLElement < "u" ? /* #__PURE__ */ a({ key: "css" }) : null);
114
114
  ne.Provider;
115
115
  var re = function(e) {
116
116
  return /*#__PURE__*/ (0, b.forwardRef)(function(t, n) {
@@ -122,18 +122,18 @@ var re = function(e) {
122
122
  return n[oe] = e, n;
123
123
  }, ce = function(e) {
124
124
  var t = e.cache, n = e.serialized, r = e.isStringTag;
125
- return s(t, n, r), d(function() {
126
- return o(t, n, r);
125
+ return d(t, n, r), p(function() {
126
+ return m(t, n, r);
127
127
  }), null;
128
128
  }, le = /* @__PURE__ */ re(function(e, t, n) {
129
129
  var r = e.css;
130
130
  typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
131
131
  var i = e[oe], a = [r], o = "";
132
132
  typeof e.className == "string" ? o = g(t.registered, a, e.className) : e.className != null && (o = e.className + " ");
133
- var s = h(a, void 0, b.useContext(ie));
133
+ var s = l(a, void 0, b.useContext(ie));
134
134
  o += t.key + "-" + s.name;
135
135
  var c = {};
136
- for (var l in e) ae.call(e, l) && l !== "css" && l !== oe && (c[l] = e[l]);
136
+ for (var u in e) ae.call(e, u) && u !== "css" && u !== oe && (c[u] = e[u]);
137
137
  return c.className = o, n && (c.ref = n), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ce, {
138
138
  cache: t,
139
139
  serialized: s,
@@ -152,7 +152,7 @@ var re = function(e) {
152
152
  t ||= e.JSX ||= {};
153
153
  })(ue ||= {});
154
154
  function de() {
155
- return h([...arguments]);
155
+ return l([...arguments]);
156
156
  }
157
157
  function fe() {
158
158
  var e = de.apply(void 0, arguments), t = "animation-" + e.name;
@@ -180,42 +180,42 @@ var pe = v, me = function(e) {
180
180
  return typeof r != "function" && n && (r = e.__emotion_forwardProp), r;
181
181
  }, _e = function(e) {
182
182
  var t = e.cache, n = e.serialized, r = e.isStringTag;
183
- return s(t, n, r), d(function() {
184
- return o(t, n, r);
183
+ return d(t, n, r), p(function() {
184
+ return m(t, n, r);
185
185
  }), null;
186
186
  }, ve = function e(t, n) {
187
- var r = t.__emotion_real === t, a = r && t.__emotion_base || t, o, s;
187
+ var i = t.__emotion_real === t, a = i && t.__emotion_base || t, o, s;
188
188
  n !== void 0 && (o = n.label, s = n.target);
189
- var c = ge(t, n, r), l = c || he(a), u = !l("as");
189
+ var c = ge(t, n, i), u = c || he(a), d = !u("as");
190
190
  return function() {
191
- var d = arguments, f = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
192
- if (o !== void 0 && f.push("label:" + o + ";"), d[0] == null || d[0].raw === void 0) f.push.apply(f, d);
191
+ var f = arguments, p = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
192
+ if (o !== void 0 && p.push("label:" + o + ";"), f[0] == null || f[0].raw === void 0) p.push.apply(p, f);
193
193
  else {
194
- var p = d[0];
195
- f.push(p[0]);
196
- for (var m = d.length, _ = 1; _ < m; _++) f.push(d[_], p[_]);
194
+ var m = f[0];
195
+ p.push(m[0]);
196
+ for (var h = f.length, _ = 1; _ < h; _++) p.push(f[_], m[_]);
197
197
  }
198
198
  var v = re(function(e, t, n) {
199
- var r = u && e.as || a, i = "", o = [], d = e;
199
+ var r = d && e.as || a, i = "", o = [], f = e;
200
200
  if (e.theme == null) {
201
- for (var p in d = {}, e) d[p] = e[p];
202
- d.theme = b.useContext(ie);
201
+ for (var m in f = {}, e) f[m] = e[m];
202
+ f.theme = b.useContext(ie);
203
203
  }
204
204
  typeof e.className == "string" ? i = g(t.registered, o, e.className) : e.className != null && (i = e.className + " ");
205
- var m = h(f.concat(o), t.registered, d);
206
- i += t.key + "-" + m.name, s !== void 0 && (i += " " + s);
207
- var _ = u && c === void 0 ? he(r) : l, v = {};
208
- for (var y in e) u && y === "as" || _(y) && (v[y] = e[y]);
205
+ var h = l(p.concat(o), t.registered, f);
206
+ i += t.key + "-" + h.name, s !== void 0 && (i += " " + s);
207
+ var _ = d && c === void 0 ? he(r) : u, v = {};
208
+ for (var y in e) d && y === "as" || _(y) && (v[y] = e[y]);
209
209
  return v.className = i, n && (v.ref = n), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(_e, {
210
210
  cache: t,
211
- serialized: m,
211
+ serialized: h,
212
212
  isStringTag: typeof r == "string"
213
213
  }), /*#__PURE__*/ b.createElement(r, v));
214
214
  });
215
- return v.displayName = o === void 0 ? "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")" : o, v.defaultProps = t.defaultProps, v.__emotion_real = v, v.__emotion_base = a, v.__emotion_styles = f, v.__emotion_forwardProp = c, Object.defineProperty(v, "toString", { value: function() {
215
+ return v.displayName = o === void 0 ? "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")" : o, v.defaultProps = t.defaultProps, v.__emotion_real = v, v.__emotion_base = a, v.__emotion_styles = p, v.__emotion_forwardProp = c, Object.defineProperty(v, "toString", { value: function() {
216
216
  return "." + s;
217
- } }), v.withComponent = function(t, r) {
218
- return e(t, i({}, n, r, { shouldForwardProp: ge(v, r, !0) })).apply(void 0, f);
217
+ } }), v.withComponent = function(t, i) {
218
+ return e(t, r({}, n, i, { shouldForwardProp: ge(v, i, !0) })).apply(void 0, p);
219
219
  }, v;
220
220
  };
221
221
  }, ye = /* @__PURE__ */ "a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan".split("."), be = ve.bind(null);
@@ -230,7 +230,7 @@ function Se(e, t) {
230
230
  }
231
231
  var Ce = [];
232
232
  function O(e) {
233
- return Ce[0] = e, h(Ce);
233
+ return Ce[0] = e, l(Ce);
234
234
  }
235
235
  var we = (e) => {
236
236
  let t = Object.keys(e).map((t) => ({
@@ -336,7 +336,7 @@ function k(e, t, n) {
336
336
  let r = {};
337
337
  return Le(r, e.theme, t, (e, t, i) => {
338
338
  let a = n(t, i);
339
- e ? r[e] = a : l(r, a);
339
+ e ? r[e] = a : u(r, a);
340
340
  });
341
341
  }
342
342
  function Le(e, t, n, r) {
@@ -371,7 +371,7 @@ function Be(e, t) {
371
371
  let n = e.internal_mediaKeys;
372
372
  for (let e = 0; e < n.length; e += 1) {
373
373
  let r = n[e];
374
- a(t[r]) && delete t[r];
374
+ o(t[r]) && delete t[r];
375
375
  }
376
376
  return t;
377
377
  }
@@ -539,7 +539,7 @@ function it(...e) {
539
539
  e[n] = t;
540
540
  }), e), {}), n = (e) => {
541
541
  let n = {};
542
- for (let r in e) t[r] && l(n, t[r](e));
542
+ for (let r in e) t[r] && u(n, t[r](e));
543
543
  return n;
544
544
  };
545
545
  return n.propTypes = {}, n.filterProps = e.reduce((e, t) => e.concat(t.filterProps), []), n;
@@ -838,16 +838,16 @@ function At(e, t, n, r, i) {
838
838
  }
839
839
  let { style: s } = a;
840
840
  if (s) {
841
- l(e, s({
841
+ u(e, s({
842
842
  [t]: n,
843
843
  theme: r
844
844
  }));
845
845
  return;
846
846
  }
847
- let { cssProperty: c = t, transform: u } = a, d = A(r, o);
847
+ let { cssProperty: c = t, transform: l } = a, d = A(r, o);
848
848
  Le(e, r, n, (n, r) => {
849
- let i = He(d, u, r, t);
850
- c === !1 ? l(n ? e[n] : e, i) : n ? e[n][c] = i : e[c] = i;
849
+ let i = He(d, l, r, t);
850
+ c === !1 ? u(n ? e[n] : e, i) : n ? e[n][c] = i : e[c] = i;
851
851
  });
852
852
  }
853
853
  function jt(e, t) {
@@ -908,7 +908,7 @@ function Lt(e) {
908
908
  return e ? (t, n) => n[e] : null;
909
909
  }
910
910
  function Rt(e, t, n) {
911
- e.theme = a(e.theme) ? n : e.theme[t] || e.theme;
911
+ e.theme = o(e.theme) ? n : e.theme[t] || e.theme;
912
912
  }
913
913
  function zt(e, t, n) {
914
914
  let r = typeof t == "function" ? t(e) : t;
@@ -1008,7 +1008,7 @@ function Ut(e) {
1008
1008
  return e && e.charAt(0).toLowerCase() + e.slice(1);
1009
1009
  }
1010
1010
  function Wt(e, t = 0, n = 1) {
1011
- return m(e, t, n);
1011
+ return h(e, t, n);
1012
1012
  }
1013
1013
  function Gt(e) {
1014
1014
  e = e.slice(1);
@@ -1018,26 +1018,26 @@ function Gt(e) {
1018
1018
  function W(e) {
1019
1019
  if (e.type) return e;
1020
1020
  if (e.charAt(0) === "#") return W(Gt(e));
1021
- let t = e.indexOf("("), n = e.substring(0, t);
1021
+ let t = e.indexOf("("), r = e.substring(0, t);
1022
1022
  if (![
1023
1023
  "rgb",
1024
1024
  "rgba",
1025
1025
  "hsl",
1026
1026
  "hsla",
1027
1027
  "color"
1028
- ].includes(n)) throw Error(r(9, e));
1028
+ ].includes(r)) throw Error(n(9, e));
1029
1029
  let i = e.substring(t + 1, e.length - 1), a;
1030
- if (n === "color") {
1030
+ if (r === "color") {
1031
1031
  if (i = i.split(" "), a = i.shift(), i.length === 4 && i[3].charAt(0) === "/" && (i[3] = i[3].slice(1)), ![
1032
1032
  "srgb",
1033
1033
  "display-p3",
1034
1034
  "a98-rgb",
1035
1035
  "prophoto-rgb",
1036
1036
  "rec-2020"
1037
- ].includes(a)) throw Error(r(10, a));
1037
+ ].includes(a)) throw Error(n(10, a));
1038
1038
  } else i = i.split(",");
1039
1039
  return i = i.map((e) => parseFloat(e)), {
1040
- type: n,
1040
+ type: r,
1041
1041
  values: i,
1042
1042
  colorSpace: a
1043
1043
  };
@@ -1127,7 +1127,7 @@ function rn(e) {
1127
1127
  let { theme: t, name: n, props: r } = e;
1128
1128
  if (!t || !t.components || !t.components[n]) return r;
1129
1129
  let i = t.components[n];
1130
- return i.defaultProps ? u(i.defaultProps, r, t.components.mergeClassNameAndStyle) : !i.styleOverrides && !i.variants ? u(i, r, t.components.mergeClassNameAndStyle) : r;
1130
+ return i.defaultProps ? f(i.defaultProps, r, t.components.mergeClassNameAndStyle) : !i.styleOverrides && !i.variants ? f(i, r, t.components.mergeClassNameAndStyle) : r;
1131
1131
  }
1132
1132
  function an({ props: e, name: t }) {
1133
1133
  return rn({
@@ -1388,13 +1388,13 @@ function On(e) {
1388
1388
  return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
1389
1389
  }
1390
1390
  function kn(e) {
1391
- let { mode: t = "light", contrastThreshold: n = 3, tonalOffset: i = .2, colorSpace: a, ...o } = e, s = e.primary || Sn(t), c = e.secondary || Cn(t), l = e.error || wn(t), u = e.info || Tn(t), d = e.success || En(t), f = e.warning || Dn(t);
1391
+ let { mode: t = "light", contrastThreshold: r = 3, tonalOffset: i = .2, colorSpace: a, ...o } = e, s = e.primary || Sn(t), c = e.secondary || Cn(t), l = e.error || wn(t), u = e.info || Tn(t), d = e.success || En(t), f = e.warning || Dn(t);
1392
1392
  function p(e) {
1393
- return a ? On(e) : Xt(e, yn.text.primary) >= n ? yn.text.primary : _n.text.primary;
1393
+ return a ? On(e) : Xt(e, yn.text.primary) >= r ? yn.text.primary : _n.text.primary;
1394
1394
  }
1395
- let m = ({ color: e, name: t, mainShade: n = 500, lightShade: o = 300, darkShade: s = 700 }) => {
1396
- if (e = { ...e }, !e.main && e[n] && (e.main = e[n]), !e.hasOwnProperty("main")) throw Error(r(11, t ? ` (${t})` : "", n));
1397
- if (typeof e.main != "string") throw Error(r(12, t ? ` (${t})` : "", JSON.stringify(e.main)));
1395
+ let m = ({ color: e, name: t, mainShade: r = 500, lightShade: o = 300, darkShade: s = 700 }) => {
1396
+ if (e = { ...e }, !e.main && e[r] && (e.main = e[r]), !e.hasOwnProperty("main")) throw Error(n(11, t ? ` (${t})` : "", r));
1397
+ if (typeof e.main != "string") throw Error(n(12, t ? ` (${t})` : "", JSON.stringify(e.main)));
1398
1398
  return a ? (xn(a, e, "light", o, i), xn(a, e, "dark", s, i)) : (bn(e, "light", o, i), bn(e, "dark", s, i)), e.contrastText ||= p(e.main), e;
1399
1399
  }, h;
1400
1400
  return t === "light" ? h = gn() : t === "dark" && (h = vn()), _({
@@ -1428,7 +1428,7 @@ function kn(e) {
1428
1428
  name: "success"
1429
1429
  }),
1430
1430
  grey: ee,
1431
- contrastThreshold: n,
1431
+ contrastThreshold: r,
1432
1432
  getContrastText: p,
1433
1433
  augmentColor: m,
1434
1434
  tonalOffset: i,
@@ -1690,8 +1690,8 @@ function fr(e) {
1690
1690
  });
1691
1691
  }
1692
1692
  function pr(e = {}, ...t) {
1693
- let { breakpoints: n, mixins: i = {}, spacing: a, palette: o = {}, motion: s = {}, transitions: c = {}, typography: l = {}, shape: u, colorSpace: d, ...f } = e;
1694
- if (e.vars && e.generateThemeVars === void 0) throw Error(r(22));
1693
+ let { breakpoints: r, mixins: i = {}, spacing: a, palette: o = {}, motion: s = {}, transitions: c = {}, typography: l = {}, shape: u, colorSpace: d, ...f } = e;
1694
+ if (e.vars && e.generateThemeVars === void 0) throw Error(n(22));
1695
1695
  let p = kn({
1696
1696
  ...o,
1697
1697
  colorSpace: d
@@ -1838,8 +1838,8 @@ function Tr(e, t, n, r, i) {
1838
1838
  }, s;
1839
1839
  }
1840
1840
  function Er(e = {}, ...t) {
1841
- let { colorSchemes: n = { light: !0 }, defaultColorScheme: i, disableCssColorScheme: a = !1, cssVarPrefix: o = "mui", nativeColor: s = !1, shouldSkipGeneratingVar: c = yr, colorSchemeSelector: l = n.light && n.dark ? "media" : void 0, rootSelector: u = ":root", ...d } = e, f = Object.keys(n)[0], p = i || (n.light && f !== "light" ? "light" : f), m = wr(o), { [p]: h, light: g, dark: v, ...y } = n, b = { ...y }, x = h;
1842
- if ((p === "dark" && !("dark" in n) || p === "light" && !("light" in n)) && (x = !0), !x) throw Error(r(21, p));
1841
+ let { colorSchemes: r = { light: !0 }, defaultColorScheme: i, disableCssColorScheme: a = !1, cssVarPrefix: o = "mui", nativeColor: s = !1, shouldSkipGeneratingVar: c = yr, colorSchemeSelector: l = r.light && r.dark ? "media" : void 0, rootSelector: u = ":root", ...d } = e, f = Object.keys(r)[0], p = i || (r.light && f !== "light" ? "light" : f), m = wr(o), { [p]: h, light: g, dark: v, ...y } = r, b = { ...y }, x = h;
1842
+ if ((p === "dark" && !("dark" in r) || p === "light" && !("light" in r)) && (x = !0), !x) throw Error(n(21, p));
1843
1843
  let S;
1844
1844
  s && (S = "oklch");
1845
1845
  let C = Tr(S, b, x, d, p);
@@ -0,0 +1,3 @@
1
+ import { Qn as e } from "./visualization-filters-B9qik5_K.js";
2
+ var t = e;
3
+ export { t };