@spaziodati/atoka-design-system 2.0.72-beta

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 (294) hide show
  1. package/AddableItems/AddableItems.d.ts +72 -0
  2. package/AddableItems/ClickableExcludableItem.d.ts +23 -0
  3. package/AddableItems/ClickableItemList.d.ts +32 -0
  4. package/AddableItems/index.d.ts +1 -0
  5. package/AddableItems/index.js +1046 -0
  6. package/AddableItems/index.js.map +1 -0
  7. package/Alert/Alert.d.ts +37 -0
  8. package/Alert/index.d.ts +1 -0
  9. package/Alert/index.js +319 -0
  10. package/Alert/index.js.map +1 -0
  11. package/Badge/Badge.d.ts +38 -0
  12. package/Badge/index.d.ts +1 -0
  13. package/Badge/index.js +285 -0
  14. package/Badge/index.js.map +1 -0
  15. package/Bs4V3Wrapper/Bs4V3Wrapper.d.ts +7 -0
  16. package/Bs4V3Wrapper/StoryWrapper.d.ts +8 -0
  17. package/Bs4V3Wrapper/index.d.ts +1 -0
  18. package/Bs4V3Wrapper/index.js +251 -0
  19. package/Bs4V3Wrapper/index.js.map +1 -0
  20. package/BubbleChart/BubbleChart.d.ts +33 -0
  21. package/BubbleChart/BubbleChartUI.d.ts +31 -0
  22. package/BubbleChart/index.d.ts +1 -0
  23. package/BubbleChart/index.js +3793 -0
  24. package/BubbleChart/index.js.map +1 -0
  25. package/Button/Button.d.ts +29 -0
  26. package/Button/Button.storiesConfig.d.ts +68 -0
  27. package/Button/index.d.ts +1 -0
  28. package/Button/index.js +323 -0
  29. package/Button/index.js.map +1 -0
  30. package/ButtonDropdown/ButtonDropdown.d.ts +23 -0
  31. package/ButtonDropdown/index.d.ts +2 -0
  32. package/ButtonDropdown/index.js +603 -0
  33. package/ButtonDropdown/index.js.map +1 -0
  34. package/CardsPage/CardsPage.d.ts +12 -0
  35. package/CardsPage/CardsPageActions.d.ts +2 -0
  36. package/CardsPage/CardsPageCards.d.ts +5 -0
  37. package/CardsPage/CardsPageCardsCounter.d.ts +7 -0
  38. package/CardsPage/CardsPageFilters.d.ts +3 -0
  39. package/CardsPage/CardsPageHeader.d.ts +11 -0
  40. package/CardsPage/CardsPageLayoutMode.d.ts +13 -0
  41. package/CardsPage/CardsPageSelectionActions.d.ts +17 -0
  42. package/CardsPage/CardsPageSelectionToggler.d.ts +8 -0
  43. package/CardsPage/CardsPageSorting.d.ts +15 -0
  44. package/CardsPage/CardsPageSubtitle.d.ts +2 -0
  45. package/CardsPage/CardsPageTabContent.d.ts +19 -0
  46. package/CardsPage/CardsPageTabSwitcher.d.ts +3 -0
  47. package/CardsPage/CardsPageTitle.d.ts +2 -0
  48. package/CardsPage/index.d.ts +2 -0
  49. package/CardsPage/index.js +2511 -0
  50. package/CardsPage/index.js.map +1 -0
  51. package/CursorPagination/CursorPagination.d.ts +21 -0
  52. package/CursorPagination/index.d.ts +1 -0
  53. package/CursorPagination/index.js +952 -0
  54. package/CursorPagination/index.js.map +1 -0
  55. package/DatePicker/DatePicker.d.ts +27 -0
  56. package/DatePicker/index.d.ts +1 -0
  57. package/DatePicker/index.js +452 -0
  58. package/DatePicker/index.js.map +1 -0
  59. package/DetailPage/DetailPage.d.ts +18 -0
  60. package/DetailPage/DetailPageBodyContainer.d.ts +2 -0
  61. package/DetailPage/DetailPageBodySection.d.ts +3 -0
  62. package/DetailPage/DetailPageHeaderContainer.d.ts +7 -0
  63. package/DetailPage/DetailPageHeaderUI.d.ts +12 -0
  64. package/DetailPage/DetailPageMenuContainer.d.ts +2 -0
  65. package/DetailPage/DetailPageMenuUI.d.ts +4 -0
  66. package/DetailPage/index.d.ts +1 -0
  67. package/DetailPage/index.js +2066 -0
  68. package/DetailPage/index.js.map +1 -0
  69. package/Dropdown/AtokaDropdownToggles.d.ts +11 -0
  70. package/Dropdown/Dropdown.d.ts +12 -0
  71. package/Dropdown/DropdownMenu.d.ts +7 -0
  72. package/Dropdown/index.d.ts +3 -0
  73. package/Dropdown/index.js +723 -0
  74. package/Dropdown/index.js.map +1 -0
  75. package/EditableString/EditableString.d.ts +42 -0
  76. package/EditableString/index.d.ts +1 -0
  77. package/EditableString/index.js +3321 -0
  78. package/EditableString/index.js.map +1 -0
  79. package/EllipsableContent/EllipsableContent.d.ts +18 -0
  80. package/EllipsableContent/index.d.ts +1 -0
  81. package/EllipsableContent/index.js +784 -0
  82. package/EllipsableContent/index.js.map +1 -0
  83. package/EmptyState/EmptyState.d.ts +12 -0
  84. package/EmptyState/index.d.ts +1 -0
  85. package/EmptyState/index.js +278 -0
  86. package/EmptyState/index.js.map +1 -0
  87. package/Facet/Facet.d.ts +21 -0
  88. package/Facet/FacetHelp.d.ts +28 -0
  89. package/Facet/FacetItemCount.d.ts +7 -0
  90. package/Facet/FacetSubtitle.d.ts +2 -0
  91. package/Facet/index.d.ts +1 -0
  92. package/Facet/index.js +914 -0
  93. package/Facet/index.js.map +1 -0
  94. package/FacetSection/FacetSection.d.ts +21 -0
  95. package/FacetSection/index.d.ts +1 -0
  96. package/FacetSection/index.js +443 -0
  97. package/FacetSection/index.js.map +1 -0
  98. package/FadeAnimation/FadeAnimation.d.ts +14 -0
  99. package/FadeAnimation/index.d.ts +1 -0
  100. package/FadeAnimation/index.js +1228 -0
  101. package/FadeAnimation/index.js.map +1 -0
  102. package/FeedbackButton/FeedbackButton.d.ts +19 -0
  103. package/FeedbackButton/index.d.ts +1 -0
  104. package/FeedbackButton/index.js +398 -0
  105. package/FeedbackButton/index.js.map +1 -0
  106. package/Form/Form.d.ts +23 -0
  107. package/Form/FormCheckbox.d.ts +10 -0
  108. package/Form/FormControl.d.ts +23 -0
  109. package/Form/FormControlFeedBack.d.ts +6 -0
  110. package/Form/FormHelp.d.ts +7 -0
  111. package/Form/FormLabel.d.ts +4 -0
  112. package/Form/FormRadio.d.ts +10 -0
  113. package/Form/index.d.ts +1 -0
  114. package/Form/index.js +450 -0
  115. package/Form/index.js.map +1 -0
  116. package/Funnel/Funnel.d.ts +54 -0
  117. package/Funnel/SVGDataLabel.d.ts +11 -0
  118. package/Funnel/index.d.ts +1 -0
  119. package/Funnel/index.js +3997 -0
  120. package/Funnel/index.js.map +1 -0
  121. package/GridCard/Fixtures.d.ts +3 -0
  122. package/GridCard/GridCard.d.ts +20 -0
  123. package/GridCard/GridCardContent.d.ts +2 -0
  124. package/GridCard/GridCardFooter.d.ts +2 -0
  125. package/GridCard/GridCardHeader.d.ts +14 -0
  126. package/GridCard/GridCardMenu.d.ts +2 -0
  127. package/GridCard/GridCardTags.d.ts +2 -0
  128. package/GridCard/GridCardTitle.d.ts +6 -0
  129. package/GridCard/index.d.ts +1 -0
  130. package/GridCard/index.js +1618 -0
  131. package/GridCard/index.js.map +1 -0
  132. package/HighlightableText/HighlightableText.d.ts +21 -0
  133. package/HighlightableText/index.d.ts +1 -0
  134. package/HighlightableText/index.js +624 -0
  135. package/HighlightableText/index.js.map +1 -0
  136. package/Histogram/Histogram.d.ts +126 -0
  137. package/Histogram/Types.d.ts +19 -0
  138. package/Histogram/index.d.ts +1 -0
  139. package/Histogram/index.js +2359 -0
  140. package/Histogram/index.js.map +1 -0
  141. package/InlineStringEditor/InlineStringEditor.d.ts +49 -0
  142. package/InlineStringEditor/index.d.ts +1 -0
  143. package/InlineStringEditor/index.js +1882 -0
  144. package/InlineStringEditor/index.js.map +1 -0
  145. package/InputGroup/InputGroup.d.ts +16 -0
  146. package/InputGroup/InputGroupText.d.ts +2 -0
  147. package/InputGroup/index.d.ts +1 -0
  148. package/InputGroup/index.js +279 -0
  149. package/InputGroup/index.js.map +1 -0
  150. package/Jumbotron/Jumbotron.d.ts +16 -0
  151. package/Jumbotron/index.d.ts +1 -0
  152. package/Jumbotron/index.js +270 -0
  153. package/Jumbotron/index.js.map +1 -0
  154. package/Map/Map.d.ts +27 -0
  155. package/Map/MapChoropleth.d.ts +31 -0
  156. package/Map/MapControl.d.ts +13 -0
  157. package/Map/MapLegendContent.d.ts +27 -0
  158. package/Map/MapPopup.d.ts +5 -0
  159. package/Map/MapUtils.d.ts +2 -0
  160. package/Map/Types.d.ts +38 -0
  161. package/Map/index.d.ts +2 -0
  162. package/Map/index.js +4810 -0
  163. package/Map/index.js.map +1 -0
  164. package/Modal/Modal.d.ts +32 -0
  165. package/Modal/index.d.ts +1 -0
  166. package/Modal/index.js +743 -0
  167. package/Modal/index.js.map +1 -0
  168. package/Navbar/Navbar.d.ts +42 -0
  169. package/Navbar/NavbarMobileMenuCollapse.d.ts +3 -0
  170. package/Navbar/NavbarMobileMenuToggle.d.ts +3 -0
  171. package/Navbar/NavbarNavigationMenu.d.ts +9 -0
  172. package/Navbar/NavbarNavigationMenuItem.d.ts +9 -0
  173. package/Navbar/NavbarNinjaMenu.d.ts +6 -0
  174. package/Navbar/NavbarNinjaMenuItem.d.ts +6 -0
  175. package/Navbar/NavbarNotificationMenu.d.ts +12 -0
  176. package/Navbar/NavbarNotificationMenuItem.d.ts +8 -0
  177. package/Navbar/NavbarOverlaySearch.d.ts +28 -0
  178. package/Navbar/NavbarOverlaySearchCard.d.ts +9 -0
  179. package/Navbar/NavbarOverlaySearchResults.d.ts +12 -0
  180. package/Navbar/NavbarUserMenu.d.ts +9 -0
  181. package/Navbar/NavbarUserMenuItem.d.ts +6 -0
  182. package/Navbar/index.d.ts +1 -0
  183. package/Navbar/index.js +3521 -0
  184. package/Navbar/index.js.map +1 -0
  185. package/Pagination/Pagination.d.ts +27 -0
  186. package/Pagination/PaginationNext.d.ts +7 -0
  187. package/Pagination/PaginationPrev.d.ts +7 -0
  188. package/Pagination/index.d.ts +1 -0
  189. package/Pagination/index.js +994 -0
  190. package/Pagination/index.js.map +1 -0
  191. package/PieChart/PieChart.d.ts +71 -0
  192. package/PieChart/index.d.ts +1 -0
  193. package/PieChart/index.js +1986 -0
  194. package/PieChart/index.js.map +1 -0
  195. package/PublicFooter/PublicFooter.d.ts +6 -0
  196. package/PublicFooter/index.d.ts +1 -0
  197. package/PublicFooter/index.js +454 -0
  198. package/PublicFooter/index.js.map +1 -0
  199. package/PublicNavbar/PublicNavbar.d.ts +6 -0
  200. package/PublicNavbar/index.d.ts +1 -0
  201. package/PublicNavbar/index.js +255 -0
  202. package/PublicNavbar/index.js.map +1 -0
  203. package/RecordBit/RecordBit.d.ts +14 -0
  204. package/RecordBit/index.d.ts +1 -0
  205. package/RecordBit/index.js +482 -0
  206. package/RecordBit/index.js.map +1 -0
  207. package/ResultItemCard/ResultItemCard.d.ts +19 -0
  208. package/ResultItemCard/ResultItemCardActions.d.ts +3 -0
  209. package/ResultItemCard/ResultItemCardFooter.d.ts +6 -0
  210. package/ResultItemCard/ResultItemCardImage.d.ts +6 -0
  211. package/ResultItemCard/ResultItemCardSubtitle.d.ts +6 -0
  212. package/ResultItemCard/ResultItemCardText.d.ts +7 -0
  213. package/ResultItemCard/ResultItemCardTitle.d.ts +7 -0
  214. package/ResultItemCard/index.d.ts +1 -0
  215. package/ResultItemCard/index.js +1067 -0
  216. package/ResultItemCard/index.js.map +1 -0
  217. package/SelectDropdown/SelectDropdown.d.ts +29 -0
  218. package/SelectDropdown/index.d.ts +1 -0
  219. package/SelectDropdown/index.js +1520 -0
  220. package/SelectDropdown/index.js.map +1 -0
  221. package/Spinner/Spinner.d.ts +32 -0
  222. package/Spinner/index.d.ts +1 -0
  223. package/Spinner/index.js +325 -0
  224. package/Spinner/index.js.map +1 -0
  225. package/StatisticsItemCard/StatisticsItemCard.d.ts +35 -0
  226. package/StatisticsItemCard/index.d.ts +1 -0
  227. package/StatisticsItemCard/index.js +1786 -0
  228. package/StatisticsItemCard/index.js.map +1 -0
  229. package/StatisticsItemNumeric/StatisticsItemNumeric.d.ts +18 -0
  230. package/StatisticsItemNumeric/index.d.ts +1 -0
  231. package/StatisticsItemNumeric/index.js +283 -0
  232. package/StatisticsItemNumeric/index.js.map +1 -0
  233. package/StatisticsLegend/StatisticsLegend.d.ts +35 -0
  234. package/StatisticsLegend/StatisticsLegendItem.d.ts +50 -0
  235. package/StatisticsLegend/StatisticsSVGLegend.d.ts +26 -0
  236. package/StatisticsLegend/helpers.d.ts +19 -0
  237. package/StatisticsLegend/index.d.ts +3 -0
  238. package/StatisticsLegend/index.js +1571 -0
  239. package/StatisticsLegend/index.js.map +1 -0
  240. package/StatisticsTooltip/StatisticsTooltip.d.ts +20 -0
  241. package/StatisticsTooltip/helpers.d.ts +19 -0
  242. package/StatisticsTooltip/index.d.ts +2 -0
  243. package/StatisticsTooltip/index.js +796 -0
  244. package/StatisticsTooltip/index.js.map +1 -0
  245. package/Suggester/CustomOption.d.ts +29 -0
  246. package/Suggester/InputValueContainer.d.ts +11 -0
  247. package/Suggester/Suggester.d.ts +80 -0
  248. package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +6 -0
  249. package/Suggester/index.d.ts +3 -0
  250. package/Suggester/index.js +1126 -0
  251. package/Suggester/index.js.map +1 -0
  252. package/SunBurst/SunBurst.d.ts +61 -0
  253. package/SunBurst/index.d.ts +2 -0
  254. package/SunBurst/index.js +1170 -0
  255. package/SunBurst/index.js.map +1 -0
  256. package/TabSwitcher/TabSwitcher.d.ts +35 -0
  257. package/TabSwitcher/TabSwitcherChoice.d.ts +21 -0
  258. package/TabSwitcher/index.d.ts +1 -0
  259. package/TabSwitcher/index.js +1135 -0
  260. package/TabSwitcher/index.js.map +1 -0
  261. package/Title/Title.d.ts +16 -0
  262. package/Title/index.d.ts +1 -0
  263. package/Title/index.js +302 -0
  264. package/Title/index.js.map +1 -0
  265. package/ToggleButtonGroup/ToggleButton.d.ts +15 -0
  266. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +24 -0
  267. package/ToggleButtonGroup/index.d.ts +1 -0
  268. package/ToggleButtonGroup/index.js +609 -0
  269. package/ToggleButtonGroup/index.js.map +1 -0
  270. package/Tooltip/Tooltip.d.ts +20 -0
  271. package/Tooltip/index.d.ts +1 -0
  272. package/Tooltip/index.js +291 -0
  273. package/Tooltip/index.js.map +1 -0
  274. package/Utils/CommonTypes.d.ts +29 -0
  275. package/Utils/Statistics.d.ts +3 -0
  276. package/Utils/Style.d.ts +5 -0
  277. package/Utils/Text.d.ts +12 -0
  278. package/Utils/Utils.d.ts +12 -0
  279. package/Utils/index.d.ts +5 -0
  280. package/Utils/index.js +3379 -0
  281. package/Utils/index.js.map +1 -0
  282. package/atoka-design-system-2.0.72-beta.min.css +1 -0
  283. package/commonFixtures.d.ts +1 -0
  284. package/index.d.ts +51 -0
  285. package/index.js +15343 -0
  286. package/index.js.map +1 -0
  287. package/package.json +157 -0
  288. package/styles/animations-mixin.less +28 -0
  289. package/styles/atoka-bootstrap-fixed-mixins.less +81 -0
  290. package/styles/atoka-bootstrap-variables.less +70 -0
  291. package/styles/atoka-bs.less +99 -0
  292. package/styles/atoka-namespaced-bs.less +28 -0
  293. package/styles/variables.less +106 -0
  294. package/styles/variant-mixins.less +96 -0
@@ -0,0 +1,2066 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Col"), require("react-bootstrap/Container"), require("react-bootstrap/Form"), require("react-bootstrap/FormControl"), require("react-bootstrap/FormText"), require("react-bootstrap/Nav"), require("react-bootstrap/Row"), require("react-dom"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define("atoka-design-system", ["@fortawesome/react-fontawesome", "classnames", "react", "react-bootstrap/Col", "react-bootstrap/Container", "react-bootstrap/Form", "react-bootstrap/FormControl", "react-bootstrap/FormText", "react-bootstrap/Nav", "react-bootstrap/Row", "react-dom"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["atoka-design-system"] = factory(require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Col"), require("react-bootstrap/Container"), require("react-bootstrap/Form"), require("react-bootstrap/FormControl"), require("react-bootstrap/FormText"), require("react-bootstrap/Nav"), require("react-bootstrap/Row"), require("react-dom"));
8
+ else
9
+ root["atoka-design-system"] = factory(root["@fortawesome/react-fontawesome"], root["classnames"], root["react"], root["react-bootstrap/Col"], root["react-bootstrap/Container"], root["react-bootstrap/Form"], root["react-bootstrap/FormControl"], root["react-bootstrap/FormText"], root["react-bootstrap/Nav"], root["react-bootstrap/Row"], root["react-dom"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__5315__, __WEBPACK_EXTERNAL_MODULE__4394__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__, __WEBPACK_EXTERNAL_MODULE__573__, __WEBPACK_EXTERNAL_MODULE__3915__, __WEBPACK_EXTERNAL_MODULE__7111__) {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ var __webpack_modules__ = ({
13
+
14
+ /***/ 4882:
15
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16
+
17
+ "use strict";
18
+
19
+ // EXPORTS
20
+ __webpack_require__.d(__webpack_exports__, {
21
+ "Bs4V3Wrapper": () => (/* reexport */ Bs4V3Wrapper)
22
+ });
23
+
24
+ // EXTERNAL MODULE: external "react"
25
+ var external_react_ = __webpack_require__(8156);
26
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
27
+ // EXTERNAL MODULE: external "classnames"
28
+ var external_classnames_ = __webpack_require__(8310);
29
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
30
+ ;// CONCATENATED MODULE: ./src/components/Bs4V3Wrapper/Bs4V3Wrapper.tsx
31
+ var __extends = (undefined && undefined.__extends) || (function () {
32
+ var extendStatics = function (d, b) {
33
+ extendStatics = Object.setPrototypeOf ||
34
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
35
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
36
+ return extendStatics(d, b);
37
+ };
38
+ return function (d, b) {
39
+ extendStatics(d, b);
40
+ function __() { this.constructor = d; }
41
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
42
+ };
43
+ })();
44
+
45
+
46
+
47
+ var Bs4V3Wrapper = /** @class */ (function (_super) {
48
+ __extends(Bs4V3Wrapper, _super);
49
+ function Bs4V3Wrapper() {
50
+ return _super !== null && _super.apply(this, arguments) || this;
51
+ }
52
+ Bs4V3Wrapper.prototype.render = function () {
53
+ var className = external_classnames_default()('bs4-v3', this.props.className);
54
+ return external_react_default().createElement("div", { className: className }, this.props.children);
55
+ };
56
+ Bs4V3Wrapper.displayName = 'Bs4V3Wrapper';
57
+ return Bs4V3Wrapper;
58
+ }((external_react_default()).PureComponent));
59
+
60
+
61
+ ;// CONCATENATED MODULE: ./src/components/Bs4V3Wrapper/index.ts
62
+
63
+
64
+
65
+ /***/ }),
66
+
67
+ /***/ 6635:
68
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
69
+
70
+ "use strict";
71
+ // ESM COMPAT FLAG
72
+ __webpack_require__.r(__webpack_exports__);
73
+
74
+ // EXPORTS
75
+ __webpack_require__.d(__webpack_exports__, {
76
+ "DetailPage": () => (/* reexport */ DetailPage)
77
+ });
78
+
79
+ // EXTERNAL MODULE: external "react"
80
+ var external_react_ = __webpack_require__(8156);
81
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
82
+ // EXTERNAL MODULE: external "react-bootstrap/Container"
83
+ var Container_ = __webpack_require__(4394);
84
+ var Container_default = /*#__PURE__*/__webpack_require__.n(Container_);
85
+ // EXTERNAL MODULE: external "react-bootstrap/Row"
86
+ var Row_ = __webpack_require__(3915);
87
+ var Row_default = /*#__PURE__*/__webpack_require__.n(Row_);
88
+ // EXTERNAL MODULE: external "react-bootstrap/Col"
89
+ var Col_ = __webpack_require__(5315);
90
+ var Col_default = /*#__PURE__*/__webpack_require__.n(Col_);
91
+ // EXTERNAL MODULE: ./src/components/Bs4V3Wrapper/index.ts + 1 modules
92
+ var Bs4V3Wrapper = __webpack_require__(4882);
93
+ // EXTERNAL MODULE: ./src/components/Utils/Utils.tsx
94
+ var Utils = __webpack_require__(5654);
95
+ // EXTERNAL MODULE: ./src/components/FadeAnimation/index.ts + 1 modules
96
+ var FadeAnimation = __webpack_require__(1018);
97
+ ;// CONCATENATED MODULE: ./src/components/DetailPage/DetailPageHeaderContainer.tsx
98
+ var __extends = (undefined && undefined.__extends) || (function () {
99
+ var extendStatics = function (d, b) {
100
+ extendStatics = Object.setPrototypeOf ||
101
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
102
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
103
+ return extendStatics(d, b);
104
+ };
105
+ return function (d, b) {
106
+ extendStatics(d, b);
107
+ function __() { this.constructor = d; }
108
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
109
+ };
110
+ })();
111
+
112
+
113
+
114
+
115
+ /** Container component for the detail page header to be used as child of DetailPage. */
116
+ var DetailPageHeaderContainer = /** @class */ (function (_super) {
117
+ __extends(DetailPageHeaderContainer, _super);
118
+ function DetailPageHeaderContainer() {
119
+ return _super !== null && _super.apply(this, arguments) || this;
120
+ }
121
+ DetailPageHeaderContainer.prototype.render = function () {
122
+ return (external_react_default().createElement("div", { className: 'detail-page-header-container' },
123
+ external_react_default().createElement(FadeAnimation.FadeAnimation, null,
124
+ external_react_default().createElement((Container_default()), null, this.props.children))));
125
+ };
126
+ DetailPageHeaderContainer.displayName = 'DetailPageHeaderContainer';
127
+ return DetailPageHeaderContainer;
128
+ }((external_react_default()).PureComponent));
129
+
130
+
131
+ // EXTERNAL MODULE: external "react-bootstrap/Nav"
132
+ var Nav_ = __webpack_require__(573);
133
+ var Nav_default = /*#__PURE__*/__webpack_require__.n(Nav_);
134
+ ;// CONCATENATED MODULE: ./src/components/DetailPage/DetailPageMenuUI.tsx
135
+
136
+
137
+
138
+ var DetailPageMenuUI = function (props) {
139
+ return (external_react_default().createElement("div", { className: 'atoka-detail-page-menu' },
140
+ external_react_default().createElement((Nav_default()), { className: 'flex-column' }, props.children)));
141
+ };
142
+ DetailPageMenuUI.displayName = 'DetailPageMenuUI';
143
+ var DetailPageSubMenu = function (props) {
144
+ return external_react_default().createElement("div", { className: 'atoka-detail-page-sub-menu' }, props.children);
145
+ };
146
+ DetailPageSubMenu.displayName = 'DetailPageSubMenu';
147
+
148
+ ;// CONCATENATED MODULE: ./src/components/DetailPage/DetailPageBodyContainer.tsx
149
+
150
+
151
+ var DetailPageBodyContainer = function (props) {
152
+ return external_react_default().createElement((Col_default()), null, props.children);
153
+ };
154
+ DetailPageBodyContainer.displayName = 'DetailPageBodyContainer';
155
+
156
+ // EXTERNAL MODULE: ./src/components/Spinner/index.ts + 1 modules
157
+ var Spinner = __webpack_require__(4482);
158
+ ;// CONCATENATED MODULE: ./src/components/DetailPage/DetailPageHeaderUI.tsx
159
+ var DetailPageHeaderUI_extends = (undefined && undefined.__extends) || (function () {
160
+ var extendStatics = function (d, b) {
161
+ extendStatics = Object.setPrototypeOf ||
162
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
163
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
164
+ return extendStatics(d, b);
165
+ };
166
+ return function (d, b) {
167
+ extendStatics(d, b);
168
+ function __() { this.constructor = d; }
169
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
170
+ };
171
+ })();
172
+
173
+
174
+
175
+
176
+ /** Container component for the detail page header to be used as child of DetailPage. */
177
+ var DetailPageHeaderUI = /** @class */ (function (_super) {
178
+ DetailPageHeaderUI_extends(DetailPageHeaderUI, _super);
179
+ function DetailPageHeaderUI() {
180
+ return _super !== null && _super.apply(this, arguments) || this;
181
+ }
182
+ DetailPageHeaderUI.prototype.render = function () {
183
+ if (this.props.isLoading) {
184
+ // !This className is used in atoka-revenge smoke tests.
185
+ return (external_react_default().createElement("div", { className: 'user-pages-spinner-container d-flex h-100 justify-content-center align-items-center' },
186
+ external_react_default().createElement(Spinner.Spinner, { size: Spinner.SpinnerSize.small })));
187
+ }
188
+ return (external_react_default().createElement((Row_default()), null,
189
+ external_react_default().createElement((Col_default()), { xs: 4 }, this.props.leftContent),
190
+ external_react_default().createElement((Col_default()), { className: 'h-100 align-items-center' }, this.props.children),
191
+ external_react_default().createElement((Col_default()), { xs: 4 }, this.props.rightContent)));
192
+ };
193
+ DetailPageHeaderUI.displayName = 'DetailPageHeaderUI';
194
+ return DetailPageHeaderUI;
195
+ }((external_react_default()).PureComponent));
196
+
197
+
198
+ ;// CONCATENATED MODULE: ./src/components/DetailPage/DetailPageMenuContainer.tsx
199
+
200
+
201
+ var DetailPageMenuContainer = function (props) {
202
+ return external_react_default().createElement((Col_default()), { xs: 4 }, props.children);
203
+ };
204
+ DetailPageMenuContainer.displayName = 'DetailPageMenuContainer';
205
+
206
+ ;// CONCATENATED MODULE: ./src/components/DetailPage/DetailPageBodySection.tsx
207
+
208
+
209
+ var DetailPageBodySection = function (props) {
210
+ return external_react_default().createElement("div", { className: 'atoka-detail-page-body-section' }, props.children);
211
+ };
212
+ DetailPageBodySection.displayName = 'DetailPageBodySection';
213
+
214
+ ;// CONCATENATED MODULE: ./src/components/DetailPage/DetailPage.tsx
215
+ var DetailPage_extends = (undefined && undefined.__extends) || (function () {
216
+ var extendStatics = function (d, b) {
217
+ extendStatics = Object.setPrototypeOf ||
218
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
219
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
220
+ return extendStatics(d, b);
221
+ };
222
+ return function (d, b) {
223
+ extendStatics(d, b);
224
+ function __() { this.constructor = d; }
225
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
226
+ };
227
+ })();
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+ /** Container component to display detail pages.<br />
242
+ * You should use its special children DetailPageHeader, DetailPageMenu and DetailPageBody
243
+ * as containers for your stuff. */
244
+ var DetailPage = /** @class */ (function (_super) {
245
+ DetailPage_extends(DetailPage, _super);
246
+ function DetailPage() {
247
+ return _super !== null && _super.apply(this, arguments) || this;
248
+ }
249
+ DetailPage.prototype.renderOtherChildren = function () {
250
+ var ret = [];
251
+ external_react_default().Children.forEach(this.props.children, function (element) {
252
+ if ((element === null || element === void 0 ? void 0 : element.type) !== DetailPageMenuContainer &&
253
+ (element === null || element === void 0 ? void 0 : element.type) !== DetailPageHeaderContainer &&
254
+ (element === null || element === void 0 ? void 0 : element.type) !== DetailPageBodyContainer) {
255
+ ret.push(element);
256
+ }
257
+ });
258
+ if (ret.length === 0) {
259
+ return null;
260
+ }
261
+ return external_react_default().createElement((Col_default()), null, ret);
262
+ };
263
+ DetailPage.prototype.render = function () {
264
+ return (external_react_default().createElement(Bs4V3Wrapper.Bs4V3Wrapper, null,
265
+ external_react_default().createElement("div", { className: 'atoka-detail-page-container' },
266
+ (0,Utils/* findChildByComponent */.z8)(this.props.children, DetailPageHeaderContainer),
267
+ external_react_default().createElement((Container_default()), null,
268
+ external_react_default().createElement((Row_default()), null,
269
+ (0,Utils/* findChildByComponent */.z8)(this.props.children, DetailPageMenuContainer),
270
+ (0,Utils/* findChildByComponent */.z8)(this.props.children, DetailPageBodyContainer)),
271
+ this.renderOtherChildren()))));
272
+ };
273
+ DetailPage.displayName = 'DetailPage';
274
+ DetailPage.HeaderContainer = DetailPageHeaderContainer;
275
+ DetailPage.HeaderUI = DetailPageHeaderUI;
276
+ DetailPage.MenuContainer = DetailPageMenuContainer;
277
+ DetailPage.MenuUI = DetailPageMenuUI;
278
+ DetailPage.SubMenu = DetailPageSubMenu;
279
+ DetailPage.BodyContainer = DetailPageBodyContainer;
280
+ DetailPage.BodySection = DetailPageBodySection;
281
+ return DetailPage;
282
+ }((external_react_default()).PureComponent));
283
+
284
+
285
+ ;// CONCATENATED MODULE: ./src/components/DetailPage/index.ts
286
+
287
+
288
+
289
+ /***/ }),
290
+
291
+ /***/ 1018:
292
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
293
+
294
+ "use strict";
295
+
296
+ // EXPORTS
297
+ __webpack_require__.d(__webpack_exports__, {
298
+ "FadeAnimation": () => (/* reexport */ FadeAnimation)
299
+ });
300
+
301
+ // EXTERNAL MODULE: external "react"
302
+ var external_react_ = __webpack_require__(8156);
303
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
304
+ // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 5 modules
305
+ var CSSTransition = __webpack_require__(1750);
306
+ ;// CONCATENATED MODULE: ./src/components/FadeAnimation/FadeAnimation.tsx
307
+ var __extends = (undefined && undefined.__extends) || (function () {
308
+ var extendStatics = function (d, b) {
309
+ extendStatics = Object.setPrototypeOf ||
310
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
311
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
312
+ return extendStatics(d, b);
313
+ };
314
+ return function (d, b) {
315
+ extendStatics(d, b);
316
+ function __() { this.constructor = d; }
317
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
318
+ };
319
+ })();
320
+
321
+
322
+
323
+ var FadeAnimation = /** @class */ (function (_super) {
324
+ __extends(FadeAnimation, _super);
325
+ function FadeAnimation() {
326
+ return _super !== null && _super.apply(this, arguments) || this;
327
+ }
328
+ FadeAnimation.prototype.render = function () {
329
+ var _a = this.props, duration = _a.duration, appearDelay = _a.appearDelay, name = "atoka-fadein-" + duration + "-" + appearDelay;
330
+ return (external_react_default().createElement(CSSTransition/* default */.Z, { timeout: duration + appearDelay, classNames: name, in: this.props.in, appear: true }, this.props.children));
331
+ };
332
+ FadeAnimation.displayName = 'FadeAnimation';
333
+ FadeAnimation.defaultProps = {
334
+ duration: 600,
335
+ appearDelay: 0,
336
+ in: true,
337
+ };
338
+ return FadeAnimation;
339
+ }((external_react_default()).PureComponent));
340
+
341
+
342
+ ;// CONCATENATED MODULE: ./src/components/FadeAnimation/index.ts
343
+
344
+
345
+
346
+ /***/ }),
347
+
348
+ /***/ 9316:
349
+ /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
350
+
351
+ "use strict";
352
+
353
+ // UNUSED EXPORTS: Form
354
+
355
+ // EXTERNAL MODULE: external "react"
356
+ var external_react_ = __webpack_require__(8156);
357
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
358
+ // EXTERNAL MODULE: external "classnames"
359
+ var external_classnames_ = __webpack_require__(8310);
360
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
361
+ // EXTERNAL MODULE: external "react-bootstrap/Form"
362
+ var Form_ = __webpack_require__(8721);
363
+ var Form_default = /*#__PURE__*/__webpack_require__.n(Form_);
364
+ ;// CONCATENATED MODULE: ./src/components/Form/FormLabel.tsx
365
+
366
+
367
+
368
+
369
+ var FormLabel = external_react_default().memo(function (props) {
370
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-label');
371
+ return external_react_default().createElement((Form_default()).Label, { className: className }, props.children);
372
+ });
373
+ FormLabel.displayName = 'FormLabel';
374
+
375
+ // EXTERNAL MODULE: ./src/components/Form/FormControl.tsx + 1 modules
376
+ var FormControl = __webpack_require__(3422);
377
+ ;// CONCATENATED MODULE: ./src/components/Form/FormCheckbox.tsx
378
+ var __assign = (undefined && undefined.__assign) || function () {
379
+ __assign = Object.assign || function(t) {
380
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
381
+ s = arguments[i];
382
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
383
+ t[p] = s[p];
384
+ }
385
+ return t;
386
+ };
387
+ return __assign.apply(this, arguments);
388
+ };
389
+
390
+
391
+
392
+
393
+ var FormCheckbox = function (props) {
394
+ var _a;
395
+ var className = external_classnames_default()('atoka-form-checkbox', props === null || props === void 0 ? void 0 : props.className);
396
+ return external_react_default().createElement((Form_default()).Check, __assign({ type: 'checkbox' }, props, { custom: true, className: className, label: (_a = props.label) !== null && _a !== void 0 ? _a : '' }));
397
+ };
398
+ FormCheckbox.displayName = 'FormCheckbox';
399
+
400
+ ;// CONCATENATED MODULE: ./src/components/Form/FormRadio.tsx
401
+ var FormRadio_assign = (undefined && undefined.__assign) || function () {
402
+ FormRadio_assign = Object.assign || function(t) {
403
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
404
+ s = arguments[i];
405
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
406
+ t[p] = s[p];
407
+ }
408
+ return t;
409
+ };
410
+ return FormRadio_assign.apply(this, arguments);
411
+ };
412
+
413
+
414
+
415
+
416
+ var FormRadio = function (props) {
417
+ var _a;
418
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-radio');
419
+ return external_react_default().createElement((Form_default()).Check, FormRadio_assign({ type: 'radio' }, props, { custom: true, className: className, label: (_a = props.label) !== null && _a !== void 0 ? _a : '' }));
420
+ };
421
+ FormRadio.displayName = 'FormRadio';
422
+
423
+ // EXTERNAL MODULE: external "react-bootstrap/FormText"
424
+ var FormText_ = __webpack_require__(8763);
425
+ var FormText_default = /*#__PURE__*/__webpack_require__.n(FormText_);
426
+ ;// CONCATENATED MODULE: ./src/components/Form/FormHelp.tsx
427
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
428
+ var t = {};
429
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
430
+ t[p] = s[p];
431
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
432
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
433
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
434
+ t[p[i]] = s[p[i]];
435
+ }
436
+ return t;
437
+ };
438
+
439
+
440
+
441
+
442
+ var FormHelp = external_react_default().memo(function (_a) {
443
+ var children = _a.children, props = __rest(_a, ["children"]);
444
+ var className = external_classnames_default()('d-block', props === null || props === void 0 ? void 0 : props.className);
445
+ return (external_react_default().createElement((FormText_default()), { bsPrefix: 'atoka-form-help', className: className }, children));
446
+ });
447
+ FormHelp.displayName = 'FormHelp';
448
+
449
+ ;// CONCATENATED MODULE: ./src/components/Form/Form.tsx
450
+ var Form_assign = (undefined && undefined.__assign) || function () {
451
+ Form_assign = Object.assign || function(t) {
452
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
453
+ s = arguments[i];
454
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
455
+ t[p] = s[p];
456
+ }
457
+ return t;
458
+ };
459
+ return Form_assign.apply(this, arguments);
460
+ };
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+ var Form = function (props) {
471
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form');
472
+ return (external_react_default().createElement((Form_default()), Form_assign({}, props, { className: className }), props.children));
473
+ };
474
+ Form.displayName = 'Form';
475
+ Form.Control = FormControl/* FormControl */.N;
476
+ Form.Label = FormLabel;
477
+ Form.Checkbox = FormCheckbox;
478
+ Form.Radio = FormRadio;
479
+ Form.File = (Form_default()).File;
480
+ Form.Switch = (Form_default()).Switch;
481
+ Form.Help = FormHelp;
482
+ Form.Group = (Form_default()).Group;
483
+
484
+
485
+
486
+ /***/ }),
487
+
488
+ /***/ 3422:
489
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
490
+
491
+ "use strict";
492
+
493
+ // EXPORTS
494
+ __webpack_require__.d(__webpack_exports__, {
495
+ "N": () => (/* binding */ FormControl)
496
+ });
497
+
498
+ // EXTERNAL MODULE: external "react"
499
+ var external_react_ = __webpack_require__(8156);
500
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
501
+ // EXTERNAL MODULE: external "classnames"
502
+ var external_classnames_ = __webpack_require__(8310);
503
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
504
+ // EXTERNAL MODULE: external "react-bootstrap/FormControl"
505
+ var FormControl_ = __webpack_require__(1082);
506
+ var FormControl_default = /*#__PURE__*/__webpack_require__.n(FormControl_);
507
+ ;// CONCATENATED MODULE: ./src/components/Form/FormControlFeedBack.tsx
508
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
509
+ var t = {};
510
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
511
+ t[p] = s[p];
512
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
513
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
514
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
515
+ t[p[i]] = s[p[i]];
516
+ }
517
+ return t;
518
+ };
519
+
520
+
521
+
522
+ var FormControlFeedBack = external_react_default().memo(function (_a) {
523
+ var _b = _a.show, show = _b === void 0 ? true : _b, props = __rest(_a, ["show"]);
524
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-control-feedback', {
525
+ 'd-block': show,
526
+ });
527
+ return (external_react_default().createElement((FormControl_default()).Feedback, { type: props.type, className: className }, props.children));
528
+ });
529
+ FormControlFeedBack.displayName = ' FormControlFeedBack';
530
+
531
+ ;// CONCATENATED MODULE: ./src/components/Form/FormControl.tsx
532
+ var FormControl_rest = (undefined && undefined.__rest) || function (s, e) {
533
+ var t = {};
534
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
535
+ t[p] = s[p];
536
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
537
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
538
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
539
+ t[p[i]] = s[p[i]];
540
+ }
541
+ return t;
542
+ };
543
+
544
+
545
+
546
+
547
+
548
+ var FormControlComponent = external_react_default().forwardRef(function (_a, ref) {
549
+ var _b = _a.size, size = _b === void 0 ? 'md' : _b, props = FormControl_rest(_a, ["size"]);
550
+ var className = external_classnames_default()('atoka-form-control', props === null || props === void 0 ? void 0 : props.className, {
551
+ 'atoka-shadow': props.withShadow,
552
+ 'disabled': props.disabled,
553
+ });
554
+ return (external_react_default().createElement((FormControl_default()), { as: props.as, rows: props.rows, cols: props.cols, placeholder: props.placeholder, className: className, disabled: props.disabled, readOnly: props.readOnly, value: props.value, onChange: props.onChange, onKeyPress: props.onKeyPress, onKeyDown: props.onKeyDown, defaultValue: props.defaultValue, size: size === 'md' ? undefined : size, type: props.type, id: props.id, isValid: props.isValid, isInvalid: props.isInvalid, ref: ref, autoComplete: 'off' }, props.children));
555
+ });
556
+ FormControlComponent.displayName = 'FormControlComponent';
557
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
558
+ var FormControl = FormControlComponent;
559
+ FormControl.FeedBack = FormControlFeedBack;
560
+ FormControl.displayName = 'FormControl';
561
+
562
+
563
+
564
+ /***/ }),
565
+
566
+ /***/ 4482:
567
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
568
+
569
+ "use strict";
570
+
571
+ // EXPORTS
572
+ __webpack_require__.d(__webpack_exports__, {
573
+ "Spinner": () => (/* reexport */ Spinner),
574
+ "SpinnerSize": () => (/* reexport */ SpinnerSize)
575
+ });
576
+
577
+ // EXTERNAL MODULE: external "classnames"
578
+ var external_classnames_ = __webpack_require__(8310);
579
+ var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
580
+ // EXTERNAL MODULE: external "react"
581
+ var external_react_ = __webpack_require__(8156);
582
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
583
+ ;// CONCATENATED MODULE: ./src/components/Spinner/Spinner.tsx
584
+ var __extends = (undefined && undefined.__extends) || (function () {
585
+ var extendStatics = function (d, b) {
586
+ extendStatics = Object.setPrototypeOf ||
587
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
588
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
589
+ return extendStatics(d, b);
590
+ };
591
+ return function (d, b) {
592
+ extendStatics(d, b);
593
+ function __() { this.constructor = d; }
594
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
595
+ };
596
+ })();
597
+
598
+
599
+
600
+ var SpinnerSize;
601
+ (function (SpinnerSize) {
602
+ SpinnerSize[SpinnerSize["mini"] = 0] = "mini";
603
+ SpinnerSize[SpinnerSize["small"] = 1] = "small";
604
+ SpinnerSize[SpinnerSize["big"] = 2] = "big";
605
+ SpinnerSize[SpinnerSize["modal"] = 3] = "modal";
606
+ })(SpinnerSize || (SpinnerSize = {}));
607
+ /**
608
+ * ### Overview
609
+ *
610
+ * We can find two different spinners in the Atoka interface, small and big. The **small** one is used to show that a specific section inside the page is loading. The **big** spinner on the other hand shows when the whole page is loading.
611
+ *
612
+ * ### Best practice
613
+ *
614
+ * Use the spinner if the waiting time is between 0.1 and 1 second. After one second, the user gets the impression that the app is slow: in that case, use a progress indicator instead.
615
+ **/
616
+ var Spinner = /** @class */ (function (_super) {
617
+ __extends(Spinner, _super);
618
+ function Spinner() {
619
+ return _super !== null && _super.apply(this, arguments) || this;
620
+ }
621
+ Spinner.prototype.renderOnlyDotsSpinner = function (size) {
622
+ var className = 'atoka-spinner spinner-' + size + ' ' + this.props.className;
623
+ return (external_react_default().createElement("div", { className: className },
624
+ external_react_default().createElement("div", { className: 'spinner-dot1' },
625
+ external_react_default().createElement("div", { className: 'spinner-leaf' })),
626
+ external_react_default().createElement("div", { className: 'spinner-dot2' },
627
+ external_react_default().createElement("div", { className: 'spinner-leaf' })),
628
+ external_react_default().createElement("div", { className: 'spinner-dot3' },
629
+ external_react_default().createElement("div", { className: 'spinner-leaf' }))));
630
+ };
631
+ Spinner.prototype.renderSmall = function () {
632
+ return this.renderOnlyDotsSpinner('small');
633
+ };
634
+ Spinner.prototype.renderMini = function () {
635
+ return this.renderOnlyDotsSpinner('mini');
636
+ };
637
+ Spinner.prototype.renderLeaf = function () {
638
+ return (external_react_default().createElement("svg", { viewBox: '0 0 204.01 190.64', version: '1.1', xmlns: 'http://www.w3.org/2000/svg' },
639
+ external_react_default().createElement("g", { id: 'leaf' },
640
+ external_react_default().createElement("path", { d: 'M80.88,7.62a26,26,0,0,0-36.79,36.8,25.85,25.85,0,0,0,13.4,7.14V83.39c1.19,0,2.4-.08,3.62-.08,2.16,0,4.28.08,6.38.23v-32A26,26,0,0,0,80.88,7.62ZM73.81,37.35a16,16,0,1,1,0-22.66,15.92,15.92,0,0,1,0,22.66Z' }))));
641
+ };
642
+ Spinner.prototype.renderLetter = function () {
643
+ return (external_react_default().createElement("svg", { viewBox: '0 0 204.01 190.64', version: '1.1', xmlns: 'http://www.w3.org/2000/svg' },
644
+ external_react_default().createElement("g", { id: 'logo-vector' },
645
+ external_react_default().createElement("path", { d: 'M110.77,180.67V140.16a50.47,50.47,0,1,0-22,41.71L93.12,187a10,10,0,0,0,17.65-6.34Zm-81-40.51a30.5,30.5,0,1,1,30.5,30.5,30.49,30.49,0,0,1-30.5-30.5Z' }))));
646
+ };
647
+ Spinner.prototype.renderBig = function () {
648
+ var spinnerClassName = external_classnames_default()(this.props.className, {
649
+ 'atoka-spinner': true,
650
+ 'spinner-big': this.props.size === SpinnerSize.big,
651
+ 'spinner-medium': this.props.size === SpinnerSize.modal,
652
+ }), containerClassName = external_classnames_default()({
653
+ 'container-fluid spinner-modal': this.props.size === SpinnerSize.modal,
654
+ });
655
+ return (external_react_default().createElement("div", { className: containerClassName },
656
+ external_react_default().createElement("div", { className: spinnerClassName },
657
+ external_react_default().createElement("div", { className: 'spinner-dot1' },
658
+ external_react_default().createElement("div", { className: 'spinner-leaf' }, this.renderLeaf())),
659
+ external_react_default().createElement("div", { className: 'spinner-dot2' },
660
+ external_react_default().createElement("div", { className: 'spinner-leaf' }, this.renderLeaf())),
661
+ external_react_default().createElement("div", { className: 'spinner-dot3' },
662
+ external_react_default().createElement("div", { className: 'spinner-leaf' }, this.renderLeaf())),
663
+ external_react_default().createElement("span", { className: 'spinner-letter' }, this.renderLetter()))));
664
+ };
665
+ Spinner.prototype.render = function () {
666
+ switch (this.props.size) {
667
+ case SpinnerSize.mini:
668
+ return this.renderMini();
669
+ case SpinnerSize.small:
670
+ return this.renderSmall();
671
+ case SpinnerSize.big:
672
+ case SpinnerSize.modal:
673
+ return this.renderBig();
674
+ default:
675
+ return null;
676
+ }
677
+ };
678
+ Spinner.displayName = 'Spinner';
679
+ Spinner.defaultProps = {
680
+ size: SpinnerSize.small,
681
+ className: '',
682
+ };
683
+ return Spinner;
684
+ }((external_react_default()).Component));
685
+
686
+
687
+ ;// CONCATENATED MODULE: ./src/components/Spinner/index.ts
688
+
689
+
690
+
691
+ /***/ }),
692
+
693
+ /***/ 5654:
694
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
695
+
696
+ "use strict";
697
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
698
+ /* harmony export */ "z8": () => (/* binding */ findChildByComponent)
699
+ /* harmony export */ });
700
+ /* unused harmony exports findChildrenByComponent, hasChildIconOrCheckboxComponent, scrollToTop, zip, sortObjDesc, clone, getDebouncer, deepEqual, rgbToHex */
701
+ /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5692);
702
+ /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__);
703
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8156);
704
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
705
+ /* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9316);
706
+ var __read = (undefined && undefined.__read) || function (o, n) {
707
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
708
+ if (!m) return o;
709
+ var i = m.call(o), r, ar = [], e;
710
+ try {
711
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
712
+ }
713
+ catch (error) { e = { error: error }; }
714
+ finally {
715
+ try {
716
+ if (r && !r.done && (m = i["return"])) m.call(i);
717
+ }
718
+ finally { if (e) throw e.error; }
719
+ }
720
+ return ar;
721
+ };
722
+
723
+
724
+
725
+ function findChildrenByComponent(children,
726
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
727
+ component) {
728
+ var ret = [];
729
+ react__WEBPACK_IMPORTED_MODULE_1___default().Children.forEach(children, function (element) {
730
+ if ((element === null || element === void 0 ? void 0 : element.type) === component) {
731
+ ret.push(element);
732
+ }
733
+ });
734
+ return ret;
735
+ }
736
+ function findChildByComponent(children,
737
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
738
+ component) {
739
+ var _a, _b;
740
+ return (_b = (_a = findChildrenByComponent(children, component)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : null;
741
+ }
742
+ function hasChildIconOrCheckboxComponent(children) {
743
+ var ret = false;
744
+ React.Children.forEach(children, function (element) {
745
+ if ((element === null || element === void 0 ? void 0 : element.type) != null &&
746
+ ((element === null || element === void 0 ? void 0 : element.type) === FontAwesomeIcon || (element === null || element === void 0 ? void 0 : element.type) === 'i' || (element === null || element === void 0 ? void 0 : element.type) === Form.Checkbox)) {
747
+ ret = true;
748
+ return;
749
+ }
750
+ });
751
+ return ret;
752
+ }
753
+ function scrollToTop() {
754
+ window.scrollTo(0, 0);
755
+ }
756
+ function zip(arr1, arr2) {
757
+ var ret = [];
758
+ var i = 0;
759
+ while (arr1[i]) {
760
+ ret.push(arr1[i]);
761
+ ret.push(arr2[i++]);
762
+ }
763
+ return ret;
764
+ }
765
+ // eslint-disable-next-line @typescript-eslint/ban-types
766
+ function sortObjDesc(accessor) {
767
+ return function (a, b) {
768
+ var leftVal = 0, rightVal = 0;
769
+ if ((a === null || a === void 0 ? void 0 : a[accessor]) != null) {
770
+ leftVal = a === null || a === void 0 ? void 0 : a[accessor];
771
+ }
772
+ if ((b === null || b === void 0 ? void 0 : b[accessor]) != null) {
773
+ rightVal = b === null || b === void 0 ? void 0 : b[accessor];
774
+ }
775
+ return leftVal > rightVal ? -1 : 1;
776
+ };
777
+ }
778
+ function clone(ob) {
779
+ return JSON.parse(JSON.stringify(ob));
780
+ }
781
+ function getDebouncer(delay) {
782
+ if (delay === void 0) { delay = 1; }
783
+ var debounceTimeout = null;
784
+ return function debounce(f) {
785
+ if (debounceTimeout !== null) {
786
+ clearTimeout(debounceTimeout);
787
+ }
788
+ debounceTimeout = window.setTimeout(f, delay);
789
+ };
790
+ }
791
+ function isObject(obj) {
792
+ return typeof obj === 'object' && obj != null;
793
+ }
794
+ function deepEqual(obj1, obj2) {
795
+ if (obj1 === obj2) {
796
+ return true;
797
+ }
798
+ if (isObject(obj1) && isObject(obj2)) {
799
+ if (Object.keys(obj1).length !== Object.keys(obj2).length) {
800
+ return false;
801
+ }
802
+ for (var prop in obj1) {
803
+ if (!deepEqual(obj1[prop], obj2[prop])) {
804
+ return false;
805
+ }
806
+ }
807
+ return true;
808
+ }
809
+ return false;
810
+ }
811
+ function componentToHex(c) {
812
+ if (isNaN(c)) {
813
+ throw Error('The color has not been written correctly');
814
+ }
815
+ var hex = c.toString(16).toUpperCase();
816
+ return hex.length === 1 ? '0' + hex : hex;
817
+ }
818
+ function cleanSingleColor(c) {
819
+ return c.replace(/"|'/g, '').trim();
820
+ }
821
+ function rgbToHex(rgb) {
822
+ if (rgb.includes('rgba')) {
823
+ throw Error('not implemented');
824
+ }
825
+ var _a = __read(rgb
826
+ .replace('rgb', '')
827
+ .replace(/\(|\)/gi, '')
828
+ .split(',')
829
+ .map(function (c) { return parseInt(cleanSingleColor(c), 10); }), 3), _b = _a[0], r = _b === void 0 ? 0 : _b, _c = _a[1], g = _c === void 0 ? 0 : _c, _d = _a[2], b = _d === void 0 ? 0 : _d;
830
+ return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);
831
+ }
832
+
833
+
834
+ /***/ }),
835
+
836
+ /***/ 9112:
837
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
838
+
839
+ "use strict";
840
+ /**
841
+ * Copyright (c) 2013-present, Facebook, Inc.
842
+ *
843
+ * This source code is licensed under the MIT license found in the
844
+ * LICENSE file in the root directory of this source tree.
845
+ */
846
+
847
+
848
+ var ReactPropTypesSecret = __webpack_require__(5073);
849
+
850
+ function emptyFunction() {}
851
+
852
+ function emptyFunctionWithReset() {}
853
+
854
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
855
+
856
+ module.exports = function () {
857
+ function shim(props, propName, componentName, location, propFullName, secret) {
858
+ if (secret === ReactPropTypesSecret) {
859
+ // It is still safe when called from React.
860
+ return;
861
+ }
862
+
863
+ 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');
864
+ err.name = 'Invariant Violation';
865
+ throw err;
866
+ }
867
+
868
+ ;
869
+ shim.isRequired = shim;
870
+
871
+ function getShim() {
872
+ return shim;
873
+ }
874
+
875
+ ; // Important!
876
+ // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
877
+
878
+ var ReactPropTypes = {
879
+ array: shim,
880
+ bool: shim,
881
+ func: shim,
882
+ number: shim,
883
+ object: shim,
884
+ string: shim,
885
+ symbol: shim,
886
+ any: shim,
887
+ arrayOf: getShim,
888
+ element: shim,
889
+ elementType: shim,
890
+ instanceOf: getShim,
891
+ node: shim,
892
+ objectOf: getShim,
893
+ oneOf: getShim,
894
+ oneOfType: getShim,
895
+ shape: getShim,
896
+ exact: getShim,
897
+ checkPropTypes: emptyFunctionWithReset,
898
+ resetWarningCache: emptyFunction
899
+ };
900
+ ReactPropTypes.PropTypes = ReactPropTypes;
901
+ return ReactPropTypes;
902
+ };
903
+
904
+ /***/ }),
905
+
906
+ /***/ 8691:
907
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
908
+
909
+ /**
910
+ * Copyright (c) 2013-present, Facebook, Inc.
911
+ *
912
+ * This source code is licensed under the MIT license found in the
913
+ * LICENSE file in the root directory of this source tree.
914
+ */
915
+ if (false) { var throwOnDirectAccess, ReactIs; } else {
916
+ // By explicitly using `prop-types` you are opting into new production behavior.
917
+ // http://fb.me/prop-types-in-prod
918
+ module.exports = __webpack_require__(9112)();
919
+ }
920
+
921
+ /***/ }),
922
+
923
+ /***/ 5073:
924
+ /***/ ((module) => {
925
+
926
+ "use strict";
927
+ /**
928
+ * Copyright (c) 2013-present, Facebook, Inc.
929
+ *
930
+ * This source code is licensed under the MIT license found in the
931
+ * LICENSE file in the root directory of this source tree.
932
+ */
933
+
934
+
935
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
936
+ module.exports = ReactPropTypesSecret;
937
+
938
+ /***/ }),
939
+
940
+ /***/ 1750:
941
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
942
+
943
+ "use strict";
944
+
945
+ // EXPORTS
946
+ __webpack_require__.d(__webpack_exports__, {
947
+ "Z": () => (/* binding */ esm_CSSTransition)
948
+ });
949
+
950
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
951
+ var esm_extends = __webpack_require__(32);
952
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
953
+ var objectWithoutPropertiesLoose = __webpack_require__(7038);
954
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
955
+ var inheritsLoose = __webpack_require__(7581);
956
+ // EXTERNAL MODULE: ./node_modules/prop-types/index.js
957
+ var prop_types = __webpack_require__(8691);
958
+ ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/hasClass.js
959
+ function hasClass(element, className) {
960
+ if (element.classList) return !!className && element.classList.contains(className);
961
+ return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
962
+ }
963
+ ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/addClass.js
964
+
965
+ function addClass_addClass(element, className) {
966
+ 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);
967
+ }
968
+ ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/removeClass.js
969
+ function replaceClassName(origClass, classToRemove) {
970
+ return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, '');
971
+ }
972
+
973
+ function removeClass_removeClass(element, className) {
974
+ if (element.classList) {
975
+ element.classList.remove(className);
976
+ } else if (typeof element.className === 'string') {
977
+ ;
978
+ element.className = replaceClassName(element.className, className);
979
+ } else {
980
+ element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));
981
+ }
982
+ }
983
+ // EXTERNAL MODULE: external "react"
984
+ var external_react_ = __webpack_require__(8156);
985
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
986
+ // EXTERNAL MODULE: external "react-dom"
987
+ var external_react_dom_ = __webpack_require__(7111);
988
+ var external_react_dom_default = /*#__PURE__*/__webpack_require__.n(external_react_dom_);
989
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/config.js
990
+ /* harmony default export */ const config = ({
991
+ disabled: false
992
+ });
993
+ // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
994
+ var TransitionGroupContext = __webpack_require__(3493);
995
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/Transition.js
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+ var UNMOUNTED = 'unmounted';
1005
+ var EXITED = 'exited';
1006
+ var ENTERING = 'entering';
1007
+ var ENTERED = 'entered';
1008
+ var EXITING = 'exiting';
1009
+ /**
1010
+ * The Transition component lets you describe a transition from one component
1011
+ * state to another _over time_ with a simple declarative API. Most commonly
1012
+ * it's used to animate the mounting and unmounting of a component, but can also
1013
+ * be used to describe in-place transition states as well.
1014
+ *
1015
+ * ---
1016
+ *
1017
+ * **Note**: `Transition` is a platform-agnostic base component. If you're using
1018
+ * transitions in CSS, you'll probably want to use
1019
+ * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)
1020
+ * instead. It inherits all the features of `Transition`, but contains
1021
+ * additional features necessary to play nice with CSS transitions (hence the
1022
+ * name of the component).
1023
+ *
1024
+ * ---
1025
+ *
1026
+ * By default the `Transition` component does not alter the behavior of the
1027
+ * component it renders, it only tracks "enter" and "exit" states for the
1028
+ * components. It's up to you to give meaning and effect to those states. For
1029
+ * example we can add styles to a component when it enters or exits:
1030
+ *
1031
+ * ```jsx
1032
+ * import { Transition } from 'react-transition-group';
1033
+ *
1034
+ * const duration = 300;
1035
+ *
1036
+ * const defaultStyle = {
1037
+ * transition: `opacity ${duration}ms ease-in-out`,
1038
+ * opacity: 0,
1039
+ * }
1040
+ *
1041
+ * const transitionStyles = {
1042
+ * entering: { opacity: 1 },
1043
+ * entered: { opacity: 1 },
1044
+ * exiting: { opacity: 0 },
1045
+ * exited: { opacity: 0 },
1046
+ * };
1047
+ *
1048
+ * const Fade = ({ in: inProp }) => (
1049
+ * <Transition in={inProp} timeout={duration}>
1050
+ * {state => (
1051
+ * <div style={{
1052
+ * ...defaultStyle,
1053
+ * ...transitionStyles[state]
1054
+ * }}>
1055
+ * I'm a fade Transition!
1056
+ * </div>
1057
+ * )}
1058
+ * </Transition>
1059
+ * );
1060
+ * ```
1061
+ *
1062
+ * There are 4 main states a Transition can be in:
1063
+ * - `'entering'`
1064
+ * - `'entered'`
1065
+ * - `'exiting'`
1066
+ * - `'exited'`
1067
+ *
1068
+ * Transition state is toggled via the `in` prop. When `true` the component
1069
+ * begins the "Enter" stage. During this stage, the component will shift from
1070
+ * its current transition state, to `'entering'` for the duration of the
1071
+ * transition and then to the `'entered'` stage once it's complete. Let's take
1072
+ * the following example (we'll use the
1073
+ * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):
1074
+ *
1075
+ * ```jsx
1076
+ * function App() {
1077
+ * const [inProp, setInProp] = useState(false);
1078
+ * return (
1079
+ * <div>
1080
+ * <Transition in={inProp} timeout={500}>
1081
+ * {state => (
1082
+ * // ...
1083
+ * )}
1084
+ * </Transition>
1085
+ * <button onClick={() => setInProp(true)}>
1086
+ * Click to Enter
1087
+ * </button>
1088
+ * </div>
1089
+ * );
1090
+ * }
1091
+ * ```
1092
+ *
1093
+ * When the button is clicked the component will shift to the `'entering'` state
1094
+ * and stay there for 500ms (the value of `timeout`) before it finally switches
1095
+ * to `'entered'`.
1096
+ *
1097
+ * When `in` is `false` the same thing happens except the state moves from
1098
+ * `'exiting'` to `'exited'`.
1099
+ */
1100
+
1101
+ var Transition = /*#__PURE__*/function (_React$Component) {
1102
+ (0,inheritsLoose/* default */.Z)(Transition, _React$Component);
1103
+
1104
+ function Transition(props, context) {
1105
+ var _this;
1106
+
1107
+ _this = _React$Component.call(this, props, context) || this;
1108
+ var parentGroup = context; // In the context of a TransitionGroup all enters are really appears
1109
+
1110
+ var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
1111
+ var initialStatus;
1112
+ _this.appearStatus = null;
1113
+
1114
+ if (props["in"]) {
1115
+ if (appear) {
1116
+ initialStatus = EXITED;
1117
+ _this.appearStatus = ENTERING;
1118
+ } else {
1119
+ initialStatus = ENTERED;
1120
+ }
1121
+ } else {
1122
+ if (props.unmountOnExit || props.mountOnEnter) {
1123
+ initialStatus = UNMOUNTED;
1124
+ } else {
1125
+ initialStatus = EXITED;
1126
+ }
1127
+ }
1128
+
1129
+ _this.state = {
1130
+ status: initialStatus
1131
+ };
1132
+ _this.nextCallback = null;
1133
+ return _this;
1134
+ }
1135
+
1136
+ Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
1137
+ var nextIn = _ref["in"];
1138
+
1139
+ if (nextIn && prevState.status === UNMOUNTED) {
1140
+ return {
1141
+ status: EXITED
1142
+ };
1143
+ }
1144
+
1145
+ return null;
1146
+ } // getSnapshotBeforeUpdate(prevProps) {
1147
+ // let nextStatus = null
1148
+ // if (prevProps !== this.props) {
1149
+ // const { status } = this.state
1150
+ // if (this.props.in) {
1151
+ // if (status !== ENTERING && status !== ENTERED) {
1152
+ // nextStatus = ENTERING
1153
+ // }
1154
+ // } else {
1155
+ // if (status === ENTERING || status === ENTERED) {
1156
+ // nextStatus = EXITING
1157
+ // }
1158
+ // }
1159
+ // }
1160
+ // return { nextStatus }
1161
+ // }
1162
+ ;
1163
+
1164
+ var _proto = Transition.prototype;
1165
+
1166
+ _proto.componentDidMount = function componentDidMount() {
1167
+ this.updateStatus(true, this.appearStatus);
1168
+ };
1169
+
1170
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
1171
+ var nextStatus = null;
1172
+
1173
+ if (prevProps !== this.props) {
1174
+ var status = this.state.status;
1175
+
1176
+ if (this.props["in"]) {
1177
+ if (status !== ENTERING && status !== ENTERED) {
1178
+ nextStatus = ENTERING;
1179
+ }
1180
+ } else {
1181
+ if (status === ENTERING || status === ENTERED) {
1182
+ nextStatus = EXITING;
1183
+ }
1184
+ }
1185
+ }
1186
+
1187
+ this.updateStatus(false, nextStatus);
1188
+ };
1189
+
1190
+ _proto.componentWillUnmount = function componentWillUnmount() {
1191
+ this.cancelNextCallback();
1192
+ };
1193
+
1194
+ _proto.getTimeouts = function getTimeouts() {
1195
+ var timeout = this.props.timeout;
1196
+ var exit, enter, appear;
1197
+ exit = enter = appear = timeout;
1198
+
1199
+ if (timeout != null && typeof timeout !== 'number') {
1200
+ exit = timeout.exit;
1201
+ enter = timeout.enter; // TODO: remove fallback for next major
1202
+
1203
+ appear = timeout.appear !== undefined ? timeout.appear : enter;
1204
+ }
1205
+
1206
+ return {
1207
+ exit: exit,
1208
+ enter: enter,
1209
+ appear: appear
1210
+ };
1211
+ };
1212
+
1213
+ _proto.updateStatus = function updateStatus(mounting, nextStatus) {
1214
+ if (mounting === void 0) {
1215
+ mounting = false;
1216
+ }
1217
+
1218
+ if (nextStatus !== null) {
1219
+ // nextStatus will always be ENTERING or EXITING.
1220
+ this.cancelNextCallback();
1221
+
1222
+ if (nextStatus === ENTERING) {
1223
+ this.performEnter(mounting);
1224
+ } else {
1225
+ this.performExit();
1226
+ }
1227
+ } else if (this.props.unmountOnExit && this.state.status === EXITED) {
1228
+ this.setState({
1229
+ status: UNMOUNTED
1230
+ });
1231
+ }
1232
+ };
1233
+
1234
+ _proto.performEnter = function performEnter(mounting) {
1235
+ var _this2 = this;
1236
+
1237
+ var enter = this.props.enter;
1238
+ var appearing = this.context ? this.context.isMounting : mounting;
1239
+
1240
+ var _ref2 = this.props.nodeRef ? [appearing] : [external_react_dom_default().findDOMNode(this), appearing],
1241
+ maybeNode = _ref2[0],
1242
+ maybeAppearing = _ref2[1];
1243
+
1244
+ var timeouts = this.getTimeouts();
1245
+ var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
1246
+ // if we are mounting and running this it means appear _must_ be set
1247
+
1248
+ if (!mounting && !enter || config.disabled) {
1249
+ this.safeSetState({
1250
+ status: ENTERED
1251
+ }, function () {
1252
+ _this2.props.onEntered(maybeNode);
1253
+ });
1254
+ return;
1255
+ }
1256
+
1257
+ this.props.onEnter(maybeNode, maybeAppearing);
1258
+ this.safeSetState({
1259
+ status: ENTERING
1260
+ }, function () {
1261
+ _this2.props.onEntering(maybeNode, maybeAppearing);
1262
+
1263
+ _this2.onTransitionEnd(enterTimeout, function () {
1264
+ _this2.safeSetState({
1265
+ status: ENTERED
1266
+ }, function () {
1267
+ _this2.props.onEntered(maybeNode, maybeAppearing);
1268
+ });
1269
+ });
1270
+ });
1271
+ };
1272
+
1273
+ _proto.performExit = function performExit() {
1274
+ var _this3 = this;
1275
+
1276
+ var exit = this.props.exit;
1277
+ var timeouts = this.getTimeouts();
1278
+ var maybeNode = this.props.nodeRef ? undefined : external_react_dom_default().findDOMNode(this); // no exit animation skip right to EXITED
1279
+
1280
+ if (!exit || config.disabled) {
1281
+ this.safeSetState({
1282
+ status: EXITED
1283
+ }, function () {
1284
+ _this3.props.onExited(maybeNode);
1285
+ });
1286
+ return;
1287
+ }
1288
+
1289
+ this.props.onExit(maybeNode);
1290
+ this.safeSetState({
1291
+ status: EXITING
1292
+ }, function () {
1293
+ _this3.props.onExiting(maybeNode);
1294
+
1295
+ _this3.onTransitionEnd(timeouts.exit, function () {
1296
+ _this3.safeSetState({
1297
+ status: EXITED
1298
+ }, function () {
1299
+ _this3.props.onExited(maybeNode);
1300
+ });
1301
+ });
1302
+ });
1303
+ };
1304
+
1305
+ _proto.cancelNextCallback = function cancelNextCallback() {
1306
+ if (this.nextCallback !== null) {
1307
+ this.nextCallback.cancel();
1308
+ this.nextCallback = null;
1309
+ }
1310
+ };
1311
+
1312
+ _proto.safeSetState = function safeSetState(nextState, callback) {
1313
+ // This shouldn't be necessary, but there are weird race conditions with
1314
+ // setState callbacks and unmounting in testing, so always make sure that
1315
+ // we can cancel any pending setState callbacks after we unmount.
1316
+ callback = this.setNextCallback(callback);
1317
+ this.setState(nextState, callback);
1318
+ };
1319
+
1320
+ _proto.setNextCallback = function setNextCallback(callback) {
1321
+ var _this4 = this;
1322
+
1323
+ var active = true;
1324
+
1325
+ this.nextCallback = function (event) {
1326
+ if (active) {
1327
+ active = false;
1328
+ _this4.nextCallback = null;
1329
+ callback(event);
1330
+ }
1331
+ };
1332
+
1333
+ this.nextCallback.cancel = function () {
1334
+ active = false;
1335
+ };
1336
+
1337
+ return this.nextCallback;
1338
+ };
1339
+
1340
+ _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
1341
+ this.setNextCallback(handler);
1342
+ var node = this.props.nodeRef ? this.props.nodeRef.current : external_react_dom_default().findDOMNode(this);
1343
+ var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
1344
+
1345
+ if (!node || doesNotHaveTimeoutOrListener) {
1346
+ setTimeout(this.nextCallback, 0);
1347
+ return;
1348
+ }
1349
+
1350
+ if (this.props.addEndListener) {
1351
+ var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],
1352
+ maybeNode = _ref3[0],
1353
+ maybeNextCallback = _ref3[1];
1354
+
1355
+ this.props.addEndListener(maybeNode, maybeNextCallback);
1356
+ }
1357
+
1358
+ if (timeout != null) {
1359
+ setTimeout(this.nextCallback, timeout);
1360
+ }
1361
+ };
1362
+
1363
+ _proto.render = function render() {
1364
+ var status = this.state.status;
1365
+
1366
+ if (status === UNMOUNTED) {
1367
+ return null;
1368
+ }
1369
+
1370
+ var _this$props = this.props,
1371
+ children = _this$props.children,
1372
+ _in = _this$props["in"],
1373
+ _mountOnEnter = _this$props.mountOnEnter,
1374
+ _unmountOnExit = _this$props.unmountOnExit,
1375
+ _appear = _this$props.appear,
1376
+ _enter = _this$props.enter,
1377
+ _exit = _this$props.exit,
1378
+ _timeout = _this$props.timeout,
1379
+ _addEndListener = _this$props.addEndListener,
1380
+ _onEnter = _this$props.onEnter,
1381
+ _onEntering = _this$props.onEntering,
1382
+ _onEntered = _this$props.onEntered,
1383
+ _onExit = _this$props.onExit,
1384
+ _onExiting = _this$props.onExiting,
1385
+ _onExited = _this$props.onExited,
1386
+ _nodeRef = _this$props.nodeRef,
1387
+ childProps = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
1388
+
1389
+ return (
1390
+ /*#__PURE__*/
1391
+ // allows for nested Transitions
1392
+ external_react_default().createElement(TransitionGroupContext/* default.Provider */.Z.Provider, {
1393
+ value: null
1394
+ }, typeof children === 'function' ? children(status, childProps) : external_react_default().cloneElement(external_react_default().Children.only(children), childProps))
1395
+ );
1396
+ };
1397
+
1398
+ return Transition;
1399
+ }((external_react_default()).Component);
1400
+
1401
+ Transition.contextType = TransitionGroupContext/* default */.Z;
1402
+ Transition.propTypes = false ? 0 : {}; // Name the function so it is clearer in the documentation
1403
+
1404
+ function noop() {}
1405
+
1406
+ Transition.defaultProps = {
1407
+ "in": false,
1408
+ mountOnEnter: false,
1409
+ unmountOnExit: false,
1410
+ appear: false,
1411
+ enter: true,
1412
+ exit: true,
1413
+ onEnter: noop,
1414
+ onEntering: noop,
1415
+ onEntered: noop,
1416
+ onExit: noop,
1417
+ onExiting: noop,
1418
+ onExited: noop
1419
+ };
1420
+ Transition.UNMOUNTED = UNMOUNTED;
1421
+ Transition.EXITED = EXITED;
1422
+ Transition.ENTERING = ENTERING;
1423
+ Transition.ENTERED = ENTERED;
1424
+ Transition.EXITING = EXITING;
1425
+ /* harmony default export */ const esm_Transition = (Transition);
1426
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js
1427
+
1428
+
1429
+
1430
+
1431
+
1432
+
1433
+
1434
+
1435
+
1436
+
1437
+ var _addClass = function addClass(node, classes) {
1438
+ return node && classes && classes.split(' ').forEach(function (c) {
1439
+ return addClass_addClass(node, c);
1440
+ });
1441
+ };
1442
+
1443
+ var removeClass = function removeClass(node, classes) {
1444
+ return node && classes && classes.split(' ').forEach(function (c) {
1445
+ return removeClass_removeClass(node, c);
1446
+ });
1447
+ };
1448
+ /**
1449
+ * A transition component inspired by the excellent
1450
+ * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should
1451
+ * use it if you're using CSS transitions or animations. It's built upon the
1452
+ * [`Transition`](https://reactcommunity.org/react-transition-group/transition)
1453
+ * component, so it inherits all of its props.
1454
+ *
1455
+ * `CSSTransition` applies a pair of class names during the `appear`, `enter`,
1456
+ * and `exit` states of the transition. The first class is applied and then a
1457
+ * second `*-active` class in order to activate the CSS transition. After the
1458
+ * transition, matching `*-done` class names are applied to persist the
1459
+ * transition state.
1460
+ *
1461
+ * ```jsx
1462
+ * function App() {
1463
+ * const [inProp, setInProp] = useState(false);
1464
+ * return (
1465
+ * <div>
1466
+ * <CSSTransition in={inProp} timeout={200} classNames="my-node">
1467
+ * <div>
1468
+ * {"I'll receive my-node-* classes"}
1469
+ * </div>
1470
+ * </CSSTransition>
1471
+ * <button type="button" onClick={() => setInProp(true)}>
1472
+ * Click to Enter
1473
+ * </button>
1474
+ * </div>
1475
+ * );
1476
+ * }
1477
+ * ```
1478
+ *
1479
+ * When the `in` prop is set to `true`, the child component will first receive
1480
+ * the class `example-enter`, then the `example-enter-active` will be added in
1481
+ * the next tick. `CSSTransition` [forces a
1482
+ * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)
1483
+ * between before adding the `example-enter-active`. This is an important trick
1484
+ * because it allows us to transition between `example-enter` and
1485
+ * `example-enter-active` even though they were added immediately one after
1486
+ * another. Most notably, this is what makes it possible for us to animate
1487
+ * _appearance_.
1488
+ *
1489
+ * ```css
1490
+ * .my-node-enter {
1491
+ * opacity: 0;
1492
+ * }
1493
+ * .my-node-enter-active {
1494
+ * opacity: 1;
1495
+ * transition: opacity 200ms;
1496
+ * }
1497
+ * .my-node-exit {
1498
+ * opacity: 1;
1499
+ * }
1500
+ * .my-node-exit-active {
1501
+ * opacity: 0;
1502
+ * transition: opacity 200ms;
1503
+ * }
1504
+ * ```
1505
+ *
1506
+ * `*-active` classes represent which styles you want to animate **to**, so it's
1507
+ * important to add `transition` declaration only to them, otherwise transitions
1508
+ * might not behave as intended! This might not be obvious when the transitions
1509
+ * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in
1510
+ * the example above (minus `transition`), but it becomes apparent in more
1511
+ * complex transitions.
1512
+ *
1513
+ * **Note**: If you're using the
1514
+ * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)
1515
+ * prop, make sure to define styles for `.appear-*` classes as well.
1516
+ */
1517
+
1518
+
1519
+ var CSSTransition = /*#__PURE__*/function (_React$Component) {
1520
+ (0,inheritsLoose/* default */.Z)(CSSTransition, _React$Component);
1521
+
1522
+ function CSSTransition() {
1523
+ var _this;
1524
+
1525
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1526
+ args[_key] = arguments[_key];
1527
+ }
1528
+
1529
+ _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
1530
+ _this.appliedClasses = {
1531
+ appear: {},
1532
+ enter: {},
1533
+ exit: {}
1534
+ };
1535
+
1536
+ _this.onEnter = function (maybeNode, maybeAppearing) {
1537
+ var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),
1538
+ node = _this$resolveArgument[0],
1539
+ appearing = _this$resolveArgument[1];
1540
+
1541
+ _this.removeClasses(node, 'exit');
1542
+
1543
+ _this.addClass(node, appearing ? 'appear' : 'enter', 'base');
1544
+
1545
+ if (_this.props.onEnter) {
1546
+ _this.props.onEnter(maybeNode, maybeAppearing);
1547
+ }
1548
+ };
1549
+
1550
+ _this.onEntering = function (maybeNode, maybeAppearing) {
1551
+ var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),
1552
+ node = _this$resolveArgument2[0],
1553
+ appearing = _this$resolveArgument2[1];
1554
+
1555
+ var type = appearing ? 'appear' : 'enter';
1556
+
1557
+ _this.addClass(node, type, 'active');
1558
+
1559
+ if (_this.props.onEntering) {
1560
+ _this.props.onEntering(maybeNode, maybeAppearing);
1561
+ }
1562
+ };
1563
+
1564
+ _this.onEntered = function (maybeNode, maybeAppearing) {
1565
+ var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),
1566
+ node = _this$resolveArgument3[0],
1567
+ appearing = _this$resolveArgument3[1];
1568
+
1569
+ var type = appearing ? 'appear' : 'enter';
1570
+
1571
+ _this.removeClasses(node, type);
1572
+
1573
+ _this.addClass(node, type, 'done');
1574
+
1575
+ if (_this.props.onEntered) {
1576
+ _this.props.onEntered(maybeNode, maybeAppearing);
1577
+ }
1578
+ };
1579
+
1580
+ _this.onExit = function (maybeNode) {
1581
+ var _this$resolveArgument4 = _this.resolveArguments(maybeNode),
1582
+ node = _this$resolveArgument4[0];
1583
+
1584
+ _this.removeClasses(node, 'appear');
1585
+
1586
+ _this.removeClasses(node, 'enter');
1587
+
1588
+ _this.addClass(node, 'exit', 'base');
1589
+
1590
+ if (_this.props.onExit) {
1591
+ _this.props.onExit(maybeNode);
1592
+ }
1593
+ };
1594
+
1595
+ _this.onExiting = function (maybeNode) {
1596
+ var _this$resolveArgument5 = _this.resolveArguments(maybeNode),
1597
+ node = _this$resolveArgument5[0];
1598
+
1599
+ _this.addClass(node, 'exit', 'active');
1600
+
1601
+ if (_this.props.onExiting) {
1602
+ _this.props.onExiting(maybeNode);
1603
+ }
1604
+ };
1605
+
1606
+ _this.onExited = function (maybeNode) {
1607
+ var _this$resolveArgument6 = _this.resolveArguments(maybeNode),
1608
+ node = _this$resolveArgument6[0];
1609
+
1610
+ _this.removeClasses(node, 'exit');
1611
+
1612
+ _this.addClass(node, 'exit', 'done');
1613
+
1614
+ if (_this.props.onExited) {
1615
+ _this.props.onExited(maybeNode);
1616
+ }
1617
+ };
1618
+
1619
+ _this.resolveArguments = function (maybeNode, maybeAppearing) {
1620
+ return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`
1621
+ : [maybeNode, maybeAppearing];
1622
+ };
1623
+
1624
+ _this.getClassNames = function (type) {
1625
+ var classNames = _this.props.classNames;
1626
+ var isStringClassNames = typeof classNames === 'string';
1627
+ var prefix = isStringClassNames && classNames ? classNames + "-" : '';
1628
+ var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type];
1629
+ var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"];
1630
+ var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"];
1631
+ return {
1632
+ baseClassName: baseClassName,
1633
+ activeClassName: activeClassName,
1634
+ doneClassName: doneClassName
1635
+ };
1636
+ };
1637
+
1638
+ return _this;
1639
+ }
1640
+
1641
+ var _proto = CSSTransition.prototype;
1642
+
1643
+ _proto.addClass = function addClass(node, type, phase) {
1644
+ var className = this.getClassNames(type)[phase + "ClassName"];
1645
+
1646
+ var _this$getClassNames = this.getClassNames('enter'),
1647
+ doneClassName = _this$getClassNames.doneClassName;
1648
+
1649
+ if (type === 'appear' && phase === 'done' && doneClassName) {
1650
+ className += " " + doneClassName;
1651
+ } // This is for to force a repaint,
1652
+ // which is necessary in order to transition styles when adding a class name.
1653
+
1654
+
1655
+ if (phase === 'active') {
1656
+ /* eslint-disable no-unused-expressions */
1657
+ node && node.scrollTop;
1658
+ }
1659
+
1660
+ if (className) {
1661
+ this.appliedClasses[type][phase] = className;
1662
+
1663
+ _addClass(node, className);
1664
+ }
1665
+ };
1666
+
1667
+ _proto.removeClasses = function removeClasses(node, type) {
1668
+ var _this$appliedClasses$ = this.appliedClasses[type],
1669
+ baseClassName = _this$appliedClasses$.base,
1670
+ activeClassName = _this$appliedClasses$.active,
1671
+ doneClassName = _this$appliedClasses$.done;
1672
+ this.appliedClasses[type] = {};
1673
+
1674
+ if (baseClassName) {
1675
+ removeClass(node, baseClassName);
1676
+ }
1677
+
1678
+ if (activeClassName) {
1679
+ removeClass(node, activeClassName);
1680
+ }
1681
+
1682
+ if (doneClassName) {
1683
+ removeClass(node, doneClassName);
1684
+ }
1685
+ };
1686
+
1687
+ _proto.render = function render() {
1688
+ var _this$props = this.props,
1689
+ _ = _this$props.classNames,
1690
+ props = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["classNames"]);
1691
+
1692
+ return /*#__PURE__*/external_react_default().createElement(esm_Transition, (0,esm_extends/* default */.Z)({}, props, {
1693
+ onEnter: this.onEnter,
1694
+ onEntered: this.onEntered,
1695
+ onEntering: this.onEntering,
1696
+ onExit: this.onExit,
1697
+ onExiting: this.onExiting,
1698
+ onExited: this.onExited
1699
+ }));
1700
+ };
1701
+
1702
+ return CSSTransition;
1703
+ }((external_react_default()).Component);
1704
+
1705
+ CSSTransition.defaultProps = {
1706
+ classNames: ''
1707
+ };
1708
+ CSSTransition.propTypes = false ? 0 : {};
1709
+ /* harmony default export */ const esm_CSSTransition = (CSSTransition);
1710
+
1711
+ /***/ }),
1712
+
1713
+ /***/ 3493:
1714
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1715
+
1716
+ "use strict";
1717
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1718
+ /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
1719
+ /* harmony export */ });
1720
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
1721
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1722
+
1723
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (react__WEBPACK_IMPORTED_MODULE_0___default().createContext(null));
1724
+
1725
+ /***/ }),
1726
+
1727
+ /***/ 5692:
1728
+ /***/ ((module) => {
1729
+
1730
+ "use strict";
1731
+ module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
1732
+
1733
+ /***/ }),
1734
+
1735
+ /***/ 8310:
1736
+ /***/ ((module) => {
1737
+
1738
+ "use strict";
1739
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
1740
+
1741
+ /***/ }),
1742
+
1743
+ /***/ 8156:
1744
+ /***/ ((module) => {
1745
+
1746
+ "use strict";
1747
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
1748
+
1749
+ /***/ }),
1750
+
1751
+ /***/ 5315:
1752
+ /***/ ((module) => {
1753
+
1754
+ "use strict";
1755
+ module.exports = __WEBPACK_EXTERNAL_MODULE__5315__;
1756
+
1757
+ /***/ }),
1758
+
1759
+ /***/ 4394:
1760
+ /***/ ((module) => {
1761
+
1762
+ "use strict";
1763
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4394__;
1764
+
1765
+ /***/ }),
1766
+
1767
+ /***/ 8721:
1768
+ /***/ ((module) => {
1769
+
1770
+ "use strict";
1771
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;
1772
+
1773
+ /***/ }),
1774
+
1775
+ /***/ 1082:
1776
+ /***/ ((module) => {
1777
+
1778
+ "use strict";
1779
+ module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;
1780
+
1781
+ /***/ }),
1782
+
1783
+ /***/ 8763:
1784
+ /***/ ((module) => {
1785
+
1786
+ "use strict";
1787
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
1788
+
1789
+ /***/ }),
1790
+
1791
+ /***/ 573:
1792
+ /***/ ((module) => {
1793
+
1794
+ "use strict";
1795
+ module.exports = __WEBPACK_EXTERNAL_MODULE__573__;
1796
+
1797
+ /***/ }),
1798
+
1799
+ /***/ 3915:
1800
+ /***/ ((module) => {
1801
+
1802
+ "use strict";
1803
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3915__;
1804
+
1805
+ /***/ }),
1806
+
1807
+ /***/ 7111:
1808
+ /***/ ((module) => {
1809
+
1810
+ "use strict";
1811
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7111__;
1812
+
1813
+ /***/ }),
1814
+
1815
+ /***/ 32:
1816
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1817
+
1818
+ "use strict";
1819
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1820
+ /* harmony export */ "Z": () => (/* binding */ _extends)
1821
+ /* harmony export */ });
1822
+ function _extends() {
1823
+ _extends = Object.assign || function (target) {
1824
+ for (var i = 1; i < arguments.length; i++) {
1825
+ var source = arguments[i];
1826
+
1827
+ for (var key in source) {
1828
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1829
+ target[key] = source[key];
1830
+ }
1831
+ }
1832
+ }
1833
+
1834
+ return target;
1835
+ };
1836
+
1837
+ return _extends.apply(this, arguments);
1838
+ }
1839
+
1840
+ /***/ }),
1841
+
1842
+ /***/ 7581:
1843
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1844
+
1845
+ "use strict";
1846
+
1847
+ // EXPORTS
1848
+ __webpack_require__.d(__webpack_exports__, {
1849
+ "Z": () => (/* binding */ _inheritsLoose)
1850
+ });
1851
+
1852
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
1853
+ function _setPrototypeOf(o, p) {
1854
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
1855
+ o.__proto__ = p;
1856
+ return o;
1857
+ };
1858
+
1859
+ return _setPrototypeOf(o, p);
1860
+ }
1861
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
1862
+
1863
+ function _inheritsLoose(subClass, superClass) {
1864
+ subClass.prototype = Object.create(superClass.prototype);
1865
+ subClass.prototype.constructor = subClass;
1866
+ _setPrototypeOf(subClass, superClass);
1867
+ }
1868
+
1869
+ /***/ }),
1870
+
1871
+ /***/ 7038:
1872
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1873
+
1874
+ "use strict";
1875
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1876
+ /* harmony export */ "Z": () => (/* binding */ _objectWithoutPropertiesLoose)
1877
+ /* harmony export */ });
1878
+ function _objectWithoutPropertiesLoose(source, excluded) {
1879
+ if (source == null) return {};
1880
+ var target = {};
1881
+ var sourceKeys = Object.keys(source);
1882
+ var key, i;
1883
+
1884
+ for (i = 0; i < sourceKeys.length; i++) {
1885
+ key = sourceKeys[i];
1886
+ if (excluded.indexOf(key) >= 0) continue;
1887
+ target[key] = source[key];
1888
+ }
1889
+
1890
+ return target;
1891
+ }
1892
+
1893
+ /***/ })
1894
+
1895
+ /******/ });
1896
+ /************************************************************************/
1897
+ /******/ // The module cache
1898
+ /******/ var __webpack_module_cache__ = {};
1899
+ /******/
1900
+ /******/ // The require function
1901
+ /******/ function __webpack_require__(moduleId) {
1902
+ /******/ // Check if module is in cache
1903
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
1904
+ /******/ if (cachedModule !== undefined) {
1905
+ /******/ return cachedModule.exports;
1906
+ /******/ }
1907
+ /******/ // Create a new module (and put it into the cache)
1908
+ /******/ var module = __webpack_module_cache__[moduleId] = {
1909
+ /******/ // no module.id needed
1910
+ /******/ // no module.loaded needed
1911
+ /******/ exports: {}
1912
+ /******/ };
1913
+ /******/
1914
+ /******/ // Execute the module function
1915
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1916
+ /******/
1917
+ /******/ // Return the exports of the module
1918
+ /******/ return module.exports;
1919
+ /******/ }
1920
+ /******/
1921
+ /******/ // expose the modules object (__webpack_modules__)
1922
+ /******/ __webpack_require__.m = __webpack_modules__;
1923
+ /******/
1924
+ /************************************************************************/
1925
+ /******/ /* webpack/runtime/chunk loaded */
1926
+ /******/ (() => {
1927
+ /******/ var deferred = [];
1928
+ /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
1929
+ /******/ if(chunkIds) {
1930
+ /******/ priority = priority || 0;
1931
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
1932
+ /******/ deferred[i] = [chunkIds, fn, priority];
1933
+ /******/ return;
1934
+ /******/ }
1935
+ /******/ var notFulfilled = Infinity;
1936
+ /******/ for (var i = 0; i < deferred.length; i++) {
1937
+ /******/ var [chunkIds, fn, priority] = deferred[i];
1938
+ /******/ var fulfilled = true;
1939
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
1940
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
1941
+ /******/ chunkIds.splice(j--, 1);
1942
+ /******/ } else {
1943
+ /******/ fulfilled = false;
1944
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
1945
+ /******/ }
1946
+ /******/ }
1947
+ /******/ if(fulfilled) {
1948
+ /******/ deferred.splice(i--, 1)
1949
+ /******/ var r = fn();
1950
+ /******/ if (r !== undefined) result = r;
1951
+ /******/ }
1952
+ /******/ }
1953
+ /******/ return result;
1954
+ /******/ };
1955
+ /******/ })();
1956
+ /******/
1957
+ /******/ /* webpack/runtime/compat get default export */
1958
+ /******/ (() => {
1959
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
1960
+ /******/ __webpack_require__.n = (module) => {
1961
+ /******/ var getter = module && module.__esModule ?
1962
+ /******/ () => (module['default']) :
1963
+ /******/ () => (module);
1964
+ /******/ __webpack_require__.d(getter, { a: getter });
1965
+ /******/ return getter;
1966
+ /******/ };
1967
+ /******/ })();
1968
+ /******/
1969
+ /******/ /* webpack/runtime/define property getters */
1970
+ /******/ (() => {
1971
+ /******/ // define getter functions for harmony exports
1972
+ /******/ __webpack_require__.d = (exports, definition) => {
1973
+ /******/ for(var key in definition) {
1974
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1975
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1976
+ /******/ }
1977
+ /******/ }
1978
+ /******/ };
1979
+ /******/ })();
1980
+ /******/
1981
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
1982
+ /******/ (() => {
1983
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1984
+ /******/ })();
1985
+ /******/
1986
+ /******/ /* webpack/runtime/make namespace object */
1987
+ /******/ (() => {
1988
+ /******/ // define __esModule on exports
1989
+ /******/ __webpack_require__.r = (exports) => {
1990
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1991
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1992
+ /******/ }
1993
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
1994
+ /******/ };
1995
+ /******/ })();
1996
+ /******/
1997
+ /******/ /* webpack/runtime/jsonp chunk loading */
1998
+ /******/ (() => {
1999
+ /******/ // no baseURI
2000
+ /******/
2001
+ /******/ // object to store loaded and loading chunks
2002
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
2003
+ /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
2004
+ /******/ var installedChunks = {
2005
+ /******/ 904: 0,
2006
+ /******/ 4548: 0,
2007
+ /******/ 5853: 0,
2008
+ /******/ 410: 0,
2009
+ /******/ 1981: 0
2010
+ /******/ };
2011
+ /******/
2012
+ /******/ // no chunk on demand loading
2013
+ /******/
2014
+ /******/ // no prefetching
2015
+ /******/
2016
+ /******/ // no preloaded
2017
+ /******/
2018
+ /******/ // no HMR
2019
+ /******/
2020
+ /******/ // no HMR manifest
2021
+ /******/
2022
+ /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
2023
+ /******/
2024
+ /******/ // install a JSONP callback for chunk loading
2025
+ /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
2026
+ /******/ var [chunkIds, moreModules, runtime] = data;
2027
+ /******/ // add "moreModules" to the modules object,
2028
+ /******/ // then flag all "chunkIds" as loaded and fire callback
2029
+ /******/ var moduleId, chunkId, i = 0;
2030
+ /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
2031
+ /******/ for(moduleId in moreModules) {
2032
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
2033
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
2034
+ /******/ }
2035
+ /******/ }
2036
+ /******/ if(runtime) var result = runtime(__webpack_require__);
2037
+ /******/ }
2038
+ /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
2039
+ /******/ for(;i < chunkIds.length; i++) {
2040
+ /******/ chunkId = chunkIds[i];
2041
+ /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
2042
+ /******/ installedChunks[chunkId][0]();
2043
+ /******/ }
2044
+ /******/ installedChunks[chunkIds[i]] = 0;
2045
+ /******/ }
2046
+ /******/ return __webpack_require__.O(result);
2047
+ /******/ }
2048
+ /******/
2049
+ /******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
2050
+ /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
2051
+ /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
2052
+ /******/ })();
2053
+ /******/
2054
+ /************************************************************************/
2055
+ /******/
2056
+ /******/ // startup
2057
+ /******/ // Load entry module and return exports
2058
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
2059
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(6635)))
2060
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
2061
+ /******/
2062
+ /******/ return __webpack_exports__;
2063
+ /******/ })()
2064
+ ;
2065
+ });
2066
+ //# sourceMappingURL=index.js.map