@nxgt/material-vue 0.16.0 → 0.19.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 (157) hide show
  1. package/README.md +4 -0
  2. package/dist/_baseIsEqual-Cj6hHjs0.js +226 -0
  3. package/dist/abnfDiagram-O67JEVCF-Cl_I9xuI.js +89 -0
  4. package/dist/arc-DNNg1pxp.js +80 -0
  5. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  6. package/dist/architectureDiagram-NJMV4G6O-CVS4UUCi.js +4146 -0
  7. package/dist/array-CApNbSU9.js +6 -0
  8. package/dist/blockDiagram-BEXU5L5S-B5Z0jbc8.js +1946 -0
  9. package/dist/c4Diagram-YGBWAQC7-B6jKsl3h.js +2990 -0
  10. package/dist/{camera-Cbd1TWFd.js → camera-oxz1xItP.js} +4 -4
  11. package/dist/channel-BA1GJyZ7.js +5 -0
  12. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  13. package/dist/chunk-3FUC2YCW-CX-v_TQz.js +364 -0
  14. package/dist/chunk-5DYCD2WN-B9vjeX2u.js +37 -0
  15. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  16. package/dist/chunk-6AEJRKK7-D9IaQdwq.js +10 -0
  17. package/dist/chunk-742MDFTN-BIhVe9GR.js +275 -0
  18. package/dist/chunk-7INBJB4K-CwPgdc2G.js +4487 -0
  19. package/dist/chunk-7M6MHVWA-Deh_-m6x.js +4256 -0
  20. package/dist/chunk-7PRAP22T-CofnNOEr.js +67 -0
  21. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  22. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  23. package/dist/chunk-GNY47TPC-rS2K544k.js +75 -0
  24. package/dist/chunk-GTNCS2PH-BR0O70z_.js +490 -0
  25. package/dist/chunk-GWA4HPMP-DU9lUCZD.js +61 -0
  26. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  27. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  28. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  29. package/dist/chunk-MBY4JIJT-HYVRUG_P.js +1847 -0
  30. package/dist/chunk-NETBCI7D-C8amwD_P.js +236 -0
  31. package/dist/chunk-O7XYJQB3-WMQqqzRb.js +3922 -0
  32. package/dist/chunk-UA2S7LBM-DtBatid7.js +363 -0
  33. package/dist/chunk-WEXAMYUT-Cc10h8ed.js +26 -0
  34. package/dist/chunk-XXDRQBXY-B2pGFcse.js +9 -0
  35. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  36. package/dist/chunk-Z7XXMR3K-CJmsOGTV.js +676 -0
  37. package/dist/chunk-ZIGJFQKS-DBdWb0bj.js +1366 -0
  38. package/dist/classDiagram-v2-NBCMYWYE-Caqw5P6A.js +3397 -0
  39. package/dist/{components-DLtnz66n.js → components-IbdMALGv.js} +43465 -18610
  40. package/dist/components.js +5 -5
  41. package/dist/{composables-BJ2GgDD0.js → composables-6zV0t-y7.js} +1 -1
  42. package/dist/composables.js +1 -1
  43. package/dist/cose-bilkent-JH36ORCC-DStMi-eo.js +2251 -0
  44. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  45. package/dist/cynefinDiagram-VND7K2PF-0Mq0e5NQ.js +349 -0
  46. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  47. package/dist/dagre-6A5THRUB-EHXNn6Wq.js +2192 -0
  48. package/dist/defaultLocale-DnzPsei5.js +201 -0
  49. package/dist/diagram-22UHCM2B-B3RAQlqQ.js +5084 -0
  50. package/dist/diagram-3UASUU5V-BznCZHss.js +525 -0
  51. package/dist/diagram-ATOU4E4O-DtIUxSAn.js +432 -0
  52. package/dist/diagram-CDSNMT55-DOjN3BR2.js +301 -0
  53. package/dist/diagram-MLGK6HIB-Dx2UboD6.js +134 -0
  54. package/dist/diagram-MPIPVDR6-DnPL3RV0.js +214 -0
  55. package/dist/dist-D9zvfe2i.js +59 -0
  56. package/dist/{dnd-Cmcrm28l.js → dnd-CaDeYjQx.js} +1 -1
  57. package/dist/dnd.js +1 -1
  58. package/dist/ebnfDiagram-ZINNZB2B-BNbxCL0b.js +100 -0
  59. package/dist/elk-276RUBZZ-B9WeHolc.js +47597 -0
  60. package/dist/erDiagram-OPXOYQCR-DReZElBu.js +1970 -0
  61. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  62. package/dist/flowDiagram-KWPJA3E3-DYss4vEI.js +17 -0
  63. package/dist/ganttDiagram-FUAMR5RP-64EZDDmC.js +3083 -0
  64. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  65. package/dist/gitGraphDiagram-X574FWY7-DmMMrp5A.js +729 -0
  66. package/dist/graphlib-CrmIPC4m.js +372 -0
  67. package/dist/{i18n-DmMS3ID3.js → i18n-OBzfa-B7.js} +233 -924
  68. package/dist/i18n.js +2 -2
  69. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  70. package/dist/infoDiagram-VRGFBTTK-XlBUAu0t.js +20 -0
  71. package/dist/init-MwSGRDIl.js +15 -0
  72. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  73. package/dist/isEmpty-CMjyBU-a.js +136 -0
  74. package/dist/ishikawaDiagram-OU5B5YK6-C9cMWMPO.js +719 -0
  75. package/dist/journeyDiagram-ZHPQQLJL-DXdfP9BW.js +884 -0
  76. package/dist/kanban-definition-PNTS6WVX-DhOBy3A0.js +976 -0
  77. package/dist/katex-BMQ6LGsM.js +21962 -0
  78. package/dist/lib/components/index.d.ts +4 -0
  79. package/dist/lib/components/ui/chat/chat-composer-mentions.vue.d.ts +13 -0
  80. package/dist/lib/components/ui/chat/chat-composer.vue.d.ts +6 -2
  81. package/dist/lib/components/ui/contacts/consts.d.ts +1 -1
  82. package/dist/lib/components/ui/emoji/emoji-list.vue.d.ts +11 -0
  83. package/dist/lib/components/ui/emoji/emoji-picker.vue.d.ts +12 -0
  84. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  85. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  86. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  87. package/dist/lib/components/ui/markdown/index.d.ts +2 -0
  88. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +10 -0
  89. package/dist/lib/components/ui/markdown/markdown.vue.d.ts +10 -0
  90. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  91. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.vue.d.ts +7 -0
  92. package/dist/lib/components/ui/mentions/index.d.ts +4 -0
  93. package/dist/lib/components/ui/mentions/mention-list.vue.d.ts +16 -0
  94. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  95. package/dist/lib/components/ui/mentions/types.d.ts +5 -0
  96. package/dist/lib/components/ui/terminal/index.d.ts +3 -0
  97. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  98. package/dist/lib/components/ui/terminal/terminal.vue.d.ts +17 -0
  99. package/dist/lib/i18n/resources/en/index.d.ts +7 -0
  100. package/dist/lib/i18n/resources/en/material.json.d.ts +7 -0
  101. package/dist/lib/i18n/resources/fr/index.d.ts +7 -0
  102. package/dist/lib/i18n/resources/fr/material.json.d.ts +7 -0
  103. package/dist/lib/i18n/resources/index.d.ts +14 -0
  104. package/dist/lib/i18n/translator.d.ts +1 -1
  105. package/dist/lib/nuxt/component-names.d.ts +1 -1
  106. package/dist/lib-B9AHrvmh.js +389 -0
  107. package/dist/lib.js +1 -1
  108. package/dist/line-UP6dkL36.js +34 -0
  109. package/dist/linear-bD_QoED_.js +289 -0
  110. package/dist/main.js +9 -9
  111. package/dist/material-vue.css +1 -1
  112. package/dist/merge-B4IBXGaq.js +170 -0
  113. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  114. package/dist/mermaid.core-C_Rtflmc.js +1096 -0
  115. package/dist/mindmap-definition-NLK3R4M7-CO6s2Afv.js +1008 -0
  116. package/dist/ordinal-D_ZgubzR.js +65 -0
  117. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  118. package/dist/path-DGNPZRdx.js +85 -0
  119. package/dist/{pdf-outline-sidebar-BBXJRwdt.js → pdf-outline-sidebar-D5VedBgk.js} +3 -2
  120. package/dist/{pdf-page-DZyTFukn.js → pdf-page-B1Ze518d.js} +1 -1
  121. package/dist/{pdf-page-list-C3GukJ3_.js → pdf-page-list-CBJziavm.js} +3 -2
  122. package/dist/{pdf-reader-Ci4v2Ff9.js → pdf-reader-Cn1uxtJN.js} +13 -13
  123. package/dist/{pdf-sidebar-Dl8fQStG.js → pdf-sidebar-PXfgGlmq.js} +4 -4
  124. package/dist/{pdf-thumbnail-sidebar-GS_V0PGc.js → pdf-thumbnail-sidebar-7agqWsXT.js} +4 -3
  125. package/dist/{pdf-toolbar-D37w-WIK.js → pdf-toolbar-Blm9CFvh.js} +22 -21
  126. package/dist/pegDiagram-GJSIUBJH-gvsGke9W.js +94 -0
  127. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  128. package/dist/pieDiagram-5QR66LMP-DLBcErnI.js +205 -0
  129. package/dist/quadrantDiagram-O4NWA36T-Bn3CmGxM.js +2001 -0
  130. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  131. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  132. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  133. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  134. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  135. package/dist/railroadDiagram-XR7U4H2S-DLeBxWbV.js +76 -0
  136. package/dist/requirementDiagram-PLB6GJNP-JpWB5sEv.js +2228 -0
  137. package/dist/rolldown-runtime-CWhphoD1.js +23 -0
  138. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  139. package/dist/sankeyDiagram-IPEJSGJF-a4rFl5rR.js +970 -0
  140. package/dist/sequenceDiagram-PO4LG4MO-CjUigcL2.js +4200 -0
  141. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  142. package/dist/src-CNRY2AUH.js +2142 -0
  143. package/dist/stateDiagram-v2-GCMORJYK-DJkVDIb0.js +2143 -0
  144. package/dist/{stx-player-C0FOaRjU.js → stx-player-rs3uH0iI.js} +17 -17
  145. package/dist/swimlanes-2SLR337P-D7Ff0hLr.js +4763 -0
  146. package/dist/swimlanesDiagram-TC7HE7FX-DZZ9d76C.js +28 -0
  147. package/dist/timeline-definition-EJHVYXUP-C0aHlt9K.js +1073 -0
  148. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  149. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  150. package/dist/usecaseDiagram-POWQR4AR-BrRAt7Wu.js +9932 -0
  151. package/dist/vennDiagram-UO4OBE2U-B22Jhju8.js +1880 -0
  152. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  153. package/dist/wardleyDiagram-VNRHLVJA-Dw4YgRiQ.js +645 -0
  154. package/dist/xychartDiagram-PMCCYNJV-DtuDs9I7.js +2214 -0
  155. package/lib/nuxt/component-names.ts +2 -0
  156. package/package.json +5 -1
  157. package/dist/lib-CT0uRn8S.js +0 -611
@@ -0,0 +1,2142 @@
1
+ import { i as e, t } from "./rolldown-runtime-CWhphoD1.js";
2
+ import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ //#region node_modules/dayjs/dayjs.min.js
4
+ var r = /* @__PURE__ */ t(((e, t) => {
5
+ (function(n, r) {
6
+ typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
7
+ })(e, (function() {
8
+ var e = 1e3, t = 6e4, n = 36e5, r = "millisecond", i = "second", a = "minute", o = "hour", s = "day", c = "week", l = "month", u = "quarter", d = "year", f = "date", p = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, h = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = {
9
+ name: "en",
10
+ weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
11
+ months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
12
+ ordinal: function(e) {
13
+ var t = [
14
+ "th",
15
+ "st",
16
+ "nd",
17
+ "rd"
18
+ ], n = e % 100;
19
+ return "[" + e + (t[(n - 20) % 10] || t[n] || t[0]) + "]";
20
+ }
21
+ }, _ = function(e, t, n) {
22
+ var r = String(e);
23
+ return !r || r.length >= t ? e : "" + Array(t + 1 - r.length).join(n) + e;
24
+ }, v = {
25
+ s: _,
26
+ z: function(e) {
27
+ var t = -e.utcOffset(), n = Math.abs(t), r = Math.floor(n / 60), i = n % 60;
28
+ return (t <= 0 ? "+" : "-") + _(r, 2, "0") + ":" + _(i, 2, "0");
29
+ },
30
+ m: function e(t, n) {
31
+ if (t.date() < n.date()) return -e(n, t);
32
+ var r = 12 * (n.year() - t.year()) + (n.month() - t.month()), i = t.clone().add(r, l), a = n - i < 0, o = t.clone().add(r + (a ? -1 : 1), l);
33
+ return +(-(r + (n - i) / (a ? i - o : o - i)) || 0);
34
+ },
35
+ a: function(e) {
36
+ return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
37
+ },
38
+ p: function(e) {
39
+ return {
40
+ M: l,
41
+ y: d,
42
+ w: c,
43
+ d: s,
44
+ D: f,
45
+ h: o,
46
+ m: a,
47
+ s: i,
48
+ ms: r,
49
+ Q: u
50
+ }[e] || String(e || "").toLowerCase().replace(/s$/, "");
51
+ },
52
+ u: function(e) {
53
+ return e === void 0;
54
+ }
55
+ }, y = "en", b = {};
56
+ b[y] = g;
57
+ var x = "$isDayjsObject", S = function(e) {
58
+ return e instanceof E || !(!e || !e[x]);
59
+ }, C = function e(t, n, r) {
60
+ var i;
61
+ if (!t) return y;
62
+ if (typeof t == "string") {
63
+ var a = t.toLowerCase();
64
+ b[a] && (i = a), n && (b[a] = n, i = a);
65
+ var o = t.split("-");
66
+ if (!i && o.length > 1) return e(o[0]);
67
+ } else {
68
+ var s = t.name;
69
+ b[s] = t, i = s;
70
+ }
71
+ return !r && i && (y = i), i || !r && y;
72
+ }, w = function(e, t) {
73
+ if (S(e)) return e.clone();
74
+ var n = typeof t == "object" ? t : {};
75
+ return n.date = e, n.args = arguments, new E(n);
76
+ }, T = v;
77
+ T.l = C, T.i = S, T.w = function(e, t) {
78
+ return w(e, {
79
+ locale: t.$L,
80
+ utc: t.$u,
81
+ x: t.$x,
82
+ $offset: t.$offset
83
+ });
84
+ };
85
+ var E = function() {
86
+ function g(e) {
87
+ this.$L = C(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[x] = !0;
88
+ }
89
+ var _ = g.prototype;
90
+ return _.parse = function(e) {
91
+ this.$d = function(e) {
92
+ var t = e.date, n = e.utc;
93
+ if (t === null) return /* @__PURE__ */ new Date(NaN);
94
+ if (T.u(t)) return /* @__PURE__ */ new Date();
95
+ if (t instanceof Date) return new Date(t);
96
+ if (typeof t == "string" && !/Z$/i.test(t)) {
97
+ var r = t.match(m);
98
+ if (r) {
99
+ var i = r[2] - 1 || 0, a = (r[7] || "0").substring(0, 3);
100
+ return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a);
101
+ }
102
+ }
103
+ return new Date(t);
104
+ }(e), this.init();
105
+ }, _.init = function() {
106
+ var e = this.$d;
107
+ this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
108
+ }, _.$utils = function() {
109
+ return T;
110
+ }, _.isValid = function() {
111
+ return this.$d.toString() !== p;
112
+ }, _.isSame = function(e, t) {
113
+ var n = w(e);
114
+ return this.startOf(t) <= n && n <= this.endOf(t);
115
+ }, _.isAfter = function(e, t) {
116
+ return w(e) < this.startOf(t);
117
+ }, _.isBefore = function(e, t) {
118
+ return this.endOf(t) < w(e);
119
+ }, _.$g = function(e, t, n) {
120
+ return T.u(e) ? this[t] : this.set(n, e);
121
+ }, _.unix = function() {
122
+ return Math.floor(this.valueOf() / 1e3);
123
+ }, _.valueOf = function() {
124
+ return this.$d.getTime();
125
+ }, _.startOf = function(e, t) {
126
+ var n = this, r = !!T.u(t) || t, u = T.p(e), p = function(e, t) {
127
+ var i = T.w(n.$u ? Date.UTC(n.$y, t, e) : new Date(n.$y, t, e), n);
128
+ return r ? i : i.endOf(s);
129
+ }, m = function(e, t) {
130
+ return T.w(n.toDate()[e].apply(n.toDate("s"), (r ? [
131
+ 0,
132
+ 0,
133
+ 0,
134
+ 0
135
+ ] : [
136
+ 23,
137
+ 59,
138
+ 59,
139
+ 999
140
+ ]).slice(t)), n);
141
+ }, h = this.$W, g = this.$M, _ = this.$D, v = "set" + (this.$u ? "UTC" : "");
142
+ switch (u) {
143
+ case d: return r ? p(1, 0) : p(31, 11);
144
+ case l: return r ? p(1, g) : p(0, g + 1);
145
+ case c:
146
+ var y = this.$locale().weekStart || 0, b = (h < y ? h + 7 : h) - y;
147
+ return p(r ? _ - b : _ + (6 - b), g);
148
+ case s:
149
+ case f: return m(v + "Hours", 0);
150
+ case o: return m(v + "Minutes", 1);
151
+ case a: return m(v + "Seconds", 2);
152
+ case i: return m(v + "Milliseconds", 3);
153
+ default: return this.clone();
154
+ }
155
+ }, _.endOf = function(e) {
156
+ return this.startOf(e, !1);
157
+ }, _.$set = function(e, t) {
158
+ var n, c = T.p(e), u = "set" + (this.$u ? "UTC" : ""), p = (n = {}, n[s] = u + "Date", n[f] = u + "Date", n[l] = u + "Month", n[d] = u + "FullYear", n[o] = u + "Hours", n[a] = u + "Minutes", n[i] = u + "Seconds", n[r] = u + "Milliseconds", n)[c], m = c === s ? this.$D + (t - this.$W) : t;
159
+ if (c === l || c === d) {
160
+ var h = this.clone().set(f, 1);
161
+ h.$d[p](m), h.init(), this.$d = h.set(f, Math.min(this.$D, h.daysInMonth())).$d;
162
+ } else p && this.$d[p](m);
163
+ return this.init(), this;
164
+ }, _.set = function(e, t) {
165
+ return this.clone().$set(e, t);
166
+ }, _.get = function(e) {
167
+ return this[T.p(e)]();
168
+ }, _.add = function(r, u) {
169
+ var f, p = this;
170
+ r = Number(r);
171
+ var m = T.p(u), h = function(e) {
172
+ var t = w(p);
173
+ return T.w(t.date(t.date() + Math.round(e * r)), p);
174
+ };
175
+ if (m === l) return this.set(l, this.$M + r);
176
+ if (m === d) return this.set(d, this.$y + r);
177
+ if (m === s) return h(1);
178
+ if (m === c) return h(7);
179
+ var g = (f = {}, f[a] = t, f[o] = n, f[i] = e, f)[m] || 1, _ = this.$d.getTime() + r * g;
180
+ return T.w(_, this);
181
+ }, _.subtract = function(e, t) {
182
+ return this.add(-1 * e, t);
183
+ }, _.format = function(e) {
184
+ var t = this, n = this.$locale();
185
+ if (!this.isValid()) return n.invalidDate || p;
186
+ var r = e || "YYYY-MM-DDTHH:mm:ssZ", i = T.z(this), a = this.$H, o = this.$m, s = this.$M, c = n.weekdays, l = n.months, u = n.meridiem, d = function(e, n, i, a) {
187
+ return e && (e[n] || e(t, r)) || i[n].slice(0, a);
188
+ }, f = function(e) {
189
+ return T.s(a % 12 || 12, e, "0");
190
+ }, m = u || function(e, t, n) {
191
+ var r = e < 12 ? "AM" : "PM";
192
+ return n ? r.toLowerCase() : r;
193
+ };
194
+ return r.replace(h, (function(e, r) {
195
+ return r || function(e) {
196
+ switch (e) {
197
+ case "YY": return String(t.$y).slice(-2);
198
+ case "YYYY": return T.s(t.$y, 4, "0");
199
+ case "M": return s + 1;
200
+ case "MM": return T.s(s + 1, 2, "0");
201
+ case "MMM": return d(n.monthsShort, s, l, 3);
202
+ case "MMMM": return d(l, s);
203
+ case "D": return t.$D;
204
+ case "DD": return T.s(t.$D, 2, "0");
205
+ case "d": return String(t.$W);
206
+ case "dd": return d(n.weekdaysMin, t.$W, c, 2);
207
+ case "ddd": return d(n.weekdaysShort, t.$W, c, 3);
208
+ case "dddd": return c[t.$W];
209
+ case "H": return String(a);
210
+ case "HH": return T.s(a, 2, "0");
211
+ case "h": return f(1);
212
+ case "hh": return f(2);
213
+ case "a": return m(a, o, !0);
214
+ case "A": return m(a, o, !1);
215
+ case "m": return String(o);
216
+ case "mm": return T.s(o, 2, "0");
217
+ case "s": return String(t.$s);
218
+ case "ss": return T.s(t.$s, 2, "0");
219
+ case "SSS": return T.s(t.$ms, 3, "0");
220
+ case "Z": return i;
221
+ }
222
+ return null;
223
+ }(e) || i.replace(":", "");
224
+ }));
225
+ }, _.utcOffset = function() {
226
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
227
+ }, _.diff = function(r, f, p) {
228
+ var m, h = this, g = T.p(f), _ = w(r), v = (_.utcOffset() - this.utcOffset()) * t, y = this - _, b = function() {
229
+ return T.m(h, _);
230
+ };
231
+ switch (g) {
232
+ case d:
233
+ m = b() / 12;
234
+ break;
235
+ case l:
236
+ m = b();
237
+ break;
238
+ case u:
239
+ m = b() / 3;
240
+ break;
241
+ case c:
242
+ m = (y - v) / 6048e5;
243
+ break;
244
+ case s:
245
+ m = (y - v) / 864e5;
246
+ break;
247
+ case o:
248
+ m = y / n;
249
+ break;
250
+ case a:
251
+ m = y / t;
252
+ break;
253
+ case i:
254
+ m = y / e;
255
+ break;
256
+ default: m = y;
257
+ }
258
+ return p ? m : T.a(m);
259
+ }, _.daysInMonth = function() {
260
+ return this.endOf(l).$D;
261
+ }, _.$locale = function() {
262
+ return b[this.$L];
263
+ }, _.locale = function(e, t) {
264
+ if (!e) return this.$L;
265
+ var n = this.clone(), r = C(e, t, !0);
266
+ return r && (n.$L = r), n;
267
+ }, _.clone = function() {
268
+ return T.w(this.$d, this);
269
+ }, _.toDate = function() {
270
+ return new Date(this.valueOf());
271
+ }, _.toJSON = function() {
272
+ return this.isValid() ? this.toISOString() : null;
273
+ }, _.toISOString = function() {
274
+ return this.$d.toISOString();
275
+ }, _.toString = function() {
276
+ return this.$d.toUTCString();
277
+ }, g;
278
+ }(), ee = E.prototype;
279
+ return w.prototype = ee, [
280
+ ["$ms", r],
281
+ ["$s", i],
282
+ ["$m", a],
283
+ ["$H", o],
284
+ ["$W", s],
285
+ ["$M", l],
286
+ ["$y", d],
287
+ ["$D", f]
288
+ ].forEach((function(e) {
289
+ ee[e[1]] = function(t) {
290
+ return this.$g(t, e[0], e[1]);
291
+ };
292
+ })), w.extend = function(e, t) {
293
+ return e.$i ||= (e(t, E, w), !0), w;
294
+ }, w.locale = C, w.isDayjs = S, w.unix = function(e) {
295
+ return w(1e3 * e);
296
+ }, w.en = b[y], w.Ls = b, w.p = {}, w;
297
+ }));
298
+ })), i = /* @__PURE__ */ e(r(), 1), a = {
299
+ trace: 0,
300
+ debug: 1,
301
+ info: 2,
302
+ warn: 3,
303
+ error: 4,
304
+ fatal: 5
305
+ }, o = {
306
+ trace: /* @__PURE__ */ n((...e) => {}, "trace"),
307
+ debug: /* @__PURE__ */ n((...e) => {}, "debug"),
308
+ info: /* @__PURE__ */ n((...e) => {}, "info"),
309
+ warn: /* @__PURE__ */ n((...e) => {}, "warn"),
310
+ error: /* @__PURE__ */ n((...e) => {}, "error"),
311
+ fatal: /* @__PURE__ */ n((...e) => {}, "fatal")
312
+ }, s = /* @__PURE__ */ n(function(e = "fatal") {
313
+ let t = a.fatal;
314
+ typeof e == "string" ? e.toLowerCase() in a && (t = a[e]) : typeof e == "number" && (t = e), o.trace = () => {}, o.debug = () => {}, o.info = () => {}, o.warn = () => {}, o.error = () => {}, o.fatal = () => {}, t <= a.fatal && (o.fatal = console.error ? console.error.bind(console, c("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", c("FATAL"))), t <= a.error && (o.error = console.error ? console.error.bind(console, c("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", c("ERROR"))), t <= a.warn && (o.warn = console.warn ? console.warn.bind(console, c("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", c("WARN"))), t <= a.info && (o.info = console.info ? console.info.bind(console, c("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", c("INFO"))), t <= a.debug && (o.debug = console.debug ? console.debug.bind(console, c("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", c("DEBUG"))), t <= a.trace && (o.trace = console.debug ? console.debug.bind(console, c("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", c("TRACE")));
315
+ }, "setLogLevel"), c = /* @__PURE__ */ n((e) => `%c${(0, i.default)().format("ss.SSS")} : ${e} : `, "format"), l = { value: () => {} };
316
+ function u() {
317
+ for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
318
+ if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw Error("illegal type: " + r);
319
+ n[r] = [];
320
+ }
321
+ return new d(n);
322
+ }
323
+ function d(e) {
324
+ this._ = e;
325
+ }
326
+ function f(e, t) {
327
+ return e.trim().split(/^|\s+/).map(function(e) {
328
+ var n = "", r = e.indexOf(".");
329
+ if (r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), e && !t.hasOwnProperty(e)) throw Error("unknown type: " + e);
330
+ return {
331
+ type: e,
332
+ name: n
333
+ };
334
+ });
335
+ }
336
+ d.prototype = u.prototype = {
337
+ constructor: d,
338
+ on: function(e, t) {
339
+ var n = this._, r = f(e + "", n), i, a = -1, o = r.length;
340
+ if (arguments.length < 2) {
341
+ for (; ++a < o;) if ((i = (e = r[a]).type) && (i = p(n[i], e.name))) return i;
342
+ return;
343
+ }
344
+ if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
345
+ for (; ++a < o;) if (i = (e = r[a]).type) n[i] = m(n[i], e.name, t);
346
+ else if (t == null) for (i in n) n[i] = m(n[i], e.name, null);
347
+ return this;
348
+ },
349
+ copy: function() {
350
+ var e = {}, t = this._;
351
+ for (var n in t) e[n] = t[n].slice();
352
+ return new d(e);
353
+ },
354
+ call: function(e, t) {
355
+ if ((i = arguments.length - 2) > 0) for (var n = Array(i), r = 0, i, a; r < i; ++r) n[r] = arguments[r + 2];
356
+ if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
357
+ for (a = this._[e], r = 0, i = a.length; r < i; ++r) a[r].value.apply(t, n);
358
+ },
359
+ apply: function(e, t, n) {
360
+ if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
361
+ for (var r = this._[e], i = 0, a = r.length; i < a; ++i) r[i].value.apply(t, n);
362
+ }
363
+ };
364
+ function p(e, t) {
365
+ for (var n = 0, r = e.length, i; n < r; ++n) if ((i = e[n]).name === t) return i.value;
366
+ }
367
+ function m(e, t, n) {
368
+ for (var r = 0, i = e.length; r < i; ++r) if (e[r].name === t) {
369
+ e[r] = l, e = e.slice(0, r).concat(e.slice(r + 1));
370
+ break;
371
+ }
372
+ return n != null && e.push({
373
+ name: t,
374
+ value: n
375
+ }), e;
376
+ }
377
+ var h = {
378
+ svg: "http://www.w3.org/2000/svg",
379
+ xhtml: "http://www.w3.org/1999/xhtml",
380
+ xlink: "http://www.w3.org/1999/xlink",
381
+ xml: "http://www.w3.org/XML/1998/namespace",
382
+ xmlns: "http://www.w3.org/2000/xmlns/"
383
+ };
384
+ //#endregion
385
+ //#region node_modules/d3-selection/src/namespace.js
386
+ function g(e) {
387
+ var t = e += "", n = t.indexOf(":");
388
+ return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), h.hasOwnProperty(t) ? {
389
+ space: h[t],
390
+ local: e
391
+ } : e;
392
+ }
393
+ //#endregion
394
+ //#region node_modules/d3-selection/src/creator.js
395
+ function _(e) {
396
+ return function() {
397
+ var t = this.ownerDocument, n = this.namespaceURI;
398
+ return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
399
+ };
400
+ }
401
+ function v(e) {
402
+ return function() {
403
+ return this.ownerDocument.createElementNS(e.space, e.local);
404
+ };
405
+ }
406
+ function y(e) {
407
+ var t = g(e);
408
+ return (t.local ? v : _)(t);
409
+ }
410
+ //#endregion
411
+ //#region node_modules/d3-selection/src/selector.js
412
+ function b() {}
413
+ function x(e) {
414
+ return e == null ? b : function() {
415
+ return this.querySelector(e);
416
+ };
417
+ }
418
+ //#endregion
419
+ //#region node_modules/d3-selection/src/selection/select.js
420
+ function S(e) {
421
+ typeof e != "function" && (e = x(e));
422
+ for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = Array(o), c, l, u = 0; u < o; ++u) (c = a[u]) && (l = e.call(c, c.__data__, u, a)) && ("__data__" in c && (l.__data__ = c.__data__), s[u] = l);
423
+ return new k(r, this._parents);
424
+ }
425
+ //#endregion
426
+ //#region node_modules/d3-selection/src/array.js
427
+ function C(e) {
428
+ return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
429
+ }
430
+ //#endregion
431
+ //#region node_modules/d3-selection/src/selectorAll.js
432
+ function w() {
433
+ return [];
434
+ }
435
+ function T(e) {
436
+ return e == null ? w : function() {
437
+ return this.querySelectorAll(e);
438
+ };
439
+ }
440
+ //#endregion
441
+ //#region node_modules/d3-selection/src/selection/selectAll.js
442
+ function E(e) {
443
+ return function() {
444
+ return C(e.apply(this, arguments));
445
+ };
446
+ }
447
+ function ee(e) {
448
+ e = typeof e == "function" ? E(e) : T(e);
449
+ for (var t = this._groups, n = t.length, r = [], i = [], a = 0; a < n; ++a) for (var o = t[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && (r.push(e.call(c, c.__data__, l, o)), i.push(c));
450
+ return new k(r, i);
451
+ }
452
+ //#endregion
453
+ //#region node_modules/d3-selection/src/matcher.js
454
+ function te(e) {
455
+ return function() {
456
+ return this.matches(e);
457
+ };
458
+ }
459
+ function ne(e) {
460
+ return function(t) {
461
+ return t.matches(e);
462
+ };
463
+ }
464
+ //#endregion
465
+ //#region node_modules/d3-selection/src/selection/selectChild.js
466
+ var re = Array.prototype.find;
467
+ function ie(e) {
468
+ return function() {
469
+ return re.call(this.children, e);
470
+ };
471
+ }
472
+ function ae() {
473
+ return this.firstElementChild;
474
+ }
475
+ function oe(e) {
476
+ return this.select(e == null ? ae : ie(typeof e == "function" ? e : ne(e)));
477
+ }
478
+ //#endregion
479
+ //#region node_modules/d3-selection/src/selection/selectChildren.js
480
+ var se = Array.prototype.filter;
481
+ function ce() {
482
+ return Array.from(this.children);
483
+ }
484
+ function le(e) {
485
+ return function() {
486
+ return se.call(this.children, e);
487
+ };
488
+ }
489
+ function ue(e) {
490
+ return this.selectAll(e == null ? ce : le(typeof e == "function" ? e : ne(e)));
491
+ }
492
+ //#endregion
493
+ //#region node_modules/d3-selection/src/selection/filter.js
494
+ function de(e) {
495
+ typeof e != "function" && (e = te(e));
496
+ for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
497
+ return new k(r, this._parents);
498
+ }
499
+ //#endregion
500
+ //#region node_modules/d3-selection/src/selection/sparse.js
501
+ function fe(e) {
502
+ return Array(e.length);
503
+ }
504
+ //#endregion
505
+ //#region node_modules/d3-selection/src/selection/enter.js
506
+ function pe() {
507
+ return new k(this._enter || this._groups.map(fe), this._parents);
508
+ }
509
+ function D(e, t) {
510
+ this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
511
+ }
512
+ D.prototype = {
513
+ constructor: D,
514
+ appendChild: function(e) {
515
+ return this._parent.insertBefore(e, this._next);
516
+ },
517
+ insertBefore: function(e, t) {
518
+ return this._parent.insertBefore(e, t);
519
+ },
520
+ querySelector: function(e) {
521
+ return this._parent.querySelector(e);
522
+ },
523
+ querySelectorAll: function(e) {
524
+ return this._parent.querySelectorAll(e);
525
+ }
526
+ };
527
+ //#endregion
528
+ //#region node_modules/d3-selection/src/constant.js
529
+ function me(e) {
530
+ return function() {
531
+ return e;
532
+ };
533
+ }
534
+ //#endregion
535
+ //#region node_modules/d3-selection/src/selection/data.js
536
+ function he(e, t, n, r, i, a) {
537
+ for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new D(e, a[o]);
538
+ for (; o < c; ++o) (s = t[o]) && (i[o] = s);
539
+ }
540
+ function ge(e, t, n, r, i, a, o) {
541
+ var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
542
+ for (s = 0; s < u; ++s) (c = t[s]) && (f[s] = p = o.call(c, c.__data__, s, t) + "", l.has(p) ? i[s] = c : l.set(p, c));
543
+ for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new D(e, a[s]);
544
+ for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
545
+ }
546
+ function _e(e) {
547
+ return e.__data__;
548
+ }
549
+ function ve(e, t) {
550
+ if (!arguments.length) return Array.from(this, _e);
551
+ var n = t ? ge : he, r = this._parents, i = this._groups;
552
+ typeof e != "function" && (e = me(e));
553
+ for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
554
+ var u = r[l], d = i[l], f = d.length, p = ye(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
555
+ n(u, d, h, g, c[l] = Array(f), p, t);
556
+ for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
557
+ for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
558
+ y._next = b || null;
559
+ }
560
+ }
561
+ return o = new k(o, r), o._enter = s, o._exit = c, o;
562
+ }
563
+ function ye(e) {
564
+ return typeof e == "object" && "length" in e ? e : Array.from(e);
565
+ }
566
+ //#endregion
567
+ //#region node_modules/d3-selection/src/selection/exit.js
568
+ function be() {
569
+ return new k(this._exit || this._groups.map(fe), this._parents);
570
+ }
571
+ //#endregion
572
+ //#region node_modules/d3-selection/src/selection/join.js
573
+ function xe(e, t, n) {
574
+ var r = this.enter(), i = this, a = this.exit();
575
+ return typeof e == "function" ? (r = e(r), r &&= r.selection()) : r = r.append(e + ""), t != null && (i = t(i), i &&= i.selection()), n == null ? a.remove() : n(a), r && i ? r.merge(i).order() : i;
576
+ }
577
+ //#endregion
578
+ //#region node_modules/d3-selection/src/selection/merge.js
579
+ function Se(e) {
580
+ for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, a = r.length, o = Math.min(i, a), s = Array(i), c = 0; c < o; ++c) for (var l = n[c], u = r[c], d = l.length, f = s[c] = Array(d), p, m = 0; m < d; ++m) (p = l[m] || u[m]) && (f[m] = p);
581
+ for (; c < i; ++c) s[c] = n[c];
582
+ return new k(s, this._parents);
583
+ }
584
+ //#endregion
585
+ //#region node_modules/d3-selection/src/selection/order.js
586
+ function Ce() {
587
+ for (var e = this._groups, t = -1, n = e.length; ++t < n;) for (var r = e[t], i = r.length - 1, a = r[i], o; --i >= 0;) (o = r[i]) && (a && o.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(o, a), a = o);
588
+ return this;
589
+ }
590
+ //#endregion
591
+ //#region node_modules/d3-selection/src/selection/sort.js
592
+ function we(e) {
593
+ e ||= Te;
594
+ function t(t, n) {
595
+ return t && n ? e(t.__data__, n.__data__) : !t - !n;
596
+ }
597
+ for (var n = this._groups, r = n.length, i = Array(r), a = 0; a < r; ++a) {
598
+ for (var o = n[a], s = o.length, c = i[a] = Array(s), l, u = 0; u < s; ++u) (l = o[u]) && (c[u] = l);
599
+ c.sort(t);
600
+ }
601
+ return new k(i, this._parents).order();
602
+ }
603
+ function Te(e, t) {
604
+ return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
605
+ }
606
+ //#endregion
607
+ //#region node_modules/d3-selection/src/selection/call.js
608
+ function Ee() {
609
+ var e = arguments[0];
610
+ return arguments[0] = this, e.apply(null, arguments), this;
611
+ }
612
+ //#endregion
613
+ //#region node_modules/d3-selection/src/selection/nodes.js
614
+ function De() {
615
+ return Array.from(this);
616
+ }
617
+ //#endregion
618
+ //#region node_modules/d3-selection/src/selection/node.js
619
+ function Oe() {
620
+ for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length; i < a; ++i) {
621
+ var o = r[i];
622
+ if (o) return o;
623
+ }
624
+ return null;
625
+ }
626
+ //#endregion
627
+ //#region node_modules/d3-selection/src/selection/size.js
628
+ function ke() {
629
+ let e = 0;
630
+ for (let t of this) ++e;
631
+ return e;
632
+ }
633
+ //#endregion
634
+ //#region node_modules/d3-selection/src/selection/empty.js
635
+ function Ae() {
636
+ return !this.node();
637
+ }
638
+ //#endregion
639
+ //#region node_modules/d3-selection/src/selection/each.js
640
+ function je(e) {
641
+ for (var t = this._groups, n = 0, r = t.length; n < r; ++n) for (var i = t[n], a = 0, o = i.length, s; a < o; ++a) (s = i[a]) && e.call(s, s.__data__, a, i);
642
+ return this;
643
+ }
644
+ //#endregion
645
+ //#region node_modules/d3-selection/src/selection/attr.js
646
+ function Me(e) {
647
+ return function() {
648
+ this.removeAttribute(e);
649
+ };
650
+ }
651
+ function Ne(e) {
652
+ return function() {
653
+ this.removeAttributeNS(e.space, e.local);
654
+ };
655
+ }
656
+ function Pe(e, t) {
657
+ return function() {
658
+ this.setAttribute(e, t);
659
+ };
660
+ }
661
+ function Fe(e, t) {
662
+ return function() {
663
+ this.setAttributeNS(e.space, e.local, t);
664
+ };
665
+ }
666
+ function Ie(e, t) {
667
+ return function() {
668
+ var n = t.apply(this, arguments);
669
+ n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
670
+ };
671
+ }
672
+ function Le(e, t) {
673
+ return function() {
674
+ var n = t.apply(this, arguments);
675
+ n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
676
+ };
677
+ }
678
+ function Re(e, t) {
679
+ var n = g(e);
680
+ if (arguments.length < 2) {
681
+ var r = this.node();
682
+ return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
683
+ }
684
+ return this.each((t == null ? n.local ? Ne : Me : typeof t == "function" ? n.local ? Le : Ie : n.local ? Fe : Pe)(n, t));
685
+ }
686
+ //#endregion
687
+ //#region node_modules/d3-selection/src/window.js
688
+ function ze(e) {
689
+ return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
690
+ }
691
+ //#endregion
692
+ //#region node_modules/d3-selection/src/selection/style.js
693
+ function Be(e) {
694
+ return function() {
695
+ this.style.removeProperty(e);
696
+ };
697
+ }
698
+ function Ve(e, t, n) {
699
+ return function() {
700
+ this.style.setProperty(e, t, n);
701
+ };
702
+ }
703
+ function He(e, t, n) {
704
+ return function() {
705
+ var r = t.apply(this, arguments);
706
+ r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
707
+ };
708
+ }
709
+ function Ue(e, t, n) {
710
+ return arguments.length > 1 ? this.each((t == null ? Be : typeof t == "function" ? He : Ve)(e, t, n ?? "")) : O(this.node(), e);
711
+ }
712
+ function O(e, t) {
713
+ return e.style.getPropertyValue(t) || ze(e).getComputedStyle(e, null).getPropertyValue(t);
714
+ }
715
+ //#endregion
716
+ //#region node_modules/d3-selection/src/selection/property.js
717
+ function We(e) {
718
+ return function() {
719
+ delete this[e];
720
+ };
721
+ }
722
+ function Ge(e, t) {
723
+ return function() {
724
+ this[e] = t;
725
+ };
726
+ }
727
+ function Ke(e, t) {
728
+ return function() {
729
+ var n = t.apply(this, arguments);
730
+ n == null ? delete this[e] : this[e] = n;
731
+ };
732
+ }
733
+ function qe(e, t) {
734
+ return arguments.length > 1 ? this.each((t == null ? We : typeof t == "function" ? Ke : Ge)(e, t)) : this.node()[e];
735
+ }
736
+ //#endregion
737
+ //#region node_modules/d3-selection/src/selection/classed.js
738
+ function Je(e) {
739
+ return e.trim().split(/^|\s+/);
740
+ }
741
+ function Ye(e) {
742
+ return e.classList || new Xe(e);
743
+ }
744
+ function Xe(e) {
745
+ this._node = e, this._names = Je(e.getAttribute("class") || "");
746
+ }
747
+ Xe.prototype = {
748
+ add: function(e) {
749
+ this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
750
+ },
751
+ remove: function(e) {
752
+ var t = this._names.indexOf(e);
753
+ t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" ")));
754
+ },
755
+ contains: function(e) {
756
+ return this._names.indexOf(e) >= 0;
757
+ }
758
+ };
759
+ function Ze(e, t) {
760
+ for (var n = Ye(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
761
+ }
762
+ function Qe(e, t) {
763
+ for (var n = Ye(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
764
+ }
765
+ function $e(e) {
766
+ return function() {
767
+ Ze(this, e);
768
+ };
769
+ }
770
+ function et(e) {
771
+ return function() {
772
+ Qe(this, e);
773
+ };
774
+ }
775
+ function tt(e, t) {
776
+ return function() {
777
+ (t.apply(this, arguments) ? Ze : Qe)(this, e);
778
+ };
779
+ }
780
+ function nt(e, t) {
781
+ var n = Je(e + "");
782
+ if (arguments.length < 2) {
783
+ for (var r = Ye(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
784
+ return !0;
785
+ }
786
+ return this.each((typeof t == "function" ? tt : t ? $e : et)(n, t));
787
+ }
788
+ //#endregion
789
+ //#region node_modules/d3-selection/src/selection/text.js
790
+ function rt() {
791
+ this.textContent = "";
792
+ }
793
+ function it(e) {
794
+ return function() {
795
+ this.textContent = e;
796
+ };
797
+ }
798
+ function at(e) {
799
+ return function() {
800
+ var t = e.apply(this, arguments);
801
+ this.textContent = t ?? "";
802
+ };
803
+ }
804
+ function ot(e) {
805
+ return arguments.length ? this.each(e == null ? rt : (typeof e == "function" ? at : it)(e)) : this.node().textContent;
806
+ }
807
+ //#endregion
808
+ //#region node_modules/d3-selection/src/selection/html.js
809
+ function st() {
810
+ this.innerHTML = "";
811
+ }
812
+ function ct(e) {
813
+ return function() {
814
+ this.innerHTML = e;
815
+ };
816
+ }
817
+ function lt(e) {
818
+ return function() {
819
+ var t = e.apply(this, arguments);
820
+ this.innerHTML = t ?? "";
821
+ };
822
+ }
823
+ function ut(e) {
824
+ return arguments.length ? this.each(e == null ? st : (typeof e == "function" ? lt : ct)(e)) : this.node().innerHTML;
825
+ }
826
+ //#endregion
827
+ //#region node_modules/d3-selection/src/selection/raise.js
828
+ function dt() {
829
+ this.nextSibling && this.parentNode.appendChild(this);
830
+ }
831
+ function ft() {
832
+ return this.each(dt);
833
+ }
834
+ //#endregion
835
+ //#region node_modules/d3-selection/src/selection/lower.js
836
+ function pt() {
837
+ this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
838
+ }
839
+ function mt() {
840
+ return this.each(pt);
841
+ }
842
+ //#endregion
843
+ //#region node_modules/d3-selection/src/selection/append.js
844
+ function ht(e) {
845
+ var t = typeof e == "function" ? e : y(e);
846
+ return this.select(function() {
847
+ return this.appendChild(t.apply(this, arguments));
848
+ });
849
+ }
850
+ //#endregion
851
+ //#region node_modules/d3-selection/src/selection/insert.js
852
+ function gt() {
853
+ return null;
854
+ }
855
+ function _t(e, t) {
856
+ var n = typeof e == "function" ? e : y(e), r = t == null ? gt : typeof t == "function" ? t : x(t);
857
+ return this.select(function() {
858
+ return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
859
+ });
860
+ }
861
+ //#endregion
862
+ //#region node_modules/d3-selection/src/selection/remove.js
863
+ function vt() {
864
+ var e = this.parentNode;
865
+ e && e.removeChild(this);
866
+ }
867
+ function yt() {
868
+ return this.each(vt);
869
+ }
870
+ //#endregion
871
+ //#region node_modules/d3-selection/src/selection/clone.js
872
+ function bt() {
873
+ var e = this.cloneNode(!1), t = this.parentNode;
874
+ return t ? t.insertBefore(e, this.nextSibling) : e;
875
+ }
876
+ function xt() {
877
+ var e = this.cloneNode(!0), t = this.parentNode;
878
+ return t ? t.insertBefore(e, this.nextSibling) : e;
879
+ }
880
+ function St(e) {
881
+ return this.select(e ? xt : bt);
882
+ }
883
+ //#endregion
884
+ //#region node_modules/d3-selection/src/selection/datum.js
885
+ function Ct(e) {
886
+ return arguments.length ? this.property("__data__", e) : this.node().__data__;
887
+ }
888
+ //#endregion
889
+ //#region node_modules/d3-selection/src/selection/on.js
890
+ function wt(e) {
891
+ return function(t) {
892
+ e.call(this, t, this.__data__);
893
+ };
894
+ }
895
+ function Tt(e) {
896
+ return e.trim().split(/^|\s+/).map(function(e) {
897
+ var t = "", n = e.indexOf(".");
898
+ return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
899
+ type: e,
900
+ name: t
901
+ };
902
+ });
903
+ }
904
+ function Et(e) {
905
+ return function() {
906
+ var t = this.__on;
907
+ if (t) {
908
+ for (var n = 0, r = -1, i = t.length, a; n < i; ++n) a = t[n], (!e.type || a.type === e.type) && a.name === e.name ? this.removeEventListener(a.type, a.listener, a.options) : t[++r] = a;
909
+ ++r ? t.length = r : delete this.__on;
910
+ }
911
+ };
912
+ }
913
+ function Dt(e, t, n) {
914
+ return function() {
915
+ var r = this.__on, i, a = wt(t);
916
+ if (r) {
917
+ for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
918
+ this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
919
+ return;
920
+ }
921
+ }
922
+ this.addEventListener(e.type, a, n), i = {
923
+ type: e.type,
924
+ name: e.name,
925
+ value: t,
926
+ listener: a,
927
+ options: n
928
+ }, r ? r.push(i) : this.__on = [i];
929
+ };
930
+ }
931
+ function Ot(e, t, n) {
932
+ var r = Tt(e + ""), i, a = r.length, o;
933
+ if (arguments.length < 2) {
934
+ var s = this.node().__on;
935
+ if (s) {
936
+ for (var c = 0, l = s.length, u; c < l; ++c) for (i = 0, u = s[c]; i < a; ++i) if ((o = r[i]).type === u.type && o.name === u.name) return u.value;
937
+ }
938
+ return;
939
+ }
940
+ for (s = t ? Dt : Et, i = 0; i < a; ++i) this.each(s(r[i], t, n));
941
+ return this;
942
+ }
943
+ //#endregion
944
+ //#region node_modules/d3-selection/src/selection/dispatch.js
945
+ function kt(e, t, n) {
946
+ var r = ze(e), i = r.CustomEvent;
947
+ typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
948
+ }
949
+ function At(e, t) {
950
+ return function() {
951
+ return kt(this, e, t);
952
+ };
953
+ }
954
+ function jt(e, t) {
955
+ return function() {
956
+ return kt(this, e, t.apply(this, arguments));
957
+ };
958
+ }
959
+ function Mt(e, t) {
960
+ return this.each((typeof t == "function" ? jt : At)(e, t));
961
+ }
962
+ //#endregion
963
+ //#region node_modules/d3-selection/src/selection/iterator.js
964
+ function* Nt() {
965
+ for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length, o; i < a; ++i) (o = r[i]) && (yield o);
966
+ }
967
+ //#endregion
968
+ //#region node_modules/d3-selection/src/selection/index.js
969
+ var Pt = [null];
970
+ function k(e, t) {
971
+ this._groups = e, this._parents = t;
972
+ }
973
+ function A() {
974
+ return new k([[document.documentElement]], Pt);
975
+ }
976
+ function Ft() {
977
+ return this;
978
+ }
979
+ k.prototype = A.prototype = {
980
+ constructor: k,
981
+ select: S,
982
+ selectAll: ee,
983
+ selectChild: oe,
984
+ selectChildren: ue,
985
+ filter: de,
986
+ data: ve,
987
+ enter: pe,
988
+ exit: be,
989
+ join: xe,
990
+ merge: Se,
991
+ selection: Ft,
992
+ order: Ce,
993
+ sort: we,
994
+ call: Ee,
995
+ nodes: De,
996
+ node: Oe,
997
+ size: ke,
998
+ empty: Ae,
999
+ each: je,
1000
+ attr: Re,
1001
+ style: Ue,
1002
+ property: qe,
1003
+ classed: nt,
1004
+ text: ot,
1005
+ html: ut,
1006
+ raise: ft,
1007
+ lower: mt,
1008
+ append: ht,
1009
+ insert: _t,
1010
+ remove: yt,
1011
+ clone: St,
1012
+ datum: Ct,
1013
+ on: Ot,
1014
+ dispatch: Mt,
1015
+ [Symbol.iterator]: Nt
1016
+ };
1017
+ //#endregion
1018
+ //#region node_modules/d3-selection/src/select.js
1019
+ function It(e) {
1020
+ return typeof e == "string" ? new k([[document.querySelector(e)]], [document.documentElement]) : new k([[e]], Pt);
1021
+ }
1022
+ //#endregion
1023
+ //#region node_modules/d3-color/src/define.js
1024
+ function Lt(e, t, n) {
1025
+ e.prototype = t.prototype = n, n.constructor = e;
1026
+ }
1027
+ function Rt(e, t) {
1028
+ var n = Object.create(e.prototype);
1029
+ for (var r in t) n[r] = t[r];
1030
+ return n;
1031
+ }
1032
+ //#endregion
1033
+ //#region node_modules/d3-color/src/color.js
1034
+ function j() {}
1035
+ var M = .7, zt = 1 / M, N = "\\s*([+-]?\\d+)\\s*", P = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", F = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Bt = /^#([0-9a-f]{3,8})$/, Vt = RegExp(`^rgb\\(${N},${N},${N}\\)$`), Ht = RegExp(`^rgb\\(${F},${F},${F}\\)$`), Ut = RegExp(`^rgba\\(${N},${N},${N},${P}\\)$`), Wt = RegExp(`^rgba\\(${F},${F},${F},${P}\\)$`), Gt = RegExp(`^hsl\\(${P},${F},${F}\\)$`), Kt = RegExp(`^hsla\\(${P},${F},${F},${P}\\)$`), qt = {
1036
+ aliceblue: 15792383,
1037
+ antiquewhite: 16444375,
1038
+ aqua: 65535,
1039
+ aquamarine: 8388564,
1040
+ azure: 15794175,
1041
+ beige: 16119260,
1042
+ bisque: 16770244,
1043
+ black: 0,
1044
+ blanchedalmond: 16772045,
1045
+ blue: 255,
1046
+ blueviolet: 9055202,
1047
+ brown: 10824234,
1048
+ burlywood: 14596231,
1049
+ cadetblue: 6266528,
1050
+ chartreuse: 8388352,
1051
+ chocolate: 13789470,
1052
+ coral: 16744272,
1053
+ cornflowerblue: 6591981,
1054
+ cornsilk: 16775388,
1055
+ crimson: 14423100,
1056
+ cyan: 65535,
1057
+ darkblue: 139,
1058
+ darkcyan: 35723,
1059
+ darkgoldenrod: 12092939,
1060
+ darkgray: 11119017,
1061
+ darkgreen: 25600,
1062
+ darkgrey: 11119017,
1063
+ darkkhaki: 12433259,
1064
+ darkmagenta: 9109643,
1065
+ darkolivegreen: 5597999,
1066
+ darkorange: 16747520,
1067
+ darkorchid: 10040012,
1068
+ darkred: 9109504,
1069
+ darksalmon: 15308410,
1070
+ darkseagreen: 9419919,
1071
+ darkslateblue: 4734347,
1072
+ darkslategray: 3100495,
1073
+ darkslategrey: 3100495,
1074
+ darkturquoise: 52945,
1075
+ darkviolet: 9699539,
1076
+ deeppink: 16716947,
1077
+ deepskyblue: 49151,
1078
+ dimgray: 6908265,
1079
+ dimgrey: 6908265,
1080
+ dodgerblue: 2003199,
1081
+ firebrick: 11674146,
1082
+ floralwhite: 16775920,
1083
+ forestgreen: 2263842,
1084
+ fuchsia: 16711935,
1085
+ gainsboro: 14474460,
1086
+ ghostwhite: 16316671,
1087
+ gold: 16766720,
1088
+ goldenrod: 14329120,
1089
+ gray: 8421504,
1090
+ green: 32768,
1091
+ greenyellow: 11403055,
1092
+ grey: 8421504,
1093
+ honeydew: 15794160,
1094
+ hotpink: 16738740,
1095
+ indianred: 13458524,
1096
+ indigo: 4915330,
1097
+ ivory: 16777200,
1098
+ khaki: 15787660,
1099
+ lavender: 15132410,
1100
+ lavenderblush: 16773365,
1101
+ lawngreen: 8190976,
1102
+ lemonchiffon: 16775885,
1103
+ lightblue: 11393254,
1104
+ lightcoral: 15761536,
1105
+ lightcyan: 14745599,
1106
+ lightgoldenrodyellow: 16448210,
1107
+ lightgray: 13882323,
1108
+ lightgreen: 9498256,
1109
+ lightgrey: 13882323,
1110
+ lightpink: 16758465,
1111
+ lightsalmon: 16752762,
1112
+ lightseagreen: 2142890,
1113
+ lightskyblue: 8900346,
1114
+ lightslategray: 7833753,
1115
+ lightslategrey: 7833753,
1116
+ lightsteelblue: 11584734,
1117
+ lightyellow: 16777184,
1118
+ lime: 65280,
1119
+ limegreen: 3329330,
1120
+ linen: 16445670,
1121
+ magenta: 16711935,
1122
+ maroon: 8388608,
1123
+ mediumaquamarine: 6737322,
1124
+ mediumblue: 205,
1125
+ mediumorchid: 12211667,
1126
+ mediumpurple: 9662683,
1127
+ mediumseagreen: 3978097,
1128
+ mediumslateblue: 8087790,
1129
+ mediumspringgreen: 64154,
1130
+ mediumturquoise: 4772300,
1131
+ mediumvioletred: 13047173,
1132
+ midnightblue: 1644912,
1133
+ mintcream: 16121850,
1134
+ mistyrose: 16770273,
1135
+ moccasin: 16770229,
1136
+ navajowhite: 16768685,
1137
+ navy: 128,
1138
+ oldlace: 16643558,
1139
+ olive: 8421376,
1140
+ olivedrab: 7048739,
1141
+ orange: 16753920,
1142
+ orangered: 16729344,
1143
+ orchid: 14315734,
1144
+ palegoldenrod: 15657130,
1145
+ palegreen: 10025880,
1146
+ paleturquoise: 11529966,
1147
+ palevioletred: 14381203,
1148
+ papayawhip: 16773077,
1149
+ peachpuff: 16767673,
1150
+ peru: 13468991,
1151
+ pink: 16761035,
1152
+ plum: 14524637,
1153
+ powderblue: 11591910,
1154
+ purple: 8388736,
1155
+ rebeccapurple: 6697881,
1156
+ red: 16711680,
1157
+ rosybrown: 12357519,
1158
+ royalblue: 4286945,
1159
+ saddlebrown: 9127187,
1160
+ salmon: 16416882,
1161
+ sandybrown: 16032864,
1162
+ seagreen: 3050327,
1163
+ seashell: 16774638,
1164
+ sienna: 10506797,
1165
+ silver: 12632256,
1166
+ skyblue: 8900331,
1167
+ slateblue: 6970061,
1168
+ slategray: 7372944,
1169
+ slategrey: 7372944,
1170
+ snow: 16775930,
1171
+ springgreen: 65407,
1172
+ steelblue: 4620980,
1173
+ tan: 13808780,
1174
+ teal: 32896,
1175
+ thistle: 14204888,
1176
+ tomato: 16737095,
1177
+ turquoise: 4251856,
1178
+ violet: 15631086,
1179
+ wheat: 16113331,
1180
+ white: 16777215,
1181
+ whitesmoke: 16119285,
1182
+ yellow: 16776960,
1183
+ yellowgreen: 10145074
1184
+ };
1185
+ Lt(j, I, {
1186
+ copy(e) {
1187
+ return Object.assign(new this.constructor(), this, e);
1188
+ },
1189
+ displayable() {
1190
+ return this.rgb().displayable();
1191
+ },
1192
+ hex: Jt,
1193
+ formatHex: Jt,
1194
+ formatHex8: Yt,
1195
+ formatHsl: Xt,
1196
+ formatRgb: Zt,
1197
+ toString: Zt
1198
+ });
1199
+ function Jt() {
1200
+ return this.rgb().formatHex();
1201
+ }
1202
+ function Yt() {
1203
+ return this.rgb().formatHex8();
1204
+ }
1205
+ function Xt() {
1206
+ return on(this).formatHsl();
1207
+ }
1208
+ function Zt() {
1209
+ return this.rgb().formatRgb();
1210
+ }
1211
+ function I(e) {
1212
+ var t, n;
1213
+ return e = (e + "").trim().toLowerCase(), (t = Bt.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Qt(t) : n === 3 ? new R(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? L(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? L(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 = Vt.exec(e)) ? new R(t[1], t[2], t[3], 1) : (t = Ht.exec(e)) ? new R(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Ut.exec(e)) ? L(t[1], t[2], t[3], t[4]) : (t = Wt.exec(e)) ? L(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Gt.exec(e)) ? an(t[1], t[2] / 100, t[3] / 100, 1) : (t = Kt.exec(e)) ? an(t[1], t[2] / 100, t[3] / 100, t[4]) : qt.hasOwnProperty(e) ? Qt(qt[e]) : e === "transparent" ? new R(NaN, NaN, NaN, 0) : null;
1214
+ }
1215
+ function Qt(e) {
1216
+ return new R(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
1217
+ }
1218
+ function L(e, t, n, r) {
1219
+ return r <= 0 && (e = t = n = NaN), new R(e, t, n, r);
1220
+ }
1221
+ function $t(e) {
1222
+ return e instanceof j || (e = I(e)), e ? (e = e.rgb(), new R(e.r, e.g, e.b, e.opacity)) : new R();
1223
+ }
1224
+ function en(e, t, n, r) {
1225
+ return arguments.length === 1 ? $t(e) : new R(e, t, n, r ?? 1);
1226
+ }
1227
+ function R(e, t, n, r) {
1228
+ this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
1229
+ }
1230
+ Lt(R, en, Rt(j, {
1231
+ brighter(e) {
1232
+ return e = e == null ? zt : zt ** +e, new R(this.r * e, this.g * e, this.b * e, this.opacity);
1233
+ },
1234
+ darker(e) {
1235
+ return e = e == null ? M : M ** +e, new R(this.r * e, this.g * e, this.b * e, this.opacity);
1236
+ },
1237
+ rgb() {
1238
+ return this;
1239
+ },
1240
+ clamp() {
1241
+ return new R(B(this.r), B(this.g), B(this.b), z(this.opacity));
1242
+ },
1243
+ displayable() {
1244
+ 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;
1245
+ },
1246
+ hex: tn,
1247
+ formatHex: tn,
1248
+ formatHex8: nn,
1249
+ formatRgb: rn,
1250
+ toString: rn
1251
+ }));
1252
+ function tn() {
1253
+ return `#${V(this.r)}${V(this.g)}${V(this.b)}`;
1254
+ }
1255
+ function nn() {
1256
+ return `#${V(this.r)}${V(this.g)}${V(this.b)}${V((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
1257
+ }
1258
+ function rn() {
1259
+ let e = z(this.opacity);
1260
+ return `${e === 1 ? "rgb(" : "rgba("}${B(this.r)}, ${B(this.g)}, ${B(this.b)}${e === 1 ? ")" : `, ${e})`}`;
1261
+ }
1262
+ function z(e) {
1263
+ return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
1264
+ }
1265
+ function B(e) {
1266
+ return Math.max(0, Math.min(255, Math.round(e) || 0));
1267
+ }
1268
+ function V(e) {
1269
+ return e = B(e), (e < 16 ? "0" : "") + e.toString(16);
1270
+ }
1271
+ function an(e, t, n, r) {
1272
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new H(e, t, n, r);
1273
+ }
1274
+ function on(e) {
1275
+ if (e instanceof H) return new H(e.h, e.s, e.l, e.opacity);
1276
+ if (e instanceof j || (e = I(e)), !e) return new H();
1277
+ if (e instanceof H) return e;
1278
+ e = e.rgb();
1279
+ var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
1280
+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new H(o, s, c, e.opacity);
1281
+ }
1282
+ function sn(e, t, n, r) {
1283
+ return arguments.length === 1 ? on(e) : new H(e, t, n, r ?? 1);
1284
+ }
1285
+ function H(e, t, n, r) {
1286
+ this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
1287
+ }
1288
+ Lt(H, sn, Rt(j, {
1289
+ brighter(e) {
1290
+ return e = e == null ? zt : zt ** +e, new H(this.h, this.s, this.l * e, this.opacity);
1291
+ },
1292
+ darker(e) {
1293
+ return e = e == null ? M : M ** +e, new H(this.h, this.s, this.l * e, this.opacity);
1294
+ },
1295
+ rgb() {
1296
+ 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;
1297
+ return new R(ln(e >= 240 ? e - 240 : e + 120, i, r), ln(e, i, r), ln(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
1298
+ },
1299
+ clamp() {
1300
+ return new H(cn(this.h), U(this.s), U(this.l), z(this.opacity));
1301
+ },
1302
+ displayable() {
1303
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
1304
+ },
1305
+ formatHsl() {
1306
+ let e = z(this.opacity);
1307
+ return `${e === 1 ? "hsl(" : "hsla("}${cn(this.h)}, ${U(this.s) * 100}%, ${U(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
1308
+ }
1309
+ }));
1310
+ function cn(e) {
1311
+ return e = (e || 0) % 360, e < 0 ? e + 360 : e;
1312
+ }
1313
+ function U(e) {
1314
+ return Math.max(0, Math.min(1, e || 0));
1315
+ }
1316
+ function ln(e, t, n) {
1317
+ return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
1318
+ }
1319
+ //#endregion
1320
+ //#region node_modules/d3-interpolate/src/constant.js
1321
+ var un = (e) => () => e;
1322
+ //#endregion
1323
+ //#region node_modules/d3-interpolate/src/color.js
1324
+ function dn(e, t) {
1325
+ return function(n) {
1326
+ return e + n * t;
1327
+ };
1328
+ }
1329
+ function fn(e, t, n) {
1330
+ return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
1331
+ return (e + r * t) ** +n;
1332
+ };
1333
+ }
1334
+ function pn(e, t) {
1335
+ var n = t - e;
1336
+ return n ? dn(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : un(isNaN(e) ? t : e);
1337
+ }
1338
+ function mn(e) {
1339
+ return (e = +e) == 1 ? hn : function(t, n) {
1340
+ return n - t ? fn(t, n, e) : un(isNaN(t) ? n : t);
1341
+ };
1342
+ }
1343
+ function hn(e, t) {
1344
+ var n = t - e;
1345
+ return n ? dn(e, n) : un(isNaN(e) ? t : e);
1346
+ }
1347
+ //#endregion
1348
+ //#region node_modules/d3-interpolate/src/rgb.js
1349
+ var gn = (function e(t) {
1350
+ var n = mn(t);
1351
+ function r(e, t) {
1352
+ var r = n((e = en(e)).r, (t = en(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = hn(e.opacity, t.opacity);
1353
+ return function(t) {
1354
+ return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
1355
+ };
1356
+ }
1357
+ return r.gamma = e, r;
1358
+ })(1);
1359
+ //#endregion
1360
+ //#region node_modules/d3-interpolate/src/number.js
1361
+ function W(e, t) {
1362
+ return e = +e, t = +t, function(n) {
1363
+ return e * (1 - n) + t * n;
1364
+ };
1365
+ }
1366
+ //#endregion
1367
+ //#region node_modules/d3-interpolate/src/string.js
1368
+ var _n = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, vn = new RegExp(_n.source, "g");
1369
+ function yn(e) {
1370
+ return function() {
1371
+ return e;
1372
+ };
1373
+ }
1374
+ function bn(e) {
1375
+ return function(t) {
1376
+ return e(t) + "";
1377
+ };
1378
+ }
1379
+ function xn(e, t) {
1380
+ var n = _n.lastIndex = vn.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
1381
+ for (e += "", t += ""; (r = _n.exec(e)) && (i = vn.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({
1382
+ i: o,
1383
+ x: W(r, i)
1384
+ })), n = vn.lastIndex;
1385
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? bn(c[0].x) : yn(t) : (t = c.length, function(e) {
1386
+ for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
1387
+ return s.join("");
1388
+ });
1389
+ }
1390
+ //#endregion
1391
+ //#region node_modules/d3-interpolate/src/transform/decompose.js
1392
+ var Sn = 180 / Math.PI, Cn = {
1393
+ translateX: 0,
1394
+ translateY: 0,
1395
+ rotate: 0,
1396
+ skewX: 0,
1397
+ scaleX: 1,
1398
+ scaleY: 1
1399
+ };
1400
+ function wn(e, t, n, r, i, a) {
1401
+ var o, s, c;
1402
+ return (o = Math.sqrt(e * e + t * t)) && (e /= o, t /= o), (c = e * n + t * r) && (n -= e * c, r -= t * c), (s = Math.sqrt(n * n + r * r)) && (n /= s, r /= s, c /= s), e * r < t * n && (e = -e, t = -t, c = -c, o = -o), {
1403
+ translateX: i,
1404
+ translateY: a,
1405
+ rotate: Math.atan2(t, e) * Sn,
1406
+ skewX: Math.atan(c) * Sn,
1407
+ scaleX: o,
1408
+ scaleY: s
1409
+ };
1410
+ }
1411
+ //#endregion
1412
+ //#region node_modules/d3-interpolate/src/transform/parse.js
1413
+ var Tn;
1414
+ function En(e) {
1415
+ let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
1416
+ return t.isIdentity ? Cn : wn(t.a, t.b, t.c, t.d, t.e, t.f);
1417
+ }
1418
+ function Dn(e) {
1419
+ return e == null || (Tn ||= document.createElementNS("http://www.w3.org/2000/svg", "g"), Tn.setAttribute("transform", e), !(e = Tn.transform.baseVal.consolidate())) ? Cn : (e = e.matrix, wn(e.a, e.b, e.c, e.d, e.e, e.f));
1420
+ }
1421
+ //#endregion
1422
+ //#region node_modules/d3-interpolate/src/transform/index.js
1423
+ function On(e, t, n, r) {
1424
+ function i(e) {
1425
+ return e.length ? e.pop() + " " : "";
1426
+ }
1427
+ function a(e, r, i, a, o, s) {
1428
+ if (e !== i || r !== a) {
1429
+ var c = o.push("translate(", null, t, null, n);
1430
+ s.push({
1431
+ i: c - 4,
1432
+ x: W(e, i)
1433
+ }, {
1434
+ i: c - 2,
1435
+ x: W(r, a)
1436
+ });
1437
+ } else (i || a) && o.push("translate(" + i + t + a + n);
1438
+ }
1439
+ function o(e, t, n, a) {
1440
+ e === t ? t && n.push(i(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), a.push({
1441
+ i: n.push(i(n) + "rotate(", null, r) - 2,
1442
+ x: W(e, t)
1443
+ }));
1444
+ }
1445
+ function s(e, t, n, a) {
1446
+ e === t ? t && n.push(i(n) + "skewX(" + t + r) : a.push({
1447
+ i: n.push(i(n) + "skewX(", null, r) - 2,
1448
+ x: W(e, t)
1449
+ });
1450
+ }
1451
+ function c(e, t, n, r, a, o) {
1452
+ if (e !== n || t !== r) {
1453
+ var s = a.push(i(a) + "scale(", null, ",", null, ")");
1454
+ o.push({
1455
+ i: s - 4,
1456
+ x: W(e, n)
1457
+ }, {
1458
+ i: s - 2,
1459
+ x: W(t, r)
1460
+ });
1461
+ } else (n !== 1 || r !== 1) && a.push(i(a) + "scale(" + n + "," + r + ")");
1462
+ }
1463
+ return function(t, n) {
1464
+ var r = [], i = [];
1465
+ return t = e(t), n = e(n), a(t.translateX, t.translateY, n.translateX, n.translateY, r, i), o(t.rotate, n.rotate, r, i), s(t.skewX, n.skewX, r, i), c(t.scaleX, t.scaleY, n.scaleX, n.scaleY, r, i), t = n = null, function(e) {
1466
+ for (var t = -1, n = i.length, a; ++t < n;) r[(a = i[t]).i] = a.x(e);
1467
+ return r.join("");
1468
+ };
1469
+ };
1470
+ }
1471
+ var kn = On(En, "px, ", "px)", "deg)"), An = On(Dn, ", ", ")", ")"), G = 0, jn = 0, Mn = 0, Nn = 1e3, Pn, K, Fn = 0, q = 0, In = 0, J = typeof performance == "object" && performance.now ? performance : Date, Ln = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
1472
+ setTimeout(e, 17);
1473
+ };
1474
+ function Rn() {
1475
+ return q ||= (Ln(zn), J.now() + In);
1476
+ }
1477
+ function zn() {
1478
+ q = 0;
1479
+ }
1480
+ function Bn() {
1481
+ this._call = this._time = this._next = null;
1482
+ }
1483
+ Bn.prototype = Vn.prototype = {
1484
+ constructor: Bn,
1485
+ restart: function(e, t, n) {
1486
+ if (typeof e != "function") throw TypeError("callback is not a function");
1487
+ n = (n == null ? Rn() : +n) + (t == null ? 0 : +t), !this._next && K !== this && (K ? K._next = this : Pn = this, K = this), this._call = e, this._time = n, Kn();
1488
+ },
1489
+ stop: function() {
1490
+ this._call && (this._call = null, this._time = Infinity, Kn());
1491
+ }
1492
+ };
1493
+ function Vn(e, t, n) {
1494
+ var r = new Bn();
1495
+ return r.restart(e, t, n), r;
1496
+ }
1497
+ function Hn() {
1498
+ Rn(), ++G;
1499
+ for (var e = Pn, t; e;) (t = q - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
1500
+ --G;
1501
+ }
1502
+ function Un() {
1503
+ q = (Fn = J.now()) + In, G = jn = 0;
1504
+ try {
1505
+ Hn();
1506
+ } finally {
1507
+ G = 0, Gn(), q = 0;
1508
+ }
1509
+ }
1510
+ function Wn() {
1511
+ var e = J.now(), t = e - Fn;
1512
+ t > Nn && (In -= t, Fn = e);
1513
+ }
1514
+ function Gn() {
1515
+ for (var e, t = Pn, n, r = Infinity; t;) t._call ? (r > t._time && (r = t._time), e = t, t = t._next) : (n = t._next, t._next = null, t = e ? e._next = n : Pn = n);
1516
+ K = e, Kn(r);
1517
+ }
1518
+ function Kn(e) {
1519
+ G || (jn &&= clearTimeout(jn), e - q > 24 ? (e < Infinity && (jn = setTimeout(Un, e - J.now() - In)), Mn &&= clearInterval(Mn)) : (Mn ||= (Fn = J.now(), setInterval(Wn, Nn)), G = 1, Ln(Un)));
1520
+ }
1521
+ //#endregion
1522
+ //#region node_modules/d3-timer/src/timeout.js
1523
+ function qn(e, t, n) {
1524
+ var r = new Bn();
1525
+ return t = t == null ? 0 : +t, r.restart((n) => {
1526
+ r.stop(), e(n + t);
1527
+ }, t, n), r;
1528
+ }
1529
+ //#endregion
1530
+ //#region node_modules/d3-transition/src/transition/schedule.js
1531
+ var Jn = u("start", "end", "cancel", "interrupt"), Yn = [];
1532
+ function Xn(e, t, n, r, i, a) {
1533
+ var o = e.__transition;
1534
+ if (!o) e.__transition = {};
1535
+ else if (n in o) return;
1536
+ Qn(e, n, {
1537
+ name: t,
1538
+ index: r,
1539
+ group: i,
1540
+ on: Jn,
1541
+ tween: Yn,
1542
+ time: a.time,
1543
+ delay: a.delay,
1544
+ duration: a.duration,
1545
+ ease: a.ease,
1546
+ timer: null,
1547
+ state: 0
1548
+ });
1549
+ }
1550
+ function Zn(e, t) {
1551
+ var n = X(e, t);
1552
+ if (n.state > 0) throw Error("too late; already scheduled");
1553
+ return n;
1554
+ }
1555
+ function Y(e, t) {
1556
+ var n = X(e, t);
1557
+ if (n.state > 3) throw Error("too late; already running");
1558
+ return n;
1559
+ }
1560
+ function X(e, t) {
1561
+ var n = e.__transition;
1562
+ if (!n || !(n = n[t])) throw Error("transition not found");
1563
+ return n;
1564
+ }
1565
+ function Qn(e, t, n) {
1566
+ var r = e.__transition, i;
1567
+ r[t] = n, n.timer = Vn(a, 0, n.time);
1568
+ function a(e) {
1569
+ n.state = 1, n.timer.restart(o, n.delay, n.time), n.delay <= e && o(e - n.delay);
1570
+ }
1571
+ function o(a) {
1572
+ var l, u, d, f;
1573
+ if (n.state !== 1) return c();
1574
+ for (l in r) if (f = r[l], f.name === n.name) {
1575
+ if (f.state === 3) return qn(o);
1576
+ f.state === 4 ? (f.state = 6, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete r[l]) : +l < t && (f.state = 6, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete r[l]);
1577
+ }
1578
+ if (qn(function() {
1579
+ n.state === 3 && (n.state = 4, n.timer.restart(s, n.delay, n.time), s(a));
1580
+ }), n.state = 2, n.on.call("start", e, e.__data__, n.index, n.group), n.state === 2) {
1581
+ for (n.state = 3, i = Array(d = n.tween.length), l = 0, u = -1; l < d; ++l) (f = n.tween[l].value.call(e, e.__data__, n.index, n.group)) && (i[++u] = f);
1582
+ i.length = u + 1;
1583
+ }
1584
+ }
1585
+ function s(t) {
1586
+ for (var r = t < n.duration ? n.ease.call(null, t / n.duration) : (n.timer.restart(c), n.state = 5, 1), a = -1, o = i.length; ++a < o;) i[a].call(e, r);
1587
+ n.state === 5 && (n.on.call("end", e, e.__data__, n.index, n.group), c());
1588
+ }
1589
+ function c() {
1590
+ for (var i in n.state = 6, n.timer.stop(), delete r[t], r) return;
1591
+ delete e.__transition;
1592
+ }
1593
+ }
1594
+ //#endregion
1595
+ //#region node_modules/d3-transition/src/interrupt.js
1596
+ function $n(e, t) {
1597
+ var n = e.__transition, r, i, a = !0, o;
1598
+ if (n) {
1599
+ for (o in t = t == null ? null : t + "", n) {
1600
+ if ((r = n[o]).name !== t) {
1601
+ a = !1;
1602
+ continue;
1603
+ }
1604
+ i = r.state > 2 && r.state < 5, r.state = 6, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[o];
1605
+ }
1606
+ a && delete e.__transition;
1607
+ }
1608
+ }
1609
+ //#endregion
1610
+ //#region node_modules/d3-transition/src/selection/interrupt.js
1611
+ function er(e) {
1612
+ return this.each(function() {
1613
+ $n(this, e);
1614
+ });
1615
+ }
1616
+ //#endregion
1617
+ //#region node_modules/d3-transition/src/transition/tween.js
1618
+ function tr(e, t) {
1619
+ var n, r;
1620
+ return function() {
1621
+ var i = Y(this, e), a = i.tween;
1622
+ if (a !== n) {
1623
+ r = n = a;
1624
+ for (var o = 0, s = r.length; o < s; ++o) if (r[o].name === t) {
1625
+ r = r.slice(), r.splice(o, 1);
1626
+ break;
1627
+ }
1628
+ }
1629
+ i.tween = r;
1630
+ };
1631
+ }
1632
+ function nr(e, t, n) {
1633
+ var r, i;
1634
+ if (typeof n != "function") throw Error();
1635
+ return function() {
1636
+ var a = Y(this, e), o = a.tween;
1637
+ if (o !== r) {
1638
+ i = (r = o).slice();
1639
+ for (var s = {
1640
+ name: t,
1641
+ value: n
1642
+ }, c = 0, l = i.length; c < l; ++c) if (i[c].name === t) {
1643
+ i[c] = s;
1644
+ break;
1645
+ }
1646
+ c === l && i.push(s);
1647
+ }
1648
+ a.tween = i;
1649
+ };
1650
+ }
1651
+ function rr(e, t) {
1652
+ var n = this._id;
1653
+ if (e += "", arguments.length < 2) {
1654
+ for (var r = X(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
1655
+ return null;
1656
+ }
1657
+ return this.each((t == null ? tr : nr)(n, e, t));
1658
+ }
1659
+ function ir(e, t, n) {
1660
+ var r = e._id;
1661
+ return e.each(function() {
1662
+ var e = Y(this, r);
1663
+ (e.value ||= {})[t] = n.apply(this, arguments);
1664
+ }), function(e) {
1665
+ return X(e, r).value[t];
1666
+ };
1667
+ }
1668
+ //#endregion
1669
+ //#region node_modules/d3-transition/src/transition/interpolate.js
1670
+ function ar(e, t) {
1671
+ var n;
1672
+ return (typeof t == "number" ? W : t instanceof I ? gn : (n = I(t)) ? (t = n, gn) : xn)(e, t);
1673
+ }
1674
+ //#endregion
1675
+ //#region node_modules/d3-transition/src/transition/attr.js
1676
+ function or(e) {
1677
+ return function() {
1678
+ this.removeAttribute(e);
1679
+ };
1680
+ }
1681
+ function sr(e) {
1682
+ return function() {
1683
+ this.removeAttributeNS(e.space, e.local);
1684
+ };
1685
+ }
1686
+ function cr(e, t, n) {
1687
+ var r, i = n + "", a;
1688
+ return function() {
1689
+ var o = this.getAttribute(e);
1690
+ return o === i ? null : o === r ? a : a = t(r = o, n);
1691
+ };
1692
+ }
1693
+ function lr(e, t, n) {
1694
+ var r, i = n + "", a;
1695
+ return function() {
1696
+ var o = this.getAttributeNS(e.space, e.local);
1697
+ return o === i ? null : o === r ? a : a = t(r = o, n);
1698
+ };
1699
+ }
1700
+ function ur(e, t, n) {
1701
+ var r, i, a;
1702
+ return function() {
1703
+ var o, s = n(this), c;
1704
+ return s == null ? void this.removeAttribute(e) : (o = this.getAttribute(e), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
1705
+ };
1706
+ }
1707
+ function dr(e, t, n) {
1708
+ var r, i, a;
1709
+ return function() {
1710
+ var o, s = n(this), c;
1711
+ return s == null ? void this.removeAttributeNS(e.space, e.local) : (o = this.getAttributeNS(e.space, e.local), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
1712
+ };
1713
+ }
1714
+ function fr(e, t) {
1715
+ var n = g(e), r = n === "transform" ? An : ar;
1716
+ return this.attrTween(e, typeof t == "function" ? (n.local ? dr : ur)(n, r, ir(this, "attr." + e, t)) : t == null ? (n.local ? sr : or)(n) : (n.local ? lr : cr)(n, r, t));
1717
+ }
1718
+ //#endregion
1719
+ //#region node_modules/d3-transition/src/transition/attrTween.js
1720
+ function pr(e, t) {
1721
+ return function(n) {
1722
+ this.setAttribute(e, t.call(this, n));
1723
+ };
1724
+ }
1725
+ function mr(e, t) {
1726
+ return function(n) {
1727
+ this.setAttributeNS(e.space, e.local, t.call(this, n));
1728
+ };
1729
+ }
1730
+ function hr(e, t) {
1731
+ var n, r;
1732
+ function i() {
1733
+ var i = t.apply(this, arguments);
1734
+ return i !== r && (n = (r = i) && mr(e, i)), n;
1735
+ }
1736
+ return i._value = t, i;
1737
+ }
1738
+ function gr(e, t) {
1739
+ var n, r;
1740
+ function i() {
1741
+ var i = t.apply(this, arguments);
1742
+ return i !== r && (n = (r = i) && pr(e, i)), n;
1743
+ }
1744
+ return i._value = t, i;
1745
+ }
1746
+ function _r(e, t) {
1747
+ var n = "attr." + e;
1748
+ if (arguments.length < 2) return (n = this.tween(n)) && n._value;
1749
+ if (t == null) return this.tween(n, null);
1750
+ if (typeof t != "function") throw Error();
1751
+ var r = g(e);
1752
+ return this.tween(n, (r.local ? hr : gr)(r, t));
1753
+ }
1754
+ //#endregion
1755
+ //#region node_modules/d3-transition/src/transition/delay.js
1756
+ function vr(e, t) {
1757
+ return function() {
1758
+ Zn(this, e).delay = +t.apply(this, arguments);
1759
+ };
1760
+ }
1761
+ function yr(e, t) {
1762
+ return t = +t, function() {
1763
+ Zn(this, e).delay = t;
1764
+ };
1765
+ }
1766
+ function br(e) {
1767
+ var t = this._id;
1768
+ return arguments.length ? this.each((typeof e == "function" ? vr : yr)(t, e)) : X(this.node(), t).delay;
1769
+ }
1770
+ //#endregion
1771
+ //#region node_modules/d3-transition/src/transition/duration.js
1772
+ function xr(e, t) {
1773
+ return function() {
1774
+ Y(this, e).duration = +t.apply(this, arguments);
1775
+ };
1776
+ }
1777
+ function Sr(e, t) {
1778
+ return t = +t, function() {
1779
+ Y(this, e).duration = t;
1780
+ };
1781
+ }
1782
+ function Cr(e) {
1783
+ var t = this._id;
1784
+ return arguments.length ? this.each((typeof e == "function" ? xr : Sr)(t, e)) : X(this.node(), t).duration;
1785
+ }
1786
+ //#endregion
1787
+ //#region node_modules/d3-transition/src/transition/ease.js
1788
+ function wr(e, t) {
1789
+ if (typeof t != "function") throw Error();
1790
+ return function() {
1791
+ Y(this, e).ease = t;
1792
+ };
1793
+ }
1794
+ function Tr(e) {
1795
+ var t = this._id;
1796
+ return arguments.length ? this.each(wr(t, e)) : X(this.node(), t).ease;
1797
+ }
1798
+ //#endregion
1799
+ //#region node_modules/d3-transition/src/transition/easeVarying.js
1800
+ function Er(e, t) {
1801
+ return function() {
1802
+ var n = t.apply(this, arguments);
1803
+ if (typeof n != "function") throw Error();
1804
+ Y(this, e).ease = n;
1805
+ };
1806
+ }
1807
+ function Dr(e) {
1808
+ if (typeof e != "function") throw Error();
1809
+ return this.each(Er(this._id, e));
1810
+ }
1811
+ //#endregion
1812
+ //#region node_modules/d3-transition/src/transition/filter.js
1813
+ function Or(e) {
1814
+ typeof e != "function" && (e = te(e));
1815
+ for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
1816
+ return new Z(r, this._parents, this._name, this._id);
1817
+ }
1818
+ //#endregion
1819
+ //#region node_modules/d3-transition/src/transition/merge.js
1820
+ function kr(e) {
1821
+ if (e._id !== this._id) throw Error();
1822
+ for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
1823
+ for (; s < r; ++s) o[s] = t[s];
1824
+ return new Z(o, this._parents, this._name, this._id);
1825
+ }
1826
+ //#endregion
1827
+ //#region node_modules/d3-transition/src/transition/on.js
1828
+ function Ar(e) {
1829
+ return (e + "").trim().split(/^|\s+/).every(function(e) {
1830
+ var t = e.indexOf(".");
1831
+ return t >= 0 && (e = e.slice(0, t)), !e || e === "start";
1832
+ });
1833
+ }
1834
+ function jr(e, t, n) {
1835
+ var r, i, a = Ar(t) ? Zn : Y;
1836
+ return function() {
1837
+ var o = a(this, e), s = o.on;
1838
+ s !== r && (i = (r = s).copy()).on(t, n), o.on = i;
1839
+ };
1840
+ }
1841
+ function Mr(e, t) {
1842
+ var n = this._id;
1843
+ return arguments.length < 2 ? X(this.node(), n).on.on(e) : this.each(jr(n, e, t));
1844
+ }
1845
+ //#endregion
1846
+ //#region node_modules/d3-transition/src/transition/remove.js
1847
+ function Nr(e) {
1848
+ return function() {
1849
+ var t = this.parentNode;
1850
+ for (var n in this.__transition) if (+n !== e) return;
1851
+ t && t.removeChild(this);
1852
+ };
1853
+ }
1854
+ function Pr() {
1855
+ return this.on("end.remove", Nr(this._id));
1856
+ }
1857
+ //#endregion
1858
+ //#region node_modules/d3-transition/src/transition/select.js
1859
+ function Fr(e) {
1860
+ var t = this._name, n = this._id;
1861
+ typeof e != "function" && (e = x(e));
1862
+ for (var r = this._groups, i = r.length, a = Array(i), o = 0; o < i; ++o) for (var s = r[o], c = s.length, l = a[o] = Array(c), u, d, f = 0; f < c; ++f) (u = s[f]) && (d = e.call(u, u.__data__, f, s)) && ("__data__" in u && (d.__data__ = u.__data__), l[f] = d, Xn(l[f], t, n, f, l, X(u, n)));
1863
+ return new Z(a, this._parents, t, n);
1864
+ }
1865
+ //#endregion
1866
+ //#region node_modules/d3-transition/src/transition/selectAll.js
1867
+ function Ir(e) {
1868
+ var t = this._name, n = this._id;
1869
+ typeof e != "function" && (e = T(e));
1870
+ for (var r = this._groups, i = r.length, a = [], o = [], s = 0; s < i; ++s) for (var c = r[s], l = c.length, u, d = 0; d < l; ++d) if (u = c[d]) {
1871
+ for (var f = e.call(u, u.__data__, d, c), p, m = X(u, n), h = 0, g = f.length; h < g; ++h) (p = f[h]) && Xn(p, t, n, h, f, m);
1872
+ a.push(f), o.push(u);
1873
+ }
1874
+ return new Z(a, o, t, n);
1875
+ }
1876
+ //#endregion
1877
+ //#region node_modules/d3-transition/src/transition/selection.js
1878
+ var Lr = A.prototype.constructor;
1879
+ function Rr() {
1880
+ return new Lr(this._groups, this._parents);
1881
+ }
1882
+ //#endregion
1883
+ //#region node_modules/d3-transition/src/transition/style.js
1884
+ function zr(e, t) {
1885
+ var n, r, i;
1886
+ return function() {
1887
+ var a = O(this, e), o = (this.style.removeProperty(e), O(this, e));
1888
+ return a === o ? null : a === n && o === r ? i : i = t(n = a, r = o);
1889
+ };
1890
+ }
1891
+ function Br(e) {
1892
+ return function() {
1893
+ this.style.removeProperty(e);
1894
+ };
1895
+ }
1896
+ function Vr(e, t, n) {
1897
+ var r, i = n + "", a;
1898
+ return function() {
1899
+ var o = O(this, e);
1900
+ return o === i ? null : o === r ? a : a = t(r = o, n);
1901
+ };
1902
+ }
1903
+ function Hr(e, t, n) {
1904
+ var r, i, a;
1905
+ return function() {
1906
+ var o = O(this, e), s = n(this), c = s + "";
1907
+ return s ?? (c = s = (this.style.removeProperty(e), O(this, e))), o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s));
1908
+ };
1909
+ }
1910
+ function Ur(e, t) {
1911
+ var n, r, i, a = "style." + t, o = "end." + a, s;
1912
+ return function() {
1913
+ var c = Y(this, e), l = c.on, u = c.value[a] == null ? s ||= Br(t) : void 0;
1914
+ (l !== n || i !== u) && (r = (n = l).copy()).on(o, i = u), c.on = r;
1915
+ };
1916
+ }
1917
+ function Wr(e, t, n) {
1918
+ var r = (e += "") == "transform" ? kn : ar;
1919
+ return t == null ? this.styleTween(e, zr(e, r)).on("end.style." + e, Br(e)) : typeof t == "function" ? this.styleTween(e, Hr(e, r, ir(this, "style." + e, t))).each(Ur(this._id, e)) : this.styleTween(e, Vr(e, r, t), n).on("end.style." + e, null);
1920
+ }
1921
+ //#endregion
1922
+ //#region node_modules/d3-transition/src/transition/styleTween.js
1923
+ function Gr(e, t, n) {
1924
+ return function(r) {
1925
+ this.style.setProperty(e, t.call(this, r), n);
1926
+ };
1927
+ }
1928
+ function Kr(e, t, n) {
1929
+ var r, i;
1930
+ function a() {
1931
+ var a = t.apply(this, arguments);
1932
+ return a !== i && (r = (i = a) && Gr(e, a, n)), r;
1933
+ }
1934
+ return a._value = t, a;
1935
+ }
1936
+ function qr(e, t, n) {
1937
+ var r = "style." + (e += "");
1938
+ if (arguments.length < 2) return (r = this.tween(r)) && r._value;
1939
+ if (t == null) return this.tween(r, null);
1940
+ if (typeof t != "function") throw Error();
1941
+ return this.tween(r, Kr(e, t, n ?? ""));
1942
+ }
1943
+ //#endregion
1944
+ //#region node_modules/d3-transition/src/transition/text.js
1945
+ function Jr(e) {
1946
+ return function() {
1947
+ this.textContent = e;
1948
+ };
1949
+ }
1950
+ function Yr(e) {
1951
+ return function() {
1952
+ var t = e(this);
1953
+ this.textContent = t ?? "";
1954
+ };
1955
+ }
1956
+ function Xr(e) {
1957
+ return this.tween("text", typeof e == "function" ? Yr(ir(this, "text", e)) : Jr(e == null ? "" : e + ""));
1958
+ }
1959
+ //#endregion
1960
+ //#region node_modules/d3-transition/src/transition/textTween.js
1961
+ function Zr(e) {
1962
+ return function(t) {
1963
+ this.textContent = e.call(this, t);
1964
+ };
1965
+ }
1966
+ function Qr(e) {
1967
+ var t, n;
1968
+ function r() {
1969
+ var r = e.apply(this, arguments);
1970
+ return r !== n && (t = (n = r) && Zr(r)), t;
1971
+ }
1972
+ return r._value = e, r;
1973
+ }
1974
+ function $r(e) {
1975
+ var t = "text";
1976
+ if (arguments.length < 1) return (t = this.tween(t)) && t._value;
1977
+ if (e == null) return this.tween(t, null);
1978
+ if (typeof e != "function") throw Error();
1979
+ return this.tween(t, Qr(e));
1980
+ }
1981
+ //#endregion
1982
+ //#region node_modules/d3-transition/src/transition/transition.js
1983
+ function ei() {
1984
+ for (var e = this._name, t = this._id, n = ii(), r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) if (c = o[l]) {
1985
+ var u = X(c, t);
1986
+ Xn(c, e, n, l, o, {
1987
+ time: u.time + u.delay + u.duration,
1988
+ delay: 0,
1989
+ duration: u.duration,
1990
+ ease: u.ease
1991
+ });
1992
+ }
1993
+ return new Z(r, this._parents, e, n);
1994
+ }
1995
+ //#endregion
1996
+ //#region node_modules/d3-transition/src/transition/end.js
1997
+ function ti() {
1998
+ var e, t, n = this, r = n._id, i = n.size();
1999
+ return new Promise(function(a, o) {
2000
+ var s = { value: o }, c = { value: function() {
2001
+ --i === 0 && a();
2002
+ } };
2003
+ n.each(function() {
2004
+ var n = Y(this, r), i = n.on;
2005
+ i !== e && (t = (e = i).copy(), t._.cancel.push(s), t._.interrupt.push(s), t._.end.push(c)), n.on = t;
2006
+ }), i === 0 && a();
2007
+ });
2008
+ }
2009
+ //#endregion
2010
+ //#region node_modules/d3-transition/src/transition/index.js
2011
+ var ni = 0;
2012
+ function Z(e, t, n, r) {
2013
+ this._groups = e, this._parents = t, this._name = n, this._id = r;
2014
+ }
2015
+ function ri(e) {
2016
+ return A().transition(e);
2017
+ }
2018
+ function ii() {
2019
+ return ++ni;
2020
+ }
2021
+ var Q = A.prototype;
2022
+ Z.prototype = ri.prototype = {
2023
+ constructor: Z,
2024
+ select: Fr,
2025
+ selectAll: Ir,
2026
+ selectChild: Q.selectChild,
2027
+ selectChildren: Q.selectChildren,
2028
+ filter: Or,
2029
+ merge: kr,
2030
+ selection: Rr,
2031
+ transition: ei,
2032
+ call: Q.call,
2033
+ nodes: Q.nodes,
2034
+ node: Q.node,
2035
+ size: Q.size,
2036
+ empty: Q.empty,
2037
+ each: Q.each,
2038
+ on: Mr,
2039
+ attr: fr,
2040
+ attrTween: _r,
2041
+ style: Wr,
2042
+ styleTween: qr,
2043
+ text: Xr,
2044
+ textTween: $r,
2045
+ remove: Pr,
2046
+ tween: rr,
2047
+ delay: br,
2048
+ duration: Cr,
2049
+ ease: Tr,
2050
+ easeVarying: Dr,
2051
+ end: ti,
2052
+ [Symbol.iterator]: Q[Symbol.iterator]
2053
+ };
2054
+ //#endregion
2055
+ //#region node_modules/d3-ease/src/cubic.js
2056
+ function ai(e) {
2057
+ return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
2058
+ }
2059
+ //#endregion
2060
+ //#region node_modules/d3-transition/src/selection/transition.js
2061
+ var oi = {
2062
+ time: null,
2063
+ delay: 0,
2064
+ duration: 250,
2065
+ ease: ai
2066
+ };
2067
+ function si(e, t) {
2068
+ for (var n; !(n = e.__transition) || !(n = n[t]);) if (!(e = e.parentNode)) throw Error(`transition ${t} not found`);
2069
+ return n;
2070
+ }
2071
+ function ci(e) {
2072
+ var t, n;
2073
+ e instanceof Z ? (t = e._id, e = e._name) : (t = ii(), (n = oi).time = Rn(), e = e == null ? null : e + "");
2074
+ for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && Xn(c, e, t, l, o, n || si(c, t));
2075
+ return new Z(r, this._parents, e, t);
2076
+ }
2077
+ A.prototype.interrupt = er, A.prototype.transition = ci;
2078
+ //#endregion
2079
+ //#region node_modules/d3-brush/src/brush.js
2080
+ var { abs: li, max: ui, min: di } = Math;
2081
+ ["w", "e"].map(fi), ["n", "s"].map(fi), [
2082
+ "n",
2083
+ "w",
2084
+ "e",
2085
+ "s",
2086
+ "nw",
2087
+ "ne",
2088
+ "sw",
2089
+ "se"
2090
+ ].map(fi);
2091
+ function fi(e) {
2092
+ return { type: e };
2093
+ }
2094
+ //#endregion
2095
+ //#region node_modules/d3-zoom/src/transform.js
2096
+ function $(e, t, n) {
2097
+ this.k = e, this.x = t, this.y = n;
2098
+ }
2099
+ $.prototype = {
2100
+ constructor: $,
2101
+ scale: function(e) {
2102
+ return e === 1 ? this : new $(this.k * e, this.x, this.y);
2103
+ },
2104
+ translate: function(e, t) {
2105
+ return e === 0 & t === 0 ? this : new $(this.k, this.x + this.k * e, this.y + this.k * t);
2106
+ },
2107
+ apply: function(e) {
2108
+ return [e[0] * this.k + this.x, e[1] * this.k + this.y];
2109
+ },
2110
+ applyX: function(e) {
2111
+ return e * this.k + this.x;
2112
+ },
2113
+ applyY: function(e) {
2114
+ return e * this.k + this.y;
2115
+ },
2116
+ invert: function(e) {
2117
+ return [(e[0] - this.x) / this.k, (e[1] - this.y) / this.k];
2118
+ },
2119
+ invertX: function(e) {
2120
+ return (e - this.x) / this.k;
2121
+ },
2122
+ invertY: function(e) {
2123
+ return (e - this.y) / this.k;
2124
+ },
2125
+ rescaleX: function(e) {
2126
+ return e.copy().domain(e.range().map(this.invertX, this).map(e.invert, e));
2127
+ },
2128
+ rescaleY: function(e) {
2129
+ return e.copy().domain(e.range().map(this.invertY, this).map(e.invert, e));
2130
+ },
2131
+ toString: function() {
2132
+ return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
2133
+ }
2134
+ };
2135
+ var pi = new $(1, 0, 0);
2136
+ mi.prototype = $.prototype;
2137
+ function mi(e) {
2138
+ for (; !e.__zoom;) if (!(e = e.parentNode)) return pi;
2139
+ return e.__zoom;
2140
+ }
2141
+ //#endregion
2142
+ export { hn as a, R as c, Lt as d, Rt as f, r as g, s as h, pn as i, I as l, o as m, W as n, un as o, It as p, gn as r, j as s, xn as t, $t as u };