no-frills-ui 0.0.14-alpha.0 → 0.0.14-alpha.1

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/index.js CHANGED
@@ -1,1612 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var ReactJSXRuntime = require('react/jsx-runtime');
3
+ var jsxRuntime = require('@emotion/react/jsx-runtime');
4
4
  var React = require('react');
5
5
  var PropTypes = require('prop-types');
6
6
  var styled = require('@emotion/styled');
7
+ var react = require('@emotion/react');
7
8
  var ReactDOM = require('react-dom');
8
9
 
9
- function _interopNamespaceDefault(e) {
10
- var n = Object.create(null);
11
- if (e) {
12
- Object.keys(e).forEach(function (k) {
13
- if (k !== 'default') {
14
- var d = Object.getOwnPropertyDescriptor(e, k);
15
- Object.defineProperty(n, k, d.get ? d : {
16
- enumerable: true,
17
- get: function () { return e[k]; }
18
- });
19
- }
20
- });
21
- }
22
- n.default = e;
23
- return Object.freeze(n);
24
- }
25
-
26
- var ReactJSXRuntime__namespace = /*#__PURE__*/_interopNamespaceDefault(ReactJSXRuntime);
27
- var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
28
-
29
- /*
30
-
31
- Based off glamor's StyleSheet, thanks Sunil ❤️
32
-
33
- high performance StyleSheet for css-in-js systems
34
-
35
- - uses multiple style tags behind the scenes for millions of rules
36
- - uses `insertRule` for appending in production for *much* faster performance
37
-
38
- // usage
39
-
40
- import { StyleSheet } from '@emotion/sheet'
41
-
42
- let styleSheet = new StyleSheet({ key: '', container: document.head })
43
-
44
- styleSheet.insert('#box { border: 1px solid red; }')
45
- - appends a css rule into the stylesheet
46
-
47
- styleSheet.flush()
48
- - empties the stylesheet of all its contents
49
-
50
- */
51
-
52
- function sheetForTag(tag) {
53
- if (tag.sheet) {
54
- return tag.sheet;
55
- } // this weirdness brought to you by firefox
56
-
57
- /* istanbul ignore next */
58
-
59
-
60
- for (var i = 0; i < document.styleSheets.length; i++) {
61
- if (document.styleSheets[i].ownerNode === tag) {
62
- return document.styleSheets[i];
63
- }
64
- } // this function should always return with a value
65
- // TS can't understand it though so we make it stop complaining here
66
-
67
-
68
- return undefined;
69
- }
70
-
71
- function createStyleElement(options) {
72
- var tag = document.createElement('style');
73
- tag.setAttribute('data-emotion', options.key);
74
-
75
- if (options.nonce !== undefined) {
76
- tag.setAttribute('nonce', options.nonce);
77
- }
78
-
79
- tag.appendChild(document.createTextNode(''));
80
- tag.setAttribute('data-s', '');
81
- return tag;
82
- }
83
-
84
- var StyleSheet = /*#__PURE__*/function () {
85
- // Using Node instead of HTMLElement since container may be a ShadowRoot
86
- function StyleSheet(options) {
87
- var _this = this;
88
-
89
- this._insertTag = function (tag) {
90
- var before;
91
-
92
- if (_this.tags.length === 0) {
93
- if (_this.insertionPoint) {
94
- before = _this.insertionPoint.nextSibling;
95
- } else if (_this.prepend) {
96
- before = _this.container.firstChild;
97
- } else {
98
- before = _this.before;
99
- }
100
- } else {
101
- before = _this.tags[_this.tags.length - 1].nextSibling;
102
- }
103
-
104
- _this.container.insertBefore(tag, before);
105
-
106
- _this.tags.push(tag);
107
- };
108
-
109
- this.isSpeedy = options.speedy === undefined ? true : options.speedy;
110
- this.tags = [];
111
- this.ctr = 0;
112
- this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
113
-
114
- this.key = options.key;
115
- this.container = options.container;
116
- this.prepend = options.prepend;
117
- this.insertionPoint = options.insertionPoint;
118
- this.before = null;
119
- }
120
-
121
- var _proto = StyleSheet.prototype;
122
-
123
- _proto.hydrate = function hydrate(nodes) {
124
- nodes.forEach(this._insertTag);
125
- };
126
-
127
- _proto.insert = function insert(rule) {
128
- // the max length is how many rules we have per style tag, it's 65000 in speedy mode
129
- // it's 1 in dev because we insert source maps that map a single rule to a location
130
- // and you can only have one source map per style tag
131
- if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
132
- this._insertTag(createStyleElement(this));
133
- }
134
-
135
- var tag = this.tags[this.tags.length - 1];
136
-
137
- if (this.isSpeedy) {
138
- var sheet = sheetForTag(tag);
139
-
140
- try {
141
- // this is the ultrafast version, works across browsers
142
- // the big drawback is that the css won't be editable in devtools
143
- sheet.insertRule(rule, sheet.cssRules.length);
144
- } catch (e) {
145
- }
146
- } else {
147
- tag.appendChild(document.createTextNode(rule));
148
- }
149
-
150
- this.ctr++;
151
- };
152
-
153
- _proto.flush = function flush() {
154
- this.tags.forEach(function (tag) {
155
- var _tag$parentNode;
156
-
157
- return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
158
- });
159
- this.tags = [];
160
- this.ctr = 0;
161
- };
162
-
163
- return StyleSheet;
164
- }();
165
-
166
- var e$1="-ms-";var r$1="-moz-";var a="-webkit-";var n$1="comm";var c$1="rule";var s="decl";var i="@import";var h$1="@keyframes";var $="@layer";var g$1=Math.abs;var k$1=String.fromCharCode;var m$1=Object.assign;function x$1(e,r){return O(e,0)^45?(((r<<2^O(e,0))<<2^O(e,1))<<2^O(e,2))<<2^O(e,3):0}function y$1(e){return e.trim()}function j(e,r){return (e=r.exec(e))?e[0]:e}function z$1(e,r,a){return e.replace(r,a)}function C(e,r){return e.indexOf(r)}function O(e,r){return e.charCodeAt(r)|0}function A$1(e,r,a){return e.slice(r,a)}function M(e){return e.length}function S(e){return e.length}function q$1(e,r){return r.push(e),e}function B(e,r){return e.map(r).join("")}var D=1;var E=1;var F=0;var G=0;var H=0;var I="";function J(e,r,a,n,c,s,t){return {value:e,root:r,parent:a,type:n,props:c,children:s,line:D,column:E,length:t,return:""}}function K(e,r){return m$1(J("",null,null,"",null,null,0),e,{length:-e.length},r)}function L(){return H}function N(){H=G>0?O(I,--G):0;if(E--,H===10)E=1,D--;return H}function P(){H=G<F?O(I,G++):0;if(E++,H===10)E=1,D++;return H}function Q(){return O(I,G)}function R(){return G}function T(e,r){return A$1(I,e,r)}function U(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(e){return D=E=1,F=M(I=e),G=0,[]}function W(e){return I="",e}function X(e){return y$1(T(G-1,re(e===91?e+2:e===40?e+1:e)))}function Z(e){while(H=Q())if(H<33)P();else break;return U(e)>2||U(H)>3?"":" "}function ee(e,r){while(--r&&P())if(H<48||H>102||H>57&&H<65||H>70&&H<97)break;return T(e,R()+(r<6&&Q()==32&&P()==32))}function re(e){while(P())switch(H){case e:return G;case 34:case 39:if(e!==34&&e!==39)re(H);break;case 40:if(e===41)re(e);break;case 92:P();break}return G}function ae(e,r){while(P())if(e+H===47+10)break;else if(e+H===42+42&&Q()===47)break;return "/*"+T(r,G-1)+"*"+k$1(e===47?e:P())}function ne(e){while(!U(Q()))P();return T(e,G)}function ce(e){return W(se("",null,null,null,[""],e=V(e),0,[0],e))}function se(e,r,a,n,c,s,t,u,i){var f=0;var o=0;var l=t;var v=0;var p=0;var h=0;var b=1;var w=1;var d=1;var $=0;var g="";var m=c;var x=s;var y=n;var j=g;while(w)switch(h=$,$=P()){case 40:if(h!=108&&O(j,l-1)==58){if(C(j+=z$1(X($),"&","&\f"),"&\f")!=-1)d=-1;break}case 34:case 39:case 91:j+=X($);break;case 9:case 10:case 13:case 32:j+=Z(h);break;case 92:j+=ee(R()-1,7);continue;case 47:switch(Q()){case 42:case 47:q$1(ue(ae(P(),R()),r,a),i);break;default:j+="/";}break;case 123*b:u[f++]=M(j)*d;case 125*b:case 59:case 0:switch($){case 0:case 125:w=0;case 59+o:if(d==-1)j=z$1(j,/\f/g,"");if(p>0&&M(j)-l)q$1(p>32?ie(j+";",n,a,l-1):ie(z$1(j," ","")+";",n,a,l-2),i);break;case 59:j+=";";default:q$1(y=te(j,r,a,f,o,c,u,g,m=[],x=[],l),s);if($===123)if(o===0)se(j,r,y,y,m,s,l,u,x);else switch(v===99&&O(j,3)===110?100:v){case 100:case 108:case 109:case 115:se(e,y,y,n&&q$1(te(e,y,y,0,0,c,u,g,c,m=[],l),x),c,x,l,u,n?m:x);break;default:se(j,y,y,y,[""],x,0,u,x);}}f=o=p=0,b=d=1,g=j="",l=t;break;case 58:l=1+M(j),p=h;default:if(b<1)if($==123)--b;else if($==125&&b++==0&&N()==125)continue;switch(j+=k$1($),$*b){case 38:d=o>0?1:(j+="\f",-1);break;case 44:u[f++]=(M(j)-1)*d,d=1;break;case 64:if(Q()===45)j+=X(P());v=Q(),o=l=M(g=j+=ne(R())),$++;break;case 45:if(h===45&&M(j)==2)b=0;}}return s}function te(e,r,a,n,s,t,u,i,f,o,l){var v=s-1;var p=s===0?t:[""];var h=S(p);for(var b=0,w=0,d=0;b<n;++b)for(var $=0,k=A$1(e,v+1,v=g$1(w=u[b])),m=e;$<h;++$)if(m=y$1(w>0?p[$]+" "+k:z$1(k,/&\f/g,p[$])))f[d++]=m;return J(e,r,a,s===0?c$1:i,f,o,l)}function ue(e,r,a){return J(e,r,a,n$1,k$1(L()),A$1(e,2,-2),0)}function ie(e,r,a,n){return J(e,r,a,s,A$1(e,0,n),A$1(e,n+1,-1),n)}function oe(e,r){var a="";var n=S(e);for(var c=0;c<n;c++)a+=r(e[c],c,e,r)||"";return a}function le(e,r,a,t){switch(e.type){case $:if(e.children.length)break;case i:case s:return e.return=e.return||e.value;case n$1:return "";case h$1:return e.return=e.value+"{"+oe(e.children,t)+"}";case c$1:e.value=e.props.join(",");}return M(a=oe(e.children,t))?e.return=e.value+"{"+a+"}":""}function ve(e){var r=S(e);return function(a,n,c,s){var t="";for(var u=0;u<r;u++)t+=e[u](a,n,c,s)||"";return t}}function pe(e){return function(r){if(!r.root)if(r=r.return)e(r);}}
167
-
168
- var weakMemoize = function weakMemoize(func) {
169
- var cache = new WeakMap();
170
- return function (arg) {
171
- if (cache.has(arg)) {
172
- // Use non-null assertion because we just checked that the cache `has` it
173
- // This allows us to remove `undefined` from the return value
174
- return cache.get(arg);
175
- }
176
-
177
- var ret = func(arg);
178
- cache.set(arg, ret);
179
- return ret;
180
- };
181
- };
182
-
183
- function memoize(fn) {
184
- var cache = Object.create(null);
185
- return function (arg) {
186
- if (cache[arg] === undefined) cache[arg] = fn(arg);
187
- return cache[arg];
188
- };
189
- }
190
-
191
- var isBrowser$3 = typeof document !== 'undefined';
192
-
193
- var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
194
- var previous = 0;
195
- var character = 0;
196
-
197
- while (true) {
198
- previous = character;
199
- character = Q(); // &\f
200
-
201
- if (previous === 38 && character === 12) {
202
- points[index] = 1;
203
- }
204
-
205
- if (U(character)) {
206
- break;
207
- }
208
-
209
- P();
210
- }
211
-
212
- return T(begin, G);
213
- };
214
-
215
- var toRules = function toRules(parsed, points) {
216
- // pretend we've started with a comma
217
- var index = -1;
218
- var character = 44;
219
-
220
- do {
221
- switch (U(character)) {
222
- case 0:
223
- // &\f
224
- if (character === 38 && Q() === 12) {
225
- // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
226
- // stylis inserts \f after & to know when & where it should replace this sequence with the context selector
227
- // and when it should just concatenate the outer and inner selectors
228
- // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here
229
- points[index] = 1;
230
- }
231
-
232
- parsed[index] += identifierWithPointTracking(G - 1, points, index);
233
- break;
234
-
235
- case 2:
236
- parsed[index] += X(character);
237
- break;
238
-
239
- case 4:
240
- // comma
241
- if (character === 44) {
242
- // colon
243
- parsed[++index] = Q() === 58 ? '&\f' : '';
244
- points[index] = parsed[index].length;
245
- break;
246
- }
247
-
248
- // fallthrough
249
-
250
- default:
251
- parsed[index] += k$1(character);
252
- }
253
- } while (character = P());
254
-
255
- return parsed;
256
- };
257
-
258
- var getRules = function getRules(value, points) {
259
- return W(toRules(V(value), points));
260
- }; // WeakSet would be more appropriate, but only WeakMap is supported in IE11
261
-
262
-
263
- var fixedElements = /* #__PURE__ */new WeakMap();
264
- var compat = function compat(element) {
265
- if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo
266
- // negative .length indicates that this rule has been already prefixed
267
- element.length < 1) {
268
- return;
269
- }
270
-
271
- var value = element.value,
272
- parent = element.parent;
273
- var isImplicitRule = element.column === parent.column && element.line === parent.line;
274
-
275
- while (parent.type !== 'rule') {
276
- parent = parent.parent;
277
- if (!parent) return;
278
- } // short-circuit for the simplest case
279
-
280
-
281
- if (element.props.length === 1 && value.charCodeAt(0) !== 58
282
- /* colon */
283
- && !fixedElements.get(parent)) {
284
- return;
285
- } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)
286
- // then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent"
287
-
288
-
289
- if (isImplicitRule) {
290
- return;
291
- }
292
-
293
- fixedElements.set(element, true);
294
- var points = [];
295
- var rules = getRules(value, points);
296
- var parentRules = parent.props;
297
-
298
- for (var i = 0, k = 0; i < rules.length; i++) {
299
- for (var j = 0; j < parentRules.length; j++, k++) {
300
- element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
301
- }
302
- }
303
- };
304
- var removeLabel = function removeLabel(element) {
305
- if (element.type === 'decl') {
306
- var value = element.value;
307
-
308
- if ( // charcode for l
309
- value.charCodeAt(0) === 108 && // charcode for b
310
- value.charCodeAt(2) === 98) {
311
- // this ignores label
312
- element["return"] = '';
313
- element.value = '';
314
- }
315
- }
316
- };
317
-
318
- /* eslint-disable no-fallthrough */
319
-
320
- function prefix(value, length) {
321
- switch (x$1(value, length)) {
322
- // color-adjust
323
- case 5103:
324
- return a + 'print-' + value + value;
325
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
326
-
327
- case 5737:
328
- case 4201:
329
- case 3177:
330
- case 3433:
331
- case 1641:
332
- case 4457:
333
- case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
334
-
335
- case 5572:
336
- case 6356:
337
- case 5844:
338
- case 3191:
339
- case 6645:
340
- case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
341
-
342
- case 6391:
343
- case 5879:
344
- case 5623:
345
- case 6135:
346
- case 4599:
347
- case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
348
-
349
- case 4215:
350
- case 6389:
351
- case 5109:
352
- case 5365:
353
- case 5621:
354
- case 3829:
355
- return a + value + value;
356
- // appearance, user-select, transform, hyphens, text-size-adjust
357
-
358
- case 5349:
359
- case 4246:
360
- case 4810:
361
- case 6968:
362
- case 2756:
363
- return a + value + r$1 + value + e$1 + value + value;
364
- // flex, flex-direction
365
-
366
- case 6828:
367
- case 4268:
368
- return a + value + e$1 + value + value;
369
- // order
370
-
371
- case 6165:
372
- return a + value + e$1 + 'flex-' + value + value;
373
- // align-items
374
-
375
- case 5187:
376
- return a + value + z$1(value, /(\w+).+(:[^]+)/, a + 'box-$1$2' + e$1 + 'flex-$1$2') + value;
377
- // align-self
378
-
379
- case 5443:
380
- return a + value + e$1 + 'flex-item-' + z$1(value, /flex-|-self/, '') + value;
381
- // align-content
382
-
383
- case 4675:
384
- return a + value + e$1 + 'flex-line-pack' + z$1(value, /align-content|flex-|-self/, '') + value;
385
- // flex-shrink
386
-
387
- case 5548:
388
- return a + value + e$1 + z$1(value, 'shrink', 'negative') + value;
389
- // flex-basis
390
-
391
- case 5292:
392
- return a + value + e$1 + z$1(value, 'basis', 'preferred-size') + value;
393
- // flex-grow
394
-
395
- case 6060:
396
- return a + 'box-' + z$1(value, '-grow', '') + a + value + e$1 + z$1(value, 'grow', 'positive') + value;
397
- // transition
398
-
399
- case 4554:
400
- return a + z$1(value, /([^-])(transform)/g, '$1' + a + '$2') + value;
401
- // cursor
402
-
403
- case 6187:
404
- return z$1(z$1(z$1(value, /(zoom-|grab)/, a + '$1'), /(image-set)/, a + '$1'), value, '') + value;
405
- // background, background-image
406
-
407
- case 5495:
408
- case 3959:
409
- return z$1(value, /(image-set\([^]*)/, a + '$1' + '$`$1');
410
- // justify-content
411
-
412
- case 4968:
413
- return z$1(z$1(value, /(.+:)(flex-)?(.*)/, a + 'box-pack:$3' + e$1 + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + a + value + value;
414
- // (margin|padding)-inline-(start|end)
415
-
416
- case 4095:
417
- case 3583:
418
- case 4068:
419
- case 2532:
420
- return z$1(value, /(.+)-inline(.+)/, a + '$1$2') + value;
421
- // (min|max)?(width|height|inline-size|block-size)
422
-
423
- case 8116:
424
- case 7059:
425
- case 5753:
426
- case 5535:
427
- case 5445:
428
- case 5701:
429
- case 4933:
430
- case 4677:
431
- case 5533:
432
- case 5789:
433
- case 5021:
434
- case 4765:
435
- // stretch, max-content, min-content, fill-available
436
- if (M(value) - 1 - length > 6) switch (O(value, length + 1)) {
437
- // (m)ax-content, (m)in-content
438
- case 109:
439
- // -
440
- if (O(value, length + 4) !== 45) break;
441
- // (f)ill-available, (f)it-content
442
-
443
- case 102:
444
- return z$1(value, /(.+:)(.+)-([^]+)/, '$1' + a + '$2-$3' + '$1' + r$1 + (O(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
445
- // (s)tretch
446
-
447
- case 115:
448
- return ~C(value, 'stretch') ? prefix(z$1(value, 'stretch', 'fill-available'), length) + value : value;
449
- }
450
- break;
451
- // position: sticky
452
-
453
- case 4949:
454
- // (s)ticky?
455
- if (O(value, length + 1) !== 115) break;
456
- // display: (flex|inline-flex)
457
-
458
- case 6444:
459
- switch (O(value, M(value) - 3 - (~C(value, '!important') && 10))) {
460
- // stic(k)y
461
- case 107:
462
- return z$1(value, ':', ':' + a) + value;
463
- // (inline-)?fl(e)x
464
-
465
- case 101:
466
- return z$1(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + a + (O(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + a + '$2$3' + '$1' + e$1 + '$2box$3') + value;
467
- }
468
-
469
- break;
470
- // writing-mode
471
-
472
- case 5936:
473
- switch (O(value, length + 11)) {
474
- // vertical-l(r)
475
- case 114:
476
- return a + value + e$1 + z$1(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
477
- // vertical-r(l)
478
-
479
- case 108:
480
- return a + value + e$1 + z$1(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
481
- // horizontal(-)tb
482
-
483
- case 45:
484
- return a + value + e$1 + z$1(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
485
- }
486
-
487
- return a + value + e$1 + value + value;
488
- }
489
-
490
- return value;
491
- }
492
-
493
- var prefixer = function prefixer(element, index, children, callback) {
494
- if (element.length > -1) if (!element["return"]) switch (element.type) {
495
- case s:
496
- element["return"] = prefix(element.value, element.length);
497
- break;
498
-
499
- case h$1:
500
- return oe([K(element, {
501
- value: z$1(element.value, '@', '@' + a)
502
- })], callback);
503
-
504
- case c$1:
505
- if (element.length) return B(element.props, function (value) {
506
- switch (j(value, /(::plac\w+|:read-\w+)/)) {
507
- // :read-(only|write)
508
- case ':read-only':
509
- case ':read-write':
510
- return oe([K(element, {
511
- props: [z$1(value, /:(read-\w+)/, ':' + r$1 + '$1')]
512
- })], callback);
513
- // :placeholder
514
-
515
- case '::placeholder':
516
- return oe([K(element, {
517
- props: [z$1(value, /:(plac\w+)/, ':' + a + 'input-$1')]
518
- }), K(element, {
519
- props: [z$1(value, /:(plac\w+)/, ':' + r$1 + '$1')]
520
- }), K(element, {
521
- props: [z$1(value, /:(plac\w+)/, e$1 + 'input-$1')]
522
- })], callback);
523
- }
524
-
525
- return '';
526
- });
527
- }
528
- };
529
-
530
- /* import type { StylisPlugin } from './types' */
531
-
532
- /*
533
- export type Options = {
534
- nonce?: string,
535
- stylisPlugins?: StylisPlugin[],
536
- key: string,
537
- container?: HTMLElement,
538
- speedy?: boolean,
539
- prepend?: boolean,
540
- insertionPoint?: HTMLElement
541
- }
542
- */
543
-
544
- var getServerStylisCache = isBrowser$3 ? undefined : weakMemoize(function () {
545
- return memoize(function () {
546
- var cache = {};
547
- return function (name) {
548
- return cache[name];
549
- };
550
- });
551
- });
552
- var defaultStylisPlugins = [prefixer];
553
-
554
- var createCache = function
555
- /*: EmotionCache */
556
- createCache(options
557
- /*: Options */
558
- ) {
559
- var key = options.key;
560
-
561
- if (isBrowser$3 && key === 'css') {
562
- var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
563
- // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
564
- // note this very very intentionally targets all style elements regardless of the key to ensure
565
- // that creating a cache works inside of render of a React component
566
-
567
- Array.prototype.forEach.call(ssrStyles, function (node
568
- /*: HTMLStyleElement */
569
- ) {
570
- // we want to only move elements which have a space in the data-emotion attribute value
571
- // because that indicates that it is an Emotion 11 server-side rendered style elements
572
- // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector
573
- // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)
574
- // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles
575
- // will not result in the Emotion 10 styles being destroyed
576
- var dataEmotionAttribute = node.getAttribute('data-emotion');
577
-
578
- if (dataEmotionAttribute.indexOf(' ') === -1) {
579
- return;
580
- }
581
-
582
- document.head.appendChild(node);
583
- node.setAttribute('data-s', '');
584
- });
585
- }
586
-
587
- var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
588
-
589
- var inserted = {};
590
- var container;
591
- /* : Node */
592
-
593
- var nodesToHydrate = [];
594
-
595
- if (isBrowser$3) {
596
- container = options.container || document.head;
597
- Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
598
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
599
- document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node
600
- /*: HTMLStyleElement */
601
- ) {
602
- var attrib = node.getAttribute("data-emotion").split(' ');
603
-
604
- for (var i = 1; i < attrib.length; i++) {
605
- inserted[attrib[i]] = true;
606
- }
607
-
608
- nodesToHydrate.push(node);
609
- });
610
- }
611
-
612
- var _insert;
613
- /*: (
614
- selector: string,
615
- serialized: SerializedStyles,
616
- sheet: StyleSheet,
617
- shouldCache: boolean
618
- ) => string | void */
619
-
620
-
621
- var omnipresentPlugins = [compat, removeLabel];
622
-
623
- if (isBrowser$3) {
624
- var currentSheet;
625
- var finalizingPlugins = [le, pe(function (rule) {
626
- currentSheet.insert(rule);
627
- })];
628
- var serializer = ve(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
629
-
630
- var stylis = function stylis(styles) {
631
- return oe(ce(styles), serializer);
632
- };
633
-
634
- _insert = function
635
- /*: void */
636
- insert(selector
637
- /*: string */
638
- , serialized
639
- /*: SerializedStyles */
640
- , sheet
641
- /*: StyleSheet */
642
- , shouldCache
643
- /*: boolean */
644
- ) {
645
- currentSheet = sheet;
646
-
647
- stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
648
-
649
- if (shouldCache) {
650
- cache.inserted[serialized.name] = true;
651
- }
652
- };
653
- } else {
654
- var _finalizingPlugins = [le];
655
-
656
- var _serializer = ve(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins));
657
-
658
- var _stylis = function _stylis(styles) {
659
- return oe(ce(styles), _serializer);
660
- };
661
-
662
- var serverStylisCache = getServerStylisCache(stylisPlugins)(key);
663
-
664
- var getRules = function
665
- /*: string */
666
- getRules(selector
667
- /*: string */
668
- , serialized
669
- /*: SerializedStyles */
670
- ) {
671
- var name = serialized.name;
672
-
673
- if (serverStylisCache[name] === undefined) {
674
- serverStylisCache[name] = _stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
675
- }
676
-
677
- return serverStylisCache[name];
678
- };
679
-
680
- _insert = function
681
- /*: string | void */
682
- _insert(selector
683
- /*: string */
684
- , serialized
685
- /*: SerializedStyles */
686
- , sheet
687
- /*: StyleSheet */
688
- , shouldCache
689
- /*: boolean */
690
- ) {
691
- var name = serialized.name;
692
- var rules = getRules(selector, serialized);
693
-
694
- if (cache.compat === undefined) {
695
- // in regular mode, we don't set the styles on the inserted cache
696
- // since we don't need to and that would be wasting memory
697
- // we return them so that they are rendered in a style tag
698
- if (shouldCache) {
699
- cache.inserted[name] = true;
700
- }
701
-
702
- return rules;
703
- } else {
704
- // in compat mode, we put the styles on the inserted cache so
705
- // that emotion-server can pull out the styles
706
- // except when we don't want to cache it which was in Global but now
707
- // is nowhere but we don't want to do a major right now
708
- // and just in case we're going to leave the case here
709
- // it's also not affecting client side bundle size
710
- // so it's really not a big deal
711
- if (shouldCache) {
712
- cache.inserted[name] = rules;
713
- } else {
714
- return rules;
715
- }
716
- }
717
- };
718
- }
719
-
720
- var cache
721
- /*: EmotionCache */
722
- = {
723
- key: key,
724
- sheet: new StyleSheet({
725
- key: key,
726
- container: container,
727
- nonce: options.nonce,
728
- speedy: options.speedy,
729
- prepend: options.prepend,
730
- insertionPoint: options.insertionPoint
731
- }),
732
- nonce: options.nonce,
733
- inserted: inserted,
734
- registered: {},
735
- insert: _insert
736
- };
737
- cache.sheet.hydrate(nodesToHydrate);
738
- return cache;
739
- };
740
-
741
- function unwrapExports (x) {
742
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
743
- }
744
-
745
- function createCommonjsModule(fn, module) {
746
- return module = { exports: {} }, fn(module, module.exports), module.exports;
747
- }
748
-
749
- /** @license React v16.13.1
750
- * react-is.production.min.js
751
- *
752
- * Copyright (c) Facebook, Inc. and its affiliates.
753
- *
754
- * This source code is licensed under the MIT license found in the
755
- * LICENSE file in the root directory of this source tree.
756
- */
757
-
758
- var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
759
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
760
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}var AsyncMode=l;var ConcurrentMode=m;var ContextConsumer=k;var ContextProvider=h;var Element=c;var ForwardRef=n;var Fragment$1=e;var Lazy=t;var Memo=r;var Portal=d;
761
- var Profiler=g;var StrictMode=f;var Suspense=p;var isAsyncMode=function(a){return A(a)||z(a)===l};var isConcurrentMode=A;var isContextConsumer=function(a){return z(a)===k};var isContextProvider=function(a){return z(a)===h};var isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};var isForwardRef=function(a){return z(a)===n};var isFragment=function(a){return z(a)===e};var isLazy=function(a){return z(a)===t};
762
- var isMemo=function(a){return z(a)===r};var isPortal=function(a){return z(a)===d};var isProfiler=function(a){return z(a)===g};var isStrictMode=function(a){return z(a)===f};var isSuspense=function(a){return z(a)===p};
763
- var isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};var typeOf=z;
764
-
765
- var reactIs_production_min = {
766
- AsyncMode: AsyncMode,
767
- ConcurrentMode: ConcurrentMode,
768
- ContextConsumer: ContextConsumer,
769
- ContextProvider: ContextProvider,
770
- Element: Element,
771
- ForwardRef: ForwardRef,
772
- Fragment: Fragment$1,
773
- Lazy: Lazy,
774
- Memo: Memo,
775
- Portal: Portal,
776
- Profiler: Profiler,
777
- StrictMode: StrictMode,
778
- Suspense: Suspense,
779
- isAsyncMode: isAsyncMode,
780
- isConcurrentMode: isConcurrentMode,
781
- isContextConsumer: isContextConsumer,
782
- isContextProvider: isContextProvider,
783
- isElement: isElement,
784
- isForwardRef: isForwardRef,
785
- isFragment: isFragment,
786
- isLazy: isLazy,
787
- isMemo: isMemo,
788
- isPortal: isPortal,
789
- isProfiler: isProfiler,
790
- isStrictMode: isStrictMode,
791
- isSuspense: isSuspense,
792
- isValidElementType: isValidElementType,
793
- typeOf: typeOf
794
- };
795
-
796
- var reactIs_development = createCommonjsModule(function (module, exports) {
797
-
798
-
799
-
800
- if (process.env.NODE_ENV !== "production") {
801
- (function() {
802
-
803
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
804
- // nor polyfill, then a plain number is used for performance.
805
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
806
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
807
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
808
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
809
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
810
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
811
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
812
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
813
- // (unstable) APIs that have been removed. Can we remove the symbols?
814
-
815
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
816
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
817
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
818
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
819
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
820
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
821
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
822
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
823
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
824
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
825
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
826
-
827
- function isValidElementType(type) {
828
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
829
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
830
- }
831
-
832
- function typeOf(object) {
833
- if (typeof object === 'object' && object !== null) {
834
- var $$typeof = object.$$typeof;
835
-
836
- switch ($$typeof) {
837
- case REACT_ELEMENT_TYPE:
838
- var type = object.type;
839
-
840
- switch (type) {
841
- case REACT_ASYNC_MODE_TYPE:
842
- case REACT_CONCURRENT_MODE_TYPE:
843
- case REACT_FRAGMENT_TYPE:
844
- case REACT_PROFILER_TYPE:
845
- case REACT_STRICT_MODE_TYPE:
846
- case REACT_SUSPENSE_TYPE:
847
- return type;
848
-
849
- default:
850
- var $$typeofType = type && type.$$typeof;
851
-
852
- switch ($$typeofType) {
853
- case REACT_CONTEXT_TYPE:
854
- case REACT_FORWARD_REF_TYPE:
855
- case REACT_LAZY_TYPE:
856
- case REACT_MEMO_TYPE:
857
- case REACT_PROVIDER_TYPE:
858
- return $$typeofType;
859
-
860
- default:
861
- return $$typeof;
862
- }
863
-
864
- }
865
-
866
- case REACT_PORTAL_TYPE:
867
- return $$typeof;
868
- }
869
- }
870
-
871
- return undefined;
872
- } // AsyncMode is deprecated along with isAsyncMode
873
-
874
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
875
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
876
- var ContextConsumer = REACT_CONTEXT_TYPE;
877
- var ContextProvider = REACT_PROVIDER_TYPE;
878
- var Element = REACT_ELEMENT_TYPE;
879
- var ForwardRef = REACT_FORWARD_REF_TYPE;
880
- var Fragment = REACT_FRAGMENT_TYPE;
881
- var Lazy = REACT_LAZY_TYPE;
882
- var Memo = REACT_MEMO_TYPE;
883
- var Portal = REACT_PORTAL_TYPE;
884
- var Profiler = REACT_PROFILER_TYPE;
885
- var StrictMode = REACT_STRICT_MODE_TYPE;
886
- var Suspense = REACT_SUSPENSE_TYPE;
887
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
888
-
889
- function isAsyncMode(object) {
890
- {
891
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
892
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
893
-
894
- 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.');
895
- }
896
- }
897
-
898
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
899
- }
900
- function isConcurrentMode(object) {
901
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
902
- }
903
- function isContextConsumer(object) {
904
- return typeOf(object) === REACT_CONTEXT_TYPE;
905
- }
906
- function isContextProvider(object) {
907
- return typeOf(object) === REACT_PROVIDER_TYPE;
908
- }
909
- function isElement(object) {
910
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
911
- }
912
- function isForwardRef(object) {
913
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
914
- }
915
- function isFragment(object) {
916
- return typeOf(object) === REACT_FRAGMENT_TYPE;
917
- }
918
- function isLazy(object) {
919
- return typeOf(object) === REACT_LAZY_TYPE;
920
- }
921
- function isMemo(object) {
922
- return typeOf(object) === REACT_MEMO_TYPE;
923
- }
924
- function isPortal(object) {
925
- return typeOf(object) === REACT_PORTAL_TYPE;
926
- }
927
- function isProfiler(object) {
928
- return typeOf(object) === REACT_PROFILER_TYPE;
929
- }
930
- function isStrictMode(object) {
931
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
932
- }
933
- function isSuspense(object) {
934
- return typeOf(object) === REACT_SUSPENSE_TYPE;
935
- }
936
-
937
- exports.AsyncMode = AsyncMode;
938
- exports.ConcurrentMode = ConcurrentMode;
939
- exports.ContextConsumer = ContextConsumer;
940
- exports.ContextProvider = ContextProvider;
941
- exports.Element = Element;
942
- exports.ForwardRef = ForwardRef;
943
- exports.Fragment = Fragment;
944
- exports.Lazy = Lazy;
945
- exports.Memo = Memo;
946
- exports.Portal = Portal;
947
- exports.Profiler = Profiler;
948
- exports.StrictMode = StrictMode;
949
- exports.Suspense = Suspense;
950
- exports.isAsyncMode = isAsyncMode;
951
- exports.isConcurrentMode = isConcurrentMode;
952
- exports.isContextConsumer = isContextConsumer;
953
- exports.isContextProvider = isContextProvider;
954
- exports.isElement = isElement;
955
- exports.isForwardRef = isForwardRef;
956
- exports.isFragment = isFragment;
957
- exports.isLazy = isLazy;
958
- exports.isMemo = isMemo;
959
- exports.isPortal = isPortal;
960
- exports.isProfiler = isProfiler;
961
- exports.isStrictMode = isStrictMode;
962
- exports.isSuspense = isSuspense;
963
- exports.isValidElementType = isValidElementType;
964
- exports.typeOf = typeOf;
965
- })();
966
- }
967
- });
968
- reactIs_development.AsyncMode;
969
- reactIs_development.ConcurrentMode;
970
- reactIs_development.ContextConsumer;
971
- reactIs_development.ContextProvider;
972
- reactIs_development.Element;
973
- reactIs_development.ForwardRef;
974
- reactIs_development.Fragment;
975
- reactIs_development.Lazy;
976
- reactIs_development.Memo;
977
- reactIs_development.Portal;
978
- reactIs_development.Profiler;
979
- reactIs_development.StrictMode;
980
- reactIs_development.Suspense;
981
- reactIs_development.isAsyncMode;
982
- reactIs_development.isConcurrentMode;
983
- reactIs_development.isContextConsumer;
984
- reactIs_development.isContextProvider;
985
- reactIs_development.isElement;
986
- reactIs_development.isForwardRef;
987
- reactIs_development.isFragment;
988
- reactIs_development.isLazy;
989
- reactIs_development.isMemo;
990
- reactIs_development.isPortal;
991
- reactIs_development.isProfiler;
992
- reactIs_development.isStrictMode;
993
- reactIs_development.isSuspense;
994
- reactIs_development.isValidElementType;
995
- reactIs_development.typeOf;
996
-
997
- var reactIs = createCommonjsModule(function (module) {
998
-
999
- if (process.env.NODE_ENV === 'production') {
1000
- module.exports = reactIs_production_min;
1001
- } else {
1002
- module.exports = reactIs_development;
1003
- }
1004
- });
1005
-
1006
- var FORWARD_REF_STATICS = {
1007
- '$$typeof': true,
1008
- render: true,
1009
- defaultProps: true,
1010
- displayName: true,
1011
- propTypes: true
1012
- };
1013
- var MEMO_STATICS = {
1014
- '$$typeof': true,
1015
- compare: true,
1016
- defaultProps: true,
1017
- displayName: true,
1018
- propTypes: true,
1019
- type: true
1020
- };
1021
- var TYPE_STATICS = {};
1022
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
1023
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
1024
-
1025
- var isBrowser$2 = typeof document !== 'undefined';
1026
-
1027
- function getRegisteredStyles(registered, registeredStyles, classNames) {
1028
- var rawClassName = '';
1029
- classNames.split(' ').forEach(function (className) {
1030
- if (registered[className] !== undefined) {
1031
- registeredStyles.push(registered[className] + ";");
1032
- } else if (className) {
1033
- rawClassName += className + " ";
1034
- }
1035
- });
1036
- return rawClassName;
1037
- }
1038
- var registerStyles = function registerStyles(cache, serialized, isStringTag) {
1039
- var className = cache.key + "-" + serialized.name;
1040
-
1041
- if ( // we only need to add the styles to the registered cache if the
1042
- // class name could be used further down
1043
- // the tree but if it's a string tag, we know it won't
1044
- // so we don't have to add it to registered cache.
1045
- // this improves memory usage since we can avoid storing the whole style string
1046
- (isStringTag === false || // we need to always store it if we're in compat mode and
1047
- // in node since emotion-server relies on whether a style is in
1048
- // the registered cache to know whether a style is global or not
1049
- // also, note that this check will be dead code eliminated in the browser
1050
- isBrowser$2 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
1051
- cache.registered[className] = serialized.styles;
1052
- }
1053
- };
1054
- var insertStyles = function insertStyles(cache, serialized, isStringTag) {
1055
- registerStyles(cache, serialized, isStringTag);
1056
- var className = cache.key + "-" + serialized.name;
1057
-
1058
- if (cache.inserted[serialized.name] === undefined) {
1059
- var stylesForSSR = '';
1060
- var current = serialized;
1061
-
1062
- do {
1063
- var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
1064
-
1065
- if (!isBrowser$2 && maybeStyles !== undefined) {
1066
- stylesForSSR += maybeStyles;
1067
- }
1068
-
1069
- current = current.next;
1070
- } while (current !== undefined);
1071
-
1072
- if (!isBrowser$2 && stylesForSSR.length !== 0) {
1073
- return stylesForSSR;
1074
- }
1075
- }
1076
- };
1077
-
1078
- /* eslint-disable */
1079
- // Inspired by https://github.com/garycourt/murmurhash-js
1080
- // Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
1081
- function murmur2(str) {
1082
- // 'm' and 'r' are mixing constants generated offline.
1083
- // They're not really 'magic', they just happen to work well.
1084
- // const m = 0x5bd1e995;
1085
- // const r = 24;
1086
- // Initialize the hash
1087
- var h = 0; // Mix 4 bytes at a time into the hash
1088
-
1089
- var k,
1090
- i = 0,
1091
- len = str.length;
1092
-
1093
- for (; len >= 4; ++i, len -= 4) {
1094
- k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
1095
- k =
1096
- /* Math.imul(k, m): */
1097
- (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
1098
- k ^=
1099
- /* k >>> r: */
1100
- k >>> 24;
1101
- h =
1102
- /* Math.imul(k, m): */
1103
- (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
1104
- /* Math.imul(h, m): */
1105
- (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
1106
- } // Handle the last few bytes of the input array
1107
-
1108
-
1109
- switch (len) {
1110
- case 3:
1111
- h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
1112
-
1113
- case 2:
1114
- h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
1115
-
1116
- case 1:
1117
- h ^= str.charCodeAt(i) & 0xff;
1118
- h =
1119
- /* Math.imul(h, m): */
1120
- (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
1121
- } // Do a few final mixes of the hash to ensure the last few
1122
- // bytes are well-incorporated.
1123
-
1124
-
1125
- h ^= h >>> 13;
1126
- h =
1127
- /* Math.imul(h, m): */
1128
- (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
1129
- return ((h ^ h >>> 15) >>> 0).toString(36);
1130
- }
1131
-
1132
- var unitlessKeys = {
1133
- animationIterationCount: 1,
1134
- aspectRatio: 1,
1135
- borderImageOutset: 1,
1136
- borderImageSlice: 1,
1137
- borderImageWidth: 1,
1138
- boxFlex: 1,
1139
- boxFlexGroup: 1,
1140
- boxOrdinalGroup: 1,
1141
- columnCount: 1,
1142
- columns: 1,
1143
- flex: 1,
1144
- flexGrow: 1,
1145
- flexPositive: 1,
1146
- flexShrink: 1,
1147
- flexNegative: 1,
1148
- flexOrder: 1,
1149
- gridRow: 1,
1150
- gridRowEnd: 1,
1151
- gridRowSpan: 1,
1152
- gridRowStart: 1,
1153
- gridColumn: 1,
1154
- gridColumnEnd: 1,
1155
- gridColumnSpan: 1,
1156
- gridColumnStart: 1,
1157
- msGridRow: 1,
1158
- msGridRowSpan: 1,
1159
- msGridColumn: 1,
1160
- msGridColumnSpan: 1,
1161
- fontWeight: 1,
1162
- lineHeight: 1,
1163
- opacity: 1,
1164
- order: 1,
1165
- orphans: 1,
1166
- scale: 1,
1167
- tabSize: 1,
1168
- widows: 1,
1169
- zIndex: 1,
1170
- zoom: 1,
1171
- WebkitLineClamp: 1,
1172
- // SVG-related properties
1173
- fillOpacity: 1,
1174
- floodOpacity: 1,
1175
- stopOpacity: 1,
1176
- strokeDasharray: 1,
1177
- strokeDashoffset: 1,
1178
- strokeMiterlimit: 1,
1179
- strokeOpacity: 1,
1180
- strokeWidth: 1
1181
- };
1182
-
1183
- var hyphenateRegex = /[A-Z]|^ms/g;
1184
- var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1185
-
1186
- var isCustomProperty = function isCustomProperty(property) {
1187
- return property.charCodeAt(1) === 45;
1188
- };
1189
-
1190
- var isProcessableValue = function isProcessableValue(value) {
1191
- return value != null && typeof value !== 'boolean';
1192
- };
1193
-
1194
- var processStyleName = /* #__PURE__ */memoize(function (styleName) {
1195
- return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
1196
- });
1197
-
1198
- var processStyleValue = function processStyleValue(key, value) {
1199
- switch (key) {
1200
- case 'animation':
1201
- case 'animationName':
1202
- {
1203
- if (typeof value === 'string') {
1204
- return value.replace(animationRegex, function (match, p1, p2) {
1205
- cursor = {
1206
- name: p1,
1207
- styles: p2,
1208
- next: cursor
1209
- };
1210
- return p1;
1211
- });
1212
- }
1213
- }
1214
- }
1215
-
1216
- if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
1217
- return value + 'px';
1218
- }
1219
-
1220
- return value;
1221
- };
1222
-
1223
- function handleInterpolation(mergedProps, registered, interpolation) {
1224
- if (interpolation == null) {
1225
- return '';
1226
- }
1227
-
1228
- var componentSelector = interpolation;
1229
-
1230
- if (componentSelector.__emotion_styles !== undefined) {
1231
-
1232
- return componentSelector;
1233
- }
1234
-
1235
- switch (typeof interpolation) {
1236
- case 'boolean':
1237
- {
1238
- return '';
1239
- }
1240
-
1241
- case 'object':
1242
- {
1243
- var keyframes = interpolation;
1244
-
1245
- if (keyframes.anim === 1) {
1246
- cursor = {
1247
- name: keyframes.name,
1248
- styles: keyframes.styles,
1249
- next: cursor
1250
- };
1251
- return keyframes.name;
1252
- }
1253
-
1254
- var serializedStyles = interpolation;
1255
-
1256
- if (serializedStyles.styles !== undefined) {
1257
- var next = serializedStyles.next;
1258
-
1259
- if (next !== undefined) {
1260
- // not the most efficient thing ever but this is a pretty rare case
1261
- // and there will be very few iterations of this generally
1262
- while (next !== undefined) {
1263
- cursor = {
1264
- name: next.name,
1265
- styles: next.styles,
1266
- next: cursor
1267
- };
1268
- next = next.next;
1269
- }
1270
- }
1271
-
1272
- var styles = serializedStyles.styles + ";";
1273
- return styles;
1274
- }
1275
-
1276
- return createStringFromObject(mergedProps, registered, interpolation);
1277
- }
1278
-
1279
- case 'function':
1280
- {
1281
- if (mergedProps !== undefined) {
1282
- var previousCursor = cursor;
1283
- var result = interpolation(mergedProps);
1284
- cursor = previousCursor;
1285
- return handleInterpolation(mergedProps, registered, result);
1286
- }
1287
-
1288
- break;
1289
- }
1290
- } // finalize string values (regular strings and functions interpolated into css calls)
1291
-
1292
-
1293
- var asString = interpolation;
1294
-
1295
- {
1296
- return asString;
1297
- }
1298
- }
1299
-
1300
- function createStringFromObject(mergedProps, registered, obj) {
1301
- var string = '';
1302
-
1303
- if (Array.isArray(obj)) {
1304
- for (var i = 0; i < obj.length; i++) {
1305
- string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
1306
- }
1307
- } else {
1308
- for (var key in obj) {
1309
- var value = obj[key];
1310
-
1311
- if (typeof value !== 'object') {
1312
- var asString = value;
1313
-
1314
- if (isProcessableValue(asString)) {
1315
- string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
1316
- }
1317
- } else {
1318
-
1319
- if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null)) {
1320
- for (var _i = 0; _i < value.length; _i++) {
1321
- if (isProcessableValue(value[_i])) {
1322
- string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
1323
- }
1324
- }
1325
- } else {
1326
- var interpolated = handleInterpolation(mergedProps, registered, value);
1327
-
1328
- switch (key) {
1329
- case 'animation':
1330
- case 'animationName':
1331
- {
1332
- string += processStyleName(key) + ":" + interpolated + ";";
1333
- break;
1334
- }
1335
-
1336
- default:
1337
- {
1338
-
1339
- string += key + "{" + interpolated + "}";
1340
- }
1341
- }
1342
- }
1343
- }
1344
- }
1345
- }
1346
-
1347
- return string;
1348
- }
1349
-
1350
- var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g; // this is the cursor for keyframes
1351
- // keyframes are stored on the SerializedStyles object as a linked list
1352
-
1353
- var cursor;
1354
- function serializeStyles(args, registered, mergedProps) {
1355
- if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
1356
- return args[0];
1357
- }
1358
-
1359
- var stringMode = true;
1360
- var styles = '';
1361
- cursor = undefined;
1362
- var strings = args[0];
1363
-
1364
- if (strings == null || strings.raw === undefined) {
1365
- stringMode = false;
1366
- styles += handleInterpolation(mergedProps, registered, strings);
1367
- } else {
1368
- var asTemplateStringsArr = strings;
1369
-
1370
- styles += asTemplateStringsArr[0];
1371
- } // we start at 1 since we've already handled the first arg
1372
-
1373
-
1374
- for (var i = 1; i < args.length; i++) {
1375
- styles += handleInterpolation(mergedProps, registered, args[i]);
1376
-
1377
- if (stringMode) {
1378
- var templateStringsArr = strings;
1379
-
1380
- styles += templateStringsArr[i];
1381
- }
1382
- } // using a global regex with .exec is stateful so lastIndex has to be reset each time
1383
-
1384
-
1385
- labelPattern.lastIndex = 0;
1386
- var identifierName = '';
1387
- var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
1388
-
1389
- while ((match = labelPattern.exec(styles)) !== null) {
1390
- identifierName += '-' + match[1];
1391
- }
1392
-
1393
- var name = murmur2(styles) + identifierName;
1394
-
1395
- return {
1396
- name: name,
1397
- styles: styles,
1398
- next: cursor
1399
- };
1400
- }
1401
-
1402
- var isBrowser$1 = typeof document !== 'undefined';
1403
-
1404
- var syncFallback = function syncFallback(create) {
1405
- return create();
1406
- };
1407
-
1408
- var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : false;
1409
- var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$1 ? syncFallback : useInsertionEffect || syncFallback;
1410
-
1411
- var isBrowser = typeof document !== 'undefined';
1412
-
1413
- /* import { type EmotionCache } from '@emotion/utils' */
1414
- var EmotionCacheContext
1415
- /*: React.Context<EmotionCache | null> */
1416
- = /* #__PURE__ */React__namespace.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
1417
- // because this module is primarily intended for the browser and node
1418
- // but it's also required in react native and similar environments sometimes
1419
- // and we could have a special build just for that
1420
- // but this is much easier and the native packages
1421
- // might use a different theme context in the future anyway
1422
- typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
1423
- key: 'css'
1424
- }) : null);
1425
-
1426
- EmotionCacheContext.Provider;
1427
-
1428
- var withEmotionCache = function withEmotionCache
1429
- /* <Props, Ref: React.Ref<*>> */
1430
- (func
1431
- /*: (props: Props, cache: EmotionCache, ref: Ref) => React.Node */
1432
- )
1433
- /*: React.AbstractComponent<Props> */
1434
- {
1435
- return /*#__PURE__*/React.forwardRef(function (props
1436
- /*: Props */
1437
- , ref
1438
- /*: Ref */
1439
- ) {
1440
- // the cache will never be null in the browser
1441
- var cache = React.useContext(EmotionCacheContext);
1442
- return func(props, cache, ref);
1443
- });
1444
- };
1445
-
1446
- if (!isBrowser) {
1447
- withEmotionCache = function withEmotionCache
1448
- /* <Props> */
1449
- (func
1450
- /*: (props: Props, cache: EmotionCache) => React.Node */
1451
- )
1452
- /*: React.StatelessFunctionalComponent<Props> */
1453
- {
1454
- return function (props
1455
- /*: Props */
1456
- ) {
1457
- var cache = React.useContext(EmotionCacheContext);
1458
-
1459
- if (cache === null) {
1460
- // yes, we're potentially creating this on every render
1461
- // it doesn't actually matter though since it's only on the server
1462
- // so there will only every be a single render
1463
- // that could change in the future because of suspense and etc. but for now,
1464
- // this works and i don't want to optimise for a future thing that we aren't sure about
1465
- cache = createCache({
1466
- key: 'css'
1467
- });
1468
- return /*#__PURE__*/React__namespace.createElement(EmotionCacheContext.Provider, {
1469
- value: cache
1470
- }, func(props, cache));
1471
- } else {
1472
- return func(props, cache);
1473
- }
1474
- };
1475
- };
1476
- }
1477
-
1478
- var ThemeContext = /* #__PURE__ */React__namespace.createContext({});
1479
-
1480
- var hasOwn = {}.hasOwnProperty;
1481
-
1482
- var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
1483
- var createEmotionProps = function createEmotionProps(type
1484
- /*: React.ElementType */
1485
- , props
1486
- /*: Object */
1487
- ) {
1488
-
1489
- var newProps
1490
- /*: any */
1491
- = {};
1492
-
1493
- for (var key in props) {
1494
- if (hasOwn.call(props, key)) {
1495
- newProps[key] = props[key];
1496
- }
1497
- }
1498
-
1499
- newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:
1500
-
1501
- return newProps;
1502
- };
1503
-
1504
- var Insertion = function Insertion(_ref) {
1505
- var cache = _ref.cache,
1506
- serialized = _ref.serialized,
1507
- isStringTag = _ref.isStringTag;
1508
- registerStyles(cache, serialized, isStringTag);
1509
- var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
1510
- return insertStyles(cache, serialized, isStringTag);
1511
- });
1512
-
1513
- if (!isBrowser && rules !== undefined) {
1514
- var _ref2;
1515
-
1516
- var serializedNames = serialized.name;
1517
- var next = serialized.next;
1518
-
1519
- while (next !== undefined) {
1520
- serializedNames += ' ' + next.name;
1521
- next = next.next;
1522
- }
1523
-
1524
- return /*#__PURE__*/React__namespace.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
1525
- __html: rules
1526
- }, _ref2.nonce = cache.sheet.nonce, _ref2));
1527
- }
1528
-
1529
- return null;
1530
- };
1531
-
1532
- var Emotion = /* #__PURE__ */withEmotionCache(
1533
- /* <any, any> */
1534
- function (props, cache, ref) {
1535
- var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
1536
- // not passing the registered cache to serializeStyles because it would
1537
- // make certain babel optimisations not possible
1538
-
1539
- if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
1540
- cssProp = cache.registered[cssProp];
1541
- }
1542
-
1543
- var WrappedComponent = props[typePropName];
1544
- var registeredStyles = [cssProp];
1545
- var className = '';
1546
-
1547
- if (typeof props.className === 'string') {
1548
- className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
1549
- } else if (props.className != null) {
1550
- className = props.className + " ";
1551
- }
1552
-
1553
- var serialized = serializeStyles(registeredStyles, undefined, React__namespace.useContext(ThemeContext));
1554
-
1555
- className += cache.key + "-" + serialized.name;
1556
- var newProps = {};
1557
-
1558
- for (var key in props) {
1559
- if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (true )) {
1560
- newProps[key] = props[key];
1561
- }
1562
- }
1563
-
1564
- newProps.className = className;
1565
-
1566
- if (ref) {
1567
- newProps.ref = ref;
1568
- }
1569
-
1570
- return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion, {
1571
- cache: cache,
1572
- serialized: serialized,
1573
- isStringTag: typeof WrappedComponent === 'string'
1574
- }), /*#__PURE__*/React__namespace.createElement(WrappedComponent, newProps));
1575
- });
1576
-
1577
- var Emotion$1 = Emotion;
1578
-
1579
- var _extends_1 = createCommonjsModule(function (module) {
1580
- function _extends() {
1581
- return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {
1582
- for (var e = 1; e < arguments.length; e++) {
1583
- var t = arguments[e];
1584
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
1585
- }
1586
- return n;
1587
- }, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends.apply(null, arguments);
1588
- }
1589
- module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
1590
- });
1591
-
1592
- unwrapExports(_extends_1);
1593
-
1594
- var Fragment = ReactJSXRuntime__namespace.Fragment;
1595
- function jsx(type, props, key) {
1596
- if (!hasOwn.call(props, 'css')) {
1597
- return ReactJSXRuntime__namespace.jsx(type, props, key);
1598
- }
1599
-
1600
- return ReactJSXRuntime__namespace.jsx(Emotion$1, createEmotionProps(type, props), key);
1601
- }
1602
- function jsxs(type, props, key) {
1603
- if (!hasOwn.call(props, 'css')) {
1604
- return ReactJSXRuntime__namespace.jsxs(type, props, key);
1605
- }
1606
-
1607
- return ReactJSXRuntime__namespace.jsxs(Emotion$1, createEmotionProps(type, props), key);
1608
- }
1609
-
1610
10
  function Accordion(props) {
1611
11
  const [active, setActive] = React.useState(props.active);
1612
12
  const onStepClick = (index, disabled) => () => {
@@ -1621,7 +21,7 @@ function Accordion(props) {
1621
21
  setActive(newIndex);
1622
22
  }
1623
23
  };
1624
- return (jsx(Fragment, { children: React.Children.map(props.children, (child, index) => {
24
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: React.Children.map(props.children, (child, index) => {
1625
25
  return React.cloneElement(child, {
1626
26
  open: active === index,
1627
27
  onStepClick: onStepClick(index, child.props.disabled)
@@ -1638,18 +38,6 @@ Accordion.defaultProps = {
1638
38
  active: -1,
1639
39
  };
1640
40
 
1641
- /* import type { Interpolation, SerializedStyles } from '@emotion/utils' */
1642
-
1643
- function css()
1644
- /*: SerializedStyles */
1645
- {
1646
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1647
- args[_key] = arguments[_key];
1648
- }
1649
-
1650
- return serializeStyles(args);
1651
- }
1652
-
1653
41
  var constants = {
1654
42
  PRIMARY: '#2283d2',
1655
43
  PRIMARY_LIGHT: '#64baff',
@@ -1713,35 +101,35 @@ const Footer$1 = styled.div `
1713
101
  `;
1714
102
 
1715
103
  function CheckCircle$4(props) {
1716
- return (jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsx("path", { d: "M0 0h24v24H0V0zm0 0h24v24H0V0z", fill: "none" }), jsx("path", { d: "M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" })] })));
104
+ return (jsxRuntime.jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsxRuntime.jsx("path", { d: "M0 0h24v24H0V0zm0 0h24v24H0V0z", fill: "none" }), jsxRuntime.jsx("path", { d: "M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" })] })));
1717
105
  }
1718
106
 
1719
107
  function ExpandMore(props) {
1720
- return (jsxs("svg", Object.assign({ viewBox: "0 0 24 24", width: "18px", height: "18px", fill: 'currentColor' }, props, { children: [jsx("path", { d: "M0 0h24v24H0z", fill: "none" }), jsx("path", { d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z" })] })));
108
+ return (jsxRuntime.jsxs("svg", Object.assign({ viewBox: "0 0 24 24", width: "18px", height: "18px", fill: 'currentColor' }, props, { children: [jsxRuntime.jsx("path", { d: "M0 0h24v24H0z", fill: "none" }), jsxRuntime.jsx("path", { d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z" })] })));
1721
109
  }
1722
110
 
1723
111
  function FiberManualRecord(props) {
1724
- return (jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsx("path", { d: "M24 24H0V0h24v24z", fill: "none" }), jsx("circle", { cx: "12", cy: "12", r: "8" })] })));
112
+ return (jsxRuntime.jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsxRuntime.jsx("path", { d: "M24 24H0V0h24v24z", fill: "none" }), jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "8" })] })));
1725
113
  }
1726
114
 
1727
115
  function Close(props) {
1728
- return (jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsx("path", { d: "M0 0h24v24H0V0z", fill: "none" }), jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" })] })));
116
+ return (jsxRuntime.jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsxRuntime.jsx("path", { d: "M0 0h24v24H0V0z", fill: "none" }), jsxRuntime.jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" })] })));
1729
117
  }
1730
118
 
1731
119
  function CheckCircle$3(props) {
1732
- return (jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsx("path", { d: "M0 0h24v24H0V0z", fill: "none" }), jsx("path", { d: "M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" })] })));
120
+ return (jsxRuntime.jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsxRuntime.jsx("path", { d: "M0 0h24v24H0V0z", fill: "none" }), jsxRuntime.jsx("path", { d: "M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" })] })));
1733
121
  }
1734
122
 
1735
123
  function CheckCircle$2(props) {
1736
- return (jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsx("path", { d: "M0 0h24v24H0V0z", fill: "none" }), jsx("path", { d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z" })] })));
124
+ return (jsxRuntime.jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsxRuntime.jsx("path", { d: "M0 0h24v24H0V0z", fill: "none" }), jsxRuntime.jsx("path", { d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z" })] })));
1737
125
  }
1738
126
 
1739
127
  function CheckCircle$1(props) {
1740
- return (jsx("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: jsx("path", { d: "M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }) })));
128
+ return (jsxRuntime.jsx("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: jsxRuntime.jsx("path", { d: "M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }) })));
1741
129
  }
1742
130
 
1743
131
  function CheckCircle(props) {
1744
- return (jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsx("path", { d: "M0 0h24v24H0V0z", fill: "none" }), jsx("path", { d: "M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" })] })));
132
+ return (jsxRuntime.jsxs("svg", Object.assign({ height: "24", viewBox: "0 0 24 24", width: "24", fill: 'currentColor' }, props, { children: [jsxRuntime.jsx("path", { d: "M0 0h24v24H0V0z", fill: "none" }), jsxRuntime.jsx("path", { d: "M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" })] })));
1745
133
  }
1746
134
 
1747
135
  exports.BADGE_TYPE = void 0;
@@ -1779,7 +167,7 @@ const BadgeSpan = styled.span `
1779
167
  ${props => !props.inline && 'position: absolute; top: 0; right: 0; transform: translate(50%, -50%);'};
1780
168
  `;
1781
169
  function Badge(props) {
1782
- return jsx(BadgeSpan, Object.assign({}, props));
170
+ return jsxRuntime.jsx(BadgeSpan, Object.assign({}, props));
1783
171
  }
1784
172
  Badge.propTypes = {
1785
173
  /** Display badge inline or overlay on parent component */
@@ -1885,7 +273,7 @@ function AccordionStep(props) {
1885
273
  const toggleFocus = () => {
1886
274
  setFocused(!focused);
1887
275
  };
1888
- return (jsxs(Step$1, Object.assign({}, props, { focused: focused, elevated: props.open, children: [jsxs(StepHeader, { open: open, disabled: disabled, onClick: onStepClick, children: [jsxs(HeaderContainer, { open: open, completed: completed, children: [jsx("input", { type: 'checkbox', checked: open, disabled: disabled, onFocus: toggleFocus, onBlur: toggleFocus }), jsx(FiberManualRecord, {}), jsx(Ellipsis, { children: header })] }), jsxs(ExpandContainer, { open: open, children: [errorText && jsx(Badge, { css: css `margin-right: 15px;`, inline: true, type: exports.BADGE_TYPE.DANGER, children: errorText }), jsx(ExpandMore, {})] })] }), jsx(StepBody, { ref: ref, height: open ? height : 0, children: open && props.children })] })));
276
+ return (jsxRuntime.jsxs(Step$1, Object.assign({}, props, { focused: focused, elevated: props.open, children: [jsxRuntime.jsxs(StepHeader, { open: open, disabled: disabled, onClick: onStepClick, children: [jsxRuntime.jsxs(HeaderContainer, { open: open, completed: completed, children: [jsxRuntime.jsx("input", { type: 'checkbox', checked: open, disabled: disabled, onFocus: toggleFocus, onBlur: toggleFocus }), jsxRuntime.jsx(FiberManualRecord, {}), jsxRuntime.jsx(Ellipsis, { children: header })] }), jsxRuntime.jsxs(ExpandContainer, { open: open, children: [errorText && jsxRuntime.jsx(Badge, { css: react.css `margin-right: 15px;`, inline: true, type: exports.BADGE_TYPE.DANGER, children: errorText }), jsxRuntime.jsx(ExpandMore, {})] })] }), jsxRuntime.jsx(StepBody, { ref: ref, height: open ? height : 0, children: open && props.children })] })));
1889
277
  }
1890
278
  AccordionStep.propTypes = {
1891
279
  /** Header text for the step */
@@ -2141,6 +529,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
2141
529
 
2142
530
  const Container$8 = styled.div `
2143
531
  padding: 5px;
532
+ padding-left: 15px;
2144
533
  border-radius: 16px;
2145
534
  background-color: var(--border-light-color, ${constants.BORDER_LIGHT_COLOR});
2146
535
  display: inline-flex;
@@ -2149,7 +538,7 @@ const Container$8 = styled.div `
2149
538
  align-items: center;
2150
539
 
2151
540
  &:focus-within {
2152
- background-color: var(--light-grey, ${constants.LIGHT_GREY});
541
+ outline: 2px solid var(--primary-light, ${constants.PRIMARY_LIGHT});
2153
542
  }
2154
543
  `;
2155
544
  const Button$1 = styled.button `
@@ -2168,7 +557,7 @@ function Chip(props) {
2168
557
  onCloseClick === null || onCloseClick === void 0 ? void 0 : onCloseClick();
2169
558
  }
2170
559
  };
2171
- return (jsxs(Container$8, Object.assign({}, rest, { onKeyUp: keyUpHandler, children: [label, jsx(Button$1, { onClick: onCloseClick, children: jsx(Close, { height: 20, width: 20 }) })] })));
560
+ return (jsxRuntime.jsxs(Container$8, Object.assign({}, rest, { onKeyUp: keyUpHandler, children: [label, jsxRuntime.jsx(Button$1, { onClick: onCloseClick, "aria-label": `Remove ${label}`, children: jsxRuntime.jsx(Close, { height: 20, width: 20 }) })] })));
2172
561
  }
2173
562
 
2174
563
  /** Enums for layer position on screen. */
@@ -2312,7 +701,7 @@ class LayerManager {
2312
701
  document.body.removeChild(divElement);
2313
702
  };
2314
703
  }, []);
2315
- return ReactDOM.createPortal(jsx(Container$7, Object.assign({ onClick: overlayClickHandler(currentLayer), zIndex: currentIndex }, layerConfig, { children: layerConfig.component })), divElement);
704
+ return ReactDOM.createPortal(jsxRuntime.jsx(Container$7, Object.assign({ onClick: overlayClickHandler(currentLayer), zIndex: currentIndex }, layerConfig, { children: layerConfig.component })), divElement);
2316
705
  },
2317
706
  (resp) => {
2318
707
  this.unmount(currentLayer, resp);
@@ -2384,10 +773,10 @@ class Dialog extends React.Component {
2384
773
  closeCallback: this.closeCallback,
2385
774
  closeOnOverlayClick,
2386
775
  position: LAYER_POSITION.DIALOG,
2387
- component: (jsx(DialogContainer, Object.assign({}, rest, { onClick: e => e.stopPropagation(), elevated: true, children: children })))
776
+ component: (jsxRuntime.jsx(DialogContainer, Object.assign({}, rest, { onClick: e => e.stopPropagation(), elevated: true, children: children })))
2388
777
  });
2389
778
  this.closeDialog = closeFn;
2390
- return jsx(Component, {});
779
+ return jsxRuntime.jsx(Component, {});
2391
780
  }
2392
781
  else {
2393
782
  return null;
@@ -2418,7 +807,7 @@ class AlertDialog extends React.Component {
2418
807
  this.close = () => this.dialog.current.close();
2419
808
  }
2420
809
  render() {
2421
- return (jsxs(Dialog, Object.assign({}, this.props.dialogProps, { ref: this.dialog, closeOnEsc: false, closeOnOverlayClick: false, children: [this.props.header && jsx(Header$1, { children: this.props.header }), jsx(Body$1, { children: this.props.body }), jsx(Footer$1, { children: jsx(Button$2, { onClick: this.close, children: this.props.buttonText }) })] })));
810
+ return (jsxRuntime.jsxs(Dialog, Object.assign({}, this.props.dialogProps, { ref: this.dialog, closeOnEsc: false, closeOnOverlayClick: false, children: [this.props.header && jsxRuntime.jsx(Header$1, { children: this.props.header }), jsxRuntime.jsx(Body$1, { children: this.props.body }), jsxRuntime.jsx(Footer$1, { children: jsxRuntime.jsx(Button$2, { onClick: this.close, children: this.props.buttonText }) })] })));
2422
811
  }
2423
812
  }
2424
813
  AlertDialog.propTypes = {
@@ -2452,7 +841,7 @@ class ConfirmDialog extends React.Component {
2452
841
  }
2453
842
  render() {
2454
843
  const { header, body, yesText, noText, dialogProps } = this.props;
2455
- return (jsxs(Dialog, Object.assign({}, dialogProps, { ref: this.dialog, closeOnEsc: false, closeOnOverlayClick: false, children: [header && jsx(Header$1, { children: header }), jsx(Body$1, { children: body }), jsxs(Footer$1, { children: [jsx(Button$2, { onClick: this.cancel, children: noText }), jsx(ActionButton, { onClick: this.confirm, children: yesText })] })] })));
844
+ return (jsxRuntime.jsxs(Dialog, Object.assign({}, dialogProps, { ref: this.dialog, closeOnEsc: false, closeOnOverlayClick: false, children: [header && jsxRuntime.jsx(Header$1, { children: header }), jsxRuntime.jsx(Body$1, { children: body }), jsxRuntime.jsxs(Footer$1, { children: [jsxRuntime.jsx(Button$2, { onClick: this.cancel, children: noText }), jsxRuntime.jsx(ActionButton, { onClick: this.confirm, children: yesText })] })] })));
2456
845
  }
2457
846
  }
2458
847
  ConfirmDialog.propTypes = {
@@ -2480,7 +869,7 @@ const Label$5 = styled.label `
2480
869
  margin: 10px 5px;
2481
870
  `;
2482
871
  const TextField$1 = styled.input `
2483
- border: none;
872
+ outline: none;
2484
873
  color: inherit;
2485
874
  padding: 0 8px;
2486
875
  line-height: 30px;
@@ -2595,7 +984,7 @@ const Input$4 = React.forwardRef((props, ref) => {
2595
984
  setValue(e.target.value);
2596
985
  }
2597
986
  };
2598
- return (jsxs(Label$5, { children: [jsx(TextField$1, Object.assign({}, props, { ref: ref, value: value, onChange: onChangeHandler, onFocus: handleFocus, touched: touched })), jsx("span", { children: props.label }), props.errorText && jsx(ErrorContainer$3, { children: props.errorText })] }));
987
+ return (jsxRuntime.jsxs(Label$5, { children: [jsxRuntime.jsx(TextField$1, Object.assign({}, props, { ref: ref, value: value, onChange: onChangeHandler, onFocus: handleFocus, touched: touched })), jsxRuntime.jsx("span", { children: props.label }), props.errorText && jsxRuntime.jsx(ErrorContainer$3, { children: props.errorText })] }));
2599
988
  });
2600
989
  Input$4.propTypes = {
2601
990
  /** Label for the field */
@@ -2726,7 +1115,7 @@ function TextArea(props) {
2726
1115
  setValue(e.target.value);
2727
1116
  }
2728
1117
  };
2729
- return (jsxs(Label$4, { children: [jsx(TextField, Object.assign({}, props, { value: value, onChange: onChangeHandler, onFocus: handleFocus, touched: touched })), jsx("span", { children: props.label }), props.errorText && jsx(ErrorContainer$2, { children: props.errorText })] }));
1118
+ return (jsxRuntime.jsxs(Label$4, { children: [jsxRuntime.jsx(TextField, Object.assign({}, props, { value: value, onChange: onChangeHandler, onFocus: handleFocus, touched: touched })), jsxRuntime.jsx("span", { children: props.label }), props.errorText && jsxRuntime.jsx(ErrorContainer$2, { children: props.errorText })] }));
2730
1119
  }
2731
1120
  TextArea.propTypes = {
2732
1121
  /** Label for the field */
@@ -2871,7 +1260,7 @@ function Select(props) {
2871
1260
  setValue(e.target.value);
2872
1261
  }
2873
1262
  };
2874
- return (jsxs(Label$3, { children: [jsxs(SelectField, Object.assign({}, props, { multiple: false, value: value, onChange: onChangeHandler, onFocus: handleFocus, touched: touched, children: [jsx("option", {}), props.children] })), jsx("span", { children: props.label }), jsx(ArrowContainer$1, { children: jsx(ExpandMore, {}) }), props.errorText && jsx(ErrorContainer$1, { children: props.errorText })] }));
1263
+ return (jsxRuntime.jsxs(Label$3, { children: [jsxRuntime.jsxs(SelectField, Object.assign({}, props, { multiple: false, value: value, onChange: onChangeHandler, onFocus: handleFocus, touched: touched, children: [jsxRuntime.jsx("option", {}), props.children] })), jsxRuntime.jsx("span", { children: props.label }), jsxRuntime.jsx(ArrowContainer$1, { children: jsxRuntime.jsx(ExpandMore, {}) }), props.errorText && jsxRuntime.jsx(ErrorContainer$1, { children: props.errorText })] }));
2875
1264
  }
2876
1265
  Select.propTypes = {
2877
1266
  /** Label for the field */
@@ -2983,7 +1372,7 @@ function Checkbox(props) {
2983
1372
  }
2984
1373
  }
2985
1374
  }, []);
2986
- return (jsxs(Label$2, { children: [jsx(Input$3, Object.assign({}, props, { ref: ref, type: "checkbox" })), jsx("span", { children: props.label })] }));
1375
+ return (jsxRuntime.jsxs(Label$2, { children: [jsxRuntime.jsx(Input$3, Object.assign({}, props, { ref: ref, type: "checkbox" })), jsxRuntime.jsx("span", { children: props.label })] }));
2987
1376
  }
2988
1377
  Checkbox.propTypes = {
2989
1378
  /** Label for the field */
@@ -3067,7 +1456,7 @@ const Input$2 = styled.input `
3067
1456
  }
3068
1457
  `;
3069
1458
  function Toggle(props) {
3070
- return (jsxs(Switch, { children: [jsx(Input$2, Object.assign({}, props, { type: 'checkbox' })), jsx("span", {}), jsx("span", { children: props.label })] }));
1459
+ return (jsxRuntime.jsxs(Switch, { children: [jsxRuntime.jsx(Input$2, Object.assign({}, props, { type: 'checkbox' })), jsxRuntime.jsx("span", {}), jsxRuntime.jsx("span", { children: props.label })] }));
3071
1460
  }
3072
1461
  Toggle.propTypes = {
3073
1462
  /** Label for the field */
@@ -3143,7 +1532,7 @@ const Input$1 = styled.input `
3143
1532
  }
3144
1533
  `;
3145
1534
  function Radio(props) {
3146
- return (jsxs(Label$1, { children: [jsx(Input$1, Object.assign({}, props, { type: 'radio' })), jsx("span", { children: props.label })] }));
1535
+ return (jsxRuntime.jsxs(Label$1, { children: [jsxRuntime.jsx(Input$1, Object.assign({}, props, { type: 'radio' })), jsxRuntime.jsx("span", { children: props.label })] }));
3147
1536
  }
3148
1537
  Radio.propTypes = {
3149
1538
  /** Label for the field */
@@ -3211,7 +1600,7 @@ const RadioGroup = styled.div `
3211
1600
  }
3212
1601
  `;
3213
1602
  function RadioButton(props) {
3214
- return (jsxs(Label, { children: [jsx(Input, Object.assign({}, props, { type: 'radio' })), jsx("span", { children: props.label })] }));
1603
+ return (jsxRuntime.jsxs(Label, { children: [jsxRuntime.jsx(Input, Object.assign({}, props, { type: 'radio' })), jsxRuntime.jsx("span", { children: props.label })] }));
3215
1604
  }
3216
1605
  RadioButton.propTypes = {
3217
1606
  /** Label for the field */
@@ -3250,11 +1639,11 @@ const Menu = React.forwardRef(function (props, ref) {
3250
1639
  setValue(newVal);
3251
1640
  onChange === null || onChange === void 0 ? void 0 : onChange(newVal);
3252
1641
  };
3253
- return (jsx(MenuContext.Provider, { value: {
1642
+ return (jsxRuntime.jsx(MenuContext.Provider, { value: {
3254
1643
  value,
3255
1644
  multiSelect,
3256
1645
  updateValue
3257
- }, children: jsx(MenuContainer, { ref: ref, children: props.children }) }));
1646
+ }, children: jsxRuntime.jsx(MenuContainer, { ref: ref, children: props.children }) }));
3258
1647
  });
3259
1648
  Menu.defaultProps = {
3260
1649
  multiSelect: false,
@@ -3293,7 +1682,7 @@ function MenuItem(props) {
3293
1682
  context.updateValue(value);
3294
1683
  };
3295
1684
  const selected = context.multiSelect ? (_b = (_a = context.value) === null || _a === void 0 ? void 0 : _a.includes) === null || _b === void 0 ? void 0 : _b.call(_a, value) : context.value === value;
3296
- return (jsxs(Container$6, Object.assign({}, rest, { type: 'button', tabIndex: context.multiSelect ? -1 : 0, selected: selected, onClick: clickHandler, children: [context.multiSelect && jsx(Checkbox, { checked: selected }), props.children] })));
1685
+ return (jsxRuntime.jsxs(Container$6, Object.assign({}, rest, { type: 'button', tabIndex: context.multiSelect ? -1 : 0, selected: selected, onClick: clickHandler, children: [context.multiSelect && jsxRuntime.jsx(Checkbox, { checked: selected }), props.children] })));
3297
1686
  }
3298
1687
 
3299
1688
  exports.POPOVER_POSITION = void 0;
@@ -3475,7 +1864,7 @@ function Popover(props) {
3475
1864
  popperRef.current.focus();
3476
1865
  }
3477
1866
  }, [open]);
3478
- return (jsxs(PopoverDiv, { ref: containerRef, children: [jsx(props.element, {}), open && (jsx(Popper, { elevated: true, tabIndex: 0, position: props.position, translateX: translate.x, translateY: translate.y, className: closing && 'closing', ref: popperRef, onClick: e => { e.stopPropagation(); e.nativeEvent.stopImmediatePropagation(); }, children: props.children }))] }));
1867
+ return (jsxRuntime.jsxs(PopoverDiv, { ref: containerRef, children: [jsxRuntime.jsx(props.element, {}), open && (jsxRuntime.jsx(Popper, { elevated: true, tabIndex: 0, position: props.position, translateX: translate.x, translateY: translate.y, className: closing && 'closing', ref: popperRef, onClick: e => { e.stopPropagation(); e.nativeEvent.stopImmediatePropagation(); }, children: props.children }))] }));
3479
1868
  }
3480
1869
  Popover.propTypes = {
3481
1870
  /** Opens the popover */
@@ -3552,7 +1941,7 @@ function Dropdown(props) {
3552
1941
  setOpen(false);
3553
1942
  }
3554
1943
  };
3555
- return (jsx(Popover, { position: exports.POPOVER_POSITION.BOTTOM_LEFT, open: open, element: () => (jsxs(Fragment, { children: [jsx(Input$4, { type: 'text', value: value && String(value), label: props.label, errorText: props.errorText, onClick: clickHandler, onKeyUp: keyUp, required: props.required, disabled: props.disabled }), jsx(ArrowContainer, { children: jsx(ExpandMore, {}) })] })), onClose: () => setOpen(false), children: jsx(Menu, { value: value, multiSelect: multiSelect, onChange: changeHandler, children: props.children }) }));
1944
+ return (jsxRuntime.jsx(Popover, { position: exports.POPOVER_POSITION.BOTTOM_LEFT, open: open, element: () => (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Input$4, { type: 'text', value: value && String(value), label: props.label, errorText: props.errorText, onClick: clickHandler, onKeyUp: keyUp, required: props.required, disabled: props.disabled }), jsxRuntime.jsx(ArrowContainer, { children: jsxRuntime.jsx(ExpandMore, {}) })] })), onClose: () => setOpen(false), children: jsxRuntime.jsx(Menu, { value: value, multiSelect: multiSelect, onChange: changeHandler, children: props.children }) }));
3556
1945
  }
3557
1946
  Dropdown.defaultProps = {
3558
1947
  multiSelect: false,
@@ -3597,7 +1986,7 @@ class PromptDialog extends React.Component {
3597
1986
  }
3598
1987
  render() {
3599
1988
  const { header, body, inputProps, submitText, cancelText, dialogProps } = this.props;
3600
- return (jsx(Dialog, Object.assign({}, dialogProps, { ref: this.dialog, closeOnEsc: false, closeOnOverlayClick: false, children: jsxs("form", { onSubmit: this.submit, children: [header && jsx(Header$1, { children: header }), jsxs(Body$1, { children: [jsx(BodyText, { children: body }), jsx("div", { style: { display: 'flex' }, children: jsx(Input$4, Object.assign({ style: { width: 'auto', flex: '1' }, value: this.state.value, onChange: this.valueChange, autoFocus: true }, inputProps)) })] }), jsxs(Footer$1, { children: [jsx(Button$2, { type: 'button', onClick: this.cancel, children: cancelText }), jsx(ActionButton, { children: submitText })] })] }) })));
1989
+ return (jsxRuntime.jsx(Dialog, Object.assign({}, dialogProps, { ref: this.dialog, closeOnEsc: false, closeOnOverlayClick: false, children: jsxRuntime.jsxs("form", { onSubmit: this.submit, children: [header && jsxRuntime.jsx(Header$1, { children: header }), jsxRuntime.jsxs(Body$1, { children: [jsxRuntime.jsx(BodyText, { children: body }), jsxRuntime.jsx("div", { style: { display: 'flex' }, children: jsxRuntime.jsx(Input$4, Object.assign({ style: { width: 'auto', flex: '1' }, value: this.state.value, onChange: this.valueChange, autoFocus: true }, inputProps)) })] }), jsxRuntime.jsxs(Footer$1, { children: [jsxRuntime.jsx(Button$2, { type: 'button', onClick: this.cancel, children: cancelText }), jsxRuntime.jsx(ActionButton, { children: submitText })] })] }) })));
3601
1990
  }
3602
1991
  }
3603
1992
  PromptDialog.propTypes = {
@@ -3629,9 +2018,11 @@ exports.ORIENTATION = void 0;
3629
2018
  })(exports.ORIENTATION || (exports.ORIENTATION = {}));
3630
2019
  const DragContext = React.createContext(null);
3631
2020
 
2021
+ /** Styled component for the draggable item container */
3632
2022
  const Item = styled.div `
3633
2023
  cursor: ${props => props.showIndicator ? 'default' : 'move'};
3634
2024
  display: flex;
2025
+ user-select: ${props => props.showIndicator ? 'auto' : 'none'};
3635
2026
  border-top: 2px solid ${props => props.orientation === exports.ORIENTATION.VERTICAL && props.active > 0
3636
2027
  ? constants.PRIMARY : 'transparent'};
3637
2028
  border-bottom: 2px solid ${props => props.orientation === exports.ORIENTATION.VERTICAL && props.active < 0
@@ -3640,55 +2031,227 @@ const Item = styled.div `
3640
2031
  ? constants.PRIMARY : 'transparent'};
3641
2032
  border-right: 2px solid ${props => props.orientation === exports.ORIENTATION.HORIZONTAL && props.active < 0
3642
2033
  ? constants.PRIMARY : 'transparent'};
2034
+ opacity: ${props => props.dragging ? 0.5 : 1};
3643
2035
  `;
2036
+ /** Styled component for the drag handle indicator */
3644
2037
  const DragKnob = styled.div `
3645
2038
  padding-top: 8px;
3646
2039
  cursor: move;
2040
+ touch-action: none;
3647
2041
  color: var(--disabled, ${constants.DISABLED});
3648
2042
  `;
2043
+ /** Container for the children */
3649
2044
  const Container$5 = styled.div `
3650
2045
  flex: 1;
3651
2046
  `;
2047
+ /**
2048
+ * A draggable item component that supports both mouse and touch interactions for drag-and-drop functionality.
2049
+ *
2050
+ * @component
2051
+ * @example
2052
+ * ```tsx
2053
+ * <DragItem
2054
+ * index={0}
2055
+ * orientation={ORIENTATION.VERTICAL}
2056
+ * showIndicator={true}
2057
+ * dragOver={-1}
2058
+ * >
2059
+ * <div>Draggable content</div>
2060
+ * </DragItem>
2061
+ * ```
2062
+ *
2063
+ * @param props - The component props
2064
+ * @param props.index - The position index of this item in the draggable list
2065
+ * @param props.orientation - The orientation of the drag operation (VERTICAL or HORIZONTAL)
2066
+ * @param props.showIndicator - Whether to show a drag handle indicator instead of making the entire item draggable
2067
+ * @param props.dragOver - The index of the item currently being dragged over
2068
+ * @param props.children - The content to be rendered inside the draggable item
2069
+ *
2070
+ * @remarks
2071
+ * - Uses the DragContext to manage drag state across items
2072
+ * - Provides visual feedback with borders during drag operations
2073
+ * - Supports haptic feedback (vibration) on touch devices
2074
+ * - For touch devices, requires a 200ms hold before drag starts
2075
+ * - When showIndicator is true, only the drag handle can initiate drag operations
2076
+ *
2077
+ * @returns A draggable item with optional drag indicator and visual feedback
2078
+ */
3652
2079
  function DragItem(props) {
3653
- const { index, orientation, children, showIndicator } = props;
2080
+ const { index, orientation, children, showIndicator, dragOver } = props;
3654
2081
  const [active, setActive] = React.useState(0);
2082
+ const [touchTimer, setTouchTimer] = React.useState(null);
3655
2083
  const context = React.useContext(DragContext);
2084
+ /**
2085
+ * Vibrate the device for haptic feedback
2086
+ * @param duration Duration of the vibration in milliseconds
2087
+ */
2088
+ const vibrate = (duration) => {
2089
+ if (navigator.vibrate) {
2090
+ navigator.vibrate(duration);
2091
+ }
2092
+ };
2093
+ /**
2094
+ * Drag start event handler
2095
+ * @param e Event
2096
+ */
3656
2097
  const dragStartHandler = (e) => {
3657
2098
  context.setStartIndex(index);
2099
+ context.setIsDragging(true);
3658
2100
  };
2101
+ /**
2102
+ * Drag over event handler
2103
+ * @param e Event
2104
+ */
3659
2105
  const dragOverHandler = (e) => {
3660
2106
  e.preventDefault();
3661
2107
  e.stopPropagation();
3662
2108
  setActive(context.startIndex - index);
3663
2109
  };
2110
+ /**
2111
+ * Drag leave event handler
2112
+ */
3664
2113
  const dragExitHandler = () => {
3665
2114
  setActive(0);
3666
2115
  };
2116
+ /**
2117
+ * Drop event handler
2118
+ * @param e Event
2119
+ */
3667
2120
  const dropHandler = (e) => {
3668
2121
  e.preventDefault();
3669
2122
  setActive(0);
3670
2123
  context.drop(index);
2124
+ context.setIsDragging(false);
2125
+ };
2126
+ /**
2127
+ * Touch start event handler
2128
+ * @param e Event
2129
+ */
2130
+ const touchStartHandler = (e) => {
2131
+ const timer = setTimeout(() => {
2132
+ context.setStartIndex(index);
2133
+ context.setIsDragging(true);
2134
+ context.setDragOver(index);
2135
+ document.body.style.overflow = 'hidden';
2136
+ vibrate(50);
2137
+ }, 200);
2138
+ setTouchTimer(timer);
2139
+ };
2140
+ /**
2141
+ * Touch move event handler
2142
+ * @param e Event
2143
+ * @returns void
2144
+ */
2145
+ const touchMoveHandler = (e) => {
2146
+ var _a;
2147
+ const touch = e.touches[0];
2148
+ if (!touch)
2149
+ return;
2150
+ if (context.isDragging) {
2151
+ e.preventDefault();
2152
+ // get the element under the touch point
2153
+ const el = document.elementFromPoint(touch.clientX, touch.clientY);
2154
+ const overAttr = (_a = el === null || el === void 0 ? void 0 : el.closest('[data-drag-index]')) === null || _a === void 0 ? void 0 : _a.getAttribute('data-drag-index');
2155
+ const overIndex = overAttr != null ? parseInt(overAttr, 10) : null;
2156
+ // if we know which index we're over, update visual state
2157
+ if (overIndex !== null) {
2158
+ context.setDragOver(overIndex);
2159
+ }
2160
+ }
2161
+ else if (touchTimer) {
2162
+ clearTimeout(touchTimer);
2163
+ setTouchTimer(null);
2164
+ }
3671
2165
  };
3672
- return jsxs(Item, { draggable: !showIndicator, showIndicator: showIndicator, active: active, orientation: orientation, onDragStart: !showIndicator && dragStartHandler, onDragOver: dragOverHandler, onDragLeave: dragExitHandler, onDrop: dropHandler, children: [showIndicator && jsx(DragKnob, { draggable: true, onDragStart: dragStartHandler, children: jsx(CheckCircle, {}) }), jsx(Container$5, { children: children })] });
2166
+ /**
2167
+ * Touch end event handler
2168
+ * @param e Event
2169
+ */
2170
+ const touchEndHandler = (e) => {
2171
+ if (touchTimer) {
2172
+ clearTimeout(touchTimer);
2173
+ setTouchTimer(null);
2174
+ }
2175
+ if (context.isDragging) {
2176
+ context.drop(dragOver);
2177
+ vibrate(50);
2178
+ context.setIsDragging(false);
2179
+ document.body.style.overflow = 'auto';
2180
+ }
2181
+ };
2182
+ /** Cleanup touch timer on unmount */
2183
+ React.useEffect(() => {
2184
+ return () => {
2185
+ if (touchTimer)
2186
+ clearTimeout(touchTimer);
2187
+ document.body.style.overflow = 'auto';
2188
+ };
2189
+ }, [touchTimer]);
2190
+ /** Update active state based on dragOver changes */
2191
+ React.useEffect(() => {
2192
+ if (context.isDragging && dragOver === index) {
2193
+ setActive(context.startIndex - index);
2194
+ }
2195
+ else {
2196
+ setActive(0);
2197
+ }
2198
+ }, [dragOver, context.startIndex, index, context.isDragging]);
2199
+ return jsxRuntime.jsxs(Item, { draggable: !showIndicator, showIndicator: showIndicator, active: active, dragging: context.isDragging && context.startIndex === index, orientation: orientation, "data-drag-index": index, onDragStart: !showIndicator ? dragStartHandler : undefined, onDragOver: dragOverHandler, onDragLeave: dragExitHandler, onDrop: dropHandler, onTouchStart: !showIndicator ? touchStartHandler : undefined, onTouchMove: touchMoveHandler, onTouchEnd: touchEndHandler, onTouchCancel: touchEndHandler, children: [showIndicator && jsxRuntime.jsx(DragKnob, { draggable: true, onDragStart: dragStartHandler, onTouchStart: touchStartHandler, children: jsxRuntime.jsx(CheckCircle, {}) }), jsxRuntime.jsx(Container$5, { children: children })] });
3673
2200
  }
3674
2201
 
2202
+ /** Container Component */
3675
2203
  const Container$4 = styled.div `
3676
2204
  flex: 1;
3677
2205
  display: flex;
3678
2206
  position: relative;
2207
+ flex-wrap: wrap;
3679
2208
  flex-direction: ${props => props.orientation === exports.ORIENTATION.HORIZONTAL ? 'row' : 'column'};
3680
2209
  `;
2210
+ /**
2211
+ * A drag and drop container component that enables reordering of child elements.
2212
+ *
2213
+ * @component
2214
+ * @example
2215
+ * ```tsx
2216
+ * <DragAndDrop
2217
+ * orientation={ORIENTATION.VERTICAL}
2218
+ * onDrop={(start, end) => handleReorder(start, end)}
2219
+ * showIndicator={true}
2220
+ * >
2221
+ * <div>Item 1</div>
2222
+ * <div>Item 2</div>
2223
+ * <div>Item 3</div>
2224
+ * </DragAndDrop>
2225
+ * ```
2226
+ *
2227
+ * @param {DragAndDropProps} props - The component props
2228
+ * @param {ORIENTATION} props.orientation - Determines the layout direction (horizontal or vertical). Defaults to VERTICAL.
2229
+ * @param {(start: number, end: number) => void} props.onDrop - Callback fired when an item is dropped, receives the start and end indices
2230
+ * @param {boolean} props.showIndicator - Whether to display drag indicators for each list item. Defaults to false.
2231
+ * @param {React.ReactNode} props.children - Child elements to be rendered as draggable items
2232
+ *
2233
+ * @returns {JSX.Element} A draggable container with reorderable items
2234
+ */
3681
2235
  function DragAndDrop(props) {
3682
2236
  const { orientation, children, onDrop, showIndicator } = props;
3683
2237
  const [startIndex, setStartIndex] = React.useState(null);
2238
+ const [isDragging, setIsDragging] = React.useState(false);
2239
+ const [dragOver, setDragOver] = React.useState(null);
2240
+ /**
2241
+ * Drop handler invoked when a draggable item is released.
2242
+ * @param index
2243
+ */
3684
2244
  const drop = (index) => {
3685
2245
  startIndex !== null && (onDrop === null || onDrop === void 0 ? void 0 : onDrop(startIndex, index));
3686
2246
  setStartIndex(null);
2247
+ setIsDragging(false);
3687
2248
  };
3688
- return (jsx(DragContext.Provider, { value: { startIndex, setStartIndex, drop }, children: jsx(Container$4, { orientation: orientation, children: React.Children.map(children, (child, index) => (jsx(DragItem, { index: index, orientation: orientation, showIndicator: showIndicator, children: child }))) }) }));
2249
+ return (jsxRuntime.jsx(DragContext.Provider, { value: { startIndex, setStartIndex, drop, isDragging, setIsDragging, setDragOver }, children: jsxRuntime.jsx(Container$4, { orientation: orientation, children: React.Children.map(children, (child, index) => (jsxRuntime.jsx(DragItem, { index: index, orientation: orientation, showIndicator: showIndicator, dragOver: dragOver, children: child }))) }) }));
3689
2250
  }
3690
2251
  DragAndDrop.defaultProps = {
2252
+ /** Orientation of the list layout */
3691
2253
  orientation: exports.ORIENTATION.VERTICAL,
2254
+ /** Whether to display drag indicators for each list item */
3692
2255
  showIndicator: false,
3693
2256
  };
3694
2257
 
@@ -3773,7 +2336,7 @@ class Drawer extends React.Component {
3773
2336
  closeCallback: this.onClose,
3774
2337
  closeOnEsc,
3775
2338
  closeOnOverlayClick,
3776
- component: (jsx(DrawerDiv, Object.assign({}, rest, { position: position, size: size, onClick: e => e.stopPropagation(), children: children })))
2339
+ component: (jsxRuntime.jsx(DrawerDiv, Object.assign({}, rest, { position: position, size: size, onClick: e => e.stopPropagation(), children: children })))
3777
2340
  });
3778
2341
  this.closeCallback = this.layer[1];
3779
2342
  this.forceUpdate();
@@ -3782,7 +2345,7 @@ class Drawer extends React.Component {
3782
2345
  render() {
3783
2346
  if (this.state.open && this.layer) {
3784
2347
  const [Component] = this.layer;
3785
- return jsx(Component, {});
2348
+ return jsxRuntime.jsx(Component, {});
3786
2349
  }
3787
2350
  return null;
3788
2351
  }
@@ -3888,7 +2451,7 @@ const ErrorContainer = styled.div `
3888
2451
  font-size: 12px;
3889
2452
  `;
3890
2453
  function Group(props) {
3891
- return (jsxs(Fragment, { children: [jsx(Container$3, Object.assign({}, props, { children: props.children })), props.errorText && jsx(ErrorContainer, { children: props.errorText })] }));
2454
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Container$3, Object.assign({}, props, { children: props.children })), props.errorText && jsxRuntime.jsx(ErrorContainer, { children: props.errorText })] }));
3892
2455
  }
3893
2456
  Group.propTypes = {
3894
2457
  /** Error Message for the group */
@@ -3948,7 +2511,7 @@ class Modal extends React.Component {
3948
2511
  closeCallback: this.onClose,
3949
2512
  closeOnEsc: closeOnEsc,
3950
2513
  closeOnOverlayClick: closeOnOverlayClick,
3951
- component: (jsx(DialogContainer, Object.assign({}, rest, { onClick: e => e.stopPropagation(), elevated: true, children: children })))
2514
+ component: (jsxRuntime.jsx(DialogContainer, Object.assign({}, rest, { onClick: e => e.stopPropagation(), elevated: true, children: children })))
3952
2515
  });
3953
2516
  this.closeCallback = this.layer[1];
3954
2517
  this.forceUpdate();
@@ -3957,7 +2520,7 @@ class Modal extends React.Component {
3957
2520
  render() {
3958
2521
  if (this.state.open && this.layer) {
3959
2522
  const [Component] = this.layer;
3960
- return jsx(Component, {});
2523
+ return jsxRuntime.jsx(Component, {});
3961
2524
  }
3962
2525
  return null;
3963
2526
  }
@@ -4270,9 +2833,9 @@ class NotificationManager extends React.Component {
4270
2833
  };
4271
2834
  }
4272
2835
  render() {
4273
- return (jsx(Container$2, { position: this.props.position, children: this.state.notices.map(notice => {
2836
+ return (jsxRuntime.jsx(Container$2, { position: this.props.position, children: this.state.notices.map(notice => {
4274
2837
  const { id, title, description, leaving, type = exports.NOTIFICATION_TYPE.INFO, buttonText, buttonClick, } = notice;
4275
- return (jsxs(Notice, Object.assign({}, notice, { position: this.props.position, className: leaving ? 'leave' : '', onMouseEnter: this.pause(id), onMouseLeave: this.resume(id), children: [jsxs(IconContainer, { type: type, children: [type === exports.NOTIFICATION_TYPE.INFO && jsx(CheckCircle$3, {}), type === exports.NOTIFICATION_TYPE.SUCCESS && jsx(CheckCircle$4, {}), type === exports.NOTIFICATION_TYPE.WARNING && jsx(CheckCircle$2, {}), type === exports.NOTIFICATION_TYPE.DANGER && jsx(CheckCircle$1, {})] }), jsxs(FillParent, { children: [jsxs(Title, { type: type, children: [jsx(FillParent, { children: title }), jsx(CloseButton, { onClick: this.closeClickHandler(id), children: jsx(Close, {}) })] }), jsx(Body, { children: description }), buttonText && (jsx(Footer, { children: jsx(ActionButton, { onClick: () => { buttonClick === null || buttonClick === void 0 ? void 0 : buttonClick(); }, children: buttonText }) }))] })] }), id));
2838
+ return (jsxRuntime.jsxs(Notice, Object.assign({}, notice, { position: this.props.position, className: leaving ? 'leave' : '', onMouseEnter: this.pause(id), onMouseLeave: this.resume(id), children: [jsxRuntime.jsxs(IconContainer, { type: type, children: [type === exports.NOTIFICATION_TYPE.INFO && jsxRuntime.jsx(CheckCircle$3, {}), type === exports.NOTIFICATION_TYPE.SUCCESS && jsxRuntime.jsx(CheckCircle$4, {}), type === exports.NOTIFICATION_TYPE.WARNING && jsxRuntime.jsx(CheckCircle$2, {}), type === exports.NOTIFICATION_TYPE.DANGER && jsxRuntime.jsx(CheckCircle$1, {})] }), jsxRuntime.jsxs(FillParent, { children: [jsxRuntime.jsxs(Title, { type: type, children: [jsxRuntime.jsx(FillParent, { children: title }), jsxRuntime.jsx(CloseButton, { onClick: this.closeClickHandler(id), children: jsxRuntime.jsx(Close, {}) })] }), jsxRuntime.jsx(Body, { children: description }), buttonText && (jsxRuntime.jsx(Footer, { children: jsxRuntime.jsx(ActionButton, { onClick: () => { buttonClick === null || buttonClick === void 0 ? void 0 : buttonClick(); }, children: buttonText }) }))] })] }), id));
4276
2839
  }) }));
4277
2840
  }
4278
2841
  }
@@ -4341,13 +2904,13 @@ class Notification {
4341
2904
  closeOnOverlayClick: false,
4342
2905
  position: positionMap[position],
4343
2906
  alwaysOnTop: true,
4344
- component: (jsx(NotificationManager, { ref: ref, position: position, onEmpty: () => this.destroy(position) }))
2907
+ component: (jsxRuntime.jsx(NotificationManager, { ref: ref, position: position, onEmpty: () => this.destroy(position) }))
4345
2908
  });
4346
2909
  this.containers.set(position, {
4347
2910
  ref,
4348
2911
  element: div,
4349
2912
  });
4350
- ReactDOM.render(jsx(Component, {}), div);
2913
+ ReactDOM.render(jsxRuntime.jsx(Component, {}), div);
4351
2914
  notification = ref;
4352
2915
  }
4353
2916
  else {
@@ -4396,7 +2959,7 @@ const SpinnerDiv = styled.div `
4396
2959
  }
4397
2960
  `;
4398
2961
  function Spinner(props) {
4399
- return jsx(SpinnerDiv, Object.assign({}, props));
2962
+ return jsxRuntime.jsx(SpinnerDiv, Object.assign({}, props));
4400
2963
  }
4401
2964
  Spinner.propTypes = {
4402
2965
  /** Spinner's size */
@@ -4499,7 +3062,7 @@ function Stepper(props) {
4499
3062
  }
4500
3063
  return exports.BADGE_TYPE.DISABLED;
4501
3064
  };
4502
- return (jsxs(Container$1, { children: [jsxs(Header, { children: [React.Children.map(children, (child, index) => (jsx(Fragment, { children: jsxs(HeaderButton, { active: index === active, type: 'button', disabled: child.props.disabled, onClick: stepClickHandler(index), children: [jsx(Badge, { inline: true, type: getBadgeType(index, child.props.completed, child.props.disabled) }), jsx(Ellipsis, { children: child.props.name })] }) }))), jsxs(MobileHeader, { children: [jsx("span", { children: children[active].props.name }), jsxs(Badge, { inline: true, type: exports.BADGE_TYPE.PRIMARY, children: [active + 1, " of ", children.length] })] })] }), children[active]] }));
3065
+ return (jsxRuntime.jsxs(Container$1, { children: [jsxRuntime.jsxs(Header, { children: [React.Children.map(children, (child, index) => (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs(HeaderButton, { active: index === active, type: 'button', disabled: child.props.disabled, onClick: stepClickHandler(index), children: [jsxRuntime.jsx(Badge, { inline: true, type: getBadgeType(index, child.props.completed, child.props.disabled) }), jsxRuntime.jsx(Ellipsis, { children: child.props.name })] }) }))), jsxRuntime.jsxs(MobileHeader, { children: [jsxRuntime.jsx("span", { children: children[active].props.name }), jsxRuntime.jsxs(Badge, { inline: true, type: exports.BADGE_TYPE.PRIMARY, children: [active + 1, " of ", children.length] })] })] }), children[active]] }));
4503
3066
  }
4504
3067
  Stepper.propTypes = {
4505
3068
  /** Index of currently active step */
@@ -4518,7 +3081,7 @@ const Container = styled.div `
4518
3081
  `;
4519
3082
  function Step(props) {
4520
3083
  const { name, disabled, completed } = props, rest = __rest(props, ["name", "disabled", "completed"]);
4521
- return jsx(Container, Object.assign({}, rest));
3084
+ return jsxRuntime.jsx(Container, Object.assign({}, rest));
4522
3085
  }
4523
3086
  Step.defaultProps = {
4524
3087
  disabled: false,
@@ -4562,7 +3125,7 @@ function Tabs(props) {
4562
3125
  setActive(props.active);
4563
3126
  props.onChange && props.onChange(props.active);
4564
3127
  }, [props.active]);
4565
- return (jsxs(Fragment, { children: [jsx(ButtonContainer, Object.assign({}, props.props, { children: React.Children.map(children, (child, index) => (jsx(Button, { type: "button", active: active === index, onClick: switchTab(index), disabled: child.props.disabled, children: child.props.name }))) })), jsx(TabBody, Object.assign({}, props.bodyProps, { children: children[active] }))] }));
3128
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ButtonContainer, Object.assign({}, props.props, { children: React.Children.map(children, (child, index) => (jsxRuntime.jsx(Button, { type: "button", active: active === index, onClick: switchTab(index), disabled: child.props.disabled, children: child.props.name }))) })), jsxRuntime.jsx(TabBody, Object.assign({}, props.bodyProps, { children: children[active] }))] }));
4566
3129
  }
4567
3130
  Tabs.propTypes = {
4568
3131
  /** Active Tab Index */
@@ -4580,7 +3143,7 @@ Tabs.defaultProps = {
4580
3143
 
4581
3144
  const Tab = (props) => {
4582
3145
  const { children } = props;
4583
- return jsx(Fragment, { children: children });
3146
+ return jsxRuntime.jsx(jsxRuntime.Fragment, { children: children });
4584
3147
  };
4585
3148
  Tab.propTypes = {
4586
3149
  /** Name of the tab. This shown in the tab's button */
@@ -4708,10 +3271,10 @@ class Toast {
4708
3271
  closeOnOverlayClick: false,
4709
3272
  alwaysOnTop: true,
4710
3273
  position: LAYER_POSITION.BOTTOM_LEFT,
4711
- component: (jsxs(ToastContainer, Object.assign({}, options, { type: type, elevated: true, onMouseEnter: this.pause, onMouseLeave: this.resume(options), children: [jsx(TextContainer, { children: text }), buttonText && (jsx(CloseContainer, { onClick: buttonClick, type: 'button', children: buttonText }))] })))
3274
+ component: (jsxRuntime.jsxs(ToastContainer, Object.assign({}, options, { type: type, elevated: true, onMouseEnter: this.pause, onMouseLeave: this.resume(options), children: [jsxRuntime.jsx(TextContainer, { children: text }), buttonText && (jsxRuntime.jsx(CloseContainer, { onClick: buttonClick, type: 'button', children: buttonText }))] })))
4712
3275
  });
4713
3276
  const Component = this.toast[0];
4714
- ReactDOM.render(jsx(Component, {}), this.element);
3277
+ ReactDOM.render(jsxRuntime.jsx(Component, {}), this.element);
4715
3278
  this.timeout = setTimeout(() => {
4716
3279
  this.remove();
4717
3280
  }, duration || DEFAULT_DURATION);
@@ -4781,7 +3344,7 @@ const TooltipContainer = styled.div `
4781
3344
  `;
4782
3345
  function Tooltip(props) {
4783
3346
  const { children, position } = props, rest = __rest(props, ["children", "position"]);
4784
- return (jsxs(TooltipContainer, Object.assign({ position: position }, rest, { children: [children, jsx(TooltipDiv, { position: position, children: rest.tooltipText })] })));
3347
+ return (jsxRuntime.jsxs(TooltipContainer, Object.assign({ position: position }, rest, { children: [children, jsxRuntime.jsx(TooltipDiv, { position: position, children: rest.tooltipText })] })));
4785
3348
  }
4786
3349
  Tooltip.propTypes = {
4787
3350
  /** Text to show in the tooltip */