@milaboratories/miplots4 1.0.169 → 1.0.171

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 (125) hide show
  1. package/README.md +11 -6
  2. package/dist/_virtual/client.js +1 -1
  3. package/dist/_virtual/client2.js +2 -2
  4. package/dist/_virtual/index.js +1 -1
  5. package/dist/_virtual/index2.js +1 -1
  6. package/dist/_virtual/jsx-runtime.js +1 -1
  7. package/dist/_virtual/react-dom-client.development.js +5 -0
  8. package/dist/_virtual/react-dom-client.development.js.map +1 -0
  9. package/dist/_virtual/react-dom-client.production.js +5 -0
  10. package/dist/_virtual/react-dom-client.production.js.map +1 -0
  11. package/dist/_virtual/{react-dom-server-legacy.browser.production.min.js → react-dom-server-legacy.browser.production.js} +1 -1
  12. package/dist/_virtual/react-dom-server-legacy.browser.production.js.map +1 -0
  13. package/dist/_virtual/react-dom-server.browser.production.js +5 -0
  14. package/dist/_virtual/react-dom-server.browser.production.js.map +1 -0
  15. package/dist/_virtual/react-dom.production.js +5 -0
  16. package/dist/_virtual/react-dom.production.js.map +1 -0
  17. package/dist/_virtual/react-jsx-runtime.production.js +5 -0
  18. package/dist/_virtual/react-jsx-runtime.production.js.map +1 -0
  19. package/dist/_virtual/react.production.js +5 -0
  20. package/dist/_virtual/react.production.js.map +1 -0
  21. package/dist/_virtual/scheduler.production.js +5 -0
  22. package/dist/_virtual/scheduler.production.js.map +1 -0
  23. package/dist/_virtual/server.browser.js +1 -1
  24. package/dist/bubble/ChartRenderer.js +86 -86
  25. package/dist/bubble/ChartRenderer.js.map +1 -1
  26. package/dist/bubble/index.js.map +1 -1
  27. package/dist/common/ErrorBoundary.d.ts +1 -1
  28. package/dist/dendro/index.js.map +1 -1
  29. package/dist/discrete/ChartRenderer.js +102 -102
  30. package/dist/discrete/ChartRenderer.js.map +1 -1
  31. package/dist/discrete/index.js.map +1 -1
  32. package/dist/heatmap/ChartRenderer.js +121 -121
  33. package/dist/heatmap/ChartRenderer.js.map +1 -1
  34. package/dist/heatmap/index.js.map +1 -1
  35. package/dist/histogram/ChartRenderer.js +73 -73
  36. package/dist/histogram/ChartRenderer.js.map +1 -1
  37. package/dist/histogram/index.js.map +1 -1
  38. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js +17062 -0
  39. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.development.js.map +1 -0
  40. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.production.js +9790 -0
  41. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-client.production.js.map +1 -0
  42. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +6245 -0
  43. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js.map +1 -0
  44. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +4106 -0
  45. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js.map +1 -0
  46. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server.browser.development.js +6763 -0
  47. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server.browser.development.js.map +1 -0
  48. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server.browser.production.js +4655 -0
  49. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom-server.browser.production.js.map +1 -0
  50. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.development.js +228 -0
  51. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.development.js.map +1 -0
  52. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.production.js +148 -0
  53. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.production.js.map +1 -0
  54. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js +24 -0
  55. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js.map +1 -0
  56. package/dist/node_modules/.pnpm/{react-dom@18.3.1_react@18.3.1 → react-dom@19.2.4_react@19.2.4}/node_modules/react-dom/index.js +1 -1
  57. package/dist/node_modules/.pnpm/{react-dom@18.3.1_react@18.3.1 → react-dom@19.2.4_react@19.2.4}/node_modules/react-dom/index.js.map +1 -1
  58. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/server.browser.js +16 -0
  59. package/dist/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/server.browser.js.map +1 -0
  60. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js +246 -0
  61. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
  62. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js +36 -0
  63. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js.map +1 -0
  64. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.development.js +865 -0
  65. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.development.js.map +1 -0
  66. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.production.js +373 -0
  67. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.production.js.map +1 -0
  68. package/dist/node_modules/.pnpm/{react@18.3.1 → react@19.2.4}/node_modules/react/index.js +1 -1
  69. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/index.js.map +1 -0
  70. package/dist/node_modules/.pnpm/{react@18.3.1 → react@19.2.4}/node_modules/react/jsx-runtime.js +3 -3
  71. package/dist/node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js.map +1 -0
  72. package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js +237 -0
  73. package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.development.js.map +1 -0
  74. package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js +234 -0
  75. package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js.map +1 -0
  76. package/dist/node_modules/.pnpm/{scheduler@0.23.2 → scheduler@0.27.0}/node_modules/scheduler/index.js +1 -1
  77. package/dist/node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js.map +1 -0
  78. package/dist/scatterplot/ChartRenderer.js +96 -96
  79. package/dist/scatterplot/ChartRenderer.js.map +1 -1
  80. package/dist/scatterplot/index.js.map +1 -1
  81. package/dist/scatterplot-umap/ChartRenderer.js +99 -99
  82. package/dist/scatterplot-umap/ChartRenderer.js.map +1 -1
  83. package/package.json +7 -5
  84. package/dist/_virtual/react-dom-server-legacy.browser.production.min.js.map +0 -1
  85. package/dist/_virtual/react-dom-server.browser.production.min.js +0 -5
  86. package/dist/_virtual/react-dom-server.browser.production.min.js.map +0 -1
  87. package/dist/_virtual/react-dom.production.min.js +0 -5
  88. package/dist/_virtual/react-dom.production.min.js.map +0 -1
  89. package/dist/_virtual/react-jsx-runtime.production.min.js +0 -5
  90. package/dist/_virtual/react-jsx-runtime.production.min.js.map +0 -1
  91. package/dist/_virtual/react.production.min.js +0 -5
  92. package/dist/_virtual/react.production.min.js.map +0 -1
  93. package/dist/_virtual/scheduler.production.min.js +0 -5
  94. package/dist/_virtual/scheduler.production.min.js.map +0 -1
  95. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -3622
  96. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js.map +0 -1
  97. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -1235
  98. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js.map +0 -1
  99. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -3601
  100. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.browser.development.js.map +0 -1
  101. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -1256
  102. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js.map +0 -1
  103. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js +0 -13457
  104. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js.map +0 -1
  105. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js +0 -5177
  106. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js.map +0 -1
  107. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js +0 -33
  108. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js.map +0 -1
  109. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/server.browser.js +0 -16
  110. package/dist/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/server.browser.js.map +0 -1
  111. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +0 -605
  112. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
  113. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -29
  114. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +0 -1
  115. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js +0 -1274
  116. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js.map +0 -1
  117. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js +0 -209
  118. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js.map +0 -1
  119. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js.map +0 -1
  120. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js.map +0 -1
  121. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.js +0 -278
  122. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.js.map +0 -1
  123. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.js +0 -214
  124. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.js.map +0 -1
  125. package/dist/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js.map +0 -1
@@ -1,3622 +0,0 @@
1
- import { __exports as z } from "../../../../../../_virtual/react-dom-server-legacy.browser.development.js";
2
- import { __require as zl } from "../../../../react@18.3.1/node_modules/react/index.js";
3
- /**
4
- * @license React
5
- * react-dom-server-legacy.browser.development.js
6
- *
7
- * Copyright (c) Facebook, Inc. and its affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var Wn;
13
- function Zl() {
14
- return Wn ? z : (Wn = 1, process.env.NODE_ENV !== "production" && (function() {
15
- var Yt = zl(), jn = "18.3.1", J = Yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
16
- function zn(e) {
17
- {
18
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
19
- r[n - 1] = arguments[n];
20
- $t("warn", e, r);
21
- }
22
- }
23
- function s(e) {
24
- {
25
- for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
26
- r[n - 1] = arguments[n];
27
- $t("error", e, r);
28
- }
29
- }
30
- function $t(e, t, r) {
31
- {
32
- var n = J.ReactDebugCurrentFrame, o = n.getStackAddendum();
33
- o !== "" && (t += "%s", r = r.concat([o]));
34
- var a = r.map(function(i) {
35
- return String(i);
36
- });
37
- a.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, a);
38
- }
39
- }
40
- function Gt(e) {
41
- e();
42
- }
43
- function Yl(e) {
44
- }
45
- function c(e, t) {
46
- h(e, t);
47
- }
48
- function h(e, t) {
49
- return e.push(t);
50
- }
51
- function $l(e) {
52
- }
53
- function Nt(e) {
54
- e.push(null);
55
- }
56
- function Gl(e) {
57
- return e;
58
- }
59
- function Nl(e) {
60
- return e;
61
- }
62
- function Vt(e, t) {
63
- e.destroy(t);
64
- }
65
- function We(e) {
66
- {
67
- var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
68
- return r;
69
- }
70
- }
71
- function je(e) {
72
- try {
73
- return fe(e), !1;
74
- } catch {
75
- return !0;
76
- }
77
- }
78
- function fe(e) {
79
- return "" + e;
80
- }
81
- function Q(e, t) {
82
- if (je(e))
83
- return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", t, We(e)), fe(e);
84
- }
85
- function Xt(e, t) {
86
- if (je(e))
87
- return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", t, We(e)), fe(e);
88
- }
89
- function K(e) {
90
- if (je(e))
91
- return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", We(e)), fe(e);
92
- }
93
- var b = Object.prototype.hasOwnProperty, ze = 0, U = 1, Ye = 2, q = 3, $e = 4, Zt = 5, Jt = 6, Qt = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", ee = Qt + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", Yn = new RegExp("^[" + Qt + "][" + ee + "]*$"), Kt = {}, qt = {};
94
- function er(e) {
95
- return b.call(qt, e) ? !0 : b.call(Kt, e) ? !1 : Yn.test(e) ? (qt[e] = !0, !0) : (Kt[e] = !0, s("Invalid attribute name: `%s`", e), !1);
96
- }
97
- function tr(e, t, r, n) {
98
- if (r !== null && r.type === ze)
99
- return !1;
100
- switch (typeof t) {
101
- case "function":
102
- // $FlowIssue symbol is perfectly valid here
103
- case "symbol":
104
- return !0;
105
- case "boolean": {
106
- if (r !== null)
107
- return !r.acceptsBooleans;
108
- var o = e.toLowerCase().slice(0, 5);
109
- return o !== "data-" && o !== "aria-";
110
- }
111
- default:
112
- return !1;
113
- }
114
- }
115
- function rr(e) {
116
- return S.hasOwnProperty(e) ? S[e] : null;
117
- }
118
- function w(e, t, r, n, o, a, i) {
119
- this.acceptsBooleans = t === Ye || t === q || t === $e, this.attributeName = n, this.attributeNamespace = o, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = a, this.removeEmptyString = i;
120
- }
121
- var S = {}, $n = [
122
- "children",
123
- "dangerouslySetInnerHTML",
124
- // TODO: This prevents the assignment of defaultValue to regular
125
- // elements (not just inputs). Now that ReactDOMInput assigns to the
126
- // defaultValue property -- do we need this?
127
- "defaultValue",
128
- "defaultChecked",
129
- "innerHTML",
130
- "suppressContentEditableWarning",
131
- "suppressHydrationWarning",
132
- "style"
133
- ];
134
- $n.forEach(function(e) {
135
- S[e] = new w(
136
- e,
137
- ze,
138
- !1,
139
- // mustUseProperty
140
- e,
141
- // attributeName
142
- null,
143
- // attributeNamespace
144
- !1,
145
- // sanitizeURL
146
- !1
147
- );
148
- }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) {
149
- var t = e[0], r = e[1];
150
- S[t] = new w(
151
- t,
152
- U,
153
- !1,
154
- // mustUseProperty
155
- r,
156
- // attributeName
157
- null,
158
- // attributeNamespace
159
- !1,
160
- // sanitizeURL
161
- !1
162
- );
163
- }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
164
- S[e] = new w(
165
- e,
166
- Ye,
167
- !1,
168
- // mustUseProperty
169
- e.toLowerCase(),
170
- // attributeName
171
- null,
172
- // attributeNamespace
173
- !1,
174
- // sanitizeURL
175
- !1
176
- );
177
- }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
178
- S[e] = new w(
179
- e,
180
- Ye,
181
- !1,
182
- // mustUseProperty
183
- e,
184
- // attributeName
185
- null,
186
- // attributeNamespace
187
- !1,
188
- // sanitizeURL
189
- !1
190
- );
191
- }), [
192
- "allowFullScreen",
193
- "async",
194
- // Note: there is a special case that prevents it from being written to the DOM
195
- // on the client side because the browsers are inconsistent. Instead we call focus().
196
- "autoFocus",
197
- "autoPlay",
198
- "controls",
199
- "default",
200
- "defer",
201
- "disabled",
202
- "disablePictureInPicture",
203
- "disableRemotePlayback",
204
- "formNoValidate",
205
- "hidden",
206
- "loop",
207
- "noModule",
208
- "noValidate",
209
- "open",
210
- "playsInline",
211
- "readOnly",
212
- "required",
213
- "reversed",
214
- "scoped",
215
- "seamless",
216
- // Microdata
217
- "itemScope"
218
- ].forEach(function(e) {
219
- S[e] = new w(
220
- e,
221
- q,
222
- !1,
223
- // mustUseProperty
224
- e.toLowerCase(),
225
- // attributeName
226
- null,
227
- // attributeNamespace
228
- !1,
229
- // sanitizeURL
230
- !1
231
- );
232
- }), [
233
- "checked",
234
- // Note: `option.selected` is not updated if `select.multiple` is
235
- // disabled with `removeAttribute`. We have special logic for handling this.
236
- "multiple",
237
- "muted",
238
- "selected"
239
- // NOTE: if you add a camelCased prop to this list,
240
- // you'll need to set attributeName to name.toLowerCase()
241
- // instead in the assignment below.
242
- ].forEach(function(e) {
243
- S[e] = new w(
244
- e,
245
- q,
246
- !0,
247
- // mustUseProperty
248
- e,
249
- // attributeName
250
- null,
251
- // attributeNamespace
252
- !1,
253
- // sanitizeURL
254
- !1
255
- );
256
- }), [
257
- "capture",
258
- "download"
259
- // NOTE: if you add a camelCased prop to this list,
260
- // you'll need to set attributeName to name.toLowerCase()
261
- // instead in the assignment below.
262
- ].forEach(function(e) {
263
- S[e] = new w(
264
- e,
265
- $e,
266
- !1,
267
- // mustUseProperty
268
- e,
269
- // attributeName
270
- null,
271
- // attributeNamespace
272
- !1,
273
- // sanitizeURL
274
- !1
275
- );
276
- }), [
277
- "cols",
278
- "rows",
279
- "size",
280
- "span"
281
- // NOTE: if you add a camelCased prop to this list,
282
- // you'll need to set attributeName to name.toLowerCase()
283
- // instead in the assignment below.
284
- ].forEach(function(e) {
285
- S[e] = new w(
286
- e,
287
- Jt,
288
- !1,
289
- // mustUseProperty
290
- e,
291
- // attributeName
292
- null,
293
- // attributeNamespace
294
- !1,
295
- // sanitizeURL
296
- !1
297
- );
298
- }), ["rowSpan", "start"].forEach(function(e) {
299
- S[e] = new w(
300
- e,
301
- Zt,
302
- !1,
303
- // mustUseProperty
304
- e.toLowerCase(),
305
- // attributeName
306
- null,
307
- // attributeNamespace
308
- !1,
309
- // sanitizeURL
310
- !1
311
- );
312
- });
313
- var Ge = /[\-\:]([a-z])/g, Ne = function(e) {
314
- return e[1].toUpperCase();
315
- };
316
- [
317
- "accent-height",
318
- "alignment-baseline",
319
- "arabic-form",
320
- "baseline-shift",
321
- "cap-height",
322
- "clip-path",
323
- "clip-rule",
324
- "color-interpolation",
325
- "color-interpolation-filters",
326
- "color-profile",
327
- "color-rendering",
328
- "dominant-baseline",
329
- "enable-background",
330
- "fill-opacity",
331
- "fill-rule",
332
- "flood-color",
333
- "flood-opacity",
334
- "font-family",
335
- "font-size",
336
- "font-size-adjust",
337
- "font-stretch",
338
- "font-style",
339
- "font-variant",
340
- "font-weight",
341
- "glyph-name",
342
- "glyph-orientation-horizontal",
343
- "glyph-orientation-vertical",
344
- "horiz-adv-x",
345
- "horiz-origin-x",
346
- "image-rendering",
347
- "letter-spacing",
348
- "lighting-color",
349
- "marker-end",
350
- "marker-mid",
351
- "marker-start",
352
- "overline-position",
353
- "overline-thickness",
354
- "paint-order",
355
- "panose-1",
356
- "pointer-events",
357
- "rendering-intent",
358
- "shape-rendering",
359
- "stop-color",
360
- "stop-opacity",
361
- "strikethrough-position",
362
- "strikethrough-thickness",
363
- "stroke-dasharray",
364
- "stroke-dashoffset",
365
- "stroke-linecap",
366
- "stroke-linejoin",
367
- "stroke-miterlimit",
368
- "stroke-opacity",
369
- "stroke-width",
370
- "text-anchor",
371
- "text-decoration",
372
- "text-rendering",
373
- "underline-position",
374
- "underline-thickness",
375
- "unicode-bidi",
376
- "unicode-range",
377
- "units-per-em",
378
- "v-alphabetic",
379
- "v-hanging",
380
- "v-ideographic",
381
- "v-mathematical",
382
- "vector-effect",
383
- "vert-adv-y",
384
- "vert-origin-x",
385
- "vert-origin-y",
386
- "word-spacing",
387
- "writing-mode",
388
- "xmlns:xlink",
389
- "x-height"
390
- // NOTE: if you add a camelCased prop to this list,
391
- // you'll need to set attributeName to name.toLowerCase()
392
- // instead in the assignment below.
393
- ].forEach(function(e) {
394
- var t = e.replace(Ge, Ne);
395
- S[t] = new w(
396
- t,
397
- U,
398
- !1,
399
- // mustUseProperty
400
- e,
401
- null,
402
- // attributeNamespace
403
- !1,
404
- // sanitizeURL
405
- !1
406
- );
407
- }), [
408
- "xlink:actuate",
409
- "xlink:arcrole",
410
- "xlink:role",
411
- "xlink:show",
412
- "xlink:title",
413
- "xlink:type"
414
- // NOTE: if you add a camelCased prop to this list,
415
- // you'll need to set attributeName to name.toLowerCase()
416
- // instead in the assignment below.
417
- ].forEach(function(e) {
418
- var t = e.replace(Ge, Ne);
419
- S[t] = new w(
420
- t,
421
- U,
422
- !1,
423
- // mustUseProperty
424
- e,
425
- "http://www.w3.org/1999/xlink",
426
- !1,
427
- // sanitizeURL
428
- !1
429
- );
430
- }), [
431
- "xml:base",
432
- "xml:lang",
433
- "xml:space"
434
- // NOTE: if you add a camelCased prop to this list,
435
- // you'll need to set attributeName to name.toLowerCase()
436
- // instead in the assignment below.
437
- ].forEach(function(e) {
438
- var t = e.replace(Ge, Ne);
439
- S[t] = new w(
440
- t,
441
- U,
442
- !1,
443
- // mustUseProperty
444
- e,
445
- "http://www.w3.org/XML/1998/namespace",
446
- !1,
447
- // sanitizeURL
448
- !1
449
- );
450
- }), ["tabIndex", "crossOrigin"].forEach(function(e) {
451
- S[e] = new w(
452
- e,
453
- U,
454
- !1,
455
- // mustUseProperty
456
- e.toLowerCase(),
457
- // attributeName
458
- null,
459
- // attributeNamespace
460
- !1,
461
- // sanitizeURL
462
- !1
463
- );
464
- });
465
- var Gn = "xlinkHref";
466
- S[Gn] = new w(
467
- "xlinkHref",
468
- U,
469
- !1,
470
- // mustUseProperty
471
- "xlink:href",
472
- "http://www.w3.org/1999/xlink",
473
- !0,
474
- // sanitizeURL
475
- !1
476
- ), ["src", "href", "action", "formAction"].forEach(function(e) {
477
- S[e] = new w(
478
- e,
479
- U,
480
- !1,
481
- // mustUseProperty
482
- e.toLowerCase(),
483
- // attributeName
484
- null,
485
- // attributeNamespace
486
- !0,
487
- // sanitizeURL
488
- !0
489
- );
490
- });
491
- var de = {
492
- animationIterationCount: !0,
493
- aspectRatio: !0,
494
- borderImageOutset: !0,
495
- borderImageSlice: !0,
496
- borderImageWidth: !0,
497
- boxFlex: !0,
498
- boxFlexGroup: !0,
499
- boxOrdinalGroup: !0,
500
- columnCount: !0,
501
- columns: !0,
502
- flex: !0,
503
- flexGrow: !0,
504
- flexPositive: !0,
505
- flexShrink: !0,
506
- flexNegative: !0,
507
- flexOrder: !0,
508
- gridArea: !0,
509
- gridRow: !0,
510
- gridRowEnd: !0,
511
- gridRowSpan: !0,
512
- gridRowStart: !0,
513
- gridColumn: !0,
514
- gridColumnEnd: !0,
515
- gridColumnSpan: !0,
516
- gridColumnStart: !0,
517
- fontWeight: !0,
518
- lineClamp: !0,
519
- lineHeight: !0,
520
- opacity: !0,
521
- order: !0,
522
- orphans: !0,
523
- tabSize: !0,
524
- widows: !0,
525
- zIndex: !0,
526
- zoom: !0,
527
- // SVG-related properties
528
- fillOpacity: !0,
529
- floodOpacity: !0,
530
- stopOpacity: !0,
531
- strokeDasharray: !0,
532
- strokeDashoffset: !0,
533
- strokeMiterlimit: !0,
534
- strokeOpacity: !0,
535
- strokeWidth: !0
536
- };
537
- function Nn(e, t) {
538
- return e + t.charAt(0).toUpperCase() + t.substring(1);
539
- }
540
- var Vn = ["Webkit", "ms", "Moz", "O"];
541
- Object.keys(de).forEach(function(e) {
542
- Vn.forEach(function(t) {
543
- de[Nn(t, e)] = de[e];
544
- });
545
- });
546
- var Xn = {
547
- button: !0,
548
- checkbox: !0,
549
- image: !0,
550
- hidden: !0,
551
- radio: !0,
552
- reset: !0,
553
- submit: !0
554
- };
555
- function Ve(e, t) {
556
- Xn[t.type] || t.onChange || t.onInput || t.readOnly || t.disabled || t.value == null || s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."), t.onChange || t.readOnly || t.disabled || t.checked == null || s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.");
557
- }
558
- function nr(e, t) {
559
- if (e.indexOf("-") === -1)
560
- return typeof t.is == "string";
561
- switch (e) {
562
- // These are reserved SVG and MathML elements.
563
- // We don't mind this list too much because we expect it to never grow.
564
- // The alternative is to track the namespace in a few places which is convoluted.
565
- // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
566
- case "annotation-xml":
567
- case "color-profile":
568
- case "font-face":
569
- case "font-face-src":
570
- case "font-face-uri":
571
- case "font-face-format":
572
- case "font-face-name":
573
- case "missing-glyph":
574
- return !1;
575
- default:
576
- return !0;
577
- }
578
- }
579
- var or = {
580
- "aria-current": 0,
581
- // state
582
- "aria-description": 0,
583
- "aria-details": 0,
584
- "aria-disabled": 0,
585
- // state
586
- "aria-hidden": 0,
587
- // state
588
- "aria-invalid": 0,
589
- // state
590
- "aria-keyshortcuts": 0,
591
- "aria-label": 0,
592
- "aria-roledescription": 0,
593
- // Widget Attributes
594
- "aria-autocomplete": 0,
595
- "aria-checked": 0,
596
- "aria-expanded": 0,
597
- "aria-haspopup": 0,
598
- "aria-level": 0,
599
- "aria-modal": 0,
600
- "aria-multiline": 0,
601
- "aria-multiselectable": 0,
602
- "aria-orientation": 0,
603
- "aria-placeholder": 0,
604
- "aria-pressed": 0,
605
- "aria-readonly": 0,
606
- "aria-required": 0,
607
- "aria-selected": 0,
608
- "aria-sort": 0,
609
- "aria-valuemax": 0,
610
- "aria-valuemin": 0,
611
- "aria-valuenow": 0,
612
- "aria-valuetext": 0,
613
- // Live Region Attributes
614
- "aria-atomic": 0,
615
- "aria-busy": 0,
616
- "aria-live": 0,
617
- "aria-relevant": 0,
618
- // Drag-and-Drop Attributes
619
- "aria-dropeffect": 0,
620
- "aria-grabbed": 0,
621
- // Relationship Attributes
622
- "aria-activedescendant": 0,
623
- "aria-colcount": 0,
624
- "aria-colindex": 0,
625
- "aria-colspan": 0,
626
- "aria-controls": 0,
627
- "aria-describedby": 0,
628
- "aria-errormessage": 0,
629
- "aria-flowto": 0,
630
- "aria-labelledby": 0,
631
- "aria-owns": 0,
632
- "aria-posinset": 0,
633
- "aria-rowcount": 0,
634
- "aria-rowindex": 0,
635
- "aria-rowspan": 0,
636
- "aria-setsize": 0
637
- }, Y = {}, Zn = new RegExp("^(aria)-[" + ee + "]*$"), Jn = new RegExp("^(aria)[A-Z][" + ee + "]*$");
638
- function Qn(e, t) {
639
- {
640
- if (b.call(Y, t) && Y[t])
641
- return !0;
642
- if (Jn.test(t)) {
643
- var r = "aria-" + t.slice(4).toLowerCase(), n = or.hasOwnProperty(r) ? r : null;
644
- if (n == null)
645
- return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", t), Y[t] = !0, !0;
646
- if (t !== n)
647
- return s("Invalid ARIA attribute `%s`. Did you mean `%s`?", t, n), Y[t] = !0, !0;
648
- }
649
- if (Zn.test(t)) {
650
- var o = t.toLowerCase(), a = or.hasOwnProperty(o) ? o : null;
651
- if (a == null)
652
- return Y[t] = !0, !1;
653
- if (t !== a)
654
- return s("Unknown ARIA attribute `%s`. Did you mean `%s`?", t, a), Y[t] = !0, !0;
655
- }
656
- }
657
- return !0;
658
- }
659
- function Kn(e, t) {
660
- {
661
- var r = [];
662
- for (var n in t) {
663
- var o = Qn(e, n);
664
- o || r.push(n);
665
- }
666
- var a = r.map(function(i) {
667
- return "`" + i + "`";
668
- }).join(", ");
669
- r.length === 1 ? s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", a, e) : r.length > 1 && s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", a, e);
670
- }
671
- }
672
- function qn(e, t) {
673
- nr(e, t) || Kn(e, t);
674
- }
675
- var ar = !1;
676
- function eo(e, t) {
677
- {
678
- if (e !== "input" && e !== "textarea" && e !== "select")
679
- return;
680
- t != null && t.value === null && !ar && (ar = !0, e === "select" && t.multiple ? s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.", e) : s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.", e));
681
- }
682
- }
683
- var ir = {
684
- // HTML
685
- accept: "accept",
686
- acceptcharset: "acceptCharset",
687
- "accept-charset": "acceptCharset",
688
- accesskey: "accessKey",
689
- action: "action",
690
- allowfullscreen: "allowFullScreen",
691
- alt: "alt",
692
- as: "as",
693
- async: "async",
694
- autocapitalize: "autoCapitalize",
695
- autocomplete: "autoComplete",
696
- autocorrect: "autoCorrect",
697
- autofocus: "autoFocus",
698
- autoplay: "autoPlay",
699
- autosave: "autoSave",
700
- capture: "capture",
701
- cellpadding: "cellPadding",
702
- cellspacing: "cellSpacing",
703
- challenge: "challenge",
704
- charset: "charSet",
705
- checked: "checked",
706
- children: "children",
707
- cite: "cite",
708
- class: "className",
709
- classid: "classID",
710
- classname: "className",
711
- cols: "cols",
712
- colspan: "colSpan",
713
- content: "content",
714
- contenteditable: "contentEditable",
715
- contextmenu: "contextMenu",
716
- controls: "controls",
717
- controlslist: "controlsList",
718
- coords: "coords",
719
- crossorigin: "crossOrigin",
720
- dangerouslysetinnerhtml: "dangerouslySetInnerHTML",
721
- data: "data",
722
- datetime: "dateTime",
723
- default: "default",
724
- defaultchecked: "defaultChecked",
725
- defaultvalue: "defaultValue",
726
- defer: "defer",
727
- dir: "dir",
728
- disabled: "disabled",
729
- disablepictureinpicture: "disablePictureInPicture",
730
- disableremoteplayback: "disableRemotePlayback",
731
- download: "download",
732
- draggable: "draggable",
733
- enctype: "encType",
734
- enterkeyhint: "enterKeyHint",
735
- for: "htmlFor",
736
- form: "form",
737
- formmethod: "formMethod",
738
- formaction: "formAction",
739
- formenctype: "formEncType",
740
- formnovalidate: "formNoValidate",
741
- formtarget: "formTarget",
742
- frameborder: "frameBorder",
743
- headers: "headers",
744
- height: "height",
745
- hidden: "hidden",
746
- high: "high",
747
- href: "href",
748
- hreflang: "hrefLang",
749
- htmlfor: "htmlFor",
750
- httpequiv: "httpEquiv",
751
- "http-equiv": "httpEquiv",
752
- icon: "icon",
753
- id: "id",
754
- imagesizes: "imageSizes",
755
- imagesrcset: "imageSrcSet",
756
- innerhtml: "innerHTML",
757
- inputmode: "inputMode",
758
- integrity: "integrity",
759
- is: "is",
760
- itemid: "itemID",
761
- itemprop: "itemProp",
762
- itemref: "itemRef",
763
- itemscope: "itemScope",
764
- itemtype: "itemType",
765
- keyparams: "keyParams",
766
- keytype: "keyType",
767
- kind: "kind",
768
- label: "label",
769
- lang: "lang",
770
- list: "list",
771
- loop: "loop",
772
- low: "low",
773
- manifest: "manifest",
774
- marginwidth: "marginWidth",
775
- marginheight: "marginHeight",
776
- max: "max",
777
- maxlength: "maxLength",
778
- media: "media",
779
- mediagroup: "mediaGroup",
780
- method: "method",
781
- min: "min",
782
- minlength: "minLength",
783
- multiple: "multiple",
784
- muted: "muted",
785
- name: "name",
786
- nomodule: "noModule",
787
- nonce: "nonce",
788
- novalidate: "noValidate",
789
- open: "open",
790
- optimum: "optimum",
791
- pattern: "pattern",
792
- placeholder: "placeholder",
793
- playsinline: "playsInline",
794
- poster: "poster",
795
- preload: "preload",
796
- profile: "profile",
797
- radiogroup: "radioGroup",
798
- readonly: "readOnly",
799
- referrerpolicy: "referrerPolicy",
800
- rel: "rel",
801
- required: "required",
802
- reversed: "reversed",
803
- role: "role",
804
- rows: "rows",
805
- rowspan: "rowSpan",
806
- sandbox: "sandbox",
807
- scope: "scope",
808
- scoped: "scoped",
809
- scrolling: "scrolling",
810
- seamless: "seamless",
811
- selected: "selected",
812
- shape: "shape",
813
- size: "size",
814
- sizes: "sizes",
815
- span: "span",
816
- spellcheck: "spellCheck",
817
- src: "src",
818
- srcdoc: "srcDoc",
819
- srclang: "srcLang",
820
- srcset: "srcSet",
821
- start: "start",
822
- step: "step",
823
- style: "style",
824
- summary: "summary",
825
- tabindex: "tabIndex",
826
- target: "target",
827
- title: "title",
828
- type: "type",
829
- usemap: "useMap",
830
- value: "value",
831
- width: "width",
832
- wmode: "wmode",
833
- wrap: "wrap",
834
- // SVG
835
- about: "about",
836
- accentheight: "accentHeight",
837
- "accent-height": "accentHeight",
838
- accumulate: "accumulate",
839
- additive: "additive",
840
- alignmentbaseline: "alignmentBaseline",
841
- "alignment-baseline": "alignmentBaseline",
842
- allowreorder: "allowReorder",
843
- alphabetic: "alphabetic",
844
- amplitude: "amplitude",
845
- arabicform: "arabicForm",
846
- "arabic-form": "arabicForm",
847
- ascent: "ascent",
848
- attributename: "attributeName",
849
- attributetype: "attributeType",
850
- autoreverse: "autoReverse",
851
- azimuth: "azimuth",
852
- basefrequency: "baseFrequency",
853
- baselineshift: "baselineShift",
854
- "baseline-shift": "baselineShift",
855
- baseprofile: "baseProfile",
856
- bbox: "bbox",
857
- begin: "begin",
858
- bias: "bias",
859
- by: "by",
860
- calcmode: "calcMode",
861
- capheight: "capHeight",
862
- "cap-height": "capHeight",
863
- clip: "clip",
864
- clippath: "clipPath",
865
- "clip-path": "clipPath",
866
- clippathunits: "clipPathUnits",
867
- cliprule: "clipRule",
868
- "clip-rule": "clipRule",
869
- color: "color",
870
- colorinterpolation: "colorInterpolation",
871
- "color-interpolation": "colorInterpolation",
872
- colorinterpolationfilters: "colorInterpolationFilters",
873
- "color-interpolation-filters": "colorInterpolationFilters",
874
- colorprofile: "colorProfile",
875
- "color-profile": "colorProfile",
876
- colorrendering: "colorRendering",
877
- "color-rendering": "colorRendering",
878
- contentscripttype: "contentScriptType",
879
- contentstyletype: "contentStyleType",
880
- cursor: "cursor",
881
- cx: "cx",
882
- cy: "cy",
883
- d: "d",
884
- datatype: "datatype",
885
- decelerate: "decelerate",
886
- descent: "descent",
887
- diffuseconstant: "diffuseConstant",
888
- direction: "direction",
889
- display: "display",
890
- divisor: "divisor",
891
- dominantbaseline: "dominantBaseline",
892
- "dominant-baseline": "dominantBaseline",
893
- dur: "dur",
894
- dx: "dx",
895
- dy: "dy",
896
- edgemode: "edgeMode",
897
- elevation: "elevation",
898
- enablebackground: "enableBackground",
899
- "enable-background": "enableBackground",
900
- end: "end",
901
- exponent: "exponent",
902
- externalresourcesrequired: "externalResourcesRequired",
903
- fill: "fill",
904
- fillopacity: "fillOpacity",
905
- "fill-opacity": "fillOpacity",
906
- fillrule: "fillRule",
907
- "fill-rule": "fillRule",
908
- filter: "filter",
909
- filterres: "filterRes",
910
- filterunits: "filterUnits",
911
- floodopacity: "floodOpacity",
912
- "flood-opacity": "floodOpacity",
913
- floodcolor: "floodColor",
914
- "flood-color": "floodColor",
915
- focusable: "focusable",
916
- fontfamily: "fontFamily",
917
- "font-family": "fontFamily",
918
- fontsize: "fontSize",
919
- "font-size": "fontSize",
920
- fontsizeadjust: "fontSizeAdjust",
921
- "font-size-adjust": "fontSizeAdjust",
922
- fontstretch: "fontStretch",
923
- "font-stretch": "fontStretch",
924
- fontstyle: "fontStyle",
925
- "font-style": "fontStyle",
926
- fontvariant: "fontVariant",
927
- "font-variant": "fontVariant",
928
- fontweight: "fontWeight",
929
- "font-weight": "fontWeight",
930
- format: "format",
931
- from: "from",
932
- fx: "fx",
933
- fy: "fy",
934
- g1: "g1",
935
- g2: "g2",
936
- glyphname: "glyphName",
937
- "glyph-name": "glyphName",
938
- glyphorientationhorizontal: "glyphOrientationHorizontal",
939
- "glyph-orientation-horizontal": "glyphOrientationHorizontal",
940
- glyphorientationvertical: "glyphOrientationVertical",
941
- "glyph-orientation-vertical": "glyphOrientationVertical",
942
- glyphref: "glyphRef",
943
- gradienttransform: "gradientTransform",
944
- gradientunits: "gradientUnits",
945
- hanging: "hanging",
946
- horizadvx: "horizAdvX",
947
- "horiz-adv-x": "horizAdvX",
948
- horizoriginx: "horizOriginX",
949
- "horiz-origin-x": "horizOriginX",
950
- ideographic: "ideographic",
951
- imagerendering: "imageRendering",
952
- "image-rendering": "imageRendering",
953
- in2: "in2",
954
- in: "in",
955
- inlist: "inlist",
956
- intercept: "intercept",
957
- k1: "k1",
958
- k2: "k2",
959
- k3: "k3",
960
- k4: "k4",
961
- k: "k",
962
- kernelmatrix: "kernelMatrix",
963
- kernelunitlength: "kernelUnitLength",
964
- kerning: "kerning",
965
- keypoints: "keyPoints",
966
- keysplines: "keySplines",
967
- keytimes: "keyTimes",
968
- lengthadjust: "lengthAdjust",
969
- letterspacing: "letterSpacing",
970
- "letter-spacing": "letterSpacing",
971
- lightingcolor: "lightingColor",
972
- "lighting-color": "lightingColor",
973
- limitingconeangle: "limitingConeAngle",
974
- local: "local",
975
- markerend: "markerEnd",
976
- "marker-end": "markerEnd",
977
- markerheight: "markerHeight",
978
- markermid: "markerMid",
979
- "marker-mid": "markerMid",
980
- markerstart: "markerStart",
981
- "marker-start": "markerStart",
982
- markerunits: "markerUnits",
983
- markerwidth: "markerWidth",
984
- mask: "mask",
985
- maskcontentunits: "maskContentUnits",
986
- maskunits: "maskUnits",
987
- mathematical: "mathematical",
988
- mode: "mode",
989
- numoctaves: "numOctaves",
990
- offset: "offset",
991
- opacity: "opacity",
992
- operator: "operator",
993
- order: "order",
994
- orient: "orient",
995
- orientation: "orientation",
996
- origin: "origin",
997
- overflow: "overflow",
998
- overlineposition: "overlinePosition",
999
- "overline-position": "overlinePosition",
1000
- overlinethickness: "overlineThickness",
1001
- "overline-thickness": "overlineThickness",
1002
- paintorder: "paintOrder",
1003
- "paint-order": "paintOrder",
1004
- panose1: "panose1",
1005
- "panose-1": "panose1",
1006
- pathlength: "pathLength",
1007
- patterncontentunits: "patternContentUnits",
1008
- patterntransform: "patternTransform",
1009
- patternunits: "patternUnits",
1010
- pointerevents: "pointerEvents",
1011
- "pointer-events": "pointerEvents",
1012
- points: "points",
1013
- pointsatx: "pointsAtX",
1014
- pointsaty: "pointsAtY",
1015
- pointsatz: "pointsAtZ",
1016
- prefix: "prefix",
1017
- preservealpha: "preserveAlpha",
1018
- preserveaspectratio: "preserveAspectRatio",
1019
- primitiveunits: "primitiveUnits",
1020
- property: "property",
1021
- r: "r",
1022
- radius: "radius",
1023
- refx: "refX",
1024
- refy: "refY",
1025
- renderingintent: "renderingIntent",
1026
- "rendering-intent": "renderingIntent",
1027
- repeatcount: "repeatCount",
1028
- repeatdur: "repeatDur",
1029
- requiredextensions: "requiredExtensions",
1030
- requiredfeatures: "requiredFeatures",
1031
- resource: "resource",
1032
- restart: "restart",
1033
- result: "result",
1034
- results: "results",
1035
- rotate: "rotate",
1036
- rx: "rx",
1037
- ry: "ry",
1038
- scale: "scale",
1039
- security: "security",
1040
- seed: "seed",
1041
- shaperendering: "shapeRendering",
1042
- "shape-rendering": "shapeRendering",
1043
- slope: "slope",
1044
- spacing: "spacing",
1045
- specularconstant: "specularConstant",
1046
- specularexponent: "specularExponent",
1047
- speed: "speed",
1048
- spreadmethod: "spreadMethod",
1049
- startoffset: "startOffset",
1050
- stddeviation: "stdDeviation",
1051
- stemh: "stemh",
1052
- stemv: "stemv",
1053
- stitchtiles: "stitchTiles",
1054
- stopcolor: "stopColor",
1055
- "stop-color": "stopColor",
1056
- stopopacity: "stopOpacity",
1057
- "stop-opacity": "stopOpacity",
1058
- strikethroughposition: "strikethroughPosition",
1059
- "strikethrough-position": "strikethroughPosition",
1060
- strikethroughthickness: "strikethroughThickness",
1061
- "strikethrough-thickness": "strikethroughThickness",
1062
- string: "string",
1063
- stroke: "stroke",
1064
- strokedasharray: "strokeDasharray",
1065
- "stroke-dasharray": "strokeDasharray",
1066
- strokedashoffset: "strokeDashoffset",
1067
- "stroke-dashoffset": "strokeDashoffset",
1068
- strokelinecap: "strokeLinecap",
1069
- "stroke-linecap": "strokeLinecap",
1070
- strokelinejoin: "strokeLinejoin",
1071
- "stroke-linejoin": "strokeLinejoin",
1072
- strokemiterlimit: "strokeMiterlimit",
1073
- "stroke-miterlimit": "strokeMiterlimit",
1074
- strokewidth: "strokeWidth",
1075
- "stroke-width": "strokeWidth",
1076
- strokeopacity: "strokeOpacity",
1077
- "stroke-opacity": "strokeOpacity",
1078
- suppresscontenteditablewarning: "suppressContentEditableWarning",
1079
- suppresshydrationwarning: "suppressHydrationWarning",
1080
- surfacescale: "surfaceScale",
1081
- systemlanguage: "systemLanguage",
1082
- tablevalues: "tableValues",
1083
- targetx: "targetX",
1084
- targety: "targetY",
1085
- textanchor: "textAnchor",
1086
- "text-anchor": "textAnchor",
1087
- textdecoration: "textDecoration",
1088
- "text-decoration": "textDecoration",
1089
- textlength: "textLength",
1090
- textrendering: "textRendering",
1091
- "text-rendering": "textRendering",
1092
- to: "to",
1093
- transform: "transform",
1094
- typeof: "typeof",
1095
- u1: "u1",
1096
- u2: "u2",
1097
- underlineposition: "underlinePosition",
1098
- "underline-position": "underlinePosition",
1099
- underlinethickness: "underlineThickness",
1100
- "underline-thickness": "underlineThickness",
1101
- unicode: "unicode",
1102
- unicodebidi: "unicodeBidi",
1103
- "unicode-bidi": "unicodeBidi",
1104
- unicoderange: "unicodeRange",
1105
- "unicode-range": "unicodeRange",
1106
- unitsperem: "unitsPerEm",
1107
- "units-per-em": "unitsPerEm",
1108
- unselectable: "unselectable",
1109
- valphabetic: "vAlphabetic",
1110
- "v-alphabetic": "vAlphabetic",
1111
- values: "values",
1112
- vectoreffect: "vectorEffect",
1113
- "vector-effect": "vectorEffect",
1114
- version: "version",
1115
- vertadvy: "vertAdvY",
1116
- "vert-adv-y": "vertAdvY",
1117
- vertoriginx: "vertOriginX",
1118
- "vert-origin-x": "vertOriginX",
1119
- vertoriginy: "vertOriginY",
1120
- "vert-origin-y": "vertOriginY",
1121
- vhanging: "vHanging",
1122
- "v-hanging": "vHanging",
1123
- videographic: "vIdeographic",
1124
- "v-ideographic": "vIdeographic",
1125
- viewbox: "viewBox",
1126
- viewtarget: "viewTarget",
1127
- visibility: "visibility",
1128
- vmathematical: "vMathematical",
1129
- "v-mathematical": "vMathematical",
1130
- vocab: "vocab",
1131
- widths: "widths",
1132
- wordspacing: "wordSpacing",
1133
- "word-spacing": "wordSpacing",
1134
- writingmode: "writingMode",
1135
- "writing-mode": "writingMode",
1136
- x1: "x1",
1137
- x2: "x2",
1138
- x: "x",
1139
- xchannelselector: "xChannelSelector",
1140
- xheight: "xHeight",
1141
- "x-height": "xHeight",
1142
- xlinkactuate: "xlinkActuate",
1143
- "xlink:actuate": "xlinkActuate",
1144
- xlinkarcrole: "xlinkArcrole",
1145
- "xlink:arcrole": "xlinkArcrole",
1146
- xlinkhref: "xlinkHref",
1147
- "xlink:href": "xlinkHref",
1148
- xlinkrole: "xlinkRole",
1149
- "xlink:role": "xlinkRole",
1150
- xlinkshow: "xlinkShow",
1151
- "xlink:show": "xlinkShow",
1152
- xlinktitle: "xlinkTitle",
1153
- "xlink:title": "xlinkTitle",
1154
- xlinktype: "xlinkType",
1155
- "xlink:type": "xlinkType",
1156
- xmlbase: "xmlBase",
1157
- "xml:base": "xmlBase",
1158
- xmllang: "xmlLang",
1159
- "xml:lang": "xmlLang",
1160
- xmlns: "xmlns",
1161
- "xml:space": "xmlSpace",
1162
- xmlnsxlink: "xmlnsXlink",
1163
- "xmlns:xlink": "xmlnsXlink",
1164
- xmlspace: "xmlSpace",
1165
- y1: "y1",
1166
- y2: "y2",
1167
- y: "y",
1168
- ychannelselector: "yChannelSelector",
1169
- z: "z",
1170
- zoomandpan: "zoomAndPan"
1171
- }, lr = function() {
1172
- };
1173
- {
1174
- var x = {}, sr = /^on./, to = /^on[^A-Z]/, ro = new RegExp("^(aria)-[" + ee + "]*$"), no = new RegExp("^(aria)[A-Z][" + ee + "]*$");
1175
- lr = function(e, t, r, n) {
1176
- if (b.call(x, t) && x[t])
1177
- return !0;
1178
- var o = t.toLowerCase();
1179
- if (o === "onfocusin" || o === "onfocusout")
1180
- return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."), x[t] = !0, !0;
1181
- if (n != null) {
1182
- var a = n.registrationNameDependencies, i = n.possibleRegistrationNames;
1183
- if (a.hasOwnProperty(t))
1184
- return !0;
1185
- var l = i.hasOwnProperty(o) ? i[o] : null;
1186
- if (l != null)
1187
- return s("Invalid event handler property `%s`. Did you mean `%s`?", t, l), x[t] = !0, !0;
1188
- if (sr.test(t))
1189
- return s("Unknown event handler property `%s`. It will be ignored.", t), x[t] = !0, !0;
1190
- } else if (sr.test(t))
1191
- return to.test(t) && s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", t), x[t] = !0, !0;
1192
- if (ro.test(t) || no.test(t))
1193
- return !0;
1194
- if (o === "innerhtml")
1195
- return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."), x[t] = !0, !0;
1196
- if (o === "aria")
1197
- return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."), x[t] = !0, !0;
1198
- if (o === "is" && r !== null && r !== void 0 && typeof r != "string")
1199
- return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof r), x[t] = !0, !0;
1200
- if (typeof r == "number" && isNaN(r))
1201
- return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", t), x[t] = !0, !0;
1202
- var u = rr(t), f = u !== null && u.type === ze;
1203
- if (ir.hasOwnProperty(o)) {
1204
- var d = ir[o];
1205
- if (d !== t)
1206
- return s("Invalid DOM property `%s`. Did you mean `%s`?", t, d), x[t] = !0, !0;
1207
- } else if (!f && t !== o)
1208
- return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", t, o), x[t] = !0, !0;
1209
- return typeof r == "boolean" && tr(t, r, u) ? (r ? s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', r, t, t, r, t) : s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', r, t, t, r, t, t, t), x[t] = !0, !0) : f ? !0 : tr(t, r, u) ? (x[t] = !0, !1) : ((r === "false" || r === "true") && u !== null && u.type === q && (s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", r, t, r === "false" ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', t, r), x[t] = !0), !0);
1210
- };
1211
- }
1212
- var oo = function(e, t, r) {
1213
- {
1214
- var n = [];
1215
- for (var o in t) {
1216
- var a = lr(e, o, t[o], r);
1217
- a || n.push(o);
1218
- }
1219
- var i = n.map(function(l) {
1220
- return "`" + l + "`";
1221
- }).join(", ");
1222
- n.length === 1 ? s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", i, e) : n.length > 1 && s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", i, e);
1223
- }
1224
- };
1225
- function ao(e, t, r) {
1226
- nr(e, t) || oo(e, t, r);
1227
- }
1228
- var ur = function() {
1229
- };
1230
- {
1231
- var io = /^(?:webkit|moz|o)[A-Z]/, lo = /^-ms-/, so = /-(.)/g, cr = /;\s*$/, $ = {}, Xe = {}, fr = !1, dr = !1, uo = function(e) {
1232
- return e.replace(so, function(t, r) {
1233
- return r.toUpperCase();
1234
- });
1235
- }, co = function(e) {
1236
- $.hasOwnProperty(e) && $[e] || ($[e] = !0, s(
1237
- "Unsupported style property %s. Did you mean %s?",
1238
- e,
1239
- // As Andi Smith suggests
1240
- // (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix
1241
- // is converted to lowercase `ms`.
1242
- uo(e.replace(lo, "ms-"))
1243
- ));
1244
- }, fo = function(e) {
1245
- $.hasOwnProperty(e) && $[e] || ($[e] = !0, s("Unsupported vendor-prefixed style property %s. Did you mean %s?", e, e.charAt(0).toUpperCase() + e.slice(1)));
1246
- }, po = function(e, t) {
1247
- Xe.hasOwnProperty(t) && Xe[t] || (Xe[t] = !0, s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, e, t.replace(cr, "")));
1248
- }, ho = function(e, t) {
1249
- fr || (fr = !0, s("`NaN` is an invalid value for the `%s` css style property.", e));
1250
- }, vo = function(e, t) {
1251
- dr || (dr = !0, s("`Infinity` is an invalid value for the `%s` css style property.", e));
1252
- };
1253
- ur = function(e, t) {
1254
- e.indexOf("-") > -1 ? co(e) : io.test(e) ? fo(e) : cr.test(t) && po(e, t), typeof t == "number" && (isNaN(t) ? ho(e, t) : isFinite(t) || vo(e, t));
1255
- };
1256
- }
1257
- var go = ur, mo = /["'&<>]/;
1258
- function yo(e) {
1259
- K(e);
1260
- var t = "" + e, r = mo.exec(t);
1261
- if (!r)
1262
- return t;
1263
- var n, o = "", a, i = 0;
1264
- for (a = r.index; a < t.length; a++) {
1265
- switch (t.charCodeAt(a)) {
1266
- case 34:
1267
- n = "&quot;";
1268
- break;
1269
- case 38:
1270
- n = "&amp;";
1271
- break;
1272
- case 39:
1273
- n = "&#x27;";
1274
- break;
1275
- case 60:
1276
- n = "&lt;";
1277
- break;
1278
- case 62:
1279
- n = "&gt;";
1280
- break;
1281
- default:
1282
- continue;
1283
- }
1284
- i !== a && (o += t.substring(i, a)), i = a + 1, o += n;
1285
- }
1286
- return i !== a ? o + t.substring(i, a) : o;
1287
- }
1288
- function k(e) {
1289
- return typeof e == "boolean" || typeof e == "number" ? "" + e : yo(e);
1290
- }
1291
- var bo = /([A-Z])/g, So = /^ms-/;
1292
- function wo(e) {
1293
- return e.replace(bo, "-$1").toLowerCase().replace(So, "-ms-");
1294
- }
1295
- var xo = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i, pr = !1;
1296
- function ko(e) {
1297
- !pr && xo.test(e) && (pr = !0, s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", JSON.stringify(e)));
1298
- }
1299
- var To = Array.isArray;
1300
- function te(e) {
1301
- return To(e);
1302
- }
1303
- var Co = "<script>";
1304
- function Eo(e, t, r, n, o) {
1305
- var a = e === void 0 ? "" : e, i = Co, l = [];
1306
- return {
1307
- bootstrapChunks: l,
1308
- startInlineScript: i,
1309
- placeholderPrefix: a + "P:",
1310
- segmentPrefix: a + "S:",
1311
- boundaryPrefix: a + "B:",
1312
- idPrefix: a,
1313
- nextSuspenseID: 0,
1314
- sentCompleteSegmentFunction: !1,
1315
- sentCompleteBoundaryFunction: !1,
1316
- sentClientRenderFunction: !1
1317
- };
1318
- }
1319
- var pe = 0, B = 1, he = 2, ve = 3, ge = 4, Ze = 5, Je = 6, Qe = 7;
1320
- function I(e, t) {
1321
- return {
1322
- insertionMode: e,
1323
- selectedValue: t
1324
- };
1325
- }
1326
- function Ro(e, t, r) {
1327
- switch (t) {
1328
- case "select":
1329
- return I(B, r.value != null ? r.value : r.defaultValue);
1330
- case "svg":
1331
- return I(he, null);
1332
- case "math":
1333
- return I(ve, null);
1334
- case "foreignObject":
1335
- return I(B, null);
1336
- // Table parents are special in that their children can only be created at all if they're
1337
- // wrapped in a table parent. So we need to encode that we're entering this mode.
1338
- case "table":
1339
- return I(ge, null);
1340
- case "thead":
1341
- case "tbody":
1342
- case "tfoot":
1343
- return I(Ze, null);
1344
- case "colgroup":
1345
- return I(Qe, null);
1346
- case "tr":
1347
- return I(Je, null);
1348
- }
1349
- return e.insertionMode >= ge || e.insertionMode === pe ? I(B, null) : e;
1350
- }
1351
- var Io = null;
1352
- function Ao(e) {
1353
- var t = e.nextSuspenseID++;
1354
- return e.boundaryPrefix + t.toString(16);
1355
- }
1356
- function Do(e, t, r) {
1357
- var n = e.idPrefix, o = ":" + n + "R" + t;
1358
- return r > 0 && (o += "H" + r.toString(32)), o + ":";
1359
- }
1360
- function Ke(e) {
1361
- return k(e);
1362
- }
1363
- var hr = "<!-- -->";
1364
- function Po(e, t, r, n) {
1365
- return t === "" ? n : (n && e.push(hr), e.push(Ke(t)), !0);
1366
- }
1367
- function Fo(e, t, r, n) {
1368
- r && n && e.push(hr);
1369
- }
1370
- var vr = /* @__PURE__ */ new Map();
1371
- function Mo(e) {
1372
- var t = vr.get(e);
1373
- if (t !== void 0)
1374
- return t;
1375
- var r = k(wo(e));
1376
- return vr.set(e, r), r;
1377
- }
1378
- var Oo = ' style="', gr = ":", _o = ";";
1379
- function mr(e, t, r) {
1380
- if (typeof r != "object")
1381
- throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");
1382
- var n = !0;
1383
- for (var o in r)
1384
- if (b.call(r, o)) {
1385
- var a = r[o];
1386
- if (!(a == null || typeof a == "boolean" || a === "")) {
1387
- var i = void 0, l = void 0, u = o.indexOf("--") === 0;
1388
- u ? (i = k(o), Xt(a, o), l = k(("" + a).trim())) : (go(o, a), i = Mo(o), typeof a == "number" ? a !== 0 && !b.call(de, o) ? l = a + "px" : l = "" + a : (Xt(a, o), l = k(("" + a).trim()))), n ? (n = !1, e.push(Oo, i, gr, l)) : e.push(_o, i, gr, l);
1389
- }
1390
- }
1391
- n || e.push(H);
1392
- }
1393
- var M = " ", G = '="', H = '"', yr = '=""';
1394
- function C(e, t, r, n) {
1395
- switch (r) {
1396
- case "style": {
1397
- mr(e, t, n);
1398
- return;
1399
- }
1400
- case "defaultValue":
1401
- case "defaultChecked":
1402
- // These shouldn't be set as attributes on generic HTML elements.
1403
- case "innerHTML":
1404
- // Must use dangerouslySetInnerHTML instead.
1405
- case "suppressContentEditableWarning":
1406
- case "suppressHydrationWarning":
1407
- return;
1408
- }
1409
- if (
1410
- // shouldIgnoreAttribute
1411
- // We have already filtered out null/undefined and reserved words.
1412
- !(r.length > 2 && (r[0] === "o" || r[0] === "O") && (r[1] === "n" || r[1] === "N"))
1413
- ) {
1414
- var o = rr(r);
1415
- if (o !== null) {
1416
- switch (typeof n) {
1417
- case "function":
1418
- // $FlowIssue symbol is perfectly valid here
1419
- case "symbol":
1420
- return;
1421
- case "boolean":
1422
- if (!o.acceptsBooleans)
1423
- return;
1424
- }
1425
- var a = o.attributeName, i = a;
1426
- switch (o.type) {
1427
- case q:
1428
- n && e.push(M, i, yr);
1429
- return;
1430
- case $e:
1431
- n === !0 ? e.push(M, i, yr) : n === !1 || e.push(M, i, G, k(n), H);
1432
- return;
1433
- case Zt:
1434
- isNaN(n) || e.push(M, i, G, k(n), H);
1435
- break;
1436
- case Jt:
1437
- !isNaN(n) && n >= 1 && e.push(M, i, G, k(n), H);
1438
- break;
1439
- default:
1440
- o.sanitizeURL && (Q(n, a), n = "" + n, ko(n)), e.push(M, i, G, k(n), H);
1441
- }
1442
- } else if (er(r)) {
1443
- switch (typeof n) {
1444
- case "function":
1445
- // $FlowIssue symbol is perfectly valid here
1446
- case "symbol":
1447
- return;
1448
- case "boolean": {
1449
- var l = r.toLowerCase().slice(0, 5);
1450
- if (l !== "data-" && l !== "aria-")
1451
- return;
1452
- }
1453
- }
1454
- e.push(M, r, G, k(n), H);
1455
- }
1456
- }
1457
- }
1458
- var O = ">", br = "/>";
1459
- function me(e, t, r) {
1460
- if (t != null) {
1461
- if (r != null)
1462
- throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");
1463
- if (typeof t != "object" || !("__html" in t))
1464
- throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");
1465
- var n = t.__html;
1466
- n != null && (K(n), e.push("" + n));
1467
- }
1468
- }
1469
- var Sr = !1, wr = !1, xr = !1, kr = !1, Tr = !1, Cr = !1, Er = !1;
1470
- function Rr(e, t) {
1471
- {
1472
- var r = e[t];
1473
- if (r != null) {
1474
- var n = te(r);
1475
- e.multiple && !n ? s("The `%s` prop supplied to <select> must be an array if `multiple` is true.", t) : !e.multiple && n && s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.", t);
1476
- }
1477
- }
1478
- }
1479
- function Lo(e, t, r) {
1480
- Ve("select", t), Rr(t, "value"), Rr(t, "defaultValue"), t.value !== void 0 && t.defaultValue !== void 0 && !xr && (s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"), xr = !0), e.push(A("select"));
1481
- var n = null, o = null;
1482
- for (var a in t)
1483
- if (b.call(t, a)) {
1484
- var i = t[a];
1485
- if (i == null)
1486
- continue;
1487
- switch (a) {
1488
- case "children":
1489
- n = i;
1490
- break;
1491
- case "dangerouslySetInnerHTML":
1492
- o = i;
1493
- break;
1494
- case "defaultValue":
1495
- case "value":
1496
- break;
1497
- default:
1498
- C(e, r, a, i);
1499
- break;
1500
- }
1501
- }
1502
- return e.push(O), me(e, o, n), n;
1503
- }
1504
- function Uo(e) {
1505
- var t = "";
1506
- return Yt.Children.forEach(e, function(r) {
1507
- r != null && (t += r, !Tr && typeof r != "string" && typeof r != "number" && (Tr = !0, s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")));
1508
- }), t;
1509
- }
1510
- var qe = ' selected=""';
1511
- function Bo(e, t, r, n) {
1512
- var o = n.selectedValue;
1513
- e.push(A("option"));
1514
- var a = null, i = null, l = null, u = null;
1515
- for (var f in t)
1516
- if (b.call(t, f)) {
1517
- var d = t[f];
1518
- if (d == null)
1519
- continue;
1520
- switch (f) {
1521
- case "children":
1522
- a = d;
1523
- break;
1524
- case "selected":
1525
- l = d, Er || (s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), Er = !0);
1526
- break;
1527
- case "dangerouslySetInnerHTML":
1528
- u = d;
1529
- break;
1530
- // eslint-disable-next-line-no-fallthrough
1531
- case "value":
1532
- i = d;
1533
- // We intentionally fallthrough to also set the attribute on the node.
1534
- // eslint-disable-next-line-no-fallthrough
1535
- default:
1536
- C(e, r, f, d);
1537
- break;
1538
- }
1539
- }
1540
- if (o != null) {
1541
- var p;
1542
- if (i !== null ? (Q(i, "value"), p = "" + i) : (u !== null && (Cr || (Cr = !0, s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))), p = Uo(a)), te(o))
1543
- for (var g = 0; g < o.length; g++) {
1544
- Q(o[g], "value");
1545
- var y = "" + o[g];
1546
- if (y === p) {
1547
- e.push(qe);
1548
- break;
1549
- }
1550
- }
1551
- else
1552
- Q(o, "select.value"), "" + o === p && e.push(qe);
1553
- } else l && e.push(qe);
1554
- return e.push(O), me(e, u, a), a;
1555
- }
1556
- function Ho(e, t, r) {
1557
- Ve("input", t), t.checked !== void 0 && t.defaultChecked !== void 0 && !wr && (s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", "A component", t.type), wr = !0), t.value !== void 0 && t.defaultValue !== void 0 && !Sr && (s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", "A component", t.type), Sr = !0), e.push(A("input"));
1558
- var n = null, o = null, a = null, i = null;
1559
- for (var l in t)
1560
- if (b.call(t, l)) {
1561
- var u = t[l];
1562
- if (u == null)
1563
- continue;
1564
- switch (l) {
1565
- case "children":
1566
- case "dangerouslySetInnerHTML":
1567
- throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
1568
- // eslint-disable-next-line-no-fallthrough
1569
- case "defaultChecked":
1570
- i = u;
1571
- break;
1572
- case "defaultValue":
1573
- o = u;
1574
- break;
1575
- case "checked":
1576
- a = u;
1577
- break;
1578
- case "value":
1579
- n = u;
1580
- break;
1581
- default:
1582
- C(e, r, l, u);
1583
- break;
1584
- }
1585
- }
1586
- return a !== null ? C(e, r, "checked", a) : i !== null && C(e, r, "checked", i), n !== null ? C(e, r, "value", n) : o !== null && C(e, r, "value", o), e.push(br), null;
1587
- }
1588
- function Wo(e, t, r) {
1589
- Ve("textarea", t), t.value !== void 0 && t.defaultValue !== void 0 && !kr && (s("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"), kr = !0), e.push(A("textarea"));
1590
- var n = null, o = null, a = null;
1591
- for (var i in t)
1592
- if (b.call(t, i)) {
1593
- var l = t[i];
1594
- if (l == null)
1595
- continue;
1596
- switch (i) {
1597
- case "children":
1598
- a = l;
1599
- break;
1600
- case "value":
1601
- n = l;
1602
- break;
1603
- case "defaultValue":
1604
- o = l;
1605
- break;
1606
- case "dangerouslySetInnerHTML":
1607
- throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");
1608
- // eslint-disable-next-line-no-fallthrough
1609
- default:
1610
- C(e, r, i, l);
1611
- break;
1612
- }
1613
- }
1614
- if (n === null && o !== null && (n = o), e.push(O), a != null) {
1615
- if (s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."), n != null)
1616
- throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");
1617
- if (te(a)) {
1618
- if (a.length > 1)
1619
- throw new Error("<textarea> can only have at most one child.");
1620
- K(a[0]), n = "" + a[0];
1621
- }
1622
- K(a), n = "" + a;
1623
- }
1624
- return typeof n == "string" && n[0] === `
1625
- ` && e.push(tt), n !== null && (Q(n, "value"), e.push(Ke("" + n))), null;
1626
- }
1627
- function jo(e, t, r, n) {
1628
- e.push(A(r));
1629
- for (var o in t)
1630
- if (b.call(t, o)) {
1631
- var a = t[o];
1632
- if (a == null)
1633
- continue;
1634
- switch (o) {
1635
- case "children":
1636
- case "dangerouslySetInnerHTML":
1637
- throw new Error(r + " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
1638
- // eslint-disable-next-line-no-fallthrough
1639
- default:
1640
- C(e, n, o, a);
1641
- break;
1642
- }
1643
- }
1644
- return e.push(br), null;
1645
- }
1646
- function zo(e, t, r) {
1647
- e.push(A("menuitem"));
1648
- for (var n in t)
1649
- if (b.call(t, n)) {
1650
- var o = t[n];
1651
- if (o == null)
1652
- continue;
1653
- switch (n) {
1654
- case "children":
1655
- case "dangerouslySetInnerHTML":
1656
- throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");
1657
- // eslint-disable-next-line-no-fallthrough
1658
- default:
1659
- C(e, r, n, o);
1660
- break;
1661
- }
1662
- }
1663
- return e.push(O), null;
1664
- }
1665
- function Yo(e, t, r) {
1666
- e.push(A("title"));
1667
- var n = null;
1668
- for (var o in t)
1669
- if (b.call(t, o)) {
1670
- var a = t[o];
1671
- if (a == null)
1672
- continue;
1673
- switch (o) {
1674
- case "children":
1675
- n = a;
1676
- break;
1677
- case "dangerouslySetInnerHTML":
1678
- throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");
1679
- // eslint-disable-next-line-no-fallthrough
1680
- default:
1681
- C(e, r, o, a);
1682
- break;
1683
- }
1684
- }
1685
- e.push(O);
1686
- {
1687
- var i = Array.isArray(n) && n.length < 2 ? n[0] || null : n;
1688
- Array.isArray(n) && n.length > 1 ? s("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering") : i != null && i.$$typeof != null ? s("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering") : i != null && typeof i != "string" && typeof i != "number" && s("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering");
1689
- }
1690
- return n;
1691
- }
1692
- function et(e, t, r, n) {
1693
- e.push(A(r));
1694
- var o = null, a = null;
1695
- for (var i in t)
1696
- if (b.call(t, i)) {
1697
- var l = t[i];
1698
- if (l == null)
1699
- continue;
1700
- switch (i) {
1701
- case "children":
1702
- o = l;
1703
- break;
1704
- case "dangerouslySetInnerHTML":
1705
- a = l;
1706
- break;
1707
- default:
1708
- C(e, n, i, l);
1709
- break;
1710
- }
1711
- }
1712
- return e.push(O), me(e, a, o), typeof o == "string" ? (e.push(Ke(o)), null) : o;
1713
- }
1714
- function $o(e, t, r, n) {
1715
- e.push(A(r));
1716
- var o = null, a = null;
1717
- for (var i in t)
1718
- if (b.call(t, i)) {
1719
- var l = t[i];
1720
- if (l == null)
1721
- continue;
1722
- switch (i) {
1723
- case "children":
1724
- o = l;
1725
- break;
1726
- case "dangerouslySetInnerHTML":
1727
- a = l;
1728
- break;
1729
- case "style":
1730
- mr(e, n, l);
1731
- break;
1732
- case "suppressContentEditableWarning":
1733
- case "suppressHydrationWarning":
1734
- break;
1735
- default:
1736
- er(i) && typeof l != "function" && typeof l != "symbol" && e.push(M, i, G, k(l), H);
1737
- break;
1738
- }
1739
- }
1740
- return e.push(O), me(e, a, o), o;
1741
- }
1742
- var tt = `
1743
- `;
1744
- function Go(e, t, r, n) {
1745
- e.push(A(r));
1746
- var o = null, a = null;
1747
- for (var i in t)
1748
- if (b.call(t, i)) {
1749
- var l = t[i];
1750
- if (l == null)
1751
- continue;
1752
- switch (i) {
1753
- case "children":
1754
- o = l;
1755
- break;
1756
- case "dangerouslySetInnerHTML":
1757
- a = l;
1758
- break;
1759
- default:
1760
- C(e, n, i, l);
1761
- break;
1762
- }
1763
- }
1764
- if (e.push(O), a != null) {
1765
- if (o != null)
1766
- throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");
1767
- if (typeof a != "object" || !("__html" in a))
1768
- throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");
1769
- var u = a.__html;
1770
- u != null && (typeof u == "string" && u.length > 0 && u[0] === `
1771
- ` ? e.push(tt, u) : (K(u), e.push("" + u)));
1772
- }
1773
- return typeof o == "string" && o[0] === `
1774
- ` && e.push(tt), o;
1775
- }
1776
- var No = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, Ir = /* @__PURE__ */ new Map();
1777
- function A(e) {
1778
- var t = Ir.get(e);
1779
- if (t === void 0) {
1780
- if (!No.test(e))
1781
- throw new Error("Invalid tag: " + e);
1782
- t = "<" + e, Ir.set(e, t);
1783
- }
1784
- return t;
1785
- }
1786
- var Vo = "<!DOCTYPE html>";
1787
- function Xo(e, t, r, n, o) {
1788
- switch (qn(t, r), eo(t, r), ao(t, r, null), !r.suppressContentEditableWarning && r.contentEditable && r.children != null && s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."), o.insertionMode !== he && o.insertionMode !== ve && t.indexOf("-") === -1 && typeof r.is != "string" && t.toLowerCase() !== t && s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.", t), t) {
1789
- // Special tags
1790
- case "select":
1791
- return Lo(e, r, n);
1792
- case "option":
1793
- return Bo(e, r, n, o);
1794
- case "textarea":
1795
- return Wo(e, r, n);
1796
- case "input":
1797
- return Ho(e, r, n);
1798
- case "menuitem":
1799
- return zo(e, r, n);
1800
- case "title":
1801
- return Yo(e, r, n);
1802
- // Newline eating tags
1803
- case "listing":
1804
- case "pre":
1805
- return Go(e, r, t, n);
1806
- // Omitted close tags
1807
- case "area":
1808
- case "base":
1809
- case "br":
1810
- case "col":
1811
- case "embed":
1812
- case "hr":
1813
- case "img":
1814
- case "keygen":
1815
- case "link":
1816
- case "meta":
1817
- case "param":
1818
- case "source":
1819
- case "track":
1820
- case "wbr":
1821
- return jo(e, r, t, n);
1822
- // These are reserved SVG and MathML elements, that are never custom elements.
1823
- // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
1824
- case "annotation-xml":
1825
- case "color-profile":
1826
- case "font-face":
1827
- case "font-face-src":
1828
- case "font-face-uri":
1829
- case "font-face-format":
1830
- case "font-face-name":
1831
- case "missing-glyph":
1832
- return et(e, r, t, n);
1833
- case "html":
1834
- return o.insertionMode === pe && e.push(Vo), et(e, r, t, n);
1835
- default:
1836
- return t.indexOf("-") === -1 && typeof r.is != "string" ? et(e, r, t, n) : $o(e, r, t, n);
1837
- }
1838
- }
1839
- var Zo = "</", Jo = ">";
1840
- function Qo(e, t, r) {
1841
- switch (t) {
1842
- // Omitted close tags
1843
- // TODO: Instead of repeating this switch we could try to pass a flag from above.
1844
- // That would require returning a tuple. Which might be ok if it gets inlined.
1845
- case "area":
1846
- case "base":
1847
- case "br":
1848
- case "col":
1849
- case "embed":
1850
- case "hr":
1851
- case "img":
1852
- case "input":
1853
- case "keygen":
1854
- case "link":
1855
- case "meta":
1856
- case "param":
1857
- case "source":
1858
- case "track":
1859
- case "wbr":
1860
- break;
1861
- default:
1862
- e.push(Zo, t, Jo);
1863
- }
1864
- }
1865
- function Ko(e, t) {
1866
- for (var r = t.bootstrapChunks, n = 0; n < r.length - 1; n++)
1867
- c(e, r[n]);
1868
- return n < r.length ? h(e, r[n]) : !0;
1869
- }
1870
- var qo = '<template id="', ea = '"></template>';
1871
- function ta(e, t, r) {
1872
- c(e, qo), c(e, t.placeholderPrefix);
1873
- var n = r.toString(16);
1874
- return c(e, n), h(e, ea);
1875
- }
1876
- var ra = "<!--$-->", na = '<!--$?--><template id="', oa = '"></template>', aa = "<!--$!-->", rt = "<!--/$-->", ia = "<template", nt = '"', la = ' data-dgst="', sa = ' data-msg="', ua = ' data-stck="', ca = "></template>";
1877
- function fa(e, t) {
1878
- return h(e, ra);
1879
- }
1880
- function Ar(e, t, r) {
1881
- if (c(e, na), r === null)
1882
- throw new Error("An ID must have been assigned before we can complete the boundary.");
1883
- return c(e, r), h(e, oa);
1884
- }
1885
- function da(e, t, r, n, o) {
1886
- var a;
1887
- return a = h(e, aa), c(e, ia), r && (c(e, la), c(e, k(r)), c(e, nt)), n && (c(e, sa), c(e, k(n)), c(e, nt)), o && (c(e, ua), c(e, k(o)), c(e, nt)), a = h(e, ca), a;
1888
- }
1889
- function pa(e, t) {
1890
- return h(e, rt);
1891
- }
1892
- function Dr(e, t) {
1893
- return h(e, rt);
1894
- }
1895
- function ha(e, t) {
1896
- return h(e, rt);
1897
- }
1898
- var va = '<div hidden id="', ga = '">', ma = "</div>", ya = '<svg aria-hidden="true" style="display:none" id="', ba = '">', Sa = "</svg>", wa = '<math aria-hidden="true" style="display:none" id="', xa = '">', ka = "</math>", Ta = '<table hidden id="', Ca = '">', Ea = "</table>", Ra = '<table hidden><tbody id="', Ia = '">', Aa = "</tbody></table>", Da = '<table hidden><tr id="', Pa = '">', Fa = "</tr></table>", Ma = '<table hidden><colgroup id="', Oa = '">', _a = "</colgroup></table>";
1899
- function La(e, t, r, n) {
1900
- switch (r.insertionMode) {
1901
- case pe:
1902
- case B:
1903
- return c(e, va), c(e, t.segmentPrefix), c(e, n.toString(16)), h(e, ga);
1904
- case he:
1905
- return c(e, ya), c(e, t.segmentPrefix), c(e, n.toString(16)), h(e, ba);
1906
- case ve:
1907
- return c(e, wa), c(e, t.segmentPrefix), c(e, n.toString(16)), h(e, xa);
1908
- case ge:
1909
- return c(e, Ta), c(e, t.segmentPrefix), c(e, n.toString(16)), h(e, Ca);
1910
- // TODO: For the rest of these, there will be extra wrapper nodes that never
1911
- // get deleted from the document. We need to delete the table too as part
1912
- // of the injected scripts. They are invisible though so it's not too terrible
1913
- // and it's kind of an edge case to suspend in a table. Totally supported though.
1914
- case Ze:
1915
- return c(e, Ra), c(e, t.segmentPrefix), c(e, n.toString(16)), h(e, Ia);
1916
- case Je:
1917
- return c(e, Da), c(e, t.segmentPrefix), c(e, n.toString(16)), h(e, Pa);
1918
- case Qe:
1919
- return c(e, Ma), c(e, t.segmentPrefix), c(e, n.toString(16)), h(e, Oa);
1920
- default:
1921
- throw new Error("Unknown insertion mode. This is a bug in React.");
1922
- }
1923
- }
1924
- function Ua(e, t) {
1925
- switch (t.insertionMode) {
1926
- case pe:
1927
- case B:
1928
- return h(e, ma);
1929
- case he:
1930
- return h(e, Sa);
1931
- case ve:
1932
- return h(e, ka);
1933
- case ge:
1934
- return h(e, Ea);
1935
- case Ze:
1936
- return h(e, Aa);
1937
- case Je:
1938
- return h(e, Fa);
1939
- case Qe:
1940
- return h(e, _a);
1941
- default:
1942
- throw new Error("Unknown insertion mode. This is a bug in React.");
1943
- }
1944
- }
1945
- var Ba = "function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}", Ha = 'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}', Wa = 'function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}', ja = Ba + ';$RS("', za = '$RS("', Ya = '","', $a = '")<\/script>';
1946
- function Ga(e, t, r) {
1947
- c(e, t.startInlineScript), t.sentCompleteSegmentFunction ? c(e, za) : (t.sentCompleteSegmentFunction = !0, c(e, ja)), c(e, t.segmentPrefix);
1948
- var n = r.toString(16);
1949
- return c(e, n), c(e, Ya), c(e, t.placeholderPrefix), c(e, n), h(e, $a);
1950
- }
1951
- var Na = Ha + ';$RC("', Va = '$RC("', Xa = '","', Za = '")<\/script>';
1952
- function Ja(e, t, r, n) {
1953
- if (c(e, t.startInlineScript), t.sentCompleteBoundaryFunction ? c(e, Va) : (t.sentCompleteBoundaryFunction = !0, c(e, Na)), r === null)
1954
- throw new Error("An ID must have been assigned before we can complete the boundary.");
1955
- var o = n.toString(16);
1956
- return c(e, r), c(e, Xa), c(e, t.segmentPrefix), c(e, o), h(e, Za);
1957
- }
1958
- var Qa = Wa + ';$RX("', Ka = '$RX("', qa = '"', ei = ")<\/script>", ot = ",";
1959
- function ti(e, t, r, n, o, a) {
1960
- if (c(e, t.startInlineScript), t.sentClientRenderFunction ? c(e, Ka) : (t.sentClientRenderFunction = !0, c(e, Qa)), r === null)
1961
- throw new Error("An ID must have been assigned before we can complete the boundary.");
1962
- return c(e, r), c(e, qa), (n || o || a) && (c(e, ot), c(e, at(n || ""))), (o || a) && (c(e, ot), c(e, at(o || ""))), a && (c(e, ot), c(e, at(a))), h(e, ei);
1963
- }
1964
- var ri = /[<\u2028\u2029]/g;
1965
- function at(e) {
1966
- var t = JSON.stringify(e);
1967
- return t.replace(ri, function(r) {
1968
- switch (r) {
1969
- // santizing breaking out of strings and script tags
1970
- case "<":
1971
- return "\\u003c";
1972
- case "\u2028":
1973
- return "\\u2028";
1974
- case "\u2029":
1975
- return "\\u2029";
1976
- default:
1977
- throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");
1978
- }
1979
- });
1980
- }
1981
- function ni(e, t) {
1982
- var r = Eo(t);
1983
- return {
1984
- // Keep this in sync with ReactDOMServerFormatConfig
1985
- bootstrapChunks: r.bootstrapChunks,
1986
- startInlineScript: r.startInlineScript,
1987
- placeholderPrefix: r.placeholderPrefix,
1988
- segmentPrefix: r.segmentPrefix,
1989
- boundaryPrefix: r.boundaryPrefix,
1990
- idPrefix: r.idPrefix,
1991
- nextSuspenseID: r.nextSuspenseID,
1992
- sentCompleteSegmentFunction: r.sentCompleteSegmentFunction,
1993
- sentCompleteBoundaryFunction: r.sentCompleteBoundaryFunction,
1994
- sentClientRenderFunction: r.sentClientRenderFunction,
1995
- // This is an extra field for the legacy renderer
1996
- generateStaticMarkup: e
1997
- };
1998
- }
1999
- function oi() {
2000
- return {
2001
- insertionMode: B,
2002
- // We skip the root mode because we don't want to emit the DOCTYPE in legacy mode.
2003
- selectedValue: null
2004
- };
2005
- }
2006
- function Pr(e, t, r, n) {
2007
- return r.generateStaticMarkup ? (e.push(k(t)), !1) : Po(e, t, r, n);
2008
- }
2009
- function Fr(e, t, r, n) {
2010
- if (!t.generateStaticMarkup)
2011
- return Fo(e, t, r, n);
2012
- }
2013
- function ai(e, t) {
2014
- return t.generateStaticMarkup ? !0 : fa(e);
2015
- }
2016
- function ii(e, t, r, n, o) {
2017
- return t.generateStaticMarkup ? !0 : da(e, t, r, n, o);
2018
- }
2019
- function li(e, t) {
2020
- return t.generateStaticMarkup ? !0 : pa(e);
2021
- }
2022
- function si(e, t) {
2023
- return t.generateStaticMarkup ? !0 : ha(e);
2024
- }
2025
- var R = Object.assign, ui = Symbol.for("react.element"), Mr = Symbol.for("react.portal"), Or = Symbol.for("react.fragment"), _r = Symbol.for("react.strict_mode"), Lr = Symbol.for("react.profiler"), it = Symbol.for("react.provider"), lt = Symbol.for("react.context"), st = Symbol.for("react.forward_ref"), ut = Symbol.for("react.suspense"), ct = Symbol.for("react.suspense_list"), ft = Symbol.for("react.memo"), ye = Symbol.for("react.lazy"), ci = Symbol.for("react.scope"), fi = Symbol.for("react.debug_trace_mode"), di = Symbol.for("react.legacy_hidden"), pi = Symbol.for("react.default_value"), Ur = Symbol.iterator, hi = "@@iterator";
2026
- function vi(e) {
2027
- if (e === null || typeof e != "object")
2028
- return null;
2029
- var t = Ur && e[Ur] || e[hi];
2030
- return typeof t == "function" ? t : null;
2031
- }
2032
- function gi(e, t, r) {
2033
- var n = e.displayName;
2034
- if (n)
2035
- return n;
2036
- var o = t.displayName || t.name || "";
2037
- return o !== "" ? r + "(" + o + ")" : r;
2038
- }
2039
- function Br(e) {
2040
- return e.displayName || "Context";
2041
- }
2042
- function m(e) {
2043
- if (e == null)
2044
- return null;
2045
- if (typeof e.tag == "number" && s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
2046
- return e.displayName || e.name || null;
2047
- if (typeof e == "string")
2048
- return e;
2049
- switch (e) {
2050
- case Or:
2051
- return "Fragment";
2052
- case Mr:
2053
- return "Portal";
2054
- case Lr:
2055
- return "Profiler";
2056
- case _r:
2057
- return "StrictMode";
2058
- case ut:
2059
- return "Suspense";
2060
- case ct:
2061
- return "SuspenseList";
2062
- }
2063
- if (typeof e == "object")
2064
- switch (e.$$typeof) {
2065
- case lt:
2066
- var t = e;
2067
- return Br(t) + ".Consumer";
2068
- case it:
2069
- var r = e;
2070
- return Br(r._context) + ".Provider";
2071
- case st:
2072
- return gi(e, e.render, "ForwardRef");
2073
- case ft:
2074
- var n = e.displayName || null;
2075
- return n !== null ? n : m(e.type) || "Memo";
2076
- case ye: {
2077
- var o = e, a = o._payload, i = o._init;
2078
- try {
2079
- return m(i(a));
2080
- } catch {
2081
- return null;
2082
- }
2083
- }
2084
- }
2085
- return null;
2086
- }
2087
- var re = 0, Hr, Wr, jr, zr, Yr, $r, Gr;
2088
- function Nr() {
2089
- }
2090
- Nr.__reactDisabledLog = !0;
2091
- function mi() {
2092
- {
2093
- if (re === 0) {
2094
- Hr = console.log, Wr = console.info, jr = console.warn, zr = console.error, Yr = console.group, $r = console.groupCollapsed, Gr = console.groupEnd;
2095
- var e = {
2096
- configurable: !0,
2097
- enumerable: !0,
2098
- value: Nr,
2099
- writable: !0
2100
- };
2101
- Object.defineProperties(console, {
2102
- info: e,
2103
- log: e,
2104
- warn: e,
2105
- error: e,
2106
- group: e,
2107
- groupCollapsed: e,
2108
- groupEnd: e
2109
- });
2110
- }
2111
- re++;
2112
- }
2113
- }
2114
- function yi() {
2115
- {
2116
- if (re--, re === 0) {
2117
- var e = {
2118
- configurable: !0,
2119
- enumerable: !0,
2120
- writable: !0
2121
- };
2122
- Object.defineProperties(console, {
2123
- log: R({}, e, {
2124
- value: Hr
2125
- }),
2126
- info: R({}, e, {
2127
- value: Wr
2128
- }),
2129
- warn: R({}, e, {
2130
- value: jr
2131
- }),
2132
- error: R({}, e, {
2133
- value: zr
2134
- }),
2135
- group: R({}, e, {
2136
- value: Yr
2137
- }),
2138
- groupCollapsed: R({}, e, {
2139
- value: $r
2140
- }),
2141
- groupEnd: R({}, e, {
2142
- value: Gr
2143
- })
2144
- });
2145
- }
2146
- re < 0 && s("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
2147
- }
2148
- }
2149
- var dt = J.ReactCurrentDispatcher, pt;
2150
- function ne(e, t, r) {
2151
- {
2152
- if (pt === void 0)
2153
- try {
2154
- throw Error();
2155
- } catch (o) {
2156
- var n = o.stack.trim().match(/\n( *(at )?)/);
2157
- pt = n && n[1] || "";
2158
- }
2159
- return `
2160
- ` + pt + e;
2161
- }
2162
- }
2163
- var ht = !1, be;
2164
- {
2165
- var bi = typeof WeakMap == "function" ? WeakMap : Map;
2166
- be = new bi();
2167
- }
2168
- function vt(e, t) {
2169
- if (!e || ht)
2170
- return "";
2171
- {
2172
- var r = be.get(e);
2173
- if (r !== void 0)
2174
- return r;
2175
- }
2176
- var n;
2177
- ht = !0;
2178
- var o = Error.prepareStackTrace;
2179
- Error.prepareStackTrace = void 0;
2180
- var a;
2181
- a = dt.current, dt.current = null, mi();
2182
- try {
2183
- if (t) {
2184
- var i = function() {
2185
- throw Error();
2186
- };
2187
- if (Object.defineProperty(i.prototype, "props", {
2188
- set: function() {
2189
- throw Error();
2190
- }
2191
- }), typeof Reflect == "object" && Reflect.construct) {
2192
- try {
2193
- Reflect.construct(i, []);
2194
- } catch (T) {
2195
- n = T;
2196
- }
2197
- Reflect.construct(e, [], i);
2198
- } else {
2199
- try {
2200
- i.call();
2201
- } catch (T) {
2202
- n = T;
2203
- }
2204
- e.call(i.prototype);
2205
- }
2206
- } else {
2207
- try {
2208
- throw Error();
2209
- } catch (T) {
2210
- n = T;
2211
- }
2212
- e();
2213
- }
2214
- } catch (T) {
2215
- if (T && n && typeof T.stack == "string") {
2216
- for (var l = T.stack.split(`
2217
- `), u = n.stack.split(`
2218
- `), f = l.length - 1, d = u.length - 1; f >= 1 && d >= 0 && l[f] !== u[d]; )
2219
- d--;
2220
- for (; f >= 1 && d >= 0; f--, d--)
2221
- if (l[f] !== u[d]) {
2222
- if (f !== 1 || d !== 1)
2223
- do
2224
- if (f--, d--, d < 0 || l[f] !== u[d]) {
2225
- var p = `
2226
- ` + l[f].replace(" at new ", " at ");
2227
- return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && be.set(e, p), p;
2228
- }
2229
- while (f >= 1 && d >= 0);
2230
- break;
2231
- }
2232
- }
2233
- } finally {
2234
- ht = !1, dt.current = a, yi(), Error.prepareStackTrace = o;
2235
- }
2236
- var g = e ? e.displayName || e.name : "", y = g ? ne(g) : "";
2237
- return typeof e == "function" && be.set(e, y), y;
2238
- }
2239
- function Si(e, t, r) {
2240
- return vt(e, !0);
2241
- }
2242
- function Vr(e, t, r) {
2243
- return vt(e, !1);
2244
- }
2245
- function wi(e) {
2246
- var t = e.prototype;
2247
- return !!(t && t.isReactComponent);
2248
- }
2249
- function gt(e, t, r) {
2250
- if (e == null)
2251
- return "";
2252
- if (typeof e == "function")
2253
- return vt(e, wi(e));
2254
- if (typeof e == "string")
2255
- return ne(e);
2256
- switch (e) {
2257
- case ut:
2258
- return ne("Suspense");
2259
- case ct:
2260
- return ne("SuspenseList");
2261
- }
2262
- if (typeof e == "object")
2263
- switch (e.$$typeof) {
2264
- case st:
2265
- return Vr(e.render);
2266
- case ft:
2267
- return gt(e.type, t, r);
2268
- case ye: {
2269
- var n = e, o = n._payload, a = n._init;
2270
- try {
2271
- return gt(a(o), t, r);
2272
- } catch {
2273
- }
2274
- }
2275
- }
2276
- return "";
2277
- }
2278
- var Xr = {}, Zr = J.ReactDebugCurrentFrame;
2279
- function Se(e) {
2280
- if (e) {
2281
- var t = e._owner, r = gt(e.type, e._source, t ? t.type : null);
2282
- Zr.setExtraStackFrame(r);
2283
- } else
2284
- Zr.setExtraStackFrame(null);
2285
- }
2286
- function Jr(e, t, r, n, o) {
2287
- {
2288
- var a = Function.call.bind(b);
2289
- for (var i in e)
2290
- if (a(e, i)) {
2291
- var l = void 0;
2292
- try {
2293
- if (typeof e[i] != "function") {
2294
- var u = Error((n || "React class") + ": " + r + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
2295
- throw u.name = "Invariant Violation", u;
2296
- }
2297
- l = e[i](t, i, n, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
2298
- } catch (f) {
2299
- l = f;
2300
- }
2301
- l && !(l instanceof Error) && (Se(o), s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", r, i, typeof l), Se(null)), l instanceof Error && !(l.message in Xr) && (Xr[l.message] = !0, Se(o), s("Failed %s type: %s", r, l.message), Se(null));
2302
- }
2303
- }
2304
- }
2305
- var mt;
2306
- mt = {};
2307
- var we = {};
2308
- Object.freeze(we);
2309
- function Qr(e, t) {
2310
- {
2311
- var r = e.contextTypes;
2312
- if (!r)
2313
- return we;
2314
- var n = {};
2315
- for (var o in r)
2316
- n[o] = t[o];
2317
- {
2318
- var a = m(e) || "Unknown";
2319
- Jr(r, n, "context", a);
2320
- }
2321
- return n;
2322
- }
2323
- }
2324
- function xi(e, t, r, n) {
2325
- {
2326
- if (typeof e.getChildContext != "function") {
2327
- {
2328
- var o = m(t) || "Unknown";
2329
- mt[o] || (mt[o] = !0, s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.", o, o));
2330
- }
2331
- return r;
2332
- }
2333
- var a = e.getChildContext();
2334
- for (var i in a)
2335
- if (!(i in n))
2336
- throw new Error((m(t) || "Unknown") + '.getChildContext(): key "' + i + '" is not defined in childContextTypes.');
2337
- {
2338
- var l = m(t) || "Unknown";
2339
- Jr(n, a, "child context", l);
2340
- }
2341
- return R({}, r, a);
2342
- }
2343
- }
2344
- var oe;
2345
- oe = {};
2346
- var ki = null, W = null;
2347
- function yt(e) {
2348
- e.context._currentValue2 = e.parentValue;
2349
- }
2350
- function bt(e) {
2351
- e.context._currentValue2 = e.value;
2352
- }
2353
- function xe(e, t) {
2354
- if (e !== t) {
2355
- yt(e);
2356
- var r = e.parent, n = t.parent;
2357
- if (r === null) {
2358
- if (n !== null)
2359
- throw new Error("The stacks must reach the root at the same time. This is a bug in React.");
2360
- } else {
2361
- if (n === null)
2362
- throw new Error("The stacks must reach the root at the same time. This is a bug in React.");
2363
- xe(r, n);
2364
- }
2365
- bt(t);
2366
- }
2367
- }
2368
- function Kr(e) {
2369
- yt(e);
2370
- var t = e.parent;
2371
- t !== null && Kr(t);
2372
- }
2373
- function qr(e) {
2374
- var t = e.parent;
2375
- t !== null && qr(t), bt(e);
2376
- }
2377
- function en(e, t) {
2378
- yt(e);
2379
- var r = e.parent;
2380
- if (r === null)
2381
- throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");
2382
- r.depth === t.depth ? xe(r, t) : en(r, t);
2383
- }
2384
- function tn(e, t) {
2385
- var r = t.parent;
2386
- if (r === null)
2387
- throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");
2388
- e.depth === r.depth ? xe(e, r) : tn(e, r), bt(t);
2389
- }
2390
- function ke(e) {
2391
- var t = W, r = e;
2392
- t !== r && (t === null ? qr(r) : r === null ? Kr(t) : t.depth === r.depth ? xe(t, r) : t.depth > r.depth ? en(t, r) : tn(t, r), W = r);
2393
- }
2394
- function Ti(e, t) {
2395
- var r;
2396
- r = e._currentValue2, e._currentValue2 = t, e._currentRenderer2 !== void 0 && e._currentRenderer2 !== null && e._currentRenderer2 !== oe && s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), e._currentRenderer2 = oe;
2397
- var n = W, o = {
2398
- parent: n,
2399
- depth: n === null ? 0 : n.depth + 1,
2400
- context: e,
2401
- parentValue: r,
2402
- value: t
2403
- };
2404
- return W = o, o;
2405
- }
2406
- function Ci(e) {
2407
- var t = W;
2408
- if (t === null)
2409
- throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");
2410
- t.context !== e && s("The parent context is not the expected context. This is probably a bug in React.");
2411
- {
2412
- var r = t.parentValue;
2413
- r === pi ? t.context._currentValue2 = t.context._defaultValue : t.context._currentValue2 = r, e._currentRenderer2 !== void 0 && e._currentRenderer2 !== null && e._currentRenderer2 !== oe && s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), e._currentRenderer2 = oe;
2414
- }
2415
- return W = t.parent;
2416
- }
2417
- function Ei() {
2418
- return W;
2419
- }
2420
- function ae(e) {
2421
- var t = e._currentValue2;
2422
- return t;
2423
- }
2424
- function St(e) {
2425
- return e._reactInternals;
2426
- }
2427
- function Ri(e, t) {
2428
- e._reactInternals = t;
2429
- }
2430
- var rn = {}, nn = {}, wt, xt, kt, Tt, on, Te, Ct, Et, Rt;
2431
- {
2432
- wt = /* @__PURE__ */ new Set(), xt = /* @__PURE__ */ new Set(), kt = /* @__PURE__ */ new Set(), Ct = /* @__PURE__ */ new Set(), Tt = /* @__PURE__ */ new Set(), Et = /* @__PURE__ */ new Set(), Rt = /* @__PURE__ */ new Set();
2433
- var an = /* @__PURE__ */ new Set();
2434
- Te = function(e, t) {
2435
- if (!(e === null || typeof e == "function")) {
2436
- var r = t + "_" + e;
2437
- an.has(r) || (an.add(r), s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", t, e));
2438
- }
2439
- }, on = function(e, t) {
2440
- if (t === void 0) {
2441
- var r = m(e) || "Component";
2442
- Tt.has(r) || (Tt.add(r), s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.", r));
2443
- }
2444
- };
2445
- }
2446
- function ln(e, t) {
2447
- {
2448
- var r = e.constructor, n = r && m(r) || "ReactClass", o = n + "." + t;
2449
- if (rn[o])
2450
- return;
2451
- s(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
2452
-
2453
- Please check the code for the %s component.`, t, t, n), rn[o] = !0;
2454
- }
2455
- }
2456
- var sn = {
2457
- isMounted: function(e) {
2458
- return !1;
2459
- },
2460
- enqueueSetState: function(e, t, r) {
2461
- var n = St(e);
2462
- n.queue === null ? ln(e, "setState") : (n.queue.push(t), r != null && Te(r, "setState"));
2463
- },
2464
- enqueueReplaceState: function(e, t, r) {
2465
- var n = St(e);
2466
- n.replace = !0, n.queue = [t], r != null && Te(r, "setState");
2467
- },
2468
- enqueueForceUpdate: function(e, t) {
2469
- var r = St(e);
2470
- r.queue === null ? ln(e, "forceUpdate") : t != null && Te(t, "setState");
2471
- }
2472
- };
2473
- function Ii(e, t, r, n, o) {
2474
- var a = r(o, n);
2475
- on(t, a);
2476
- var i = a == null ? n : R({}, n, a);
2477
- return i;
2478
- }
2479
- function Ai(e, t, r) {
2480
- var n = we, o = e.contextType;
2481
- if ("contextType" in e) {
2482
- var a = (
2483
- // Allow null for conditional declaration
2484
- o === null || o !== void 0 && o.$$typeof === lt && o._context === void 0
2485
- );
2486
- if (!a && !Rt.has(e)) {
2487
- Rt.add(e);
2488
- var i = "";
2489
- o === void 0 ? i = " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : typeof o != "object" ? i = " However, it is set to a " + typeof o + "." : o.$$typeof === it ? i = " Did you accidentally pass the Context.Provider instead?" : o._context !== void 0 ? i = " Did you accidentally pass the Context.Consumer instead?" : i = " However, it is set to an object with keys {" + Object.keys(o).join(", ") + "}.", s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", m(e) || "Component", i);
2490
- }
2491
- }
2492
- typeof o == "object" && o !== null ? n = ae(o) : n = r;
2493
- var l = new e(t, n);
2494
- {
2495
- if (typeof e.getDerivedStateFromProps == "function" && (l.state === null || l.state === void 0)) {
2496
- var u = m(e) || "Component";
2497
- wt.has(u) || (wt.add(u), s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", u, l.state === null ? "null" : "undefined", u));
2498
- }
2499
- if (typeof e.getDerivedStateFromProps == "function" || typeof l.getSnapshotBeforeUpdate == "function") {
2500
- var f = null, d = null, p = null;
2501
- if (typeof l.componentWillMount == "function" && l.componentWillMount.__suppressDeprecationWarning !== !0 ? f = "componentWillMount" : typeof l.UNSAFE_componentWillMount == "function" && (f = "UNSAFE_componentWillMount"), typeof l.componentWillReceiveProps == "function" && l.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? d = "componentWillReceiveProps" : typeof l.UNSAFE_componentWillReceiveProps == "function" && (d = "UNSAFE_componentWillReceiveProps"), typeof l.componentWillUpdate == "function" && l.componentWillUpdate.__suppressDeprecationWarning !== !0 ? p = "componentWillUpdate" : typeof l.UNSAFE_componentWillUpdate == "function" && (p = "UNSAFE_componentWillUpdate"), f !== null || d !== null || p !== null) {
2502
- var g = m(e) || "Component", y = typeof e.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
2503
- kt.has(g) || (kt.add(g), s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
2504
-
2505
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
2506
-
2507
- The above lifecycles should be removed. Learn more about this warning here:
2508
- https://reactjs.org/link/unsafe-component-lifecycles`, g, y, f !== null ? `
2509
- ` + f : "", d !== null ? `
2510
- ` + d : "", p !== null ? `
2511
- ` + p : ""));
2512
- }
2513
- }
2514
- }
2515
- return l;
2516
- }
2517
- function Di(e, t, r) {
2518
- {
2519
- var n = m(t) || "Component", o = e.render;
2520
- o || (t.prototype && typeof t.prototype.render == "function" ? s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?", n) : s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.", n)), e.getInitialState && !e.getInitialState.isReactClassApproved && !e.state && s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?", n), e.getDefaultProps && !e.getDefaultProps.isReactClassApproved && s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.", n), e.propTypes && s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.", n), e.contextType && s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.", n), e.contextTypes && s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.", n), t.contextType && t.contextTypes && !Et.has(t) && (Et.add(t), s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.", n)), typeof e.componentShouldUpdate == "function" && s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", n), t.prototype && t.prototype.isPureReactComponent && typeof e.shouldComponentUpdate < "u" && s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", m(t) || "A pure component"), typeof e.componentDidUnmount == "function" && s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", n), typeof e.componentDidReceiveProps == "function" && s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", n), typeof e.componentWillRecieveProps == "function" && s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", n), typeof e.UNSAFE_componentWillRecieveProps == "function" && s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", n);
2521
- var a = e.props !== r;
2522
- e.props !== void 0 && a && s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", n, n), e.defaultProps && s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", n, n), typeof e.getSnapshotBeforeUpdate == "function" && typeof e.componentDidUpdate != "function" && !xt.has(t) && (xt.add(t), s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", m(t))), typeof e.getDerivedStateFromProps == "function" && s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", n), typeof e.getDerivedStateFromError == "function" && s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", n), typeof t.getSnapshotBeforeUpdate == "function" && s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", n);
2523
- var i = e.state;
2524
- i && (typeof i != "object" || te(i)) && s("%s.state: must be set to an object or null", n), typeof e.getChildContext == "function" && typeof t.childContextTypes != "object" && s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", n);
2525
- }
2526
- }
2527
- function Pi(e, t) {
2528
- var r = t.state;
2529
- if (typeof t.componentWillMount == "function") {
2530
- if (t.componentWillMount.__suppressDeprecationWarning !== !0) {
2531
- var n = m(e) || "Unknown";
2532
- nn[n] || (zn(
2533
- // keep this warning in sync with ReactStrictModeWarning.js
2534
- `componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
2535
-
2536
- * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
2537
-
2538
- Please update the following components: %s`,
2539
- n
2540
- ), nn[n] = !0);
2541
- }
2542
- t.componentWillMount();
2543
- }
2544
- typeof t.UNSAFE_componentWillMount == "function" && t.UNSAFE_componentWillMount(), r !== t.state && (s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", m(e) || "Component"), sn.enqueueReplaceState(t, t.state, null));
2545
- }
2546
- function Fi(e, t, r, n) {
2547
- if (e.queue !== null && e.queue.length > 0) {
2548
- var o = e.queue, a = e.replace;
2549
- if (e.queue = null, e.replace = !1, a && o.length === 1)
2550
- t.state = o[0];
2551
- else {
2552
- for (var i = a ? o[0] : t.state, l = !0, u = a ? 1 : 0; u < o.length; u++) {
2553
- var f = o[u], d = typeof f == "function" ? f.call(t, i, r, n) : f;
2554
- d != null && (l ? (l = !1, i = R({}, i, d)) : R(i, d));
2555
- }
2556
- t.state = i;
2557
- }
2558
- } else
2559
- e.queue = null;
2560
- }
2561
- function un(e, t, r, n) {
2562
- Di(e, t, r);
2563
- var o = e.state !== void 0 ? e.state : null;
2564
- e.updater = sn, e.props = r, e.state = o;
2565
- var a = {
2566
- queue: [],
2567
- replace: !1
2568
- };
2569
- Ri(e, a);
2570
- var i = t.contextType;
2571
- if (typeof i == "object" && i !== null ? e.context = ae(i) : e.context = n, e.state === r) {
2572
- var l = m(t) || "Component";
2573
- Ct.has(l) || (Ct.add(l), s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", l));
2574
- }
2575
- var u = t.getDerivedStateFromProps;
2576
- typeof u == "function" && (e.state = Ii(e, t, u, o, r)), typeof t.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function") && (Pi(t, e), Fi(a, e, r, n));
2577
- }
2578
- var Mi = {
2579
- id: 1,
2580
- overflow: ""
2581
- };
2582
- function Oi(e) {
2583
- var t = e.overflow, r = e.id, n = r & ~_i(r);
2584
- return n.toString(32) + t;
2585
- }
2586
- function It(e, t, r) {
2587
- var n = e.id, o = e.overflow, a = Ce(n) - 1, i = n & ~(1 << a), l = r + 1, u = Ce(t) + a;
2588
- if (u > 30) {
2589
- var f = a - a % 5, d = (1 << f) - 1, p = (i & d).toString(32), g = i >> f, y = a - f, T = Ce(t) + y, Ue = l << y, Be = Ue | g, He = p + o;
2590
- return {
2591
- id: 1 << T | Be,
2592
- overflow: He
2593
- };
2594
- } else {
2595
- var Z = l << a, Wl = Z | i, jl = o;
2596
- return {
2597
- id: 1 << u | Wl,
2598
- overflow: jl
2599
- };
2600
- }
2601
- }
2602
- function Ce(e) {
2603
- return 32 - Li(e);
2604
- }
2605
- function _i(e) {
2606
- return 1 << Ce(e) - 1;
2607
- }
2608
- var Li = Math.clz32 ? Math.clz32 : Hi, Ui = Math.log, Bi = Math.LN2;
2609
- function Hi(e) {
2610
- var t = e >>> 0;
2611
- return t === 0 ? 32 : 31 - (Ui(t) / Bi | 0) | 0;
2612
- }
2613
- function Wi(e, t) {
2614
- return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
2615
- }
2616
- var ji = typeof Object.is == "function" ? Object.is : Wi, P = null, At = null, Ee = null, v = null, ie = !1, Re = !1, Ie = 0, _ = null, Ae = 0, zi = 25, D = !1, N;
2617
- function j() {
2618
- if (P === null)
2619
- throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
2620
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
2621
- 2. You might be breaking the Rules of Hooks
2622
- 3. You might have more than one copy of React in the same app
2623
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);
2624
- return D && s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"), P;
2625
- }
2626
- function Yi(e, t) {
2627
- if (t === null)
2628
- return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.", N), !1;
2629
- e.length !== t.length && s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
2630
-
2631
- Previous: %s
2632
- Incoming: %s`, N, "[" + e.join(", ") + "]", "[" + t.join(", ") + "]");
2633
- for (var r = 0; r < t.length && r < e.length; r++)
2634
- if (!ji(e[r], t[r]))
2635
- return !1;
2636
- return !0;
2637
- }
2638
- function cn() {
2639
- if (Ae > 0)
2640
- throw new Error("Rendered more hooks than during the previous render");
2641
- return {
2642
- memoizedState: null,
2643
- queue: null,
2644
- next: null
2645
- };
2646
- }
2647
- function Dt() {
2648
- return v === null ? Ee === null ? (ie = !1, Ee = v = cn()) : (ie = !0, v = Ee) : v.next === null ? (ie = !1, v = v.next = cn()) : (ie = !0, v = v.next), v;
2649
- }
2650
- function $i(e, t) {
2651
- P = t, At = e, D = !1, Ie = 0;
2652
- }
2653
- function Gi(e, t, r, n) {
2654
- for (; Re; )
2655
- Re = !1, Ie = 0, Ae += 1, v = null, r = e(t, n);
2656
- return Pt(), r;
2657
- }
2658
- function fn() {
2659
- var e = Ie !== 0;
2660
- return e;
2661
- }
2662
- function Pt() {
2663
- D = !1, P = null, At = null, Re = !1, Ee = null, Ae = 0, _ = null, v = null;
2664
- }
2665
- function Ni(e) {
2666
- return D && s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."), ae(e);
2667
- }
2668
- function Vi(e) {
2669
- return N = "useContext", j(), ae(e);
2670
- }
2671
- function Ft(e, t) {
2672
- return typeof t == "function" ? t(e) : t;
2673
- }
2674
- function Xi(e) {
2675
- return N = "useState", dn(
2676
- Ft,
2677
- // useReducer has a special case to support lazy useState initializers
2678
- e
2679
- );
2680
- }
2681
- function dn(e, t, r) {
2682
- if (e !== Ft && (N = "useReducer"), P = j(), v = Dt(), ie) {
2683
- var n = v.queue, o = n.dispatch;
2684
- if (_ !== null) {
2685
- var a = _.get(n);
2686
- if (a !== void 0) {
2687
- _.delete(n);
2688
- var i = v.memoizedState, l = a;
2689
- do {
2690
- var u = l.action;
2691
- D = !0, i = e(i, u), D = !1, l = l.next;
2692
- } while (l !== null);
2693
- return v.memoizedState = i, [i, o];
2694
- }
2695
- }
2696
- return [v.memoizedState, o];
2697
- } else {
2698
- D = !0;
2699
- var f;
2700
- e === Ft ? f = typeof t == "function" ? t() : t : f = r !== void 0 ? r(t) : t, D = !1, v.memoizedState = f;
2701
- var d = v.queue = {
2702
- last: null,
2703
- dispatch: null
2704
- }, p = d.dispatch = Qi.bind(null, P, d);
2705
- return [v.memoizedState, p];
2706
- }
2707
- }
2708
- function pn(e, t) {
2709
- P = j(), v = Dt();
2710
- var r = t === void 0 ? null : t;
2711
- if (v !== null) {
2712
- var n = v.memoizedState;
2713
- if (n !== null && r !== null) {
2714
- var o = n[1];
2715
- if (Yi(r, o))
2716
- return n[0];
2717
- }
2718
- }
2719
- D = !0;
2720
- var a = e();
2721
- return D = !1, v.memoizedState = [a, r], a;
2722
- }
2723
- function Zi(e) {
2724
- P = j(), v = Dt();
2725
- var t = v.memoizedState;
2726
- if (t === null) {
2727
- var r = {
2728
- current: e
2729
- };
2730
- return Object.seal(r), v.memoizedState = r, r;
2731
- } else
2732
- return t;
2733
- }
2734
- function Ji(e, t) {
2735
- N = "useLayoutEffect", s("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.");
2736
- }
2737
- function Qi(e, t, r) {
2738
- if (Ae >= zi)
2739
- throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");
2740
- if (e === P) {
2741
- Re = !0;
2742
- var n = {
2743
- action: r,
2744
- next: null
2745
- };
2746
- _ === null && (_ = /* @__PURE__ */ new Map());
2747
- var o = _.get(t);
2748
- if (o === void 0)
2749
- _.set(t, n);
2750
- else {
2751
- for (var a = o; a.next !== null; )
2752
- a = a.next;
2753
- a.next = n;
2754
- }
2755
- }
2756
- }
2757
- function Ki(e, t) {
2758
- return pn(function() {
2759
- return e;
2760
- }, t);
2761
- }
2762
- function qi(e, t, r) {
2763
- return j(), t(e._source);
2764
- }
2765
- function el(e, t, r) {
2766
- if (r === void 0)
2767
- throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
2768
- return r();
2769
- }
2770
- function tl(e) {
2771
- return j(), e;
2772
- }
2773
- function rl() {
2774
- throw new Error("startTransition cannot be called during server rendering.");
2775
- }
2776
- function nl() {
2777
- return j(), [!1, rl];
2778
- }
2779
- function ol() {
2780
- var e = At, t = Oi(e.treeContext), r = Mt;
2781
- if (r === null)
2782
- throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");
2783
- var n = Ie++;
2784
- return Do(r, t, n);
2785
- }
2786
- function De() {
2787
- }
2788
- var hn = {
2789
- readContext: Ni,
2790
- useContext: Vi,
2791
- useMemo: pn,
2792
- useReducer: dn,
2793
- useRef: Zi,
2794
- useState: Xi,
2795
- useInsertionEffect: De,
2796
- useLayoutEffect: Ji,
2797
- useCallback: Ki,
2798
- // useImperativeHandle is not run in the server environment
2799
- useImperativeHandle: De,
2800
- // Effects are not run in the server environment.
2801
- useEffect: De,
2802
- // Debugging effect
2803
- useDebugValue: De,
2804
- useDeferredValue: tl,
2805
- useTransition: nl,
2806
- useId: ol,
2807
- // Subscriptions are not setup in a server environment.
2808
- useMutableSource: qi,
2809
- useSyncExternalStore: el
2810
- }, Mt = null;
2811
- function vn(e) {
2812
- Mt = e;
2813
- }
2814
- function al(e) {
2815
- try {
2816
- var t = "", r = e;
2817
- do {
2818
- switch (r.tag) {
2819
- case 0:
2820
- t += ne(r.type, null, null);
2821
- break;
2822
- case 1:
2823
- t += Vr(r.type, null, null);
2824
- break;
2825
- case 2:
2826
- t += Si(r.type, null, null);
2827
- break;
2828
- }
2829
- r = r.parent;
2830
- } while (r);
2831
- return t;
2832
- } catch (n) {
2833
- return `
2834
- Error generating stack: ` + n.message + `
2835
- ` + n.stack;
2836
- }
2837
- }
2838
- var Ot = J.ReactCurrentDispatcher, _t = J.ReactDebugCurrentFrame, Lt = 0, V = 1, gn = 2, mn = 3, yn = 4, il = 0, bn = 1, X = 2, ll = 12800;
2839
- function sl(e) {
2840
- return console.error(e), null;
2841
- }
2842
- function le() {
2843
- }
2844
- function ul(e, t, r, n, o, a, i, l, u) {
2845
- var f = [], d = /* @__PURE__ */ new Set(), p = {
2846
- destination: null,
2847
- responseState: t,
2848
- progressiveChunkSize: n === void 0 ? ll : n,
2849
- status: il,
2850
- fatalError: null,
2851
- nextSegmentId: 0,
2852
- allPendingTasks: 0,
2853
- pendingRootTasks: 0,
2854
- completedRootSegment: null,
2855
- abortableTasks: d,
2856
- pingedTasks: f,
2857
- clientRenderedBoundaries: [],
2858
- completedBoundaries: [],
2859
- partialBoundaries: [],
2860
- onError: o === void 0 ? sl : o,
2861
- onAllReady: le,
2862
- onShellReady: i === void 0 ? le : i,
2863
- onShellError: le,
2864
- onFatalError: le
2865
- }, g = Pe(
2866
- p,
2867
- 0,
2868
- null,
2869
- r,
2870
- // Root segments are never embedded in Text on either edge
2871
- !1,
2872
- !1
2873
- );
2874
- g.parentFlushed = !0;
2875
- var y = Ut(p, e, null, g, d, we, ki, Mi);
2876
- return f.push(y), p;
2877
- }
2878
- function cl(e, t) {
2879
- var r = e.pingedTasks;
2880
- r.push(t), r.length === 1 && Gt(function() {
2881
- return _n(e);
2882
- });
2883
- }
2884
- function fl(e, t) {
2885
- return {
2886
- id: Io,
2887
- rootSegmentID: -1,
2888
- parentFlushed: !1,
2889
- pendingTasks: 0,
2890
- forceClientRender: !1,
2891
- completedSegments: [],
2892
- byteSize: 0,
2893
- fallbackAbortableTasks: t,
2894
- errorDigest: null
2895
- };
2896
- }
2897
- function Ut(e, t, r, n, o, a, i, l) {
2898
- e.allPendingTasks++, r === null ? e.pendingRootTasks++ : r.pendingTasks++;
2899
- var u = {
2900
- node: t,
2901
- ping: function() {
2902
- return cl(e, u);
2903
- },
2904
- blockedBoundary: r,
2905
- blockedSegment: n,
2906
- abortSet: o,
2907
- legacyContext: a,
2908
- context: i,
2909
- treeContext: l
2910
- };
2911
- return u.componentStack = null, o.add(u), u;
2912
- }
2913
- function Pe(e, t, r, n, o, a) {
2914
- return {
2915
- status: Lt,
2916
- id: -1,
2917
- // lazily assigned later
2918
- index: t,
2919
- parentFlushed: !1,
2920
- chunks: [],
2921
- children: [],
2922
- formatContext: n,
2923
- boundary: r,
2924
- lastPushedText: o,
2925
- textEmbedded: a
2926
- };
2927
- }
2928
- var F = null;
2929
- function Bt() {
2930
- return F === null || F.componentStack === null ? "" : al(F.componentStack);
2931
- }
2932
- function se(e, t) {
2933
- e.componentStack = {
2934
- tag: 0,
2935
- parent: e.componentStack,
2936
- type: t
2937
- };
2938
- }
2939
- function Sn(e, t) {
2940
- e.componentStack = {
2941
- tag: 1,
2942
- parent: e.componentStack,
2943
- type: t
2944
- };
2945
- }
2946
- function dl(e, t) {
2947
- e.componentStack = {
2948
- tag: 2,
2949
- parent: e.componentStack,
2950
- type: t
2951
- };
2952
- }
2953
- function L(e) {
2954
- e.componentStack === null ? s("Unexpectedly popped too many stack frames. This is a bug in React.") : e.componentStack = e.componentStack.parent;
2955
- }
2956
- var ue = null;
2957
- function Ht(e, t) {
2958
- {
2959
- var r;
2960
- typeof t == "string" ? r = t : t && typeof t.message == "string" ? r = t.message : r = String(t);
2961
- var n = ue || Bt();
2962
- ue = null, e.errorMessage = r, e.errorComponentStack = n;
2963
- }
2964
- }
2965
- function ce(e, t) {
2966
- var r = e.onError(t);
2967
- if (r != null && typeof r != "string")
2968
- throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + typeof r + '" instead');
2969
- return r;
2970
- }
2971
- function Fe(e, t) {
2972
- var r = e.onShellError;
2973
- r(t);
2974
- var n = e.onFatalError;
2975
- n(t), e.destination !== null ? (e.status = X, Vt(e.destination, t)) : (e.status = bn, e.fatalError = t);
2976
- }
2977
- function pl(e, t, r) {
2978
- se(t, "Suspense");
2979
- var n = t.blockedBoundary, o = t.blockedSegment, a = r.fallback, i = r.children, l = /* @__PURE__ */ new Set(), u = fl(e, l), f = o.chunks.length, d = Pe(
2980
- e,
2981
- f,
2982
- u,
2983
- o.formatContext,
2984
- // boundaries never require text embedding at their edges because comment nodes bound them
2985
- !1,
2986
- !1
2987
- );
2988
- o.children.push(d), o.lastPushedText = !1;
2989
- var p = Pe(
2990
- e,
2991
- 0,
2992
- null,
2993
- o.formatContext,
2994
- // boundaries never require text embedding at their edges because comment nodes bound them
2995
- !1,
2996
- !1
2997
- );
2998
- p.parentFlushed = !0, t.blockedBoundary = u, t.blockedSegment = p;
2999
- try {
3000
- if (jt(e, t, i), Fr(p.chunks, e.responseState, p.lastPushedText, p.textEmbedded), p.status = V, Oe(u, p), u.pendingTasks === 0) {
3001
- L(t);
3002
- return;
3003
- }
3004
- } catch (y) {
3005
- p.status = yn, u.forceClientRender = !0, u.errorDigest = ce(e, y), Ht(u, y);
3006
- } finally {
3007
- t.blockedBoundary = n, t.blockedSegment = o;
3008
- }
3009
- var g = Ut(e, a, n, d, l, t.legacyContext, t.context, t.treeContext);
3010
- g.componentStack = t.componentStack, e.pingedTasks.push(g), L(t);
3011
- }
3012
- function hl(e, t, r, n) {
3013
- se(t, r);
3014
- var o = t.blockedSegment, a = Xo(o.chunks, r, n, e.responseState, o.formatContext);
3015
- o.lastPushedText = !1;
3016
- var i = o.formatContext;
3017
- o.formatContext = Ro(i, r, n), jt(e, t, a), o.formatContext = i, Qo(o.chunks, r), o.lastPushedText = !1, L(t);
3018
- }
3019
- function vl(e) {
3020
- return e.prototype && e.prototype.isReactComponent;
3021
- }
3022
- function wn(e, t, r, n, o) {
3023
- var a = {};
3024
- $i(t, a);
3025
- var i = r(n, o);
3026
- return Gi(r, n, i, o);
3027
- }
3028
- function xn(e, t, r, n, o) {
3029
- var a = r.render();
3030
- r.props !== o && (En || s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", m(n) || "a component"), En = !0);
3031
- {
3032
- var i = n.childContextTypes;
3033
- if (i != null) {
3034
- var l = t.legacyContext, u = xi(r, n, l, i);
3035
- t.legacyContext = u, E(e, t, a), t.legacyContext = l;
3036
- return;
3037
- }
3038
- }
3039
- E(e, t, a);
3040
- }
3041
- function gl(e, t, r, n) {
3042
- dl(t, r);
3043
- var o = Qr(r, t.legacyContext), a = Ai(r, n, o);
3044
- un(a, r, n, o), xn(e, t, a, r, n), L(t);
3045
- }
3046
- var kn = {}, Me = {}, Tn = {}, Cn = {}, En = !1, Rn = {}, In = !1, An = !1, Dn = !1;
3047
- function ml(e, t, r, n) {
3048
- var o;
3049
- if (o = Qr(r, t.legacyContext), Sn(t, r), r.prototype && typeof r.prototype.render == "function") {
3050
- var a = m(r) || "Unknown";
3051
- kn[a] || (s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.", a, a), kn[a] = !0);
3052
- }
3053
- var i = wn(e, t, r, n, o), l = fn();
3054
- if (typeof i == "object" && i !== null && typeof i.render == "function" && i.$$typeof === void 0) {
3055
- var u = m(r) || "Unknown";
3056
- Me[u] || (s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", u, u, u), Me[u] = !0);
3057
- }
3058
- if (
3059
- // Run these checks in production only if the flag is off.
3060
- // Eventually we'll delete this branch altogether.
3061
- typeof i == "object" && i !== null && typeof i.render == "function" && i.$$typeof === void 0
3062
- ) {
3063
- {
3064
- var f = m(r) || "Unknown";
3065
- Me[f] || (s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", f, f, f), Me[f] = !0);
3066
- }
3067
- un(i, r, n, o), xn(e, t, i, r, n);
3068
- } else if (yl(r), l) {
3069
- var d = t.treeContext, p = 1, g = 0;
3070
- t.treeContext = It(d, p, g);
3071
- try {
3072
- E(e, t, i);
3073
- } finally {
3074
- t.treeContext = d;
3075
- }
3076
- } else
3077
- E(e, t, i);
3078
- L(t);
3079
- }
3080
- function yl(e) {
3081
- {
3082
- if (e && e.childContextTypes && s("%s(...): childContextTypes cannot be defined on a function component.", e.displayName || e.name || "Component"), e.defaultProps !== void 0) {
3083
- var t = m(e) || "Unknown";
3084
- Rn[t] || (s("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.", t), Rn[t] = !0);
3085
- }
3086
- if (typeof e.getDerivedStateFromProps == "function") {
3087
- var r = m(e) || "Unknown";
3088
- Cn[r] || (s("%s: Function components do not support getDerivedStateFromProps.", r), Cn[r] = !0);
3089
- }
3090
- if (typeof e.contextType == "object" && e.contextType !== null) {
3091
- var n = m(e) || "Unknown";
3092
- Tn[n] || (s("%s: Function components do not support contextType.", n), Tn[n] = !0);
3093
- }
3094
- }
3095
- }
3096
- function Pn(e, t) {
3097
- if (e && e.defaultProps) {
3098
- var r = R({}, t), n = e.defaultProps;
3099
- for (var o in n)
3100
- r[o] === void 0 && (r[o] = n[o]);
3101
- return r;
3102
- }
3103
- return t;
3104
- }
3105
- function bl(e, t, r, n, o) {
3106
- Sn(t, r.render);
3107
- var a = wn(e, t, r.render, n, o), i = fn();
3108
- if (i) {
3109
- var l = t.treeContext, u = 1, f = 0;
3110
- t.treeContext = It(l, u, f);
3111
- try {
3112
- E(e, t, a);
3113
- } finally {
3114
- t.treeContext = l;
3115
- }
3116
- } else
3117
- E(e, t, a);
3118
- L(t);
3119
- }
3120
- function Sl(e, t, r, n, o) {
3121
- var a = r.type, i = Pn(a, n);
3122
- Wt(e, t, a, i, o);
3123
- }
3124
- function wl(e, t, r, n) {
3125
- r._context === void 0 ? r !== r.Consumer && (Dn || (Dn = !0, s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))) : r = r._context;
3126
- var o = n.children;
3127
- typeof o != "function" && s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");
3128
- var a = ae(r), i = o(a);
3129
- E(e, t, i);
3130
- }
3131
- function xl(e, t, r, n) {
3132
- var o = r._context, a = n.value, i = n.children, l;
3133
- l = t.context, t.context = Ti(o, a), E(e, t, i), t.context = Ci(o), l !== t.context && s("Popping the context provider did not return back to the original snapshot. This is a bug in React.");
3134
- }
3135
- function kl(e, t, r, n, o) {
3136
- se(t, "Lazy");
3137
- var a = r._payload, i = r._init, l = i(a), u = Pn(l, n);
3138
- Wt(e, t, l, u, o), L(t);
3139
- }
3140
- function Wt(e, t, r, n, o) {
3141
- if (typeof r == "function")
3142
- if (vl(r)) {
3143
- gl(e, t, r, n);
3144
- return;
3145
- } else {
3146
- ml(e, t, r, n);
3147
- return;
3148
- }
3149
- if (typeof r == "string") {
3150
- hl(e, t, r, n);
3151
- return;
3152
- }
3153
- switch (r) {
3154
- // TODO: LegacyHidden acts the same as a fragment. This only works
3155
- // because we currently assume that every instance of LegacyHidden is
3156
- // accompanied by a host component wrapper. In the hidden mode, the host
3157
- // component is given a `hidden` attribute, which ensures that the
3158
- // initial HTML is not visible. To support the use of LegacyHidden as a
3159
- // true fragment, without an extra DOM node, we would have to hide the
3160
- // initial HTML in some other way.
3161
- // TODO: Add REACT_OFFSCREEN_TYPE here too with the same capability.
3162
- case di:
3163
- case fi:
3164
- case _r:
3165
- case Lr:
3166
- case Or: {
3167
- E(e, t, n.children);
3168
- return;
3169
- }
3170
- case ct: {
3171
- se(t, "SuspenseList"), E(e, t, n.children), L(t);
3172
- return;
3173
- }
3174
- case ci:
3175
- throw new Error("ReactDOMServer does not yet support scope components.");
3176
- // eslint-disable-next-line-no-fallthrough
3177
- case ut: {
3178
- pl(e, t, n);
3179
- return;
3180
- }
3181
- }
3182
- if (typeof r == "object" && r !== null)
3183
- switch (r.$$typeof) {
3184
- case st: {
3185
- bl(e, t, r, n, o);
3186
- return;
3187
- }
3188
- case ft: {
3189
- Sl(e, t, r, n, o);
3190
- return;
3191
- }
3192
- case it: {
3193
- xl(e, t, r, n);
3194
- return;
3195
- }
3196
- case lt: {
3197
- wl(e, t, r, n);
3198
- return;
3199
- }
3200
- case ye: {
3201
- kl(e, t, r, n);
3202
- return;
3203
- }
3204
- }
3205
- var a = "";
3206
- throw (r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (r == null ? r : typeof r) + "." + a));
3207
- }
3208
- function Tl(e, t) {
3209
- typeof Symbol == "function" && // $FlowFixMe Flow doesn't know about toStringTag
3210
- e[Symbol.toStringTag] === "Generator" && (In || s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."), In = !0), e.entries === t && (An || s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), An = !0);
3211
- }
3212
- function E(e, t, r) {
3213
- try {
3214
- return Cl(e, t, r);
3215
- } catch (n) {
3216
- throw typeof n == "object" && n !== null && typeof n.then == "function" || (ue = ue !== null ? ue : Bt()), n;
3217
- }
3218
- }
3219
- function Cl(e, t, r) {
3220
- if (t.node = r, typeof r == "object" && r !== null) {
3221
- switch (r.$$typeof) {
3222
- case ui: {
3223
- var n = r, o = n.type, a = n.props, i = n.ref;
3224
- Wt(e, t, o, a, i);
3225
- return;
3226
- }
3227
- case Mr:
3228
- throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");
3229
- // eslint-disable-next-line-no-fallthrough
3230
- case ye: {
3231
- var l = r, u = l._payload, f = l._init, d;
3232
- try {
3233
- d = f(u);
3234
- } catch (Z) {
3235
- throw typeof Z == "object" && Z !== null && typeof Z.then == "function" && se(t, "Lazy"), Z;
3236
- }
3237
- E(e, t, d);
3238
- return;
3239
- }
3240
- }
3241
- if (te(r)) {
3242
- Fn(e, t, r);
3243
- return;
3244
- }
3245
- var p = vi(r);
3246
- if (p) {
3247
- Tl(r, p);
3248
- var g = p.call(r);
3249
- if (g) {
3250
- var y = g.next();
3251
- if (!y.done) {
3252
- var T = [];
3253
- do
3254
- T.push(y.value), y = g.next();
3255
- while (!y.done);
3256
- Fn(e, t, T);
3257
- return;
3258
- }
3259
- return;
3260
- }
3261
- }
3262
- var Ue = Object.prototype.toString.call(r);
3263
- throw new Error("Objects are not valid as a React child (found: " + (Ue === "[object Object]" ? "object with keys {" + Object.keys(r).join(", ") + "}" : Ue) + "). If you meant to render a collection of children, use an array instead.");
3264
- }
3265
- if (typeof r == "string") {
3266
- var Be = t.blockedSegment;
3267
- Be.lastPushedText = Pr(t.blockedSegment.chunks, r, e.responseState, Be.lastPushedText);
3268
- return;
3269
- }
3270
- if (typeof r == "number") {
3271
- var He = t.blockedSegment;
3272
- He.lastPushedText = Pr(t.blockedSegment.chunks, "" + r, e.responseState, He.lastPushedText);
3273
- return;
3274
- }
3275
- typeof r == "function" && s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.");
3276
- }
3277
- function Fn(e, t, r) {
3278
- for (var n = r.length, o = 0; o < n; o++) {
3279
- var a = t.treeContext;
3280
- t.treeContext = It(a, n, o);
3281
- try {
3282
- jt(e, t, r[o]);
3283
- } finally {
3284
- t.treeContext = a;
3285
- }
3286
- }
3287
- }
3288
- function El(e, t, r) {
3289
- var n = t.blockedSegment, o = n.chunks.length, a = Pe(
3290
- e,
3291
- o,
3292
- null,
3293
- n.formatContext,
3294
- // Adopt the parent segment's leading text embed
3295
- n.lastPushedText,
3296
- // Assume we are text embedded at the trailing edge
3297
- !0
3298
- );
3299
- n.children.push(a), n.lastPushedText = !1;
3300
- var i = Ut(e, t.node, t.blockedBoundary, a, t.abortSet, t.legacyContext, t.context, t.treeContext);
3301
- t.componentStack !== null && (i.componentStack = t.componentStack.parent);
3302
- var l = i.ping;
3303
- r.then(l, l);
3304
- }
3305
- function jt(e, t, r) {
3306
- var n = t.blockedSegment.formatContext, o = t.legacyContext, a = t.context, i = null;
3307
- i = t.componentStack;
3308
- try {
3309
- return E(e, t, r);
3310
- } catch (l) {
3311
- if (Pt(), typeof l == "object" && l !== null && typeof l.then == "function") {
3312
- El(e, t, l), t.blockedSegment.formatContext = n, t.legacyContext = o, t.context = a, ke(a), t.componentStack = i;
3313
- return;
3314
- } else
3315
- throw t.blockedSegment.formatContext = n, t.legacyContext = o, t.context = a, ke(a), t.componentStack = i, l;
3316
- }
3317
- }
3318
- function Rl(e, t, r, n) {
3319
- var o = ce(e, n);
3320
- if (t === null ? Fe(e, n) : (t.pendingTasks--, t.forceClientRender || (t.forceClientRender = !0, t.errorDigest = o, Ht(t, n), t.parentFlushed && e.clientRenderedBoundaries.push(t))), e.allPendingTasks--, e.allPendingTasks === 0) {
3321
- var a = e.onAllReady;
3322
- a();
3323
- }
3324
- }
3325
- function Il(e) {
3326
- var t = this, r = e.blockedBoundary, n = e.blockedSegment;
3327
- n.status = mn, On(t, r, n);
3328
- }
3329
- function Mn(e, t, r) {
3330
- var n = e.blockedBoundary, o = e.blockedSegment;
3331
- if (o.status = mn, n === null)
3332
- t.allPendingTasks--, t.status !== X && (t.status = X, t.destination !== null && Nt(t.destination));
3333
- else {
3334
- if (n.pendingTasks--, !n.forceClientRender) {
3335
- n.forceClientRender = !0;
3336
- var a = r === void 0 ? new Error("The render was aborted by the server without a reason.") : r;
3337
- n.errorDigest = t.onError(a);
3338
- {
3339
- var i = "The server did not finish this Suspense boundary: ";
3340
- a && typeof a.message == "string" ? a = i + a.message : a = i + String(a);
3341
- var l = F;
3342
- F = e;
3343
- try {
3344
- Ht(n, a);
3345
- } finally {
3346
- F = l;
3347
- }
3348
- }
3349
- n.parentFlushed && t.clientRenderedBoundaries.push(n);
3350
- }
3351
- if (n.fallbackAbortableTasks.forEach(function(f) {
3352
- return Mn(f, t, r);
3353
- }), n.fallbackAbortableTasks.clear(), t.allPendingTasks--, t.allPendingTasks === 0) {
3354
- var u = t.onAllReady;
3355
- u();
3356
- }
3357
- }
3358
- }
3359
- function Oe(e, t) {
3360
- if (t.chunks.length === 0 && t.children.length === 1 && t.children[0].boundary === null) {
3361
- var r = t.children[0];
3362
- r.id = t.id, r.parentFlushed = !0, r.status === V && Oe(e, r);
3363
- } else {
3364
- var n = e.completedSegments;
3365
- n.push(t);
3366
- }
3367
- }
3368
- function On(e, t, r) {
3369
- if (t === null) {
3370
- if (r.parentFlushed) {
3371
- if (e.completedRootSegment !== null)
3372
- throw new Error("There can only be one root segment. This is a bug in React.");
3373
- e.completedRootSegment = r;
3374
- }
3375
- if (e.pendingRootTasks--, e.pendingRootTasks === 0) {
3376
- e.onShellError = le;
3377
- var n = e.onShellReady;
3378
- n();
3379
- }
3380
- } else if (t.pendingTasks--, !t.forceClientRender) {
3381
- if (t.pendingTasks === 0)
3382
- r.parentFlushed && r.status === V && Oe(t, r), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(Il, e), t.fallbackAbortableTasks.clear();
3383
- else if (r.parentFlushed && r.status === V) {
3384
- Oe(t, r);
3385
- var o = t.completedSegments;
3386
- o.length === 1 && t.parentFlushed && e.partialBoundaries.push(t);
3387
- }
3388
- }
3389
- if (e.allPendingTasks--, e.allPendingTasks === 0) {
3390
- var a = e.onAllReady;
3391
- a();
3392
- }
3393
- }
3394
- function Al(e, t) {
3395
- var r = t.blockedSegment;
3396
- if (r.status === Lt) {
3397
- ke(t.context);
3398
- var n = null;
3399
- n = F, F = t;
3400
- try {
3401
- E(e, t, t.node), Fr(r.chunks, e.responseState, r.lastPushedText, r.textEmbedded), t.abortSet.delete(t), r.status = V, On(e, t.blockedBoundary, r);
3402
- } catch (a) {
3403
- if (Pt(), typeof a == "object" && a !== null && typeof a.then == "function") {
3404
- var o = t.ping;
3405
- a.then(o, o);
3406
- } else
3407
- t.abortSet.delete(t), r.status = yn, Rl(e, t.blockedBoundary, r, a);
3408
- } finally {
3409
- F = n;
3410
- }
3411
- }
3412
- }
3413
- function _n(e) {
3414
- if (e.status !== X) {
3415
- var t = Ei(), r = Ot.current;
3416
- Ot.current = hn;
3417
- var n;
3418
- n = _t.getCurrentStack, _t.getCurrentStack = Bt;
3419
- var o = Mt;
3420
- vn(e.responseState);
3421
- try {
3422
- var a = e.pingedTasks, i;
3423
- for (i = 0; i < a.length; i++) {
3424
- var l = a[i];
3425
- Al(e, l);
3426
- }
3427
- a.splice(0, i), e.destination !== null && zt(e, e.destination);
3428
- } catch (u) {
3429
- ce(e, u), Fe(e, u);
3430
- } finally {
3431
- vn(o), Ot.current = r, _t.getCurrentStack = n, r === hn && ke(t);
3432
- }
3433
- }
3434
- }
3435
- function _e(e, t, r) {
3436
- switch (r.parentFlushed = !0, r.status) {
3437
- case Lt: {
3438
- var n = r.id = e.nextSegmentId++;
3439
- return r.lastPushedText = !1, r.textEmbedded = !1, ta(t, e.responseState, n);
3440
- }
3441
- case V: {
3442
- r.status = gn;
3443
- for (var o = !0, a = r.chunks, i = 0, l = r.children, u = 0; u < l.length; u++) {
3444
- for (var f = l[u]; i < f.index; i++)
3445
- c(t, a[i]);
3446
- o = Le(e, t, f);
3447
- }
3448
- for (; i < a.length - 1; i++)
3449
- c(t, a[i]);
3450
- return i < a.length && (o = h(t, a[i])), o;
3451
- }
3452
- default:
3453
- throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.");
3454
- }
3455
- }
3456
- function Le(e, t, r) {
3457
- var n = r.boundary;
3458
- if (n === null)
3459
- return _e(e, t, r);
3460
- if (n.parentFlushed = !0, n.forceClientRender)
3461
- return ii(t, e.responseState, n.errorDigest, n.errorMessage, n.errorComponentStack), _e(e, t, r), si(t, e.responseState);
3462
- if (n.pendingTasks > 0) {
3463
- n.rootSegmentID = e.nextSegmentId++, n.completedSegments.length > 0 && e.partialBoundaries.push(n);
3464
- var o = n.id = Ao(e.responseState);
3465
- return Ar(t, e.responseState, o), _e(e, t, r), Dr(t, e.responseState);
3466
- } else {
3467
- if (n.byteSize > e.progressiveChunkSize)
3468
- return n.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(n), Ar(t, e.responseState, n.id), _e(e, t, r), Dr(t, e.responseState);
3469
- ai(t, e.responseState);
3470
- var a = n.completedSegments;
3471
- if (a.length !== 1)
3472
- throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");
3473
- var i = a[0];
3474
- return Le(e, t, i), li(t, e.responseState);
3475
- }
3476
- }
3477
- function Dl(e, t, r) {
3478
- return ti(t, e.responseState, r.id, r.errorDigest, r.errorMessage, r.errorComponentStack);
3479
- }
3480
- function Ln(e, t, r) {
3481
- return La(t, e.responseState, r.formatContext, r.id), Le(e, t, r), Ua(t, r.formatContext);
3482
- }
3483
- function Un(e, t, r) {
3484
- for (var n = r.completedSegments, o = 0; o < n.length; o++) {
3485
- var a = n[o];
3486
- Bn(e, t, r, a);
3487
- }
3488
- return n.length = 0, Ja(t, e.responseState, r.id, r.rootSegmentID);
3489
- }
3490
- function Pl(e, t, r) {
3491
- for (var n = r.completedSegments, o = 0; o < n.length; o++) {
3492
- var a = n[o];
3493
- if (!Bn(e, t, r, a))
3494
- return o++, n.splice(0, o), !1;
3495
- }
3496
- return n.splice(0, o), !0;
3497
- }
3498
- function Bn(e, t, r, n) {
3499
- if (n.status === gn)
3500
- return !0;
3501
- var o = n.id;
3502
- if (o === -1) {
3503
- var a = n.id = r.rootSegmentID;
3504
- if (a === -1)
3505
- throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");
3506
- return Ln(e, t, n);
3507
- } else
3508
- return Ln(e, t, n), Ga(t, e.responseState, o);
3509
- }
3510
- function zt(e, t) {
3511
- try {
3512
- var r = e.completedRootSegment;
3513
- r !== null && e.pendingRootTasks === 0 && (Le(e, t, r), e.completedRootSegment = null, Ko(t, e.responseState));
3514
- var n = e.clientRenderedBoundaries, o;
3515
- for (o = 0; o < n.length; o++) {
3516
- var a = n[o];
3517
- if (!Dl(e, t, a)) {
3518
- e.destination = null, o++, n.splice(0, o);
3519
- return;
3520
- }
3521
- }
3522
- n.splice(0, o);
3523
- var i = e.completedBoundaries;
3524
- for (o = 0; o < i.length; o++) {
3525
- var l = i[o];
3526
- if (!Un(e, t, l)) {
3527
- e.destination = null, o++, i.splice(0, o);
3528
- return;
3529
- }
3530
- }
3531
- i.splice(0, o);
3532
- var u = e.partialBoundaries;
3533
- for (o = 0; o < u.length; o++) {
3534
- var f = u[o];
3535
- if (!Pl(e, t, f)) {
3536
- e.destination = null, o++, u.splice(0, o);
3537
- return;
3538
- }
3539
- }
3540
- u.splice(0, o);
3541
- var d = e.completedBoundaries;
3542
- for (o = 0; o < d.length; o++) {
3543
- var p = d[o];
3544
- if (!Un(e, t, p)) {
3545
- e.destination = null, o++, d.splice(0, o);
3546
- return;
3547
- }
3548
- }
3549
- d.splice(0, o);
3550
- } finally {
3551
- e.allPendingTasks === 0 && e.pingedTasks.length === 0 && e.clientRenderedBoundaries.length === 0 && e.completedBoundaries.length === 0 && (e.abortableTasks.size !== 0 && s("There was still abortable task at the root when we closed. This is a bug in React."), Nt(t));
3552
- }
3553
- }
3554
- function Fl(e) {
3555
- Gt(function() {
3556
- return _n(e);
3557
- });
3558
- }
3559
- function Ml(e, t) {
3560
- if (e.status === bn) {
3561
- e.status = X, Vt(t, e.fatalError);
3562
- return;
3563
- }
3564
- if (e.status !== X && e.destination === null) {
3565
- e.destination = t;
3566
- try {
3567
- zt(e, t);
3568
- } catch (r) {
3569
- ce(e, r), Fe(e, r);
3570
- }
3571
- }
3572
- }
3573
- function Ol(e, t) {
3574
- try {
3575
- var r = e.abortableTasks;
3576
- r.forEach(function(n) {
3577
- return Mn(n, e, t);
3578
- }), r.clear(), e.destination !== null && zt(e, e.destination);
3579
- } catch (n) {
3580
- ce(e, n), Fe(e, n);
3581
- }
3582
- }
3583
- function _l() {
3584
- }
3585
- function Hn(e, t, r, n) {
3586
- var o = !1, a = null, i = "", l = {
3587
- push: function(p) {
3588
- return p !== null && (i += p), !0;
3589
- },
3590
- destroy: function(p) {
3591
- o = !0, a = p;
3592
- }
3593
- }, u = !1;
3594
- function f() {
3595
- u = !0;
3596
- }
3597
- var d = ul(e, ni(r, t ? t.identifierPrefix : void 0), oi(), 1 / 0, _l, void 0, f);
3598
- if (Fl(d), Ol(d, n), Ml(d, l), o)
3599
- throw a;
3600
- if (!u)
3601
- throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");
3602
- return i;
3603
- }
3604
- function Ll(e, t) {
3605
- return Hn(e, t, !1, 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server');
3606
- }
3607
- function Ul(e, t) {
3608
- return Hn(e, t, !0, 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server');
3609
- }
3610
- function Bl() {
3611
- throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.");
3612
- }
3613
- function Hl() {
3614
- throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.");
3615
- }
3616
- z.renderToNodeStream = Bl, z.renderToStaticMarkup = Ul, z.renderToStaticNodeStream = Hl, z.renderToString = Ll, z.version = jn;
3617
- })(), z);
3618
- }
3619
- export {
3620
- Zl as __require
3621
- };
3622
- //# sourceMappingURL=react-dom-server-legacy.browser.development.js.map