@nxgt/material 1.12.3 → 1.16.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 (151) hide show
  1. package/README.md +5 -1
  2. package/dist/abnfDiagram-O67JEVCF-mm89LXw2.js +89 -0
  3. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  4. package/dist/architectureDiagram-NJMV4G6O-CGoA5SIv.js +4146 -0
  5. package/dist/array-CApNbSU9.js +6 -0
  6. package/dist/blockDiagram-BEXU5L5S-Dq8gitB4.js +1946 -0
  7. package/dist/c4Diagram-YGBWAQC7-DO_alqIu.js +2990 -0
  8. package/dist/channel-1fT-W0NS.js +5 -0
  9. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  10. package/dist/chunk-3FUC2YCW-C3yD2fMw.js +364 -0
  11. package/dist/chunk-5DYCD2WN-Dn2jrYde.js +37 -0
  12. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  13. package/dist/chunk-6AEJRKK7-JyfUnUEu.js +10 -0
  14. package/dist/chunk-742MDFTN-BbWkrtj2.js +275 -0
  15. package/dist/chunk-7INBJB4K-C3x7JNTG.js +4487 -0
  16. package/dist/chunk-7M6MHVWA-Cc7UTu4b.js +4256 -0
  17. package/dist/chunk-7PRAP22T-C8rsGRvH.js +67 -0
  18. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  19. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  20. package/dist/chunk-GNY47TPC-d-Bi8r0p.js +75 -0
  21. package/dist/chunk-GTNCS2PH-CTS015lZ.js +490 -0
  22. package/dist/chunk-GWA4HPMP-B4pgM-E1.js +61 -0
  23. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  24. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  25. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  26. package/dist/chunk-MBY4JIJT-Dg6AeftH.js +1847 -0
  27. package/dist/chunk-NETBCI7D-TXZM0vKz.js +236 -0
  28. package/dist/chunk-O7XYJQB3-md6vjVm4.js +3922 -0
  29. package/dist/chunk-UA2S7LBM-DQTYPe9y.js +363 -0
  30. package/dist/chunk-WEXAMYUT-DmKWJz6y.js +26 -0
  31. package/dist/chunk-XXDRQBXY-C9XIYQdM.js +9 -0
  32. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  33. package/dist/chunk-Z7XXMR3K-BoDf6lxl.js +677 -0
  34. package/dist/chunk-ZIGJFQKS-CP5430fN.js +663 -0
  35. package/dist/classDiagram-v2-NBCMYWYE-6KoTmufe.js +3397 -0
  36. package/dist/components.js +3 -3
  37. package/dist/cose-bilkent-JH36ORCC-CejnZl_t.js +2251 -0
  38. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  39. package/dist/cynefinDiagram-VND7K2PF-DZnc0dlm.js +349 -0
  40. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  41. package/dist/dagre-6A5THRUB-cuS57NO5.js +2192 -0
  42. package/dist/diagram-22UHCM2B-zQSFmH0t.js +5084 -0
  43. package/dist/diagram-3UASUU5V-D45Fgu1j.js +724 -0
  44. package/dist/diagram-ATOU4E4O-YMtQnlqd.js +432 -0
  45. package/dist/diagram-CDSNMT55-DP7UmEW1.js +301 -0
  46. package/dist/diagram-MLGK6HIB-WvSqrTRC.js +134 -0
  47. package/dist/diagram-MPIPVDR6-C2F3__mt.js +214 -0
  48. package/dist/dist-1DdJvBEt.js +50 -0
  49. package/dist/{dist-DGsPFADz.js → dist-DppLdkXt.js} +2 -2
  50. package/dist/dnd.js +2 -2
  51. package/dist/ebnfDiagram-ZINNZB2B-BZC6cSiy.js +100 -0
  52. package/dist/elk-276RUBZZ-7DJf1MEV.js +47598 -0
  53. package/dist/erDiagram-OPXOYQCR-YKlEVEF0.js +1970 -0
  54. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  55. package/dist/flowDiagram-KWPJA3E3-DyLvzIlg.js +17 -0
  56. package/dist/ganttDiagram-FUAMR5RP-KIaOrYOF.js +2928 -0
  57. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  58. package/dist/gitGraphDiagram-X574FWY7-DpFW-7JE.js +729 -0
  59. package/dist/graphlib-DFaO_iIU.js +372 -0
  60. package/dist/{hooks-BjSuqEof.js → hooks-C5xy0u03.js} +1 -1
  61. package/dist/hooks.js +1 -1
  62. package/dist/{i18n-DmVqVJXj.js → i18n-Cech9IAc.js} +328 -843
  63. package/dist/i18n.js +1 -1
  64. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  65. package/dist/infoDiagram-VRGFBTTK-H3F-BCnu.js +20 -0
  66. package/dist/init-Buj1GKRa.js +27 -0
  67. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  68. package/dist/ishikawaDiagram-OU5B5YK6-DgQDmcF3.js +719 -0
  69. package/dist/journeyDiagram-ZHPQQLJL-CanDOlfn.js +884 -0
  70. package/dist/kanban-definition-PNTS6WVX-DmnUgxgb.js +976 -0
  71. package/dist/katex-BMQ6LGsM.js +21962 -0
  72. package/dist/lib/components/index.d.ts +4 -0
  73. package/dist/lib/components/ui/action-card.d.ts +1 -1
  74. package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +8 -0
  75. package/dist/lib/components/ui/chat/chat-composer.d.ts +5 -1
  76. package/dist/lib/components/ui/chat/chat-markdown.d.ts +2 -2
  77. package/dist/lib/components/ui/emoji/emoji-list.d.ts +5 -0
  78. package/dist/lib/components/ui/emoji/emoji-picker.d.ts +7 -0
  79. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  80. package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +1 -0
  81. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  82. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  83. package/dist/lib/components/ui/entity-header.stories.d.ts +1 -0
  84. package/dist/lib/components/ui/kanban/kanban.stories.d.ts +1 -0
  85. package/dist/lib/components/ui/markdown/index.d.ts +3 -0
  86. package/dist/lib/components/ui/markdown/markdown.d.ts +7 -0
  87. package/dist/lib/components/ui/markdown/markdown.stories.d.ts +14 -0
  88. package/dist/lib/components/ui/markdown/markdown.test.d.ts +1 -0
  89. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +1 -0
  90. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  91. package/dist/lib/components/ui/markdown/partials/markdown-code.d.ts +2 -0
  92. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.d.ts +4 -0
  93. package/dist/lib/components/ui/mentions/index.d.ts +3 -0
  94. package/dist/lib/components/ui/mentions/mention-list.d.ts +8 -0
  95. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  96. package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +1 -0
  97. package/dist/lib/components/ui/mentions/types.d.ts +7 -0
  98. package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +12 -1
  99. package/dist/lib/components/ui/terminal/index.d.ts +2 -0
  100. package/dist/lib/components/ui/terminal/terminal.d.ts +11 -0
  101. package/dist/lib/components/ui/terminal/terminal.stories.d.ts +14 -0
  102. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  103. package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +1 -0
  104. package/dist/lib/i18n/resources/en/index.d.ts +13 -0
  105. package/dist/lib/i18n/resources/en/material.json.d.ts +14 -1
  106. package/dist/lib/i18n/resources/fr/index.d.ts +13 -0
  107. package/dist/lib/i18n/resources/fr/material.json.d.ts +14 -1
  108. package/dist/lib/i18n/resources/index.d.ts +26 -0
  109. package/dist/lib/i18n/translator.d.ts +1 -1
  110. package/dist/{lib-B1KXma-r.js → lib-Bbw5QPoj.js} +472 -471
  111. package/dist/lib.js +2 -2
  112. package/dist/{main-Cw-Yaqo9.js → main-BjDU9FDM.js} +58614 -29566
  113. package/dist/main.js +6 -6
  114. package/dist/material.css +1 -1
  115. package/dist/math-C5EhTgJw.js +10 -0
  116. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  117. package/dist/mermaid.core-BI1sunfX.js +1096 -0
  118. package/dist/mindmap-definition-NLK3R4M7-DW0BIU_q.js +1008 -0
  119. package/dist/ordinal-DuP05kVQ.js +65 -0
  120. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  121. package/dist/path-Cjou0lUh.js +85 -0
  122. package/dist/pegDiagram-GJSIUBJH-CJIx0u4M.js +94 -0
  123. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  124. package/dist/pieDiagram-5QR66LMP-zAhv5fKz.js +157 -0
  125. package/dist/quadrantDiagram-O4NWA36T-CO4n_yQo.js +2001 -0
  126. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  127. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  128. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  129. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  130. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  131. package/dist/railroadDiagram-XR7U4H2S-B8iV7mfe.js +76 -0
  132. package/dist/requirementDiagram-PLB6GJNP-CGoX1NrW.js +2228 -0
  133. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  134. package/dist/sankeyDiagram-IPEJSGJF-DdSM2wiI.js +962 -0
  135. package/dist/sequenceDiagram-PO4LG4MO-CCRqF5XO.js +4200 -0
  136. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  137. package/dist/src-B4npqWNl.js +1775 -0
  138. package/dist/stateDiagram-v2-GCMORJYK-CQTX5ks8.js +2143 -0
  139. package/dist/step-B6KjpKgN.js +706 -0
  140. package/dist/string-B-ZWXCs2.js +392 -0
  141. package/dist/swimlanes-2SLR337P-C2NNOb5n.js +4763 -0
  142. package/dist/swimlanesDiagram-TC7HE7FX-CPsqPrbP.js +28 -0
  143. package/dist/timeline-definition-EJHVYXUP-DuxGHv-N.js +1073 -0
  144. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  145. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  146. package/dist/usecaseDiagram-POWQR4AR-cuAeIBW3.js +9932 -0
  147. package/dist/vennDiagram-UO4OBE2U-DLwBSAnC.js +1880 -0
  148. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  149. package/dist/wardleyDiagram-VNRHLVJA-D7IZU6vu.js +645 -0
  150. package/dist/xychartDiagram-PMCCYNJV-BDOFv_xK.js +2167 -0
  151. package/package.json +7 -1
@@ -0,0 +1,392 @@
1
+ //#region node_modules/d3-color/src/define.js
2
+ function e(e, t, n) {
3
+ e.prototype = t.prototype = n, n.constructor = e;
4
+ }
5
+ function t(e, t) {
6
+ var n = Object.create(e.prototype);
7
+ for (var r in t) n[r] = t[r];
8
+ return n;
9
+ }
10
+ //#endregion
11
+ //#region node_modules/d3-color/src/color.js
12
+ function n() {}
13
+ var r = .7, i = 1 / r, a = "\\s*([+-]?\\d+)\\s*", o = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", s = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", c = /^#([0-9a-f]{3,8})$/, l = RegExp(`^rgb\\(${a},${a},${a}\\)$`), u = RegExp(`^rgb\\(${s},${s},${s}\\)$`), d = RegExp(`^rgba\\(${a},${a},${a},${o}\\)$`), f = RegExp(`^rgba\\(${s},${s},${s},${o}\\)$`), p = RegExp(`^hsl\\(${o},${s},${s}\\)$`), m = RegExp(`^hsla\\(${o},${s},${s},${o}\\)$`), h = {
14
+ aliceblue: 15792383,
15
+ antiquewhite: 16444375,
16
+ aqua: 65535,
17
+ aquamarine: 8388564,
18
+ azure: 15794175,
19
+ beige: 16119260,
20
+ bisque: 16770244,
21
+ black: 0,
22
+ blanchedalmond: 16772045,
23
+ blue: 255,
24
+ blueviolet: 9055202,
25
+ brown: 10824234,
26
+ burlywood: 14596231,
27
+ cadetblue: 6266528,
28
+ chartreuse: 8388352,
29
+ chocolate: 13789470,
30
+ coral: 16744272,
31
+ cornflowerblue: 6591981,
32
+ cornsilk: 16775388,
33
+ crimson: 14423100,
34
+ cyan: 65535,
35
+ darkblue: 139,
36
+ darkcyan: 35723,
37
+ darkgoldenrod: 12092939,
38
+ darkgray: 11119017,
39
+ darkgreen: 25600,
40
+ darkgrey: 11119017,
41
+ darkkhaki: 12433259,
42
+ darkmagenta: 9109643,
43
+ darkolivegreen: 5597999,
44
+ darkorange: 16747520,
45
+ darkorchid: 10040012,
46
+ darkred: 9109504,
47
+ darksalmon: 15308410,
48
+ darkseagreen: 9419919,
49
+ darkslateblue: 4734347,
50
+ darkslategray: 3100495,
51
+ darkslategrey: 3100495,
52
+ darkturquoise: 52945,
53
+ darkviolet: 9699539,
54
+ deeppink: 16716947,
55
+ deepskyblue: 49151,
56
+ dimgray: 6908265,
57
+ dimgrey: 6908265,
58
+ dodgerblue: 2003199,
59
+ firebrick: 11674146,
60
+ floralwhite: 16775920,
61
+ forestgreen: 2263842,
62
+ fuchsia: 16711935,
63
+ gainsboro: 14474460,
64
+ ghostwhite: 16316671,
65
+ gold: 16766720,
66
+ goldenrod: 14329120,
67
+ gray: 8421504,
68
+ green: 32768,
69
+ greenyellow: 11403055,
70
+ grey: 8421504,
71
+ honeydew: 15794160,
72
+ hotpink: 16738740,
73
+ indianred: 13458524,
74
+ indigo: 4915330,
75
+ ivory: 16777200,
76
+ khaki: 15787660,
77
+ lavender: 15132410,
78
+ lavenderblush: 16773365,
79
+ lawngreen: 8190976,
80
+ lemonchiffon: 16775885,
81
+ lightblue: 11393254,
82
+ lightcoral: 15761536,
83
+ lightcyan: 14745599,
84
+ lightgoldenrodyellow: 16448210,
85
+ lightgray: 13882323,
86
+ lightgreen: 9498256,
87
+ lightgrey: 13882323,
88
+ lightpink: 16758465,
89
+ lightsalmon: 16752762,
90
+ lightseagreen: 2142890,
91
+ lightskyblue: 8900346,
92
+ lightslategray: 7833753,
93
+ lightslategrey: 7833753,
94
+ lightsteelblue: 11584734,
95
+ lightyellow: 16777184,
96
+ lime: 65280,
97
+ limegreen: 3329330,
98
+ linen: 16445670,
99
+ magenta: 16711935,
100
+ maroon: 8388608,
101
+ mediumaquamarine: 6737322,
102
+ mediumblue: 205,
103
+ mediumorchid: 12211667,
104
+ mediumpurple: 9662683,
105
+ mediumseagreen: 3978097,
106
+ mediumslateblue: 8087790,
107
+ mediumspringgreen: 64154,
108
+ mediumturquoise: 4772300,
109
+ mediumvioletred: 13047173,
110
+ midnightblue: 1644912,
111
+ mintcream: 16121850,
112
+ mistyrose: 16770273,
113
+ moccasin: 16770229,
114
+ navajowhite: 16768685,
115
+ navy: 128,
116
+ oldlace: 16643558,
117
+ olive: 8421376,
118
+ olivedrab: 7048739,
119
+ orange: 16753920,
120
+ orangered: 16729344,
121
+ orchid: 14315734,
122
+ palegoldenrod: 15657130,
123
+ palegreen: 10025880,
124
+ paleturquoise: 11529966,
125
+ palevioletred: 14381203,
126
+ papayawhip: 16773077,
127
+ peachpuff: 16767673,
128
+ peru: 13468991,
129
+ pink: 16761035,
130
+ plum: 14524637,
131
+ powderblue: 11591910,
132
+ purple: 8388736,
133
+ rebeccapurple: 6697881,
134
+ red: 16711680,
135
+ rosybrown: 12357519,
136
+ royalblue: 4286945,
137
+ saddlebrown: 9127187,
138
+ salmon: 16416882,
139
+ sandybrown: 16032864,
140
+ seagreen: 3050327,
141
+ seashell: 16774638,
142
+ sienna: 10506797,
143
+ silver: 12632256,
144
+ skyblue: 8900331,
145
+ slateblue: 6970061,
146
+ slategray: 7372944,
147
+ slategrey: 7372944,
148
+ snow: 16775930,
149
+ springgreen: 65407,
150
+ steelblue: 4620980,
151
+ tan: 13808780,
152
+ teal: 32896,
153
+ thistle: 14204888,
154
+ tomato: 16737095,
155
+ turquoise: 4251856,
156
+ violet: 15631086,
157
+ wheat: 16113331,
158
+ white: 16777215,
159
+ whitesmoke: 16119285,
160
+ yellow: 16776960,
161
+ yellowgreen: 10145074
162
+ };
163
+ e(n, b, {
164
+ copy(e) {
165
+ return Object.assign(new this.constructor(), this, e);
166
+ },
167
+ displayable() {
168
+ return this.rgb().displayable();
169
+ },
170
+ hex: g,
171
+ formatHex: g,
172
+ formatHex8: _,
173
+ formatHsl: v,
174
+ formatRgb: y,
175
+ toString: y
176
+ });
177
+ function g() {
178
+ return this.rgb().formatHex();
179
+ }
180
+ function _() {
181
+ return this.rgb().formatHex8();
182
+ }
183
+ function v() {
184
+ return N(this).formatHsl();
185
+ }
186
+ function y() {
187
+ return this.rgb().formatRgb();
188
+ }
189
+ function b(e) {
190
+ var t, n;
191
+ return e = (e + "").trim().toLowerCase(), (t = c.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? x(t) : n === 3 ? new T(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? S(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? S(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = l.exec(e)) ? new T(t[1], t[2], t[3], 1) : (t = u.exec(e)) ? new T(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = d.exec(e)) ? S(t[1], t[2], t[3], t[4]) : (t = f.exec(e)) ? S(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = p.exec(e)) ? M(t[1], t[2] / 100, t[3] / 100, 1) : (t = m.exec(e)) ? M(t[1], t[2] / 100, t[3] / 100, t[4]) : h.hasOwnProperty(e) ? x(h[e]) : e === "transparent" ? new T(NaN, NaN, NaN, 0) : null;
192
+ }
193
+ function x(e) {
194
+ return new T(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
195
+ }
196
+ function S(e, t, n, r) {
197
+ return r <= 0 && (e = t = n = NaN), new T(e, t, n, r);
198
+ }
199
+ function C(e) {
200
+ return e instanceof n || (e = b(e)), e ? (e = e.rgb(), new T(e.r, e.g, e.b, e.opacity)) : new T();
201
+ }
202
+ function w(e, t, n, r) {
203
+ return arguments.length === 1 ? C(e) : new T(e, t, n, r ?? 1);
204
+ }
205
+ function T(e, t, n, r) {
206
+ this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
207
+ }
208
+ e(T, w, t(n, {
209
+ brighter(e) {
210
+ return e = e == null ? i : i ** +e, new T(this.r * e, this.g * e, this.b * e, this.opacity);
211
+ },
212
+ darker(e) {
213
+ return e = e == null ? r : r ** +e, new T(this.r * e, this.g * e, this.b * e, this.opacity);
214
+ },
215
+ rgb() {
216
+ return this;
217
+ },
218
+ clamp() {
219
+ return new T(A(this.r), A(this.g), A(this.b), k(this.opacity));
220
+ },
221
+ displayable() {
222
+ return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
223
+ },
224
+ hex: E,
225
+ formatHex: E,
226
+ formatHex8: D,
227
+ formatRgb: O,
228
+ toString: O
229
+ }));
230
+ function E() {
231
+ return `#${j(this.r)}${j(this.g)}${j(this.b)}`;
232
+ }
233
+ function D() {
234
+ return `#${j(this.r)}${j(this.g)}${j(this.b)}${j((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
235
+ }
236
+ function O() {
237
+ let e = k(this.opacity);
238
+ return `${e === 1 ? "rgb(" : "rgba("}${A(this.r)}, ${A(this.g)}, ${A(this.b)}${e === 1 ? ")" : `, ${e})`}`;
239
+ }
240
+ function k(e) {
241
+ return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
242
+ }
243
+ function A(e) {
244
+ return Math.max(0, Math.min(255, Math.round(e) || 0));
245
+ }
246
+ function j(e) {
247
+ return e = A(e), (e < 16 ? "0" : "") + e.toString(16);
248
+ }
249
+ function M(e, t, n, r) {
250
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new F(e, t, n, r);
251
+ }
252
+ function N(e) {
253
+ if (e instanceof F) return new F(e.h, e.s, e.l, e.opacity);
254
+ if (e instanceof n || (e = b(e)), !e) return new F();
255
+ if (e instanceof F) return e;
256
+ e = e.rgb();
257
+ var t = e.r / 255, r = e.g / 255, i = e.b / 255, a = Math.min(t, r, i), o = Math.max(t, r, i), s = NaN, c = o - a, l = (o + a) / 2;
258
+ return c ? (s = t === o ? (r - i) / c + (r < i) * 6 : r === o ? (i - t) / c + 2 : (t - r) / c + 4, c /= l < .5 ? o + a : 2 - o - a, s *= 60) : c = l > 0 && l < 1 ? 0 : s, new F(s, c, l, e.opacity);
259
+ }
260
+ function P(e, t, n, r) {
261
+ return arguments.length === 1 ? N(e) : new F(e, t, n, r ?? 1);
262
+ }
263
+ function F(e, t, n, r) {
264
+ this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
265
+ }
266
+ e(F, P, t(n, {
267
+ brighter(e) {
268
+ return e = e == null ? i : i ** +e, new F(this.h, this.s, this.l * e, this.opacity);
269
+ },
270
+ darker(e) {
271
+ return e = e == null ? r : r ** +e, new F(this.h, this.s, this.l * e, this.opacity);
272
+ },
273
+ rgb() {
274
+ var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
275
+ return new T(R(e >= 240 ? e - 240 : e + 120, i, r), R(e, i, r), R(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
276
+ },
277
+ clamp() {
278
+ return new F(I(this.h), L(this.s), L(this.l), k(this.opacity));
279
+ },
280
+ displayable() {
281
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
282
+ },
283
+ formatHsl() {
284
+ let e = k(this.opacity);
285
+ return `${e === 1 ? "hsl(" : "hsla("}${I(this.h)}, ${L(this.s) * 100}%, ${L(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
286
+ }
287
+ }));
288
+ function I(e) {
289
+ return e = (e || 0) % 360, e < 0 ? e + 360 : e;
290
+ }
291
+ function L(e) {
292
+ return Math.max(0, Math.min(1, e || 0));
293
+ }
294
+ function R(e, t, n) {
295
+ return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
296
+ }
297
+ //#endregion
298
+ //#region node_modules/d3-interpolate/src/basis.js
299
+ function z(e, t, n, r, i) {
300
+ var a = e * e, o = a * e;
301
+ return ((1 - 3 * e + 3 * a - o) * t + (4 - 6 * a + 3 * o) * n + (1 + 3 * e + 3 * a - 3 * o) * r + o * i) / 6;
302
+ }
303
+ function B(e) {
304
+ var t = e.length - 1;
305
+ return function(n) {
306
+ var r = n <= 0 ? n = 0 : n >= 1 ? (n = 1, t - 1) : Math.floor(n * t), i = e[r], a = e[r + 1], o = r > 0 ? e[r - 1] : 2 * i - a, s = r < t - 1 ? e[r + 2] : 2 * a - i;
307
+ return z((n - r / t) * t, o, i, a, s);
308
+ };
309
+ }
310
+ //#endregion
311
+ //#region node_modules/d3-interpolate/src/constant.js
312
+ var V = (e) => () => e;
313
+ //#endregion
314
+ //#region node_modules/d3-interpolate/src/color.js
315
+ function H(e, t) {
316
+ return function(n) {
317
+ return e + n * t;
318
+ };
319
+ }
320
+ function U(e, t, n) {
321
+ return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
322
+ return (e + r * t) ** +n;
323
+ };
324
+ }
325
+ function W(e, t) {
326
+ var n = t - e;
327
+ return n ? H(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : V(isNaN(e) ? t : e);
328
+ }
329
+ function G(e) {
330
+ return (e = +e) == 1 ? K : function(t, n) {
331
+ return n - t ? U(t, n, e) : V(isNaN(t) ? n : t);
332
+ };
333
+ }
334
+ function K(e, t) {
335
+ var n = t - e;
336
+ return n ? H(e, n) : V(isNaN(e) ? t : e);
337
+ }
338
+ //#endregion
339
+ //#region node_modules/d3-interpolate/src/rgb.js
340
+ var q = (function e(t) {
341
+ var n = G(t);
342
+ function r(e, t) {
343
+ var r = n((e = w(e)).r, (t = w(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = K(e.opacity, t.opacity);
344
+ return function(t) {
345
+ return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
346
+ };
347
+ }
348
+ return r.gamma = e, r;
349
+ })(1);
350
+ function J(e) {
351
+ return function(t) {
352
+ var n = t.length, r = Array(n), i = Array(n), a = Array(n), o, s;
353
+ for (o = 0; o < n; ++o) s = w(t[o]), r[o] = s.r || 0, i[o] = s.g || 0, a[o] = s.b || 0;
354
+ return r = e(r), i = e(i), a = e(a), s.opacity = 1, function(e) {
355
+ return s.r = r(e), s.g = i(e), s.b = a(e), s + "";
356
+ };
357
+ };
358
+ }
359
+ var Y = J(B);
360
+ //#endregion
361
+ //#region node_modules/d3-interpolate/src/number.js
362
+ function X(e, t) {
363
+ return e = +e, t = +t, function(n) {
364
+ return e * (1 - n) + t * n;
365
+ };
366
+ }
367
+ //#endregion
368
+ //#region node_modules/d3-interpolate/src/string.js
369
+ var Z = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Q = new RegExp(Z.source, "g");
370
+ function $(e) {
371
+ return function() {
372
+ return e;
373
+ };
374
+ }
375
+ function ee(e) {
376
+ return function(t) {
377
+ return e(t) + "";
378
+ };
379
+ }
380
+ function te(e, t) {
381
+ var n = Z.lastIndex = Q.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
382
+ for (e += "", t += ""; (r = Z.exec(e)) && (i = Q.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
383
+ i: o,
384
+ x: X(r, i)
385
+ })), n = Q.lastIndex;
386
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? ee(c[0].x) : $(t) : (t = c.length, function(e) {
387
+ for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
388
+ return s.join("");
389
+ });
390
+ }
391
+ //#endregion
392
+ export { W as a, n as c, b as d, r as f, t as g, e as h, q as i, T as l, C as m, X as n, K as o, w as p, Y as r, V as s, te as t, i as u };