@devtron-labs/devtron-fe-common-lib 0.0.58-beta-13 → 0.0.58-beta-14
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/dist/{CodeEditor-f831f400.js → CodeEditor-57d766d0.js} +22 -22
- package/dist/Common/AddCDButton/AddCDButton.js +1 -1
- package/dist/Common/AppStatus/AppStatus.js +1 -1
- package/dist/Common/BreadCrumb/BreadCrumb.js +1 -1
- package/dist/Common/ChartVersionAndTypeSelector.js +2 -2
- package/dist/Common/ClipboardButton/ClipboardButton.js +2 -2
- package/dist/Common/ClipboardButton/__tests__/ClipboardButton.test.js +1 -1
- package/dist/Common/CodeEditor/CodeEditor.js +2 -2
- package/dist/Common/Common.service.js +1 -1
- package/dist/Common/CustomTagSelector/PropagateTagInfo.js +1 -1
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.js +1 -1
- package/dist/Common/CustomTagSelector/TagDetails.js +1 -1
- package/dist/Common/CustomTagSelector/TagLabelValueSelector.js +2 -2
- package/dist/Common/DebouncedSearch/__tests__/DebouncedSearch.test.js +1 -1
- package/dist/Common/DraggableWrapper/DraggableWrapper.js +1 -1
- package/dist/Common/Helper.js +1 -1
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.js +1 -1
- package/dist/Common/ImageTags.js +3 -3
- package/dist/Common/MultiSelectCustomization.js +1 -1
- package/dist/Common/Pagination/PageSizeSelector.js +1 -1
- package/dist/Common/RJSF/widgets/Select.js +1 -1
- package/dist/Common/RadioGroup/RadioGroup.js +2 -2
- package/dist/Common/ResizableTextarea.js +1 -1
- package/dist/Common/SearchBar/SearchBar.component.js +1 -1
- package/dist/Common/Select/Select.js +1 -1
- package/dist/Common/TippyCustomized.js +3 -3
- package/dist/Common/Toggle/Toggle.js +1 -1
- package/dist/Common/index.js +3 -3
- package/dist/{Helper-b720768b.js → Helper-6e21d971.js} +3887 -3524
- package/dist/{TippyCustomized-b66513ba.js → TippyCustomized-a8eee994.js} +2 -2
- package/dist/assets/{yaml.worker-64fecd27.js → yaml.worker-35ea3f9a.js} +137 -133
- package/dist/{cssMode-3b27e147.js → cssMode-51109c72.js} +1 -1
- package/dist/{freemarker2-fdbf3c64.js → freemarker2-56c268e7.js} +1 -1
- package/dist/{handlebars-42bbca08.js → handlebars-14160245.js} +1 -1
- package/dist/{html-2b761b4c.js → html-b5f7d4c2.js} +1 -1
- package/dist/{htmlMode-5e3287f4.js → htmlMode-b802d066.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{javascript-7349b260.js → javascript-1c1abf89.js} +1 -1
- package/dist/{jsonMode-b06032c4.js → jsonMode-f9cd720a.js} +1 -1
- package/dist/{liquid-4f07e77f.js → liquid-a38c622a.js} +1 -1
- package/dist/{python-16256213.js → python-966fee14.js} +1 -1
- package/dist/{razor-b4aa4372.js → razor-d300ce4c.js} +1 -1
- package/dist/{react-select.esm-97f26847.js → react-select.esm-3ab5c599.js} +815 -801
- package/dist/{react.esm-2c92920f.js → react.esm-d9d3bd77.js} +1457 -1457
- package/dist/tippy-react.esm-7f62ad0a.js +1919 -0
- package/dist/{tsMode-426d35c9.js → tsMode-c3995c03.js} +1 -1
- package/dist/{typescript-936e1f48.js → typescript-18b20a48.js} +1 -1
- package/dist/{xml-5430ab58.js → xml-82b60f64.js} +1 -1
- package/dist/{yaml-9bde48c0.js → yaml-229aea3c.js} +1 -1
- package/package.json +4 -5
- package/dist/tippy-react.esm-8dc66a75.js +0 -2018
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
import { createPortal as
|
|
5
|
-
function
|
|
1
|
+
import { _ as S } from "./extends-70f3d2a3.js";
|
|
2
|
+
import * as G from "react";
|
|
3
|
+
import { forwardRef as ln, useContext as rr, Component as gt, createContext as ir, useState as Ue, useCallback as q, useMemo as Ce, Fragment as nt, useRef as be, useEffect as dn } from "react";
|
|
4
|
+
import { createPortal as ar } from "react-dom";
|
|
5
|
+
function ur(t) {
|
|
6
6
|
if (t.sheet)
|
|
7
7
|
return t.sheet;
|
|
8
8
|
for (var e = 0; e < document.styleSheets.length; e++)
|
|
9
9
|
if (document.styleSheets[e].ownerNode === t)
|
|
10
10
|
return document.styleSheets[e];
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function or(t) {
|
|
13
13
|
var e = document.createElement("style");
|
|
14
14
|
return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
|
|
15
15
|
}
|
|
16
|
-
var
|
|
16
|
+
var sr = /* @__PURE__ */ function() {
|
|
17
17
|
function t(r) {
|
|
18
18
|
var a = this;
|
|
19
19
|
this._insertTag = function(n) {
|
|
@@ -25,7 +25,7 @@ var lr = /* @__PURE__ */ function() {
|
|
|
25
25
|
return e.hydrate = function(a) {
|
|
26
26
|
a.forEach(this._insertTag);
|
|
27
27
|
}, e.insert = function(a) {
|
|
28
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(
|
|
28
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(or(this));
|
|
29
29
|
var n = this.tags[this.tags.length - 1];
|
|
30
30
|
if (process.env.NODE_ENV !== "production") {
|
|
31
31
|
var i = a.charCodeAt(0) === 64 && a.charCodeAt(1) === 105;
|
|
@@ -33,7 +33,7 @@ var lr = /* @__PURE__ */ function() {
|
|
|
33
33
|
` + a + "\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."), this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !i;
|
|
34
34
|
}
|
|
35
35
|
if (this.isSpeedy) {
|
|
36
|
-
var u =
|
|
36
|
+
var u = ur(n);
|
|
37
37
|
try {
|
|
38
38
|
u.insertRule(a, u.cssRules.length);
|
|
39
39
|
} catch (o) {
|
|
@@ -47,66 +47,66 @@ var lr = /* @__PURE__ */ function() {
|
|
|
47
47
|
return a.parentNode && a.parentNode.removeChild(a);
|
|
48
48
|
}), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
|
|
49
49
|
}, t;
|
|
50
|
-
}(), L = "-ms-",
|
|
51
|
-
function
|
|
50
|
+
}(), L = "-ms-", Oe = "-moz-", N = "-webkit-", bt = "comm", ft = "rule", mt = "decl", cr = "@import", gn = "@keyframes", lr = "@layer", dr = Math.abs, Ye = String.fromCharCode, gr = Object.assign;
|
|
51
|
+
function br(t, e) {
|
|
52
52
|
return W(t, 0) ^ 45 ? (((e << 2 ^ W(t, 0)) << 2 ^ W(t, 1)) << 2 ^ W(t, 2)) << 2 ^ W(t, 3) : 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function bn(t) {
|
|
55
55
|
return t.trim();
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function fr(t, e) {
|
|
58
58
|
return (t = e.exec(t)) ? t[0] : t;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function V(t, e, r) {
|
|
61
61
|
return t.replace(e, r);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function rt(t, e) {
|
|
64
64
|
return t.indexOf(e);
|
|
65
65
|
}
|
|
66
66
|
function W(t, e) {
|
|
67
67
|
return t.charCodeAt(e) | 0;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function xe(t, e, r) {
|
|
70
70
|
return t.slice(e, r);
|
|
71
71
|
}
|
|
72
72
|
function ae(t) {
|
|
73
73
|
return t.length;
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function pt(t) {
|
|
76
76
|
return t.length;
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Fe(t, e) {
|
|
79
79
|
return e.push(t), t;
|
|
80
80
|
}
|
|
81
81
|
function mr(t, e) {
|
|
82
82
|
return t.map(e).join("");
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
function
|
|
86
|
-
return { value: t, root: e, parent: r, type: a, props: n, children: i, line:
|
|
84
|
+
var ze = 1, me = 1, fn = 0, k = 0, Z = 0, ve = "";
|
|
85
|
+
function je(t, e, r, a, n, i, u) {
|
|
86
|
+
return { value: t, root: e, parent: r, type: a, props: n, children: i, line: ze, column: me, length: u, return: "" };
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
return
|
|
88
|
+
function ye(t, e) {
|
|
89
|
+
return gr(je("", null, null, "", null, null, 0), t, { length: -t.length }, e);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function pr() {
|
|
92
92
|
return Z;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
95
|
-
return Z = k > 0 ? W(
|
|
94
|
+
function vr() {
|
|
95
|
+
return Z = k > 0 ? W(ve, --k) : 0, me--, Z === 10 && (me = 1, ze--), Z;
|
|
96
96
|
}
|
|
97
97
|
function Q() {
|
|
98
|
-
return Z = k <
|
|
98
|
+
return Z = k < fn ? W(ve, k++) : 0, me++, Z === 10 && (me = 1, ze++), Z;
|
|
99
99
|
}
|
|
100
100
|
function ue() {
|
|
101
|
-
return W(
|
|
101
|
+
return W(ve, k);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function Xe() {
|
|
104
104
|
return k;
|
|
105
105
|
}
|
|
106
|
-
function
|
|
107
|
-
return
|
|
106
|
+
function Be(t, e) {
|
|
107
|
+
return xe(ve, t, e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Ee(t) {
|
|
110
110
|
switch (t) {
|
|
111
111
|
case 0:
|
|
112
112
|
case 9:
|
|
@@ -138,36 +138,36 @@ function Se(t) {
|
|
|
138
138
|
}
|
|
139
139
|
return 0;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
return
|
|
141
|
+
function mn(t) {
|
|
142
|
+
return ze = me = 1, fn = ae(ve = t), k = 0, [];
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
return
|
|
144
|
+
function pn(t) {
|
|
145
|
+
return ve = "", t;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
return
|
|
147
|
+
function Te(t) {
|
|
148
|
+
return bn(Be(k - 1, it(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function Ir(t) {
|
|
151
151
|
for (; (Z = ue()) && Z < 33; )
|
|
152
152
|
Q();
|
|
153
|
-
return
|
|
153
|
+
return Ee(t) > 2 || Ee(Z) > 3 ? "" : " ";
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function hr(t, e) {
|
|
156
156
|
for (; --e && Q() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
|
|
157
157
|
;
|
|
158
|
-
return
|
|
158
|
+
return Be(t, Xe() + (e < 6 && ue() == 32 && Q() == 32));
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function it(t) {
|
|
161
161
|
for (; Q(); )
|
|
162
162
|
switch (Z) {
|
|
163
163
|
case t:
|
|
164
164
|
return k;
|
|
165
165
|
case 34:
|
|
166
166
|
case 39:
|
|
167
|
-
t !== 34 && t !== 39 &&
|
|
167
|
+
t !== 34 && t !== 39 && it(Z);
|
|
168
168
|
break;
|
|
169
169
|
case 40:
|
|
170
|
-
t === 41 &&
|
|
170
|
+
t === 41 && it(t);
|
|
171
171
|
break;
|
|
172
172
|
case 92:
|
|
173
173
|
Q();
|
|
@@ -175,55 +175,55 @@ function ut(t) {
|
|
|
175
175
|
}
|
|
176
176
|
return k;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function Cr(t, e) {
|
|
179
179
|
for (; Q() && t + Z !== 47 + 10; )
|
|
180
180
|
if (t + Z === 42 + 42 && ue() === 47)
|
|
181
181
|
break;
|
|
182
|
-
return "/*" +
|
|
182
|
+
return "/*" + Be(e, k - 1) + "*" + Ye(t === 47 ? t : Q());
|
|
183
183
|
}
|
|
184
|
-
function
|
|
185
|
-
for (; !
|
|
184
|
+
function yr(t) {
|
|
185
|
+
for (; !Ee(ue()); )
|
|
186
186
|
Q();
|
|
187
|
-
return
|
|
187
|
+
return Be(t, k);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
return
|
|
189
|
+
function Ar(t) {
|
|
190
|
+
return pn(Ze("", null, null, null, [""], t = mn(t), 0, [0], t));
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
for (var c = 0, l = 0, d = u, v = 0,
|
|
192
|
+
function Ze(t, e, r, a, n, i, u, o, s) {
|
|
193
|
+
for (var c = 0, l = 0, d = u, v = 0, m = 0, f = 0, p = 1, g = 1, I = 1, h = 0, y = "", E = n, b = i, B = a, A = y; g; )
|
|
194
194
|
switch (f = h, h = Q()) {
|
|
195
195
|
case 40:
|
|
196
|
-
if (f != 108 && W(
|
|
197
|
-
|
|
196
|
+
if (f != 108 && W(A, d - 1) == 58) {
|
|
197
|
+
rt(A += V(Te(h), "&", "&\f"), "&\f") != -1 && (I = -1);
|
|
198
198
|
break;
|
|
199
199
|
}
|
|
200
200
|
case 34:
|
|
201
201
|
case 39:
|
|
202
202
|
case 91:
|
|
203
|
-
|
|
203
|
+
A += Te(h);
|
|
204
204
|
break;
|
|
205
205
|
case 9:
|
|
206
206
|
case 10:
|
|
207
207
|
case 13:
|
|
208
208
|
case 32:
|
|
209
|
-
|
|
209
|
+
A += Ir(f);
|
|
210
210
|
break;
|
|
211
211
|
case 92:
|
|
212
|
-
|
|
212
|
+
A += hr(Xe() - 1, 7);
|
|
213
213
|
continue;
|
|
214
214
|
case 47:
|
|
215
215
|
switch (ue()) {
|
|
216
216
|
case 42:
|
|
217
217
|
case 47:
|
|
218
|
-
|
|
218
|
+
Fe(xr(Cr(Q(), Xe()), e, r), s);
|
|
219
219
|
break;
|
|
220
220
|
default:
|
|
221
|
-
|
|
221
|
+
A += "/";
|
|
222
222
|
}
|
|
223
223
|
break;
|
|
224
|
-
case 123 *
|
|
225
|
-
o[c++] = ae(
|
|
226
|
-
case 125 *
|
|
224
|
+
case 123 * p:
|
|
225
|
+
o[c++] = ae(A) * I;
|
|
226
|
+
case 125 * p:
|
|
227
227
|
case 59:
|
|
228
228
|
case 0:
|
|
229
229
|
switch (h) {
|
|
@@ -231,115 +231,119 @@ function Me(t, e, r, a, n, i, u, o, s) {
|
|
|
231
231
|
case 125:
|
|
232
232
|
g = 0;
|
|
233
233
|
case 59 + l:
|
|
234
|
-
|
|
234
|
+
I == -1 && (A = V(A, /\f/g, "")), m > 0 && ae(A) - d && Fe(m > 32 ? Rt(A + ";", a, r, d - 1) : Rt(V(A, " ", "") + ";", a, r, d - 2), s);
|
|
235
235
|
break;
|
|
236
236
|
case 59:
|
|
237
|
-
|
|
237
|
+
A += ";";
|
|
238
238
|
default:
|
|
239
|
-
if (
|
|
239
|
+
if (Fe(B = Ft(A, e, r, c, l, n, o, y, E = [], b = [], d), i), h === 123)
|
|
240
240
|
if (l === 0)
|
|
241
|
-
|
|
241
|
+
Ze(A, e, B, B, E, i, d, o, b);
|
|
242
242
|
else
|
|
243
|
-
switch (v === 99 && W(
|
|
243
|
+
switch (v === 99 && W(A, 3) === 110 ? 100 : v) {
|
|
244
244
|
case 100:
|
|
245
|
+
case 108:
|
|
245
246
|
case 109:
|
|
246
247
|
case 115:
|
|
247
|
-
|
|
248
|
+
Ze(t, B, B, a && Fe(Ft(t, B, B, 0, 0, n, o, y, n, E = [], d), b), n, b, d, o, a ? E : b);
|
|
248
249
|
break;
|
|
249
250
|
default:
|
|
250
|
-
|
|
251
|
+
Ze(A, B, B, B, [""], b, 0, o, b);
|
|
251
252
|
}
|
|
252
253
|
}
|
|
253
|
-
c = l =
|
|
254
|
+
c = l = m = 0, p = I = 1, y = A = "", d = u;
|
|
254
255
|
break;
|
|
255
256
|
case 58:
|
|
256
|
-
d = 1 + ae(
|
|
257
|
+
d = 1 + ae(A), m = f;
|
|
257
258
|
default:
|
|
258
|
-
if (
|
|
259
|
+
if (p < 1) {
|
|
259
260
|
if (h == 123)
|
|
260
|
-
--
|
|
261
|
-
else if (h == 125 &&
|
|
261
|
+
--p;
|
|
262
|
+
else if (h == 125 && p++ == 0 && vr() == 125)
|
|
262
263
|
continue;
|
|
263
264
|
}
|
|
264
|
-
switch (
|
|
265
|
+
switch (A += Ye(h), h * p) {
|
|
265
266
|
case 38:
|
|
266
|
-
I = l > 0 ? 1 : (
|
|
267
|
+
I = l > 0 ? 1 : (A += "\f", -1);
|
|
267
268
|
break;
|
|
268
269
|
case 44:
|
|
269
|
-
o[c++] = (ae(
|
|
270
|
+
o[c++] = (ae(A) - 1) * I, I = 1;
|
|
270
271
|
break;
|
|
271
272
|
case 64:
|
|
272
|
-
ue() === 45 && (
|
|
273
|
+
ue() === 45 && (A += Te(Q())), v = ue(), l = d = ae(y = A += yr(Xe())), h++;
|
|
273
274
|
break;
|
|
274
275
|
case 45:
|
|
275
|
-
f === 45 && ae(
|
|
276
|
+
f === 45 && ae(A) == 2 && (p = 0);
|
|
276
277
|
}
|
|
277
278
|
}
|
|
278
279
|
return i;
|
|
279
280
|
}
|
|
280
|
-
function
|
|
281
|
-
for (var d = n - 1, v = n === 0 ? i : [""],
|
|
282
|
-
for (var I = 0, h =
|
|
283
|
-
(y =
|
|
284
|
-
return
|
|
281
|
+
function Ft(t, e, r, a, n, i, u, o, s, c, l) {
|
|
282
|
+
for (var d = n - 1, v = n === 0 ? i : [""], m = pt(v), f = 0, p = 0, g = 0; f < a; ++f)
|
|
283
|
+
for (var I = 0, h = xe(t, d + 1, d = dr(p = u[f])), y = t; I < m; ++I)
|
|
284
|
+
(y = bn(p > 0 ? v[I] + " " + h : V(h, /&\f/g, v[I]))) && (s[g++] = y);
|
|
285
|
+
return je(t, e, r, n === 0 ? ft : o, s, c, l);
|
|
285
286
|
}
|
|
286
|
-
function
|
|
287
|
-
return
|
|
287
|
+
function xr(t, e, r) {
|
|
288
|
+
return je(t, e, r, bt, Ye(pr()), xe(t, 2, -2), 0);
|
|
288
289
|
}
|
|
289
|
-
function
|
|
290
|
-
return
|
|
290
|
+
function Rt(t, e, r, a) {
|
|
291
|
+
return je(t, e, r, mt, xe(t, 0, a), xe(t, a + 1, -1), a);
|
|
291
292
|
}
|
|
292
|
-
function
|
|
293
|
-
for (var r = "", a =
|
|
293
|
+
function fe(t, e) {
|
|
294
|
+
for (var r = "", a = pt(t), n = 0; n < a; n++)
|
|
294
295
|
r += e(t[n], n, t, e) || "";
|
|
295
296
|
return r;
|
|
296
297
|
}
|
|
297
|
-
function
|
|
298
|
+
function Er(t, e, r, a) {
|
|
298
299
|
switch (t.type) {
|
|
299
|
-
case
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
case lr:
|
|
301
|
+
if (t.children.length)
|
|
302
|
+
break;
|
|
303
|
+
case cr:
|
|
302
304
|
case mt:
|
|
305
|
+
return t.return = t.return || t.value;
|
|
306
|
+
case bt:
|
|
303
307
|
return "";
|
|
304
|
-
case
|
|
305
|
-
return t.return = t.value + "{" +
|
|
306
|
-
case
|
|
308
|
+
case gn:
|
|
309
|
+
return t.return = t.value + "{" + fe(t.children, a) + "}";
|
|
310
|
+
case ft:
|
|
307
311
|
t.value = t.props.join(",");
|
|
308
312
|
}
|
|
309
|
-
return ae(r =
|
|
313
|
+
return ae(r = fe(t.children, a)) ? t.return = t.value + "{" + r + "}" : "";
|
|
310
314
|
}
|
|
311
|
-
function
|
|
312
|
-
var e =
|
|
315
|
+
function Gr(t) {
|
|
316
|
+
var e = pt(t);
|
|
313
317
|
return function(r, a, n, i) {
|
|
314
318
|
for (var u = "", o = 0; o < e; o++)
|
|
315
319
|
u += t[o](r, a, n, i) || "";
|
|
316
320
|
return u;
|
|
317
321
|
};
|
|
318
322
|
}
|
|
319
|
-
function
|
|
323
|
+
function Sr(t) {
|
|
320
324
|
return function(e) {
|
|
321
325
|
e.root || (e = e.return) && t(e);
|
|
322
326
|
};
|
|
323
327
|
}
|
|
324
|
-
function
|
|
328
|
+
function Br(t) {
|
|
325
329
|
var e = /* @__PURE__ */ Object.create(null);
|
|
326
330
|
return function(r) {
|
|
327
331
|
return e[r] === void 0 && (e[r] = t(r)), e[r];
|
|
328
332
|
};
|
|
329
333
|
}
|
|
330
|
-
var
|
|
331
|
-
for (var n = 0, i = 0; n = i, i = ue(), n === 38 && i === 12 && (r[a] = 1), !
|
|
334
|
+
var Nr = function(e, r, a) {
|
|
335
|
+
for (var n = 0, i = 0; n = i, i = ue(), n === 38 && i === 12 && (r[a] = 1), !Ee(i); )
|
|
332
336
|
Q();
|
|
333
|
-
return
|
|
334
|
-
},
|
|
337
|
+
return Be(e, k);
|
|
338
|
+
}, Vr = function(e, r) {
|
|
335
339
|
var a = -1, n = 44;
|
|
336
340
|
do
|
|
337
|
-
switch (
|
|
341
|
+
switch (Ee(n)) {
|
|
338
342
|
case 0:
|
|
339
|
-
n === 38 && ue() === 12 && (r[a] = 1), e[a] +=
|
|
343
|
+
n === 38 && ue() === 12 && (r[a] = 1), e[a] += Nr(k - 1, r, a);
|
|
340
344
|
break;
|
|
341
345
|
case 2:
|
|
342
|
-
e[a] +=
|
|
346
|
+
e[a] += Te(n);
|
|
343
347
|
break;
|
|
344
348
|
case 4:
|
|
345
349
|
if (n === 44) {
|
|
@@ -347,22 +351,22 @@ var Vr = function(e, r, a) {
|
|
|
347
351
|
break;
|
|
348
352
|
}
|
|
349
353
|
default:
|
|
350
|
-
e[a] +=
|
|
354
|
+
e[a] += Ye(n);
|
|
351
355
|
}
|
|
352
356
|
while (n = Q());
|
|
353
357
|
return e;
|
|
354
|
-
},
|
|
355
|
-
return
|
|
356
|
-
},
|
|
358
|
+
}, Fr = function(e, r) {
|
|
359
|
+
return pn(Vr(mn(e), r));
|
|
360
|
+
}, Pt = /* @__PURE__ */ new WeakMap(), Rr = function(e) {
|
|
357
361
|
if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
|
|
358
362
|
// negative .length indicates that this rule has been already prefixed
|
|
359
363
|
e.length < 1)) {
|
|
360
364
|
for (var r = e.value, a = e.parent, n = e.column === a.column && e.line === a.line; a.type !== "rule"; )
|
|
361
365
|
if (a = a.parent, !a)
|
|
362
366
|
return;
|
|
363
|
-
if (!(e.props.length === 1 && r.charCodeAt(0) !== 58 && !
|
|
364
|
-
|
|
365
|
-
for (var i = [], u =
|
|
367
|
+
if (!(e.props.length === 1 && r.charCodeAt(0) !== 58 && !Pt.get(a)) && !n) {
|
|
368
|
+
Pt.set(e, !0);
|
|
369
|
+
for (var i = [], u = Fr(r, i), o = a.props, s = 0, c = 0; s < u.length; s++)
|
|
366
370
|
for (var l = 0; l < o.length; l++, c++)
|
|
367
371
|
e.props[c] = i[s] ? u[s].replace(/&\f/g, o[l]) : o[l] + " " + u[s];
|
|
368
372
|
}
|
|
@@ -374,14 +378,14 @@ var Vr = function(e, r, a) {
|
|
|
374
378
|
r.charCodeAt(0) === 108 && // charcode for b
|
|
375
379
|
r.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
376
380
|
}
|
|
377
|
-
},
|
|
378
|
-
return e.type === "comm" && e.children.indexOf(
|
|
379
|
-
},
|
|
381
|
+
}, wr = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", Xr = function(e) {
|
|
382
|
+
return e.type === "comm" && e.children.indexOf(wr) > -1;
|
|
383
|
+
}, Tr = function(e) {
|
|
380
384
|
return function(r, a, n) {
|
|
381
385
|
if (!(r.type !== "rule" || e.compat)) {
|
|
382
386
|
var i = r.value.match(/(:first|:nth|:nth-last)-child/g);
|
|
383
387
|
if (i) {
|
|
384
|
-
for (var u = r.parent
|
|
388
|
+
for (var u = !!r.parent, o = u ? r.parent.children : (
|
|
385
389
|
// global rule at the root level
|
|
386
390
|
n
|
|
387
391
|
), s = o.length - 1; s >= 0; s--) {
|
|
@@ -389,7 +393,7 @@ var Vr = function(e, r, a) {
|
|
|
389
393
|
if (c.line < r.line)
|
|
390
394
|
break;
|
|
391
395
|
if (c.column < r.column) {
|
|
392
|
-
if (
|
|
396
|
+
if (Xr(c))
|
|
393
397
|
return;
|
|
394
398
|
break;
|
|
395
399
|
}
|
|
@@ -400,22 +404,22 @@ var Vr = function(e, r, a) {
|
|
|
400
404
|
}
|
|
401
405
|
}
|
|
402
406
|
};
|
|
403
|
-
},
|
|
407
|
+
}, vn = function(e) {
|
|
404
408
|
return e.type.charCodeAt(1) === 105 && e.type.charCodeAt(0) === 64;
|
|
405
|
-
},
|
|
409
|
+
}, Zr = function(e, r) {
|
|
406
410
|
for (var a = e - 1; a >= 0; a--)
|
|
407
|
-
if (!
|
|
411
|
+
if (!vn(r[a]))
|
|
408
412
|
return !0;
|
|
409
413
|
return !1;
|
|
410
|
-
},
|
|
414
|
+
}, wt = function(e) {
|
|
411
415
|
e.type = "", e.value = "", e.return = "", e.children = "", e.props = "";
|
|
412
|
-
},
|
|
413
|
-
|
|
416
|
+
}, Or = function(e, r, a) {
|
|
417
|
+
vn(e) && (e.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), wt(e)) : Zr(r, a) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), wt(e)));
|
|
414
418
|
};
|
|
415
|
-
function
|
|
416
|
-
switch (
|
|
419
|
+
function In(t, e) {
|
|
420
|
+
switch (br(t, e)) {
|
|
417
421
|
case 5103:
|
|
418
|
-
return
|
|
422
|
+
return N + "print-" + t + t;
|
|
419
423
|
case 5737:
|
|
420
424
|
case 4201:
|
|
421
425
|
case 3177:
|
|
@@ -441,44 +445,44 @@ function yn(t, e) {
|
|
|
441
445
|
case 5365:
|
|
442
446
|
case 5621:
|
|
443
447
|
case 3829:
|
|
444
|
-
return
|
|
448
|
+
return N + t + t;
|
|
445
449
|
case 5349:
|
|
446
450
|
case 4246:
|
|
447
451
|
case 4810:
|
|
448
452
|
case 6968:
|
|
449
453
|
case 2756:
|
|
450
|
-
return
|
|
454
|
+
return N + t + Oe + t + L + t + t;
|
|
451
455
|
case 6828:
|
|
452
456
|
case 4268:
|
|
453
|
-
return
|
|
457
|
+
return N + t + L + t + t;
|
|
454
458
|
case 6165:
|
|
455
|
-
return
|
|
459
|
+
return N + t + L + "flex-" + t + t;
|
|
456
460
|
case 5187:
|
|
457
|
-
return
|
|
461
|
+
return N + t + V(t, /(\w+).+(:[^]+)/, N + "box-$1$2" + L + "flex-$1$2") + t;
|
|
458
462
|
case 5443:
|
|
459
|
-
return
|
|
463
|
+
return N + t + L + "flex-item-" + V(t, /flex-|-self/, "") + t;
|
|
460
464
|
case 4675:
|
|
461
|
-
return
|
|
465
|
+
return N + t + L + "flex-line-pack" + V(t, /align-content|flex-|-self/, "") + t;
|
|
462
466
|
case 5548:
|
|
463
|
-
return
|
|
467
|
+
return N + t + L + V(t, "shrink", "negative") + t;
|
|
464
468
|
case 5292:
|
|
465
|
-
return
|
|
469
|
+
return N + t + L + V(t, "basis", "preferred-size") + t;
|
|
466
470
|
case 6060:
|
|
467
|
-
return
|
|
471
|
+
return N + "box-" + V(t, "-grow", "") + N + t + L + V(t, "grow", "positive") + t;
|
|
468
472
|
case 4554:
|
|
469
|
-
return
|
|
473
|
+
return N + V(t, /([^-])(transform)/g, "$1" + N + "$2") + t;
|
|
470
474
|
case 6187:
|
|
471
|
-
return
|
|
475
|
+
return V(V(V(t, /(zoom-|grab)/, N + "$1"), /(image-set)/, N + "$1"), t, "") + t;
|
|
472
476
|
case 5495:
|
|
473
477
|
case 3959:
|
|
474
|
-
return
|
|
478
|
+
return V(t, /(image-set\([^]*)/, N + "$1$`$1");
|
|
475
479
|
case 4968:
|
|
476
|
-
return
|
|
480
|
+
return V(V(t, /(.+:)(flex-)?(.*)/, N + "box-pack:$3" + L + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + N + t + t;
|
|
477
481
|
case 4095:
|
|
478
482
|
case 3583:
|
|
479
483
|
case 4068:
|
|
480
484
|
case 2532:
|
|
481
|
-
return
|
|
485
|
+
return V(t, /(.+)-inline(.+)/, N + "$1$2") + t;
|
|
482
486
|
case 8116:
|
|
483
487
|
case 7059:
|
|
484
488
|
case 5753:
|
|
@@ -497,79 +501,79 @@ function yn(t, e) {
|
|
|
497
501
|
if (W(t, e + 4) !== 45)
|
|
498
502
|
break;
|
|
499
503
|
case 102:
|
|
500
|
-
return
|
|
504
|
+
return V(t, /(.+:)(.+)-([^]+)/, "$1" + N + "$2-$3$1" + Oe + (W(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
|
|
501
505
|
case 115:
|
|
502
|
-
return ~
|
|
506
|
+
return ~rt(t, "stretch") ? In(V(t, "stretch", "fill-available"), e) + t : t;
|
|
503
507
|
}
|
|
504
508
|
break;
|
|
505
509
|
case 4949:
|
|
506
510
|
if (W(t, e + 1) !== 115)
|
|
507
511
|
break;
|
|
508
512
|
case 6444:
|
|
509
|
-
switch (W(t, ae(t) - 3 - (~
|
|
513
|
+
switch (W(t, ae(t) - 3 - (~rt(t, "!important") && 10))) {
|
|
510
514
|
case 107:
|
|
511
|
-
return
|
|
515
|
+
return V(t, ":", ":" + N) + t;
|
|
512
516
|
case 101:
|
|
513
|
-
return
|
|
517
|
+
return V(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + N + (W(t, 14) === 45 ? "inline-" : "") + "box$3$1" + N + "$2$3$1" + L + "$2box$3") + t;
|
|
514
518
|
}
|
|
515
519
|
break;
|
|
516
520
|
case 5936:
|
|
517
521
|
switch (W(t, e + 11)) {
|
|
518
522
|
case 114:
|
|
519
|
-
return
|
|
523
|
+
return N + t + L + V(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
|
|
520
524
|
case 108:
|
|
521
|
-
return
|
|
525
|
+
return N + t + L + V(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
|
|
522
526
|
case 45:
|
|
523
|
-
return
|
|
527
|
+
return N + t + L + V(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
|
|
524
528
|
}
|
|
525
|
-
return
|
|
529
|
+
return N + t + L + t + t;
|
|
526
530
|
}
|
|
527
531
|
return t;
|
|
528
532
|
}
|
|
529
|
-
var
|
|
533
|
+
var Mr = function(e, r, a, n) {
|
|
530
534
|
if (e.length > -1 && !e.return)
|
|
531
535
|
switch (e.type) {
|
|
532
|
-
case
|
|
533
|
-
e.return =
|
|
536
|
+
case mt:
|
|
537
|
+
e.return = In(e.value, e.length);
|
|
534
538
|
break;
|
|
535
|
-
case
|
|
536
|
-
return
|
|
537
|
-
value:
|
|
539
|
+
case gn:
|
|
540
|
+
return fe([ye(e, {
|
|
541
|
+
value: V(e.value, "@", "@" + N)
|
|
538
542
|
})], n);
|
|
539
|
-
case
|
|
543
|
+
case ft:
|
|
540
544
|
if (e.length)
|
|
541
545
|
return mr(e.props, function(i) {
|
|
542
|
-
switch (
|
|
546
|
+
switch (fr(i, /(::plac\w+|:read-\w+)/)) {
|
|
543
547
|
case ":read-only":
|
|
544
548
|
case ":read-write":
|
|
545
|
-
return
|
|
546
|
-
props: [
|
|
549
|
+
return fe([ye(e, {
|
|
550
|
+
props: [V(i, /:(read-\w+)/, ":" + Oe + "$1")]
|
|
547
551
|
})], n);
|
|
548
552
|
case "::placeholder":
|
|
549
|
-
return
|
|
550
|
-
props: [
|
|
551
|
-
}),
|
|
552
|
-
props: [
|
|
553
|
-
}),
|
|
554
|
-
props: [
|
|
553
|
+
return fe([ye(e, {
|
|
554
|
+
props: [V(i, /:(plac\w+)/, ":" + N + "input-$1")]
|
|
555
|
+
}), ye(e, {
|
|
556
|
+
props: [V(i, /:(plac\w+)/, ":" + Oe + "$1")]
|
|
557
|
+
}), ye(e, {
|
|
558
|
+
props: [V(i, /:(plac\w+)/, L + "input-$1")]
|
|
555
559
|
})], n);
|
|
556
560
|
}
|
|
557
561
|
return "";
|
|
558
562
|
});
|
|
559
563
|
}
|
|
560
|
-
},
|
|
564
|
+
}, Wr = [Mr], Dr = function(e) {
|
|
561
565
|
var r = e.key;
|
|
562
566
|
if (process.env.NODE_ENV !== "production" && !r)
|
|
563
567
|
throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
564
568
|
If multiple caches share the same key they might "fight" for each other's style elements.`);
|
|
565
569
|
if (r === "css") {
|
|
566
570
|
var a = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
567
|
-
Array.prototype.forEach.call(a, function(
|
|
568
|
-
var g =
|
|
569
|
-
g.indexOf(" ") !== -1 && (document.head.appendChild(
|
|
571
|
+
Array.prototype.forEach.call(a, function(p) {
|
|
572
|
+
var g = p.getAttribute("data-emotion");
|
|
573
|
+
g.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
|
|
570
574
|
});
|
|
571
575
|
}
|
|
572
|
-
var n = e.stylisPlugins ||
|
|
576
|
+
var n = e.stylisPlugins || Wr;
|
|
573
577
|
if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(r))
|
|
574
578
|
throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + r + '" was passed');
|
|
575
579
|
var i = {}, u, o = [];
|
|
@@ -577,37 +581,37 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
577
581
|
// this means we will ignore elements which don't have a space in them which
|
|
578
582
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
579
583
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
580
|
-
function(
|
|
581
|
-
for (var g =
|
|
584
|
+
function(p) {
|
|
585
|
+
for (var g = p.getAttribute("data-emotion").split(" "), I = 1; I < g.length; I++)
|
|
582
586
|
i[g[I]] = !0;
|
|
583
|
-
o.push(
|
|
587
|
+
o.push(p);
|
|
584
588
|
}
|
|
585
589
|
);
|
|
586
|
-
var s, c = [
|
|
587
|
-
process.env.NODE_ENV !== "production" && c.push(
|
|
590
|
+
var s, c = [Rr, Pr];
|
|
591
|
+
process.env.NODE_ENV !== "production" && c.push(Tr({
|
|
588
592
|
get compat() {
|
|
589
593
|
return f.compat;
|
|
590
594
|
}
|
|
591
|
-
}),
|
|
595
|
+
}), Or);
|
|
592
596
|
{
|
|
593
|
-
var l, d = [
|
|
594
|
-
|
|
595
|
-
} :
|
|
596
|
-
l.insert(
|
|
597
|
-
})], v =
|
|
598
|
-
return
|
|
597
|
+
var l, d = [Er, process.env.NODE_ENV !== "production" ? function(p) {
|
|
598
|
+
p.root || (p.return ? l.insert(p.return) : p.value && p.type !== bt && l.insert(p.value + "{}"));
|
|
599
|
+
} : Sr(function(p) {
|
|
600
|
+
l.insert(p);
|
|
601
|
+
})], v = Gr(c.concat(n, d)), m = function(g) {
|
|
602
|
+
return fe(Ar(g), v);
|
|
599
603
|
};
|
|
600
604
|
s = function(g, I, h, y) {
|
|
601
605
|
l = h, process.env.NODE_ENV !== "production" && I.map !== void 0 && (l = {
|
|
602
606
|
insert: function(b) {
|
|
603
607
|
h.insert(b + I.map);
|
|
604
608
|
}
|
|
605
|
-
}),
|
|
609
|
+
}), m(g ? g + "{" + I.styles + "}" : I.styles), y && (f.inserted[I.name] = !0);
|
|
606
610
|
};
|
|
607
611
|
}
|
|
608
612
|
var f = {
|
|
609
613
|
key: r,
|
|
610
|
-
sheet: new
|
|
614
|
+
sheet: new sr({
|
|
611
615
|
key: r,
|
|
612
616
|
container: u,
|
|
613
617
|
nonce: e.nonce,
|
|
@@ -621,7 +625,7 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
621
625
|
insert: s
|
|
622
626
|
};
|
|
623
627
|
return f.sheet.hydrate(o), f;
|
|
624
|
-
},
|
|
628
|
+
}, at = { exports: {} }, F = {};
|
|
625
629
|
/** @license React v16.13.1
|
|
626
630
|
* react-is.production.min.js
|
|
627
631
|
*
|
|
@@ -630,16 +634,16 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
630
634
|
* This source code is licensed under the MIT license found in the
|
|
631
635
|
* LICENSE file in the root directory of this source tree.
|
|
632
636
|
*/
|
|
633
|
-
var
|
|
634
|
-
function
|
|
635
|
-
if (
|
|
636
|
-
return
|
|
637
|
-
|
|
638
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, a = t ? Symbol.for("react.fragment") : 60107, n = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, u = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, s = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, v = t ? Symbol.for("react.suspense_list") : 60120,
|
|
637
|
+
var Xt;
|
|
638
|
+
function Hr() {
|
|
639
|
+
if (Xt)
|
|
640
|
+
return F;
|
|
641
|
+
Xt = 1;
|
|
642
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, a = t ? Symbol.for("react.fragment") : 60107, n = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, u = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, s = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, v = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, f = t ? Symbol.for("react.lazy") : 60116, p = t ? Symbol.for("react.block") : 60121, g = t ? Symbol.for("react.fundamental") : 60117, I = t ? Symbol.for("react.responder") : 60118, h = t ? Symbol.for("react.scope") : 60119;
|
|
639
643
|
function y(b) {
|
|
640
644
|
if (typeof b == "object" && b !== null) {
|
|
641
|
-
var
|
|
642
|
-
switch (
|
|
645
|
+
var B = b.$$typeof;
|
|
646
|
+
switch (B) {
|
|
643
647
|
case e:
|
|
644
648
|
switch (b = b.type, b) {
|
|
645
649
|
case s:
|
|
@@ -654,50 +658,50 @@ function Lr() {
|
|
|
654
658
|
case o:
|
|
655
659
|
case l:
|
|
656
660
|
case f:
|
|
657
|
-
case
|
|
661
|
+
case m:
|
|
658
662
|
case u:
|
|
659
663
|
return b;
|
|
660
664
|
default:
|
|
661
|
-
return
|
|
665
|
+
return B;
|
|
662
666
|
}
|
|
663
667
|
}
|
|
664
668
|
case r:
|
|
665
|
-
return
|
|
669
|
+
return B;
|
|
666
670
|
}
|
|
667
671
|
}
|
|
668
672
|
}
|
|
669
673
|
function E(b) {
|
|
670
674
|
return y(b) === c;
|
|
671
675
|
}
|
|
672
|
-
return
|
|
676
|
+
return F.AsyncMode = s, F.ConcurrentMode = c, F.ContextConsumer = o, F.ContextProvider = u, F.Element = e, F.ForwardRef = l, F.Fragment = a, F.Lazy = f, F.Memo = m, F.Portal = r, F.Profiler = i, F.StrictMode = n, F.Suspense = d, F.isAsyncMode = function(b) {
|
|
673
677
|
return E(b) || y(b) === s;
|
|
674
|
-
},
|
|
678
|
+
}, F.isConcurrentMode = E, F.isContextConsumer = function(b) {
|
|
675
679
|
return y(b) === o;
|
|
676
|
-
},
|
|
680
|
+
}, F.isContextProvider = function(b) {
|
|
677
681
|
return y(b) === u;
|
|
678
|
-
},
|
|
682
|
+
}, F.isElement = function(b) {
|
|
679
683
|
return typeof b == "object" && b !== null && b.$$typeof === e;
|
|
680
|
-
},
|
|
684
|
+
}, F.isForwardRef = function(b) {
|
|
681
685
|
return y(b) === l;
|
|
682
|
-
},
|
|
686
|
+
}, F.isFragment = function(b) {
|
|
683
687
|
return y(b) === a;
|
|
684
|
-
},
|
|
688
|
+
}, F.isLazy = function(b) {
|
|
685
689
|
return y(b) === f;
|
|
686
|
-
},
|
|
687
|
-
return y(b) ===
|
|
688
|
-
},
|
|
690
|
+
}, F.isMemo = function(b) {
|
|
691
|
+
return y(b) === m;
|
|
692
|
+
}, F.isPortal = function(b) {
|
|
689
693
|
return y(b) === r;
|
|
690
|
-
},
|
|
694
|
+
}, F.isProfiler = function(b) {
|
|
691
695
|
return y(b) === i;
|
|
692
|
-
},
|
|
696
|
+
}, F.isStrictMode = function(b) {
|
|
693
697
|
return y(b) === n;
|
|
694
|
-
},
|
|
698
|
+
}, F.isSuspense = function(b) {
|
|
695
699
|
return y(b) === d;
|
|
696
|
-
},
|
|
697
|
-
return typeof b == "string" || typeof b == "function" || b === a || b === c || b === i || b === n || b === d || b === v || typeof b == "object" && b !== null && (b.$$typeof === f || b.$$typeof ===
|
|
698
|
-
},
|
|
700
|
+
}, F.isValidElementType = function(b) {
|
|
701
|
+
return typeof b == "string" || typeof b == "function" || b === a || b === c || b === i || b === n || b === d || b === v || typeof b == "object" && b !== null && (b.$$typeof === f || b.$$typeof === m || b.$$typeof === u || b.$$typeof === o || b.$$typeof === l || b.$$typeof === g || b.$$typeof === I || b.$$typeof === h || b.$$typeof === p);
|
|
702
|
+
}, F.typeOf = y, F;
|
|
699
703
|
}
|
|
700
|
-
var
|
|
704
|
+
var R = {};
|
|
701
705
|
/** @license React v16.13.1
|
|
702
706
|
* react-is.development.js
|
|
703
707
|
*
|
|
@@ -706,18 +710,18 @@ var F = {};
|
|
|
706
710
|
* This source code is licensed under the MIT license found in the
|
|
707
711
|
* LICENSE file in the root directory of this source tree.
|
|
708
712
|
*/
|
|
709
|
-
var
|
|
710
|
-
function
|
|
711
|
-
return
|
|
712
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, a = t ? Symbol.for("react.fragment") : 60107, n = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, u = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, s = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, v = t ? Symbol.for("react.suspense_list") : 60120,
|
|
713
|
+
var Tt;
|
|
714
|
+
function Lr() {
|
|
715
|
+
return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
716
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, a = t ? Symbol.for("react.fragment") : 60107, n = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, u = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, s = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, v = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, f = t ? Symbol.for("react.lazy") : 60116, p = t ? Symbol.for("react.block") : 60121, g = t ? Symbol.for("react.fundamental") : 60117, I = t ? Symbol.for("react.responder") : 60118, h = t ? Symbol.for("react.scope") : 60119;
|
|
713
717
|
function y(C) {
|
|
714
718
|
return typeof C == "string" || typeof C == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
715
|
-
C === a || C === c || C === i || C === n || C === d || C === v || typeof C == "object" && C !== null && (C.$$typeof === f || C.$$typeof ===
|
|
719
|
+
C === a || C === c || C === i || C === n || C === d || C === v || typeof C == "object" && C !== null && (C.$$typeof === f || C.$$typeof === m || C.$$typeof === u || C.$$typeof === o || C.$$typeof === l || C.$$typeof === g || C.$$typeof === I || C.$$typeof === h || C.$$typeof === p);
|
|
716
720
|
}
|
|
717
721
|
function E(C) {
|
|
718
722
|
if (typeof C == "object" && C !== null) {
|
|
719
|
-
var
|
|
720
|
-
switch (
|
|
723
|
+
var he = C.$$typeof;
|
|
724
|
+
switch (he) {
|
|
721
725
|
case e:
|
|
722
726
|
var le = C.type;
|
|
723
727
|
switch (le) {
|
|
@@ -729,24 +733,24 @@ function Yr() {
|
|
|
729
733
|
case d:
|
|
730
734
|
return le;
|
|
731
735
|
default:
|
|
732
|
-
var
|
|
733
|
-
switch (
|
|
736
|
+
var Ve = le && le.$$typeof;
|
|
737
|
+
switch (Ve) {
|
|
734
738
|
case o:
|
|
735
739
|
case l:
|
|
736
740
|
case f:
|
|
737
|
-
case
|
|
741
|
+
case m:
|
|
738
742
|
case u:
|
|
739
|
-
return
|
|
743
|
+
return Ve;
|
|
740
744
|
default:
|
|
741
|
-
return
|
|
745
|
+
return he;
|
|
742
746
|
}
|
|
743
747
|
}
|
|
744
748
|
case r:
|
|
745
|
-
return
|
|
749
|
+
return he;
|
|
746
750
|
}
|
|
747
751
|
}
|
|
748
752
|
}
|
|
749
|
-
var b = s,
|
|
753
|
+
var b = s, B = c, A = o, P = u, X = e, z = l, J = a, j = f, D = m, O = r, T = i, U = n, Y = d, _ = !1;
|
|
750
754
|
function ne(C) {
|
|
751
755
|
return _ || (_ = !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.")), ee(C) || E(C) === s;
|
|
752
756
|
}
|
|
@@ -772,48 +776,48 @@ function Yr() {
|
|
|
772
776
|
return E(C) === f;
|
|
773
777
|
}
|
|
774
778
|
function K(C) {
|
|
775
|
-
return E(C) ===
|
|
779
|
+
return E(C) === m;
|
|
776
780
|
}
|
|
777
781
|
function ce(C) {
|
|
778
782
|
return E(C) === r;
|
|
779
783
|
}
|
|
780
|
-
function
|
|
784
|
+
function de(C) {
|
|
781
785
|
return E(C) === i;
|
|
782
786
|
}
|
|
783
|
-
function
|
|
787
|
+
function Je(C) {
|
|
784
788
|
return E(C) === n;
|
|
785
789
|
}
|
|
786
|
-
function
|
|
790
|
+
function Ne(C) {
|
|
787
791
|
return E(C) === d;
|
|
788
792
|
}
|
|
789
|
-
|
|
790
|
-
}()),
|
|
793
|
+
R.AsyncMode = b, R.ConcurrentMode = B, R.ContextConsumer = A, R.ContextProvider = P, R.Element = X, R.ForwardRef = z, R.Fragment = J, R.Lazy = j, R.Memo = D, R.Portal = O, R.Profiler = T, R.StrictMode = U, R.Suspense = Y, R.isAsyncMode = ne, R.isConcurrentMode = ee, R.isContextConsumer = oe, R.isContextProvider = M, R.isElement = H, R.isForwardRef = re, R.isFragment = ie, R.isLazy = $, R.isMemo = K, R.isPortal = ce, R.isProfiler = de, R.isStrictMode = Je, R.isSuspense = Ne, R.isValidElementType = y, R.typeOf = E;
|
|
794
|
+
}()), R;
|
|
791
795
|
}
|
|
792
|
-
process.env.NODE_ENV === "production" ?
|
|
793
|
-
var
|
|
796
|
+
process.env.NODE_ENV === "production" ? at.exports = Hr() : at.exports = Lr();
|
|
797
|
+
var Yr = at.exports, hn = Yr, zr = {
|
|
794
798
|
$$typeof: !0,
|
|
795
799
|
render: !0,
|
|
796
800
|
defaultProps: !0,
|
|
797
801
|
displayName: !0,
|
|
798
802
|
propTypes: !0
|
|
799
|
-
},
|
|
803
|
+
}, jr = {
|
|
800
804
|
$$typeof: !0,
|
|
801
805
|
compare: !0,
|
|
802
806
|
defaultProps: !0,
|
|
803
807
|
displayName: !0,
|
|
804
808
|
propTypes: !0,
|
|
805
809
|
type: !0
|
|
806
|
-
},
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
var
|
|
810
|
-
function
|
|
810
|
+
}, Cn = {};
|
|
811
|
+
Cn[hn.ForwardRef] = zr;
|
|
812
|
+
Cn[hn.Memo] = jr;
|
|
813
|
+
var kr = !0;
|
|
814
|
+
function yn(t, e, r) {
|
|
811
815
|
var a = "";
|
|
812
816
|
return r.split(" ").forEach(function(n) {
|
|
813
817
|
t[n] !== void 0 ? e.push(t[n] + ";") : a += n + " ";
|
|
814
818
|
}), a;
|
|
815
819
|
}
|
|
816
|
-
var
|
|
820
|
+
var vt = function(e, r, a) {
|
|
817
821
|
var n = e.key + "-" + r.name;
|
|
818
822
|
// we only need to add the styles to the registered cache if the
|
|
819
823
|
// class name could be used further down
|
|
@@ -824,9 +828,9 @@ var Ct = function(e, r, a) {
|
|
|
824
828
|
// in node since emotion-server relies on whether a style is in
|
|
825
829
|
// the registered cache to know whether a style is global or not
|
|
826
830
|
// also, note that this check will be dead code eliminated in the browser
|
|
827
|
-
|
|
828
|
-
},
|
|
829
|
-
|
|
831
|
+
kr === !1) && e.registered[n] === void 0 && (e.registered[n] = r.styles);
|
|
832
|
+
}, It = function(e, r, a) {
|
|
833
|
+
vt(e, r, a);
|
|
830
834
|
var n = e.key + "-" + r.name;
|
|
831
835
|
if (e.inserted[r.name] === void 0) {
|
|
832
836
|
var i = r;
|
|
@@ -835,7 +839,7 @@ var Ct = function(e, r, a) {
|
|
|
835
839
|
while (i !== void 0);
|
|
836
840
|
}
|
|
837
841
|
};
|
|
838
|
-
function
|
|
842
|
+
function Jr(t) {
|
|
839
843
|
for (var e = 0, r, a = 0, n = t.length; n >= 4; ++a, n -= 4)
|
|
840
844
|
r = t.charCodeAt(a) & 255 | (t.charCodeAt(++a) & 255) << 8 | (t.charCodeAt(++a) & 255) << 16 | (t.charCodeAt(++a) & 255) << 24, r = /* Math.imul(k, m): */
|
|
841
845
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
@@ -854,8 +858,9 @@ function Ur(t) {
|
|
|
854
858
|
return e ^= e >>> 13, e = /* Math.imul(h, m): */
|
|
855
859
|
(e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
|
|
856
860
|
}
|
|
857
|
-
var
|
|
861
|
+
var Ur = {
|
|
858
862
|
animationIterationCount: 1,
|
|
863
|
+
aspectRatio: 1,
|
|
859
864
|
borderImageOutset: 1,
|
|
860
865
|
borderImageSlice: 1,
|
|
861
866
|
borderImageWidth: 1,
|
|
@@ -901,21 +906,21 @@ var _r = {
|
|
|
901
906
|
strokeMiterlimit: 1,
|
|
902
907
|
strokeOpacity: 1,
|
|
903
908
|
strokeWidth: 1
|
|
904
|
-
},
|
|
909
|
+
}, Zt = `You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
905
910
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
906
911
|
You can read more about this here:
|
|
907
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
912
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, _r = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Qr = /[A-Z]|^ms/g, An = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ht = function(e) {
|
|
908
913
|
return e.charCodeAt(1) === 45;
|
|
909
|
-
},
|
|
914
|
+
}, Ot = function(e) {
|
|
910
915
|
return e != null && typeof e != "boolean";
|
|
911
|
-
},
|
|
912
|
-
return
|
|
913
|
-
}),
|
|
916
|
+
}, _e = /* @__PURE__ */ Br(function(t) {
|
|
917
|
+
return ht(t) ? t : t.replace(Qr, "-$&").toLowerCase();
|
|
918
|
+
}), Me = function(e, r) {
|
|
914
919
|
switch (e) {
|
|
915
920
|
case "animation":
|
|
916
921
|
case "animationName":
|
|
917
922
|
if (typeof r == "string")
|
|
918
|
-
return r.replace(
|
|
923
|
+
return r.replace(An, function(a, n, i) {
|
|
919
924
|
return te = {
|
|
920
925
|
name: n,
|
|
921
926
|
styles: i,
|
|
@@ -923,26 +928,26 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
923
928
|
}, n;
|
|
924
929
|
});
|
|
925
930
|
}
|
|
926
|
-
return
|
|
931
|
+
return Ur[e] !== 1 && !ht(e) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
927
932
|
};
|
|
928
933
|
if (process.env.NODE_ENV !== "production") {
|
|
929
|
-
var
|
|
930
|
-
|
|
931
|
-
if (e === "content" && (typeof r != "string" ||
|
|
934
|
+
var $r = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, Kr = ["normal", "none", "initial", "inherit", "unset"], qr = Me, ei = /^-ms-/, ti = /-(.)/g, Mt = {};
|
|
935
|
+
Me = function(e, r) {
|
|
936
|
+
if (e === "content" && (typeof r != "string" || Kr.indexOf(r) === -1 && !$r.test(r) && (r.charAt(0) !== r.charAt(r.length - 1) || r.charAt(0) !== '"' && r.charAt(0) !== "'")))
|
|
932
937
|
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + r + "\"'`");
|
|
933
|
-
var a =
|
|
934
|
-
return a !== "" && !
|
|
938
|
+
var a = qr(e, r);
|
|
939
|
+
return a !== "" && !ht(e) && e.indexOf("-") !== -1 && Mt[e] === void 0 && (Mt[e] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + e.replace(ei, "ms-").replace(ti, function(n, i) {
|
|
935
940
|
return i.toUpperCase();
|
|
936
941
|
}) + "?")), a;
|
|
937
942
|
};
|
|
938
943
|
}
|
|
939
|
-
var
|
|
940
|
-
function
|
|
944
|
+
var xn = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
945
|
+
function Ge(t, e, r) {
|
|
941
946
|
if (r == null)
|
|
942
947
|
return "";
|
|
943
948
|
if (r.__emotion_styles !== void 0) {
|
|
944
949
|
if (process.env.NODE_ENV !== "production" && r.toString() === "NO_COMPONENT_SELECTOR")
|
|
945
|
-
throw new Error(
|
|
950
|
+
throw new Error(xn);
|
|
946
951
|
return r;
|
|
947
952
|
}
|
|
948
953
|
switch (typeof r) {
|
|
@@ -967,21 +972,21 @@ function Be(t, e, r) {
|
|
|
967
972
|
var n = r.styles + ";";
|
|
968
973
|
return process.env.NODE_ENV !== "production" && r.map !== void 0 && (n += r.map), n;
|
|
969
974
|
}
|
|
970
|
-
return
|
|
975
|
+
return ni(t, e, r);
|
|
971
976
|
}
|
|
972
977
|
case "function": {
|
|
973
978
|
if (t !== void 0) {
|
|
974
979
|
var i = te, u = r(t);
|
|
975
|
-
return te = i,
|
|
980
|
+
return te = i, Ge(t, e, u);
|
|
976
981
|
} else
|
|
977
982
|
process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
|
|
978
983
|
break;
|
|
979
984
|
}
|
|
980
985
|
case "string":
|
|
981
986
|
if (process.env.NODE_ENV !== "production") {
|
|
982
|
-
var o = [], s = r.replace(
|
|
983
|
-
var
|
|
984
|
-
return o.push("const " +
|
|
987
|
+
var o = [], s = r.replace(An, function(l, d, v) {
|
|
988
|
+
var m = "animation" + o.length;
|
|
989
|
+
return o.push("const " + m + " = keyframes`" + v.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + m + "}";
|
|
985
990
|
});
|
|
986
991
|
o.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(o, ["`" + s + "`"]).join(`
|
|
987
992
|
`) + `
|
|
@@ -997,57 +1002,57 @@ You should wrap it with \`css\` like this:
|
|
|
997
1002
|
var c = e[r];
|
|
998
1003
|
return c !== void 0 ? c : r;
|
|
999
1004
|
}
|
|
1000
|
-
function
|
|
1005
|
+
function ni(t, e, r) {
|
|
1001
1006
|
var a = "";
|
|
1002
1007
|
if (Array.isArray(r))
|
|
1003
1008
|
for (var n = 0; n < r.length; n++)
|
|
1004
|
-
a +=
|
|
1009
|
+
a += Ge(t, e, r[n]) + ";";
|
|
1005
1010
|
else
|
|
1006
1011
|
for (var i in r) {
|
|
1007
1012
|
var u = r[i];
|
|
1008
1013
|
if (typeof u != "object")
|
|
1009
|
-
e != null && e[u] !== void 0 ? a += i + "{" + e[u] + "}" :
|
|
1014
|
+
e != null && e[u] !== void 0 ? a += i + "{" + e[u] + "}" : Ot(u) && (a += _e(i) + ":" + Me(i, u) + ";");
|
|
1010
1015
|
else {
|
|
1011
1016
|
if (i === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
|
|
1012
|
-
throw new Error(
|
|
1017
|
+
throw new Error(xn);
|
|
1013
1018
|
if (Array.isArray(u) && typeof u[0] == "string" && (e == null || e[u[0]] === void 0))
|
|
1014
1019
|
for (var o = 0; o < u.length; o++)
|
|
1015
|
-
|
|
1020
|
+
Ot(u[o]) && (a += _e(i) + ":" + Me(i, u[o]) + ";");
|
|
1016
1021
|
else {
|
|
1017
|
-
var s =
|
|
1022
|
+
var s = Ge(t, e, u);
|
|
1018
1023
|
switch (i) {
|
|
1019
1024
|
case "animation":
|
|
1020
1025
|
case "animationName": {
|
|
1021
|
-
a +=
|
|
1026
|
+
a += _e(i) + ":" + s + ";";
|
|
1022
1027
|
break;
|
|
1023
1028
|
}
|
|
1024
1029
|
default:
|
|
1025
|
-
process.env.NODE_ENV !== "production" && i === "undefined" && console.error(
|
|
1030
|
+
process.env.NODE_ENV !== "production" && i === "undefined" && console.error(_r), a += i + "{" + s + "}";
|
|
1026
1031
|
}
|
|
1027
1032
|
}
|
|
1028
1033
|
}
|
|
1029
1034
|
}
|
|
1030
1035
|
return a;
|
|
1031
1036
|
}
|
|
1032
|
-
var
|
|
1033
|
-
process.env.NODE_ENV !== "production" && (
|
|
1034
|
-
var te,
|
|
1037
|
+
var Wt = /label:\s*([^\s;\n{]+)\s*(;|$)/g, En;
|
|
1038
|
+
process.env.NODE_ENV !== "production" && (En = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
|
|
1039
|
+
var te, Se = function(e, r, a) {
|
|
1035
1040
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1036
1041
|
return e[0];
|
|
1037
1042
|
var n = !0, i = "";
|
|
1038
1043
|
te = void 0;
|
|
1039
1044
|
var u = e[0];
|
|
1040
|
-
u == null || u.raw === void 0 ? (n = !1, i +=
|
|
1045
|
+
u == null || u.raw === void 0 ? (n = !1, i += Ge(a, r, u)) : (process.env.NODE_ENV !== "production" && u[0] === void 0 && console.error(Zt), i += u[0]);
|
|
1041
1046
|
for (var o = 1; o < e.length; o++)
|
|
1042
|
-
i +=
|
|
1047
|
+
i += Ge(a, r, e[o]), n && (process.env.NODE_ENV !== "production" && u[o] === void 0 && console.error(Zt), i += u[o]);
|
|
1043
1048
|
var s;
|
|
1044
|
-
process.env.NODE_ENV !== "production" && (i = i.replace(
|
|
1049
|
+
process.env.NODE_ENV !== "production" && (i = i.replace(En, function(v) {
|
|
1045
1050
|
return s = v, "";
|
|
1046
|
-
})),
|
|
1047
|
-
for (var c = "", l; (l =
|
|
1051
|
+
})), Wt.lastIndex = 0;
|
|
1052
|
+
for (var c = "", l; (l = Wt.exec(i)) !== null; )
|
|
1048
1053
|
c += "-" + // $FlowFixMe we know it's not null
|
|
1049
1054
|
l[1];
|
|
1050
|
-
var d =
|
|
1055
|
+
var d = Jr(i) + c;
|
|
1051
1056
|
return process.env.NODE_ENV !== "production" ? {
|
|
1052
1057
|
name: d,
|
|
1053
1058
|
styles: i,
|
|
@@ -1061,90 +1066,90 @@ var te, Ne = function(e, r, a) {
|
|
|
1061
1066
|
styles: i,
|
|
1062
1067
|
next: te
|
|
1063
1068
|
};
|
|
1064
|
-
},
|
|
1069
|
+
}, ri = function(e) {
|
|
1065
1070
|
return e();
|
|
1066
|
-
},
|
|
1071
|
+
}, Gn = G["useInsertionEffect"] ? G["useInsertionEffect"] : !1, Sn = Gn || ri, Dt = Gn || G.useLayoutEffect, Ct = {}.hasOwnProperty, yt = /* @__PURE__ */ G.createContext(
|
|
1067
1072
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1068
1073
|
// because this module is primarily intended for the browser and node
|
|
1069
1074
|
// but it's also required in react native and similar environments sometimes
|
|
1070
1075
|
// and we could have a special build just for that
|
|
1071
1076
|
// but this is much easier and the native packages
|
|
1072
1077
|
// might use a different theme context in the future anyway
|
|
1073
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */
|
|
1078
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Dr({
|
|
1074
1079
|
key: "css"
|
|
1075
1080
|
}) : null
|
|
1076
1081
|
);
|
|
1077
|
-
process.env.NODE_ENV !== "production" && (
|
|
1078
|
-
|
|
1079
|
-
var
|
|
1080
|
-
return /* @__PURE__ */
|
|
1081
|
-
var n =
|
|
1082
|
+
process.env.NODE_ENV !== "production" && (yt.displayName = "EmotionCacheContext");
|
|
1083
|
+
yt.Provider;
|
|
1084
|
+
var At = function(e) {
|
|
1085
|
+
return /* @__PURE__ */ ln(function(r, a) {
|
|
1086
|
+
var n = rr(yt);
|
|
1082
1087
|
return e(r, n, a);
|
|
1083
1088
|
});
|
|
1084
|
-
},
|
|
1085
|
-
process.env.NODE_ENV !== "production" && (
|
|
1086
|
-
var
|
|
1089
|
+
}, ke = /* @__PURE__ */ G.createContext({});
|
|
1090
|
+
process.env.NODE_ENV !== "production" && (ke.displayName = "EmotionThemeContext");
|
|
1091
|
+
var Ht = function(e) {
|
|
1087
1092
|
var r = e.split(".");
|
|
1088
1093
|
return r[r.length - 1];
|
|
1089
|
-
},
|
|
1094
|
+
}, ii = function(e) {
|
|
1090
1095
|
var r = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);
|
|
1091
1096
|
if (r || (r = /^([A-Za-z0-9$.]+)@/.exec(e), r))
|
|
1092
|
-
return
|
|
1093
|
-
},
|
|
1097
|
+
return Ht(r[1]);
|
|
1098
|
+
}, ai = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), ui = function(e) {
|
|
1094
1099
|
return e.replace(/\$/g, "-");
|
|
1095
|
-
},
|
|
1100
|
+
}, oi = function(e) {
|
|
1096
1101
|
if (e)
|
|
1097
1102
|
for (var r = e.split(`
|
|
1098
1103
|
`), a = 0; a < r.length; a++) {
|
|
1099
|
-
var n =
|
|
1104
|
+
var n = ii(r[a]);
|
|
1100
1105
|
if (n) {
|
|
1101
|
-
if (
|
|
1106
|
+
if (ai.has(n))
|
|
1102
1107
|
break;
|
|
1103
1108
|
if (/^[A-Z]/.test(n))
|
|
1104
|
-
return
|
|
1109
|
+
return ui(n);
|
|
1105
1110
|
}
|
|
1106
1111
|
}
|
|
1107
|
-
},
|
|
1112
|
+
}, ut = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", ot = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", si = function(e, r) {
|
|
1108
1113
|
if (process.env.NODE_ENV !== "production" && typeof r.css == "string" && // check if there is a css declaration
|
|
1109
1114
|
r.css.indexOf(":") !== -1)
|
|
1110
1115
|
throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + r.css + "`");
|
|
1111
1116
|
var a = {};
|
|
1112
1117
|
for (var n in r)
|
|
1113
|
-
|
|
1114
|
-
if (a[
|
|
1115
|
-
var i =
|
|
1116
|
-
i && (a[
|
|
1118
|
+
Ct.call(r, n) && (a[n] = r[n]);
|
|
1119
|
+
if (a[ut] = e, process.env.NODE_ENV !== "production" && r.css && (typeof r.css != "object" || typeof r.css.name != "string" || r.css.name.indexOf("-") === -1)) {
|
|
1120
|
+
var i = oi(new Error().stack);
|
|
1121
|
+
i && (a[ot] = i);
|
|
1117
1122
|
}
|
|
1118
1123
|
return a;
|
|
1119
|
-
},
|
|
1124
|
+
}, ci = function(e) {
|
|
1120
1125
|
var r = e.cache, a = e.serialized, n = e.isStringTag;
|
|
1121
|
-
return
|
|
1122
|
-
return
|
|
1126
|
+
return vt(r, a, n), Sn(function() {
|
|
1127
|
+
return It(r, a, n);
|
|
1123
1128
|
}), null;
|
|
1124
|
-
},
|
|
1129
|
+
}, Bn = /* @__PURE__ */ At(function(t, e, r) {
|
|
1125
1130
|
var a = t.css;
|
|
1126
1131
|
typeof a == "string" && e.registered[a] !== void 0 && (a = e.registered[a]);
|
|
1127
|
-
var n = t[
|
|
1128
|
-
typeof t.className == "string" ? u =
|
|
1129
|
-
var o =
|
|
1132
|
+
var n = t[ut], i = [a], u = "";
|
|
1133
|
+
typeof t.className == "string" ? u = yn(e.registered, i, t.className) : t.className != null && (u = t.className + " ");
|
|
1134
|
+
var o = Se(i, void 0, G.useContext(ke));
|
|
1130
1135
|
if (process.env.NODE_ENV !== "production" && o.name.indexOf("-") === -1) {
|
|
1131
|
-
var s = t[
|
|
1132
|
-
s && (o =
|
|
1136
|
+
var s = t[ot];
|
|
1137
|
+
s && (o = Se([o, "label:" + s + ";"]));
|
|
1133
1138
|
}
|
|
1134
1139
|
u += e.key + "-" + o.name;
|
|
1135
1140
|
var c = {};
|
|
1136
1141
|
for (var l in t)
|
|
1137
|
-
|
|
1138
|
-
return c.ref = r, c.className = u, /* @__PURE__ */
|
|
1142
|
+
Ct.call(t, l) && l !== "css" && l !== ut && (process.env.NODE_ENV === "production" || l !== ot) && (c[l] = t[l]);
|
|
1143
|
+
return c.ref = r, c.className = u, /* @__PURE__ */ G.createElement(G.Fragment, null, /* @__PURE__ */ G.createElement(ci, {
|
|
1139
1144
|
cache: e,
|
|
1140
1145
|
serialized: o,
|
|
1141
1146
|
isStringTag: typeof n == "string"
|
|
1142
|
-
}), /* @__PURE__ */
|
|
1147
|
+
}), /* @__PURE__ */ G.createElement(n, c));
|
|
1143
1148
|
});
|
|
1144
|
-
process.env.NODE_ENV !== "production" && (
|
|
1145
|
-
var di = {
|
|
1149
|
+
process.env.NODE_ENV !== "production" && (Bn.displayName = "EmotionCssPropInternal");
|
|
1150
|
+
var li = Bn, di = {
|
|
1146
1151
|
name: "@emotion/react",
|
|
1147
|
-
version: "11.
|
|
1152
|
+
version: "11.11.3",
|
|
1148
1153
|
main: "dist/emotion-react.cjs.js",
|
|
1149
1154
|
module: "dist/emotion-react.esm.js",
|
|
1150
1155
|
browser: {
|
|
@@ -1157,6 +1162,7 @@ var di = {
|
|
|
1157
1162
|
browser: "./dist/emotion-react.browser.esm.js",
|
|
1158
1163
|
default: "./dist/emotion-react.esm.js"
|
|
1159
1164
|
},
|
|
1165
|
+
import: "./dist/emotion-react.cjs.mjs",
|
|
1160
1166
|
default: "./dist/emotion-react.cjs.js"
|
|
1161
1167
|
},
|
|
1162
1168
|
"./jsx-runtime": {
|
|
@@ -1165,6 +1171,7 @@ var di = {
|
|
|
1165
1171
|
browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
|
|
1166
1172
|
default: "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
|
|
1167
1173
|
},
|
|
1174
|
+
import: "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
|
|
1168
1175
|
default: "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
|
|
1169
1176
|
},
|
|
1170
1177
|
"./_isolated-hnrs": {
|
|
@@ -1173,6 +1180,7 @@ var di = {
|
|
|
1173
1180
|
browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
|
|
1174
1181
|
default: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
|
|
1175
1182
|
},
|
|
1183
|
+
import: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
|
|
1176
1184
|
default: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
|
|
1177
1185
|
},
|
|
1178
1186
|
"./jsx-dev-runtime": {
|
|
@@ -1181,11 +1189,18 @@ var di = {
|
|
|
1181
1189
|
browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
|
|
1182
1190
|
default: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
|
|
1183
1191
|
},
|
|
1192
|
+
import: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
|
|
1184
1193
|
default: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
|
|
1185
1194
|
},
|
|
1186
1195
|
"./package.json": "./package.json",
|
|
1187
1196
|
"./types/css-prop": "./types/css-prop.d.ts",
|
|
1188
|
-
"./macro":
|
|
1197
|
+
"./macro": {
|
|
1198
|
+
types: {
|
|
1199
|
+
import: "./macro.d.mts",
|
|
1200
|
+
default: "./macro.d.ts"
|
|
1201
|
+
},
|
|
1202
|
+
default: "./macro.js"
|
|
1203
|
+
}
|
|
1189
1204
|
},
|
|
1190
1205
|
types: "types/index.d.ts",
|
|
1191
1206
|
files: [
|
|
@@ -1195,9 +1210,7 @@ var di = {
|
|
|
1195
1210
|
"jsx-dev-runtime",
|
|
1196
1211
|
"_isolated-hnrs",
|
|
1197
1212
|
"types/*.d.ts",
|
|
1198
|
-
"macro
|
|
1199
|
-
"macro.d.ts",
|
|
1200
|
-
"macro.js.flow"
|
|
1213
|
+
"macro.*"
|
|
1201
1214
|
],
|
|
1202
1215
|
sideEffects: !1,
|
|
1203
1216
|
author: "Emotion Contributors",
|
|
@@ -1207,33 +1220,28 @@ var di = {
|
|
|
1207
1220
|
},
|
|
1208
1221
|
dependencies: {
|
|
1209
1222
|
"@babel/runtime": "^7.18.3",
|
|
1210
|
-
"@emotion/babel-plugin": "^11.
|
|
1211
|
-
"@emotion/cache": "^11.
|
|
1212
|
-
"@emotion/serialize": "^1.1.
|
|
1213
|
-
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.
|
|
1214
|
-
"@emotion/utils": "^1.2.
|
|
1215
|
-
"@emotion/weak-memoize": "^0.3.
|
|
1223
|
+
"@emotion/babel-plugin": "^11.11.0",
|
|
1224
|
+
"@emotion/cache": "^11.11.0",
|
|
1225
|
+
"@emotion/serialize": "^1.1.3",
|
|
1226
|
+
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
|
|
1227
|
+
"@emotion/utils": "^1.2.1",
|
|
1228
|
+
"@emotion/weak-memoize": "^0.3.1",
|
|
1216
1229
|
"hoist-non-react-statics": "^3.3.1"
|
|
1217
1230
|
},
|
|
1218
1231
|
peerDependencies: {
|
|
1219
|
-
"@babel/core": "^7.0.0",
|
|
1220
1232
|
react: ">=16.8.0"
|
|
1221
1233
|
},
|
|
1222
1234
|
peerDependenciesMeta: {
|
|
1223
|
-
"@babel/core": {
|
|
1224
|
-
optional: !0
|
|
1225
|
-
},
|
|
1226
1235
|
"@types/react": {
|
|
1227
1236
|
optional: !0
|
|
1228
1237
|
}
|
|
1229
1238
|
},
|
|
1230
1239
|
devDependencies: {
|
|
1231
|
-
"@babel/core": "^7.18.5",
|
|
1232
1240
|
"@definitelytyped/dtslint": "0.0.112",
|
|
1233
|
-
"@emotion/css": "11.
|
|
1234
|
-
"@emotion/css-prettifier": "1.1.
|
|
1235
|
-
"@emotion/server": "11.
|
|
1236
|
-
"@emotion/styled": "11.
|
|
1241
|
+
"@emotion/css": "11.11.2",
|
|
1242
|
+
"@emotion/css-prettifier": "1.1.3",
|
|
1243
|
+
"@emotion/server": "11.11.0",
|
|
1244
|
+
"@emotion/styled": "11.11.0",
|
|
1237
1245
|
"html-tag-names": "^1.1.2",
|
|
1238
1246
|
react: "16.14.0",
|
|
1239
1247
|
"svg-tag-names": "^1.1.1",
|
|
@@ -1259,27 +1267,33 @@ var di = {
|
|
|
1259
1267
|
],
|
|
1260
1268
|
extra: {
|
|
1261
1269
|
"./types/css-prop": "./types/css-prop.d.ts",
|
|
1262
|
-
"./macro":
|
|
1270
|
+
"./macro": {
|
|
1271
|
+
types: {
|
|
1272
|
+
import: "./macro.d.mts",
|
|
1273
|
+
default: "./macro.d.ts"
|
|
1274
|
+
},
|
|
1275
|
+
default: "./macro.js"
|
|
1276
|
+
}
|
|
1263
1277
|
}
|
|
1264
1278
|
}
|
|
1265
1279
|
}
|
|
1266
|
-
},
|
|
1280
|
+
}, x = function(e, r) {
|
|
1267
1281
|
var a = arguments;
|
|
1268
|
-
if (r == null || !
|
|
1269
|
-
return
|
|
1282
|
+
if (r == null || !Ct.call(r, "css"))
|
|
1283
|
+
return G.createElement.apply(void 0, a);
|
|
1270
1284
|
var n = a.length, i = new Array(n);
|
|
1271
|
-
i[0] =
|
|
1285
|
+
i[0] = li, i[1] = si(e, r);
|
|
1272
1286
|
for (var u = 2; u < n; u++)
|
|
1273
1287
|
i[u] = a[u];
|
|
1274
|
-
return
|
|
1275
|
-
},
|
|
1276
|
-
process.env.NODE_ENV !== "production" && !
|
|
1288
|
+
return G.createElement.apply(null, i);
|
|
1289
|
+
}, Lt = !1, gi = /* @__PURE__ */ At(function(t, e) {
|
|
1290
|
+
process.env.NODE_ENV !== "production" && !Lt && // check for className as well since the user is
|
|
1277
1291
|
// probably using the custom createElement which
|
|
1278
1292
|
// means it will be turned into a className prop
|
|
1279
1293
|
// $FlowFixMe I don't really want to add it to the type since it shouldn't be used
|
|
1280
|
-
(t.className || t.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),
|
|
1281
|
-
var r = t.styles, a =
|
|
1282
|
-
return
|
|
1294
|
+
(t.className || t.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), Lt = !0);
|
|
1295
|
+
var r = t.styles, a = Se([r], void 0, G.useContext(ke)), n = G.useRef();
|
|
1296
|
+
return Dt(function() {
|
|
1283
1297
|
var i = e.key + "-global", u = new e.sheet.constructor({
|
|
1284
1298
|
key: i,
|
|
1285
1299
|
nonce: e.sheet.nonce,
|
|
@@ -1289,13 +1303,13 @@ var di = {
|
|
|
1289
1303
|
return e.sheet.tags.length && (u.before = e.sheet.tags[0]), s !== null && (o = !0, s.setAttribute("data-emotion", i), u.hydrate([s])), n.current = [u, o], function() {
|
|
1290
1304
|
u.flush();
|
|
1291
1305
|
};
|
|
1292
|
-
}, [e]),
|
|
1306
|
+
}, [e]), Dt(function() {
|
|
1293
1307
|
var i = n.current, u = i[0], o = i[1];
|
|
1294
1308
|
if (o) {
|
|
1295
1309
|
i[1] = !1;
|
|
1296
1310
|
return;
|
|
1297
1311
|
}
|
|
1298
|
-
if (a.next !== void 0 &&
|
|
1312
|
+
if (a.next !== void 0 && It(e, a.next, !0), u.tags.length) {
|
|
1299
1313
|
var s = u.tags[u.tags.length - 1].nextElementSibling;
|
|
1300
1314
|
u.before = s, u.flush();
|
|
1301
1315
|
}
|
|
@@ -1303,13 +1317,13 @@ var di = {
|
|
|
1303
1317
|
}, [e, a.name]), null;
|
|
1304
1318
|
});
|
|
1305
1319
|
process.env.NODE_ENV !== "production" && (gi.displayName = "EmotionGlobal");
|
|
1306
|
-
function
|
|
1320
|
+
function xt() {
|
|
1307
1321
|
for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
|
|
1308
1322
|
e[r] = arguments[r];
|
|
1309
|
-
return
|
|
1323
|
+
return Se(e);
|
|
1310
1324
|
}
|
|
1311
1325
|
var bi = function() {
|
|
1312
|
-
var e =
|
|
1326
|
+
var e = xt.apply(void 0, arguments), r = "animation-" + e.name;
|
|
1313
1327
|
return {
|
|
1314
1328
|
name: r,
|
|
1315
1329
|
styles: "@keyframes " + r + "{" + e.styles + "}",
|
|
@@ -1344,49 +1358,49 @@ var bi = function() {
|
|
|
1344
1358
|
}
|
|
1345
1359
|
return n;
|
|
1346
1360
|
};
|
|
1347
|
-
function
|
|
1348
|
-
var a = [], n =
|
|
1361
|
+
function mi(t, e, r) {
|
|
1362
|
+
var a = [], n = yn(t, a, r);
|
|
1349
1363
|
return a.length < 2 ? r : n + e(a);
|
|
1350
1364
|
}
|
|
1351
|
-
var
|
|
1365
|
+
var pi = function(e) {
|
|
1352
1366
|
var r = e.cache, a = e.serializedArr;
|
|
1353
|
-
return
|
|
1367
|
+
return Sn(function() {
|
|
1354
1368
|
for (var n = 0; n < a.length; n++)
|
|
1355
|
-
|
|
1369
|
+
It(r, a[n], !1);
|
|
1356
1370
|
}), null;
|
|
1357
|
-
},
|
|
1371
|
+
}, Nn = /* @__PURE__ */ At(function(t, e) {
|
|
1358
1372
|
var r = !1, a = [], n = function() {
|
|
1359
1373
|
if (r && process.env.NODE_ENV !== "production")
|
|
1360
1374
|
throw new Error("css can only be used during render");
|
|
1361
1375
|
for (var c = arguments.length, l = new Array(c), d = 0; d < c; d++)
|
|
1362
1376
|
l[d] = arguments[d];
|
|
1363
|
-
var v =
|
|
1364
|
-
return a.push(v),
|
|
1377
|
+
var v = Se(l, e.registered);
|
|
1378
|
+
return a.push(v), vt(e, v, !1), e.key + "-" + v.name;
|
|
1365
1379
|
}, i = function() {
|
|
1366
1380
|
if (r && process.env.NODE_ENV !== "production")
|
|
1367
1381
|
throw new Error("cx can only be used during render");
|
|
1368
1382
|
for (var c = arguments.length, l = new Array(c), d = 0; d < c; d++)
|
|
1369
1383
|
l[d] = arguments[d];
|
|
1370
|
-
return
|
|
1384
|
+
return mi(e.registered, n, fi(l));
|
|
1371
1385
|
}, u = {
|
|
1372
1386
|
css: n,
|
|
1373
1387
|
cx: i,
|
|
1374
|
-
theme:
|
|
1388
|
+
theme: G.useContext(ke)
|
|
1375
1389
|
}, o = t.children(u);
|
|
1376
|
-
return r = !0, /* @__PURE__ */
|
|
1390
|
+
return r = !0, /* @__PURE__ */ G.createElement(G.Fragment, null, /* @__PURE__ */ G.createElement(pi, {
|
|
1377
1391
|
cache: e,
|
|
1378
1392
|
serializedArr: a
|
|
1379
1393
|
}), o);
|
|
1380
1394
|
});
|
|
1381
|
-
process.env.NODE_ENV !== "production" && (
|
|
1395
|
+
process.env.NODE_ENV !== "production" && (Nn.displayName = "EmotionClassNames");
|
|
1382
1396
|
if (process.env.NODE_ENV !== "production") {
|
|
1383
|
-
var
|
|
1384
|
-
if (
|
|
1385
|
-
var
|
|
1397
|
+
var Yt = !0, Ii = typeof jest < "u" || typeof vi < "u";
|
|
1398
|
+
if (Yt && !Ii) {
|
|
1399
|
+
var zt = (
|
|
1386
1400
|
// $FlowIgnore
|
|
1387
|
-
typeof globalThis < "u" ? globalThis :
|
|
1388
|
-
),
|
|
1389
|
-
|
|
1401
|
+
typeof globalThis < "u" ? globalThis : Yt ? window : global
|
|
1402
|
+
), jt = "__EMOTION_REACT_" + di.version.split(".")[0] + "__";
|
|
1403
|
+
zt[jt] && console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."), zt[jt] = !0;
|
|
1390
1404
|
}
|
|
1391
1405
|
}
|
|
1392
1406
|
function hi(t, e) {
|
|
@@ -1404,7 +1418,7 @@ function Ci(t, e) {
|
|
|
1404
1418
|
n = a[i], !(e.indexOf(n) >= 0) && (r[n] = t[n]);
|
|
1405
1419
|
return r;
|
|
1406
1420
|
}
|
|
1407
|
-
function
|
|
1421
|
+
function Ie(t, e) {
|
|
1408
1422
|
if (t == null)
|
|
1409
1423
|
return {};
|
|
1410
1424
|
var r = Ci(t, e), a, n;
|
|
@@ -1415,51 +1429,51 @@ function he(t, e) {
|
|
|
1415
1429
|
}
|
|
1416
1430
|
return r;
|
|
1417
1431
|
}
|
|
1418
|
-
function
|
|
1432
|
+
function pe(t) {
|
|
1419
1433
|
"@babel/helpers - typeof";
|
|
1420
|
-
return
|
|
1434
|
+
return pe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1421
1435
|
return typeof e;
|
|
1422
1436
|
} : function(e) {
|
|
1423
1437
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1424
|
-
},
|
|
1438
|
+
}, pe(t);
|
|
1425
1439
|
}
|
|
1426
|
-
function
|
|
1440
|
+
function Et(t, e) {
|
|
1427
1441
|
if (!(t instanceof e))
|
|
1428
1442
|
throw new TypeError("Cannot call a class as a function");
|
|
1429
1443
|
}
|
|
1430
1444
|
function yi(t, e) {
|
|
1431
|
-
if (
|
|
1445
|
+
if (pe(t) != "object" || !t)
|
|
1432
1446
|
return t;
|
|
1433
1447
|
var r = t[Symbol.toPrimitive];
|
|
1434
1448
|
if (r !== void 0) {
|
|
1435
1449
|
var a = r.call(t, e || "default");
|
|
1436
|
-
if (
|
|
1450
|
+
if (pe(a) != "object")
|
|
1437
1451
|
return a;
|
|
1438
1452
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1439
1453
|
}
|
|
1440
1454
|
return (e === "string" ? String : Number)(t);
|
|
1441
1455
|
}
|
|
1442
|
-
function
|
|
1456
|
+
function Vn(t) {
|
|
1443
1457
|
var e = yi(t, "string");
|
|
1444
|
-
return
|
|
1458
|
+
return pe(e) == "symbol" ? e : String(e);
|
|
1445
1459
|
}
|
|
1446
|
-
function
|
|
1460
|
+
function kt(t, e) {
|
|
1447
1461
|
for (var r = 0; r < e.length; r++) {
|
|
1448
1462
|
var a = e[r];
|
|
1449
|
-
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(t,
|
|
1463
|
+
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(t, Vn(a.key), a);
|
|
1450
1464
|
}
|
|
1451
1465
|
}
|
|
1452
|
-
function
|
|
1453
|
-
return e &&
|
|
1466
|
+
function Gt(t, e, r) {
|
|
1467
|
+
return e && kt(t.prototype, e), r && kt(t, r), Object.defineProperty(t, "prototype", {
|
|
1454
1468
|
writable: !1
|
|
1455
1469
|
}), t;
|
|
1456
1470
|
}
|
|
1457
|
-
function
|
|
1458
|
-
return
|
|
1471
|
+
function st(t, e) {
|
|
1472
|
+
return st = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(a, n) {
|
|
1459
1473
|
return a.__proto__ = n, a;
|
|
1460
|
-
},
|
|
1474
|
+
}, st(t, e);
|
|
1461
1475
|
}
|
|
1462
|
-
function
|
|
1476
|
+
function St(t, e) {
|
|
1463
1477
|
if (typeof e != "function" && e !== null)
|
|
1464
1478
|
throw new TypeError("Super expression must either be null or a function");
|
|
1465
1479
|
t.prototype = Object.create(e && e.prototype, {
|
|
@@ -1470,10 +1484,10 @@ function Vt(t, e) {
|
|
|
1470
1484
|
}
|
|
1471
1485
|
}), Object.defineProperty(t, "prototype", {
|
|
1472
1486
|
writable: !1
|
|
1473
|
-
}), e &&
|
|
1487
|
+
}), e && st(t, e);
|
|
1474
1488
|
}
|
|
1475
1489
|
function se(t, e, r) {
|
|
1476
|
-
return e =
|
|
1490
|
+
return e = Vn(e), e in t ? Object.defineProperty(t, e, {
|
|
1477
1491
|
value: r,
|
|
1478
1492
|
enumerable: !0,
|
|
1479
1493
|
configurable: !0,
|
|
@@ -1488,7 +1502,7 @@ function Ai(t, e, r) {
|
|
|
1488
1502
|
writable: !0
|
|
1489
1503
|
}) : t[e] = r, t;
|
|
1490
1504
|
}
|
|
1491
|
-
function
|
|
1505
|
+
function Jt(t, e) {
|
|
1492
1506
|
var r = Object.keys(t);
|
|
1493
1507
|
if (Object.getOwnPropertySymbols) {
|
|
1494
1508
|
var a = Object.getOwnPropertySymbols(t);
|
|
@@ -1498,21 +1512,21 @@ function Qt(t, e) {
|
|
|
1498
1512
|
}
|
|
1499
1513
|
return r;
|
|
1500
1514
|
}
|
|
1501
|
-
function
|
|
1515
|
+
function w(t) {
|
|
1502
1516
|
for (var e = 1; e < arguments.length; e++) {
|
|
1503
1517
|
var r = arguments[e] != null ? arguments[e] : {};
|
|
1504
|
-
e % 2 ?
|
|
1518
|
+
e % 2 ? Jt(Object(r), !0).forEach(function(a) {
|
|
1505
1519
|
Ai(t, a, r[a]);
|
|
1506
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) :
|
|
1520
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : Jt(Object(r)).forEach(function(a) {
|
|
1507
1521
|
Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(r, a));
|
|
1508
1522
|
});
|
|
1509
1523
|
}
|
|
1510
1524
|
return t;
|
|
1511
1525
|
}
|
|
1512
|
-
function
|
|
1513
|
-
return
|
|
1526
|
+
function We(t) {
|
|
1527
|
+
return We = Object.setPrototypeOf ? Object.getPrototypeOf : function(r) {
|
|
1514
1528
|
return r.__proto__ || Object.getPrototypeOf(r);
|
|
1515
|
-
},
|
|
1529
|
+
}, We(t);
|
|
1516
1530
|
}
|
|
1517
1531
|
function xi() {
|
|
1518
1532
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
@@ -1534,19 +1548,19 @@ function Ei(t) {
|
|
|
1534
1548
|
function Gi(t, e) {
|
|
1535
1549
|
return e && (typeof e == "object" || typeof e == "function") ? e : Ei(t);
|
|
1536
1550
|
}
|
|
1537
|
-
function
|
|
1551
|
+
function Bt(t) {
|
|
1538
1552
|
var e = xi();
|
|
1539
1553
|
return function() {
|
|
1540
|
-
var a =
|
|
1554
|
+
var a = We(t), n;
|
|
1541
1555
|
if (e) {
|
|
1542
|
-
var i =
|
|
1556
|
+
var i = We(this).constructor;
|
|
1543
1557
|
n = Reflect.construct(a, arguments, i);
|
|
1544
1558
|
} else
|
|
1545
1559
|
n = a.apply(this, arguments);
|
|
1546
1560
|
return Gi(this, n);
|
|
1547
1561
|
};
|
|
1548
1562
|
}
|
|
1549
|
-
var Si = ["className", "clearValue", "cx", "getStyles", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"],
|
|
1563
|
+
var Si = ["className", "clearValue", "cx", "getStyles", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], De = function() {
|
|
1550
1564
|
};
|
|
1551
1565
|
function Bi(t, e) {
|
|
1552
1566
|
return e ? e[0] === "-" ? t + e : t + "__" + e : t;
|
|
@@ -1562,21 +1576,21 @@ function Ni(t, e, r) {
|
|
|
1562
1576
|
return String(i).trim();
|
|
1563
1577
|
}).join(" ");
|
|
1564
1578
|
}
|
|
1565
|
-
var
|
|
1566
|
-
return Oi(e) ? e.filter(Boolean) :
|
|
1567
|
-
},
|
|
1579
|
+
var Ut = function(e) {
|
|
1580
|
+
return Oi(e) ? e.filter(Boolean) : pe(e) === "object" && e !== null ? [e] : [];
|
|
1581
|
+
}, Fn = function(e) {
|
|
1568
1582
|
e.className, e.clearValue, e.cx, e.getStyles, e.getValue, e.hasValue, e.isMulti, e.isRtl, e.options, e.selectOption, e.selectProps, e.setValue, e.theme;
|
|
1569
|
-
var r =
|
|
1570
|
-
return
|
|
1583
|
+
var r = Ie(e, Si);
|
|
1584
|
+
return w({}, r);
|
|
1571
1585
|
};
|
|
1572
|
-
function
|
|
1586
|
+
function Nt(t) {
|
|
1573
1587
|
return [document.documentElement, document.body, window].indexOf(t) > -1;
|
|
1574
1588
|
}
|
|
1575
|
-
function
|
|
1576
|
-
return
|
|
1589
|
+
function Rn(t) {
|
|
1590
|
+
return Nt(t) ? window.pageYOffset : t.scrollTop;
|
|
1577
1591
|
}
|
|
1578
|
-
function
|
|
1579
|
-
if (
|
|
1592
|
+
function He(t, e) {
|
|
1593
|
+
if (Nt(t)) {
|
|
1580
1594
|
window.scrollTo(0, e);
|
|
1581
1595
|
return;
|
|
1582
1596
|
}
|
|
@@ -1594,20 +1608,20 @@ function Vi(t) {
|
|
|
1594
1608
|
function Fi(t, e, r, a) {
|
|
1595
1609
|
return r * ((t = t / a - 1) * t * t + 1) + e;
|
|
1596
1610
|
}
|
|
1597
|
-
function
|
|
1598
|
-
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] :
|
|
1611
|
+
function Re(t, e) {
|
|
1612
|
+
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : De, n = Rn(t), i = e - n, u = 10, o = 0;
|
|
1599
1613
|
function s() {
|
|
1600
1614
|
o += u;
|
|
1601
1615
|
var c = Fi(o, n, i, r);
|
|
1602
|
-
|
|
1616
|
+
He(t, c), o < r ? window.requestAnimationFrame(s) : a(t);
|
|
1603
1617
|
}
|
|
1604
1618
|
s();
|
|
1605
1619
|
}
|
|
1606
1620
|
function Ri(t, e) {
|
|
1607
1621
|
var r = t.getBoundingClientRect(), a = e.getBoundingClientRect(), n = e.offsetHeight / 3;
|
|
1608
|
-
a.bottom + n > r.bottom ?
|
|
1622
|
+
a.bottom + n > r.bottom ? He(t, Math.min(e.offsetTop + e.clientHeight - t.offsetHeight + n, t.scrollHeight)) : a.top - n < r.top && He(t, Math.max(e.offsetTop - n, 0));
|
|
1609
1623
|
}
|
|
1610
|
-
function
|
|
1624
|
+
function Pi(t) {
|
|
1611
1625
|
var e = t.getBoundingClientRect();
|
|
1612
1626
|
return {
|
|
1613
1627
|
bottom: e.bottom,
|
|
@@ -1618,34 +1632,34 @@ function wi(t) {
|
|
|
1618
1632
|
width: e.width
|
|
1619
1633
|
};
|
|
1620
1634
|
}
|
|
1621
|
-
function
|
|
1635
|
+
function _t() {
|
|
1622
1636
|
try {
|
|
1623
1637
|
return document.createEvent("TouchEvent"), !0;
|
|
1624
1638
|
} catch {
|
|
1625
1639
|
return !1;
|
|
1626
1640
|
}
|
|
1627
1641
|
}
|
|
1628
|
-
function
|
|
1642
|
+
function wi() {
|
|
1629
1643
|
try {
|
|
1630
1644
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
1631
1645
|
} catch {
|
|
1632
1646
|
return !1;
|
|
1633
1647
|
}
|
|
1634
1648
|
}
|
|
1635
|
-
var
|
|
1649
|
+
var Pn = !1, Xi = {
|
|
1636
1650
|
get passive() {
|
|
1637
|
-
return
|
|
1651
|
+
return Pn = !0;
|
|
1638
1652
|
}
|
|
1639
|
-
},
|
|
1640
|
-
|
|
1641
|
-
var Ti =
|
|
1653
|
+
}, Pe = typeof window < "u" ? window : {};
|
|
1654
|
+
Pe.addEventListener && Pe.removeEventListener && (Pe.addEventListener("p", De, Xi), Pe.removeEventListener("p", De, !1));
|
|
1655
|
+
var Ti = Pn;
|
|
1642
1656
|
function Zi(t) {
|
|
1643
1657
|
return t != null;
|
|
1644
1658
|
}
|
|
1645
1659
|
function Oi(t) {
|
|
1646
1660
|
return Array.isArray(t);
|
|
1647
1661
|
}
|
|
1648
|
-
function
|
|
1662
|
+
function we(t, e, r) {
|
|
1649
1663
|
return t ? e : r;
|
|
1650
1664
|
}
|
|
1651
1665
|
function Mi(t) {
|
|
@@ -1655,55 +1669,55 @@ function Mi(t) {
|
|
|
1655
1669
|
};
|
|
1656
1670
|
if (!r || !r.offsetParent)
|
|
1657
1671
|
return l;
|
|
1658
|
-
var d = c.getBoundingClientRect(), v = d.height,
|
|
1672
|
+
var d = c.getBoundingClientRect(), v = d.height, m = r.getBoundingClientRect(), f = m.bottom, p = m.height, g = m.top, I = r.offsetParent.getBoundingClientRect(), h = I.top, y = window.innerHeight, E = Rn(c), b = parseInt(getComputedStyle(r).marginBottom, 10), B = parseInt(getComputedStyle(r).marginTop, 10), A = h - B, P = y - g, X = A + E, z = v - E - g, J = f - y + E + b, j = E + g - B, D = 160;
|
|
1659
1673
|
switch (n) {
|
|
1660
1674
|
case "auto":
|
|
1661
1675
|
case "bottom":
|
|
1662
|
-
if (
|
|
1676
|
+
if (P >= p)
|
|
1663
1677
|
return {
|
|
1664
1678
|
placement: "bottom",
|
|
1665
1679
|
maxHeight: e
|
|
1666
1680
|
};
|
|
1667
|
-
if (z >=
|
|
1668
|
-
return i &&
|
|
1681
|
+
if (z >= p && !u)
|
|
1682
|
+
return i && Re(c, J, D), {
|
|
1669
1683
|
placement: "bottom",
|
|
1670
1684
|
maxHeight: e
|
|
1671
1685
|
};
|
|
1672
|
-
if (!u && z >= a || u &&
|
|
1673
|
-
i &&
|
|
1674
|
-
var O = u ?
|
|
1686
|
+
if (!u && z >= a || u && P >= a) {
|
|
1687
|
+
i && Re(c, J, D);
|
|
1688
|
+
var O = u ? P - b : z - b;
|
|
1675
1689
|
return {
|
|
1676
1690
|
placement: "bottom",
|
|
1677
1691
|
maxHeight: O
|
|
1678
1692
|
};
|
|
1679
1693
|
}
|
|
1680
1694
|
if (n === "auto" || u) {
|
|
1681
|
-
var T = e, U = u ?
|
|
1695
|
+
var T = e, U = u ? A : X;
|
|
1682
1696
|
return U >= a && (T = Math.min(U - b - s.controlHeight, e)), {
|
|
1683
1697
|
placement: "top",
|
|
1684
1698
|
maxHeight: T
|
|
1685
1699
|
};
|
|
1686
1700
|
}
|
|
1687
1701
|
if (n === "bottom")
|
|
1688
|
-
return i &&
|
|
1702
|
+
return i && He(c, J), {
|
|
1689
1703
|
placement: "bottom",
|
|
1690
1704
|
maxHeight: e
|
|
1691
1705
|
};
|
|
1692
1706
|
break;
|
|
1693
1707
|
case "top":
|
|
1694
|
-
if (
|
|
1708
|
+
if (A >= p)
|
|
1695
1709
|
return {
|
|
1696
1710
|
placement: "top",
|
|
1697
1711
|
maxHeight: e
|
|
1698
1712
|
};
|
|
1699
|
-
if (X >=
|
|
1700
|
-
return i &&
|
|
1713
|
+
if (X >= p && !u)
|
|
1714
|
+
return i && Re(c, j, D), {
|
|
1701
1715
|
placement: "top",
|
|
1702
1716
|
maxHeight: e
|
|
1703
1717
|
};
|
|
1704
|
-
if (!u && X >= a || u &&
|
|
1718
|
+
if (!u && X >= a || u && A >= a) {
|
|
1705
1719
|
var Y = e;
|
|
1706
|
-
return (!u && X >= a || u &&
|
|
1720
|
+
return (!u && X >= a || u && A >= a) && (Y = u ? A - B : X - B), i && Re(c, j, D), {
|
|
1707
1721
|
placement: "top",
|
|
1708
1722
|
maxHeight: Y
|
|
1709
1723
|
};
|
|
@@ -1724,49 +1738,49 @@ function Wi(t) {
|
|
|
1724
1738
|
};
|
|
1725
1739
|
return t ? e[t] : "bottom";
|
|
1726
1740
|
}
|
|
1727
|
-
var
|
|
1741
|
+
var ct = function(e) {
|
|
1728
1742
|
return e === "auto" ? "bottom" : e;
|
|
1729
1743
|
}, Di = function(e) {
|
|
1730
1744
|
var r, a = e.placement, n = e.theme, i = n.borderRadius, u = n.spacing, o = n.colors;
|
|
1731
1745
|
return r = {
|
|
1732
1746
|
label: "menu"
|
|
1733
1747
|
}, se(r, Wi(a), "100%"), se(r, "backgroundColor", o.neutral0), se(r, "borderRadius", i), se(r, "boxShadow", "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"), se(r, "marginBottom", u.menuGutter), se(r, "marginTop", u.menuGutter), se(r, "position", "absolute"), se(r, "width", "100%"), se(r, "zIndex", 1), r;
|
|
1734
|
-
},
|
|
1748
|
+
}, wn = /* @__PURE__ */ ir({
|
|
1735
1749
|
getPortalPlacement: null
|
|
1736
|
-
}),
|
|
1737
|
-
|
|
1738
|
-
var e =
|
|
1750
|
+
}), Xn = /* @__PURE__ */ function(t) {
|
|
1751
|
+
St(r, t);
|
|
1752
|
+
var e = Bt(r);
|
|
1739
1753
|
function r() {
|
|
1740
1754
|
var a;
|
|
1741
|
-
|
|
1755
|
+
Et(this, r);
|
|
1742
1756
|
for (var n = arguments.length, i = new Array(n), u = 0; u < n; u++)
|
|
1743
1757
|
i[u] = arguments[u];
|
|
1744
1758
|
return a = e.call.apply(e, [this].concat(i)), a.state = {
|
|
1745
1759
|
maxHeight: a.props.maxMenuHeight,
|
|
1746
1760
|
placement: null
|
|
1747
1761
|
}, a.context = void 0, a.getPlacement = function(o) {
|
|
1748
|
-
var s = a.props, c = s.minMenuHeight, l = s.maxMenuHeight, d = s.menuPlacement, v = s.menuPosition,
|
|
1762
|
+
var s = a.props, c = s.minMenuHeight, l = s.maxMenuHeight, d = s.menuPlacement, v = s.menuPosition, m = s.menuShouldScrollIntoView, f = s.theme;
|
|
1749
1763
|
if (o) {
|
|
1750
|
-
var
|
|
1764
|
+
var p = v === "fixed", g = m && !p, I = Mi({
|
|
1751
1765
|
maxHeight: l,
|
|
1752
1766
|
menuEl: o,
|
|
1753
1767
|
minHeight: c,
|
|
1754
1768
|
placement: d,
|
|
1755
1769
|
shouldScroll: g,
|
|
1756
|
-
isFixedPosition:
|
|
1770
|
+
isFixedPosition: p,
|
|
1757
1771
|
theme: f
|
|
1758
1772
|
}), h = a.context.getPortalPlacement;
|
|
1759
1773
|
h && h(I), a.setState(I);
|
|
1760
1774
|
}
|
|
1761
1775
|
}, a.getUpdatedProps = function() {
|
|
1762
|
-
var o = a.props.menuPlacement, s = a.state.placement ||
|
|
1763
|
-
return
|
|
1776
|
+
var o = a.props.menuPlacement, s = a.state.placement || ct(o);
|
|
1777
|
+
return w(w({}, a.props), {}, {
|
|
1764
1778
|
placement: s,
|
|
1765
1779
|
maxHeight: a.state.maxHeight
|
|
1766
1780
|
});
|
|
1767
1781
|
}, a;
|
|
1768
1782
|
}
|
|
1769
|
-
return
|
|
1783
|
+
return Gt(r, [{
|
|
1770
1784
|
key: "render",
|
|
1771
1785
|
value: function() {
|
|
1772
1786
|
var n = this.props.children;
|
|
@@ -1776,11 +1790,11 @@ var dt = function(e) {
|
|
|
1776
1790
|
});
|
|
1777
1791
|
}
|
|
1778
1792
|
}]), r;
|
|
1779
|
-
}(
|
|
1780
|
-
|
|
1793
|
+
}(gt);
|
|
1794
|
+
Xn.contextType = wn;
|
|
1781
1795
|
var Hi = function(e) {
|
|
1782
1796
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.innerRef, o = e.innerProps;
|
|
1783
|
-
return
|
|
1797
|
+
return x("div", S({
|
|
1784
1798
|
css: i("menu", e),
|
|
1785
1799
|
className: n({
|
|
1786
1800
|
menu: !0
|
|
@@ -1800,7 +1814,7 @@ var Hi = function(e) {
|
|
|
1800
1814
|
};
|
|
1801
1815
|
}, Yi = function(e) {
|
|
1802
1816
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.innerProps, o = e.innerRef, s = e.isMulti;
|
|
1803
|
-
return
|
|
1817
|
+
return x("div", S({
|
|
1804
1818
|
css: i("menuList", e),
|
|
1805
1819
|
className: n({
|
|
1806
1820
|
"menu-list": !0,
|
|
@@ -1808,16 +1822,16 @@ var Hi = function(e) {
|
|
|
1808
1822
|
}, a),
|
|
1809
1823
|
ref: o
|
|
1810
1824
|
}, u), r);
|
|
1811
|
-
},
|
|
1825
|
+
}, Tn = function(e) {
|
|
1812
1826
|
var r = e.theme, a = r.spacing.baseUnit, n = r.colors;
|
|
1813
1827
|
return {
|
|
1814
1828
|
color: n.neutral40,
|
|
1815
1829
|
padding: "".concat(a * 2, "px ").concat(a * 3, "px"),
|
|
1816
1830
|
textAlign: "center"
|
|
1817
1831
|
};
|
|
1818
|
-
}, zi =
|
|
1832
|
+
}, zi = Tn, ji = Tn, Zn = function(e) {
|
|
1819
1833
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.innerProps;
|
|
1820
|
-
return
|
|
1834
|
+
return x("div", S({
|
|
1821
1835
|
css: i("noOptionsMessage", e),
|
|
1822
1836
|
className: n({
|
|
1823
1837
|
"menu-notice": !0,
|
|
@@ -1825,12 +1839,12 @@ var Hi = function(e) {
|
|
|
1825
1839
|
}, a)
|
|
1826
1840
|
}, u), r);
|
|
1827
1841
|
};
|
|
1828
|
-
|
|
1842
|
+
Zn.defaultProps = {
|
|
1829
1843
|
children: "No options"
|
|
1830
1844
|
};
|
|
1831
|
-
var
|
|
1845
|
+
var On = function(e) {
|
|
1832
1846
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.innerProps;
|
|
1833
|
-
return
|
|
1847
|
+
return x("div", S({
|
|
1834
1848
|
css: i("loadingMessage", e),
|
|
1835
1849
|
className: n({
|
|
1836
1850
|
"menu-notice": !0,
|
|
@@ -1838,7 +1852,7 @@ var Dn = function(e) {
|
|
|
1838
1852
|
}, a)
|
|
1839
1853
|
}, u), r);
|
|
1840
1854
|
};
|
|
1841
|
-
|
|
1855
|
+
On.defaultProps = {
|
|
1842
1856
|
children: "Loading..."
|
|
1843
1857
|
};
|
|
1844
1858
|
var ki = function(e) {
|
|
@@ -1851,46 +1865,46 @@ var ki = function(e) {
|
|
|
1851
1865
|
zIndex: 1
|
|
1852
1866
|
};
|
|
1853
1867
|
}, Ji = /* @__PURE__ */ function(t) {
|
|
1854
|
-
|
|
1855
|
-
var e =
|
|
1868
|
+
St(r, t);
|
|
1869
|
+
var e = Bt(r);
|
|
1856
1870
|
function r() {
|
|
1857
1871
|
var a;
|
|
1858
|
-
|
|
1872
|
+
Et(this, r);
|
|
1859
1873
|
for (var n = arguments.length, i = new Array(n), u = 0; u < n; u++)
|
|
1860
1874
|
i[u] = arguments[u];
|
|
1861
1875
|
return a = e.call.apply(e, [this].concat(i)), a.state = {
|
|
1862
1876
|
placement: null
|
|
1863
1877
|
}, a.getPortalPlacement = function(o) {
|
|
1864
|
-
var s = o.placement, c =
|
|
1878
|
+
var s = o.placement, c = ct(a.props.menuPlacement);
|
|
1865
1879
|
s !== c && a.setState({
|
|
1866
1880
|
placement: s
|
|
1867
1881
|
});
|
|
1868
1882
|
}, a;
|
|
1869
1883
|
}
|
|
1870
|
-
return
|
|
1884
|
+
return Gt(r, [{
|
|
1871
1885
|
key: "render",
|
|
1872
1886
|
value: function() {
|
|
1873
|
-
var n = this.props, i = n.appendTo, u = n.children, o = n.className, s = n.controlElement, c = n.cx, l = n.innerProps, d = n.menuPlacement, v = n.menuPosition,
|
|
1887
|
+
var n = this.props, i = n.appendTo, u = n.children, o = n.className, s = n.controlElement, c = n.cx, l = n.innerProps, d = n.menuPlacement, v = n.menuPosition, m = n.getStyles, f = v === "fixed";
|
|
1874
1888
|
if (!i && !f || !s)
|
|
1875
1889
|
return null;
|
|
1876
|
-
var
|
|
1890
|
+
var p = this.state.placement || ct(d), g = Pi(s), I = f ? 0 : window.pageYOffset, h = g[p] + I, y = {
|
|
1877
1891
|
offset: h,
|
|
1878
1892
|
position: v,
|
|
1879
1893
|
rect: g
|
|
1880
|
-
}, E =
|
|
1881
|
-
css:
|
|
1894
|
+
}, E = x("div", S({
|
|
1895
|
+
css: m("menuPortal", y),
|
|
1882
1896
|
className: c({
|
|
1883
1897
|
"menu-portal": !0
|
|
1884
1898
|
}, o)
|
|
1885
1899
|
}, l), u);
|
|
1886
|
-
return
|
|
1900
|
+
return x(wn.Provider, {
|
|
1887
1901
|
value: {
|
|
1888
1902
|
getPortalPlacement: this.getPortalPlacement
|
|
1889
1903
|
}
|
|
1890
|
-
}, i ? /* @__PURE__ */
|
|
1904
|
+
}, i ? /* @__PURE__ */ ar(E, i) : E);
|
|
1891
1905
|
}
|
|
1892
1906
|
}]), r;
|
|
1893
|
-
}(
|
|
1907
|
+
}(gt), Ui = function(e) {
|
|
1894
1908
|
var r = e.isDisabled, a = e.isRtl;
|
|
1895
1909
|
return {
|
|
1896
1910
|
label: "container",
|
|
@@ -1901,7 +1915,7 @@ var ki = function(e) {
|
|
|
1901
1915
|
};
|
|
1902
1916
|
}, _i = function(e) {
|
|
1903
1917
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.innerProps, o = e.isDisabled, s = e.isRtl;
|
|
1904
|
-
return
|
|
1918
|
+
return x("div", S({
|
|
1905
1919
|
css: i("container", e),
|
|
1906
1920
|
className: n({
|
|
1907
1921
|
"--is-disabled": o,
|
|
@@ -1922,7 +1936,7 @@ var ki = function(e) {
|
|
|
1922
1936
|
};
|
|
1923
1937
|
}, $i = function(e) {
|
|
1924
1938
|
var r = e.children, a = e.className, n = e.cx, i = e.innerProps, u = e.isMulti, o = e.getStyles, s = e.hasValue;
|
|
1925
|
-
return
|
|
1939
|
+
return x("div", S({
|
|
1926
1940
|
css: o("valueContainer", e),
|
|
1927
1941
|
className: n({
|
|
1928
1942
|
"value-container": !0,
|
|
@@ -1939,13 +1953,13 @@ var ki = function(e) {
|
|
|
1939
1953
|
};
|
|
1940
1954
|
}, qi = function(e) {
|
|
1941
1955
|
var r = e.children, a = e.className, n = e.cx, i = e.innerProps, u = e.getStyles;
|
|
1942
|
-
return
|
|
1956
|
+
return x("div", S({
|
|
1943
1957
|
css: u("indicatorsContainer", e),
|
|
1944
1958
|
className: n({
|
|
1945
1959
|
indicators: !0
|
|
1946
1960
|
}, a)
|
|
1947
1961
|
}, i), r);
|
|
1948
|
-
},
|
|
1962
|
+
}, Qt, ea = ["size"];
|
|
1949
1963
|
function ta() {
|
|
1950
1964
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1951
1965
|
}
|
|
@@ -1957,9 +1971,9 @@ var na = process.env.NODE_ENV === "production" ? {
|
|
|
1957
1971
|
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
|
|
1958
1972
|
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAg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Y2F0b3InLCBwcm9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",
|
|
1959
1973
|
toString: ta
|
|
1960
|
-
},
|
|
1961
|
-
var r = e.size, a =
|
|
1962
|
-
return
|
|
1974
|
+
}, Mn = function(e) {
|
|
1975
|
+
var r = e.size, a = Ie(e, ea);
|
|
1976
|
+
return x("svg", S({
|
|
1963
1977
|
height: r,
|
|
1964
1978
|
width: r,
|
|
1965
1979
|
viewBox: "0 0 20 20",
|
|
@@ -1967,19 +1981,19 @@ var na = process.env.NODE_ENV === "production" ? {
|
|
|
1967
1981
|
focusable: "false",
|
|
1968
1982
|
css: na
|
|
1969
1983
|
}, a));
|
|
1970
|
-
},
|
|
1971
|
-
return
|
|
1984
|
+
}, Vt = function(e) {
|
|
1985
|
+
return x(Mn, S({
|
|
1972
1986
|
size: 20
|
|
1973
|
-
}, e),
|
|
1987
|
+
}, e), x("path", {
|
|
1974
1988
|
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
1975
1989
|
}));
|
|
1976
|
-
},
|
|
1977
|
-
return
|
|
1990
|
+
}, Wn = function(e) {
|
|
1991
|
+
return x(Mn, S({
|
|
1978
1992
|
size: 20
|
|
1979
|
-
}, e),
|
|
1993
|
+
}, e), x("path", {
|
|
1980
1994
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
1981
1995
|
}));
|
|
1982
|
-
},
|
|
1996
|
+
}, Dn = function(e) {
|
|
1983
1997
|
var r = e.isFocused, a = e.theme, n = a.spacing.baseUnit, i = a.colors;
|
|
1984
1998
|
return {
|
|
1985
1999
|
label: "indicatorContainer",
|
|
@@ -1991,24 +2005,24 @@ var na = process.env.NODE_ENV === "production" ? {
|
|
|
1991
2005
|
color: r ? i.neutral80 : i.neutral40
|
|
1992
2006
|
}
|
|
1993
2007
|
};
|
|
1994
|
-
}, ra =
|
|
2008
|
+
}, ra = Dn, ia = function(e) {
|
|
1995
2009
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.innerProps;
|
|
1996
|
-
return
|
|
2010
|
+
return x("div", S({
|
|
1997
2011
|
css: i("dropdownIndicator", e),
|
|
1998
2012
|
className: n({
|
|
1999
2013
|
indicator: !0,
|
|
2000
2014
|
"dropdown-indicator": !0
|
|
2001
2015
|
}, a)
|
|
2002
|
-
}, u), r ||
|
|
2003
|
-
}, aa =
|
|
2016
|
+
}, u), r || x(Wn, null));
|
|
2017
|
+
}, aa = Dn, ua = function(e) {
|
|
2004
2018
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.innerProps;
|
|
2005
|
-
return
|
|
2019
|
+
return x("div", S({
|
|
2006
2020
|
css: i("clearIndicator", e),
|
|
2007
2021
|
className: n({
|
|
2008
2022
|
indicator: !0,
|
|
2009
2023
|
"clear-indicator": !0
|
|
2010
2024
|
}, a)
|
|
2011
|
-
}, u), r ||
|
|
2025
|
+
}, u), r || x(Vt, null));
|
|
2012
2026
|
}, oa = function(e) {
|
|
2013
2027
|
var r = e.isDisabled, a = e.theme, n = a.spacing.baseUnit, i = a.colors;
|
|
2014
2028
|
return {
|
|
@@ -2021,13 +2035,13 @@ var na = process.env.NODE_ENV === "production" ? {
|
|
|
2021
2035
|
};
|
|
2022
2036
|
}, sa = function(e) {
|
|
2023
2037
|
var r = e.className, a = e.cx, n = e.getStyles, i = e.innerProps;
|
|
2024
|
-
return
|
|
2038
|
+
return x("span", S({}, i, {
|
|
2025
2039
|
css: n("indicatorSeparator", e),
|
|
2026
2040
|
className: a({
|
|
2027
2041
|
"indicator-separator": !0
|
|
2028
2042
|
}, r)
|
|
2029
2043
|
}));
|
|
2030
|
-
}, ca = bi(
|
|
2044
|
+
}, ca = bi(Qt || (Qt = hi([`
|
|
2031
2045
|
0%, 80%, 100% { opacity: 0; }
|
|
2032
2046
|
40% { opacity: 1; }
|
|
2033
2047
|
`]))), la = function(e) {
|
|
@@ -2045,10 +2059,10 @@ var na = process.env.NODE_ENV === "production" ? {
|
|
|
2045
2059
|
textAlign: "center",
|
|
2046
2060
|
verticalAlign: "middle"
|
|
2047
2061
|
};
|
|
2048
|
-
},
|
|
2062
|
+
}, Qe = function(e) {
|
|
2049
2063
|
var r = e.delay, a = e.offset;
|
|
2050
|
-
return
|
|
2051
|
-
css: /* @__PURE__ */
|
|
2064
|
+
return x("span", {
|
|
2065
|
+
css: /* @__PURE__ */ xt({
|
|
2052
2066
|
animation: "".concat(ca, " 1s ease-in-out ").concat(r, "ms infinite;"),
|
|
2053
2067
|
backgroundColor: "currentColor",
|
|
2054
2068
|
borderRadius: "1em",
|
|
@@ -2059,26 +2073,26 @@ var na = process.env.NODE_ENV === "production" ? {
|
|
|
2059
2073
|
width: "1em"
|
|
2060
2074
|
}, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZ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9wcyl9XG4gICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")
|
|
2061
2075
|
});
|
|
2062
|
-
},
|
|
2076
|
+
}, Hn = function(e) {
|
|
2063
2077
|
var r = e.className, a = e.cx, n = e.getStyles, i = e.innerProps, u = e.isRtl;
|
|
2064
|
-
return
|
|
2078
|
+
return x("div", S({
|
|
2065
2079
|
css: n("loadingIndicator", e),
|
|
2066
2080
|
className: a({
|
|
2067
2081
|
indicator: !0,
|
|
2068
2082
|
"loading-indicator": !0
|
|
2069
2083
|
}, r)
|
|
2070
|
-
}, i),
|
|
2084
|
+
}, i), x(Qe, {
|
|
2071
2085
|
delay: 0,
|
|
2072
2086
|
offset: u
|
|
2073
|
-
}),
|
|
2087
|
+
}), x(Qe, {
|
|
2074
2088
|
delay: 160,
|
|
2075
2089
|
offset: !0
|
|
2076
|
-
}),
|
|
2090
|
+
}), x(Qe, {
|
|
2077
2091
|
delay: 320,
|
|
2078
2092
|
offset: !u
|
|
2079
2093
|
}));
|
|
2080
2094
|
};
|
|
2081
|
-
|
|
2095
|
+
Hn.defaultProps = {
|
|
2082
2096
|
size: 4
|
|
2083
2097
|
};
|
|
2084
2098
|
var da = function(e) {
|
|
@@ -2106,7 +2120,7 @@ var da = function(e) {
|
|
|
2106
2120
|
};
|
|
2107
2121
|
}, ga = function(e) {
|
|
2108
2122
|
var r = e.children, a = e.cx, n = e.getStyles, i = e.className, u = e.isDisabled, o = e.isFocused, s = e.innerRef, c = e.innerProps, l = e.menuIsOpen;
|
|
2109
|
-
return
|
|
2123
|
+
return x("div", S({
|
|
2110
2124
|
ref: s,
|
|
2111
2125
|
css: n("control", e),
|
|
2112
2126
|
className: a({
|
|
@@ -2122,20 +2136,20 @@ var da = function(e) {
|
|
|
2122
2136
|
paddingBottom: r.baseUnit * 2,
|
|
2123
2137
|
paddingTop: r.baseUnit * 2
|
|
2124
2138
|
};
|
|
2125
|
-
},
|
|
2139
|
+
}, ma = function(e) {
|
|
2126
2140
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.Heading, o = e.headingProps, s = e.innerProps, c = e.label, l = e.theme, d = e.selectProps;
|
|
2127
|
-
return
|
|
2141
|
+
return x("div", S({
|
|
2128
2142
|
css: i("group", e),
|
|
2129
2143
|
className: n({
|
|
2130
2144
|
group: !0
|
|
2131
2145
|
}, a)
|
|
2132
|
-
}, s),
|
|
2146
|
+
}, s), x(u, S({}, o, {
|
|
2133
2147
|
selectProps: d,
|
|
2134
2148
|
theme: l,
|
|
2135
2149
|
getStyles: i,
|
|
2136
2150
|
cx: n
|
|
2137
|
-
}), c),
|
|
2138
|
-
},
|
|
2151
|
+
}), c), x("div", null, r));
|
|
2152
|
+
}, pa = function(e) {
|
|
2139
2153
|
var r = e.theme.spacing;
|
|
2140
2154
|
return {
|
|
2141
2155
|
label: "group",
|
|
@@ -2150,10 +2164,10 @@ var da = function(e) {
|
|
|
2150
2164
|
textTransform: "uppercase"
|
|
2151
2165
|
};
|
|
2152
2166
|
}, va = function(e) {
|
|
2153
|
-
var r = e.getStyles, a = e.cx, n = e.className, i =
|
|
2167
|
+
var r = e.getStyles, a = e.cx, n = e.className, i = Fn(e);
|
|
2154
2168
|
i.data;
|
|
2155
|
-
var u =
|
|
2156
|
-
return
|
|
2169
|
+
var u = Ie(i, ba);
|
|
2170
|
+
return x("div", S({
|
|
2157
2171
|
css: r("groupHeading", e),
|
|
2158
2172
|
className: a({
|
|
2159
2173
|
"group-heading": !0
|
|
@@ -2161,7 +2175,7 @@ var da = function(e) {
|
|
|
2161
2175
|
}, u));
|
|
2162
2176
|
}, Ia = ["innerRef", "isDisabled", "isHidden", "inputClassName"], ha = function(e) {
|
|
2163
2177
|
var r = e.isDisabled, a = e.value, n = e.theme, i = n.spacing, u = n.colors;
|
|
2164
|
-
return
|
|
2178
|
+
return w({
|
|
2165
2179
|
margin: i.baseUnit / 2,
|
|
2166
2180
|
paddingBottom: i.baseUnit / 2,
|
|
2167
2181
|
paddingTop: i.baseUnit / 2,
|
|
@@ -2171,7 +2185,7 @@ var da = function(e) {
|
|
|
2171
2185
|
// We can remove it whenever the bug is fixed.
|
|
2172
2186
|
transform: a ? "translateZ(0)" : ""
|
|
2173
2187
|
}, Ca);
|
|
2174
|
-
},
|
|
2188
|
+
}, Ln = {
|
|
2175
2189
|
gridArea: "1 / 2",
|
|
2176
2190
|
font: "inherit",
|
|
2177
2191
|
minWidth: "2px",
|
|
@@ -2184,28 +2198,28 @@ var da = function(e) {
|
|
|
2184
2198
|
display: "inline-grid",
|
|
2185
2199
|
gridArea: "1 / 1 / 2 / 3",
|
|
2186
2200
|
gridTemplateColumns: "0 min-content",
|
|
2187
|
-
"&:after":
|
|
2201
|
+
"&:after": w({
|
|
2188
2202
|
content: 'attr(data-value) " "',
|
|
2189
2203
|
visibility: "hidden",
|
|
2190
2204
|
whiteSpace: "pre"
|
|
2191
|
-
},
|
|
2205
|
+
}, Ln)
|
|
2192
2206
|
}, ya = function(e) {
|
|
2193
|
-
return
|
|
2207
|
+
return w({
|
|
2194
2208
|
label: "input",
|
|
2195
2209
|
color: "inherit",
|
|
2196
2210
|
background: 0,
|
|
2197
2211
|
opacity: e ? 0 : 1,
|
|
2198
2212
|
width: "100%"
|
|
2199
|
-
},
|
|
2213
|
+
}, Ln);
|
|
2200
2214
|
}, Aa = function(e) {
|
|
2201
|
-
var r = e.className, a = e.cx, n = e.getStyles, i = e.value, u =
|
|
2202
|
-
return
|
|
2215
|
+
var r = e.className, a = e.cx, n = e.getStyles, i = e.value, u = Fn(e), o = u.innerRef, s = u.isDisabled, c = u.isHidden, l = u.inputClassName, d = Ie(u, Ia);
|
|
2216
|
+
return x("div", {
|
|
2203
2217
|
className: a({
|
|
2204
2218
|
"input-container": !0
|
|
2205
2219
|
}, r),
|
|
2206
2220
|
css: n("input", e),
|
|
2207
2221
|
"data-value": i || ""
|
|
2208
|
-
},
|
|
2222
|
+
}, x("input", S({
|
|
2209
2223
|
className: a({
|
|
2210
2224
|
input: !0
|
|
2211
2225
|
}, l),
|
|
@@ -2250,32 +2264,32 @@ var da = function(e) {
|
|
|
2250
2264
|
color: i.danger
|
|
2251
2265
|
}
|
|
2252
2266
|
};
|
|
2253
|
-
},
|
|
2267
|
+
}, Yn = function(e) {
|
|
2254
2268
|
var r = e.children, a = e.innerProps;
|
|
2255
|
-
return
|
|
2256
|
-
}, Sa =
|
|
2269
|
+
return x("div", a, r);
|
|
2270
|
+
}, Sa = Yn, Ba = Yn;
|
|
2257
2271
|
function Na(t) {
|
|
2258
2272
|
var e = t.children, r = t.innerProps;
|
|
2259
|
-
return
|
|
2273
|
+
return x("div", S({
|
|
2260
2274
|
role: "button"
|
|
2261
|
-
}, r), e ||
|
|
2275
|
+
}, r), e || x(Vt, {
|
|
2262
2276
|
size: 14
|
|
2263
2277
|
}));
|
|
2264
2278
|
}
|
|
2265
2279
|
var Va = function(e) {
|
|
2266
|
-
var r = e.children, a = e.className, n = e.components, i = e.cx, u = e.data, o = e.getStyles, s = e.innerProps, c = e.isDisabled, l = e.removeProps, d = e.selectProps, v = n.Container,
|
|
2267
|
-
return
|
|
2268
|
-
var g =
|
|
2269
|
-
return
|
|
2280
|
+
var r = e.children, a = e.className, n = e.components, i = e.cx, u = e.data, o = e.getStyles, s = e.innerProps, c = e.isDisabled, l = e.removeProps, d = e.selectProps, v = n.Container, m = n.Label, f = n.Remove;
|
|
2281
|
+
return x(Nn, null, function(p) {
|
|
2282
|
+
var g = p.css, I = p.cx;
|
|
2283
|
+
return x(v, {
|
|
2270
2284
|
data: u,
|
|
2271
|
-
innerProps:
|
|
2285
|
+
innerProps: w({
|
|
2272
2286
|
className: I(g(o("multiValue", e)), i({
|
|
2273
2287
|
"multi-value": !0,
|
|
2274
2288
|
"multi-value--is-disabled": c
|
|
2275
2289
|
}, a))
|
|
2276
2290
|
}, s),
|
|
2277
2291
|
selectProps: d
|
|
2278
|
-
},
|
|
2292
|
+
}, x(m, {
|
|
2279
2293
|
data: u,
|
|
2280
2294
|
innerProps: {
|
|
2281
2295
|
className: I(g(o("multiValueLabel", e)), i({
|
|
@@ -2283,9 +2297,9 @@ var Va = function(e) {
|
|
|
2283
2297
|
}, a))
|
|
2284
2298
|
},
|
|
2285
2299
|
selectProps: d
|
|
2286
|
-
}, r),
|
|
2300
|
+
}, r), x(f, {
|
|
2287
2301
|
data: u,
|
|
2288
|
-
innerProps:
|
|
2302
|
+
innerProps: w({
|
|
2289
2303
|
className: I(g(o("multiValueRemove", e)), i({
|
|
2290
2304
|
"multi-value__remove": !0
|
|
2291
2305
|
}, a)),
|
|
@@ -2314,7 +2328,7 @@ var Va = function(e) {
|
|
|
2314
2328
|
};
|
|
2315
2329
|
}, Ra = function(e) {
|
|
2316
2330
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.isDisabled, o = e.isFocused, s = e.isSelected, c = e.innerRef, l = e.innerProps;
|
|
2317
|
-
return
|
|
2331
|
+
return x("div", S({
|
|
2318
2332
|
css: i("option", e),
|
|
2319
2333
|
className: n({
|
|
2320
2334
|
option: !0,
|
|
@@ -2325,7 +2339,7 @@ var Va = function(e) {
|
|
|
2325
2339
|
ref: c,
|
|
2326
2340
|
"aria-disabled": u
|
|
2327
2341
|
}, l), r);
|
|
2328
|
-
},
|
|
2342
|
+
}, Pa = function(e) {
|
|
2329
2343
|
var r = e.theme, a = r.spacing, n = r.colors;
|
|
2330
2344
|
return {
|
|
2331
2345
|
label: "placeholder",
|
|
@@ -2334,9 +2348,9 @@ var Va = function(e) {
|
|
|
2334
2348
|
marginLeft: a.baseUnit / 2,
|
|
2335
2349
|
marginRight: a.baseUnit / 2
|
|
2336
2350
|
};
|
|
2337
|
-
},
|
|
2351
|
+
}, wa = function(e) {
|
|
2338
2352
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.innerProps;
|
|
2339
|
-
return
|
|
2353
|
+
return x("div", S({
|
|
2340
2354
|
css: i("placeholder", e),
|
|
2341
2355
|
className: n({
|
|
2342
2356
|
placeholder: !0
|
|
@@ -2357,7 +2371,7 @@ var Va = function(e) {
|
|
|
2357
2371
|
};
|
|
2358
2372
|
}, Ta = function(e) {
|
|
2359
2373
|
var r = e.children, a = e.className, n = e.cx, i = e.getStyles, u = e.isDisabled, o = e.innerProps;
|
|
2360
|
-
return
|
|
2374
|
+
return x("div", S({
|
|
2361
2375
|
css: i("singleValue", e),
|
|
2362
2376
|
className: n({
|
|
2363
2377
|
"single-value": !0,
|
|
@@ -2368,30 +2382,30 @@ var Va = function(e) {
|
|
|
2368
2382
|
ClearIndicator: ua,
|
|
2369
2383
|
Control: ga,
|
|
2370
2384
|
DropdownIndicator: ia,
|
|
2371
|
-
DownChevron:
|
|
2372
|
-
CrossIcon:
|
|
2373
|
-
Group:
|
|
2385
|
+
DownChevron: Wn,
|
|
2386
|
+
CrossIcon: Vt,
|
|
2387
|
+
Group: ma,
|
|
2374
2388
|
GroupHeading: va,
|
|
2375
2389
|
IndicatorsContainer: qi,
|
|
2376
2390
|
IndicatorSeparator: sa,
|
|
2377
2391
|
Input: Aa,
|
|
2378
|
-
LoadingIndicator:
|
|
2392
|
+
LoadingIndicator: Hn,
|
|
2379
2393
|
Menu: Hi,
|
|
2380
2394
|
MenuList: Yi,
|
|
2381
2395
|
MenuPortal: Ji,
|
|
2382
|
-
LoadingMessage:
|
|
2383
|
-
NoOptionsMessage:
|
|
2396
|
+
LoadingMessage: On,
|
|
2397
|
+
NoOptionsMessage: Zn,
|
|
2384
2398
|
MultiValue: Va,
|
|
2385
2399
|
MultiValueContainer: Sa,
|
|
2386
2400
|
MultiValueLabel: Ba,
|
|
2387
2401
|
MultiValueRemove: Na,
|
|
2388
2402
|
Option: Ra,
|
|
2389
|
-
Placeholder:
|
|
2403
|
+
Placeholder: wa,
|
|
2390
2404
|
SelectContainer: _i,
|
|
2391
2405
|
SingleValue: Ta,
|
|
2392
2406
|
ValueContainer: $i
|
|
2393
2407
|
}, Oa = function(e) {
|
|
2394
|
-
return
|
|
2408
|
+
return w(w({}, Za), e.components);
|
|
2395
2409
|
};
|
|
2396
2410
|
function Ma(t) {
|
|
2397
2411
|
if (Array.isArray(t))
|
|
@@ -2423,43 +2437,43 @@ function Wa(t, e) {
|
|
|
2423
2437
|
return o;
|
|
2424
2438
|
}
|
|
2425
2439
|
}
|
|
2426
|
-
function
|
|
2440
|
+
function lt(t, e) {
|
|
2427
2441
|
(e == null || e > t.length) && (e = t.length);
|
|
2428
2442
|
for (var r = 0, a = new Array(e); r < e; r++)
|
|
2429
2443
|
a[r] = t[r];
|
|
2430
2444
|
return a;
|
|
2431
2445
|
}
|
|
2432
|
-
function
|
|
2446
|
+
function zn(t, e) {
|
|
2433
2447
|
if (t) {
|
|
2434
2448
|
if (typeof t == "string")
|
|
2435
|
-
return
|
|
2449
|
+
return lt(t, e);
|
|
2436
2450
|
var r = Object.prototype.toString.call(t).slice(8, -1);
|
|
2437
2451
|
if (r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set")
|
|
2438
2452
|
return Array.from(t);
|
|
2439
2453
|
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
|
|
2440
|
-
return
|
|
2454
|
+
return lt(t, e);
|
|
2441
2455
|
}
|
|
2442
2456
|
}
|
|
2443
2457
|
function Da() {
|
|
2444
2458
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2445
2459
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2446
2460
|
}
|
|
2447
|
-
function
|
|
2448
|
-
return Ma(t) || Wa(t, e) ||
|
|
2461
|
+
function $e(t, e) {
|
|
2462
|
+
return Ma(t) || Wa(t, e) || zn(t, e) || Da();
|
|
2449
2463
|
}
|
|
2450
2464
|
var Ha = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
2451
2465
|
function La(t) {
|
|
2452
|
-
var e = t.defaultInputValue, r = e === void 0 ? "" : e, a = t.defaultMenuIsOpen, n = a === void 0 ? !1 : a, i = t.defaultValue, u = i === void 0 ? null : i, o = t.inputValue, s = t.menuIsOpen, c = t.onChange, l = t.onInputChange, d = t.onMenuClose, v = t.onMenuOpen,
|
|
2466
|
+
var e = t.defaultInputValue, r = e === void 0 ? "" : e, a = t.defaultMenuIsOpen, n = a === void 0 ? !1 : a, i = t.defaultValue, u = i === void 0 ? null : i, o = t.inputValue, s = t.menuIsOpen, c = t.onChange, l = t.onInputChange, d = t.onMenuClose, v = t.onMenuOpen, m = t.value, f = Ie(t, Ha), p = Ue(o !== void 0 ? o : r), g = $e(p, 2), I = g[0], h = g[1], y = Ue(s !== void 0 ? s : n), E = $e(y, 2), b = E[0], B = E[1], A = Ue(m !== void 0 ? m : u), P = $e(A, 2), X = P[0], z = P[1], J = q(function(_, ne) {
|
|
2453
2467
|
typeof c == "function" && c(_, ne), z(_);
|
|
2454
2468
|
}, [c]), j = q(function(_, ne) {
|
|
2455
2469
|
var ee;
|
|
2456
2470
|
typeof l == "function" && (ee = l(_, ne)), h(ee !== void 0 ? ee : _);
|
|
2457
2471
|
}, [l]), D = q(function() {
|
|
2458
|
-
typeof v == "function" && v(),
|
|
2472
|
+
typeof v == "function" && v(), B(!0);
|
|
2459
2473
|
}, [v]), O = q(function() {
|
|
2460
|
-
typeof d == "function" && d(),
|
|
2461
|
-
}, [d]), T = o !== void 0 ? o : I, U = s !== void 0 ? s : b, Y =
|
|
2462
|
-
return
|
|
2474
|
+
typeof d == "function" && d(), B(!1);
|
|
2475
|
+
}, [d]), T = o !== void 0 ? o : I, U = s !== void 0 ? s : b, Y = m !== void 0 ? m : X;
|
|
2476
|
+
return w(w({}, f), {}, {
|
|
2463
2477
|
inputValue: T,
|
|
2464
2478
|
menuIsOpen: U,
|
|
2465
2479
|
onChange: J,
|
|
@@ -2471,7 +2485,7 @@ function La(t) {
|
|
|
2471
2485
|
}
|
|
2472
2486
|
function Ya(t) {
|
|
2473
2487
|
if (Array.isArray(t))
|
|
2474
|
-
return
|
|
2488
|
+
return lt(t);
|
|
2475
2489
|
}
|
|
2476
2490
|
function za(t) {
|
|
2477
2491
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null)
|
|
@@ -2481,14 +2495,14 @@ function ja() {
|
|
|
2481
2495
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2482
2496
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2483
2497
|
}
|
|
2484
|
-
function
|
|
2485
|
-
return Ya(t) || za(t) ||
|
|
2498
|
+
function jn(t) {
|
|
2499
|
+
return Ya(t) || za(t) || zn(t) || ja();
|
|
2486
2500
|
}
|
|
2487
|
-
var
|
|
2501
|
+
var $t = Number.isNaN || function(e) {
|
|
2488
2502
|
return typeof e == "number" && e !== e;
|
|
2489
2503
|
};
|
|
2490
2504
|
function ka(t, e) {
|
|
2491
|
-
return !!(t === e ||
|
|
2505
|
+
return !!(t === e || $t(t) && $t(e));
|
|
2492
2506
|
}
|
|
2493
2507
|
function Ja(t, e) {
|
|
2494
2508
|
if (t.length !== e.length)
|
|
@@ -2519,8 +2533,8 @@ var Qa = process.env.NODE_ENV === "production" ? {
|
|
|
2519
2533
|
styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",
|
|
2520
2534
|
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
|
|
2521
2535
|
toString: _a
|
|
2522
|
-
},
|
|
2523
|
-
return
|
|
2536
|
+
}, Kt = function(e) {
|
|
2537
|
+
return x("span", S({
|
|
2524
2538
|
css: Qa
|
|
2525
2539
|
}, e));
|
|
2526
2540
|
}, $a = {
|
|
@@ -2555,8 +2569,8 @@ var Qa = process.env.NODE_ENV === "production" ? {
|
|
|
2555
2569
|
}
|
|
2556
2570
|
},
|
|
2557
2571
|
onFocus: function(e) {
|
|
2558
|
-
var r = e.context, a = e.focused, n = e.options, i = e.label, u = i === void 0 ? "" : i, o = e.selectValue, s = e.isDisabled, c = e.isSelected, l = function(f,
|
|
2559
|
-
return f && f.length ? "".concat(f.indexOf(
|
|
2572
|
+
var r = e.context, a = e.focused, n = e.options, i = e.label, u = i === void 0 ? "" : i, o = e.selectValue, s = e.isDisabled, c = e.isSelected, l = function(f, p) {
|
|
2573
|
+
return f && f.length ? "".concat(f.indexOf(p) + 1, " of ").concat(f.length) : "";
|
|
2560
2574
|
};
|
|
2561
2575
|
if (r === "value" && o)
|
|
2562
2576
|
return "value ".concat(u, " focused, ").concat(l(o, a), ".");
|
|
@@ -2571,26 +2585,26 @@ var Qa = process.env.NODE_ENV === "production" ? {
|
|
|
2571
2585
|
return "".concat(a).concat(r ? " for search term " + r : "", ".");
|
|
2572
2586
|
}
|
|
2573
2587
|
}, Ka = function(e) {
|
|
2574
|
-
var r = e.ariaSelection, a = e.focusedOption, n = e.focusedValue, i = e.focusableOptions, u = e.isFocused, o = e.selectValue, s = e.selectProps, c = e.id, l = s.ariaLiveMessages, d = s.getOptionLabel, v = s.inputValue,
|
|
2575
|
-
return
|
|
2576
|
-
}, [l]),
|
|
2588
|
+
var r = e.ariaSelection, a = e.focusedOption, n = e.focusedValue, i = e.focusableOptions, u = e.isFocused, o = e.selectValue, s = e.selectProps, c = e.id, l = s.ariaLiveMessages, d = s.getOptionLabel, v = s.inputValue, m = s.isMulti, f = s.isOptionDisabled, p = s.isSearchable, g = s.menuIsOpen, I = s.options, h = s.screenReaderStatus, y = s.tabSelectsValue, E = s["aria-label"], b = s["aria-live"], B = Ce(function() {
|
|
2589
|
+
return w(w({}, $a), l || {});
|
|
2590
|
+
}, [l]), A = Ce(function() {
|
|
2577
2591
|
var O = "";
|
|
2578
|
-
if (r &&
|
|
2592
|
+
if (r && B.onChange) {
|
|
2579
2593
|
var T = r.option, U = r.options, Y = r.removedValue, _ = r.removedValues, ne = r.value, ee = function(K) {
|
|
2580
2594
|
return Array.isArray(K) ? null : K;
|
|
2581
|
-
}, oe = Y || T || ee(ne), M = oe ? d(oe) : "", H = U || _ || void 0, re = H ? H.map(d) : [], ie =
|
|
2595
|
+
}, oe = Y || T || ee(ne), M = oe ? d(oe) : "", H = U || _ || void 0, re = H ? H.map(d) : [], ie = w({
|
|
2582
2596
|
// multiSelected items are usually items that have already been selected
|
|
2583
2597
|
// or set by the user as a default value so we assume they are not disabled
|
|
2584
2598
|
isDisabled: oe && f(oe, o),
|
|
2585
2599
|
label: M,
|
|
2586
2600
|
labels: re
|
|
2587
2601
|
}, r);
|
|
2588
|
-
O =
|
|
2602
|
+
O = B.onChange(ie);
|
|
2589
2603
|
}
|
|
2590
2604
|
return O;
|
|
2591
|
-
}, [r,
|
|
2605
|
+
}, [r, B, f, o, d]), P = Ce(function() {
|
|
2592
2606
|
var O = "", T = a || n, U = !!(a && o && o.includes(a));
|
|
2593
|
-
if (T &&
|
|
2607
|
+
if (T && B.onFocus) {
|
|
2594
2608
|
var Y = {
|
|
2595
2609
|
focused: T,
|
|
2596
2610
|
label: d(T),
|
|
@@ -2600,48 +2614,48 @@ var Qa = process.env.NODE_ENV === "production" ? {
|
|
|
2600
2614
|
context: T === a ? "menu" : "value",
|
|
2601
2615
|
selectValue: o
|
|
2602
2616
|
};
|
|
2603
|
-
O =
|
|
2617
|
+
O = B.onFocus(Y);
|
|
2604
2618
|
}
|
|
2605
2619
|
return O;
|
|
2606
|
-
}, [a, n, d, f,
|
|
2620
|
+
}, [a, n, d, f, B, I, o]), X = Ce(function() {
|
|
2607
2621
|
var O = "";
|
|
2608
|
-
if (g && I.length &&
|
|
2622
|
+
if (g && I.length && B.onFilter) {
|
|
2609
2623
|
var T = h({
|
|
2610
2624
|
count: i.length
|
|
2611
2625
|
});
|
|
2612
|
-
O =
|
|
2626
|
+
O = B.onFilter({
|
|
2613
2627
|
inputValue: v,
|
|
2614
2628
|
resultsMessage: T
|
|
2615
2629
|
});
|
|
2616
2630
|
}
|
|
2617
2631
|
return O;
|
|
2618
|
-
}, [i, v, g,
|
|
2632
|
+
}, [i, v, g, B, I, h]), z = Ce(function() {
|
|
2619
2633
|
var O = "";
|
|
2620
|
-
if (
|
|
2634
|
+
if (B.guidance) {
|
|
2621
2635
|
var T = n ? "value" : g ? "menu" : "input";
|
|
2622
|
-
O =
|
|
2636
|
+
O = B.guidance({
|
|
2623
2637
|
"aria-label": E,
|
|
2624
2638
|
context: T,
|
|
2625
2639
|
isDisabled: a && f(a, o),
|
|
2626
|
-
isMulti:
|
|
2627
|
-
isSearchable:
|
|
2640
|
+
isMulti: m,
|
|
2641
|
+
isSearchable: p,
|
|
2628
2642
|
tabSelectsValue: y
|
|
2629
2643
|
});
|
|
2630
2644
|
}
|
|
2631
2645
|
return O;
|
|
2632
|
-
}, [E, a, n,
|
|
2646
|
+
}, [E, a, n, m, f, p, g, B, o, y]), J = "".concat(P, " ").concat(X, " ").concat(z), j = x(nt, null, x("span", {
|
|
2633
2647
|
id: "aria-selection"
|
|
2634
|
-
},
|
|
2648
|
+
}, A), x("span", {
|
|
2635
2649
|
id: "aria-context"
|
|
2636
2650
|
}, J)), D = r?.action === "initial-input-focus";
|
|
2637
|
-
return
|
|
2651
|
+
return x(nt, null, x(Kt, {
|
|
2638
2652
|
id: c
|
|
2639
|
-
}, D && j),
|
|
2653
|
+
}, D && j), x(Kt, {
|
|
2640
2654
|
"aria-live": b,
|
|
2641
2655
|
"aria-atomic": "false",
|
|
2642
2656
|
"aria-relevant": "additions text"
|
|
2643
2657
|
}, u && !D && j));
|
|
2644
|
-
},
|
|
2658
|
+
}, dt = [{
|
|
2645
2659
|
base: "A",
|
|
2646
2660
|
letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
|
|
2647
2661
|
}, {
|
|
@@ -2893,17 +2907,17 @@ var Qa = process.env.NODE_ENV === "production" ? {
|
|
|
2893
2907
|
}, {
|
|
2894
2908
|
base: "z",
|
|
2895
2909
|
letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ"
|
|
2896
|
-
}], qa = new RegExp("[" +
|
|
2910
|
+
}], qa = new RegExp("[" + dt.map(function(t) {
|
|
2897
2911
|
return t.letters;
|
|
2898
|
-
}).join("") + "]", "g"),
|
|
2899
|
-
for (var
|
|
2900
|
-
for (var
|
|
2901
|
-
|
|
2902
|
-
var
|
|
2912
|
+
}).join("") + "]", "g"), kn = {};
|
|
2913
|
+
for (var Ke = 0; Ke < dt.length; Ke++)
|
|
2914
|
+
for (var qe = dt[Ke], et = 0; et < qe.letters.length; et++)
|
|
2915
|
+
kn[qe.letters[et]] = qe.base;
|
|
2916
|
+
var Jn = function(e) {
|
|
2903
2917
|
return e.replace(qa, function(r) {
|
|
2904
|
-
return
|
|
2918
|
+
return kn[r];
|
|
2905
2919
|
});
|
|
2906
|
-
}, eu = Ua(
|
|
2920
|
+
}, eu = Ua(Jn), qt = function(e) {
|
|
2907
2921
|
return e.replace(/^\s+|\s+$/g, "");
|
|
2908
2922
|
}, tu = function(e) {
|
|
2909
2923
|
return "".concat(e.label, " ").concat(e.value);
|
|
@@ -2911,22 +2925,22 @@ var Qn = function(e) {
|
|
|
2911
2925
|
return function(r, a) {
|
|
2912
2926
|
if (r.data.__isNew__)
|
|
2913
2927
|
return !0;
|
|
2914
|
-
var n =
|
|
2928
|
+
var n = w({
|
|
2915
2929
|
ignoreCase: !0,
|
|
2916
2930
|
ignoreAccents: !0,
|
|
2917
2931
|
stringify: tu,
|
|
2918
2932
|
trim: !0,
|
|
2919
2933
|
matchFrom: "any"
|
|
2920
|
-
}, e), i = n.ignoreCase, u = n.ignoreAccents, o = n.stringify, s = n.trim, c = n.matchFrom, l = s ?
|
|
2921
|
-
return i && (l = l.toLowerCase(), d = d.toLowerCase()), u && (l = eu(l), d =
|
|
2934
|
+
}, e), i = n.ignoreCase, u = n.ignoreAccents, o = n.stringify, s = n.trim, c = n.matchFrom, l = s ? qt(a) : a, d = s ? qt(o(r)) : o(r);
|
|
2935
|
+
return i && (l = l.toLowerCase(), d = d.toLowerCase()), u && (l = eu(l), d = Jn(d)), c === "start" ? d.substr(0, l.length) === l : d.indexOf(l) > -1;
|
|
2922
2936
|
};
|
|
2923
2937
|
}, ru = ["innerRef"];
|
|
2924
2938
|
function iu(t) {
|
|
2925
|
-
var e = t.innerRef, r =
|
|
2926
|
-
return
|
|
2939
|
+
var e = t.innerRef, r = Ie(t, ru);
|
|
2940
|
+
return x("input", S({
|
|
2927
2941
|
ref: e
|
|
2928
2942
|
}, r, {
|
|
2929
|
-
css: /* @__PURE__ */
|
|
2943
|
+
css: /* @__PURE__ */ xt({
|
|
2930
2944
|
label: "dummyInput",
|
|
2931
2945
|
// get rid of any default styles
|
|
2932
2946
|
background: 0,
|
|
@@ -2953,16 +2967,16 @@ var au = function(e) {
|
|
|
2953
2967
|
e.preventDefault(), e.stopPropagation();
|
|
2954
2968
|
};
|
|
2955
2969
|
function uu(t) {
|
|
2956
|
-
var e = t.isEnabled, r = t.onBottomArrive, a = t.onBottomLeave, n = t.onTopArrive, i = t.onTopLeave, u =
|
|
2970
|
+
var e = t.isEnabled, r = t.onBottomArrive, a = t.onBottomLeave, n = t.onTopArrive, i = t.onTopLeave, u = be(!1), o = be(!1), s = be(0), c = be(null), l = q(function(g, I) {
|
|
2957
2971
|
if (c.current !== null) {
|
|
2958
|
-
var h = c.current, y = h.scrollTop, E = h.scrollHeight, b = h.clientHeight,
|
|
2959
|
-
|
|
2972
|
+
var h = c.current, y = h.scrollTop, E = h.scrollHeight, b = h.clientHeight, B = c.current, A = I > 0, P = E - b - y, X = !1;
|
|
2973
|
+
P > I && u.current && (a && a(g), u.current = !1), A && o.current && (i && i(g), o.current = !1), A && I > P ? (r && !u.current && r(g), B.scrollTop = E, X = !0, u.current = !0) : !A && -I > y && (n && !o.current && n(g), B.scrollTop = 0, X = !0, o.current = !0), X && au(g);
|
|
2960
2974
|
}
|
|
2961
2975
|
}, [r, a, n, i]), d = q(function(g) {
|
|
2962
2976
|
l(g, g.deltaY);
|
|
2963
2977
|
}, [l]), v = q(function(g) {
|
|
2964
2978
|
s.current = g.changedTouches[0].clientY;
|
|
2965
|
-
}, []),
|
|
2979
|
+
}, []), m = q(function(g) {
|
|
2966
2980
|
var I = s.current - g.changedTouches[0].clientY;
|
|
2967
2981
|
l(g, I);
|
|
2968
2982
|
}, [l]), f = q(function(g) {
|
|
@@ -2970,72 +2984,72 @@ function uu(t) {
|
|
|
2970
2984
|
var I = Ti ? {
|
|
2971
2985
|
passive: !1
|
|
2972
2986
|
} : !1;
|
|
2973
|
-
g.addEventListener("wheel", d, I), g.addEventListener("touchstart", v, I), g.addEventListener("touchmove",
|
|
2987
|
+
g.addEventListener("wheel", d, I), g.addEventListener("touchstart", v, I), g.addEventListener("touchmove", m, I);
|
|
2974
2988
|
}
|
|
2975
|
-
}, [
|
|
2976
|
-
g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", v, !1), g.removeEventListener("touchmove",
|
|
2977
|
-
}, [
|
|
2978
|
-
return
|
|
2989
|
+
}, [m, v, d]), p = q(function(g) {
|
|
2990
|
+
g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", v, !1), g.removeEventListener("touchmove", m, !1));
|
|
2991
|
+
}, [m, v, d]);
|
|
2992
|
+
return dn(function() {
|
|
2979
2993
|
if (e) {
|
|
2980
2994
|
var g = c.current;
|
|
2981
2995
|
return f(g), function() {
|
|
2982
|
-
|
|
2996
|
+
p(g);
|
|
2983
2997
|
};
|
|
2984
2998
|
}
|
|
2985
|
-
}, [e, f,
|
|
2999
|
+
}, [e, f, p]), function(g) {
|
|
2986
3000
|
c.current = g;
|
|
2987
3001
|
};
|
|
2988
3002
|
}
|
|
2989
|
-
var
|
|
3003
|
+
var en = ["boxSizing", "height", "overflow", "paddingRight", "position"], tn = {
|
|
2990
3004
|
boxSizing: "border-box",
|
|
2991
3005
|
// account for possible declaration `width: 100%;` on body
|
|
2992
3006
|
overflow: "hidden",
|
|
2993
3007
|
position: "relative",
|
|
2994
3008
|
height: "100%"
|
|
2995
3009
|
};
|
|
2996
|
-
function
|
|
3010
|
+
function nn(t) {
|
|
2997
3011
|
t.preventDefault();
|
|
2998
3012
|
}
|
|
2999
|
-
function
|
|
3013
|
+
function rn(t) {
|
|
3000
3014
|
t.stopPropagation();
|
|
3001
3015
|
}
|
|
3002
|
-
function
|
|
3016
|
+
function an() {
|
|
3003
3017
|
var t = this.scrollTop, e = this.scrollHeight, r = t + this.offsetHeight;
|
|
3004
3018
|
t === 0 ? this.scrollTop = 1 : r === e && (this.scrollTop = t - 1);
|
|
3005
3019
|
}
|
|
3006
|
-
function
|
|
3020
|
+
function un() {
|
|
3007
3021
|
return "ontouchstart" in window || navigator.maxTouchPoints;
|
|
3008
3022
|
}
|
|
3009
|
-
var
|
|
3023
|
+
var on = !!(typeof window < "u" && window.document && window.document.createElement), Ae = 0, ge = {
|
|
3010
3024
|
capture: !1,
|
|
3011
3025
|
passive: !1
|
|
3012
3026
|
};
|
|
3013
3027
|
function ou(t) {
|
|
3014
|
-
var e = t.isEnabled, r = t.accountForScrollbars, a = r === void 0 ? !0 : r, n =
|
|
3015
|
-
if (
|
|
3028
|
+
var e = t.isEnabled, r = t.accountForScrollbars, a = r === void 0 ? !0 : r, n = be({}), i = be(null), u = q(function(s) {
|
|
3029
|
+
if (on) {
|
|
3016
3030
|
var c = document.body, l = c && c.style;
|
|
3017
|
-
if (a &&
|
|
3018
|
-
var
|
|
3019
|
-
n.current[f] =
|
|
3020
|
-
}), a &&
|
|
3021
|
-
var d = parseInt(n.current.paddingRight, 10) || 0, v = document.body ? document.body.clientWidth : 0,
|
|
3022
|
-
Object.keys(
|
|
3023
|
-
var
|
|
3024
|
-
l && (l[f] =
|
|
3025
|
-
}), l && (l.paddingRight = "".concat(
|
|
3031
|
+
if (a && en.forEach(function(f) {
|
|
3032
|
+
var p = l && l[f];
|
|
3033
|
+
n.current[f] = p;
|
|
3034
|
+
}), a && Ae < 1) {
|
|
3035
|
+
var d = parseInt(n.current.paddingRight, 10) || 0, v = document.body ? document.body.clientWidth : 0, m = window.innerWidth - v + d || 0;
|
|
3036
|
+
Object.keys(tn).forEach(function(f) {
|
|
3037
|
+
var p = tn[f];
|
|
3038
|
+
l && (l[f] = p);
|
|
3039
|
+
}), l && (l.paddingRight = "".concat(m, "px"));
|
|
3026
3040
|
}
|
|
3027
|
-
c &&
|
|
3041
|
+
c && un() && (c.addEventListener("touchmove", nn, ge), s && (s.addEventListener("touchstart", an, ge), s.addEventListener("touchmove", rn, ge))), Ae += 1;
|
|
3028
3042
|
}
|
|
3029
3043
|
}, [a]), o = q(function(s) {
|
|
3030
|
-
if (
|
|
3044
|
+
if (on) {
|
|
3031
3045
|
var c = document.body, l = c && c.style;
|
|
3032
|
-
|
|
3046
|
+
Ae = Math.max(Ae - 1, 0), a && Ae < 1 && en.forEach(function(d) {
|
|
3033
3047
|
var v = n.current[d];
|
|
3034
3048
|
l && (l[d] = v);
|
|
3035
|
-
}), c &&
|
|
3049
|
+
}), c && un() && (c.removeEventListener("touchmove", nn, ge), s && (s.removeEventListener("touchstart", an, ge), s.removeEventListener("touchmove", rn, ge)));
|
|
3036
3050
|
}
|
|
3037
3051
|
}, [a]);
|
|
3038
|
-
return
|
|
3052
|
+
return dn(function() {
|
|
3039
3053
|
if (e) {
|
|
3040
3054
|
var s = i.current;
|
|
3041
3055
|
return u(s), function() {
|
|
@@ -3069,10 +3083,10 @@ function du(t) {
|
|
|
3069
3083
|
onTopLeave: s
|
|
3070
3084
|
}), l = ou({
|
|
3071
3085
|
isEnabled: r
|
|
3072
|
-
}), d = function(
|
|
3073
|
-
c(
|
|
3086
|
+
}), d = function(m) {
|
|
3087
|
+
c(m), l(m);
|
|
3074
3088
|
};
|
|
3075
|
-
return
|
|
3089
|
+
return x(nt, null, r && x("div", {
|
|
3076
3090
|
onClick: cu,
|
|
3077
3091
|
css: lu
|
|
3078
3092
|
}), e(d));
|
|
@@ -3083,15 +3097,15 @@ var gu = function(e) {
|
|
|
3083
3097
|
return e.label;
|
|
3084
3098
|
}, fu = function(e) {
|
|
3085
3099
|
return e.value;
|
|
3086
|
-
},
|
|
3100
|
+
}, mu = function(e) {
|
|
3087
3101
|
return !!e.isDisabled;
|
|
3088
|
-
},
|
|
3102
|
+
}, pu = {
|
|
3089
3103
|
clearIndicator: aa,
|
|
3090
3104
|
container: Ui,
|
|
3091
3105
|
control: da,
|
|
3092
3106
|
dropdownIndicator: ra,
|
|
3093
3107
|
group: fa,
|
|
3094
|
-
groupHeading:
|
|
3108
|
+
groupHeading: pa,
|
|
3095
3109
|
indicatorsContainer: Ki,
|
|
3096
3110
|
indicatorSeparator: oa,
|
|
3097
3111
|
input: ha,
|
|
@@ -3105,7 +3119,7 @@ var gu = function(e) {
|
|
|
3105
3119
|
multiValueRemove: Ga,
|
|
3106
3120
|
noOptionsMessage: zi,
|
|
3107
3121
|
option: Fa,
|
|
3108
|
-
placeholder:
|
|
3122
|
+
placeholder: Pa,
|
|
3109
3123
|
singleValue: Xa,
|
|
3110
3124
|
valueContainer: Qi
|
|
3111
3125
|
}, vu = {
|
|
@@ -3126,19 +3140,19 @@ var gu = function(e) {
|
|
|
3126
3140
|
neutral70: "hsl(0, 0%, 30%)",
|
|
3127
3141
|
neutral80: "hsl(0, 0%, 20%)",
|
|
3128
3142
|
neutral90: "hsl(0, 0%, 10%)"
|
|
3129
|
-
}, Iu = 4,
|
|
3130
|
-
baseUnit:
|
|
3143
|
+
}, Iu = 4, Un = 4, hu = 38, Cu = Un * 2, yu = {
|
|
3144
|
+
baseUnit: Un,
|
|
3131
3145
|
controlHeight: hu,
|
|
3132
3146
|
menuGutter: Cu
|
|
3133
|
-
},
|
|
3147
|
+
}, tt = {
|
|
3134
3148
|
borderRadius: Iu,
|
|
3135
3149
|
colors: vu,
|
|
3136
3150
|
spacing: yu
|
|
3137
3151
|
}, Au = {
|
|
3138
3152
|
"aria-live": "polite",
|
|
3139
3153
|
backspaceRemovesValue: !0,
|
|
3140
|
-
blurInputOnSelect:
|
|
3141
|
-
captureMenuScroll: !
|
|
3154
|
+
blurInputOnSelect: _t(),
|
|
3155
|
+
captureMenuScroll: !_t(),
|
|
3142
3156
|
closeMenuOnSelect: !0,
|
|
3143
3157
|
closeMenuOnScroll: !1,
|
|
3144
3158
|
components: {},
|
|
@@ -3153,7 +3167,7 @@ var gu = function(e) {
|
|
|
3153
3167
|
isMulti: !1,
|
|
3154
3168
|
isRtl: !1,
|
|
3155
3169
|
isSearchable: !0,
|
|
3156
|
-
isOptionDisabled:
|
|
3170
|
+
isOptionDisabled: mu,
|
|
3157
3171
|
loadingMessage: function() {
|
|
3158
3172
|
return "Loading...";
|
|
3159
3173
|
},
|
|
@@ -3163,7 +3177,7 @@ var gu = function(e) {
|
|
|
3163
3177
|
menuPlacement: "bottom",
|
|
3164
3178
|
menuPosition: "absolute",
|
|
3165
3179
|
menuShouldBlockScroll: !1,
|
|
3166
|
-
menuShouldScrollIntoView: !
|
|
3180
|
+
menuShouldScrollIntoView: !wi(),
|
|
3167
3181
|
noOptionsMessage: function() {
|
|
3168
3182
|
return "No options";
|
|
3169
3183
|
},
|
|
@@ -3180,8 +3194,8 @@ var gu = function(e) {
|
|
|
3180
3194
|
tabIndex: 0,
|
|
3181
3195
|
tabSelectsValue: !0
|
|
3182
3196
|
};
|
|
3183
|
-
function
|
|
3184
|
-
var n =
|
|
3197
|
+
function sn(t, e, r, a) {
|
|
3198
|
+
var n = Kn(t, e, r), i = qn(t, e, r), u = $n(t, e), o = Le(t, e);
|
|
3185
3199
|
return {
|
|
3186
3200
|
type: "option",
|
|
3187
3201
|
data: e,
|
|
@@ -3192,13 +3206,13 @@ function dn(t, e, r, a) {
|
|
|
3192
3206
|
index: a
|
|
3193
3207
|
};
|
|
3194
3208
|
}
|
|
3195
|
-
function
|
|
3209
|
+
function _n(t, e) {
|
|
3196
3210
|
return t.options.map(function(r, a) {
|
|
3197
3211
|
if ("options" in r) {
|
|
3198
3212
|
var n = r.options.map(function(u, o) {
|
|
3199
|
-
return
|
|
3213
|
+
return sn(t, u, e, o);
|
|
3200
3214
|
}).filter(function(u) {
|
|
3201
|
-
return
|
|
3215
|
+
return cn(t, u);
|
|
3202
3216
|
});
|
|
3203
3217
|
return n.length > 0 ? {
|
|
3204
3218
|
type: "group",
|
|
@@ -3207,23 +3221,23 @@ function Kn(t, e) {
|
|
|
3207
3221
|
index: a
|
|
3208
3222
|
} : void 0;
|
|
3209
3223
|
}
|
|
3210
|
-
var i =
|
|
3211
|
-
return
|
|
3224
|
+
var i = sn(t, r, e, a);
|
|
3225
|
+
return cn(t, i) ? i : void 0;
|
|
3212
3226
|
}).filter(Zi);
|
|
3213
3227
|
}
|
|
3214
|
-
function
|
|
3228
|
+
function Qn(t) {
|
|
3215
3229
|
return t.reduce(function(e, r) {
|
|
3216
|
-
return r.type === "group" ? e.push.apply(e,
|
|
3230
|
+
return r.type === "group" ? e.push.apply(e, jn(r.options.map(function(a) {
|
|
3217
3231
|
return a.data;
|
|
3218
3232
|
}))) : e.push(r.data), e;
|
|
3219
3233
|
}, []);
|
|
3220
3234
|
}
|
|
3221
3235
|
function xu(t, e) {
|
|
3222
|
-
return
|
|
3236
|
+
return Qn(_n(t, e));
|
|
3223
3237
|
}
|
|
3224
|
-
function
|
|
3238
|
+
function cn(t, e) {
|
|
3225
3239
|
var r = t.inputValue, a = r === void 0 ? "" : r, n = e.data, i = e.isSelected, u = e.label, o = e.value;
|
|
3226
|
-
return (!
|
|
3240
|
+
return (!tr(t) || !i) && er(t, {
|
|
3227
3241
|
label: u,
|
|
3228
3242
|
value: o,
|
|
3229
3243
|
data: n
|
|
@@ -3244,36 +3258,36 @@ function Gu(t, e) {
|
|
|
3244
3258
|
var r = t.focusedOption;
|
|
3245
3259
|
return r && e.indexOf(r) > -1 ? r : e[0];
|
|
3246
3260
|
}
|
|
3247
|
-
var
|
|
3261
|
+
var $n = function(e, r) {
|
|
3248
3262
|
return e.getOptionLabel(r);
|
|
3249
|
-
},
|
|
3263
|
+
}, Le = function(e, r) {
|
|
3250
3264
|
return e.getOptionValue(r);
|
|
3251
3265
|
};
|
|
3252
|
-
function
|
|
3266
|
+
function Kn(t, e, r) {
|
|
3253
3267
|
return typeof t.isOptionDisabled == "function" ? t.isOptionDisabled(e, r) : !1;
|
|
3254
3268
|
}
|
|
3255
|
-
function
|
|
3269
|
+
function qn(t, e, r) {
|
|
3256
3270
|
if (r.indexOf(e) > -1)
|
|
3257
3271
|
return !0;
|
|
3258
3272
|
if (typeof t.isOptionSelected == "function")
|
|
3259
3273
|
return t.isOptionSelected(e, r);
|
|
3260
|
-
var a =
|
|
3274
|
+
var a = Le(t, e);
|
|
3261
3275
|
return r.some(function(n) {
|
|
3262
|
-
return
|
|
3276
|
+
return Le(t, n) === a;
|
|
3263
3277
|
});
|
|
3264
3278
|
}
|
|
3265
|
-
function
|
|
3279
|
+
function er(t, e, r) {
|
|
3266
3280
|
return t.filterOption ? t.filterOption(e, r) : !0;
|
|
3267
3281
|
}
|
|
3268
|
-
var
|
|
3282
|
+
var tr = function(e) {
|
|
3269
3283
|
var r = e.hideSelectedOptions, a = e.isMulti;
|
|
3270
3284
|
return r === void 0 ? a : r;
|
|
3271
|
-
}, Su = 1,
|
|
3272
|
-
|
|
3273
|
-
var e =
|
|
3285
|
+
}, Su = 1, nr = /* @__PURE__ */ function(t) {
|
|
3286
|
+
St(r, t);
|
|
3287
|
+
var e = Bt(r);
|
|
3274
3288
|
function r(a) {
|
|
3275
3289
|
var n;
|
|
3276
|
-
return
|
|
3290
|
+
return Et(this, r), n = e.call(this, a), n.state = {
|
|
3277
3291
|
ariaSelection: null,
|
|
3278
3292
|
focusedOption: null,
|
|
3279
3293
|
focusedValue: null,
|
|
@@ -3311,12 +3325,12 @@ var ir = function(e) {
|
|
|
3311
3325
|
}, n.selectOption = function(i) {
|
|
3312
3326
|
var u = n.props, o = u.blurInputOnSelect, s = u.isMulti, c = u.name, l = n.state.selectValue, d = s && n.isOptionSelected(i, l), v = n.isOptionDisabled(i, l);
|
|
3313
3327
|
if (d) {
|
|
3314
|
-
var
|
|
3328
|
+
var m = n.getOptionValue(i);
|
|
3315
3329
|
n.setValue(l.filter(function(f) {
|
|
3316
|
-
return n.getOptionValue(f) !==
|
|
3330
|
+
return n.getOptionValue(f) !== m;
|
|
3317
3331
|
}), "deselect-option", i);
|
|
3318
3332
|
} else if (!v)
|
|
3319
|
-
s ? n.setValue([].concat(
|
|
3333
|
+
s ? n.setValue([].concat(jn(l), [i]), "select-option", i) : n.setValue(i, "select-option");
|
|
3320
3334
|
else {
|
|
3321
3335
|
n.ariaOnChange(i, {
|
|
3322
3336
|
action: "select-option",
|
|
@@ -3329,19 +3343,19 @@ var ir = function(e) {
|
|
|
3329
3343
|
}, n.removeValue = function(i) {
|
|
3330
3344
|
var u = n.props.isMulti, o = n.state.selectValue, s = n.getOptionValue(i), c = o.filter(function(d) {
|
|
3331
3345
|
return n.getOptionValue(d) !== s;
|
|
3332
|
-
}), l =
|
|
3346
|
+
}), l = we(u, c, c[0] || null);
|
|
3333
3347
|
n.onChange(l, {
|
|
3334
3348
|
action: "remove-value",
|
|
3335
3349
|
removedValue: i
|
|
3336
3350
|
}), n.focusInput();
|
|
3337
3351
|
}, n.clearValue = function() {
|
|
3338
3352
|
var i = n.state.selectValue;
|
|
3339
|
-
n.onChange(
|
|
3353
|
+
n.onChange(we(n.props.isMulti, [], null), {
|
|
3340
3354
|
action: "clear",
|
|
3341
3355
|
removedValues: i
|
|
3342
3356
|
});
|
|
3343
3357
|
}, n.popValue = function() {
|
|
3344
|
-
var i = n.props.isMulti, u = n.state.selectValue, o = u[u.length - 1], s = u.slice(0, u.length - 1), c =
|
|
3358
|
+
var i = n.props.isMulti, u = n.state.selectValue, o = u[u.length - 1], s = u.slice(0, u.length - 1), c = we(i, s, s[0] || null);
|
|
3345
3359
|
n.onChange(c, {
|
|
3346
3360
|
action: "pop-value",
|
|
3347
3361
|
removedValue: o
|
|
@@ -3353,11 +3367,11 @@ var ir = function(e) {
|
|
|
3353
3367
|
u[o] = arguments[o];
|
|
3354
3368
|
return Ni.apply(void 0, [n.props.classNamePrefix].concat(u));
|
|
3355
3369
|
}, n.getOptionLabel = function(i) {
|
|
3356
|
-
return
|
|
3370
|
+
return $n(n.props, i);
|
|
3357
3371
|
}, n.getOptionValue = function(i) {
|
|
3358
|
-
return
|
|
3372
|
+
return Le(n.props, i);
|
|
3359
3373
|
}, n.getStyles = function(i, u) {
|
|
3360
|
-
var o =
|
|
3374
|
+
var o = pu[i](u);
|
|
3361
3375
|
o.boxSizing = "border-box";
|
|
3362
3376
|
var s = n.props.styles[i];
|
|
3363
3377
|
return s ? s(o, u) : o;
|
|
@@ -3366,16 +3380,16 @@ var ir = function(e) {
|
|
|
3366
3380
|
}, n.getComponents = function() {
|
|
3367
3381
|
return Oa(n.props);
|
|
3368
3382
|
}, n.buildCategorizedOptions = function() {
|
|
3369
|
-
return
|
|
3383
|
+
return _n(n.props, n.state.selectValue);
|
|
3370
3384
|
}, n.getCategorizedOptions = function() {
|
|
3371
3385
|
return n.props.menuIsOpen ? n.buildCategorizedOptions() : [];
|
|
3372
3386
|
}, n.buildFocusableOptions = function() {
|
|
3373
|
-
return
|
|
3387
|
+
return Qn(n.buildCategorizedOptions());
|
|
3374
3388
|
}, n.getFocusableOptions = function() {
|
|
3375
3389
|
return n.props.menuIsOpen ? n.buildFocusableOptions() : [];
|
|
3376
3390
|
}, n.ariaOnChange = function(i, u) {
|
|
3377
3391
|
n.setState({
|
|
3378
|
-
ariaSelection:
|
|
3392
|
+
ariaSelection: w({
|
|
3379
3393
|
value: i
|
|
3380
3394
|
}, u)
|
|
3381
3395
|
});
|
|
@@ -3398,7 +3412,7 @@ var ir = function(e) {
|
|
|
3398
3412
|
return n.focusInput();
|
|
3399
3413
|
}));
|
|
3400
3414
|
}, n.onScroll = function(i) {
|
|
3401
|
-
typeof n.props.closeMenuOnScroll == "boolean" ? i.target instanceof HTMLElement &&
|
|
3415
|
+
typeof n.props.closeMenuOnScroll == "boolean" ? i.target instanceof HTMLElement && Nt(i.target) && n.props.onMenuClose() : typeof n.props.closeMenuOnScroll == "function" && n.props.closeMenuOnScroll(i) && n.props.onMenuClose();
|
|
3402
3416
|
}, n.onCompositionStart = function() {
|
|
3403
3417
|
n.isComposing = !0;
|
|
3404
3418
|
}, n.onCompositionEnd = function() {
|
|
@@ -3451,9 +3465,9 @@ var ir = function(e) {
|
|
|
3451
3465
|
focusedOption: i
|
|
3452
3466
|
});
|
|
3453
3467
|
}, n.shouldHideSelectedOptions = function() {
|
|
3454
|
-
return
|
|
3468
|
+
return tr(n.props);
|
|
3455
3469
|
}, n.onKeyDown = function(i) {
|
|
3456
|
-
var u = n.props, o = u.isMulti, s = u.backspaceRemovesValue, c = u.escapeClearsValue, l = u.inputValue, d = u.isClearable, v = u.isDisabled,
|
|
3470
|
+
var u = n.props, o = u.isMulti, s = u.backspaceRemovesValue, c = u.escapeClearsValue, l = u.inputValue, d = u.isClearable, v = u.isDisabled, m = u.menuIsOpen, f = u.onKeyDown, p = u.tabSelectsValue, g = u.openMenuOnFocus, I = n.state, h = I.focusedOption, y = I.focusedValue, E = I.selectValue;
|
|
3457
3471
|
if (!v && !(typeof f == "function" && (f(i), i.defaultPrevented))) {
|
|
3458
3472
|
switch (n.blockOptionHover = !0, i.key) {
|
|
3459
3473
|
case "ArrowLeft":
|
|
@@ -3479,7 +3493,7 @@ var ir = function(e) {
|
|
|
3479
3493
|
}
|
|
3480
3494
|
break;
|
|
3481
3495
|
case "Tab":
|
|
3482
|
-
if (n.isComposing || i.shiftKey || !
|
|
3496
|
+
if (n.isComposing || i.shiftKey || !m || !p || !h || // don't capture the event if the menu opens on focus and the focused
|
|
3483
3497
|
// option is already selected; it breaks the flow of navigation
|
|
3484
3498
|
g && n.isOptionSelected(h, E))
|
|
3485
3499
|
return;
|
|
@@ -3488,7 +3502,7 @@ var ir = function(e) {
|
|
|
3488
3502
|
case "Enter":
|
|
3489
3503
|
if (i.keyCode === 229)
|
|
3490
3504
|
break;
|
|
3491
|
-
if (
|
|
3505
|
+
if (m) {
|
|
3492
3506
|
if (!h || n.isComposing)
|
|
3493
3507
|
return;
|
|
3494
3508
|
n.selectOption(h);
|
|
@@ -3496,7 +3510,7 @@ var ir = function(e) {
|
|
|
3496
3510
|
}
|
|
3497
3511
|
return;
|
|
3498
3512
|
case "Escape":
|
|
3499
|
-
|
|
3513
|
+
m ? (n.setState({
|
|
3500
3514
|
inputIsHiddenAfterUpdate: !1
|
|
3501
3515
|
}), n.onInputChange("", {
|
|
3502
3516
|
action: "menu-close",
|
|
@@ -3506,7 +3520,7 @@ var ir = function(e) {
|
|
|
3506
3520
|
case " ":
|
|
3507
3521
|
if (l)
|
|
3508
3522
|
return;
|
|
3509
|
-
if (!
|
|
3523
|
+
if (!m) {
|
|
3510
3524
|
n.openMenu("first");
|
|
3511
3525
|
break;
|
|
3512
3526
|
}
|
|
@@ -3515,28 +3529,28 @@ var ir = function(e) {
|
|
|
3515
3529
|
n.selectOption(h);
|
|
3516
3530
|
break;
|
|
3517
3531
|
case "ArrowUp":
|
|
3518
|
-
|
|
3532
|
+
m ? n.focusOption("up") : n.openMenu("last");
|
|
3519
3533
|
break;
|
|
3520
3534
|
case "ArrowDown":
|
|
3521
|
-
|
|
3535
|
+
m ? n.focusOption("down") : n.openMenu("first");
|
|
3522
3536
|
break;
|
|
3523
3537
|
case "PageUp":
|
|
3524
|
-
if (!
|
|
3538
|
+
if (!m)
|
|
3525
3539
|
return;
|
|
3526
3540
|
n.focusOption("pageup");
|
|
3527
3541
|
break;
|
|
3528
3542
|
case "PageDown":
|
|
3529
|
-
if (!
|
|
3543
|
+
if (!m)
|
|
3530
3544
|
return;
|
|
3531
3545
|
n.focusOption("pagedown");
|
|
3532
3546
|
break;
|
|
3533
3547
|
case "Home":
|
|
3534
|
-
if (!
|
|
3548
|
+
if (!m)
|
|
3535
3549
|
return;
|
|
3536
3550
|
n.focusOption("first");
|
|
3537
3551
|
break;
|
|
3538
3552
|
case "End":
|
|
3539
|
-
if (!
|
|
3553
|
+
if (!m)
|
|
3540
3554
|
return;
|
|
3541
3555
|
n.focusOption("last");
|
|
3542
3556
|
break;
|
|
@@ -3545,9 +3559,9 @@ var ir = function(e) {
|
|
|
3545
3559
|
}
|
|
3546
3560
|
i.preventDefault();
|
|
3547
3561
|
}
|
|
3548
|
-
}, n.instancePrefix = "react-select-" + (n.props.instanceId || ++Su), n.state.selectValue =
|
|
3562
|
+
}, n.instancePrefix = "react-select-" + (n.props.instanceId || ++Su), n.state.selectValue = Ut(a.value), n;
|
|
3549
3563
|
}
|
|
3550
|
-
return
|
|
3564
|
+
return Gt(r, [{
|
|
3551
3565
|
key: "componentDidMount",
|
|
3552
3566
|
value: function() {
|
|
3553
3567
|
this.startListeningComposition(), this.startListeningToTouch(), this.props.closeMenuOnScroll && document && document.addEventListener && document.addEventListener("scroll", this.onScroll, !0), this.props.autoFocus && this.focusInput();
|
|
@@ -3664,13 +3678,13 @@ var ir = function(e) {
|
|
|
3664
3678
|
// Getters
|
|
3665
3679
|
// ==============================
|
|
3666
3680
|
function() {
|
|
3667
|
-
return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(
|
|
3681
|
+
return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(tt) : w(w({}, tt), this.props.theme) : tt;
|
|
3668
3682
|
}
|
|
3669
3683
|
)
|
|
3670
3684
|
}, {
|
|
3671
3685
|
key: "getCommonProps",
|
|
3672
3686
|
value: function() {
|
|
3673
|
-
var n = this.clearValue, i = this.cx, u = this.getStyles, o = this.getValue, s = this.selectOption, c = this.setValue, l = this.props, d = l.isMulti, v = l.isRtl,
|
|
3687
|
+
var n = this.clearValue, i = this.cx, u = this.getStyles, o = this.getValue, s = this.selectOption, c = this.setValue, l = this.props, d = l.isMulti, v = l.isRtl, m = l.options, f = this.hasValue();
|
|
3674
3688
|
return {
|
|
3675
3689
|
clearValue: n,
|
|
3676
3690
|
cx: i,
|
|
@@ -3679,7 +3693,7 @@ var ir = function(e) {
|
|
|
3679
3693
|
hasValue: f,
|
|
3680
3694
|
isMulti: d,
|
|
3681
3695
|
isRtl: v,
|
|
3682
|
-
options:
|
|
3696
|
+
options: m,
|
|
3683
3697
|
selectOption: s,
|
|
3684
3698
|
selectProps: l,
|
|
3685
3699
|
setValue: c,
|
|
@@ -3706,17 +3720,17 @@ var ir = function(e) {
|
|
|
3706
3720
|
}, {
|
|
3707
3721
|
key: "isOptionDisabled",
|
|
3708
3722
|
value: function(n, i) {
|
|
3709
|
-
return
|
|
3723
|
+
return Kn(this.props, n, i);
|
|
3710
3724
|
}
|
|
3711
3725
|
}, {
|
|
3712
3726
|
key: "isOptionSelected",
|
|
3713
3727
|
value: function(n, i) {
|
|
3714
|
-
return
|
|
3728
|
+
return qn(this.props, n, i);
|
|
3715
3729
|
}
|
|
3716
3730
|
}, {
|
|
3717
3731
|
key: "filterOption",
|
|
3718
3732
|
value: function(n, i) {
|
|
3719
|
-
return
|
|
3733
|
+
return er(this.props, n, i);
|
|
3720
3734
|
}
|
|
3721
3735
|
}, {
|
|
3722
3736
|
key: "formatOptionLabel",
|
|
@@ -3776,7 +3790,7 @@ var ir = function(e) {
|
|
|
3776
3790
|
// Renderers
|
|
3777
3791
|
// ==============================
|
|
3778
3792
|
function() {
|
|
3779
|
-
var n = this.props, i = n.isDisabled, u = n.isSearchable, o = n.inputId, s = n.inputValue, c = n.tabIndex, l = n.form, d = n.menuIsOpen, v = this.getComponents(),
|
|
3793
|
+
var n = this.props, i = n.isDisabled, u = n.isSearchable, o = n.inputId, s = n.inputValue, c = n.tabIndex, l = n.form, d = n.menuIsOpen, v = this.getComponents(), m = v.Input, f = this.state, p = f.inputIsHidden, g = f.ariaSelection, I = this.commonProps, h = o || this.getElementId("input"), y = w(w({
|
|
3780
3794
|
"aria-autocomplete": "list",
|
|
3781
3795
|
"aria-expanded": d,
|
|
3782
3796
|
"aria-haspopup": !0,
|
|
@@ -3794,14 +3808,14 @@ var ir = function(e) {
|
|
|
3794
3808
|
} : {
|
|
3795
3809
|
"aria-describedby": this.getElementId("placeholder")
|
|
3796
3810
|
});
|
|
3797
|
-
return u ? /* @__PURE__ */
|
|
3811
|
+
return u ? /* @__PURE__ */ G.createElement(m, S({}, I, {
|
|
3798
3812
|
autoCapitalize: "none",
|
|
3799
3813
|
autoComplete: "off",
|
|
3800
3814
|
autoCorrect: "off",
|
|
3801
3815
|
id: h,
|
|
3802
3816
|
innerRef: this.getInputRef,
|
|
3803
3817
|
isDisabled: i,
|
|
3804
|
-
isHidden:
|
|
3818
|
+
isHidden: p,
|
|
3805
3819
|
onBlur: this.onInputBlur,
|
|
3806
3820
|
onChange: this.handleInputChange,
|
|
3807
3821
|
onFocus: this.onInputFocus,
|
|
@@ -3810,11 +3824,11 @@ var ir = function(e) {
|
|
|
3810
3824
|
form: l,
|
|
3811
3825
|
type: "text",
|
|
3812
3826
|
value: s
|
|
3813
|
-
}, y)) : /* @__PURE__ */
|
|
3827
|
+
}, y)) : /* @__PURE__ */ G.createElement(iu, S({
|
|
3814
3828
|
id: h,
|
|
3815
3829
|
innerRef: this.getInputRef,
|
|
3816
3830
|
onBlur: this.onInputBlur,
|
|
3817
|
-
onChange:
|
|
3831
|
+
onChange: De,
|
|
3818
3832
|
onFocus: this.onInputFocus,
|
|
3819
3833
|
disabled: i,
|
|
3820
3834
|
tabIndex: c,
|
|
@@ -3827,50 +3841,50 @@ var ir = function(e) {
|
|
|
3827
3841
|
}, {
|
|
3828
3842
|
key: "renderPlaceholderOrValue",
|
|
3829
3843
|
value: function() {
|
|
3830
|
-
var n = this, i = this.getComponents(), u = i.MultiValue, o = i.MultiValueContainer, s = i.MultiValueLabel, c = i.MultiValueRemove, l = i.SingleValue, d = i.Placeholder, v = this.commonProps,
|
|
3844
|
+
var n = this, i = this.getComponents(), u = i.MultiValue, o = i.MultiValueContainer, s = i.MultiValueLabel, c = i.MultiValueRemove, l = i.SingleValue, d = i.Placeholder, v = this.commonProps, m = this.props, f = m.controlShouldRenderValue, p = m.isDisabled, g = m.isMulti, I = m.inputValue, h = m.placeholder, y = this.state, E = y.selectValue, b = y.focusedValue, B = y.isFocused;
|
|
3831
3845
|
if (!this.hasValue() || !f)
|
|
3832
|
-
return I ? null : /* @__PURE__ */
|
|
3846
|
+
return I ? null : /* @__PURE__ */ G.createElement(d, S({}, v, {
|
|
3833
3847
|
key: "placeholder",
|
|
3834
|
-
isDisabled:
|
|
3835
|
-
isFocused:
|
|
3848
|
+
isDisabled: p,
|
|
3849
|
+
isFocused: B,
|
|
3836
3850
|
innerProps: {
|
|
3837
3851
|
id: this.getElementId("placeholder")
|
|
3838
3852
|
}
|
|
3839
3853
|
}), h);
|
|
3840
3854
|
if (g)
|
|
3841
|
-
return E.map(function(
|
|
3842
|
-
var z =
|
|
3843
|
-
return /* @__PURE__ */
|
|
3855
|
+
return E.map(function(P, X) {
|
|
3856
|
+
var z = P === b, J = "".concat(n.getOptionLabel(P), "-").concat(n.getOptionValue(P));
|
|
3857
|
+
return /* @__PURE__ */ G.createElement(u, S({}, v, {
|
|
3844
3858
|
components: {
|
|
3845
3859
|
Container: o,
|
|
3846
3860
|
Label: s,
|
|
3847
3861
|
Remove: c
|
|
3848
3862
|
},
|
|
3849
3863
|
isFocused: z,
|
|
3850
|
-
isDisabled:
|
|
3864
|
+
isDisabled: p,
|
|
3851
3865
|
key: J,
|
|
3852
3866
|
index: X,
|
|
3853
3867
|
removeProps: {
|
|
3854
3868
|
onClick: function() {
|
|
3855
|
-
return n.removeValue(
|
|
3869
|
+
return n.removeValue(P);
|
|
3856
3870
|
},
|
|
3857
3871
|
onTouchEnd: function() {
|
|
3858
|
-
return n.removeValue(
|
|
3872
|
+
return n.removeValue(P);
|
|
3859
3873
|
},
|
|
3860
3874
|
onMouseDown: function(D) {
|
|
3861
3875
|
D.preventDefault(), D.stopPropagation();
|
|
3862
3876
|
}
|
|
3863
3877
|
},
|
|
3864
|
-
data:
|
|
3865
|
-
}), n.formatOptionLabel(
|
|
3878
|
+
data: P
|
|
3879
|
+
}), n.formatOptionLabel(P, "value"));
|
|
3866
3880
|
});
|
|
3867
3881
|
if (I)
|
|
3868
3882
|
return null;
|
|
3869
|
-
var
|
|
3870
|
-
return /* @__PURE__ */
|
|
3871
|
-
data:
|
|
3872
|
-
isDisabled:
|
|
3873
|
-
}), this.formatOptionLabel(
|
|
3883
|
+
var A = E[0];
|
|
3884
|
+
return /* @__PURE__ */ G.createElement(l, S({}, v, {
|
|
3885
|
+
data: A,
|
|
3886
|
+
isDisabled: p
|
|
3887
|
+
}), this.formatOptionLabel(A, "value"));
|
|
3874
3888
|
}
|
|
3875
3889
|
}, {
|
|
3876
3890
|
key: "renderClearIndicator",
|
|
@@ -3883,7 +3897,7 @@ var ir = function(e) {
|
|
|
3883
3897
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
3884
3898
|
"aria-hidden": "true"
|
|
3885
3899
|
};
|
|
3886
|
-
return /* @__PURE__ */
|
|
3900
|
+
return /* @__PURE__ */ G.createElement(i, S({}, u, {
|
|
3887
3901
|
innerProps: d,
|
|
3888
3902
|
isFocused: l
|
|
3889
3903
|
}));
|
|
@@ -3897,7 +3911,7 @@ var ir = function(e) {
|
|
|
3897
3911
|
var d = {
|
|
3898
3912
|
"aria-hidden": "true"
|
|
3899
3913
|
};
|
|
3900
|
-
return /* @__PURE__ */
|
|
3914
|
+
return /* @__PURE__ */ G.createElement(i, S({}, u, {
|
|
3901
3915
|
innerProps: d,
|
|
3902
3916
|
isDisabled: s,
|
|
3903
3917
|
isFocused: l
|
|
@@ -3910,7 +3924,7 @@ var ir = function(e) {
|
|
|
3910
3924
|
if (!i || !u)
|
|
3911
3925
|
return null;
|
|
3912
3926
|
var o = this.commonProps, s = this.props.isDisabled, c = this.state.isFocused;
|
|
3913
|
-
return /* @__PURE__ */
|
|
3927
|
+
return /* @__PURE__ */ G.createElement(u, S({}, o, {
|
|
3914
3928
|
isDisabled: s,
|
|
3915
3929
|
isFocused: c
|
|
3916
3930
|
}));
|
|
@@ -3926,7 +3940,7 @@ var ir = function(e) {
|
|
|
3926
3940
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
3927
3941
|
"aria-hidden": "true"
|
|
3928
3942
|
};
|
|
3929
|
-
return /* @__PURE__ */
|
|
3943
|
+
return /* @__PURE__ */ G.createElement(i, S({}, u, {
|
|
3930
3944
|
innerProps: c,
|
|
3931
3945
|
isDisabled: o,
|
|
3932
3946
|
isFocused: s
|
|
@@ -3935,39 +3949,39 @@ var ir = function(e) {
|
|
|
3935
3949
|
}, {
|
|
3936
3950
|
key: "renderMenu",
|
|
3937
3951
|
value: function() {
|
|
3938
|
-
var n = this, i = this.getComponents(), u = i.Group, o = i.GroupHeading, s = i.Menu, c = i.MenuList, l = i.MenuPortal, d = i.LoadingMessage, v = i.NoOptionsMessage,
|
|
3939
|
-
if (!
|
|
3952
|
+
var n = this, i = this.getComponents(), u = i.Group, o = i.GroupHeading, s = i.Menu, c = i.MenuList, l = i.MenuPortal, d = i.LoadingMessage, v = i.NoOptionsMessage, m = i.Option, f = this.commonProps, p = this.state.focusedOption, g = this.props, I = g.captureMenuScroll, h = g.inputValue, y = g.isLoading, E = g.loadingMessage, b = g.minMenuHeight, B = g.maxMenuHeight, A = g.menuIsOpen, P = g.menuPlacement, X = g.menuPosition, z = g.menuPortalTarget, J = g.menuShouldBlockScroll, j = g.menuShouldScrollIntoView, D = g.noOptionsMessage, O = g.onMenuScrollToTop, T = g.onMenuScrollToBottom;
|
|
3953
|
+
if (!A)
|
|
3940
3954
|
return null;
|
|
3941
3955
|
var U = function(H, re) {
|
|
3942
|
-
var ie = H.type, $ = H.data, K = H.isDisabled, ce = H.isSelected,
|
|
3956
|
+
var ie = H.type, $ = H.data, K = H.isDisabled, ce = H.isSelected, de = H.label, Je = H.value, Ne = p === $, C = K ? void 0 : function() {
|
|
3943
3957
|
return n.onOptionHover($);
|
|
3944
|
-
},
|
|
3958
|
+
}, he = K ? void 0 : function() {
|
|
3945
3959
|
return n.selectOption($);
|
|
3946
|
-
}, le = "".concat(n.getElementId("option"), "-").concat(re),
|
|
3960
|
+
}, le = "".concat(n.getElementId("option"), "-").concat(re), Ve = {
|
|
3947
3961
|
id: le,
|
|
3948
|
-
onClick:
|
|
3962
|
+
onClick: he,
|
|
3949
3963
|
onMouseMove: C,
|
|
3950
3964
|
onMouseOver: C,
|
|
3951
3965
|
tabIndex: -1
|
|
3952
3966
|
};
|
|
3953
|
-
return /* @__PURE__ */
|
|
3954
|
-
innerProps:
|
|
3967
|
+
return /* @__PURE__ */ G.createElement(m, S({}, f, {
|
|
3968
|
+
innerProps: Ve,
|
|
3955
3969
|
data: $,
|
|
3956
3970
|
isDisabled: K,
|
|
3957
3971
|
isSelected: ce,
|
|
3958
3972
|
key: le,
|
|
3959
|
-
label:
|
|
3973
|
+
label: de,
|
|
3960
3974
|
type: ie,
|
|
3961
|
-
value:
|
|
3962
|
-
isFocused:
|
|
3963
|
-
innerRef:
|
|
3975
|
+
value: Je,
|
|
3976
|
+
isFocused: Ne,
|
|
3977
|
+
innerRef: Ne ? n.getFocusedOptionRef : void 0
|
|
3964
3978
|
}), n.formatOptionLabel(H.data, "menu"));
|
|
3965
3979
|
}, Y;
|
|
3966
3980
|
if (this.hasOptions())
|
|
3967
3981
|
Y = this.getCategorizedOptions().map(function(M) {
|
|
3968
3982
|
if (M.type === "group") {
|
|
3969
3983
|
var H = M.data, re = M.options, ie = M.index, $ = "".concat(n.getElementId("group"), "-").concat(ie), K = "".concat($, "-heading");
|
|
3970
|
-
return /* @__PURE__ */
|
|
3984
|
+
return /* @__PURE__ */ G.createElement(u, S({}, f, {
|
|
3971
3985
|
key: $,
|
|
3972
3986
|
data: H,
|
|
3973
3987
|
options: re,
|
|
@@ -3989,24 +4003,24 @@ var ir = function(e) {
|
|
|
3989
4003
|
});
|
|
3990
4004
|
if (_ === null)
|
|
3991
4005
|
return null;
|
|
3992
|
-
Y = /* @__PURE__ */
|
|
4006
|
+
Y = /* @__PURE__ */ G.createElement(d, f, _);
|
|
3993
4007
|
} else {
|
|
3994
4008
|
var ne = D({
|
|
3995
4009
|
inputValue: h
|
|
3996
4010
|
});
|
|
3997
4011
|
if (ne === null)
|
|
3998
4012
|
return null;
|
|
3999
|
-
Y = /* @__PURE__ */
|
|
4013
|
+
Y = /* @__PURE__ */ G.createElement(v, f, ne);
|
|
4000
4014
|
}
|
|
4001
4015
|
var ee = {
|
|
4002
4016
|
minMenuHeight: b,
|
|
4003
|
-
maxMenuHeight:
|
|
4004
|
-
menuPlacement:
|
|
4017
|
+
maxMenuHeight: B,
|
|
4018
|
+
menuPlacement: P,
|
|
4005
4019
|
menuPosition: X,
|
|
4006
4020
|
menuShouldScrollIntoView: j
|
|
4007
|
-
}, oe = /* @__PURE__ */
|
|
4021
|
+
}, oe = /* @__PURE__ */ G.createElement(Xn, S({}, f, ee), function(M) {
|
|
4008
4022
|
var H = M.ref, re = M.placerProps, ie = re.placement, $ = re.maxHeight;
|
|
4009
|
-
return /* @__PURE__ */
|
|
4023
|
+
return /* @__PURE__ */ G.createElement(s, S({}, f, ee, {
|
|
4010
4024
|
innerRef: H,
|
|
4011
4025
|
innerProps: {
|
|
4012
4026
|
onMouseDown: n.onMenuMouseDown,
|
|
@@ -4015,26 +4029,26 @@ var ir = function(e) {
|
|
|
4015
4029
|
},
|
|
4016
4030
|
isLoading: y,
|
|
4017
4031
|
placement: ie
|
|
4018
|
-
}), /* @__PURE__ */
|
|
4032
|
+
}), /* @__PURE__ */ G.createElement(du, {
|
|
4019
4033
|
captureEnabled: I,
|
|
4020
4034
|
onTopArrive: O,
|
|
4021
4035
|
onBottomArrive: T,
|
|
4022
4036
|
lockEnabled: J
|
|
4023
4037
|
}, function(K) {
|
|
4024
|
-
return /* @__PURE__ */
|
|
4025
|
-
innerRef: function(
|
|
4026
|
-
n.getMenuListRef(
|
|
4038
|
+
return /* @__PURE__ */ G.createElement(c, S({}, f, {
|
|
4039
|
+
innerRef: function(de) {
|
|
4040
|
+
n.getMenuListRef(de), K(de);
|
|
4027
4041
|
},
|
|
4028
4042
|
isLoading: y,
|
|
4029
4043
|
maxHeight: $,
|
|
4030
|
-
focusedOption:
|
|
4044
|
+
focusedOption: p
|
|
4031
4045
|
}), Y);
|
|
4032
4046
|
}));
|
|
4033
4047
|
});
|
|
4034
|
-
return z || X === "fixed" ? /* @__PURE__ */
|
|
4048
|
+
return z || X === "fixed" ? /* @__PURE__ */ G.createElement(l, S({}, f, {
|
|
4035
4049
|
appendTo: z,
|
|
4036
4050
|
controlElement: this.controlRef,
|
|
4037
|
-
menuPlacement:
|
|
4051
|
+
menuPlacement: P,
|
|
4038
4052
|
menuPosition: X
|
|
4039
4053
|
}), oe) : oe;
|
|
4040
4054
|
}
|
|
@@ -4048,31 +4062,31 @@ var ir = function(e) {
|
|
|
4048
4062
|
var d = l.map(function(f) {
|
|
4049
4063
|
return n.getOptionValue(f);
|
|
4050
4064
|
}).join(u);
|
|
4051
|
-
return /* @__PURE__ */
|
|
4065
|
+
return /* @__PURE__ */ G.createElement("input", {
|
|
4052
4066
|
name: c,
|
|
4053
4067
|
type: "hidden",
|
|
4054
4068
|
value: d
|
|
4055
4069
|
});
|
|
4056
4070
|
} else {
|
|
4057
|
-
var v = l.length > 0 ? l.map(function(f,
|
|
4058
|
-
return /* @__PURE__ */
|
|
4059
|
-
key: "i-".concat(
|
|
4071
|
+
var v = l.length > 0 ? l.map(function(f, p) {
|
|
4072
|
+
return /* @__PURE__ */ G.createElement("input", {
|
|
4073
|
+
key: "i-".concat(p),
|
|
4060
4074
|
name: c,
|
|
4061
4075
|
type: "hidden",
|
|
4062
4076
|
value: n.getOptionValue(f)
|
|
4063
4077
|
});
|
|
4064
|
-
}) : /* @__PURE__ */
|
|
4078
|
+
}) : /* @__PURE__ */ G.createElement("input", {
|
|
4065
4079
|
name: c,
|
|
4066
4080
|
type: "hidden"
|
|
4067
4081
|
});
|
|
4068
|
-
return /* @__PURE__ */
|
|
4082
|
+
return /* @__PURE__ */ G.createElement("div", null, v);
|
|
4069
4083
|
}
|
|
4070
4084
|
else {
|
|
4071
|
-
var
|
|
4072
|
-
return /* @__PURE__ */
|
|
4085
|
+
var m = l[0] ? this.getOptionValue(l[0]) : "";
|
|
4086
|
+
return /* @__PURE__ */ G.createElement("input", {
|
|
4073
4087
|
name: c,
|
|
4074
4088
|
type: "hidden",
|
|
4075
|
-
value:
|
|
4089
|
+
value: m
|
|
4076
4090
|
});
|
|
4077
4091
|
}
|
|
4078
4092
|
}
|
|
@@ -4080,7 +4094,7 @@ var ir = function(e) {
|
|
|
4080
4094
|
key: "renderLiveRegion",
|
|
4081
4095
|
value: function() {
|
|
4082
4096
|
var n = this.commonProps, i = this.state, u = i.ariaSelection, o = i.focusedOption, s = i.focusedValue, c = i.isFocused, l = i.selectValue, d = this.getFocusableOptions();
|
|
4083
|
-
return /* @__PURE__ */
|
|
4097
|
+
return /* @__PURE__ */ G.createElement(Ka, S({}, n, {
|
|
4084
4098
|
id: this.getElementId("live-region"),
|
|
4085
4099
|
ariaSelection: u,
|
|
4086
4100
|
focusedOption: o,
|
|
@@ -4093,8 +4107,8 @@ var ir = function(e) {
|
|
|
4093
4107
|
}, {
|
|
4094
4108
|
key: "render",
|
|
4095
4109
|
value: function() {
|
|
4096
|
-
var n = this.getComponents(), i = n.Control, u = n.IndicatorsContainer, o = n.SelectContainer, s = n.ValueContainer, c = this.props, l = c.className, d = c.id, v = c.isDisabled,
|
|
4097
|
-
return /* @__PURE__ */
|
|
4110
|
+
var n = this.getComponents(), i = n.Control, u = n.IndicatorsContainer, o = n.SelectContainer, s = n.ValueContainer, c = this.props, l = c.className, d = c.id, v = c.isDisabled, m = c.menuIsOpen, f = this.state.isFocused, p = this.commonProps = this.getCommonProps();
|
|
4111
|
+
return /* @__PURE__ */ G.createElement(o, S({}, p, {
|
|
4098
4112
|
className: l,
|
|
4099
4113
|
innerProps: {
|
|
4100
4114
|
id: d,
|
|
@@ -4102,7 +4116,7 @@ var ir = function(e) {
|
|
|
4102
4116
|
},
|
|
4103
4117
|
isDisabled: v,
|
|
4104
4118
|
isFocused: f
|
|
4105
|
-
}), this.renderLiveRegion(), /* @__PURE__ */
|
|
4119
|
+
}), this.renderLiveRegion(), /* @__PURE__ */ G.createElement(i, S({}, p, {
|
|
4106
4120
|
innerRef: this.getControlRef,
|
|
4107
4121
|
innerProps: {
|
|
4108
4122
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -4110,18 +4124,18 @@ var ir = function(e) {
|
|
|
4110
4124
|
},
|
|
4111
4125
|
isDisabled: v,
|
|
4112
4126
|
isFocused: f,
|
|
4113
|
-
menuIsOpen:
|
|
4114
|
-
}), /* @__PURE__ */
|
|
4127
|
+
menuIsOpen: m
|
|
4128
|
+
}), /* @__PURE__ */ G.createElement(s, S({}, p, {
|
|
4115
4129
|
isDisabled: v
|
|
4116
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */
|
|
4130
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ G.createElement(u, S({}, p, {
|
|
4117
4131
|
isDisabled: v
|
|
4118
4132
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
4119
4133
|
}
|
|
4120
4134
|
}], [{
|
|
4121
4135
|
key: "getDerivedStateFromProps",
|
|
4122
4136
|
value: function(n, i) {
|
|
4123
|
-
var u = i.prevProps, o = i.clearFocusValueOnUpdate, s = i.inputIsHiddenAfterUpdate, c = i.ariaSelection, l = i.isFocused, d = i.prevWasFocused, v = n.options,
|
|
4124
|
-
if (u && (
|
|
4137
|
+
var u = i.prevProps, o = i.clearFocusValueOnUpdate, s = i.inputIsHiddenAfterUpdate, c = i.ariaSelection, l = i.isFocused, d = i.prevWasFocused, v = n.options, m = n.value, f = n.menuIsOpen, p = n.inputValue, g = n.isMulti, I = Ut(m), h = {};
|
|
4138
|
+
if (u && (m !== u.value || v !== u.options || f !== u.menuIsOpen || p !== u.inputValue)) {
|
|
4125
4139
|
var y = f ? xu(n, I) : [], E = o ? Eu(i, I) : null, b = Gu(i, y);
|
|
4126
4140
|
h = {
|
|
4127
4141
|
selectValue: I,
|
|
@@ -4130,26 +4144,26 @@ var ir = function(e) {
|
|
|
4130
4144
|
clearFocusValueOnUpdate: !1
|
|
4131
4145
|
};
|
|
4132
4146
|
}
|
|
4133
|
-
var
|
|
4147
|
+
var B = s != null && n !== u ? {
|
|
4134
4148
|
inputIsHidden: s,
|
|
4135
4149
|
inputIsHiddenAfterUpdate: void 0
|
|
4136
|
-
} : {},
|
|
4137
|
-
return l && !
|
|
4138
|
-
value:
|
|
4150
|
+
} : {}, A = c, P = l && d;
|
|
4151
|
+
return l && !P && (A = {
|
|
4152
|
+
value: we(g, I, I[0] || null),
|
|
4139
4153
|
options: I,
|
|
4140
4154
|
action: "initial-input-focus"
|
|
4141
|
-
},
|
|
4155
|
+
}, P = !d), c?.action === "initial-input-focus" && (A = null), w(w(w({}, h), B), {}, {
|
|
4142
4156
|
prevProps: n,
|
|
4143
|
-
ariaSelection:
|
|
4144
|
-
prevWasFocused:
|
|
4157
|
+
ariaSelection: A,
|
|
4158
|
+
prevWasFocused: P
|
|
4145
4159
|
});
|
|
4146
4160
|
}
|
|
4147
4161
|
}]), r;
|
|
4148
|
-
}(
|
|
4149
|
-
|
|
4150
|
-
var Bu = /* @__PURE__ */
|
|
4162
|
+
}(gt);
|
|
4163
|
+
nr.defaultProps = Au;
|
|
4164
|
+
var Bu = /* @__PURE__ */ ln(function(t, e) {
|
|
4151
4165
|
var r = La(t);
|
|
4152
|
-
return /* @__PURE__ */
|
|
4166
|
+
return /* @__PURE__ */ G.createElement(nr, S({
|
|
4153
4167
|
ref: e
|
|
4154
4168
|
}, r));
|
|
4155
4169
|
});
|