col-browser 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/es/chunks/DatasetlogoWithFallback-B9WXvNCA.js +24 -0
- package/es/chunks/DatasetlogoWithFallback-B9WXvNCA.js.map +1 -0
- package/es/chunks/{Distributions-CXIEJ6e6.js → Distributions-Cwl_75VG.js} +349 -348
- package/es/chunks/{Distributions-CXIEJ6e6.js.map → Distributions-Cwl_75VG.js.map} +1 -1
- package/es/chunks/{MetricsPresentation-U_CO8JoH.js → MetricsPresentation-DKCJQOtf.js} +2 -2
- package/es/chunks/{MetricsPresentation-U_CO8JoH.js.map → MetricsPresentation-DKCJQOtf.js.map} +1 -1
- package/es/chunks/{DatasetlogoWithFallback-CbP7vRs_.js → PresentationItem-C4yZ555-.js} +243 -262
- package/es/chunks/PresentationItem-C4yZ555-.js.map +1 -0
- package/es/chunks/index-BmhRLlZh.js +100 -0
- package/es/chunks/index-BmhRLlZh.js.map +1 -0
- package/es/index.js +1 -1
- package/es/routing.js +1 -1
- package/es/sourceDataset.js +57 -56
- package/es/sourceDataset.js.map +1 -1
- package/es/sourceDatasetList.js +5 -4
- package/es/sourceDatasetList.js.map +1 -1
- package/es/taxon.js +18 -12
- package/es/taxon.js.map +1 -1
- package/es/taxonDistribution.js +1 -1
- package/es/tree.js +60 -57
- package/es/tree.js.map +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +13 -0
- package/umd/col-browser.js +150 -134
- package/umd/col-browser.js.map +1 -1
- package/umd/col-browser.min.js +5 -5
- package/umd/col-browser.min.js.map +1 -1
- package/es/chunks/DatasetlogoWithFallback-CbP7vRs_.js.map +0 -1
- package/es/chunks/index-CNK3JADR.js +0 -95
- package/es/chunks/index-CNK3JADR.js.map +0 -1
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
var $e = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var Y = (r, s, a) =>
|
|
2
|
+
var Le = (r, s, a) => s in r ? $e(r, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[s] = a;
|
|
3
|
+
var Y = (r, s, a) => Le(r, typeof s != "symbol" ? s + "" : s, a);
|
|
4
4
|
import { j as D } from "./jsx-runtime-BzflLqGi.js";
|
|
5
|
-
import * as
|
|
6
|
-
import
|
|
5
|
+
import * as xe from "react";
|
|
6
|
+
import _e from "react";
|
|
7
7
|
import Ce from "react-jss";
|
|
8
|
-
import { Tooltip as
|
|
8
|
+
import { Tooltip as De, Row as We, Col as ve } from "antd";
|
|
9
9
|
import { I as qe } from "./AntdIcon-B1nMlqyh.js";
|
|
10
|
-
|
|
11
|
-
function Ye(r) {
|
|
10
|
+
function ke(r) {
|
|
12
11
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
13
12
|
}
|
|
14
|
-
var
|
|
13
|
+
var Ye = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" } }] }, name: "question-circle", theme: "outlined" };
|
|
15
14
|
function fe() {
|
|
16
15
|
return fe = Object.assign ? Object.assign.bind() : function(r) {
|
|
17
16
|
for (var s = 1; s < arguments.length; s++) {
|
|
@@ -22,12 +21,12 @@ function fe() {
|
|
|
22
21
|
return r;
|
|
23
22
|
}, fe.apply(this, arguments);
|
|
24
23
|
}
|
|
25
|
-
const
|
|
24
|
+
const ze = (r, s) => /* @__PURE__ */ xe.createElement(qe, fe({}, r, {
|
|
26
25
|
ref: s,
|
|
27
|
-
icon:
|
|
28
|
-
})), Ae = /* @__PURE__ */
|
|
26
|
+
icon: Ye
|
|
27
|
+
})), Ae = /* @__PURE__ */ xe.forwardRef(ze);
|
|
29
28
|
process.env.NODE_ENV !== "production" && (Ae.displayName = "QuestionCircleOutlined");
|
|
30
|
-
const
|
|
29
|
+
const Ue = 4, Be = 3, le = 2, Ne = 1, M = class M extends _e.Component {
|
|
31
30
|
// static SMALL_WIDTH = 576;
|
|
32
31
|
constructor(a) {
|
|
33
32
|
super(a);
|
|
@@ -60,10 +59,10 @@ const Be = 4, Fe = 3, le = 2, Ne = 1, M = class M extends pe.Component {
|
|
|
60
59
|
return this.props.children(this.state.width);
|
|
61
60
|
}
|
|
62
61
|
};
|
|
63
|
-
Y(M, "EXTRA_LARGE",
|
|
62
|
+
Y(M, "EXTRA_LARGE", Ue), Y(M, "LARGE", Be), Y(M, "MEDIUM", le), Y(M, "SMALL", Ne), // Like a Bootstrap Grid Layout
|
|
64
63
|
Y(M, "EXTRA_LARGE_WIDTH", 1200), Y(M, "LARGE_WIDTH", 992), Y(M, "MEDIUM_WIDTH", 768);
|
|
65
64
|
let de = M;
|
|
66
|
-
const
|
|
65
|
+
const Fe = () => (r) => {
|
|
67
66
|
class s extends de {
|
|
68
67
|
render() {
|
|
69
68
|
return /* @__PURE__ */ D.jsx(r, { ...this.props, width: this.state.width });
|
|
@@ -71,7 +70,7 @@ const Ge = () => (r) => {
|
|
|
71
70
|
}
|
|
72
71
|
return s;
|
|
73
72
|
};
|
|
74
|
-
var V = { exports: {} }, X = { exports: {} },
|
|
73
|
+
var V = { exports: {} }, X = { exports: {} }, T = {};
|
|
75
74
|
/** @license React v16.13.1
|
|
76
75
|
* react-is.production.min.js
|
|
77
76
|
*
|
|
@@ -80,11 +79,11 @@ var V = { exports: {} }, X = { exports: {} }, g = {};
|
|
|
80
79
|
* This source code is licensed under the MIT license found in the
|
|
81
80
|
* LICENSE file in the root directory of this source tree.
|
|
82
81
|
*/
|
|
83
|
-
var
|
|
84
|
-
function
|
|
85
|
-
if (
|
|
86
|
-
|
|
87
|
-
var r = typeof Symbol == "function" && Symbol.for, s = r ? Symbol.for("react.element") : 60103, a = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107,
|
|
82
|
+
var me;
|
|
83
|
+
function Ge() {
|
|
84
|
+
if (me) return T;
|
|
85
|
+
me = 1;
|
|
86
|
+
var r = typeof Symbol == "function" && Symbol.for, s = r ? Symbol.for("react.element") : 60103, a = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, w = r ? Symbol.for("react.strict_mode") : 60108, u = r ? Symbol.for("react.profiler") : 60114, O = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, P = r ? Symbol.for("react.async_mode") : 60111, S = r ? Symbol.for("react.concurrent_mode") : 60111, v = r ? Symbol.for("react.forward_ref") : 60112, E = r ? Symbol.for("react.suspense") : 60113, _ = r ? Symbol.for("react.suspense_list") : 60120, C = r ? Symbol.for("react.memo") : 60115, L = r ? Symbol.for("react.lazy") : 60116, x = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, W = r ? Symbol.for("react.responder") : 60118, N = r ? Symbol.for("react.scope") : 60119;
|
|
88
87
|
function j(n) {
|
|
89
88
|
if (typeof n == "object" && n !== null) {
|
|
90
89
|
var z = n.$$typeof;
|
|
@@ -92,19 +91,19 @@ function He() {
|
|
|
92
91
|
case s:
|
|
93
92
|
switch (n = n.type, n) {
|
|
94
93
|
case P:
|
|
95
|
-
case
|
|
94
|
+
case S:
|
|
96
95
|
case i:
|
|
97
|
-
case
|
|
98
|
-
case
|
|
96
|
+
case u:
|
|
97
|
+
case w:
|
|
99
98
|
case E:
|
|
100
99
|
return n;
|
|
101
100
|
default:
|
|
102
101
|
switch (n = n && n.$$typeof, n) {
|
|
103
|
-
case
|
|
102
|
+
case l:
|
|
104
103
|
case v:
|
|
105
104
|
case L:
|
|
106
105
|
case C:
|
|
107
|
-
case
|
|
106
|
+
case O:
|
|
108
107
|
return n;
|
|
109
108
|
default:
|
|
110
109
|
return z;
|
|
@@ -116,37 +115,37 @@ function He() {
|
|
|
116
115
|
}
|
|
117
116
|
}
|
|
118
117
|
function A(n) {
|
|
119
|
-
return j(n) ===
|
|
118
|
+
return j(n) === S;
|
|
120
119
|
}
|
|
121
|
-
return
|
|
120
|
+
return T.AsyncMode = P, T.ConcurrentMode = S, T.ContextConsumer = l, T.ContextProvider = O, T.Element = s, T.ForwardRef = v, T.Fragment = i, T.Lazy = L, T.Memo = C, T.Portal = a, T.Profiler = u, T.StrictMode = w, T.Suspense = E, T.isAsyncMode = function(n) {
|
|
122
121
|
return A(n) || j(n) === P;
|
|
123
|
-
},
|
|
124
|
-
return j(n) ===
|
|
125
|
-
},
|
|
126
|
-
return j(n) ===
|
|
127
|
-
},
|
|
122
|
+
}, T.isConcurrentMode = A, T.isContextConsumer = function(n) {
|
|
123
|
+
return j(n) === l;
|
|
124
|
+
}, T.isContextProvider = function(n) {
|
|
125
|
+
return j(n) === O;
|
|
126
|
+
}, T.isElement = function(n) {
|
|
128
127
|
return typeof n == "object" && n !== null && n.$$typeof === s;
|
|
129
|
-
},
|
|
128
|
+
}, T.isForwardRef = function(n) {
|
|
130
129
|
return j(n) === v;
|
|
131
|
-
},
|
|
130
|
+
}, T.isFragment = function(n) {
|
|
132
131
|
return j(n) === i;
|
|
133
|
-
},
|
|
132
|
+
}, T.isLazy = function(n) {
|
|
134
133
|
return j(n) === L;
|
|
135
|
-
},
|
|
134
|
+
}, T.isMemo = function(n) {
|
|
136
135
|
return j(n) === C;
|
|
137
|
-
},
|
|
136
|
+
}, T.isPortal = function(n) {
|
|
138
137
|
return j(n) === a;
|
|
139
|
-
},
|
|
140
|
-
return j(n) ===
|
|
141
|
-
},
|
|
142
|
-
return j(n) ===
|
|
143
|
-
},
|
|
138
|
+
}, T.isProfiler = function(n) {
|
|
139
|
+
return j(n) === u;
|
|
140
|
+
}, T.isStrictMode = function(n) {
|
|
141
|
+
return j(n) === w;
|
|
142
|
+
}, T.isSuspense = function(n) {
|
|
144
143
|
return j(n) === E;
|
|
145
|
-
},
|
|
146
|
-
return typeof n == "string" || typeof n == "function" || n === i || n ===
|
|
147
|
-
},
|
|
144
|
+
}, T.isValidElementType = function(n) {
|
|
145
|
+
return typeof n == "string" || typeof n == "function" || n === i || n === S || n === u || n === w || n === E || n === _ || typeof n == "object" && n !== null && (n.$$typeof === L || n.$$typeof === C || n.$$typeof === O || n.$$typeof === l || n.$$typeof === v || n.$$typeof === I || n.$$typeof === W || n.$$typeof === N || n.$$typeof === x);
|
|
146
|
+
}, T.typeOf = j, T;
|
|
148
147
|
}
|
|
149
|
-
var
|
|
148
|
+
var g = {};
|
|
150
149
|
/** @license React v16.13.1
|
|
151
150
|
* react-is.development.js
|
|
152
151
|
*
|
|
@@ -155,13 +154,13 @@ var R = {};
|
|
|
155
154
|
* This source code is licensed under the MIT license found in the
|
|
156
155
|
* LICENSE file in the root directory of this source tree.
|
|
157
156
|
*/
|
|
158
|
-
var
|
|
159
|
-
function
|
|
160
|
-
return
|
|
161
|
-
var r = typeof Symbol == "function" && Symbol.for, s = r ? Symbol.for("react.element") : 60103, a = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107,
|
|
157
|
+
var he;
|
|
158
|
+
function He() {
|
|
159
|
+
return he || (he = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
160
|
+
var r = typeof Symbol == "function" && Symbol.for, s = r ? Symbol.for("react.element") : 60103, a = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, w = r ? Symbol.for("react.strict_mode") : 60108, u = r ? Symbol.for("react.profiler") : 60114, O = r ? Symbol.for("react.provider") : 60109, l = r ? Symbol.for("react.context") : 60110, P = r ? Symbol.for("react.async_mode") : 60111, S = r ? Symbol.for("react.concurrent_mode") : 60111, v = r ? Symbol.for("react.forward_ref") : 60112, E = r ? Symbol.for("react.suspense") : 60113, _ = r ? Symbol.for("react.suspense_list") : 60120, C = r ? Symbol.for("react.memo") : 60115, L = r ? Symbol.for("react.lazy") : 60116, x = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, W = r ? Symbol.for("react.responder") : 60118, N = r ? Symbol.for("react.scope") : 60119;
|
|
162
161
|
function j(t) {
|
|
163
162
|
return typeof t == "string" || typeof t == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
164
|
-
t === i || t ===
|
|
163
|
+
t === i || t === S || t === u || t === w || t === E || t === _ || typeof t == "object" && t !== null && (t.$$typeof === L || t.$$typeof === C || t.$$typeof === O || t.$$typeof === l || t.$$typeof === v || t.$$typeof === I || t.$$typeof === W || t.$$typeof === N || t.$$typeof === x);
|
|
165
164
|
}
|
|
166
165
|
function A(t) {
|
|
167
166
|
if (typeof t == "object" && t !== null) {
|
|
@@ -171,21 +170,21 @@ function Ve() {
|
|
|
171
170
|
var H = t.type;
|
|
172
171
|
switch (H) {
|
|
173
172
|
case P:
|
|
174
|
-
case
|
|
173
|
+
case S:
|
|
175
174
|
case i:
|
|
176
|
-
case
|
|
177
|
-
case
|
|
175
|
+
case u:
|
|
176
|
+
case w:
|
|
178
177
|
case E:
|
|
179
178
|
return H;
|
|
180
179
|
default:
|
|
181
|
-
var
|
|
182
|
-
switch (
|
|
183
|
-
case
|
|
180
|
+
var ye = H && H.$$typeof;
|
|
181
|
+
switch (ye) {
|
|
182
|
+
case l:
|
|
184
183
|
case v:
|
|
185
184
|
case L:
|
|
186
185
|
case C:
|
|
187
|
-
case
|
|
188
|
-
return
|
|
186
|
+
case O:
|
|
187
|
+
return ye;
|
|
189
188
|
default:
|
|
190
189
|
return k;
|
|
191
190
|
}
|
|
@@ -195,29 +194,29 @@ function Ve() {
|
|
|
195
194
|
}
|
|
196
195
|
}
|
|
197
196
|
}
|
|
198
|
-
var n = P, z =
|
|
197
|
+
var n = P, z = S, J = l, Q = O, K = s, Z = v, F = i, ee = L, re = C, B = a, te = u, q = w, U = E, G = !1;
|
|
199
198
|
function ne(t) {
|
|
200
199
|
return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), e(t) || A(t) === P;
|
|
201
200
|
}
|
|
202
201
|
function e(t) {
|
|
203
|
-
return A(t) ===
|
|
202
|
+
return A(t) === S;
|
|
204
203
|
}
|
|
205
204
|
function o(t) {
|
|
206
|
-
return A(t) ===
|
|
205
|
+
return A(t) === l;
|
|
207
206
|
}
|
|
208
207
|
function y(t) {
|
|
209
|
-
return A(t) ===
|
|
208
|
+
return A(t) === O;
|
|
210
209
|
}
|
|
211
210
|
function d(t) {
|
|
212
211
|
return typeof t == "object" && t !== null && t.$$typeof === s;
|
|
213
212
|
}
|
|
214
|
-
function
|
|
213
|
+
function c(t) {
|
|
215
214
|
return A(t) === v;
|
|
216
215
|
}
|
|
217
216
|
function m(t) {
|
|
218
217
|
return A(t) === i;
|
|
219
218
|
}
|
|
220
|
-
function
|
|
219
|
+
function f(t) {
|
|
221
220
|
return A(t) === L;
|
|
222
221
|
}
|
|
223
222
|
function p(t) {
|
|
@@ -226,154 +225,154 @@ function Ve() {
|
|
|
226
225
|
function h(t) {
|
|
227
226
|
return A(t) === a;
|
|
228
227
|
}
|
|
229
|
-
function
|
|
230
|
-
return A(t) ===
|
|
228
|
+
function R(t) {
|
|
229
|
+
return A(t) === u;
|
|
231
230
|
}
|
|
232
231
|
function b(t) {
|
|
233
|
-
return A(t) ===
|
|
232
|
+
return A(t) === w;
|
|
234
233
|
}
|
|
235
234
|
function $(t) {
|
|
236
235
|
return A(t) === E;
|
|
237
236
|
}
|
|
238
|
-
|
|
239
|
-
})()),
|
|
237
|
+
g.AsyncMode = n, g.ConcurrentMode = z, g.ContextConsumer = J, g.ContextProvider = Q, g.Element = K, g.ForwardRef = Z, g.Fragment = F, g.Lazy = ee, g.Memo = re, g.Portal = B, g.Profiler = te, g.StrictMode = q, g.Suspense = U, g.isAsyncMode = ne, g.isConcurrentMode = e, g.isContextConsumer = o, g.isContextProvider = y, g.isElement = d, g.isForwardRef = c, g.isFragment = m, g.isLazy = f, g.isMemo = p, g.isPortal = h, g.isProfiler = R, g.isStrictMode = b, g.isSuspense = $, g.isValidElementType = j, g.typeOf = A;
|
|
238
|
+
})()), g;
|
|
240
239
|
}
|
|
241
|
-
var
|
|
240
|
+
var be;
|
|
242
241
|
function je() {
|
|
243
|
-
return
|
|
242
|
+
return be || (be = 1, process.env.NODE_ENV === "production" ? X.exports = Ge() : X.exports = He()), X.exports;
|
|
244
243
|
}
|
|
245
244
|
/*
|
|
246
245
|
object-assign
|
|
247
246
|
(c) Sindre Sorhus
|
|
248
247
|
@license MIT
|
|
249
248
|
*/
|
|
250
|
-
var oe,
|
|
251
|
-
function
|
|
252
|
-
if (
|
|
253
|
-
|
|
249
|
+
var oe, Ee;
|
|
250
|
+
function Ve() {
|
|
251
|
+
if (Ee) return oe;
|
|
252
|
+
Ee = 1;
|
|
254
253
|
var r = Object.getOwnPropertySymbols, s = Object.prototype.hasOwnProperty, a = Object.prototype.propertyIsEnumerable;
|
|
255
|
-
function i(
|
|
256
|
-
if (
|
|
254
|
+
function i(u) {
|
|
255
|
+
if (u == null)
|
|
257
256
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
258
|
-
return Object(
|
|
257
|
+
return Object(u);
|
|
259
258
|
}
|
|
260
|
-
function
|
|
259
|
+
function w() {
|
|
261
260
|
try {
|
|
262
261
|
if (!Object.assign)
|
|
263
262
|
return !1;
|
|
264
|
-
var
|
|
265
|
-
if (
|
|
263
|
+
var u = new String("abc");
|
|
264
|
+
if (u[5] = "de", Object.getOwnPropertyNames(u)[0] === "5")
|
|
266
265
|
return !1;
|
|
267
|
-
for (var
|
|
268
|
-
|
|
269
|
-
var P = Object.getOwnPropertyNames(
|
|
270
|
-
return
|
|
266
|
+
for (var O = {}, l = 0; l < 10; l++)
|
|
267
|
+
O["_" + String.fromCharCode(l)] = l;
|
|
268
|
+
var P = Object.getOwnPropertyNames(O).map(function(v) {
|
|
269
|
+
return O[v];
|
|
271
270
|
});
|
|
272
271
|
if (P.join("") !== "0123456789")
|
|
273
272
|
return !1;
|
|
274
|
-
var
|
|
273
|
+
var S = {};
|
|
275
274
|
return "abcdefghijklmnopqrst".split("").forEach(function(v) {
|
|
276
|
-
|
|
277
|
-
}), Object.keys(Object.assign({},
|
|
275
|
+
S[v] = v;
|
|
276
|
+
}), Object.keys(Object.assign({}, S)).join("") === "abcdefghijklmnopqrst";
|
|
278
277
|
} catch {
|
|
279
278
|
return !1;
|
|
280
279
|
}
|
|
281
280
|
}
|
|
282
|
-
return oe =
|
|
283
|
-
for (var
|
|
284
|
-
|
|
285
|
-
for (var E in
|
|
286
|
-
s.call(
|
|
281
|
+
return oe = w() ? Object.assign : function(u, O) {
|
|
282
|
+
for (var l, P = i(u), S, v = 1; v < arguments.length; v++) {
|
|
283
|
+
l = Object(arguments[v]);
|
|
284
|
+
for (var E in l)
|
|
285
|
+
s.call(l, E) && (P[E] = l[E]);
|
|
287
286
|
if (r) {
|
|
288
|
-
|
|
289
|
-
for (var _ = 0; _ <
|
|
290
|
-
a.call(
|
|
287
|
+
S = r(l);
|
|
288
|
+
for (var _ = 0; _ < S.length; _++)
|
|
289
|
+
a.call(l, S[_]) && (P[S[_]] = l[S[_]]);
|
|
291
290
|
}
|
|
292
291
|
}
|
|
293
292
|
return P;
|
|
294
293
|
}, oe;
|
|
295
294
|
}
|
|
296
|
-
var ie,
|
|
297
|
-
function
|
|
298
|
-
if (
|
|
299
|
-
|
|
295
|
+
var ie, Te;
|
|
296
|
+
function pe() {
|
|
297
|
+
if (Te) return ie;
|
|
298
|
+
Te = 1;
|
|
300
299
|
var r = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
301
300
|
return ie = r, ie;
|
|
302
301
|
}
|
|
303
|
-
var ae,
|
|
302
|
+
var ae, ge;
|
|
304
303
|
function Ie() {
|
|
305
|
-
return
|
|
304
|
+
return ge || (ge = 1, ae = Function.call.bind(Object.prototype.hasOwnProperty)), ae;
|
|
306
305
|
}
|
|
307
|
-
var se,
|
|
308
|
-
function
|
|
309
|
-
if (
|
|
310
|
-
|
|
306
|
+
var se, Re;
|
|
307
|
+
function Xe() {
|
|
308
|
+
if (Re) return se;
|
|
309
|
+
Re = 1;
|
|
311
310
|
var r = function() {
|
|
312
311
|
};
|
|
313
312
|
if (process.env.NODE_ENV !== "production") {
|
|
314
|
-
var s = /* @__PURE__ */
|
|
315
|
-
r = function(
|
|
316
|
-
var
|
|
317
|
-
typeof console < "u" && console.error(
|
|
313
|
+
var s = /* @__PURE__ */ pe(), a = {}, i = /* @__PURE__ */ Ie();
|
|
314
|
+
r = function(u) {
|
|
315
|
+
var O = "Warning: " + u;
|
|
316
|
+
typeof console < "u" && console.error(O);
|
|
318
317
|
try {
|
|
319
|
-
throw new Error(
|
|
318
|
+
throw new Error(O);
|
|
320
319
|
} catch {
|
|
321
320
|
}
|
|
322
321
|
};
|
|
323
322
|
}
|
|
324
|
-
function
|
|
323
|
+
function w(u, O, l, P, S) {
|
|
325
324
|
if (process.env.NODE_ENV !== "production") {
|
|
326
|
-
for (var v in
|
|
327
|
-
if (i(
|
|
325
|
+
for (var v in u)
|
|
326
|
+
if (i(u, v)) {
|
|
328
327
|
var E;
|
|
329
328
|
try {
|
|
330
|
-
if (typeof
|
|
329
|
+
if (typeof u[v] != "function") {
|
|
331
330
|
var _ = Error(
|
|
332
|
-
(P || "React class") + ": " +
|
|
331
|
+
(P || "React class") + ": " + l + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
333
332
|
);
|
|
334
333
|
throw _.name = "Invariant Violation", _;
|
|
335
334
|
}
|
|
336
|
-
E =
|
|
335
|
+
E = u[v](O, v, P, l, null, s);
|
|
337
336
|
} catch (L) {
|
|
338
337
|
E = L;
|
|
339
338
|
}
|
|
340
339
|
if (E && !(E instanceof Error) && r(
|
|
341
|
-
(P || "React class") + ": type specification of " +
|
|
340
|
+
(P || "React class") + ": type specification of " + l + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
342
341
|
), E instanceof Error && !(E.message in a)) {
|
|
343
342
|
a[E.message] = !0;
|
|
344
|
-
var C =
|
|
343
|
+
var C = S ? S() : "";
|
|
345
344
|
r(
|
|
346
|
-
"Failed " +
|
|
345
|
+
"Failed " + l + " type: " + E.message + (C ?? "")
|
|
347
346
|
);
|
|
348
347
|
}
|
|
349
348
|
}
|
|
350
349
|
}
|
|
351
350
|
}
|
|
352
|
-
return
|
|
351
|
+
return w.resetWarningCache = function() {
|
|
353
352
|
process.env.NODE_ENV !== "production" && (a = {});
|
|
354
|
-
}, se =
|
|
353
|
+
}, se = w, se;
|
|
355
354
|
}
|
|
356
|
-
var ce,
|
|
357
|
-
function
|
|
358
|
-
if (
|
|
359
|
-
|
|
360
|
-
var r = je(), s =
|
|
355
|
+
var ce, we;
|
|
356
|
+
function Je() {
|
|
357
|
+
if (we) return ce;
|
|
358
|
+
we = 1;
|
|
359
|
+
var r = je(), s = Ve(), a = /* @__PURE__ */ pe(), i = /* @__PURE__ */ Ie(), w = /* @__PURE__ */ Xe(), u = function() {
|
|
361
360
|
};
|
|
362
|
-
process.env.NODE_ENV !== "production" && (
|
|
363
|
-
var P = "Warning: " +
|
|
361
|
+
process.env.NODE_ENV !== "production" && (u = function(l) {
|
|
362
|
+
var P = "Warning: " + l;
|
|
364
363
|
typeof console < "u" && console.error(P);
|
|
365
364
|
try {
|
|
366
365
|
throw new Error(P);
|
|
367
366
|
} catch {
|
|
368
367
|
}
|
|
369
368
|
});
|
|
370
|
-
function
|
|
369
|
+
function O() {
|
|
371
370
|
return null;
|
|
372
371
|
}
|
|
373
|
-
return ce = function(
|
|
374
|
-
var
|
|
372
|
+
return ce = function(l, P) {
|
|
373
|
+
var S = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
|
|
375
374
|
function E(e) {
|
|
376
|
-
var o = e && (
|
|
375
|
+
var o = e && (S && e[S] || e[v]);
|
|
377
376
|
if (typeof o == "function")
|
|
378
377
|
return o;
|
|
379
378
|
}
|
|
@@ -386,15 +385,15 @@ function Ke() {
|
|
|
386
385
|
object: W("object"),
|
|
387
386
|
string: W("string"),
|
|
388
387
|
symbol: W("symbol"),
|
|
389
|
-
any:
|
|
388
|
+
any: N(),
|
|
390
389
|
arrayOf: j,
|
|
391
390
|
element: A(),
|
|
392
391
|
elementType: n(),
|
|
393
392
|
instanceOf: z,
|
|
394
393
|
node: Z(),
|
|
395
|
-
objectOf:
|
|
394
|
+
objectOf: Q,
|
|
396
395
|
oneOf: J,
|
|
397
|
-
oneOfType:
|
|
396
|
+
oneOfType: K,
|
|
398
397
|
shape: ee,
|
|
399
398
|
exact: re
|
|
400
399
|
};
|
|
@@ -408,7 +407,7 @@ function Ke() {
|
|
|
408
407
|
function I(e) {
|
|
409
408
|
if (process.env.NODE_ENV !== "production")
|
|
410
409
|
var o = {}, y = 0;
|
|
411
|
-
function d(m,
|
|
410
|
+
function d(m, f, p, h, R, b, $) {
|
|
412
411
|
if (h = h || _, b = b || p, $ !== a) {
|
|
413
412
|
if (P) {
|
|
414
413
|
var t = new Error(
|
|
@@ -418,23 +417,23 @@ function Ke() {
|
|
|
418
417
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
419
418
|
var k = h + ":" + p;
|
|
420
419
|
!o[k] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
421
|
-
y < 3 && (
|
|
420
|
+
y < 3 && (u(
|
|
422
421
|
"You are manually calling a React.PropTypes validation function for the `" + b + "` prop on `" + h + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
423
422
|
), o[k] = !0, y++);
|
|
424
423
|
}
|
|
425
424
|
}
|
|
426
|
-
return
|
|
425
|
+
return f[p] == null ? m ? f[p] === null ? new x("The " + R + " `" + b + "` is marked as required " + ("in `" + h + "`, but its value is `null`.")) : new x("The " + R + " `" + b + "` is marked as required in " + ("`" + h + "`, but its value is `undefined`.")) : null : e(f, p, h, R, b);
|
|
427
426
|
}
|
|
428
|
-
var
|
|
429
|
-
return
|
|
427
|
+
var c = d.bind(null, !1);
|
|
428
|
+
return c.isRequired = d.bind(null, !0), c;
|
|
430
429
|
}
|
|
431
430
|
function W(e) {
|
|
432
|
-
function o(y, d,
|
|
433
|
-
var h = y[d],
|
|
434
|
-
if (
|
|
431
|
+
function o(y, d, c, m, f, p) {
|
|
432
|
+
var h = y[d], R = q(h);
|
|
433
|
+
if (R !== e) {
|
|
435
434
|
var b = U(h);
|
|
436
435
|
return new x(
|
|
437
|
-
"Invalid " + m + " `" +
|
|
436
|
+
"Invalid " + m + " `" + f + "` of type " + ("`" + b + "` supplied to `" + c + "`, expected ") + ("`" + e + "`."),
|
|
438
437
|
{ expectedType: e }
|
|
439
438
|
);
|
|
440
439
|
}
|
|
@@ -442,20 +441,20 @@ function Ke() {
|
|
|
442
441
|
}
|
|
443
442
|
return I(o);
|
|
444
443
|
}
|
|
445
|
-
function
|
|
446
|
-
return I(
|
|
444
|
+
function N() {
|
|
445
|
+
return I(O);
|
|
447
446
|
}
|
|
448
447
|
function j(e) {
|
|
449
|
-
function o(y, d,
|
|
448
|
+
function o(y, d, c, m, f) {
|
|
450
449
|
if (typeof e != "function")
|
|
451
|
-
return new x("Property `" +
|
|
450
|
+
return new x("Property `" + f + "` of component `" + c + "` has invalid PropType notation inside arrayOf.");
|
|
452
451
|
var p = y[d];
|
|
453
452
|
if (!Array.isArray(p)) {
|
|
454
453
|
var h = q(p);
|
|
455
|
-
return new x("Invalid " + m + " `" +
|
|
454
|
+
return new x("Invalid " + m + " `" + f + "` of type " + ("`" + h + "` supplied to `" + c + "`, expected an array."));
|
|
456
455
|
}
|
|
457
|
-
for (var
|
|
458
|
-
var b = e(p,
|
|
456
|
+
for (var R = 0; R < p.length; R++) {
|
|
457
|
+
var b = e(p, R, c, m, f + "[" + R + "]", a);
|
|
459
458
|
if (b instanceof Error)
|
|
460
459
|
return b;
|
|
461
460
|
}
|
|
@@ -464,32 +463,32 @@ function Ke() {
|
|
|
464
463
|
return I(o);
|
|
465
464
|
}
|
|
466
465
|
function A() {
|
|
467
|
-
function e(o, y, d,
|
|
468
|
-
var
|
|
469
|
-
if (!f
|
|
470
|
-
var p = q(
|
|
471
|
-
return new x("Invalid " +
|
|
466
|
+
function e(o, y, d, c, m) {
|
|
467
|
+
var f = o[y];
|
|
468
|
+
if (!l(f)) {
|
|
469
|
+
var p = q(f);
|
|
470
|
+
return new x("Invalid " + c + " `" + m + "` of type " + ("`" + p + "` supplied to `" + d + "`, expected a single ReactElement."));
|
|
472
471
|
}
|
|
473
472
|
return null;
|
|
474
473
|
}
|
|
475
474
|
return I(e);
|
|
476
475
|
}
|
|
477
476
|
function n() {
|
|
478
|
-
function e(o, y, d,
|
|
479
|
-
var
|
|
480
|
-
if (!r.isValidElementType(
|
|
481
|
-
var p = q(
|
|
482
|
-
return new x("Invalid " +
|
|
477
|
+
function e(o, y, d, c, m) {
|
|
478
|
+
var f = o[y];
|
|
479
|
+
if (!r.isValidElementType(f)) {
|
|
480
|
+
var p = q(f);
|
|
481
|
+
return new x("Invalid " + c + " `" + m + "` of type " + ("`" + p + "` supplied to `" + d + "`, expected a single ReactElement type."));
|
|
483
482
|
}
|
|
484
483
|
return null;
|
|
485
484
|
}
|
|
486
485
|
return I(e);
|
|
487
486
|
}
|
|
488
487
|
function z(e) {
|
|
489
|
-
function o(y, d,
|
|
488
|
+
function o(y, d, c, m, f) {
|
|
490
489
|
if (!(y[d] instanceof e)) {
|
|
491
490
|
var p = e.name || _, h = ne(y[d]);
|
|
492
|
-
return new x("Invalid " + m + " `" +
|
|
491
|
+
return new x("Invalid " + m + " `" + f + "` of type " + ("`" + h + "` supplied to `" + c + "`, expected ") + ("instance of `" + p + "`."));
|
|
493
492
|
}
|
|
494
493
|
return null;
|
|
495
494
|
}
|
|
@@ -497,31 +496,31 @@ function Ke() {
|
|
|
497
496
|
}
|
|
498
497
|
function J(e) {
|
|
499
498
|
if (!Array.isArray(e))
|
|
500
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ?
|
|
499
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? u(
|
|
501
500
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
502
|
-
) :
|
|
503
|
-
function o(y, d,
|
|
501
|
+
) : u("Invalid argument supplied to oneOf, expected an array.")), O;
|
|
502
|
+
function o(y, d, c, m, f) {
|
|
504
503
|
for (var p = y[d], h = 0; h < e.length; h++)
|
|
505
504
|
if (L(p, e[h]))
|
|
506
505
|
return null;
|
|
507
|
-
var
|
|
506
|
+
var R = JSON.stringify(e, function($, t) {
|
|
508
507
|
var k = U(t);
|
|
509
508
|
return k === "symbol" ? String(t) : t;
|
|
510
509
|
});
|
|
511
|
-
return new x("Invalid " + m + " `" +
|
|
510
|
+
return new x("Invalid " + m + " `" + f + "` of value `" + String(p) + "` " + ("supplied to `" + c + "`, expected one of " + R + "."));
|
|
512
511
|
}
|
|
513
512
|
return I(o);
|
|
514
513
|
}
|
|
515
|
-
function
|
|
516
|
-
function o(y, d,
|
|
514
|
+
function Q(e) {
|
|
515
|
+
function o(y, d, c, m, f) {
|
|
517
516
|
if (typeof e != "function")
|
|
518
|
-
return new x("Property `" +
|
|
517
|
+
return new x("Property `" + f + "` of component `" + c + "` has invalid PropType notation inside objectOf.");
|
|
519
518
|
var p = y[d], h = q(p);
|
|
520
519
|
if (h !== "object")
|
|
521
|
-
return new x("Invalid " + m + " `" +
|
|
522
|
-
for (var
|
|
523
|
-
if (i(p,
|
|
524
|
-
var b = e(p,
|
|
520
|
+
return new x("Invalid " + m + " `" + f + "` of type " + ("`" + h + "` supplied to `" + c + "`, expected an object."));
|
|
521
|
+
for (var R in p)
|
|
522
|
+
if (i(p, R)) {
|
|
523
|
+
var b = e(p, R, c, m, f + "." + R, a);
|
|
525
524
|
if (b instanceof Error)
|
|
526
525
|
return b;
|
|
527
526
|
}
|
|
@@ -529,49 +528,49 @@ function Ke() {
|
|
|
529
528
|
}
|
|
530
529
|
return I(o);
|
|
531
530
|
}
|
|
532
|
-
function
|
|
531
|
+
function K(e) {
|
|
533
532
|
if (!Array.isArray(e))
|
|
534
|
-
return process.env.NODE_ENV !== "production" &&
|
|
533
|
+
return process.env.NODE_ENV !== "production" && u("Invalid argument supplied to oneOfType, expected an instance of array."), O;
|
|
535
534
|
for (var o = 0; o < e.length; o++) {
|
|
536
535
|
var y = e[o];
|
|
537
536
|
if (typeof y != "function")
|
|
538
|
-
return
|
|
537
|
+
return u(
|
|
539
538
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + G(y) + " at index " + o + "."
|
|
540
|
-
),
|
|
539
|
+
), O;
|
|
541
540
|
}
|
|
542
|
-
function d(
|
|
543
|
-
for (var
|
|
544
|
-
var $ = e[b], t = $(
|
|
541
|
+
function d(c, m, f, p, h) {
|
|
542
|
+
for (var R = [], b = 0; b < e.length; b++) {
|
|
543
|
+
var $ = e[b], t = $(c, m, f, p, h, a);
|
|
545
544
|
if (t == null)
|
|
546
545
|
return null;
|
|
547
|
-
t.data && i(t.data, "expectedType") &&
|
|
546
|
+
t.data && i(t.data, "expectedType") && R.push(t.data.expectedType);
|
|
548
547
|
}
|
|
549
|
-
var k =
|
|
550
|
-
return new x("Invalid " + p + " `" + h + "` supplied to " + ("`" +
|
|
548
|
+
var k = R.length > 0 ? ", expected one of type [" + R.join(", ") + "]" : "";
|
|
549
|
+
return new x("Invalid " + p + " `" + h + "` supplied to " + ("`" + f + "`" + k + "."));
|
|
551
550
|
}
|
|
552
551
|
return I(d);
|
|
553
552
|
}
|
|
554
553
|
function Z() {
|
|
555
|
-
function e(o, y, d,
|
|
556
|
-
return B(o[y]) ? null : new x("Invalid " +
|
|
554
|
+
function e(o, y, d, c, m) {
|
|
555
|
+
return B(o[y]) ? null : new x("Invalid " + c + " `" + m + "` supplied to " + ("`" + d + "`, expected a ReactNode."));
|
|
557
556
|
}
|
|
558
557
|
return I(e);
|
|
559
558
|
}
|
|
560
|
-
function
|
|
559
|
+
function F(e, o, y, d, c) {
|
|
561
560
|
return new x(
|
|
562
|
-
(e || "React class") + ": " + o + " type `" + y + "." + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
561
|
+
(e || "React class") + ": " + o + " type `" + y + "." + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + c + "`."
|
|
563
562
|
);
|
|
564
563
|
}
|
|
565
564
|
function ee(e) {
|
|
566
|
-
function o(y, d,
|
|
565
|
+
function o(y, d, c, m, f) {
|
|
567
566
|
var p = y[d], h = q(p);
|
|
568
567
|
if (h !== "object")
|
|
569
|
-
return new x("Invalid " + m + " `" +
|
|
570
|
-
for (var
|
|
571
|
-
var b = e[
|
|
568
|
+
return new x("Invalid " + m + " `" + f + "` of type `" + h + "` " + ("supplied to `" + c + "`, expected `object`."));
|
|
569
|
+
for (var R in e) {
|
|
570
|
+
var b = e[R];
|
|
572
571
|
if (typeof b != "function")
|
|
573
|
-
return
|
|
574
|
-
var $ = b(p,
|
|
572
|
+
return F(c, m, f, R, U(b));
|
|
573
|
+
var $ = b(p, R, c, m, f + "." + R, a);
|
|
575
574
|
if ($)
|
|
576
575
|
return $;
|
|
577
576
|
}
|
|
@@ -580,21 +579,21 @@ function Ke() {
|
|
|
580
579
|
return I(o);
|
|
581
580
|
}
|
|
582
581
|
function re(e) {
|
|
583
|
-
function o(y, d,
|
|
582
|
+
function o(y, d, c, m, f) {
|
|
584
583
|
var p = y[d], h = q(p);
|
|
585
584
|
if (h !== "object")
|
|
586
|
-
return new x("Invalid " + m + " `" +
|
|
587
|
-
var
|
|
588
|
-
for (var b in
|
|
585
|
+
return new x("Invalid " + m + " `" + f + "` of type `" + h + "` " + ("supplied to `" + c + "`, expected `object`."));
|
|
586
|
+
var R = s({}, y[d], e);
|
|
587
|
+
for (var b in R) {
|
|
589
588
|
var $ = e[b];
|
|
590
589
|
if (i(e, b) && typeof $ != "function")
|
|
591
|
-
return
|
|
590
|
+
return F(c, m, f, b, U($));
|
|
592
591
|
if (!$)
|
|
593
592
|
return new x(
|
|
594
|
-
"Invalid " + m + " `" +
|
|
593
|
+
"Invalid " + m + " `" + f + "` key `" + b + "` supplied to `" + c + "`.\nBad object: " + JSON.stringify(y[d], null, " ") + `
|
|
595
594
|
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
596
595
|
);
|
|
597
|
-
var t = $(p, b,
|
|
596
|
+
var t = $(p, b, c, m, f + "." + b, a);
|
|
598
597
|
if (t)
|
|
599
598
|
return t;
|
|
600
599
|
}
|
|
@@ -613,7 +612,7 @@ Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
|
613
612
|
case "object":
|
|
614
613
|
if (Array.isArray(e))
|
|
615
614
|
return e.every(B);
|
|
616
|
-
if (e === null ||
|
|
615
|
+
if (e === null || l(e))
|
|
617
616
|
return !0;
|
|
618
617
|
var o = E(e);
|
|
619
618
|
if (o) {
|
|
@@ -624,8 +623,8 @@ Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
|
624
623
|
return !1;
|
|
625
624
|
} else
|
|
626
625
|
for (; !(d = y.next()).done; ) {
|
|
627
|
-
var
|
|
628
|
-
if (
|
|
626
|
+
var c = d.value;
|
|
627
|
+
if (c && !B(c[1]))
|
|
629
628
|
return !1;
|
|
630
629
|
}
|
|
631
630
|
} else
|
|
@@ -671,20 +670,20 @@ Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
|
671
670
|
function ne(e) {
|
|
672
671
|
return !e.constructor || !e.constructor.name ? _ : e.constructor.name;
|
|
673
672
|
}
|
|
674
|
-
return C.checkPropTypes =
|
|
673
|
+
return C.checkPropTypes = w, C.resetWarningCache = w.resetWarningCache, C.PropTypes = C, C;
|
|
675
674
|
}, ce;
|
|
676
675
|
}
|
|
677
|
-
var ue,
|
|
676
|
+
var ue, Se;
|
|
678
677
|
function Qe() {
|
|
679
|
-
if (
|
|
680
|
-
|
|
681
|
-
var r = /* @__PURE__ */
|
|
678
|
+
if (Se) return ue;
|
|
679
|
+
Se = 1;
|
|
680
|
+
var r = /* @__PURE__ */ pe();
|
|
682
681
|
function s() {
|
|
683
682
|
}
|
|
684
683
|
function a() {
|
|
685
684
|
}
|
|
686
685
|
return a.resetWarningCache = s, ue = function() {
|
|
687
|
-
function i(
|
|
686
|
+
function i(O, l, P, S, v, E) {
|
|
688
687
|
if (E !== r) {
|
|
689
688
|
var _ = new Error(
|
|
690
689
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -693,10 +692,10 @@ function Qe() {
|
|
|
693
692
|
}
|
|
694
693
|
}
|
|
695
694
|
i.isRequired = i;
|
|
696
|
-
function
|
|
695
|
+
function w() {
|
|
697
696
|
return i;
|
|
698
697
|
}
|
|
699
|
-
var
|
|
698
|
+
var u = {
|
|
700
699
|
array: i,
|
|
701
700
|
bigint: i,
|
|
702
701
|
bool: i,
|
|
@@ -706,34 +705,34 @@ function Qe() {
|
|
|
706
705
|
string: i,
|
|
707
706
|
symbol: i,
|
|
708
707
|
any: i,
|
|
709
|
-
arrayOf:
|
|
708
|
+
arrayOf: w,
|
|
710
709
|
element: i,
|
|
711
710
|
elementType: i,
|
|
712
|
-
instanceOf:
|
|
711
|
+
instanceOf: w,
|
|
713
712
|
node: i,
|
|
714
|
-
objectOf:
|
|
715
|
-
oneOf:
|
|
716
|
-
oneOfType:
|
|
717
|
-
shape:
|
|
718
|
-
exact:
|
|
713
|
+
objectOf: w,
|
|
714
|
+
oneOf: w,
|
|
715
|
+
oneOfType: w,
|
|
716
|
+
shape: w,
|
|
717
|
+
exact: w,
|
|
719
718
|
checkPropTypes: a,
|
|
720
719
|
resetWarningCache: s
|
|
721
720
|
};
|
|
722
|
-
return
|
|
721
|
+
return u.PropTypes = u, u;
|
|
723
722
|
}, ue;
|
|
724
723
|
}
|
|
725
|
-
var
|
|
726
|
-
function
|
|
727
|
-
if (
|
|
728
|
-
if (
|
|
724
|
+
var Oe;
|
|
725
|
+
function Ke() {
|
|
726
|
+
if (Oe) return V.exports;
|
|
727
|
+
if (Oe = 1, process.env.NODE_ENV !== "production") {
|
|
729
728
|
var r = je(), s = !0;
|
|
730
|
-
V.exports = /* @__PURE__ */
|
|
729
|
+
V.exports = /* @__PURE__ */ Je()(r.isElement, s);
|
|
731
730
|
} else
|
|
732
731
|
V.exports = /* @__PURE__ */ Qe()();
|
|
733
732
|
return V.exports;
|
|
734
733
|
}
|
|
735
|
-
var
|
|
736
|
-
const
|
|
734
|
+
var Ze = /* @__PURE__ */ Ke();
|
|
735
|
+
const Pe = /* @__PURE__ */ ke(Ze), er = {
|
|
737
736
|
tip: {
|
|
738
737
|
color: "rgba(0,0,0,.45)",
|
|
739
738
|
marginLeft: "4px"
|
|
@@ -741,7 +740,7 @@ const xe = /* @__PURE__ */ Ye(er), rr = {
|
|
|
741
740
|
icon: {
|
|
742
741
|
marginTop: "4px"
|
|
743
742
|
}
|
|
744
|
-
},
|
|
743
|
+
}, rr = ({ title: r, classes: s }) => /* @__PURE__ */ D.jsx(_e.Fragment, { children: r && /* @__PURE__ */ D.jsx("span", { className: s.tip, children: /* @__PURE__ */ D.jsx(De, { title: r, getPopupContainer: () => document.getElementsByClassName("catalogue-of-life")[0], children: /* @__PURE__ */ D.jsx(Ae, { className: s.icon }) }) }) }), tr = Ce(er)(rr), nr = {
|
|
745
744
|
formItem: {
|
|
746
745
|
paddingBottom: 0,
|
|
747
746
|
width: "100%",
|
|
@@ -779,45 +778,27 @@ const xe = /* @__PURE__ */ Ye(er), rr = {
|
|
|
779
778
|
marginBottom: 10,
|
|
780
779
|
marginTop: 10
|
|
781
780
|
}
|
|
782
|
-
}, Me = ({ label: r, helpText: s, classes: a, children: i, width:
|
|
783
|
-
const
|
|
781
|
+
}, Me = ({ label: r, helpText: s, classes: a, children: i, width: w, md: u, size: O }) => {
|
|
782
|
+
const l = () => {
|
|
784
783
|
let E;
|
|
785
784
|
return Array.isArray(i) && i.length > 0 ? E = i.map((_, C) => /* @__PURE__ */ D.jsx("span", { className: a.content, children: _ }, C)) : !Array.isArray(i) && typeof i < "u" && (E = /* @__PURE__ */ D.jsx("span", { className: a.content, children: i })), E;
|
|
786
|
-
}, P =
|
|
785
|
+
}, P = u || 8, S = P < 24 ? 24 - P : 24, v = O === "medium" ? a.mediumMargin : a.smallMargin;
|
|
787
786
|
return /* @__PURE__ */ D.jsxs(We, { className: a.formItem, children: [
|
|
788
|
-
/* @__PURE__ */ D.jsx(
|
|
787
|
+
/* @__PURE__ */ D.jsx(ve, { sm: 24, md: P, style: w < le ? { marginBottom: 0 } : {}, className: v, children: /* @__PURE__ */ D.jsx("div", { children: /* @__PURE__ */ D.jsxs("dt", { className: a.label, children: [
|
|
789
788
|
r,
|
|
790
|
-
/* @__PURE__ */ D.jsx(
|
|
789
|
+
/* @__PURE__ */ D.jsx(tr, { title: s })
|
|
791
790
|
] }) }) }),
|
|
792
|
-
/* @__PURE__ */ D.jsx(
|
|
791
|
+
/* @__PURE__ */ D.jsx(ve, { sm: 24, md: S, style: w < le ? { marginTop: 0 } : {}, className: v, children: l() })
|
|
793
792
|
] });
|
|
794
793
|
};
|
|
795
794
|
Me.propTypes = {
|
|
796
|
-
label:
|
|
797
|
-
helpText:
|
|
795
|
+
label: Pe.string.isRequired,
|
|
796
|
+
helpText: Pe.object
|
|
798
797
|
};
|
|
799
|
-
const
|
|
800
|
-
class pr extends pe.Component {
|
|
801
|
-
constructor(s) {
|
|
802
|
-
super(s), this.state = { error: !0, loading: !0 };
|
|
803
|
-
}
|
|
804
|
-
render() {
|
|
805
|
-
const { fallBack: s = null, datasetKey: a, sourceDatasetKey: i, style: T, size: c = "MEDIUM" } = this.props, { error: w, loading: f } = this.state;
|
|
806
|
-
return f || !w ? /* @__PURE__ */ D.jsx(
|
|
807
|
-
"img",
|
|
808
|
-
{
|
|
809
|
-
style: T,
|
|
810
|
-
src: `${ke.dataApi}dataset/${a}/logo/source/${i}?size=${c}`,
|
|
811
|
-
onLoad: () => this.setState({ error: !1, loading: !1 }),
|
|
812
|
-
onError: () => this.setState({ error: !0, loading: !1 })
|
|
813
|
-
}
|
|
814
|
-
) : s;
|
|
815
|
-
}
|
|
816
|
-
}
|
|
798
|
+
const fr = Fe()(Ce(nr)(Me));
|
|
817
799
|
export {
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
Ge as w
|
|
800
|
+
fr as P,
|
|
801
|
+
ke as g,
|
|
802
|
+
Fe as w
|
|
822
803
|
};
|
|
823
|
-
//# sourceMappingURL=
|
|
804
|
+
//# sourceMappingURL=PresentationItem-C4yZ555-.js.map
|