intelicoreact 1.3.39 → 1.3.41

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