@kosdev-code/kos-ui-plugin 2.0.40 → 2.0.42

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.
@@ -1,1161 +0,0 @@
1
- import * as W from "react/jsx-runtime";
2
- import * as F from "react";
3
- import { forwardRef as vr, useContext as Er } from "react";
4
- function br(e) {
5
- if (e.sheet)
6
- return e.sheet;
7
- for (var r = 0; r < document.styleSheets.length; r++)
8
- if (document.styleSheets[r].ownerNode === e)
9
- return document.styleSheets[r];
10
- }
11
- function gr(e) {
12
- var r = document.createElement("style");
13
- return r.setAttribute("data-emotion", e.key), e.nonce !== void 0 && r.setAttribute("nonce", e.nonce), r.appendChild(document.createTextNode("")), r.setAttribute("data-s", ""), r;
14
- }
15
- var Sr = /* @__PURE__ */ function() {
16
- function e(t) {
17
- var n = this;
18
- this._insertTag = function(a) {
19
- var o;
20
- n.tags.length === 0 ? n.insertionPoint ? o = n.insertionPoint.nextSibling : n.prepend ? o = n.container.firstChild : o = n.before : o = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(a, o), n.tags.push(a);
21
- }, this.isSpeedy = t.speedy === void 0 ? process.env.NODE_ENV === "production" : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
22
- }
23
- var r = e.prototype;
24
- return r.hydrate = function(n) {
25
- n.forEach(this._insertTag);
26
- }, r.insert = function(n) {
27
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(gr(this));
28
- var a = this.tags[this.tags.length - 1];
29
- if (process.env.NODE_ENV !== "production") {
30
- var o = n.charCodeAt(0) === 64 && n.charCodeAt(1) === 105;
31
- o && this._alreadyInsertedOrderInsensitiveRule && console.error(`You're attempting to insert the following rule:
32
- ` + n + "\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 || !o;
33
- }
34
- if (this.isSpeedy) {
35
- var i = br(a);
36
- try {
37
- i.insertRule(n, i.cssRules.length);
38
- } catch (c) {
39
- process.env.NODE_ENV !== "production" && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n) && console.error('There was a problem inserting the following rule: "' + n + '"', c);
40
- }
41
- } else
42
- a.appendChild(document.createTextNode(n));
43
- this.ctr++;
44
- }, r.flush = function() {
45
- this.tags.forEach(function(n) {
46
- return n.parentNode && n.parentNode.removeChild(n);
47
- }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
48
- }, e;
49
- }(), $ = "-ms-", X = "-moz-", h = "-webkit-", le = "comm", de = "rule", pe = "decl", xr = "@import", Pe = "@keyframes", _r = "@layer", wr = Math.abs, ee = String.fromCharCode, Cr = Object.assign;
50
- function Nr(e, r) {
51
- return T(e, 0) ^ 45 ? (((r << 2 ^ T(e, 0)) << 2 ^ T(e, 1)) << 2 ^ T(e, 2)) << 2 ^ T(e, 3) : 0;
52
- }
53
- function Ie(e) {
54
- return e.trim();
55
- }
56
- function Rr(e, r) {
57
- return (e = r.exec(e)) ? e[0] : e;
58
- }
59
- function m(e, r, t) {
60
- return e.replace(r, t);
61
- }
62
- function se(e, r) {
63
- return e.indexOf(r);
64
- }
65
- function T(e, r) {
66
- return e.charCodeAt(r) | 0;
67
- }
68
- function j(e, r, t) {
69
- return e.slice(r, t);
70
- }
71
- function M(e) {
72
- return e.length;
73
- }
74
- function he(e) {
75
- return e.length;
76
- }
77
- function K(e, r) {
78
- return r.push(e), e;
79
- }
80
- function Or(e, r) {
81
- return e.map(r).join("");
82
- }
83
- var re = 1, L = 1, ke = 0, P = 0, N = 0, Y = "";
84
- function te(e, r, t, n, a, o, i) {
85
- return { value: e, root: r, parent: t, type: n, props: a, children: o, line: re, column: L, length: i, return: "" };
86
- }
87
- function z(e, r) {
88
- return Cr(te("", null, null, "", null, null, 0), e, { length: -e.length }, r);
89
- }
90
- function Tr() {
91
- return N;
92
- }
93
- function Ar() {
94
- return N = P > 0 ? T(Y, --P) : 0, L--, N === 10 && (L = 1, re--), N;
95
- }
96
- function I() {
97
- return N = P < ke ? T(Y, P++) : 0, L++, N === 10 && (L = 1, re++), N;
98
- }
99
- function D() {
100
- return T(Y, P);
101
- }
102
- function Z() {
103
- return P;
104
- }
105
- function G(e, r) {
106
- return j(Y, e, r);
107
- }
108
- function U(e) {
109
- switch (e) {
110
- case 0:
111
- case 9:
112
- case 10:
113
- case 13:
114
- case 32:
115
- return 5;
116
- case 33:
117
- case 43:
118
- case 44:
119
- case 47:
120
- case 62:
121
- case 64:
122
- case 126:
123
- case 59:
124
- case 123:
125
- case 125:
126
- return 4;
127
- case 58:
128
- return 3;
129
- case 34:
130
- case 39:
131
- case 40:
132
- case 91:
133
- return 2;
134
- case 41:
135
- case 93:
136
- return 1;
137
- }
138
- return 0;
139
- }
140
- function Me(e) {
141
- return re = L = 1, ke = M(Y = e), P = 0, [];
142
- }
143
- function De(e) {
144
- return Y = "", e;
145
- }
146
- function H(e) {
147
- return Ie(G(P - 1, ie(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
148
- }
149
- function $r(e) {
150
- for (; (N = D()) && N < 33; )
151
- I();
152
- return U(e) > 2 || U(N) > 3 ? "" : " ";
153
- }
154
- function Pr(e, r) {
155
- for (; --r && I() && !(N < 48 || N > 102 || N > 57 && N < 65 || N > 70 && N < 97); )
156
- ;
157
- return G(e, Z() + (r < 6 && D() == 32 && I() == 32));
158
- }
159
- function ie(e) {
160
- for (; I(); )
161
- switch (N) {
162
- case e:
163
- return P;
164
- case 34:
165
- case 39:
166
- e !== 34 && e !== 39 && ie(N);
167
- break;
168
- case 40:
169
- e === 41 && ie(e);
170
- break;
171
- case 92:
172
- I();
173
- break;
174
- }
175
- return P;
176
- }
177
- function Ir(e, r) {
178
- for (; I() && e + N !== 57; )
179
- if (e + N === 84 && D() === 47)
180
- break;
181
- return "/*" + G(r, P - 1) + "*" + ee(e === 47 ? e : I());
182
- }
183
- function kr(e) {
184
- for (; !U(D()); )
185
- I();
186
- return G(e, P);
187
- }
188
- function Mr(e) {
189
- return De(J("", null, null, null, [""], e = Me(e), 0, [0], e));
190
- }
191
- function J(e, r, t, n, a, o, i, c, l) {
192
- for (var d = 0, u = 0, y = i, R = 0, w = 0, x = 0, p = 1, O = 1, g = 1, C = 0, S = "", _ = a, s = o, A = n, b = S; O; )
193
- switch (x = C, C = I()) {
194
- case 40:
195
- if (x != 108 && T(b, y - 1) == 58) {
196
- se(b += m(H(C), "&", "&\f"), "&\f") != -1 && (g = -1);
197
- break;
198
- }
199
- case 34:
200
- case 39:
201
- case 91:
202
- b += H(C);
203
- break;
204
- case 9:
205
- case 10:
206
- case 13:
207
- case 32:
208
- b += $r(x);
209
- break;
210
- case 92:
211
- b += Pr(Z() - 1, 7);
212
- continue;
213
- case 47:
214
- switch (D()) {
215
- case 42:
216
- case 47:
217
- K(Dr(Ir(I(), Z()), r, t), l);
218
- break;
219
- default:
220
- b += "/";
221
- }
222
- break;
223
- case 123 * p:
224
- c[d++] = M(b) * g;
225
- case 125 * p:
226
- case 59:
227
- case 0:
228
- switch (C) {
229
- case 0:
230
- case 125:
231
- O = 0;
232
- case 59 + u:
233
- g == -1 && (b = m(b, /\f/g, "")), w > 0 && M(b) - y && K(w > 32 ? Se(b + ";", n, t, y - 1) : Se(m(b, " ", "") + ";", n, t, y - 2), l);
234
- break;
235
- case 59:
236
- b += ";";
237
- default:
238
- if (K(A = ge(b, r, t, d, u, a, c, S, _ = [], s = [], y), o), C === 123)
239
- if (u === 0)
240
- J(b, r, A, A, _, o, y, c, s);
241
- else
242
- switch (R === 99 && T(b, 3) === 110 ? 100 : R) {
243
- case 100:
244
- case 108:
245
- case 109:
246
- case 115:
247
- J(e, A, A, n && K(ge(e, A, A, 0, 0, a, c, S, a, _ = [], y), s), a, s, y, c, n ? _ : s);
248
- break;
249
- default:
250
- J(b, A, A, A, [""], s, 0, c, s);
251
- }
252
- }
253
- d = u = w = 0, p = g = 1, S = b = "", y = i;
254
- break;
255
- case 58:
256
- y = 1 + M(b), w = x;
257
- default:
258
- if (p < 1) {
259
- if (C == 123)
260
- --p;
261
- else if (C == 125 && p++ == 0 && Ar() == 125)
262
- continue;
263
- }
264
- switch (b += ee(C), C * p) {
265
- case 38:
266
- g = u > 0 ? 1 : (b += "\f", -1);
267
- break;
268
- case 44:
269
- c[d++] = (M(b) - 1) * g, g = 1;
270
- break;
271
- case 64:
272
- D() === 45 && (b += H(I())), R = D(), u = y = M(S = b += kr(Z())), C++;
273
- break;
274
- case 45:
275
- x === 45 && M(b) == 2 && (p = 0);
276
- }
277
- }
278
- return o;
279
- }
280
- function ge(e, r, t, n, a, o, i, c, l, d, u) {
281
- for (var y = a - 1, R = a === 0 ? o : [""], w = he(R), x = 0, p = 0, O = 0; x < n; ++x)
282
- for (var g = 0, C = j(e, y + 1, y = wr(p = i[x])), S = e; g < w; ++g)
283
- (S = Ie(p > 0 ? R[g] + " " + C : m(C, /&\f/g, R[g]))) && (l[O++] = S);
284
- return te(e, r, t, a === 0 ? de : c, l, d, u);
285
- }
286
- function Dr(e, r, t) {
287
- return te(e, r, t, le, ee(Tr()), j(e, 2, -2), 0);
288
- }
289
- function Se(e, r, t, n) {
290
- return te(e, r, t, pe, j(e, 0, n), j(e, n + 1, -1), n);
291
- }
292
- function V(e, r) {
293
- for (var t = "", n = he(e), a = 0; a < n; a++)
294
- t += r(e[a], a, e, r) || "";
295
- return t;
296
- }
297
- function Fr(e, r, t, n) {
298
- switch (e.type) {
299
- case _r:
300
- if (e.children.length)
301
- break;
302
- case xr:
303
- case pe:
304
- return e.return = e.return || e.value;
305
- case le:
306
- return "";
307
- case Pe:
308
- return e.return = e.value + "{" + V(e.children, n) + "}";
309
- case de:
310
- e.value = e.props.join(",");
311
- }
312
- return M(t = V(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
313
- }
314
- function Vr(e) {
315
- var r = he(e);
316
- return function(t, n, a, o) {
317
- for (var i = "", c = 0; c < r; c++)
318
- i += e[c](t, n, a, o) || "";
319
- return i;
320
- };
321
- }
322
- function Lr(e) {
323
- return function(r) {
324
- r.root || (r = r.return) && e(r);
325
- };
326
- }
327
- function Yr(e) {
328
- var r = /* @__PURE__ */ Object.create(null);
329
- return function(t) {
330
- return r[t] === void 0 && (r[t] = e(t)), r[t];
331
- };
332
- }
333
- var zr = function(r, t, n) {
334
- for (var a = 0, o = 0; a = o, o = D(), a === 38 && o === 12 && (t[n] = 1), !U(o); )
335
- I();
336
- return G(r, P);
337
- }, Wr = function(r, t) {
338
- var n = -1, a = 44;
339
- do
340
- switch (U(a)) {
341
- case 0:
342
- a === 38 && D() === 12 && (t[n] = 1), r[n] += zr(P - 1, t, n);
343
- break;
344
- case 2:
345
- r[n] += H(a);
346
- break;
347
- case 4:
348
- if (a === 44) {
349
- r[++n] = D() === 58 ? "&\f" : "", t[n] = r[n].length;
350
- break;
351
- }
352
- default:
353
- r[n] += ee(a);
354
- }
355
- while (a = I());
356
- return r;
357
- }, jr = function(r, t) {
358
- return De(Wr(Me(r), t));
359
- }, xe = /* @__PURE__ */ new WeakMap(), Ur = function(r) {
360
- if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
361
- // negative .length indicates that this rule has been already prefixed
362
- r.length < 1)) {
363
- for (var t = r.value, n = r.parent, a = r.column === n.column && r.line === n.line; n.type !== "rule"; )
364
- if (n = n.parent, !n)
365
- return;
366
- if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !xe.get(n)) && !a) {
367
- xe.set(r, !0);
368
- for (var o = [], i = jr(t, o), c = n.props, l = 0, d = 0; l < i.length; l++)
369
- for (var u = 0; u < c.length; u++, d++)
370
- r.props[d] = o[l] ? i[l].replace(/&\f/g, c[u]) : c[u] + " " + i[l];
371
- }
372
- }
373
- }, qr = function(r) {
374
- if (r.type === "decl") {
375
- var t = r.value;
376
- // charcode for l
377
- t.charCodeAt(0) === 108 && // charcode for b
378
- t.charCodeAt(2) === 98 && (r.return = "", r.value = "");
379
- }
380
- }, Gr = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", Br = function(r) {
381
- return r.type === "comm" && r.children.indexOf(Gr) > -1;
382
- }, Kr = function(r) {
383
- return function(t, n, a) {
384
- if (!(t.type !== "rule" || r.compat)) {
385
- var o = t.value.match(/(:first|:nth|:nth-last)-child/g);
386
- if (o) {
387
- for (var i = !!t.parent, c = i ? t.parent.children : (
388
- // global rule at the root level
389
- a
390
- ), l = c.length - 1; l >= 0; l--) {
391
- var d = c[l];
392
- if (d.line < t.line)
393
- break;
394
- if (d.column < t.column) {
395
- if (Br(d))
396
- return;
397
- break;
398
- }
399
- }
400
- o.forEach(function(u) {
401
- console.error('The pseudo class "' + u + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + u.split("-child")[0] + '-of-type".');
402
- });
403
- }
404
- }
405
- };
406
- }, Fe = function(r) {
407
- return r.type.charCodeAt(1) === 105 && r.type.charCodeAt(0) === 64;
408
- }, Zr = function(r, t) {
409
- for (var n = r - 1; n >= 0; n--)
410
- if (!Fe(t[n]))
411
- return !0;
412
- return !1;
413
- }, _e = function(r) {
414
- r.type = "", r.value = "", r.return = "", r.children = "", r.props = "";
415
- }, Hr = function(r, t, n) {
416
- Fe(r) && (r.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."), _e(r)) : Zr(t, n) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), _e(r)));
417
- };
418
- function Ve(e, r) {
419
- switch (Nr(e, r)) {
420
- case 5103:
421
- return h + "print-" + e + e;
422
- case 5737:
423
- case 4201:
424
- case 3177:
425
- case 3433:
426
- case 1641:
427
- case 4457:
428
- case 2921:
429
- case 5572:
430
- case 6356:
431
- case 5844:
432
- case 3191:
433
- case 6645:
434
- case 3005:
435
- case 6391:
436
- case 5879:
437
- case 5623:
438
- case 6135:
439
- case 4599:
440
- case 4855:
441
- case 4215:
442
- case 6389:
443
- case 5109:
444
- case 5365:
445
- case 5621:
446
- case 3829:
447
- return h + e + e;
448
- case 5349:
449
- case 4246:
450
- case 4810:
451
- case 6968:
452
- case 2756:
453
- return h + e + X + e + $ + e + e;
454
- case 6828:
455
- case 4268:
456
- return h + e + $ + e + e;
457
- case 6165:
458
- return h + e + $ + "flex-" + e + e;
459
- case 5187:
460
- return h + e + m(e, /(\w+).+(:[^]+)/, h + "box-$1$2" + $ + "flex-$1$2") + e;
461
- case 5443:
462
- return h + e + $ + "flex-item-" + m(e, /flex-|-self/, "") + e;
463
- case 4675:
464
- return h + e + $ + "flex-line-pack" + m(e, /align-content|flex-|-self/, "") + e;
465
- case 5548:
466
- return h + e + $ + m(e, "shrink", "negative") + e;
467
- case 5292:
468
- return h + e + $ + m(e, "basis", "preferred-size") + e;
469
- case 6060:
470
- return h + "box-" + m(e, "-grow", "") + h + e + $ + m(e, "grow", "positive") + e;
471
- case 4554:
472
- return h + m(e, /([^-])(transform)/g, "$1" + h + "$2") + e;
473
- case 6187:
474
- return m(m(m(e, /(zoom-|grab)/, h + "$1"), /(image-set)/, h + "$1"), e, "") + e;
475
- case 5495:
476
- case 3959:
477
- return m(e, /(image-set\([^]*)/, h + "$1$`$1");
478
- case 4968:
479
- return m(m(e, /(.+:)(flex-)?(.*)/, h + "box-pack:$3" + $ + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + h + e + e;
480
- case 4095:
481
- case 3583:
482
- case 4068:
483
- case 2532:
484
- return m(e, /(.+)-inline(.+)/, h + "$1$2") + e;
485
- case 8116:
486
- case 7059:
487
- case 5753:
488
- case 5535:
489
- case 5445:
490
- case 5701:
491
- case 4933:
492
- case 4677:
493
- case 5533:
494
- case 5789:
495
- case 5021:
496
- case 4765:
497
- if (M(e) - 1 - r > 6)
498
- switch (T(e, r + 1)) {
499
- case 109:
500
- if (T(e, r + 4) !== 45)
501
- break;
502
- case 102:
503
- return m(e, /(.+:)(.+)-([^]+)/, "$1" + h + "$2-$3$1" + X + (T(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
504
- case 115:
505
- return ~se(e, "stretch") ? Ve(m(e, "stretch", "fill-available"), r) + e : e;
506
- }
507
- break;
508
- case 4949:
509
- if (T(e, r + 1) !== 115)
510
- break;
511
- case 6444:
512
- switch (T(e, M(e) - 3 - (~se(e, "!important") && 10))) {
513
- case 107:
514
- return m(e, ":", ":" + h) + e;
515
- case 101:
516
- return m(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + h + (T(e, 14) === 45 ? "inline-" : "") + "box$3$1" + h + "$2$3$1" + $ + "$2box$3") + e;
517
- }
518
- break;
519
- case 5936:
520
- switch (T(e, r + 11)) {
521
- case 114:
522
- return h + e + $ + m(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
523
- case 108:
524
- return h + e + $ + m(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
525
- case 45:
526
- return h + e + $ + m(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
527
- }
528
- return h + e + $ + e + e;
529
- }
530
- return e;
531
- }
532
- var Jr = function(r, t, n, a) {
533
- if (r.length > -1 && !r.return)
534
- switch (r.type) {
535
- case pe:
536
- r.return = Ve(r.value, r.length);
537
- break;
538
- case Pe:
539
- return V([z(r, {
540
- value: m(r.value, "@", "@" + h)
541
- })], a);
542
- case de:
543
- if (r.length)
544
- return Or(r.props, function(o) {
545
- switch (Rr(o, /(::plac\w+|:read-\w+)/)) {
546
- case ":read-only":
547
- case ":read-write":
548
- return V([z(r, {
549
- props: [m(o, /:(read-\w+)/, ":" + X + "$1")]
550
- })], a);
551
- case "::placeholder":
552
- return V([z(r, {
553
- props: [m(o, /:(plac\w+)/, ":" + h + "input-$1")]
554
- }), z(r, {
555
- props: [m(o, /:(plac\w+)/, ":" + X + "$1")]
556
- }), z(r, {
557
- props: [m(o, /:(plac\w+)/, $ + "input-$1")]
558
- })], a);
559
- }
560
- return "";
561
- });
562
- }
563
- }, Xr = [Jr], Qr = function(r) {
564
- var t = r.key;
565
- if (process.env.NODE_ENV !== "production" && !t)
566
- 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.
567
- If multiple caches share the same key they might "fight" for each other's style elements.`);
568
- if (t === "css") {
569
- var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
570
- Array.prototype.forEach.call(n, function(p) {
571
- var O = p.getAttribute("data-emotion");
572
- O.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
573
- });
574
- }
575
- var a = r.stylisPlugins || Xr;
576
- if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(t))
577
- throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + t + '" was passed');
578
- var o = {}, i, c = [];
579
- i = r.container || document.head, Array.prototype.forEach.call(
580
- // this means we will ignore elements which don't have a space in them which
581
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
582
- document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
583
- function(p) {
584
- for (var O = p.getAttribute("data-emotion").split(" "), g = 1; g < O.length; g++)
585
- o[O[g]] = !0;
586
- c.push(p);
587
- }
588
- );
589
- var l, d = [Ur, qr];
590
- process.env.NODE_ENV !== "production" && d.push(Kr({
591
- get compat() {
592
- return x.compat;
593
- }
594
- }), Hr);
595
- {
596
- var u, y = [Fr, process.env.NODE_ENV !== "production" ? function(p) {
597
- p.root || (p.return ? u.insert(p.return) : p.value && p.type !== le && u.insert(p.value + "{}"));
598
- } : Lr(function(p) {
599
- u.insert(p);
600
- })], R = Vr(d.concat(a, y)), w = function(O) {
601
- return V(Mr(O), R);
602
- };
603
- l = function(O, g, C, S) {
604
- u = C, process.env.NODE_ENV !== "production" && g.map !== void 0 && (u = {
605
- insert: function(s) {
606
- C.insert(s + g.map);
607
- }
608
- }), w(O ? O + "{" + g.styles + "}" : g.styles), S && (x.inserted[g.name] = !0);
609
- };
610
- }
611
- var x = {
612
- key: t,
613
- sheet: new Sr({
614
- key: t,
615
- container: i,
616
- nonce: r.nonce,
617
- speedy: r.speedy,
618
- prepend: r.prepend,
619
- insertionPoint: r.insertionPoint
620
- }),
621
- nonce: r.nonce,
622
- inserted: o,
623
- registered: {},
624
- insert: l
625
- };
626
- return x.sheet.hydrate(c), x;
627
- }, ce = { exports: {} }, v = {};
628
- /** @license React v16.13.1
629
- * react-is.production.min.js
630
- *
631
- * Copyright (c) Facebook, Inc. and its affiliates.
632
- *
633
- * This source code is licensed under the MIT license found in the
634
- * LICENSE file in the root directory of this source tree.
635
- */
636
- var we;
637
- function et() {
638
- if (we)
639
- return v;
640
- we = 1;
641
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, R = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, O = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
642
- function S(s) {
643
- if (typeof s == "object" && s !== null) {
644
- var A = s.$$typeof;
645
- switch (A) {
646
- case r:
647
- switch (s = s.type, s) {
648
- case l:
649
- case d:
650
- case n:
651
- case o:
652
- case a:
653
- case y:
654
- return s;
655
- default:
656
- switch (s = s && s.$$typeof, s) {
657
- case c:
658
- case u:
659
- case x:
660
- case w:
661
- case i:
662
- return s;
663
- default:
664
- return A;
665
- }
666
- }
667
- case t:
668
- return A;
669
- }
670
- }
671
- }
672
- function _(s) {
673
- return S(s) === d;
674
- }
675
- return v.AsyncMode = l, v.ConcurrentMode = d, v.ContextConsumer = c, v.ContextProvider = i, v.Element = r, v.ForwardRef = u, v.Fragment = n, v.Lazy = x, v.Memo = w, v.Portal = t, v.Profiler = o, v.StrictMode = a, v.Suspense = y, v.isAsyncMode = function(s) {
676
- return _(s) || S(s) === l;
677
- }, v.isConcurrentMode = _, v.isContextConsumer = function(s) {
678
- return S(s) === c;
679
- }, v.isContextProvider = function(s) {
680
- return S(s) === i;
681
- }, v.isElement = function(s) {
682
- return typeof s == "object" && s !== null && s.$$typeof === r;
683
- }, v.isForwardRef = function(s) {
684
- return S(s) === u;
685
- }, v.isFragment = function(s) {
686
- return S(s) === n;
687
- }, v.isLazy = function(s) {
688
- return S(s) === x;
689
- }, v.isMemo = function(s) {
690
- return S(s) === w;
691
- }, v.isPortal = function(s) {
692
- return S(s) === t;
693
- }, v.isProfiler = function(s) {
694
- return S(s) === o;
695
- }, v.isStrictMode = function(s) {
696
- return S(s) === a;
697
- }, v.isSuspense = function(s) {
698
- return S(s) === y;
699
- }, v.isValidElementType = function(s) {
700
- return typeof s == "string" || typeof s == "function" || s === n || s === d || s === o || s === a || s === y || s === R || typeof s == "object" && s !== null && (s.$$typeof === x || s.$$typeof === w || s.$$typeof === i || s.$$typeof === c || s.$$typeof === u || s.$$typeof === O || s.$$typeof === g || s.$$typeof === C || s.$$typeof === p);
701
- }, v.typeOf = S, v;
702
- }
703
- var E = {};
704
- /** @license React v16.13.1
705
- * react-is.development.js
706
- *
707
- * Copyright (c) Facebook, Inc. and its affiliates.
708
- *
709
- * This source code is licensed under the MIT license found in the
710
- * LICENSE file in the root directory of this source tree.
711
- */
712
- var Ce;
713
- function rt() {
714
- return Ce || (Ce = 1, process.env.NODE_ENV !== "production" && function() {
715
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, R = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, O = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
716
- function S(f) {
717
- return typeof f == "string" || typeof f == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
718
- f === n || f === d || f === o || f === a || f === y || f === R || typeof f == "object" && f !== null && (f.$$typeof === x || f.$$typeof === w || f.$$typeof === i || f.$$typeof === c || f.$$typeof === u || f.$$typeof === O || f.$$typeof === g || f.$$typeof === C || f.$$typeof === p);
719
- }
720
- function _(f) {
721
- if (typeof f == "object" && f !== null) {
722
- var ae = f.$$typeof;
723
- switch (ae) {
724
- case r:
725
- var B = f.type;
726
- switch (B) {
727
- case l:
728
- case d:
729
- case n:
730
- case o:
731
- case a:
732
- case y:
733
- return B;
734
- default:
735
- var be = B && B.$$typeof;
736
- switch (be) {
737
- case c:
738
- case u:
739
- case x:
740
- case w:
741
- case i:
742
- return be;
743
- default:
744
- return ae;
745
- }
746
- }
747
- case t:
748
- return ae;
749
- }
750
- }
751
- }
752
- var s = l, A = d, b = c, Ze = i, He = r, Je = u, Xe = n, Qe = x, er = w, rr = t, tr = o, nr = a, ar = y, ve = !1;
753
- function or(f) {
754
- return ve || (ve = !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(f) || _(f) === l;
755
- }
756
- function Ee(f) {
757
- return _(f) === d;
758
- }
759
- function sr(f) {
760
- return _(f) === c;
761
- }
762
- function ir(f) {
763
- return _(f) === i;
764
- }
765
- function cr(f) {
766
- return typeof f == "object" && f !== null && f.$$typeof === r;
767
- }
768
- function fr(f) {
769
- return _(f) === u;
770
- }
771
- function ur(f) {
772
- return _(f) === n;
773
- }
774
- function lr(f) {
775
- return _(f) === x;
776
- }
777
- function dr(f) {
778
- return _(f) === w;
779
- }
780
- function pr(f) {
781
- return _(f) === t;
782
- }
783
- function hr(f) {
784
- return _(f) === o;
785
- }
786
- function mr(f) {
787
- return _(f) === a;
788
- }
789
- function yr(f) {
790
- return _(f) === y;
791
- }
792
- E.AsyncMode = s, E.ConcurrentMode = A, E.ContextConsumer = b, E.ContextProvider = Ze, E.Element = He, E.ForwardRef = Je, E.Fragment = Xe, E.Lazy = Qe, E.Memo = er, E.Portal = rr, E.Profiler = tr, E.StrictMode = nr, E.Suspense = ar, E.isAsyncMode = or, E.isConcurrentMode = Ee, E.isContextConsumer = sr, E.isContextProvider = ir, E.isElement = cr, E.isForwardRef = fr, E.isFragment = ur, E.isLazy = lr, E.isMemo = dr, E.isPortal = pr, E.isProfiler = hr, E.isStrictMode = mr, E.isSuspense = yr, E.isValidElementType = S, E.typeOf = _;
793
- }()), E;
794
- }
795
- process.env.NODE_ENV === "production" ? ce.exports = et() : ce.exports = rt();
796
- var tt = ce.exports, Le = tt, nt = {
797
- $$typeof: !0,
798
- render: !0,
799
- defaultProps: !0,
800
- displayName: !0,
801
- propTypes: !0
802
- }, at = {
803
- $$typeof: !0,
804
- compare: !0,
805
- defaultProps: !0,
806
- displayName: !0,
807
- propTypes: !0,
808
- type: !0
809
- }, Ye = {};
810
- Ye[Le.ForwardRef] = nt;
811
- Ye[Le.Memo] = at;
812
- var ot = !0;
813
- function st(e, r, t) {
814
- var n = "";
815
- return t.split(" ").forEach(function(a) {
816
- e[a] !== void 0 ? r.push(e[a] + ";") : n += a + " ";
817
- }), n;
818
- }
819
- var ze = function(r, t, n) {
820
- var a = r.key + "-" + t.name;
821
- // we only need to add the styles to the registered cache if the
822
- // class name could be used further down
823
- // the tree but if it's a string tag, we know it won't
824
- // so we don't have to add it to registered cache.
825
- // this improves memory usage since we can avoid storing the whole style string
826
- (n === !1 || // we need to always store it if we're in compat mode and
827
- // in node since emotion-server relies on whether a style is in
828
- // the registered cache to know whether a style is global or not
829
- // also, note that this check will be dead code eliminated in the browser
830
- ot === !1) && r.registered[a] === void 0 && (r.registered[a] = t.styles);
831
- }, it = function(r, t, n) {
832
- ze(r, t, n);
833
- var a = r.key + "-" + t.name;
834
- if (r.inserted[t.name] === void 0) {
835
- var o = t;
836
- do
837
- r.insert(t === o ? "." + a : "", o, r.sheet, !0), o = o.next;
838
- while (o !== void 0);
839
- }
840
- };
841
- function ct(e) {
842
- for (var r = 0, t, n = 0, a = e.length; a >= 4; ++n, a -= 4)
843
- t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
844
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
845
- t >>> 24, r = /* Math.imul(k, m): */
846
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
847
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
848
- switch (a) {
849
- case 3:
850
- r ^= (e.charCodeAt(n + 2) & 255) << 16;
851
- case 2:
852
- r ^= (e.charCodeAt(n + 1) & 255) << 8;
853
- case 1:
854
- r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
855
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
856
- }
857
- return r ^= r >>> 13, r = /* Math.imul(h, m): */
858
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
859
- }
860
- var ft = {
861
- animationIterationCount: 1,
862
- aspectRatio: 1,
863
- borderImageOutset: 1,
864
- borderImageSlice: 1,
865
- borderImageWidth: 1,
866
- boxFlex: 1,
867
- boxFlexGroup: 1,
868
- boxOrdinalGroup: 1,
869
- columnCount: 1,
870
- columns: 1,
871
- flex: 1,
872
- flexGrow: 1,
873
- flexPositive: 1,
874
- flexShrink: 1,
875
- flexNegative: 1,
876
- flexOrder: 1,
877
- gridRow: 1,
878
- gridRowEnd: 1,
879
- gridRowSpan: 1,
880
- gridRowStart: 1,
881
- gridColumn: 1,
882
- gridColumnEnd: 1,
883
- gridColumnSpan: 1,
884
- gridColumnStart: 1,
885
- msGridRow: 1,
886
- msGridRowSpan: 1,
887
- msGridColumn: 1,
888
- msGridColumnSpan: 1,
889
- fontWeight: 1,
890
- lineHeight: 1,
891
- opacity: 1,
892
- order: 1,
893
- orphans: 1,
894
- tabSize: 1,
895
- widows: 1,
896
- zIndex: 1,
897
- zoom: 1,
898
- WebkitLineClamp: 1,
899
- // SVG-related properties
900
- fillOpacity: 1,
901
- floodOpacity: 1,
902
- stopOpacity: 1,
903
- strokeDasharray: 1,
904
- strokeDashoffset: 1,
905
- strokeMiterlimit: 1,
906
- strokeOpacity: 1,
907
- strokeWidth: 1
908
- }, Ne = `You have illegal escape sequence in your template literal, most likely inside content's property value.
909
- 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';".
910
- You can read more about this here:
911
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, ut = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", lt = /[A-Z]|^ms/g, We = /_EMO_([^_]+?)_([^]*?)_EMO_/g, me = function(r) {
912
- return r.charCodeAt(1) === 45;
913
- }, Re = function(r) {
914
- return r != null && typeof r != "boolean";
915
- }, oe = /* @__PURE__ */ Yr(function(e) {
916
- return me(e) ? e : e.replace(lt, "-$&").toLowerCase();
917
- }), Q = function(r, t) {
918
- switch (r) {
919
- case "animation":
920
- case "animationName":
921
- if (typeof t == "string")
922
- return t.replace(We, function(n, a, o) {
923
- return k = {
924
- name: a,
925
- styles: o,
926
- next: k
927
- }, a;
928
- });
929
- }
930
- return ft[r] !== 1 && !me(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
931
- };
932
- if (process.env.NODE_ENV !== "production") {
933
- var dt = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, pt = ["normal", "none", "initial", "inherit", "unset"], ht = Q, mt = /^-ms-/, yt = /-(.)/g, Oe = {};
934
- Q = function(r, t) {
935
- if (r === "content" && (typeof t != "string" || pt.indexOf(t) === -1 && !dt.test(t) && (t.charAt(0) !== t.charAt(t.length - 1) || t.charAt(0) !== '"' && t.charAt(0) !== "'")))
936
- throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + t + "\"'`");
937
- var n = ht(r, t);
938
- return n !== "" && !me(r) && r.indexOf("-") !== -1 && Oe[r] === void 0 && (Oe[r] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + r.replace(mt, "ms-").replace(yt, function(a, o) {
939
- return o.toUpperCase();
940
- }) + "?")), n;
941
- };
942
- }
943
- var je = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
944
- function q(e, r, t) {
945
- if (t == null)
946
- return "";
947
- if (t.__emotion_styles !== void 0) {
948
- if (process.env.NODE_ENV !== "production" && t.toString() === "NO_COMPONENT_SELECTOR")
949
- throw new Error(je);
950
- return t;
951
- }
952
- switch (typeof t) {
953
- case "boolean":
954
- return "";
955
- case "object": {
956
- if (t.anim === 1)
957
- return k = {
958
- name: t.name,
959
- styles: t.styles,
960
- next: k
961
- }, t.name;
962
- if (t.styles !== void 0) {
963
- var n = t.next;
964
- if (n !== void 0)
965
- for (; n !== void 0; )
966
- k = {
967
- name: n.name,
968
- styles: n.styles,
969
- next: k
970
- }, n = n.next;
971
- var a = t.styles + ";";
972
- return process.env.NODE_ENV !== "production" && t.map !== void 0 && (a += t.map), a;
973
- }
974
- return vt(e, r, t);
975
- }
976
- case "function": {
977
- if (e !== void 0) {
978
- var o = k, i = t(e);
979
- return k = o, q(e, r, i);
980
- } else
981
- 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}`");
982
- break;
983
- }
984
- case "string":
985
- if (process.env.NODE_ENV !== "production") {
986
- var c = [], l = t.replace(We, function(u, y, R) {
987
- var w = "animation" + c.length;
988
- return c.push("const " + w + " = keyframes`" + R.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + w + "}";
989
- });
990
- c.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(c, ["`" + l + "`"]).join(`
991
- `) + `
992
-
993
- You should wrap it with \`css\` like this:
994
-
995
- ` + ("css`" + l + "`"));
996
- }
997
- break;
998
- }
999
- if (r == null)
1000
- return t;
1001
- var d = r[t];
1002
- return d !== void 0 ? d : t;
1003
- }
1004
- function vt(e, r, t) {
1005
- var n = "";
1006
- if (Array.isArray(t))
1007
- for (var a = 0; a < t.length; a++)
1008
- n += q(e, r, t[a]) + ";";
1009
- else
1010
- for (var o in t) {
1011
- var i = t[o];
1012
- if (typeof i != "object")
1013
- r != null && r[i] !== void 0 ? n += o + "{" + r[i] + "}" : Re(i) && (n += oe(o) + ":" + Q(o, i) + ";");
1014
- else {
1015
- if (o === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
1016
- throw new Error(je);
1017
- if (Array.isArray(i) && typeof i[0] == "string" && (r == null || r[i[0]] === void 0))
1018
- for (var c = 0; c < i.length; c++)
1019
- Re(i[c]) && (n += oe(o) + ":" + Q(o, i[c]) + ";");
1020
- else {
1021
- var l = q(e, r, i);
1022
- switch (o) {
1023
- case "animation":
1024
- case "animationName": {
1025
- n += oe(o) + ":" + l + ";";
1026
- break;
1027
- }
1028
- default:
1029
- process.env.NODE_ENV !== "production" && o === "undefined" && console.error(ut), n += o + "{" + l + "}";
1030
- }
1031
- }
1032
- }
1033
- }
1034
- return n;
1035
- }
1036
- var Te = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Ue;
1037
- process.env.NODE_ENV !== "production" && (Ue = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
1038
- var k, Ae = function(r, t, n) {
1039
- if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
1040
- return r[0];
1041
- var a = !0, o = "";
1042
- k = void 0;
1043
- var i = r[0];
1044
- i == null || i.raw === void 0 ? (a = !1, o += q(n, t, i)) : (process.env.NODE_ENV !== "production" && i[0] === void 0 && console.error(Ne), o += i[0]);
1045
- for (var c = 1; c < r.length; c++)
1046
- o += q(n, t, r[c]), a && (process.env.NODE_ENV !== "production" && i[c] === void 0 && console.error(Ne), o += i[c]);
1047
- var l;
1048
- process.env.NODE_ENV !== "production" && (o = o.replace(Ue, function(R) {
1049
- return l = R, "";
1050
- })), Te.lastIndex = 0;
1051
- for (var d = "", u; (u = Te.exec(o)) !== null; )
1052
- d += "-" + // $FlowFixMe we know it's not null
1053
- u[1];
1054
- var y = ct(o) + d;
1055
- return process.env.NODE_ENV !== "production" ? {
1056
- name: y,
1057
- styles: o,
1058
- map: l,
1059
- next: k,
1060
- toString: function() {
1061
- 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).";
1062
- }
1063
- } : {
1064
- name: y,
1065
- styles: o,
1066
- next: k
1067
- };
1068
- }, Et = function(r) {
1069
- return r();
1070
- }, bt = F.useInsertionEffect ? F.useInsertionEffect : !1, gt = bt || Et, ne = {}.hasOwnProperty, ye = /* @__PURE__ */ F.createContext(
1071
- // we're doing this to avoid preconstruct's dead code elimination in this one case
1072
- // because this module is primarily intended for the browser and node
1073
- // but it's also required in react native and similar environments sometimes
1074
- // and we could have a special build just for that
1075
- // but this is much easier and the native packages
1076
- // might use a different theme context in the future anyway
1077
- typeof HTMLElement < "u" ? /* @__PURE__ */ Qr({
1078
- key: "css"
1079
- }) : null
1080
- );
1081
- process.env.NODE_ENV !== "production" && (ye.displayName = "EmotionCacheContext");
1082
- ye.Provider;
1083
- var St = function(r) {
1084
- return /* @__PURE__ */ vr(function(t, n) {
1085
- var a = Er(ye);
1086
- return r(t, a, n);
1087
- });
1088
- }, qe = /* @__PURE__ */ F.createContext({});
1089
- process.env.NODE_ENV !== "production" && (qe.displayName = "EmotionThemeContext");
1090
- var $e = function(r) {
1091
- var t = r.split(".");
1092
- return t[t.length - 1];
1093
- }, xt = function(r) {
1094
- var t = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(r);
1095
- if (t || (t = /^([A-Za-z0-9$.]+)@/.exec(r), t))
1096
- return $e(t[1]);
1097
- }, _t = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), wt = function(r) {
1098
- return r.replace(/\$/g, "-");
1099
- }, Ct = function(r) {
1100
- if (r)
1101
- for (var t = r.split(`
1102
- `), n = 0; n < t.length; n++) {
1103
- var a = xt(t[n]);
1104
- if (a) {
1105
- if (_t.has(a))
1106
- break;
1107
- if (/^[A-Z]/.test(a))
1108
- return wt(a);
1109
- }
1110
- }
1111
- }, fe = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", ue = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Ge = function(r, t) {
1112
- if (process.env.NODE_ENV !== "production" && typeof t.css == "string" && // check if there is a css declaration
1113
- t.css.indexOf(":") !== -1)
1114
- 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`" + t.css + "`");
1115
- var n = {};
1116
- for (var a in t)
1117
- ne.call(t, a) && (n[a] = t[a]);
1118
- if (n[fe] = r, process.env.NODE_ENV !== "production" && t.css && (typeof t.css != "object" || typeof t.css.name != "string" || t.css.name.indexOf("-") === -1)) {
1119
- var o = Ct(new Error().stack);
1120
- o && (n[ue] = o);
1121
- }
1122
- return n;
1123
- }, Nt = function(r) {
1124
- var t = r.cache, n = r.serialized, a = r.isStringTag;
1125
- return ze(t, n, a), gt(function() {
1126
- return it(t, n, a);
1127
- }), null;
1128
- }, Be = /* @__PURE__ */ St(function(e, r, t) {
1129
- var n = e.css;
1130
- typeof n == "string" && r.registered[n] !== void 0 && (n = r.registered[n]);
1131
- var a = e[fe], o = [n], i = "";
1132
- typeof e.className == "string" ? i = st(r.registered, o, e.className) : e.className != null && (i = e.className + " ");
1133
- var c = Ae(o, void 0, F.useContext(qe));
1134
- if (process.env.NODE_ENV !== "production" && c.name.indexOf("-") === -1) {
1135
- var l = e[ue];
1136
- l && (c = Ae([c, "label:" + l + ";"]));
1137
- }
1138
- i += r.key + "-" + c.name;
1139
- var d = {};
1140
- for (var u in e)
1141
- ne.call(e, u) && u !== "css" && u !== fe && (process.env.NODE_ENV === "production" || u !== ue) && (d[u] = e[u]);
1142
- return d.ref = t, d.className = i, /* @__PURE__ */ F.createElement(F.Fragment, null, /* @__PURE__ */ F.createElement(Nt, {
1143
- cache: r,
1144
- serialized: c,
1145
- isStringTag: typeof a == "string"
1146
- }), /* @__PURE__ */ F.createElement(a, d));
1147
- });
1148
- process.env.NODE_ENV !== "production" && (Be.displayName = "EmotionCssPropInternal");
1149
- var Ke = Be, Ot = W.Fragment;
1150
- function Tt(e, r, t) {
1151
- return ne.call(r, "css") ? W.jsx(Ke, Ge(e, r), t) : W.jsx(e, r, t);
1152
- }
1153
- function At(e, r, t) {
1154
- return ne.call(r, "css") ? W.jsxs(Ke, Ge(e, r), t) : W.jsxs(e, r, t);
1155
- }
1156
- export {
1157
- Ot as F,
1158
- Tt as a,
1159
- At as j
1160
- };
1161
- //# sourceMappingURL=emotion-react-jsx-runtime.browser.esm-by8ODyOQ.js.map