intelicoreact 1.4.13 → 1.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/dist/Atomic/FormElements/ActionAlert/ActionAlert.js +1 -9
  2. package/dist/Atomic/FormElements/AdvancedStatus/AdvancedStatus.js +1 -10
  3. package/dist/Atomic/FormElements/Calendar/Calendar.js +4 -24
  4. package/dist/Atomic/FormElements/CheckboxInput/CheckboxInput.js +1 -10
  5. package/dist/Atomic/FormElements/CheckboxesLine/CheckboxesLine.js +2 -14
  6. package/dist/Atomic/FormElements/Datepicker/Datepicker.js +5 -54
  7. package/dist/Atomic/FormElements/Datepicker/components/Calendar.js +3 -21
  8. package/dist/Atomic/FormElements/Dropdown/Dropdown.js +51 -144
  9. package/dist/Atomic/FormElements/Dropdown/components/DropdownLoader.js +1 -7
  10. package/dist/Atomic/FormElements/DropdownLiveSearch/DropdownLiveSearch.js +25 -91
  11. package/dist/Atomic/FormElements/FileLoader/FileLoader.js +3 -15
  12. package/dist/Atomic/FormElements/FileLoader/partial/LoadZone.js +15 -29
  13. package/dist/Atomic/FormElements/FileLoader/partial/LoadedContent.js +5 -15
  14. package/dist/Atomic/FormElements/FileLoaderLocal/FileLoaderLocal.js +6 -26
  15. package/dist/Atomic/FormElements/FileLoaderLocalGroup/FileLoaderLocalGroup.js +19 -35
  16. package/dist/Atomic/FormElements/FormattedRawSSN/FormattedRawSSN.js +9 -38
  17. package/dist/Atomic/FormElements/Input/Input.js +25 -60
  18. package/dist/Atomic/FormElements/InputCalendar/InputCalendar.js +4 -31
  19. package/dist/Atomic/FormElements/InputColor/InputColor.js +4 -14
  20. package/dist/Atomic/FormElements/InputCurrency/InputCurrency.js +6 -29
  21. package/dist/Atomic/FormElements/InputDateRange/InputDateRange.js +8 -43
  22. package/dist/Atomic/FormElements/InputDateRange/components/DateInput.js +3 -21
  23. package/dist/Atomic/FormElements/InputDateRange/components/Datepicker.js +58 -81
  24. package/dist/Atomic/FormElements/InputDateRange/components/OpenedPart.js +6 -41
  25. package/dist/Atomic/FormElements/InputDateRange/components/SelectItem.js +1 -8
  26. package/dist/Atomic/FormElements/InputDateRange/dependencies.js +21 -51
  27. package/dist/Atomic/FormElements/InputLink/InputLink.js +6 -23
  28. package/dist/Atomic/FormElements/InputMask/InputCarretPosition.js +0 -4
  29. package/dist/Atomic/FormElements/InputMask/InputMask.js +77 -208
  30. package/dist/Atomic/FormElements/InputMask/functions.js +2 -28
  31. package/dist/Atomic/FormElements/InputMask2/InputMask2.js +43 -119
  32. package/dist/Atomic/FormElements/InputMask2/functions.js +2 -28
  33. package/dist/Atomic/FormElements/InputMask3/InputMask3.js +44 -137
  34. package/dist/Atomic/FormElements/InputMask3/functions.js +2 -28
  35. package/dist/Atomic/FormElements/InputWithAction/InputWithAction.js +3 -17
  36. package/dist/Atomic/FormElements/InputsRow/InputsRow.js +5 -24
  37. package/dist/Atomic/FormElements/Label/Label.js +1 -9
  38. package/dist/Atomic/FormElements/MobileCalendar/MobileCalendar.js +35 -73
  39. package/dist/Atomic/FormElements/MultiSelect/MultiSelect.js +3 -15
  40. package/dist/Atomic/FormElements/NumericInput/NumericInput.js +23 -44
  41. package/dist/Atomic/FormElements/RadioGroup/RadioGroup.js +7 -17
  42. package/dist/Atomic/FormElements/RadioGroupWithInput/RadioGroupWithInput.js +3 -14
  43. package/dist/Atomic/FormElements/RadioInput/RadioInput.js +1 -10
  44. package/dist/Atomic/FormElements/RadioRowSwitcher/RadioRowSwitcher.js +3 -14
  45. package/dist/Atomic/FormElements/RangeCalendar/RangeCalendar.js +3 -23
  46. package/dist/Atomic/FormElements/RangeInputs/RangeInputs.js +17 -34
  47. package/dist/Atomic/FormElements/RangeList/RangeList.js +6 -25
  48. package/dist/Atomic/FormElements/RangeList/partial/RangeListRow.js +1 -11
  49. package/dist/Atomic/FormElements/RangeSlider/RangeSlider.js +14 -85
  50. package/dist/Atomic/FormElements/RangeSlider2/RangeSlider2.js +43 -132
  51. package/dist/Atomic/FormElements/SwitchableRow/SwitchableRow.js +1 -10
  52. package/dist/Atomic/FormElements/Switcher/Switcher.js +1 -10
  53. package/dist/Atomic/FormElements/SwitcherCheckbox/SwitcherCheckbox.js +1 -13
  54. package/dist/Atomic/FormElements/SwitcherHide/SwitcherHide.js +1 -10
  55. package/dist/Atomic/FormElements/SwitcherRadio/SwitcherRadio.js +2 -17
  56. package/dist/Atomic/FormElements/SwitcherRange/SwitcherRange.js +3 -17
  57. package/dist/Atomic/FormElements/SwitcherRangeList/SwitcherRangeList.js +1 -11
  58. package/dist/Atomic/FormElements/SwitcherTagsDropdown/SwitcherTagsDropdown.js +6 -29
  59. package/dist/Atomic/FormElements/SwitcherTagsDropdown/partial/States.js +2 -3
  60. package/dist/Atomic/FormElements/SwitcherTextarea/SwitcherTextarea.js +1 -12
  61. package/dist/Atomic/FormElements/TagListToDropdown/TagListToDropdown.js +8 -30
  62. package/dist/Atomic/FormElements/TagsDropdown/TagsDropdown.js +96 -187
  63. package/dist/Atomic/FormElements/Text/Text.js +10 -16
  64. package/dist/Atomic/FormElements/TextSwitcher/TextSwitcher.js +1 -9
  65. package/dist/Atomic/FormElements/Textarea/Textarea.js +3 -17
  66. package/dist/Atomic/FormElements/TieredCheckboxes/TieredCheckboxes.js +6 -35
  67. package/dist/Atomic/FormElements/TieredCheckboxes/partial/AccordionWithCheckbox.js +4 -13
  68. package/dist/Atomic/FormElements/TimeRange/TimeRange.js +7 -21
  69. package/dist/Atomic/FormElements/UserContacts/UserContacts.js +8 -35
  70. package/dist/Atomic/FormElements/VariantsListRadio/VariantsListRadio.js +5 -18
  71. package/dist/Atomic/FormElements/VariantsListRadio/partials/VariantsListRadioItem.js +3 -10
  72. package/dist/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.js +3 -11
  73. package/dist/Atomic/FormElements/WidgetPseudoTable/partial/constructor.js +1 -2
  74. package/dist/Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.js +5 -12
  75. package/dist/Atomic/FormElements/WidgetWithSwitchableRows/partial/constructor.js +3 -3
  76. package/dist/Atomic/Layout/Header/Header.js +3 -15
  77. package/dist/Atomic/Layout/MainMenu/MainMenu.js +3 -20
  78. package/dist/Atomic/Layout/Spinner/Spinner.js +1 -8
  79. package/dist/Atomic/UI/Accordion/Accordion.js +3 -19
  80. package/dist/Atomic/UI/Accordion/AccordionItem.js +9 -23
  81. package/dist/Atomic/UI/AccordionTable/AccordionTable.js +7 -32
  82. package/dist/Atomic/UI/AccordionText/AccordionText.js +3 -15
  83. package/dist/Atomic/UI/AdvancedTag/AdvTag.js +4 -21
  84. package/dist/Atomic/UI/AdvancedTag/AdvancedTags.js +3 -15
  85. package/dist/Atomic/UI/Alert/Alert.js +3 -19
  86. package/dist/Atomic/UI/Arrow/Arrow.js +3 -16
  87. package/dist/Atomic/UI/Box/Box.js +3 -9
  88. package/dist/Atomic/UI/Button/Button.js +2 -11
  89. package/dist/Atomic/UI/ButtonsBar/ButtonsBar.js +1 -10
  90. package/dist/Atomic/UI/Chart/Chart.js +4 -29
  91. package/dist/Atomic/UI/Chart/partial/Chart.constants.js +11 -19
  92. package/dist/Atomic/UI/Chart/partial/ChartTypeSwitcherIcon/ChartTypeSwitcherIcon.js +1 -12
  93. package/dist/Atomic/UI/Chart/partial/datasetSetters.js +11 -34
  94. package/dist/Atomic/UI/Chart/partial/optionsConstructor.js +82 -56
  95. package/dist/Atomic/UI/Chart/partial/optionsSetters.js +15 -19
  96. package/dist/Atomic/UI/Chart/partial/utils.js +6 -20
  97. package/dist/Atomic/UI/CircleProgressBar/CircleProgressBar.js +3 -13
  98. package/dist/Atomic/UI/DateTime/DateTime.js +3 -14
  99. package/dist/Atomic/UI/DebugContainer/DebugContainer.js +4 -16
  100. package/dist/Atomic/UI/DebugContainer/useDebugContainer.js +3 -11
  101. package/dist/Atomic/UI/DoubleString/DoubleString.js +5 -17
  102. package/dist/Atomic/UI/DynamicIcon/DynamicIcon.js +3 -10
  103. package/dist/Atomic/UI/ExampleChartIntegration/ExampleChartIntegration.js +17 -52
  104. package/dist/Atomic/UI/ExampleChartIntegration/partial/utils.js +1 -29
  105. package/dist/Atomic/UI/Hint/Hint.js +5 -31
  106. package/dist/Atomic/UI/Modal/Modal.js +6 -28
  107. package/dist/Atomic/UI/Modal/ModalHOC.js +1 -9
  108. package/dist/Atomic/UI/Modal/partials/ModalFooter.js +1 -7
  109. package/dist/Atomic/UI/Modal/partials/ModalTitle.js +1 -8
  110. package/dist/Atomic/UI/Modal/partials/useMobileModal.js +32 -49
  111. package/dist/Atomic/UI/MonoAccordion/MonoAccordion.js +6 -21
  112. package/dist/Atomic/UI/NavLine/NavLine.js +26 -55
  113. package/dist/Atomic/UI/NavLine/Tabs.js +2 -3
  114. package/dist/Atomic/UI/PageTitle/PageTitle.js +2 -10
  115. package/dist/Atomic/UI/PieChart/PieChart.js +1 -10
  116. package/dist/Atomic/UI/Price/Price.js +3 -8
  117. package/dist/Atomic/UI/PriceRange/PriceRange.js +1 -7
  118. package/dist/Atomic/UI/ProgressLine/ProgressLine.js +1 -16
  119. package/dist/Atomic/UI/Status/Status.js +1 -8
  120. package/dist/Atomic/UI/Table/Partials/TdCell.js +5 -29
  121. package/dist/Atomic/UI/Table/Partials/TdHeader.js +1 -11
  122. package/dist/Atomic/UI/Table/Partials/TdRow.js +5 -17
  123. package/dist/Atomic/UI/Table/Partials/TdTitle.js +3 -14
  124. package/dist/Atomic/UI/Table/Table.js +1 -12
  125. package/dist/Atomic/UI/Table/TdTypes/TdActions.js +2 -18
  126. package/dist/Atomic/UI/Table/TdTypes/TdPriority.js +1 -9
  127. package/dist/Atomic/UI/Table/TdTypes/TdRange.js +1 -4
  128. package/dist/Atomic/UI/Table/TdTypes/TdWeight.js +1 -13
  129. package/dist/Atomic/UI/Tag/Tag.js +7 -19
  130. package/dist/Atomic/UI/TagList/TagList.js +20 -38
  131. package/dist/Atomic/UI/UserBox/UserBox.js +1 -13
  132. package/dist/Classes/AbortableFetch.js +36 -93
  133. package/dist/Classes/AnimatedHandler.js +3 -7
  134. package/dist/Classes/RESTAPI/index.js +39 -44
  135. package/dist/Classes/RESTAPI/partials/AbortableFetch.js +35 -93
  136. package/dist/Classes/RESTAPI/partials/ApiBase.js +1 -9
  137. package/dist/Classes/RESTAPI/partials/ApiRequestCreators.js +24 -32
  138. package/dist/Classes/RESTAPI/partials/ApiUtils.js +34 -41
  139. package/dist/Classes/RESTAPI/partials/CredentialsProcessing.js +21 -44
  140. package/dist/Classes/RESTAPI/partials/Utils.js +6 -19
  141. package/dist/Classes/RESTAPI/partials/_outerDependencies.js +2 -6
  142. package/dist/Classes/RESTAPI/partials/_utils.js +13 -36
  143. package/dist/Constants/index.constants.js +8 -15
  144. package/dist/Functions/Portal.js +5 -16
  145. package/dist/Functions/customEventListener.js +4 -17
  146. package/dist/Functions/fieldValueFormatters.js +43 -83
  147. package/dist/Functions/hooks/useFormFieldsChangesManager.js +23 -26
  148. package/dist/Functions/locale/createTranslator.js +4 -9
  149. package/dist/Functions/operations.js +12 -22
  150. package/dist/Functions/presets/inputMaskPresets.js +9 -11
  151. package/dist/Functions/presets/inputPresets.js +8 -11
  152. package/dist/Functions/presets/mobileKeyboardTypesPresets.js +7 -9
  153. package/dist/Functions/schemas.js +6 -13
  154. package/dist/Functions/useBodyScrollLock.js +1 -6
  155. package/dist/Functions/useClickOutside.js +0 -4
  156. package/dist/Functions/useDebounce.js +2 -7
  157. package/dist/Functions/useFieldFocus.js +6 -18
  158. package/dist/Functions/useFormTools/form-drivers/ArrayWithObjects.js +0 -9
  159. package/dist/Functions/useFormTools/form-drivers/ObjectWithIterableObjects.js +12 -23
  160. package/dist/Functions/useFormTools/form-drivers/ObjectWithNamedKeyObjects.js +6 -15
  161. package/dist/Functions/useFormTools/functions/General.js +18 -28
  162. package/dist/Functions/useFormTools/functions/RenderFields.js +2 -11
  163. package/dist/Functions/useFormTools/functions/usePrevious.js +1 -5
  164. package/dist/Functions/useFormTools/index.js +85 -144
  165. package/dist/Functions/useInputHighlightError.js +3 -12
  166. package/dist/Functions/useIsMobile.js +7 -13
  167. package/dist/Functions/useKeyPress/useHandleKeyPress.js +1 -7
  168. package/dist/Functions/useKeyPress/useKeyPress.js +1 -9
  169. package/dist/Functions/useLocalStorage.js +1 -9
  170. package/dist/Functions/useLocationParams.js +4 -5
  171. package/dist/Functions/useMediaQuery.js +3 -9
  172. package/dist/Functions/useMetaInfo.js +3 -10
  173. package/dist/Functions/useMouseUpOutside.js +0 -3
  174. package/dist/Functions/useOnlineStatus.js +1 -9
  175. package/dist/Functions/usePasswordChecker.js +4 -20
  176. package/dist/Functions/usePrevious.js +1 -5
  177. package/dist/Functions/useResize.js +2 -10
  178. package/dist/Functions/useScrollTo.js +2 -7
  179. package/dist/Functions/useToggle.js +1 -5
  180. package/dist/Functions/utils.js +56 -131
  181. package/dist/Molecular/CustomIcons/components/AffiliateNetworks.js +2 -9
  182. package/dist/Molecular/CustomIcons/components/AlertCircle.js +2 -9
  183. package/dist/Molecular/CustomIcons/components/AppStore.js +2 -9
  184. package/dist/Molecular/CustomIcons/components/Arrow.js +2 -9
  185. package/dist/Molecular/CustomIcons/components/ArrowDown.js +2 -9
  186. package/dist/Molecular/CustomIcons/components/ArrowLeft.js +2 -9
  187. package/dist/Molecular/CustomIcons/components/ArrowRight.js +2 -9
  188. package/dist/Molecular/CustomIcons/components/ArrowUp.js +2 -9
  189. package/dist/Molecular/CustomIcons/components/Bell.js +2 -9
  190. package/dist/Molecular/CustomIcons/components/Button.js +2 -9
  191. package/dist/Molecular/CustomIcons/components/Campaigns.js +2 -9
  192. package/dist/Molecular/CustomIcons/components/Check.js +2 -9
  193. package/dist/Molecular/CustomIcons/components/Check2.js +2 -9
  194. package/dist/Molecular/CustomIcons/components/ChevronDown.js +2 -9
  195. package/dist/Molecular/CustomIcons/components/ChevronDownDisabled.js +2 -9
  196. package/dist/Molecular/CustomIcons/components/ChevronLeft.js +2 -9
  197. package/dist/Molecular/CustomIcons/components/ChevronRight.js +2 -9
  198. package/dist/Molecular/CustomIcons/components/ChevronUp.js +2 -9
  199. package/dist/Molecular/CustomIcons/components/ChevronUpDown.js +2 -9
  200. package/dist/Molecular/CustomIcons/components/Close.js +2 -9
  201. package/dist/Molecular/CustomIcons/components/ColumnsOrder.js +2 -9
  202. package/dist/Molecular/CustomIcons/components/Delete.js +2 -9
  203. package/dist/Molecular/CustomIcons/components/Edit.js +2 -9
  204. package/dist/Molecular/CustomIcons/components/Email.js +2 -9
  205. package/dist/Molecular/CustomIcons/components/FinturfLogo.js +2 -9
  206. package/dist/Molecular/CustomIcons/components/FinturfLogo2.js +2 -9
  207. package/dist/Molecular/CustomIcons/components/Flows.js +2 -9
  208. package/dist/Molecular/CustomIcons/components/Gift.js +2 -9
  209. package/dist/Molecular/CustomIcons/components/GoogleAuth.js +2 -9
  210. package/dist/Molecular/CustomIcons/components/GooglePlay.js +2 -9
  211. package/dist/Molecular/CustomIcons/components/HelpCircle.js +2 -9
  212. package/dist/Molecular/CustomIcons/components/HelpCircle2.js +2 -9
  213. package/dist/Molecular/CustomIcons/components/HelpCircleFilled.js +2 -9
  214. package/dist/Molecular/CustomIcons/components/Home.js +2 -9
  215. package/dist/Molecular/CustomIcons/components/Home2.js +2 -9
  216. package/dist/Molecular/CustomIcons/components/Key.js +2 -9
  217. package/dist/Molecular/CustomIcons/components/Landers.js +2 -9
  218. package/dist/Molecular/CustomIcons/components/Lock.js +2 -9
  219. package/dist/Molecular/CustomIcons/components/Mail.js +2 -9
  220. package/dist/Molecular/CustomIcons/components/Mastercard.js +2 -9
  221. package/dist/Molecular/CustomIcons/components/Minus.js +2 -9
  222. package/dist/Molecular/CustomIcons/components/Offers.js +2 -9
  223. package/dist/Molecular/CustomIcons/components/Pause.js +2 -9
  224. package/dist/Molecular/CustomIcons/components/PayPal.js +2 -9
  225. package/dist/Molecular/CustomIcons/components/PayPalLightLarge.js +2 -9
  226. package/dist/Molecular/CustomIcons/components/Phone.js +2 -9
  227. package/dist/Molecular/CustomIcons/components/Play.js +2 -9
  228. package/dist/Molecular/CustomIcons/components/Plus.js +2 -9
  229. package/dist/Molecular/CustomIcons/components/Profile.js +2 -9
  230. package/dist/Molecular/CustomIcons/components/QRCode.js +2 -9
  231. package/dist/Molecular/CustomIcons/components/Rectangle.js +2 -9
  232. package/dist/Molecular/CustomIcons/components/Revert.js +2 -9
  233. package/dist/Molecular/CustomIcons/components/Star.js +2 -9
  234. package/dist/Molecular/CustomIcons/components/Star2.js +2 -9
  235. package/dist/Molecular/CustomIcons/components/TrafficSources.js +2 -9
  236. package/dist/Molecular/CustomIcons/components/Trash.js +2 -9
  237. package/dist/Molecular/CustomIcons/components/TrashRed.js +2 -9
  238. package/dist/Molecular/CustomIcons/components/Triggers.js +2 -9
  239. package/dist/Molecular/CustomIcons/components/User.js +2 -9
  240. package/dist/Molecular/CustomIcons/components/Visa.js +2 -9
  241. package/dist/Molecular/CustomIcons/components/X.js +2 -9
  242. package/dist/Molecular/CustomIcons/index.js +0 -122
  243. package/dist/Molecular/FormElement/FormElement.js +1 -12
  244. package/dist/Molecular/FormWithDependOn/FormWithDependOn.js +30 -31
  245. package/dist/Molecular/FormWithDependOn/partials/_utils.js +9 -12
  246. package/dist/Molecular/InputAddress/InputAddress.js +65 -114
  247. package/dist/Molecular/InputPassword/InputPassword.js +5 -19
  248. package/dist/index.js +0 -2
  249. package/package.json +1 -1
  250. package/dist/Atomic/FormElements/UserContacts/partial/defaultIcons.js +0 -91
  251. package/dist/Atomic/UI/ModalBackup/Modal.js +0 -174
  252. package/dist/Atomic/UI/ModalBackup/Modal.scss +0 -333
  253. package/dist/Atomic/UI/ModalBackup/ModalHOC.js +0 -51
  254. package/dist/Atomic/UI/ModalBackup/partials/ModalFooter.js +0 -24
  255. package/dist/Atomic/UI/ModalBackup/partials/ModalTitle.js +0 -41
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
@@ -14,28 +13,20 @@ exports.transformLocalTimeToUTC = transformLocalTimeToUTC;
14
13
  exports.transformUTCHoursToLocal = transformUTCHoursToLocal;
15
14
  exports.transformUTCTimeToLocal = transformUTCTimeToLocal;
16
15
  exports.useOutsideToggle = void 0;
17
-
18
16
  var _react = require("react");
19
-
20
17
  var _momentTimezone = _interopRequireDefault(require("moment-timezone"));
21
-
22
18
  var _index = require("../Constants/index.constants");
23
-
24
19
  const getIsOnlyAnObject = input => typeof input === "object" && input instanceof Object && !Array.isArray(input);
25
- /* eslint-disable guard-for-in, no-unused-vars */
26
-
27
20
 
21
+ /* eslint-disable guard-for-in, no-unused-vars */
28
22
  exports.getIsOnlyAnObject = getIsOnlyAnObject;
29
-
30
23
  const handleObjectChange = (updateObject, updateFunction) => function (data) {
31
24
  let prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
32
25
  let isNumber = arguments.length > 2 ? arguments[2] : undefined;
33
26
  let value;
34
-
35
27
  if (data !== null && data !== void 0 && data.target) {
36
28
  value = data.target.type === "checkbox" ? data.target.checked : data.target.value;
37
29
  } else value = data;
38
-
39
30
  value = isNumber ? Number(value) : value;
40
31
  const props = prop.split(".");
41
32
  const currentObject = props.reduce((res, chapter, index) => {
@@ -45,16 +36,13 @@ const handleObjectChange = (updateObject, updateFunction) => function (data) {
45
36
  currentObject[props.pop()] = value;
46
37
  updateFunction();
47
38
  };
48
-
49
39
  exports.handleObjectChange = handleObjectChange;
50
-
51
40
  const useOutsideToggle = (ref, setOut, open) => {
52
41
  function handleClickOutside(event) {
53
42
  if (ref.current && !ref.current.contains(event.target)) {
54
43
  setOut(open);
55
44
  }
56
45
  }
57
-
58
46
  (0, _react.useEffect)(() => {
59
47
  document.addEventListener("mouseup", handleClickOutside);
60
48
  return () => {
@@ -62,47 +50,37 @@ const useOutsideToggle = (ref, setOut, open) => {
62
50
  document.removeEventListener("mouseup", handleClickOutside);
63
51
  };
64
52
  }, [ref]);
65
- }; // export const clone = obj => {
53
+ };
54
+
55
+ // export const clone = obj => {
66
56
  // const data = obj instanceof Array ? [] : {};
67
57
  // for (const i in obj) data[i] = typeof obj[i] === 'object' && obj[i] != null ? clone(obj[i]) : obj[i];
68
58
  // return data;
69
59
  // };
70
60
  // ! Этот правильнее
71
-
72
-
73
61
  exports.useOutsideToggle = useOutsideToggle;
74
-
75
62
  const clone = input => {
76
63
  if (input === null || typeof input !== "object") return input;
77
64
  const data = input instanceof Array ? [] : {};
78
-
79
65
  for (const i in input) data[i] = clone(input[i]);
80
-
81
66
  return data;
82
67
  };
83
-
84
68
  exports.clone = clone;
69
+ const getResponseClone = async res => await (typeof (res === null || res === void 0 ? void 0 : res.clone) === "function" ? res.clone() : clone(res));
85
70
 
86
- const getResponseClone = async res => await (typeof (res === null || res === void 0 ? void 0 : res.clone) === "function" ? res.clone() : clone(res)); //TimeUtils
87
-
88
-
71
+ //TimeUtils
89
72
  exports.getResponseClone = getResponseClone;
90
-
91
73
  function transformUTCTimeToLocal(date) {
92
74
  let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "YYYY-MM-DD HH:mm:ss";
93
75
  if (!date) return;
94
-
95
76
  const utcDate = _momentTimezone.default.utc(date).toDate();
96
-
97
77
  return (0, _momentTimezone.default)(utcDate, format).local().format(format);
98
78
  }
99
-
100
79
  function transformLocalTimeToUTC(date) {
101
80
  let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "YYYY-MM-DD HH:mm:ss";
102
81
  if (!date) return;
103
82
  return (0, _momentTimezone.default)(date, format).utc().format(format);
104
83
  }
105
-
106
84
  function transformUTCHoursToLocal(time) {
107
85
  let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "HH:mm:ss";
108
86
  if (!time) return;
@@ -112,24 +90,20 @@ function transformUTCHoursToLocal(time) {
112
90
  let mm = Number(splitedTime[1]);
113
91
  const ss = splitedTime[2];
114
92
  mm = mm + offset;
115
-
116
93
  while (mm > 59) {
117
94
  mm -= 60;
118
95
  HH += 1;
119
96
  }
120
-
121
97
  if (HH > 23) HH -= 24;
122
-
123
98
  while (mm < 0) {
124
99
  mm += 60;
125
100
  HH -= 1;
126
101
  }
127
-
128
102
  if (HH < 0) HH += 24;
129
103
  return "".concat(HH, ":").concat(mm, ":").concat(ss);
130
- } //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
131
-
104
+ }
132
105
 
106
+ //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
133
107
  function transformDateOrTimeOrTogetherToFormat(data) {
134
108
  let outputFormat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "HH:mm";
135
109
  let additional = arguments.length > 2 ? arguments[2] : undefined;
@@ -139,22 +113,24 @@ function transformDateOrTimeOrTogetherToFormat(data) {
139
113
  parseFormat,
140
114
  isReturnAsMomentInstance
141
115
  } = getIsOnlyAnObject(additional) ? additional : {};
142
-
143
116
  if (typeof data !== "string" && typeof data !== "number") {
144
117
  return isReturnAsMomentInstance ? (0, _momentTimezone.default)("error") : ERROR_MESSGE;
145
- } //? Игнорируем parseFormat, если data пришла как timestamp или если parseFormat не строка
146
-
118
+ }
147
119
 
148
- const momentArgs = [data, ...(!Number.isNaN(Number(data)) || typeof parseFormat === "string" ? [] : [parseFormat])]; //? Задача получить moment-экземпляр, валидный либо невалидный
120
+ //? Игнорируем parseFormat, если data пришла как timestamp или если parseFormat не строка
121
+ const momentArgs = [data, ...(!Number.isNaN(Number(data)) || typeof parseFormat === "string" ? [] : [parseFormat])];
149
122
 
123
+ //? Задача получить moment-экземпляр, валидный либо невалидный
150
124
  const momentInstance = (() => {
151
- let instance = (0, _momentTimezone.default)(...momentArgs); //? Проверяем валидность moment-экземпляр-а путем попытки привести его к выходному формату
125
+ let instance = (0, _momentTimezone.default)(...momentArgs);
126
+
127
+ //? Проверяем валидность moment-экземпляр-а путем попытки привести его к выходному формату
152
128
  //? Попадем в этот кейс если
153
129
  //? - data это timestamp
154
130
  //? - data это строка в формате date-time
155
131
  //? - data это строка в формате date (в этом случае время выставится 00:00:00)
156
-
157
- if (instance.format(outputFormat) !== ERROR_VALUE) return instance; //? Если же приведение не удалось, то предполагаем, что data пришла в формате time
132
+ if (instance.format(outputFormat) !== ERROR_VALUE) return instance;
133
+ //? Если же приведение не удалось, то предполагаем, что data пришла в формате time
158
134
  //? В этом случае создадим объект от текущей даты, распарсим data и установим время
159
135
  //? Корректно обработаются паттерны: 'HH*mm', 'HH*mm*ss', 'HH*mm*ss*любое_количество_ms', где * - любой разделитель
160
136
  else if (/^\d\d.\d\d/.test(data)) {
@@ -165,13 +141,13 @@ function transformDateOrTimeOrTogetherToFormat(data) {
165
141
  if (acc.group) acc.result.push(acc.group);
166
142
  acc.group = "";
167
143
  } else acc.group = "".concat(acc.group).concat(symbol);
168
-
169
144
  if (idx === symbols.length - 1 && acc.group) acc.result.push(acc.group);
170
145
  return acc;
171
146
  }, {
172
147
  result: [],
173
148
  group: ""
174
- }) //? reverse используется исключительно для того, чтобы после можно было использовать метод pop, а не shift,
149
+ })
150
+ //? reverse используется исключительно для того, чтобы после можно было использовать метод pop, а не shift,
175
151
  //? т.к. методы добавления/извлечения относительно конца массива работают быстрее,
176
152
  //? чем аналогичные относительно начала массива
177
153
  .result.reverse();
@@ -183,34 +159,32 @@ function transformDateOrTimeOrTogetherToFormat(data) {
183
159
 
184
160
  return instance;
185
161
  })();
186
-
187
162
  if (isReturnAsMomentInstance) return momentInstance;
188
163
  const output = momentInstance.format(outputFormat);
189
164
  return output === ERROR_VALUE ? ERROR_MESSGE : output;
190
- } //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
191
-
165
+ }
192
166
 
167
+ //? Намерянно значением по умолчанию назначаю самый информационно-маленький паттерн
193
168
  function transformDateOrTimeOrTogetherToFormattedLocal(data) {
194
169
  let outputFormat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "HH:mm";
195
170
  let additional = arguments.length > 2 ? arguments[2] : undefined;
196
171
  const ERROR_VALUE = "Invalid date";
197
172
  const ERROR_MESSGE = "Invalid input data for ".concat(outputFormat, " format");
198
-
199
173
  if (additional && !getIsOnlyAnObject(additional)) {
200
174
  throw new Error("Bad additional [transformDateOrTimeOrTogetherToFormattedLocal]");
201
175
  }
202
-
203
- const compositeAdditional = { ...(additional || {}),
176
+ const compositeAdditional = {
177
+ ...(additional || {}),
204
178
  isReturnAsMomentInstance: true
205
179
  };
206
180
  const date = transformDateOrTimeOrTogetherToFormat(data, outputFormat, compositeAdditional);
207
181
  const dateWithLocale = date.add((0, _momentTimezone.default)().utcOffset(), "minutes");
208
182
  const output = dateWithLocale.format(outputFormat);
209
183
  return output === ERROR_VALUE ? ERROR_MESSGE : output;
210
- } //принимает обьект и массив ключей обьекта
211
- //возвращает обьект с теми полями, которых нет в массиве ключей
212
-
184
+ }
213
185
 
186
+ //принимает обьект и массив ключей обьекта
187
+ //возвращает обьект с теми полями, которых нет в массиве ключей
214
188
  const omitKeys = function () {
215
189
  let obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
216
190
  let keys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
@@ -222,25 +196,19 @@ const omitKeys = function () {
222
196
  return rest;
223
197
  }, obj);
224
198
  };
225
-
226
199
  exports.omitKeys = omitKeys;
227
-
228
200
  const logout = () => {
229
201
  window.localStorage.removeItem("accessToken");
230
202
  window.localStorage.removeItem("tokenExpires");
231
203
  window.location.reload();
232
204
  };
233
-
234
205
  exports.logout = logout;
235
-
236
206
  const getStyles = (el, prop) => {
237
207
  if (!el) return null;
238
208
  if (!prop) return window.getComputedStyle(el);
239
209
  return window.getComputedStyle(el).getPropertyValue(prop);
240
210
  };
241
-
242
211
  exports.getStyles = getStyles;
243
-
244
212
  const getColorById = (id, colors) => {
245
213
  if (!id) return "#FF7D00";
246
214
  const idToArr = Array.from(id);
@@ -249,26 +217,20 @@ const getColorById = (id, colors) => {
249
217
  if (Number(item)) {
250
218
  return acc + Number(item);
251
219
  }
252
-
253
220
  return acc;
254
221
  }, 0);
255
-
256
222
  while (number >= colorsArr.length) {
257
223
  number -= colorsArr.length;
258
224
  }
259
-
260
225
  return colorsArr[number];
261
226
  };
262
-
263
227
  exports.getColorById = getColorById;
264
-
265
228
  const debounce = (fn, ms) => {
266
229
  let id = null;
267
230
  return function () {
268
231
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
269
232
  args[_key] = arguments[_key];
270
233
  }
271
-
272
234
  clearTimeout(id);
273
235
  id = setTimeout(() => {
274
236
  clearTimeout(id);
@@ -276,9 +238,7 @@ const debounce = (fn, ms) => {
276
238
  }, ms);
277
239
  };
278
240
  };
279
-
280
241
  exports.debounce = debounce;
281
-
282
242
  const throttle = (fn, ms) => {
283
243
  let id = null;
284
244
  return function () {
@@ -290,57 +250,47 @@ const throttle = (fn, ms) => {
290
250
  }, ms);
291
251
  };
292
252
  };
293
-
294
253
  exports.throttle = throttle;
295
-
296
254
  const addBitDepthPoints = function (value) {
297
255
  let step = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;
298
256
  //содержит ли value точку
299
- const isFraction = value === null || value === void 0 ? void 0 : value.includes("."); //взять строку до точки
257
+ const isFraction = value === null || value === void 0 ? void 0 : value.includes(".");
300
258
 
301
- const valueBeforeDot = isFraction ? value === null || value === void 0 ? void 0 : value.slice(0, value === null || value === void 0 ? void 0 : value.indexOf(".")) : value; //расстановка запятых после каждой 3й цифры с конца
259
+ //взять строку до точки
260
+ const valueBeforeDot = isFraction ? value === null || value === void 0 ? void 0 : value.slice(0, value === null || value === void 0 ? void 0 : value.indexOf(".")) : value;
302
261
 
262
+ //расстановка запятых после каждой 3й цифры с конца
303
263
  const intPart = valueBeforeDot.split("").reverse().reduce((acc, item, idx) => idx % step === 0 && idx !== 0 ? [...acc, ",", item] : [...acc, item], []).reverse().join("");
304
264
  return isFraction ? intPart + (value === null || value === void 0 ? void 0 : value.slice(value === null || value === void 0 ? void 0 : value.indexOf("."))) : intPart;
305
265
  };
306
-
307
266
  exports.addBitDepthPoints = addBitDepthPoints;
308
-
309
267
  const changeMeta = function (key) {
310
268
  let items = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
311
269
  const defaultMeta = items.find(i => i.key === "default");
312
-
313
270
  if (key) {
314
271
  var _item$title, _item$description;
315
-
316
272
  const item = items.find(i => i.key === key);
317
273
  document.title = (_item$title = item === null || item === void 0 ? void 0 : item.title) !== null && _item$title !== void 0 ? _item$title : defaultMeta === null || defaultMeta === void 0 ? void 0 : defaultMeta.title;
318
274
  document.querySelector('meta[name="description"]').setAttribute("content", (_item$description = item === null || item === void 0 ? void 0 : item.description) !== null && _item$description !== void 0 ? _item$description : defaultMeta === null || defaultMeta === void 0 ? void 0 : defaultMeta.description);
319
275
  }
320
276
  };
321
-
322
277
  exports.changeMeta = changeMeta;
323
-
324
278
  const firstLetterCapital = str => typeof str === "string" ? "".concat(str.charAt(0).toUpperCase()).concat(str.slice(1)) : str;
325
-
326
279
  exports.firstLetterCapital = firstLetterCapital;
327
- const capitalized = firstLetterCapital;
328
- exports.capitalized = capitalized;
329
-
280
+ const capitalized = exports.capitalized = firstLetterCapital;
330
281
  const checkedRef = ref => ref ? typeof ref === "function" ? node => ref(node) : ref : null;
331
-
332
282
  exports.checkedRef = checkedRef;
333
-
334
283
  function downloadEmulation(data, filename) {
335
284
  let type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "image/*";
336
285
  const file = new Blob([data], {
337
286
  type
338
287
  });
339
- if (window.navigator.msSaveOrOpenBlob) // IE10+
288
+ if (window.navigator.msSaveOrOpenBlob)
289
+ // IE10+
340
290
  window.navigator.msSaveOrOpenBlob(file, filename);else {
341
291
  // Others
342
292
  const a = document.createElement("a"),
343
- url = URL.createObjectURL(file);
293
+ url = URL.createObjectURL(file);
344
294
  a.href = url;
345
295
  a.download = filename;
346
296
  document.body.appendChild(a);
@@ -351,7 +301,6 @@ function downloadEmulation(data, filename) {
351
301
  }, 0);
352
302
  }
353
303
  }
354
-
355
304
  const downloadFile = async _ref => {
356
305
  let {
357
306
  url,
@@ -364,18 +313,19 @@ const downloadFile = async _ref => {
364
313
  }));
365
314
  downloadEmulation(response.data, name, response.type);
366
315
  };
367
-
368
316
  exports.downloadFile = downloadFile;
369
-
370
317
  const compare = function (first, second) {
371
318
  let keys = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
372
319
  //? Если типы НЕ равны - не равны априори
373
- if (typeof first !== typeof second) return false; //? Если ответы на вопрос "массив ли?" не равны, то не равны и типы, значит тоже не равны априори
320
+ if (typeof first !== typeof second) return false;
321
+ //? Если ответы на вопрос "массив ли?" не равны, то не равны и типы, значит тоже не равны априори
322
+ if (Array.isArray(first) !== Array.isArray(second)) return false;
323
+ //? Если прошли if-ку - типы условно равны, можем оценивать тип лишь одного параметра, это будет справедливо и для второго
374
324
 
375
- if (Array.isArray(first) !== Array.isArray(second)) return false; //? Если прошли if-ку - типы условно равны, можем оценивать тип лишь одного параметра, это будет справедливо и для второго
376
325
  //? Если примитивы - просто сравниваем. Кейс с null обработан тут.
326
+ if (!(first instanceof Object)) return first === second;
377
327
 
378
- if (!(first instanceof Object)) return first === second; //? Если НЕ приметивы - не важно массив или нет, методы объекта для массива тоже доступны
328
+ //? Если НЕ приметивы - не важно массив или нет, методы объекта для массива тоже доступны
379
329
 
380
330
  const getComparationStructure = data => {
381
331
  if (typeof data === 'function') return data.toString();
@@ -384,17 +334,16 @@ const compare = function (first, second) {
384
334
  let [key, value] = _ref2;
385
335
  return [key, getComparationStructure(data[key])];
386
336
  });
387
- }; //? Получаем структуры для сравнения (с учетом глубины) - массивы массивов, сортируем по ключам,
388
-
337
+ };
389
338
 
339
+ //? Получаем структуры для сравнения (с учетом глубины) - массивы массивов, сортируем по ключам,
390
340
  const structureForComparingOfFirst = getComparationStructure(first);
391
341
  const structureForComparingOfSecond = getComparationStructure(second);
392
342
  return JSON.stringify(structureForComparingOfFirst) === JSON.stringify(structureForComparingOfSecond);
393
- }; // Set Carret to the End of Input
394
-
343
+ };
395
344
 
345
+ // Set Carret to the End of Input
396
346
  exports.compare = compare;
397
-
398
347
  const setCarretToEnd = input => {
399
348
  setTimeout(() => {
400
349
  const tmp = input.value;
@@ -402,47 +351,35 @@ const setCarretToEnd = input => {
402
351
  input.value = tmp;
403
352
  }, 10);
404
353
  };
405
-
406
354
  exports.setCarretToEnd = setCarretToEnd;
407
-
408
355
  const compareAlphabetical = function (a, b) {
409
356
  var _item, _item2;
410
-
411
357
  let key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "label";
412
358
  let item1 = a === null || a === void 0 ? void 0 : a[key];
413
359
  let item2 = b === null || b === void 0 ? void 0 : b[key];
414
360
  if (typeof item1 !== "string" || typeof item2 !== "string") return 0;
415
361
  item1 = (_item = item1) === null || _item === void 0 ? void 0 : _item.toLowerCase();
416
362
  item2 = (_item2 = item2) === null || _item2 === void 0 ? void 0 : _item2.toLowerCase();
417
-
418
363
  if (item1 < item2) {
419
364
  return -1;
420
365
  }
421
-
422
366
  if (item1 > item2) {
423
367
  return 1;
424
368
  }
425
-
426
369
  return 0;
427
370
  };
428
-
429
371
  exports.compareAlphabetical = compareAlphabetical;
430
-
431
372
  const getBase64 = file => {
432
373
  if (file) {
433
374
  return new Promise(function (resolve, reject) {
434
375
  const reader = new FileReader();
435
376
  reader.readAsDataURL(file);
436
-
437
377
  reader.onload = () => resolve(reader.result);
438
-
439
378
  reader.onerror = error => reject("Error: ", error);
440
379
  });
441
380
  }
442
381
  };
443
-
444
382
  exports.getBase64 = getBase64;
445
-
446
383
  const renderFileSize = function (bytes) {
447
384
  let decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
448
385
  if (!Number(bytes)) return "0 Bytes";
@@ -452,30 +389,26 @@ const renderFileSize = function (bytes) {
452
389
  const i = Math.floor(Math.log(bytes) / Math.log(k));
453
390
  return "".concat(parseFloat((bytes / Math.pow(k, i)).toFixed(dm)), " ").concat(sizes[i]);
454
391
  };
455
-
456
392
  exports.renderFileSize = renderFileSize;
457
-
458
393
  const getUniqueFileExtensions = extListString => {
459
394
  // Split the extensions list into an array
460
- const extArray = extListString === null || extListString === void 0 ? void 0 : extListString.split(",").map(ext => ext.trim().toUpperCase()); // Remove duplicates using a Set
395
+ const extArray = extListString === null || extListString === void 0 ? void 0 : extListString.split(",").map(ext => ext.trim().toUpperCase());
461
396
 
462
- const uniqueExts = [...new Set(extArray)]; // Join the unique extensions into a string
397
+ // Remove duplicates using a Set
398
+ const uniqueExts = [...new Set(extArray)];
463
399
 
400
+ // Join the unique extensions into a string
464
401
  return uniqueExts.join(", ");
465
402
  };
466
-
467
403
  exports.getUniqueFileExtensions = getUniqueFileExtensions;
468
-
469
404
  const getOS = () => {
470
- var _window$navigator, _window$navigator$use;
471
-
405
+ var _window$navigator;
472
406
  let userAgent = window.navigator.userAgent,
473
- platform = ((_window$navigator = window.navigator) === null || _window$navigator === void 0 ? void 0 : (_window$navigator$use = _window$navigator.userAgentData) === null || _window$navigator$use === void 0 ? void 0 : _window$navigator$use.platform) || window.navigator.platform,
474
- macosPlatforms = ["Macintosh", "MacIntel", "MacPPC", "Mac68K"],
475
- windowsPlatforms = ["Win32", "Win64", "Windows", "WinCE"],
476
- iosPlatforms = ["iPhone", "iPad", "iPod"],
477
- os = _index.OS.Unknown;
478
-
407
+ platform = ((_window$navigator = window.navigator) === null || _window$navigator === void 0 || (_window$navigator = _window$navigator.userAgentData) === null || _window$navigator === void 0 ? void 0 : _window$navigator.platform) || window.navigator.platform,
408
+ macosPlatforms = ["Macintosh", "MacIntel", "MacPPC", "Mac68K"],
409
+ windowsPlatforms = ["Win32", "Win64", "Windows", "WinCE"],
410
+ iosPlatforms = ["iPhone", "iPad", "iPod"],
411
+ os = _index.OS.Unknown;
479
412
  if (macosPlatforms.indexOf(platform) !== -1) {
480
413
  os = _index.OS.MacOS;
481
414
  } else if (iosPlatforms.indexOf(platform) !== -1) {
@@ -487,27 +420,20 @@ const getOS = () => {
487
420
  } else if (/Linux/.test(platform)) {
488
421
  os = _index.OS.Linux;
489
422
  }
490
-
491
423
  return os;
492
424
  };
493
-
494
425
  exports.getOS = getOS;
495
-
496
426
  const disableDefaultBehavior = e => {
497
- e === null || e === void 0 ? void 0 : e.preventDefault();
498
- e === null || e === void 0 ? void 0 : e.stopPropagation();
427
+ e === null || e === void 0 || e.preventDefault();
428
+ e === null || e === void 0 || e.stopPropagation();
499
429
  };
500
-
501
430
  exports.disableDefaultBehavior = disableDefaultBehavior;
502
-
503
431
  String.prototype.longerThan = function (compareWith) {
504
432
  return (this === null || this === void 0 ? void 0 : this.length) > (compareWith === null || compareWith === void 0 ? void 0 : compareWith.length);
505
433
  };
506
-
507
434
  String.prototype.lastIndexEqualsTo = function (index) {
508
435
  return (this === null || this === void 0 ? void 0 : this.length) - 1 === index;
509
436
  };
510
-
511
437
  const getCorrectTestId = _ref3 => {
512
438
  let {
513
439
  testId = "",
@@ -515,5 +441,4 @@ const getCorrectTestId = _ref3 => {
515
441
  } = _ref3;
516
442
  return testId && testId !== undefined ? "".concat(withTier ? "-" : "").concat(testId) : "";
517
443
  };
518
-
519
444
  exports.getCorrectTestId = getCorrectTestId;
@@ -1,20 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.AffiliateNetworks = void 0;
9
-
10
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
9
  var React = _interopRequireWildcard(require("react"));
13
-
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
-
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
-
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
12
  const AffiliateNetworks = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
19
13
  xmlns: "http://www.w3.org/2000/svg",
20
14
  xmlSpace: "preserve",
@@ -34,5 +28,4 @@ const AffiliateNetworks = props => /*#__PURE__*/React.createElement("svg", (0, _
34
28
  stroke: "#9AA0B9",
35
29
  d: "M23 21v-2c0-1.8-1.2-3.4-3-3.9M16 3.1c2.1.5 3.4 2.7 2.9 4.9-.4 1.4-1.5 2.5-2.9 2.9"
36
30
  }));
37
-
38
31
  exports.AffiliateNetworks = AffiliateNetworks;
@@ -1,20 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.AlertCircle = void 0;
9
-
10
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
9
  var React = _interopRequireWildcard(require("react"));
13
-
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
-
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
-
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
12
  const AlertCircle = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
19
13
  xmlns: "http://www.w3.org/2000/svg",
20
14
  xmlSpace: "preserve",
@@ -34,5 +28,4 @@ const AlertCircle = props => /*#__PURE__*/React.createElement("svg", (0, _extend
34
28
  d: "M12 8v4M12 16",
35
29
  className: "st0"
36
30
  }));
37
-
38
31
  exports.AlertCircle = AlertCircle;
@@ -1,20 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.AppStore = void 0;
9
-
10
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
9
  var React = _interopRequireWildcard(require("react"));
13
-
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
-
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
-
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
12
  const AppStore = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
19
13
  xmlns: "http://www.w3.org/2000/svg",
20
14
  xmlnsXlink: "http://www.w3.org/1999/xlink",
@@ -38,5 +32,4 @@ const AppStore = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.
38
32
  width: 260,
39
33
  height: 90
40
34
  })));
41
-
42
35
  exports.AppStore = AppStore;
@@ -1,20 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.Arrow = void 0;
9
-
10
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
-
12
9
  var React = _interopRequireWildcard(require("react"));
13
-
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
-
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
-
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
12
  const Arrow = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.default)({
19
13
  xmlns: "http://www.w3.org/2000/svg",
20
14
  width: 16,
@@ -44,5 +38,4 @@ const Arrow = props => /*#__PURE__*/React.createElement("svg", (0, _extends2.def
44
38
  fill: "#fff",
45
39
  d: "M-533-86H491v424H-533z"
46
40
  }))));
47
-
48
41
  exports.Arrow = Arrow;