@spaziodati/atoka-design-system 2.1.2 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/AddableItems/index.js +145 -141
  2. package/AddableItems/index.js.map +1 -1
  3. package/Alert/index.js +6 -4
  4. package/Alert/index.js.map +1 -1
  5. package/Badge/index.js +4 -4
  6. package/Badge/index.js.map +1 -1
  7. package/Bs4V3Wrapper/index.js +6 -4
  8. package/Bs4V3Wrapper/index.js.map +1 -1
  9. package/BubbleChart/index.js +1729 -2098
  10. package/BubbleChart/index.js.map +1 -1
  11. package/Button/Button.storiesConfig.d.ts +0 -10
  12. package/Button/index.js +9 -7
  13. package/Button/index.js.map +1 -1
  14. package/ButtonDropdown/index.js +131 -133
  15. package/ButtonDropdown/index.js.map +1 -1
  16. package/CardsPage/index.js +227 -233
  17. package/CardsPage/index.js.map +1 -1
  18. package/CursorPagination/index.js +132 -136
  19. package/CursorPagination/index.js.map +1 -1
  20. package/DatePicker/index.js +123 -126
  21. package/DatePicker/index.js.map +1 -1
  22. package/DetailPage/index.js +1353 -1429
  23. package/DetailPage/index.js.map +1 -1
  24. package/Dropdown/index.js +133 -133
  25. package/Dropdown/index.js.map +1 -1
  26. package/EditableString/index.js +2400 -2483
  27. package/EditableString/index.js.map +1 -1
  28. package/EllipsableContent/index.js +14 -12
  29. package/EllipsableContent/index.js.map +1 -1
  30. package/EmptyState/index.js +6 -4
  31. package/EmptyState/index.js.map +1 -1
  32. package/Facet/index.js +149 -144
  33. package/Facet/index.js.map +1 -1
  34. package/FacetSection/index.js +15 -11
  35. package/FacetSection/index.js.map +1 -1
  36. package/FadeAnimation/index.js +660 -731
  37. package/FadeAnimation/index.js.map +1 -1
  38. package/FeedbackButton/index.js +10 -8
  39. package/FeedbackButton/index.js.map +1 -1
  40. package/Form/index.js +7 -7
  41. package/Form/index.js.map +1 -1
  42. package/Funnel/index.js +2854 -3227
  43. package/Funnel/index.js.map +1 -1
  44. package/GridCard/index.js +162 -154
  45. package/GridCard/index.js.map +1 -1
  46. package/HighlightableText/index.js +138 -137
  47. package/HighlightableText/index.js.map +1 -1
  48. package/Histogram/index.js +1168 -1180
  49. package/Histogram/index.js.map +1 -1
  50. package/InlineStringEditor/index.js +183 -203
  51. package/InlineStringEditor/index.js.map +1 -1
  52. package/InputGroup/index.js +3 -3
  53. package/InputGroup/index.js.map +1 -1
  54. package/Jumbotron/index.js +7 -5
  55. package/Jumbotron/index.js.map +1 -1
  56. package/Map/Map.d.ts +3 -3
  57. package/Map/Types.d.ts +2 -2
  58. package/Map/index.js +4200 -3823
  59. package/Map/index.js.map +1 -1
  60. package/Modal/index.js +12 -10
  61. package/Modal/index.js.map +1 -1
  62. package/Navbar/index.js +2426 -2517
  63. package/Navbar/index.js.map +1 -1
  64. package/Pagination/index.js +132 -136
  65. package/Pagination/index.js.map +1 -1
  66. package/PieChart/index.js +204 -219
  67. package/PieChart/index.js.map +1 -1
  68. package/PublicFooter/index.js +14 -10
  69. package/PublicFooter/index.js.map +1 -1
  70. package/PublicNavbar/index.js +6 -4
  71. package/PublicNavbar/index.js.map +1 -1
  72. package/README.md +5 -2
  73. package/RecordBit/index.js +15 -11
  74. package/RecordBit/index.js.map +1 -1
  75. package/ResultItemCard/index.js +25 -19
  76. package/ResultItemCard/index.js.map +1 -1
  77. package/SelectDropdown/index.js +171 -185
  78. package/SelectDropdown/index.js.map +1 -1
  79. package/Spinner/index.js +6 -4
  80. package/Spinner/index.js.map +1 -1
  81. package/StatisticsItemCard/index.js +170 -160
  82. package/StatisticsItemCard/index.js.map +1 -1
  83. package/StatisticsItemNumeric/index.js +6 -4
  84. package/StatisticsItemNumeric/index.js.map +1 -1
  85. package/StatisticsLegend/index.js +173 -189
  86. package/StatisticsLegend/index.js.map +1 -1
  87. package/StatisticsTooltip/index.js +15 -15
  88. package/StatisticsTooltip/index.js.map +1 -1
  89. package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +1 -1
  90. package/Suggester/index.js +160 -160
  91. package/Suggester/index.js.map +1 -1
  92. package/SunBurst/index.js +140 -144
  93. package/SunBurst/index.js.map +1 -1
  94. package/TabSwitcher/index.js +144 -144
  95. package/TabSwitcher/index.js.map +1 -1
  96. package/Title/index.js +8 -6
  97. package/Title/index.js.map +1 -1
  98. package/Toasts/Toast.d.ts +41 -0
  99. package/Toasts/ToastContainer.d.ts +4 -0
  100. package/Toasts/ToastHeader.d.ts +7 -0
  101. package/Toasts/index.d.ts +2 -0
  102. package/Toasts/index.js +2285 -0
  103. package/Toasts/index.js.map +1 -0
  104. package/ToggleButtonGroup/index.js +128 -130
  105. package/ToggleButtonGroup/index.js.map +1 -1
  106. package/Tooltip/index.js +3 -3
  107. package/Tooltip/index.js.map +1 -1
  108. package/Utils/index.js +1049 -1426
  109. package/Utils/index.js.map +1 -1
  110. package/{atoka-design-system-2.1.2.min.css → atoka-design-system-2.1.5.min.css} +1 -1
  111. package/index.d.ts +1 -0
  112. package/index.js +13126 -11649
  113. package/index.js.map +1 -1
  114. package/package.json +48 -40
  115. package/styles/atoka-bs.less +1 -1
  116. package/styles/variant-mixins.less +7 -7
@@ -9,175 +9,12 @@
9
9
  root["atoka-design-system"] = factory(root["react"], root["react-dom"]);
10
10
  })(self, function(__WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__7111__) {
11
11
  return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
12
13
  /******/ var __webpack_modules__ = ({
13
14
 
14
- /***/ 1018:
15
+ /***/ 9114:
15
16
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16
17
 
17
- "use strict";
18
- // ESM COMPAT FLAG
19
- __webpack_require__.r(__webpack_exports__);
20
-
21
- // EXPORTS
22
- __webpack_require__.d(__webpack_exports__, {
23
- "FadeAnimation": () => (/* reexport */ FadeAnimation)
24
- });
25
-
26
- // EXTERNAL MODULE: external "react"
27
- var external_react_ = __webpack_require__(8156);
28
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
29
- // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 5 modules
30
- var CSSTransition = __webpack_require__(1750);
31
- ;// CONCATENATED MODULE: ./src/components/FadeAnimation/FadeAnimation.tsx
32
- var __extends = (undefined && undefined.__extends) || (function () {
33
- var extendStatics = function (d, b) {
34
- extendStatics = Object.setPrototypeOf ||
35
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
36
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
37
- return extendStatics(d, b);
38
- };
39
- return function (d, b) {
40
- extendStatics(d, b);
41
- function __() { this.constructor = d; }
42
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
43
- };
44
- })();
45
-
46
-
47
-
48
- var FadeAnimation = /** @class */ (function (_super) {
49
- __extends(FadeAnimation, _super);
50
- function FadeAnimation() {
51
- return _super !== null && _super.apply(this, arguments) || this;
52
- }
53
- FadeAnimation.prototype.render = function () {
54
- var _a = this.props, duration = _a.duration, appearDelay = _a.appearDelay, name = "atoka-fadein-" + duration + "-" + appearDelay;
55
- return (external_react_default().createElement(CSSTransition/* default */.Z, { timeout: duration + appearDelay, classNames: name, in: this.props.in, appear: true }, this.props.children));
56
- };
57
- FadeAnimation.displayName = 'FadeAnimation';
58
- FadeAnimation.defaultProps = {
59
- duration: 600,
60
- appearDelay: 0,
61
- in: true,
62
- };
63
- return FadeAnimation;
64
- }((external_react_default()).PureComponent));
65
-
66
-
67
- ;// CONCATENATED MODULE: ./src/components/FadeAnimation/index.ts
68
-
69
-
70
-
71
- /***/ }),
72
-
73
- /***/ 9112:
74
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
75
-
76
- "use strict";
77
- /**
78
- * Copyright (c) 2013-present, Facebook, Inc.
79
- *
80
- * This source code is licensed under the MIT license found in the
81
- * LICENSE file in the root directory of this source tree.
82
- */
83
-
84
-
85
- var ReactPropTypesSecret = __webpack_require__(5073);
86
-
87
- function emptyFunction() {}
88
-
89
- function emptyFunctionWithReset() {}
90
-
91
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
92
-
93
- module.exports = function () {
94
- function shim(props, propName, componentName, location, propFullName, secret) {
95
- if (secret === ReactPropTypesSecret) {
96
- // It is still safe when called from React.
97
- return;
98
- }
99
-
100
- var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
101
- err.name = 'Invariant Violation';
102
- throw err;
103
- }
104
-
105
- ;
106
- shim.isRequired = shim;
107
-
108
- function getShim() {
109
- return shim;
110
- }
111
-
112
- ; // Important!
113
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
114
-
115
- var ReactPropTypes = {
116
- array: shim,
117
- bool: shim,
118
- func: shim,
119
- number: shim,
120
- object: shim,
121
- string: shim,
122
- symbol: shim,
123
- any: shim,
124
- arrayOf: getShim,
125
- element: shim,
126
- elementType: shim,
127
- instanceOf: getShim,
128
- node: shim,
129
- objectOf: getShim,
130
- oneOf: getShim,
131
- oneOfType: getShim,
132
- shape: getShim,
133
- exact: getShim,
134
- checkPropTypes: emptyFunctionWithReset,
135
- resetWarningCache: emptyFunction
136
- };
137
- ReactPropTypes.PropTypes = ReactPropTypes;
138
- return ReactPropTypes;
139
- };
140
-
141
- /***/ }),
142
-
143
- /***/ 8691:
144
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
145
-
146
- /**
147
- * Copyright (c) 2013-present, Facebook, Inc.
148
- *
149
- * This source code is licensed under the MIT license found in the
150
- * LICENSE file in the root directory of this source tree.
151
- */
152
- if (false) { var throwOnDirectAccess, ReactIs; } else {
153
- // By explicitly using `prop-types` you are opting into new production behavior.
154
- // http://fb.me/prop-types-in-prod
155
- module.exports = __webpack_require__(9112)();
156
- }
157
-
158
- /***/ }),
159
-
160
- /***/ 5073:
161
- /***/ ((module) => {
162
-
163
- "use strict";
164
- /**
165
- * Copyright (c) 2013-present, Facebook, Inc.
166
- *
167
- * This source code is licensed under the MIT license found in the
168
- * LICENSE file in the root directory of this source tree.
169
- */
170
-
171
-
172
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
173
- module.exports = ReactPropTypesSecret;
174
-
175
- /***/ }),
176
-
177
- /***/ 1750:
178
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
179
-
180
- "use strict";
181
18
 
182
19
  // EXPORTS
183
20
  __webpack_require__.d(__webpack_exports__, {
@@ -190,15 +27,26 @@ var esm_extends = __webpack_require__(32);
190
27
  var objectWithoutPropertiesLoose = __webpack_require__(7038);
191
28
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
192
29
  var inheritsLoose = __webpack_require__(7581);
193
- // EXTERNAL MODULE: ./node_modules/prop-types/index.js
194
- var prop_types = __webpack_require__(8691);
195
30
  ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/hasClass.js
31
+ /**
32
+ * Checks if a given element has a CSS class.
33
+ *
34
+ * @param element the element
35
+ * @param className the CSS class name
36
+ */
196
37
  function hasClass(element, className) {
197
38
  if (element.classList) return !!className && element.classList.contains(className);
198
39
  return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
199
40
  }
200
41
  ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/addClass.js
201
42
 
43
+ /**
44
+ * Adds a CSS class to a given element.
45
+ *
46
+ * @param element the element
47
+ * @param className the CSS class name
48
+ */
49
+
202
50
  function addClass_addClass(element, className) {
203
51
  if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className);
204
52
  }
@@ -206,12 +54,18 @@ function addClass_addClass(element, className) {
206
54
  function replaceClassName(origClass, classToRemove) {
207
55
  return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, '');
208
56
  }
57
+ /**
58
+ * Removes a CSS class from a given element.
59
+ *
60
+ * @param element the element
61
+ * @param className the CSS class name
62
+ */
63
+
209
64
 
210
65
  function removeClass_removeClass(element, className) {
211
66
  if (element.classList) {
212
67
  element.classList.remove(className);
213
68
  } else if (typeof element.className === 'string') {
214
- ;
215
69
  element.className = replaceClassName(element.className, className);
216
70
  } else {
217
71
  element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));
@@ -220,16 +74,9 @@ function removeClass_removeClass(element, className) {
220
74
  // EXTERNAL MODULE: external "react"
221
75
  var external_react_ = __webpack_require__(8156);
222
76
  var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
223
- // EXTERNAL MODULE: external "react-dom"
224
- var external_react_dom_ = __webpack_require__(7111);
225
- var external_react_dom_default = /*#__PURE__*/__webpack_require__.n(external_react_dom_);
226
- ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/config.js
227
- /* harmony default export */ const config = ({
228
- disabled: false
229
- });
230
- // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
231
- var TransitionGroupContext = __webpack_require__(3493);
232
- ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/Transition.js
77
+ // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/Transition.js + 1 modules
78
+ var Transition = __webpack_require__(6113);
79
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js
233
80
 
234
81
 
235
82
 
@@ -238,88 +85,43 @@ var TransitionGroupContext = __webpack_require__(3493);
238
85
 
239
86
 
240
87
 
241
- var UNMOUNTED = 'unmounted';
242
- var EXITED = 'exited';
243
- var ENTERING = 'entering';
244
- var ENTERED = 'entered';
245
- var EXITING = 'exiting';
88
+
89
+
90
+ var _addClass = function addClass(node, classes) {
91
+ return node && classes && classes.split(' ').forEach(function (c) {
92
+ return addClass_addClass(node, c);
93
+ });
94
+ };
95
+
96
+ var removeClass = function removeClass(node, classes) {
97
+ return node && classes && classes.split(' ').forEach(function (c) {
98
+ return removeClass_removeClass(node, c);
99
+ });
100
+ };
246
101
  /**
247
- * The Transition component lets you describe a transition from one component
248
- * state to another _over time_ with a simple declarative API. Most commonly
249
- * it's used to animate the mounting and unmounting of a component, but can also
250
- * be used to describe in-place transition states as well.
251
- *
252
- * ---
253
- *
254
- * **Note**: `Transition` is a platform-agnostic base component. If you're using
255
- * transitions in CSS, you'll probably want to use
256
- * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)
257
- * instead. It inherits all the features of `Transition`, but contains
258
- * additional features necessary to play nice with CSS transitions (hence the
259
- * name of the component).
260
- *
261
- * ---
262
- *
263
- * By default the `Transition` component does not alter the behavior of the
264
- * component it renders, it only tracks "enter" and "exit" states for the
265
- * components. It's up to you to give meaning and effect to those states. For
266
- * example we can add styles to a component when it enters or exits:
267
- *
268
- * ```jsx
269
- * import { Transition } from 'react-transition-group';
270
- *
271
- * const duration = 300;
272
- *
273
- * const defaultStyle = {
274
- * transition: `opacity ${duration}ms ease-in-out`,
275
- * opacity: 0,
276
- * }
277
- *
278
- * const transitionStyles = {
279
- * entering: { opacity: 1 },
280
- * entered: { opacity: 1 },
281
- * exiting: { opacity: 0 },
282
- * exited: { opacity: 0 },
283
- * };
284
- *
285
- * const Fade = ({ in: inProp }) => (
286
- * <Transition in={inProp} timeout={duration}>
287
- * {state => (
288
- * <div style={{
289
- * ...defaultStyle,
290
- * ...transitionStyles[state]
291
- * }}>
292
- * I'm a fade Transition!
293
- * </div>
294
- * )}
295
- * </Transition>
296
- * );
297
- * ```
298
- *
299
- * There are 4 main states a Transition can be in:
300
- * - `'entering'`
301
- * - `'entered'`
302
- * - `'exiting'`
303
- * - `'exited'`
102
+ * A transition component inspired by the excellent
103
+ * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should
104
+ * use it if you're using CSS transitions or animations. It's built upon the
105
+ * [`Transition`](https://reactcommunity.org/react-transition-group/transition)
106
+ * component, so it inherits all of its props.
304
107
  *
305
- * Transition state is toggled via the `in` prop. When `true` the component
306
- * begins the "Enter" stage. During this stage, the component will shift from
307
- * its current transition state, to `'entering'` for the duration of the
308
- * transition and then to the `'entered'` stage once it's complete. Let's take
309
- * the following example (we'll use the
310
- * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):
108
+ * `CSSTransition` applies a pair of class names during the `appear`, `enter`,
109
+ * and `exit` states of the transition. The first class is applied and then a
110
+ * second `*-active` class in order to activate the CSS transition. After the
111
+ * transition, matching `*-done` class names are applied to persist the
112
+ * transition state.
311
113
  *
312
114
  * ```jsx
313
115
  * function App() {
314
116
  * const [inProp, setInProp] = useState(false);
315
117
  * return (
316
118
  * <div>
317
- * <Transition in={inProp} timeout={500}>
318
- * {state => (
319
- * // ...
320
- * )}
321
- * </Transition>
322
- * <button onClick={() => setInProp(true)}>
119
+ * <CSSTransition in={inProp} timeout={200} classNames="my-node">
120
+ * <div>
121
+ * {"I'll receive my-node-* classes"}
122
+ * </div>
123
+ * </CSSTransition>
124
+ * <button type="button" onClick={() => setInProp(true)}>
323
125
  * Click to Enter
324
126
  * </button>
325
127
  * </div>
@@ -327,385 +129,358 @@ var EXITING = 'exiting';
327
129
  * }
328
130
  * ```
329
131
  *
330
- * When the button is clicked the component will shift to the `'entering'` state
331
- * and stay there for 500ms (the value of `timeout`) before it finally switches
332
- * to `'entered'`.
132
+ * When the `in` prop is set to `true`, the child component will first receive
133
+ * the class `example-enter`, then the `example-enter-active` will be added in
134
+ * the next tick. `CSSTransition` [forces a
135
+ * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)
136
+ * between before adding the `example-enter-active`. This is an important trick
137
+ * because it allows us to transition between `example-enter` and
138
+ * `example-enter-active` even though they were added immediately one after
139
+ * another. Most notably, this is what makes it possible for us to animate
140
+ * _appearance_.
333
141
  *
334
- * When `in` is `false` the same thing happens except the state moves from
335
- * `'exiting'` to `'exited'`.
336
- */
337
-
338
- var Transition = /*#__PURE__*/function (_React$Component) {
339
- (0,inheritsLoose/* default */.Z)(Transition, _React$Component);
340
-
341
- function Transition(props, context) {
342
- var _this;
343
-
344
- _this = _React$Component.call(this, props, context) || this;
345
- var parentGroup = context; // In the context of a TransitionGroup all enters are really appears
346
-
347
- var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
348
- var initialStatus;
349
- _this.appearStatus = null;
350
-
351
- if (props["in"]) {
352
- if (appear) {
353
- initialStatus = EXITED;
354
- _this.appearStatus = ENTERING;
355
- } else {
356
- initialStatus = ENTERED;
357
- }
358
- } else {
359
- if (props.unmountOnExit || props.mountOnEnter) {
360
- initialStatus = UNMOUNTED;
361
- } else {
362
- initialStatus = EXITED;
363
- }
364
- }
142
+ * ```css
143
+ * .my-node-enter {
144
+ * opacity: 0;
145
+ * }
146
+ * .my-node-enter-active {
147
+ * opacity: 1;
148
+ * transition: opacity 200ms;
149
+ * }
150
+ * .my-node-exit {
151
+ * opacity: 1;
152
+ * }
153
+ * .my-node-exit-active {
154
+ * opacity: 0;
155
+ * transition: opacity 200ms;
156
+ * }
157
+ * ```
158
+ *
159
+ * `*-active` classes represent which styles you want to animate **to**, so it's
160
+ * important to add `transition` declaration only to them, otherwise transitions
161
+ * might not behave as intended! This might not be obvious when the transitions
162
+ * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in
163
+ * the example above (minus `transition`), but it becomes apparent in more
164
+ * complex transitions.
165
+ *
166
+ * **Note**: If you're using the
167
+ * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)
168
+ * prop, make sure to define styles for `.appear-*` classes as well.
169
+ */
365
170
 
366
- _this.state = {
367
- status: initialStatus
368
- };
369
- _this.nextCallback = null;
370
- return _this;
371
- }
372
171
 
373
- Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
374
- var nextIn = _ref["in"];
172
+ var CSSTransition = /*#__PURE__*/function (_React$Component) {
173
+ (0,inheritsLoose/* default */.Z)(CSSTransition, _React$Component);
375
174
 
376
- if (nextIn && prevState.status === UNMOUNTED) {
377
- return {
378
- status: EXITED
379
- };
380
- }
175
+ function CSSTransition() {
176
+ var _this;
381
177
 
382
- return null;
383
- } // getSnapshotBeforeUpdate(prevProps) {
384
- // let nextStatus = null
385
- // if (prevProps !== this.props) {
386
- // const { status } = this.state
387
- // if (this.props.in) {
388
- // if (status !== ENTERING && status !== ENTERED) {
389
- // nextStatus = ENTERING
390
- // }
391
- // } else {
392
- // if (status === ENTERING || status === ENTERED) {
393
- // nextStatus = EXITING
394
- // }
395
- // }
396
- // }
397
- // return { nextStatus }
398
- // }
399
- ;
178
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
179
+ args[_key] = arguments[_key];
180
+ }
400
181
 
401
- var _proto = Transition.prototype;
182
+ _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
183
+ _this.appliedClasses = {
184
+ appear: {},
185
+ enter: {},
186
+ exit: {}
187
+ };
402
188
 
403
- _proto.componentDidMount = function componentDidMount() {
404
- this.updateStatus(true, this.appearStatus);
405
- };
189
+ _this.onEnter = function (maybeNode, maybeAppearing) {
190
+ var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),
191
+ node = _this$resolveArgument[0],
192
+ appearing = _this$resolveArgument[1];
406
193
 
407
- _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
408
- var nextStatus = null;
194
+ _this.removeClasses(node, 'exit');
409
195
 
410
- if (prevProps !== this.props) {
411
- var status = this.state.status;
196
+ _this.addClass(node, appearing ? 'appear' : 'enter', 'base');
412
197
 
413
- if (this.props["in"]) {
414
- if (status !== ENTERING && status !== ENTERED) {
415
- nextStatus = ENTERING;
416
- }
417
- } else {
418
- if (status === ENTERING || status === ENTERED) {
419
- nextStatus = EXITING;
420
- }
198
+ if (_this.props.onEnter) {
199
+ _this.props.onEnter(maybeNode, maybeAppearing);
421
200
  }
422
- }
201
+ };
423
202
 
424
- this.updateStatus(false, nextStatus);
425
- };
203
+ _this.onEntering = function (maybeNode, maybeAppearing) {
204
+ var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),
205
+ node = _this$resolveArgument2[0],
206
+ appearing = _this$resolveArgument2[1];
426
207
 
427
- _proto.componentWillUnmount = function componentWillUnmount() {
428
- this.cancelNextCallback();
429
- };
208
+ var type = appearing ? 'appear' : 'enter';
430
209
 
431
- _proto.getTimeouts = function getTimeouts() {
432
- var timeout = this.props.timeout;
433
- var exit, enter, appear;
434
- exit = enter = appear = timeout;
210
+ _this.addClass(node, type, 'active');
435
211
 
436
- if (timeout != null && typeof timeout !== 'number') {
437
- exit = timeout.exit;
438
- enter = timeout.enter; // TODO: remove fallback for next major
212
+ if (_this.props.onEntering) {
213
+ _this.props.onEntering(maybeNode, maybeAppearing);
214
+ }
215
+ };
439
216
 
440
- appear = timeout.appear !== undefined ? timeout.appear : enter;
441
- }
217
+ _this.onEntered = function (maybeNode, maybeAppearing) {
218
+ var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),
219
+ node = _this$resolveArgument3[0],
220
+ appearing = _this$resolveArgument3[1];
442
221
 
443
- return {
444
- exit: exit,
445
- enter: enter,
446
- appear: appear
447
- };
448
- };
222
+ var type = appearing ? 'appear' : 'enter';
449
223
 
450
- _proto.updateStatus = function updateStatus(mounting, nextStatus) {
451
- if (mounting === void 0) {
452
- mounting = false;
453
- }
224
+ _this.removeClasses(node, type);
454
225
 
455
- if (nextStatus !== null) {
456
- // nextStatus will always be ENTERING or EXITING.
457
- this.cancelNextCallback();
226
+ _this.addClass(node, type, 'done');
458
227
 
459
- if (nextStatus === ENTERING) {
460
- this.performEnter(mounting);
461
- } else {
462
- this.performExit();
228
+ if (_this.props.onEntered) {
229
+ _this.props.onEntered(maybeNode, maybeAppearing);
463
230
  }
464
- } else if (this.props.unmountOnExit && this.state.status === EXITED) {
465
- this.setState({
466
- status: UNMOUNTED
467
- });
468
- }
469
- };
231
+ };
470
232
 
471
- _proto.performEnter = function performEnter(mounting) {
472
- var _this2 = this;
233
+ _this.onExit = function (maybeNode) {
234
+ var _this$resolveArgument4 = _this.resolveArguments(maybeNode),
235
+ node = _this$resolveArgument4[0];
473
236
 
474
- var enter = this.props.enter;
475
- var appearing = this.context ? this.context.isMounting : mounting;
237
+ _this.removeClasses(node, 'appear');
476
238
 
477
- var _ref2 = this.props.nodeRef ? [appearing] : [external_react_dom_default().findDOMNode(this), appearing],
478
- maybeNode = _ref2[0],
479
- maybeAppearing = _ref2[1];
239
+ _this.removeClasses(node, 'enter');
480
240
 
481
- var timeouts = this.getTimeouts();
482
- var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
483
- // if we are mounting and running this it means appear _must_ be set
241
+ _this.addClass(node, 'exit', 'base');
484
242
 
485
- if (!mounting && !enter || config.disabled) {
486
- this.safeSetState({
487
- status: ENTERED
488
- }, function () {
489
- _this2.props.onEntered(maybeNode);
490
- });
491
- return;
492
- }
243
+ if (_this.props.onExit) {
244
+ _this.props.onExit(maybeNode);
245
+ }
246
+ };
493
247
 
494
- this.props.onEnter(maybeNode, maybeAppearing);
495
- this.safeSetState({
496
- status: ENTERING
497
- }, function () {
498
- _this2.props.onEntering(maybeNode, maybeAppearing);
248
+ _this.onExiting = function (maybeNode) {
249
+ var _this$resolveArgument5 = _this.resolveArguments(maybeNode),
250
+ node = _this$resolveArgument5[0];
499
251
 
500
- _this2.onTransitionEnd(enterTimeout, function () {
501
- _this2.safeSetState({
502
- status: ENTERED
503
- }, function () {
504
- _this2.props.onEntered(maybeNode, maybeAppearing);
505
- });
506
- });
507
- });
508
- };
252
+ _this.addClass(node, 'exit', 'active');
509
253
 
510
- _proto.performExit = function performExit() {
511
- var _this3 = this;
254
+ if (_this.props.onExiting) {
255
+ _this.props.onExiting(maybeNode);
256
+ }
257
+ };
512
258
 
513
- var exit = this.props.exit;
514
- var timeouts = this.getTimeouts();
515
- var maybeNode = this.props.nodeRef ? undefined : external_react_dom_default().findDOMNode(this); // no exit animation skip right to EXITED
259
+ _this.onExited = function (maybeNode) {
260
+ var _this$resolveArgument6 = _this.resolveArguments(maybeNode),
261
+ node = _this$resolveArgument6[0];
516
262
 
517
- if (!exit || config.disabled) {
518
- this.safeSetState({
519
- status: EXITED
520
- }, function () {
521
- _this3.props.onExited(maybeNode);
522
- });
523
- return;
524
- }
263
+ _this.removeClasses(node, 'exit');
525
264
 
526
- this.props.onExit(maybeNode);
527
- this.safeSetState({
528
- status: EXITING
529
- }, function () {
530
- _this3.props.onExiting(maybeNode);
265
+ _this.addClass(node, 'exit', 'done');
531
266
 
532
- _this3.onTransitionEnd(timeouts.exit, function () {
533
- _this3.safeSetState({
534
- status: EXITED
535
- }, function () {
536
- _this3.props.onExited(maybeNode);
537
- });
538
- });
539
- });
540
- };
267
+ if (_this.props.onExited) {
268
+ _this.props.onExited(maybeNode);
269
+ }
270
+ };
541
271
 
542
- _proto.cancelNextCallback = function cancelNextCallback() {
543
- if (this.nextCallback !== null) {
544
- this.nextCallback.cancel();
545
- this.nextCallback = null;
546
- }
547
- };
272
+ _this.resolveArguments = function (maybeNode, maybeAppearing) {
273
+ return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`
274
+ : [maybeNode, maybeAppearing];
275
+ };
548
276
 
549
- _proto.safeSetState = function safeSetState(nextState, callback) {
550
- // This shouldn't be necessary, but there are weird race conditions with
551
- // setState callbacks and unmounting in testing, so always make sure that
552
- // we can cancel any pending setState callbacks after we unmount.
553
- callback = this.setNextCallback(callback);
554
- this.setState(nextState, callback);
555
- };
277
+ _this.getClassNames = function (type) {
278
+ var classNames = _this.props.classNames;
279
+ var isStringClassNames = typeof classNames === 'string';
280
+ var prefix = isStringClassNames && classNames ? classNames + "-" : '';
281
+ var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type];
282
+ var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"];
283
+ var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"];
284
+ return {
285
+ baseClassName: baseClassName,
286
+ activeClassName: activeClassName,
287
+ doneClassName: doneClassName
288
+ };
289
+ };
556
290
 
557
- _proto.setNextCallback = function setNextCallback(callback) {
558
- var _this4 = this;
291
+ return _this;
292
+ }
559
293
 
560
- var active = true;
294
+ var _proto = CSSTransition.prototype;
561
295
 
562
- this.nextCallback = function (event) {
563
- if (active) {
564
- active = false;
565
- _this4.nextCallback = null;
566
- callback(event);
567
- }
568
- };
296
+ _proto.addClass = function addClass(node, type, phase) {
297
+ var className = this.getClassNames(type)[phase + "ClassName"];
569
298
 
570
- this.nextCallback.cancel = function () {
571
- active = false;
572
- };
299
+ var _this$getClassNames = this.getClassNames('enter'),
300
+ doneClassName = _this$getClassNames.doneClassName;
573
301
 
574
- return this.nextCallback;
575
- };
302
+ if (type === 'appear' && phase === 'done' && doneClassName) {
303
+ className += " " + doneClassName;
304
+ } // This is to force a repaint,
305
+ // which is necessary in order to transition styles when adding a class name.
576
306
 
577
- _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
578
- this.setNextCallback(handler);
579
- var node = this.props.nodeRef ? this.props.nodeRef.current : external_react_dom_default().findDOMNode(this);
580
- var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
581
307
 
582
- if (!node || doesNotHaveTimeoutOrListener) {
583
- setTimeout(this.nextCallback, 0);
584
- return;
308
+ if (phase === 'active') {
309
+ /* eslint-disable no-unused-expressions */
310
+ node && node.scrollTop;
585
311
  }
586
312
 
587
- if (this.props.addEndListener) {
588
- var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],
589
- maybeNode = _ref3[0],
590
- maybeNextCallback = _ref3[1];
313
+ if (className) {
314
+ this.appliedClasses[type][phase] = className;
591
315
 
592
- this.props.addEndListener(maybeNode, maybeNextCallback);
316
+ _addClass(node, className);
593
317
  }
318
+ };
594
319
 
595
- if (timeout != null) {
596
- setTimeout(this.nextCallback, timeout);
320
+ _proto.removeClasses = function removeClasses(node, type) {
321
+ var _this$appliedClasses$ = this.appliedClasses[type],
322
+ baseClassName = _this$appliedClasses$.base,
323
+ activeClassName = _this$appliedClasses$.active,
324
+ doneClassName = _this$appliedClasses$.done;
325
+ this.appliedClasses[type] = {};
326
+
327
+ if (baseClassName) {
328
+ removeClass(node, baseClassName);
597
329
  }
598
- };
599
330
 
600
- _proto.render = function render() {
601
- var status = this.state.status;
331
+ if (activeClassName) {
332
+ removeClass(node, activeClassName);
333
+ }
602
334
 
603
- if (status === UNMOUNTED) {
604
- return null;
335
+ if (doneClassName) {
336
+ removeClass(node, doneClassName);
605
337
  }
338
+ };
606
339
 
340
+ _proto.render = function render() {
607
341
  var _this$props = this.props,
608
- children = _this$props.children,
609
- _in = _this$props["in"],
610
- _mountOnEnter = _this$props.mountOnEnter,
611
- _unmountOnExit = _this$props.unmountOnExit,
612
- _appear = _this$props.appear,
613
- _enter = _this$props.enter,
614
- _exit = _this$props.exit,
615
- _timeout = _this$props.timeout,
616
- _addEndListener = _this$props.addEndListener,
617
- _onEnter = _this$props.onEnter,
618
- _onEntering = _this$props.onEntering,
619
- _onEntered = _this$props.onEntered,
620
- _onExit = _this$props.onExit,
621
- _onExiting = _this$props.onExiting,
622
- _onExited = _this$props.onExited,
623
- _nodeRef = _this$props.nodeRef,
624
- childProps = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
342
+ _ = _this$props.classNames,
343
+ props = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["classNames"]);
625
344
 
626
- return (
627
- /*#__PURE__*/
628
- // allows for nested Transitions
629
- external_react_default().createElement(TransitionGroupContext/* default.Provider */.Z.Provider, {
630
- value: null
631
- }, typeof children === 'function' ? children(status, childProps) : external_react_default().cloneElement(external_react_default().Children.only(children), childProps))
632
- );
345
+ return /*#__PURE__*/external_react_default().createElement(Transition/* default */.ZP, (0,esm_extends/* default */.Z)({}, props, {
346
+ onEnter: this.onEnter,
347
+ onEntered: this.onEntered,
348
+ onEntering: this.onEntering,
349
+ onExit: this.onExit,
350
+ onExiting: this.onExiting,
351
+ onExited: this.onExited
352
+ }));
633
353
  };
634
354
 
635
- return Transition;
355
+ return CSSTransition;
636
356
  }((external_react_default()).Component);
637
357
 
638
- Transition.contextType = TransitionGroupContext/* default */.Z;
639
- Transition.propTypes = false ? 0 : {}; // Name the function so it is clearer in the documentation
358
+ CSSTransition.defaultProps = {
359
+ classNames: ''
360
+ };
361
+ CSSTransition.propTypes = false ? 0 : {};
362
+ /* harmony default export */ const esm_CSSTransition = (CSSTransition);
640
363
 
641
- function noop() {}
364
+ /***/ }),
642
365
 
643
- Transition.defaultProps = {
644
- "in": false,
645
- mountOnEnter: false,
646
- unmountOnExit: false,
647
- appear: false,
648
- enter: true,
649
- exit: true,
650
- onEnter: noop,
651
- onEntering: noop,
652
- onEntered: noop,
653
- onExit: noop,
654
- onExiting: noop,
655
- onExited: noop
656
- };
657
- Transition.UNMOUNTED = UNMOUNTED;
658
- Transition.EXITED = EXITED;
659
- Transition.ENTERING = ENTERING;
660
- Transition.ENTERED = ENTERED;
661
- Transition.EXITING = EXITING;
662
- /* harmony default export */ const esm_Transition = (Transition);
663
- ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js
366
+ /***/ 6113:
367
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
664
368
 
665
369
 
370
+ // EXPORTS
371
+ __webpack_require__.d(__webpack_exports__, {
372
+ "ZP": () => (/* binding */ esm_Transition)
373
+ });
666
374
 
375
+ // UNUSED EXPORTS: ENTERED, ENTERING, EXITED, EXITING, UNMOUNTED
667
376
 
377
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
378
+ var objectWithoutPropertiesLoose = __webpack_require__(7038);
379
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
380
+ var inheritsLoose = __webpack_require__(7581);
381
+ // EXTERNAL MODULE: external "react"
382
+ var external_react_ = __webpack_require__(8156);
383
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
384
+ // EXTERNAL MODULE: external "react-dom"
385
+ var external_react_dom_ = __webpack_require__(7111);
386
+ var external_react_dom_default = /*#__PURE__*/__webpack_require__.n(external_react_dom_);
387
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/config.js
388
+ /* harmony default export */ const config = ({
389
+ disabled: false
390
+ });
391
+ // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
392
+ var TransitionGroupContext = __webpack_require__(3493);
393
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/Transition.js
668
394
 
669
395
 
670
396
 
671
397
 
672
398
 
673
399
 
674
- var _addClass = function addClass(node, classes) {
675
- return node && classes && classes.split(' ').forEach(function (c) {
676
- return addClass_addClass(node, c);
677
- });
678
- };
679
400
 
680
- var removeClass = function removeClass(node, classes) {
681
- return node && classes && classes.split(' ').forEach(function (c) {
682
- return removeClass_removeClass(node, c);
683
- });
684
- };
401
+
402
+ var UNMOUNTED = 'unmounted';
403
+ var EXITED = 'exited';
404
+ var ENTERING = 'entering';
405
+ var ENTERED = 'entered';
406
+ var EXITING = 'exiting';
685
407
  /**
686
- * A transition component inspired by the excellent
687
- * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should
688
- * use it if you're using CSS transitions or animations. It's built upon the
689
- * [`Transition`](https://reactcommunity.org/react-transition-group/transition)
690
- * component, so it inherits all of its props.
408
+ * The Transition component lets you describe a transition from one component
409
+ * state to another _over time_ with a simple declarative API. Most commonly
410
+ * it's used to animate the mounting and unmounting of a component, but can also
411
+ * be used to describe in-place transition states as well.
412
+ *
413
+ * ---
414
+ *
415
+ * **Note**: `Transition` is a platform-agnostic base component. If you're using
416
+ * transitions in CSS, you'll probably want to use
417
+ * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)
418
+ * instead. It inherits all the features of `Transition`, but contains
419
+ * additional features necessary to play nice with CSS transitions (hence the
420
+ * name of the component).
421
+ *
422
+ * ---
423
+ *
424
+ * By default the `Transition` component does not alter the behavior of the
425
+ * component it renders, it only tracks "enter" and "exit" states for the
426
+ * components. It's up to you to give meaning and effect to those states. For
427
+ * example we can add styles to a component when it enters or exits:
428
+ *
429
+ * ```jsx
430
+ * import { Transition } from 'react-transition-group';
431
+ *
432
+ * const duration = 300;
433
+ *
434
+ * const defaultStyle = {
435
+ * transition: `opacity ${duration}ms ease-in-out`,
436
+ * opacity: 0,
437
+ * }
438
+ *
439
+ * const transitionStyles = {
440
+ * entering: { opacity: 1 },
441
+ * entered: { opacity: 1 },
442
+ * exiting: { opacity: 0 },
443
+ * exited: { opacity: 0 },
444
+ * };
445
+ *
446
+ * const Fade = ({ in: inProp }) => (
447
+ * <Transition in={inProp} timeout={duration}>
448
+ * {state => (
449
+ * <div style={{
450
+ * ...defaultStyle,
451
+ * ...transitionStyles[state]
452
+ * }}>
453
+ * I'm a fade Transition!
454
+ * </div>
455
+ * )}
456
+ * </Transition>
457
+ * );
458
+ * ```
459
+ *
460
+ * There are 4 main states a Transition can be in:
461
+ * - `'entering'`
462
+ * - `'entered'`
463
+ * - `'exiting'`
464
+ * - `'exited'`
691
465
  *
692
- * `CSSTransition` applies a pair of class names during the `appear`, `enter`,
693
- * and `exit` states of the transition. The first class is applied and then a
694
- * second `*-active` class in order to activate the CSS transition. After the
695
- * transition, matching `*-done` class names are applied to persist the
696
- * transition state.
466
+ * Transition state is toggled via the `in` prop. When `true` the component
467
+ * begins the "Enter" stage. During this stage, the component will shift from
468
+ * its current transition state, to `'entering'` for the duration of the
469
+ * transition and then to the `'entered'` stage once it's complete. Let's take
470
+ * the following example (we'll use the
471
+ * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):
697
472
  *
698
473
  * ```jsx
699
474
  * function App() {
700
475
  * const [inProp, setInProp] = useState(false);
701
476
  * return (
702
477
  * <div>
703
- * <CSSTransition in={inProp} timeout={200} classNames="my-node">
704
- * <div>
705
- * {"I'll receive my-node-* classes"}
706
- * </div>
707
- * </CSSTransition>
708
- * <button type="button" onClick={() => setInProp(true)}>
478
+ * <Transition in={inProp} timeout={500}>
479
+ * {state => (
480
+ * // ...
481
+ * )}
482
+ * </Transition>
483
+ * <button onClick={() => setInProp(true)}>
709
484
  * Click to Enter
710
485
  * </button>
711
486
  * </div>
@@ -713,244 +488,345 @@ var removeClass = function removeClass(node, classes) {
713
488
  * }
714
489
  * ```
715
490
  *
716
- * When the `in` prop is set to `true`, the child component will first receive
717
- * the class `example-enter`, then the `example-enter-active` will be added in
718
- * the next tick. `CSSTransition` [forces a
719
- * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)
720
- * between before adding the `example-enter-active`. This is an important trick
721
- * because it allows us to transition between `example-enter` and
722
- * `example-enter-active` even though they were added immediately one after
723
- * another. Most notably, this is what makes it possible for us to animate
724
- * _appearance_.
725
- *
726
- * ```css
727
- * .my-node-enter {
728
- * opacity: 0;
729
- * }
730
- * .my-node-enter-active {
731
- * opacity: 1;
732
- * transition: opacity 200ms;
733
- * }
734
- * .my-node-exit {
735
- * opacity: 1;
736
- * }
737
- * .my-node-exit-active {
738
- * opacity: 0;
739
- * transition: opacity 200ms;
740
- * }
741
- * ```
742
- *
743
- * `*-active` classes represent which styles you want to animate **to**, so it's
744
- * important to add `transition` declaration only to them, otherwise transitions
745
- * might not behave as intended! This might not be obvious when the transitions
746
- * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in
747
- * the example above (minus `transition`), but it becomes apparent in more
748
- * complex transitions.
491
+ * When the button is clicked the component will shift to the `'entering'` state
492
+ * and stay there for 500ms (the value of `timeout`) before it finally switches
493
+ * to `'entered'`.
749
494
  *
750
- * **Note**: If you're using the
751
- * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)
752
- * prop, make sure to define styles for `.appear-*` classes as well.
495
+ * When `in` is `false` the same thing happens except the state moves from
496
+ * `'exiting'` to `'exited'`.
753
497
  */
754
498
 
499
+ var Transition = /*#__PURE__*/function (_React$Component) {
500
+ (0,inheritsLoose/* default */.Z)(Transition, _React$Component);
755
501
 
756
- var CSSTransition = /*#__PURE__*/function (_React$Component) {
757
- (0,inheritsLoose/* default */.Z)(CSSTransition, _React$Component);
758
-
759
- function CSSTransition() {
502
+ function Transition(props, context) {
760
503
  var _this;
761
504
 
762
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
763
- args[_key] = arguments[_key];
505
+ _this = _React$Component.call(this, props, context) || this;
506
+ var parentGroup = context; // In the context of a TransitionGroup all enters are really appears
507
+
508
+ var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
509
+ var initialStatus;
510
+ _this.appearStatus = null;
511
+
512
+ if (props["in"]) {
513
+ if (appear) {
514
+ initialStatus = EXITED;
515
+ _this.appearStatus = ENTERING;
516
+ } else {
517
+ initialStatus = ENTERED;
518
+ }
519
+ } else {
520
+ if (props.unmountOnExit || props.mountOnEnter) {
521
+ initialStatus = UNMOUNTED;
522
+ } else {
523
+ initialStatus = EXITED;
524
+ }
764
525
  }
765
526
 
766
- _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
767
- _this.appliedClasses = {
768
- appear: {},
769
- enter: {},
770
- exit: {}
527
+ _this.state = {
528
+ status: initialStatus
771
529
  };
530
+ _this.nextCallback = null;
531
+ return _this;
532
+ }
772
533
 
773
- _this.onEnter = function (maybeNode, maybeAppearing) {
774
- var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),
775
- node = _this$resolveArgument[0],
776
- appearing = _this$resolveArgument[1];
534
+ Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
535
+ var nextIn = _ref["in"];
777
536
 
778
- _this.removeClasses(node, 'exit');
537
+ if (nextIn && prevState.status === UNMOUNTED) {
538
+ return {
539
+ status: EXITED
540
+ };
541
+ }
779
542
 
780
- _this.addClass(node, appearing ? 'appear' : 'enter', 'base');
543
+ return null;
544
+ } // getSnapshotBeforeUpdate(prevProps) {
545
+ // let nextStatus = null
546
+ // if (prevProps !== this.props) {
547
+ // const { status } = this.state
548
+ // if (this.props.in) {
549
+ // if (status !== ENTERING && status !== ENTERED) {
550
+ // nextStatus = ENTERING
551
+ // }
552
+ // } else {
553
+ // if (status === ENTERING || status === ENTERED) {
554
+ // nextStatus = EXITING
555
+ // }
556
+ // }
557
+ // }
558
+ // return { nextStatus }
559
+ // }
560
+ ;
781
561
 
782
- if (_this.props.onEnter) {
783
- _this.props.onEnter(maybeNode, maybeAppearing);
784
- }
785
- };
562
+ var _proto = Transition.prototype;
786
563
 
787
- _this.onEntering = function (maybeNode, maybeAppearing) {
788
- var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),
789
- node = _this$resolveArgument2[0],
790
- appearing = _this$resolveArgument2[1];
564
+ _proto.componentDidMount = function componentDidMount() {
565
+ this.updateStatus(true, this.appearStatus);
566
+ };
791
567
 
792
- var type = appearing ? 'appear' : 'enter';
568
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
569
+ var nextStatus = null;
793
570
 
794
- _this.addClass(node, type, 'active');
571
+ if (prevProps !== this.props) {
572
+ var status = this.state.status;
795
573
 
796
- if (_this.props.onEntering) {
797
- _this.props.onEntering(maybeNode, maybeAppearing);
574
+ if (this.props["in"]) {
575
+ if (status !== ENTERING && status !== ENTERED) {
576
+ nextStatus = ENTERING;
577
+ }
578
+ } else {
579
+ if (status === ENTERING || status === ENTERED) {
580
+ nextStatus = EXITING;
581
+ }
798
582
  }
799
- };
800
-
801
- _this.onEntered = function (maybeNode, maybeAppearing) {
802
- var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),
803
- node = _this$resolveArgument3[0],
804
- appearing = _this$resolveArgument3[1];
583
+ }
805
584
 
806
- var type = appearing ? 'appear' : 'enter';
585
+ this.updateStatus(false, nextStatus);
586
+ };
807
587
 
808
- _this.removeClasses(node, type);
588
+ _proto.componentWillUnmount = function componentWillUnmount() {
589
+ this.cancelNextCallback();
590
+ };
809
591
 
810
- _this.addClass(node, type, 'done');
592
+ _proto.getTimeouts = function getTimeouts() {
593
+ var timeout = this.props.timeout;
594
+ var exit, enter, appear;
595
+ exit = enter = appear = timeout;
811
596
 
812
- if (_this.props.onEntered) {
813
- _this.props.onEntered(maybeNode, maybeAppearing);
814
- }
815
- };
597
+ if (timeout != null && typeof timeout !== 'number') {
598
+ exit = timeout.exit;
599
+ enter = timeout.enter; // TODO: remove fallback for next major
816
600
 
817
- _this.onExit = function (maybeNode) {
818
- var _this$resolveArgument4 = _this.resolveArguments(maybeNode),
819
- node = _this$resolveArgument4[0];
601
+ appear = timeout.appear !== undefined ? timeout.appear : enter;
602
+ }
820
603
 
821
- _this.removeClasses(node, 'appear');
604
+ return {
605
+ exit: exit,
606
+ enter: enter,
607
+ appear: appear
608
+ };
609
+ };
822
610
 
823
- _this.removeClasses(node, 'enter');
611
+ _proto.updateStatus = function updateStatus(mounting, nextStatus) {
612
+ if (mounting === void 0) {
613
+ mounting = false;
614
+ }
824
615
 
825
- _this.addClass(node, 'exit', 'base');
616
+ if (nextStatus !== null) {
617
+ // nextStatus will always be ENTERING or EXITING.
618
+ this.cancelNextCallback();
826
619
 
827
- if (_this.props.onExit) {
828
- _this.props.onExit(maybeNode);
620
+ if (nextStatus === ENTERING) {
621
+ this.performEnter(mounting);
622
+ } else {
623
+ this.performExit();
829
624
  }
830
- };
625
+ } else if (this.props.unmountOnExit && this.state.status === EXITED) {
626
+ this.setState({
627
+ status: UNMOUNTED
628
+ });
629
+ }
630
+ };
831
631
 
832
- _this.onExiting = function (maybeNode) {
833
- var _this$resolveArgument5 = _this.resolveArguments(maybeNode),
834
- node = _this$resolveArgument5[0];
632
+ _proto.performEnter = function performEnter(mounting) {
633
+ var _this2 = this;
835
634
 
836
- _this.addClass(node, 'exit', 'active');
635
+ var enter = this.props.enter;
636
+ var appearing = this.context ? this.context.isMounting : mounting;
837
637
 
838
- if (_this.props.onExiting) {
839
- _this.props.onExiting(maybeNode);
840
- }
841
- };
638
+ var _ref2 = this.props.nodeRef ? [appearing] : [external_react_dom_default().findDOMNode(this), appearing],
639
+ maybeNode = _ref2[0],
640
+ maybeAppearing = _ref2[1];
842
641
 
843
- _this.onExited = function (maybeNode) {
844
- var _this$resolveArgument6 = _this.resolveArguments(maybeNode),
845
- node = _this$resolveArgument6[0];
642
+ var timeouts = this.getTimeouts();
643
+ var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
644
+ // if we are mounting and running this it means appear _must_ be set
846
645
 
847
- _this.removeClasses(node, 'exit');
646
+ if (!mounting && !enter || config.disabled) {
647
+ this.safeSetState({
648
+ status: ENTERED
649
+ }, function () {
650
+ _this2.props.onEntered(maybeNode);
651
+ });
652
+ return;
653
+ }
654
+
655
+ this.props.onEnter(maybeNode, maybeAppearing);
656
+ this.safeSetState({
657
+ status: ENTERING
658
+ }, function () {
659
+ _this2.props.onEntering(maybeNode, maybeAppearing);
848
660
 
849
- _this.addClass(node, 'exit', 'done');
661
+ _this2.onTransitionEnd(enterTimeout, function () {
662
+ _this2.safeSetState({
663
+ status: ENTERED
664
+ }, function () {
665
+ _this2.props.onEntered(maybeNode, maybeAppearing);
666
+ });
667
+ });
668
+ });
669
+ };
850
670
 
851
- if (_this.props.onExited) {
852
- _this.props.onExited(maybeNode);
853
- }
854
- };
671
+ _proto.performExit = function performExit() {
672
+ var _this3 = this;
855
673
 
856
- _this.resolveArguments = function (maybeNode, maybeAppearing) {
857
- return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`
858
- : [maybeNode, maybeAppearing];
859
- };
674
+ var exit = this.props.exit;
675
+ var timeouts = this.getTimeouts();
676
+ var maybeNode = this.props.nodeRef ? undefined : external_react_dom_default().findDOMNode(this); // no exit animation skip right to EXITED
860
677
 
861
- _this.getClassNames = function (type) {
862
- var classNames = _this.props.classNames;
863
- var isStringClassNames = typeof classNames === 'string';
864
- var prefix = isStringClassNames && classNames ? classNames + "-" : '';
865
- var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type];
866
- var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"];
867
- var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"];
868
- return {
869
- baseClassName: baseClassName,
870
- activeClassName: activeClassName,
871
- doneClassName: doneClassName
872
- };
873
- };
678
+ if (!exit || config.disabled) {
679
+ this.safeSetState({
680
+ status: EXITED
681
+ }, function () {
682
+ _this3.props.onExited(maybeNode);
683
+ });
684
+ return;
685
+ }
874
686
 
875
- return _this;
876
- }
687
+ this.props.onExit(maybeNode);
688
+ this.safeSetState({
689
+ status: EXITING
690
+ }, function () {
691
+ _this3.props.onExiting(maybeNode);
877
692
 
878
- var _proto = CSSTransition.prototype;
693
+ _this3.onTransitionEnd(timeouts.exit, function () {
694
+ _this3.safeSetState({
695
+ status: EXITED
696
+ }, function () {
697
+ _this3.props.onExited(maybeNode);
698
+ });
699
+ });
700
+ });
701
+ };
879
702
 
880
- _proto.addClass = function addClass(node, type, phase) {
881
- var className = this.getClassNames(type)[phase + "ClassName"];
703
+ _proto.cancelNextCallback = function cancelNextCallback() {
704
+ if (this.nextCallback !== null) {
705
+ this.nextCallback.cancel();
706
+ this.nextCallback = null;
707
+ }
708
+ };
882
709
 
883
- var _this$getClassNames = this.getClassNames('enter'),
884
- doneClassName = _this$getClassNames.doneClassName;
710
+ _proto.safeSetState = function safeSetState(nextState, callback) {
711
+ // This shouldn't be necessary, but there are weird race conditions with
712
+ // setState callbacks and unmounting in testing, so always make sure that
713
+ // we can cancel any pending setState callbacks after we unmount.
714
+ callback = this.setNextCallback(callback);
715
+ this.setState(nextState, callback);
716
+ };
885
717
 
886
- if (type === 'appear' && phase === 'done' && doneClassName) {
887
- className += " " + doneClassName;
888
- } // This is for to force a repaint,
889
- // which is necessary in order to transition styles when adding a class name.
718
+ _proto.setNextCallback = function setNextCallback(callback) {
719
+ var _this4 = this;
890
720
 
721
+ var active = true;
891
722
 
892
- if (phase === 'active') {
893
- /* eslint-disable no-unused-expressions */
894
- node && node.scrollTop;
895
- }
723
+ this.nextCallback = function (event) {
724
+ if (active) {
725
+ active = false;
726
+ _this4.nextCallback = null;
727
+ callback(event);
728
+ }
729
+ };
896
730
 
897
- if (className) {
898
- this.appliedClasses[type][phase] = className;
731
+ this.nextCallback.cancel = function () {
732
+ active = false;
733
+ };
899
734
 
900
- _addClass(node, className);
901
- }
735
+ return this.nextCallback;
902
736
  };
903
737
 
904
- _proto.removeClasses = function removeClasses(node, type) {
905
- var _this$appliedClasses$ = this.appliedClasses[type],
906
- baseClassName = _this$appliedClasses$.base,
907
- activeClassName = _this$appliedClasses$.active,
908
- doneClassName = _this$appliedClasses$.done;
909
- this.appliedClasses[type] = {};
738
+ _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
739
+ this.setNextCallback(handler);
740
+ var node = this.props.nodeRef ? this.props.nodeRef.current : external_react_dom_default().findDOMNode(this);
741
+ var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
910
742
 
911
- if (baseClassName) {
912
- removeClass(node, baseClassName);
743
+ if (!node || doesNotHaveTimeoutOrListener) {
744
+ setTimeout(this.nextCallback, 0);
745
+ return;
913
746
  }
914
747
 
915
- if (activeClassName) {
916
- removeClass(node, activeClassName);
748
+ if (this.props.addEndListener) {
749
+ var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],
750
+ maybeNode = _ref3[0],
751
+ maybeNextCallback = _ref3[1];
752
+
753
+ this.props.addEndListener(maybeNode, maybeNextCallback);
917
754
  }
918
755
 
919
- if (doneClassName) {
920
- removeClass(node, doneClassName);
756
+ if (timeout != null) {
757
+ setTimeout(this.nextCallback, timeout);
921
758
  }
922
759
  };
923
760
 
924
761
  _proto.render = function render() {
762
+ var status = this.state.status;
763
+
764
+ if (status === UNMOUNTED) {
765
+ return null;
766
+ }
767
+
925
768
  var _this$props = this.props,
926
- _ = _this$props.classNames,
927
- props = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["classNames"]);
769
+ children = _this$props.children,
770
+ _in = _this$props["in"],
771
+ _mountOnEnter = _this$props.mountOnEnter,
772
+ _unmountOnExit = _this$props.unmountOnExit,
773
+ _appear = _this$props.appear,
774
+ _enter = _this$props.enter,
775
+ _exit = _this$props.exit,
776
+ _timeout = _this$props.timeout,
777
+ _addEndListener = _this$props.addEndListener,
778
+ _onEnter = _this$props.onEnter,
779
+ _onEntering = _this$props.onEntering,
780
+ _onEntered = _this$props.onEntered,
781
+ _onExit = _this$props.onExit,
782
+ _onExiting = _this$props.onExiting,
783
+ _onExited = _this$props.onExited,
784
+ _nodeRef = _this$props.nodeRef,
785
+ childProps = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
928
786
 
929
- return /*#__PURE__*/external_react_default().createElement(esm_Transition, (0,esm_extends/* default */.Z)({}, props, {
930
- onEnter: this.onEnter,
931
- onEntered: this.onEntered,
932
- onEntering: this.onEntering,
933
- onExit: this.onExit,
934
- onExiting: this.onExiting,
935
- onExited: this.onExited
936
- }));
787
+ return (
788
+ /*#__PURE__*/
789
+ // allows for nested Transitions
790
+ external_react_default().createElement(TransitionGroupContext/* default.Provider */.Z.Provider, {
791
+ value: null
792
+ }, typeof children === 'function' ? children(status, childProps) : external_react_default().cloneElement(external_react_default().Children.only(children), childProps))
793
+ );
937
794
  };
938
795
 
939
- return CSSTransition;
796
+ return Transition;
940
797
  }((external_react_default()).Component);
941
798
 
942
- CSSTransition.defaultProps = {
943
- classNames: ''
799
+ Transition.contextType = TransitionGroupContext/* default */.Z;
800
+ Transition.propTypes = false ? 0 : {}; // Name the function so it is clearer in the documentation
801
+
802
+ function noop() {}
803
+
804
+ Transition.defaultProps = {
805
+ "in": false,
806
+ mountOnEnter: false,
807
+ unmountOnExit: false,
808
+ appear: false,
809
+ enter: true,
810
+ exit: true,
811
+ onEnter: noop,
812
+ onEntering: noop,
813
+ onEntered: noop,
814
+ onExit: noop,
815
+ onExiting: noop,
816
+ onExited: noop
944
817
  };
945
- CSSTransition.propTypes = false ? 0 : {};
946
- /* harmony default export */ const esm_CSSTransition = (CSSTransition);
818
+ Transition.UNMOUNTED = UNMOUNTED;
819
+ Transition.EXITED = EXITED;
820
+ Transition.ENTERING = ENTERING;
821
+ Transition.ENTERED = ENTERED;
822
+ Transition.EXITING = EXITING;
823
+ /* harmony default export */ const esm_Transition = (Transition);
947
824
 
948
825
  /***/ }),
949
826
 
950
827
  /***/ 3493:
951
828
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
952
829
 
953
- "use strict";
954
830
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
955
831
  /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
956
832
  /* harmony export */ });
@@ -959,12 +835,71 @@ CSSTransition.propTypes = false ? 0 : {};
959
835
 
960
836
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (react__WEBPACK_IMPORTED_MODULE_0___default().createContext(null));
961
837
 
838
+ /***/ }),
839
+
840
+ /***/ 577:
841
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
842
+
843
+ // ESM COMPAT FLAG
844
+ __webpack_require__.r(__webpack_exports__);
845
+
846
+ // EXPORTS
847
+ __webpack_require__.d(__webpack_exports__, {
848
+ "FadeAnimation": () => (/* reexport */ FadeAnimation)
849
+ });
850
+
851
+ // EXTERNAL MODULE: external "react"
852
+ var external_react_ = __webpack_require__(8156);
853
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
854
+ // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 3 modules
855
+ var CSSTransition = __webpack_require__(9114);
856
+ ;// CONCATENATED MODULE: ./src/components/FadeAnimation/FadeAnimation.tsx
857
+ var __extends = (undefined && undefined.__extends) || (function () {
858
+ var extendStatics = function (d, b) {
859
+ extendStatics = Object.setPrototypeOf ||
860
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
861
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
862
+ return extendStatics(d, b);
863
+ };
864
+ return function (d, b) {
865
+ if (typeof b !== "function" && b !== null)
866
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
867
+ extendStatics(d, b);
868
+ function __() { this.constructor = d; }
869
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
870
+ };
871
+ })();
872
+
873
+
874
+
875
+ var FadeAnimation = /** @class */ (function (_super) {
876
+ __extends(FadeAnimation, _super);
877
+ function FadeAnimation() {
878
+ return _super !== null && _super.apply(this, arguments) || this;
879
+ }
880
+ FadeAnimation.prototype.render = function () {
881
+ var _a = this.props, duration = _a.duration, appearDelay = _a.appearDelay, name = "atoka-fadein-".concat(duration, "-").concat(appearDelay);
882
+ return (external_react_default().createElement(CSSTransition/* default */.Z, { timeout: duration + appearDelay, classNames: name, in: this.props.in, appear: true }, this.props.children));
883
+ };
884
+ FadeAnimation.displayName = 'FadeAnimation';
885
+ FadeAnimation.defaultProps = {
886
+ duration: 600,
887
+ appearDelay: 0,
888
+ in: true,
889
+ };
890
+ return FadeAnimation;
891
+ }((external_react_default()).PureComponent));
892
+
893
+
894
+ ;// CONCATENATED MODULE: ./src/components/FadeAnimation/index.ts
895
+
896
+
897
+
962
898
  /***/ }),
963
899
 
964
900
  /***/ 8156:
965
901
  /***/ ((module) => {
966
902
 
967
- "use strict";
968
903
  module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
969
904
 
970
905
  /***/ }),
@@ -972,7 +907,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
972
907
  /***/ 7111:
973
908
  /***/ ((module) => {
974
909
 
975
- "use strict";
976
910
  module.exports = __WEBPACK_EXTERNAL_MODULE__7111__;
977
911
 
978
912
  /***/ }),
@@ -980,12 +914,11 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7111__;
980
914
  /***/ 32:
981
915
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
982
916
 
983
- "use strict";
984
917
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
985
918
  /* harmony export */ "Z": () => (/* binding */ _extends)
986
919
  /* harmony export */ });
987
920
  function _extends() {
988
- _extends = Object.assign || function (target) {
921
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
989
922
  for (var i = 1; i < arguments.length; i++) {
990
923
  var source = arguments[i];
991
924
 
@@ -998,7 +931,6 @@ function _extends() {
998
931
 
999
932
  return target;
1000
933
  };
1001
-
1002
934
  return _extends.apply(this, arguments);
1003
935
  }
1004
936
 
@@ -1007,7 +939,6 @@ function _extends() {
1007
939
  /***/ 7581:
1008
940
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1009
941
 
1010
- "use strict";
1011
942
 
1012
943
  // EXPORTS
1013
944
  __webpack_require__.d(__webpack_exports__, {
@@ -1016,11 +947,10 @@ __webpack_require__.d(__webpack_exports__, {
1016
947
 
1017
948
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
1018
949
  function _setPrototypeOf(o, p) {
1019
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
950
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
1020
951
  o.__proto__ = p;
1021
952
  return o;
1022
953
  };
1023
-
1024
954
  return _setPrototypeOf(o, p);
1025
955
  }
1026
956
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
@@ -1036,7 +966,6 @@ function _inheritsLoose(subClass, superClass) {
1036
966
  /***/ 7038:
1037
967
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1038
968
 
1039
- "use strict";
1040
969
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1041
970
  /* harmony export */ "Z": () => (/* binding */ _objectWithoutPropertiesLoose)
1042
971
  /* harmony export */ });
@@ -1168,7 +1097,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
1168
1097
  /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
1169
1098
  /******/ var installedChunks = {
1170
1099
  /******/ 5853: 0,
1171
- /******/ 2210: 0
1100
+ /******/ 6999: 0
1172
1101
  /******/ };
1173
1102
  /******/
1174
1103
  /******/ // no chunk on demand loading
@@ -1218,7 +1147,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
1218
1147
  /******/ // startup
1219
1148
  /******/ // Load entry module and return exports
1220
1149
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
1221
- /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [2210], () => (__webpack_require__(1018)))
1150
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [6999], () => (__webpack_require__(577)))
1222
1151
  /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
1223
1152
  /******/
1224
1153
  /******/ return __webpack_exports__;