@bigbinary/neeto-commons-frontend 4.13.19 → 4.13.21

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 (302) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/cypress-utils/commands.js +4 -4
  3. package/dist/cjs/cypress-utils/constants/routes.js +2 -1
  4. package/dist/cjs/cypress-utils/constants/routes.js.map +1 -1
  5. package/dist/cjs/cypress-utils/constants/selectors/common.js +2 -1
  6. package/dist/cjs/cypress-utils/constants/selectors/common.js.map +1 -1
  7. package/dist/cjs/cypress-utils/constants/selectors/editor.js +2 -1
  8. package/dist/cjs/cypress-utils/constants/selectors/editor.js.map +1 -1
  9. package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js +2 -1
  10. package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js.map +1 -1
  11. package/dist/cjs/cypress-utils/constants/selectors/login.js +2 -1
  12. package/dist/cjs/cypress-utils/constants/selectors/login.js.map +1 -1
  13. package/dist/cjs/cypress-utils/constants/selectors/member.js +2 -1
  14. package/dist/cjs/cypress-utils/constants/selectors/member.js.map +1 -1
  15. package/dist/cjs/cypress-utils/constants/selectors/navigation.js +2 -1
  16. package/dist/cjs/cypress-utils/constants/selectors/navigation.js.map +1 -1
  17. package/dist/cjs/cypress-utils/constants/selectors/signUp.js +2 -1
  18. package/dist/cjs/cypress-utils/constants/selectors/signUp.js.map +1 -1
  19. package/dist/cjs/cypress-utils/constants/selectors/tags.js +2 -1
  20. package/dist/cjs/cypress-utils/constants/selectors/tags.js.map +1 -1
  21. package/dist/cjs/cypress-utils/index.js +4 -4
  22. package/dist/cjs/cypress-utils/utils/authentication.js +2 -1
  23. package/dist/cjs/cypress-utils/utils/authentication.js.map +1 -1
  24. package/dist/cjs/cypress-utils/utils/common.js +2 -1
  25. package/dist/cjs/cypress-utils/utils/common.js.map +1 -1
  26. package/dist/cjs/cypress-utils/utils/email.js +2 -1
  27. package/dist/cjs/cypress-utils/utils/email.js.map +1 -1
  28. package/dist/cjs/cypress-utils/utils/member.js +2 -1
  29. package/dist/cjs/cypress-utils/utils/member.js.map +1 -1
  30. package/dist/cjs/cypress-utils/utils/navigation.js +2 -1
  31. package/dist/cjs/cypress-utils/utils/navigation.js.map +1 -1
  32. package/dist/cjs/cypress-utils/utils/organization.js +2 -1
  33. package/dist/cjs/cypress-utils/utils/organization.js.map +1 -1
  34. package/dist/cjs/cypress-utils/utils/validation.js +2 -1
  35. package/dist/cjs/cypress-utils/utils/validation.js.map +1 -1
  36. package/dist/cjs/defineProperty-Cm9b1C1w.js +32 -0
  37. package/dist/cjs/defineProperty-Cm9b1C1w.js.map +1 -0
  38. package/dist/cjs/index-DDd00LFf.js +378 -0
  39. package/dist/cjs/index-DDd00LFf.js.map +1 -0
  40. package/dist/cjs/initializers/axios.js +2 -2
  41. package/dist/cjs/initializers/axiosInitializer/index.js +2 -2
  42. package/dist/cjs/initializers/dayjs.js +4 -4
  43. package/dist/cjs/initializers/dayjs.js.map +1 -1
  44. package/dist/cjs/initializers/globalProps.js +3 -3
  45. package/dist/cjs/initializers/globalProps.js.map +1 -1
  46. package/dist/cjs/initializers/i18n.js +3 -3
  47. package/dist/cjs/initializers/index.js +4 -4
  48. package/dist/cjs/initializers/reactDevTools.js +1 -1
  49. package/dist/cjs/initializers/utils/utils.js +3 -3
  50. package/dist/cjs/objectWithoutProperties-DQlolGrE.js +26 -0
  51. package/dist/cjs/objectWithoutProperties-DQlolGrE.js.map +1 -0
  52. package/dist/cjs/react-utils/AppContainer/AppContainer.js +2 -1
  53. package/dist/cjs/react-utils/AppContainer/AppContainer.js.map +1 -1
  54. package/dist/cjs/react-utils/AppContainer/index.js +2 -1
  55. package/dist/cjs/react-utils/AppContainer/index.js.map +1 -1
  56. package/dist/cjs/react-utils/BrowserPushNotifications/index.js +1 -1
  57. package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js +1 -1
  58. package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js +1 -1
  59. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +5 -4
  60. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -1
  61. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +2 -1
  62. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -1
  63. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js +1 -1
  64. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
  65. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js +2 -1
  66. package/dist/cjs/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -1
  67. package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js +3 -2
  68. package/dist/cjs/react-utils/PrivateRoute/PrivateRoute.js.map +1 -1
  69. package/dist/cjs/react-utils/PrivateRoute/index.js +3 -2
  70. package/dist/cjs/react-utils/PrivateRoute/index.js.map +1 -1
  71. package/dist/cjs/react-utils/index.js +7 -6
  72. package/dist/cjs/react-utils/index.js.map +1 -1
  73. package/dist/cjs/react-utils/useBreakpoints/index.js +2 -1
  74. package/dist/cjs/react-utils/useBreakpoints/index.js.map +1 -1
  75. package/dist/cjs/react-utils/useBreakpoints/utils.js +2 -1
  76. package/dist/cjs/react-utils/useBreakpoints/utils.js.map +1 -1
  77. package/dist/cjs/react-utils/useDebounce/index.js +2 -2
  78. package/dist/cjs/react-utils/useDebounce/useDebounce.js +2 -2
  79. package/dist/cjs/react-utils/useFetchNeetoApps/index.js +6 -5
  80. package/dist/cjs/react-utils/useFetchNeetoApps/index.js.map +1 -1
  81. package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +6 -5
  82. package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -1
  83. package/dist/cjs/react-utils/useIsElementVisibleInDom/index.js +2 -2
  84. package/dist/cjs/react-utils/useIsElementVisibleInDom/useForceUpdate.js +2 -2
  85. package/dist/cjs/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +2 -2
  86. package/dist/cjs/react-utils/useLocalStorage/index.js +7 -6
  87. package/dist/cjs/react-utils/useLocalStorage/index.js.map +1 -1
  88. package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +7 -6
  89. package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
  90. package/dist/cjs/react-utils/useMutationWithInvalidation/index.js +3 -2
  91. package/dist/cjs/react-utils/useMutationWithInvalidation/index.js.map +1 -1
  92. package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +4 -3
  93. package/dist/cjs/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -1
  94. package/dist/cjs/react-utils/usePersistedQuery/index.js +6 -5
  95. package/dist/cjs/react-utils/usePersistedQuery/index.js.map +1 -1
  96. package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js +6 -5
  97. package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -1
  98. package/dist/cjs/react-utils/useQueryParams/index.js +6 -5
  99. package/dist/cjs/react-utils/useQueryParams/index.js.map +1 -1
  100. package/dist/cjs/react-utils/useQueryParams/useQueryParams.js +6 -5
  101. package/dist/cjs/react-utils/useQueryParams/useQueryParams.js.map +1 -1
  102. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js +6 -5
  103. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -1
  104. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +6 -5
  105. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -1
  106. package/dist/cjs/react-utils/useStateWithDependency/index.js +2 -2
  107. package/dist/cjs/react-utils/useStateWithDependency/useStateWithDependency.js +2 -2
  108. package/dist/cjs/react-utils/withTitle/index.js +2 -1
  109. package/dist/cjs/react-utils/withTitle/index.js.map +1 -1
  110. package/dist/cjs/react-utils/withTitle/withTitle.js +2 -1
  111. package/dist/cjs/react-utils/withTitle/withTitle.js.map +1 -1
  112. package/dist/cjs/slicedToArray-Cbh2WzDH.js +46 -0
  113. package/dist/cjs/slicedToArray-Cbh2WzDH.js.map +1 -0
  114. package/dist/cjs/toConsumableArray-tBKHqzE3.js +22 -0
  115. package/dist/cjs/toConsumableArray-tBKHqzE3.js.map +1 -0
  116. package/dist/cjs/typeof-D4ZZ_FlZ.js +14 -0
  117. package/dist/cjs/typeof-D4ZZ_FlZ.js.map +1 -0
  118. package/dist/cjs/unsupportedIterableToArray-BoHMiKNA.js +19 -0
  119. package/dist/cjs/unsupportedIterableToArray-BoHMiKNA.js.map +1 -0
  120. package/dist/cjs/utils/buildNestedAttributesPayload.js +4 -3
  121. package/dist/cjs/utils/buildNestedAttributesPayload.js.map +1 -1
  122. package/dist/cjs/utils/captureAnalyticsPageView.js +2 -1
  123. package/dist/cjs/utils/captureAnalyticsPageView.js.map +1 -1
  124. package/dist/cjs/utils/createSubscription.js +6 -5
  125. package/dist/cjs/utils/createSubscription.js.map +1 -1
  126. package/dist/cjs/utils/currencyFormat.js +2 -1
  127. package/dist/cjs/utils/currencyFormat.js.map +1 -1
  128. package/dist/cjs/utils/datetime.js +6 -5
  129. package/dist/cjs/utils/datetime.js.map +1 -1
  130. package/dist/cjs/utils/dayjs.js +14 -21
  131. package/dist/cjs/utils/dayjs.js.map +1 -1
  132. package/dist/cjs/utils/general.js +8 -7
  133. package/dist/cjs/utils/general.js.map +1 -1
  134. package/dist/cjs/utils/index.js +7 -6
  135. package/dist/cjs/utils/index.js.map +1 -1
  136. package/dist/cjs/utils/timezonePlugin.js +4 -3
  137. package/dist/cjs/utils/timezonePlugin.js.map +1 -1
  138. package/dist/cypress-utils/commands.js +4 -4
  139. package/dist/cypress-utils/constants/routes.js +2 -1
  140. package/dist/cypress-utils/constants/routes.js.map +1 -1
  141. package/dist/cypress-utils/constants/selectors/common.js +2 -1
  142. package/dist/cypress-utils/constants/selectors/common.js.map +1 -1
  143. package/dist/cypress-utils/constants/selectors/editor.js +2 -1
  144. package/dist/cypress-utils/constants/selectors/editor.js.map +1 -1
  145. package/dist/cypress-utils/constants/selectors/ipRestriction.js +2 -1
  146. package/dist/cypress-utils/constants/selectors/ipRestriction.js.map +1 -1
  147. package/dist/cypress-utils/constants/selectors/login.js +2 -1
  148. package/dist/cypress-utils/constants/selectors/login.js.map +1 -1
  149. package/dist/cypress-utils/constants/selectors/member.js +2 -1
  150. package/dist/cypress-utils/constants/selectors/member.js.map +1 -1
  151. package/dist/cypress-utils/constants/selectors/navigation.js +2 -1
  152. package/dist/cypress-utils/constants/selectors/navigation.js.map +1 -1
  153. package/dist/cypress-utils/constants/selectors/signUp.js +2 -1
  154. package/dist/cypress-utils/constants/selectors/signUp.js.map +1 -1
  155. package/dist/cypress-utils/constants/selectors/tags.js +2 -1
  156. package/dist/cypress-utils/constants/selectors/tags.js.map +1 -1
  157. package/dist/cypress-utils/index.js +4 -4
  158. package/dist/cypress-utils/utils/authentication.js +2 -1
  159. package/dist/cypress-utils/utils/authentication.js.map +1 -1
  160. package/dist/cypress-utils/utils/common.js +2 -1
  161. package/dist/cypress-utils/utils/common.js.map +1 -1
  162. package/dist/cypress-utils/utils/email.js +2 -1
  163. package/dist/cypress-utils/utils/email.js.map +1 -1
  164. package/dist/cypress-utils/utils/member.js +2 -1
  165. package/dist/cypress-utils/utils/member.js.map +1 -1
  166. package/dist/cypress-utils/utils/navigation.js +2 -1
  167. package/dist/cypress-utils/utils/navigation.js.map +1 -1
  168. package/dist/cypress-utils/utils/organization.js +2 -1
  169. package/dist/cypress-utils/utils/organization.js.map +1 -1
  170. package/dist/cypress-utils/utils/validation.js +2 -1
  171. package/dist/cypress-utils/utils/validation.js.map +1 -1
  172. package/dist/defineProperty-D_V-nTlo.js +29 -0
  173. package/dist/defineProperty-D_V-nTlo.js.map +1 -0
  174. package/dist/index-D_s_toMy.js +375 -0
  175. package/dist/index-D_s_toMy.js.map +1 -0
  176. package/dist/initializers/axios.js +2 -2
  177. package/dist/initializers/axiosInitializer/index.js +2 -2
  178. package/dist/initializers/dayjs.js +4 -4
  179. package/dist/initializers/dayjs.js.map +1 -1
  180. package/dist/initializers/globalProps.js +3 -3
  181. package/dist/initializers/globalProps.js.map +1 -1
  182. package/dist/initializers/i18n.js +3 -3
  183. package/dist/initializers/index.js +4 -4
  184. package/dist/initializers/reactDevTools.js +1 -1
  185. package/dist/initializers/utils/utils.js +3 -3
  186. package/dist/objectWithoutProperties-PcUN5OqL.js +24 -0
  187. package/dist/objectWithoutProperties-PcUN5OqL.js.map +1 -0
  188. package/dist/react-utils/AppContainer/AppContainer.js +2 -1
  189. package/dist/react-utils/AppContainer/AppContainer.js.map +1 -1
  190. package/dist/react-utils/AppContainer/index.js +2 -1
  191. package/dist/react-utils/AppContainer/index.js.map +1 -1
  192. package/dist/react-utils/BrowserPushNotifications/index.js +1 -1
  193. package/dist/react-utils/BrowserPushNotifications/pushHelper.js +1 -1
  194. package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js +1 -1
  195. package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js +5 -4
  196. package/dist/react-utils/HoneybadgerErrorBoundary/FallbackComponent.js.map +1 -1
  197. package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js +2 -1
  198. package/dist/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js.map +1 -1
  199. package/dist/react-utils/HoneybadgerErrorBoundary/constants.js +1 -1
  200. package/dist/react-utils/HoneybadgerErrorBoundary/constants.js.map +1 -1
  201. package/dist/react-utils/HoneybadgerErrorBoundary/index.js +2 -1
  202. package/dist/react-utils/HoneybadgerErrorBoundary/index.js.map +1 -1
  203. package/dist/react-utils/PrivateRoute/PrivateRoute.js +3 -2
  204. package/dist/react-utils/PrivateRoute/PrivateRoute.js.map +1 -1
  205. package/dist/react-utils/PrivateRoute/index.js +3 -2
  206. package/dist/react-utils/PrivateRoute/index.js.map +1 -1
  207. package/dist/react-utils/index.js +7 -6
  208. package/dist/react-utils/index.js.map +1 -1
  209. package/dist/react-utils/useBreakpoints/index.js +2 -1
  210. package/dist/react-utils/useBreakpoints/index.js.map +1 -1
  211. package/dist/react-utils/useBreakpoints/utils.js +2 -1
  212. package/dist/react-utils/useBreakpoints/utils.js.map +1 -1
  213. package/dist/react-utils/useDebounce/index.js +2 -2
  214. package/dist/react-utils/useDebounce/useDebounce.js +2 -2
  215. package/dist/react-utils/useFetchNeetoApps/index.js +6 -5
  216. package/dist/react-utils/useFetchNeetoApps/index.js.map +1 -1
  217. package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +6 -5
  218. package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -1
  219. package/dist/react-utils/useIsElementVisibleInDom/index.js +2 -2
  220. package/dist/react-utils/useIsElementVisibleInDom/useForceUpdate.js +2 -2
  221. package/dist/react-utils/useIsElementVisibleInDom/useIsElementVisibleInDom.js +2 -2
  222. package/dist/react-utils/useLocalStorage/index.js +7 -6
  223. package/dist/react-utils/useLocalStorage/index.js.map +1 -1
  224. package/dist/react-utils/useLocalStorage/useLocalStorage.js +7 -6
  225. package/dist/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
  226. package/dist/react-utils/useMutationWithInvalidation/index.js +3 -2
  227. package/dist/react-utils/useMutationWithInvalidation/index.js.map +1 -1
  228. package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js +4 -3
  229. package/dist/react-utils/useMutationWithInvalidation/useMutationWithInvalidation.js.map +1 -1
  230. package/dist/react-utils/usePersistedQuery/index.js +6 -5
  231. package/dist/react-utils/usePersistedQuery/index.js.map +1 -1
  232. package/dist/react-utils/usePersistedQuery/usePersistedQuery.js +6 -5
  233. package/dist/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -1
  234. package/dist/react-utils/useQueryParams/index.js +6 -5
  235. package/dist/react-utils/useQueryParams/index.js.map +1 -1
  236. package/dist/react-utils/useQueryParams/useQueryParams.js +6 -5
  237. package/dist/react-utils/useQueryParams/useQueryParams.js.map +1 -1
  238. package/dist/react-utils/useRegisterNavigationCheckpoint/index.js +6 -5
  239. package/dist/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -1
  240. package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +6 -5
  241. package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -1
  242. package/dist/react-utils/useStateWithDependency/index.js +2 -2
  243. package/dist/react-utils/useStateWithDependency/useStateWithDependency.js +2 -2
  244. package/dist/react-utils/withTitle/index.js +2 -1
  245. package/dist/react-utils/withTitle/index.js.map +1 -1
  246. package/dist/react-utils/withTitle/withTitle.js +2 -1
  247. package/dist/react-utils/withTitle/withTitle.js.map +1 -1
  248. package/dist/slicedToArray-BWOQ_OdI.js +44 -0
  249. package/dist/slicedToArray-BWOQ_OdI.js.map +1 -0
  250. package/dist/toConsumableArray-B7CFjjkW.js +20 -0
  251. package/dist/toConsumableArray-B7CFjjkW.js.map +1 -0
  252. package/dist/typeof-D-UKOauR.js +12 -0
  253. package/dist/typeof-D-UKOauR.js.map +1 -0
  254. package/dist/unsupportedIterableToArray-Dqz8Y8_I.js +16 -0
  255. package/dist/unsupportedIterableToArray-Dqz8Y8_I.js.map +1 -0
  256. package/dist/utils/buildNestedAttributesPayload.js +4 -3
  257. package/dist/utils/buildNestedAttributesPayload.js.map +1 -1
  258. package/dist/utils/captureAnalyticsPageView.js +2 -1
  259. package/dist/utils/captureAnalyticsPageView.js.map +1 -1
  260. package/dist/utils/createSubscription.js +6 -5
  261. package/dist/utils/createSubscription.js.map +1 -1
  262. package/dist/utils/currencyFormat.js +2 -1
  263. package/dist/utils/currencyFormat.js.map +1 -1
  264. package/dist/utils/datetime.js +6 -5
  265. package/dist/utils/datetime.js.map +1 -1
  266. package/dist/utils/dayjs.js +14 -21
  267. package/dist/utils/dayjs.js.map +1 -1
  268. package/dist/utils/general.js +8 -7
  269. package/dist/utils/general.js.map +1 -1
  270. package/dist/utils/index.js +7 -6
  271. package/dist/utils/index.js.map +1 -1
  272. package/dist/utils/timezonePlugin.js +4 -3
  273. package/dist/utils/timezonePlugin.js.map +1 -1
  274. package/package.json +44 -44
  275. package/dist/cjs/defineProperty-997UgAIV.js +0 -19
  276. package/dist/cjs/defineProperty-997UgAIV.js.map +0 -1
  277. package/dist/cjs/index-H4FWVZW-.js +0 -439
  278. package/dist/cjs/index-H4FWVZW-.js.map +0 -1
  279. package/dist/cjs/objectWithoutProperties-DKElrbI9.js +0 -38
  280. package/dist/cjs/objectWithoutProperties-DKElrbI9.js.map +0 -1
  281. package/dist/cjs/slicedToArray-xtNEn5LJ.js +0 -48
  282. package/dist/cjs/slicedToArray-xtNEn5LJ.js.map +0 -1
  283. package/dist/cjs/toConsumableArray-Da_S-3Fb.js +0 -22
  284. package/dist/cjs/toConsumableArray-Da_S-3Fb.js.map +0 -1
  285. package/dist/cjs/typeof-CKZ7gZmW.js +0 -14
  286. package/dist/cjs/typeof-CKZ7gZmW.js.map +0 -1
  287. package/dist/cjs/unsupportedIterableToArray-CP9uaN0w.js +0 -24
  288. package/dist/cjs/unsupportedIterableToArray-CP9uaN0w.js.map +0 -1
  289. package/dist/defineProperty-CEd-kZQW.js +0 -17
  290. package/dist/defineProperty-CEd-kZQW.js.map +0 -1
  291. package/dist/index-CRoDfiJc.js +0 -436
  292. package/dist/index-CRoDfiJc.js.map +0 -1
  293. package/dist/objectWithoutProperties-B90Wg9LD.js +0 -36
  294. package/dist/objectWithoutProperties-B90Wg9LD.js.map +0 -1
  295. package/dist/slicedToArray-B_J-CC8-.js +0 -46
  296. package/dist/slicedToArray-B_J-CC8-.js.map +0 -1
  297. package/dist/toConsumableArray-CQcqnqnw.js +0 -20
  298. package/dist/toConsumableArray-CQcqnqnw.js.map +0 -1
  299. package/dist/typeof-C6-BY_SI.js +0 -12
  300. package/dist/typeof-C6-BY_SI.js.map +0 -1
  301. package/dist/unsupportedIterableToArray-wRn9bJ2J.js +0 -21
  302. package/dist/unsupportedIterableToArray-wRn9bJ2J.js.map +0 -1
@@ -2,9 +2,9 @@ import { keysToCamelCase, capitalize, deepFreezeObject } from '@bigbinary/neeto-
2
2
 
3
3
  /* eslint-disable @bigbinary/neeto/no-globalProps-reassignment */
4
4
  function initializeGlobalProps() {
5
- var _document$getElements, _document$getElements2, _window, _window$globalProps;
6
- window.globalProps = keysToCamelCase(JSON.parse(((_document$getElements = document.getElementsByClassName("root-container")[0]) === null || _document$getElements === void 0 ? void 0 : (_document$getElements2 = _document$getElements.dataset) === null || _document$getElements2 === void 0 ? void 0 : _document$getElements2.reactProps) || "{}"));
7
- if ((_window = window) !== null && _window !== void 0 && (_window$globalProps = _window.globalProps) !== null && _window$globalProps !== void 0 && _window$globalProps.appName) {
5
+ var _document$getElements, _window;
6
+ window.globalProps = keysToCamelCase(JSON.parse(((_document$getElements = document.getElementsByClassName("root-container")[0]) === null || _document$getElements === void 0 || (_document$getElements = _document$getElements.dataset) === null || _document$getElements === void 0 ? void 0 : _document$getElements.reactProps) || "{}"));
7
+ if ((_window = window) !== null && _window !== void 0 && (_window = _window.globalProps) !== null && _window !== void 0 && _window.appName) {
8
8
  window.globalProps.appName = capitalize(window.globalProps.appName);
9
9
  }
10
10
  deepFreezeObject(window.globalProps);
@@ -1 +1 @@
1
- {"version":3,"file":"globalProps.js","sources":["../../src/initializers/globalProps.js"],"sourcesContent":["/* eslint-disable @bigbinary/neeto/no-globalProps-reassignment */\nimport { keysToCamelCase, deepFreezeObject, capitalize } from \"neetocist\";\n\nexport default function initializeGlobalProps() {\n window.globalProps = keysToCamelCase(\n JSON.parse(\n document.getElementsByClassName(\"root-container\")[0]?.dataset\n ?.reactProps || \"{}\"\n )\n );\n\n if (window?.globalProps?.appName) {\n window.globalProps.appName = capitalize(window.globalProps.appName);\n }\n\n deepFreezeObject(window.globalProps);\n}\n"],"names":["initializeGlobalProps","_document$getElements","_document$getElements2","_window","_window$globalProps","window","globalProps","keysToCamelCase","JSON","parse","document","getElementsByClassName","dataset","reactProps","appName","capitalize","deepFreezeObject"],"mappings":";;AAAA;AAGe,SAASA,qBAAqBA,GAAG;AAAA,EAAA,IAAAC,qBAAA,EAAAC,sBAAA,EAAAC,OAAA,EAAAC,mBAAA,CAAA;AAC9CC,EAAAA,MAAM,CAACC,WAAW,GAAGC,eAAe,CAClCC,IAAI,CAACC,KAAK,CACR,CAAA,CAAAR,qBAAA,GAAAS,QAAQ,CAACC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,cAAAV,qBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,CAAAC,sBAAA,GAApDD,qBAAA,CAAsDW,OAAO,MAAAV,IAAAA,IAAAA,sBAAA,uBAA7DA,sBAAA,CACIW,UAAU,KAAI,IACpB,CACF,CAAC,CAAA;AAED,EAAA,IAAA,CAAAV,OAAA,GAAIE,MAAM,MAAAF,IAAAA,IAAAA,OAAA,gBAAAC,mBAAA,GAAND,OAAA,CAAQG,WAAW,MAAAF,IAAAA,IAAAA,mBAAA,eAAnBA,mBAAA,CAAqBU,OAAO,EAAE;AAChCT,IAAAA,MAAM,CAACC,WAAW,CAACQ,OAAO,GAAGC,UAAU,CAACV,MAAM,CAACC,WAAW,CAACQ,OAAO,CAAC,CAAA;AACrE,GAAA;AAEAE,EAAAA,gBAAgB,CAACX,MAAM,CAACC,WAAW,CAAC,CAAA;AACtC;;;;"}
1
+ {"version":3,"file":"globalProps.js","sources":["../../src/initializers/globalProps.js"],"sourcesContent":["/* eslint-disable @bigbinary/neeto/no-globalProps-reassignment */\nimport { keysToCamelCase, deepFreezeObject, capitalize } from \"neetocist\";\n\nexport default function initializeGlobalProps() {\n window.globalProps = keysToCamelCase(\n JSON.parse(\n document.getElementsByClassName(\"root-container\")[0]?.dataset\n ?.reactProps || \"{}\"\n )\n );\n\n if (window?.globalProps?.appName) {\n window.globalProps.appName = capitalize(window.globalProps.appName);\n }\n\n deepFreezeObject(window.globalProps);\n}\n"],"names":["initializeGlobalProps","_document$getElements","_window","window","globalProps","keysToCamelCase","JSON","parse","document","getElementsByClassName","dataset","reactProps","appName","capitalize","deepFreezeObject"],"mappings":";;AAAA;AAGe,SAASA,qBAAqBA,GAAG;EAAA,IAAAC,qBAAA,EAAAC,OAAA,CAAA;AAC9CC,EAAAA,MAAM,CAACC,WAAW,GAAGC,eAAe,CAClCC,IAAI,CAACC,KAAK,CACR,CAAA,CAAAN,qBAAA,GAAAO,QAAQ,CAACC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,cAAAR,qBAAA,KAAA,KAAA,CAAA,IAAA,CAAAA,qBAAA,GAApDA,qBAAA,CAAsDS,OAAO,MAAAT,IAAAA,IAAAA,qBAAA,uBAA7DA,qBAAA,CACIU,UAAU,KAAI,IACpB,CACF,CAAC,CAAA;AAED,EAAA,IAAA,CAAAT,OAAA,GAAIC,MAAM,MAAAD,IAAAA,IAAAA,OAAA,gBAAAA,OAAA,GAANA,OAAA,CAAQE,WAAW,MAAAF,IAAAA,IAAAA,OAAA,eAAnBA,OAAA,CAAqBU,OAAO,EAAE;AAChCT,IAAAA,MAAM,CAACC,WAAW,CAACQ,OAAO,GAAGC,UAAU,CAACV,MAAM,CAACC,WAAW,CAACQ,OAAO,CAAC,CAAA;AACrE,GAAA;AAEAE,EAAAA,gBAAgB,CAACX,MAAM,CAACC,WAAW,CAAC,CAAA;AACtC;;;;"}
@@ -6,9 +6,9 @@ import { listFormatter, lowerCaseDynamicTextFormatter } from './utils/customForm
6
6
  import { sentenceCaseProcessor } from './utils/customPostProcessors.js';
7
7
  import { replaceNullValuesWithGetter as _replaceNullValuesWithGetter } from './utils/utils.js';
8
8
  import 'dompurify';
9
- import '../typeof-C6-BY_SI.js';
10
- import '../slicedToArray-B_J-CC8-.js';
11
- import '../unsupportedIterableToArray-wRn9bJ2J.js';
9
+ import '../typeof-D-UKOauR.js';
10
+ import '../slicedToArray-BWOQ_OdI.js';
11
+ import '../unsupportedIterableToArray-Dqz8Y8_I.js';
12
12
 
13
13
  function _classCallCheck(instance, Constructor) {
14
14
  if (!(instance instanceof Constructor)) {
@@ -1,4 +1,4 @@
1
- import { _ as _typeof } from '../typeof-C6-BY_SI.js';
1
+ import { _ as _typeof } from '../typeof-D-UKOauR.js';
2
2
  export { default as useDisplayErrorPage } from '../react-utils/useDisplayErrorPage/useDisplayErrorPage.js';
3
3
  import initializeAxios from './axiosInitializer/index.js';
4
4
  import initializeDayjs from './dayjs.js';
@@ -10,7 +10,7 @@ import initializeMixpanel from './mixpanel.js';
10
10
  import disableReactDevTools from './reactDevTools.js';
11
11
  import 'ramda';
12
12
  import 'zustand';
13
- import '../defineProperty-CEd-kZQW.js';
13
+ import '../defineProperty-D_V-nTlo.js';
14
14
  import 'axios';
15
15
  import 'i18next';
16
16
  import '@bigbinary/neeto-cist';
@@ -42,8 +42,8 @@ import './utils/customFormatters.js';
42
42
  import 'dompurify';
43
43
  import './utils/customPostProcessors.js';
44
44
  import './utils/utils.js';
45
- import '../slicedToArray-B_J-CC8-.js';
46
- import '../unsupportedIterableToArray-wRn9bJ2J.js';
45
+ import '../slicedToArray-BWOQ_OdI.js';
46
+ import '../unsupportedIterableToArray-Dqz8Y8_I.js';
47
47
  import 'js-logger';
48
48
  import '../mixpanel.cjs-DTVxnNUt.js';
49
49
  import '../_commonjsHelpers-B85MJLTf.js';
@@ -1,4 +1,4 @@
1
- import { _ as _typeof } from '../typeof-C6-BY_SI.js';
1
+ import { _ as _typeof } from '../typeof-D-UKOauR.js';
2
2
 
3
3
  var isObjectOrFunction = function isObjectOrFunction(object) {
4
4
  var type = _typeof(object);
@@ -1,7 +1,7 @@
1
- import { _ as _typeof } from '../../typeof-C6-BY_SI.js';
2
- import { _ as _slicedToArray } from '../../slicedToArray-B_J-CC8-.js';
1
+ import { _ as _typeof } from '../../typeof-D-UKOauR.js';
2
+ import { _ as _slicedToArray } from '../../slicedToArray-BWOQ_OdI.js';
3
3
  import i18next from 'i18next';
4
- import '../../unsupportedIterableToArray-wRn9bJ2J.js';
4
+ import '../../unsupportedIterableToArray-Dqz8Y8_I.js';
5
5
 
6
6
  var getter = function getter(key) {
7
7
  return function () {
@@ -0,0 +1,24 @@
1
+ function _objectWithoutPropertiesLoose(r, e) {
2
+ if (null == r) return {};
3
+ var t = {};
4
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
5
+ if (e.includes(n)) continue;
6
+ t[n] = r[n];
7
+ }
8
+ return t;
9
+ }
10
+
11
+ function _objectWithoutProperties(e, t) {
12
+ if (null == e) return {};
13
+ var o,
14
+ r,
15
+ i = _objectWithoutPropertiesLoose(e, t);
16
+ if (Object.getOwnPropertySymbols) {
17
+ var s = Object.getOwnPropertySymbols(e);
18
+ for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
19
+ }
20
+ return i;
21
+ }
22
+
23
+ export { _objectWithoutProperties as _ };
24
+ //# sourceMappingURL=objectWithoutProperties-PcUN5OqL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectWithoutProperties-PcUN5OqL.js","sources":["../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"],"sourcesContent":["function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nfunction _objectWithoutProperties(e, t) {\n if (null == e) return {};\n var o,\n r,\n i = objectWithoutPropertiesLoose(e, t);\n if (Object.getOwnPropertySymbols) {\n var s = Object.getOwnPropertySymbols(e);\n for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);\n }\n return i;\n}\nexport { _objectWithoutProperties as default };"],"names":["objectWithoutPropertiesLoose"],"mappings":"AAAA,SAAS,6BAA6B,CAAC,CAAC,EAAE,CAAC,EAAE;AAC7C,EAAE,IAAI,IAAI,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;AAC3B,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC;AACb,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;AACrD,IAAI,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,SAAS;AAChC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AAChB,GAAG;AACH,EAAE,OAAO,CAAC,CAAC;AACX;;ACPA,SAAS,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE;AACxC,EAAE,IAAI,IAAI,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;AAC3B,EAAE,IAAI,CAAC;AACP,IAAI,CAAC;AACL,IAAI,CAAC,GAAGA,6BAA4B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC3C,EAAE,IAAI,MAAM,CAAC,qBAAqB,EAAE;AACpC,IAAI,IAAI,CAAC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAC5C,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClH,GAAG;AACH,EAAE,OAAO,CAAC,CAAC;AACX;;;;","x_google_ignoreList":[0,1]}
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from '../../defineProperty-CEd-kZQW.js';
1
+ import { _ as _defineProperty } from '../../defineProperty-D_V-nTlo.js';
2
2
  import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
3
3
  import BrowserSupport from '@bigbinary/neeto-molecules/BrowserSupport';
4
4
  import StickyRibbonsContainer from '@bigbinary/neeto-molecules/StickyRibbonsContainer';
@@ -7,6 +7,7 @@ import { ToastContainer } from 'react-toastify';
7
7
  import HoneybadgerErrorBoundary from '../HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.js';
8
8
  import QueryClientProvider from '../QueryClientProvider/QueryClientProvider.js';
9
9
  import { jsx, jsxs } from 'react/jsx-runtime';
10
+ import '../../typeof-D-UKOauR.js';
10
11
  import '@honeybadger-io/react';
11
12
  import '../HoneybadgerErrorBoundary/constants.js';
12
13
  import '../HoneybadgerErrorBoundary/FallbackComponent.js';
@@ -1 +1 @@
1
- {"version":3,"file":"AppContainer.js","sources":["../../../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js","../../../src/react-utils/AppContainer/AppContainer.jsx"],"sourcesContent":["var e=[],t=[];function n(n,r){if(n&&\"undefined\"!=typeof document){var a,s=!0===r.prepend?\"prepend\":\"append\",d=!0===r.singleTag,i=\"string\"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName(\"head\")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c()}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n))}function c(){var e=document.createElement(\"style\");if(e.setAttribute(\"type\",\"text/css\"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a=\"prepend\"===s?\"afterbegin\":\"beforeend\";return i.insertAdjacentElement(a,e),e}}export{n as default};\n","import { ReactQueryDevtools } from \"@tanstack/react-query-devtools\";\nimport \"assets/stylesheets/app-container.css\";\nimport BrowserSupport from \"neetomolecules/BrowserSupport\";\nimport StickyRibbonsContainer from \"neetomolecules/StickyRibbonsContainer\";\nimport { BrowserRouter } from \"react-router-dom\";\nimport { ToastContainer } from \"react-toastify\";\nimport HoneybadgerErrorBoundary from \"react-utils/HoneybadgerErrorBoundary\";\nimport QueryClientProvider from \"react-utils/QueryClientProvider/QueryClientProvider\";\n\nconst AppContainer = ({\n children,\n browserSupportProps,\n enableStickyRibbons = true,\n honeybadgerErrorBoundaryProps,\n reactQueryDevtoolsProps,\n toastContainerProps,\n}) => (\n <HoneybadgerErrorBoundary {...honeybadgerErrorBoundaryProps}>\n <BrowserSupport {...browserSupportProps}>\n <ToastContainer {...toastContainerProps} />\n <QueryClientProvider>\n {globalProps.authenticated && enableStickyRibbons && (\n <StickyRibbonsContainer />\n )}\n <BrowserRouter>{children}</BrowserRouter>\n <ReactQueryDevtools\n initialIsOpen={false}\n position=\"bottom\"\n {...reactQueryDevtoolsProps}\n />\n </QueryClientProvider>\n </BrowserSupport>\n </HoneybadgerErrorBoundary>\n);\n\nexport default AppContainer;\n"],"names":["AppContainer","_ref","children","browserSupportProps","_ref$enableStickyRibb","enableStickyRibbons","honeybadgerErrorBoundaryProps","reactQueryDevtoolsProps","toastContainerProps","_jsx","HoneybadgerErrorBoundary","_objectSpread","_jsxs","BrowserSupport","ToastContainer","QueryClientProvider","globalProps","authenticated","StickyRibbonsContainer","BrowserRouter","ReactQueryDevtools","initialIsOpen","position"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,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AAb,QAAAA,QAAA,EACjBc,CAAAA,WAAW,CAACC,aAAa,IAAIZ,mBAAmB,iBAC/CI,GAAA,CAACS,sBAAsB,EAAE,EAAA,CAC1B,eACDT,GAAA,CAACU,aAAa,EAAA;AAAAjB,UAAAA,QAAA,EAAEA,QAAAA;AAAQ,SAAgB,CAAC,eACzCO,GAAA,CAACW,kBAAkB,EAAAT,aAAA,CAAA;AACjBU,UAAAA,aAAa,EAAE,KAAM;AACrBC,UAAAA,QAAQ,EAAC,QAAA;SACLf,EAAAA,uBAAuB,CAC5B,CAAC,CAAA;AAAA,OACiB,CAAC,CAAA;KACR,CAAA,CAAA;AAAC,GAAA,CACO,CAAC,CAAA;AAAA;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"AppContainer.js","sources":["../../../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js","../../../src/react-utils/AppContainer/AppContainer.jsx"],"sourcesContent":["var e=[],t=[];function n(n,r){if(n&&\"undefined\"!=typeof document){var a,s=!0===r.prepend?\"prepend\":\"append\",d=!0===r.singleTag,i=\"string\"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName(\"head\")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c()}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n))}function c(){var e=document.createElement(\"style\");if(e.setAttribute(\"type\",\"text/css\"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a=\"prepend\"===s?\"afterbegin\":\"beforeend\";return i.insertAdjacentElement(a,e),e}}export{n as default};\n","import { ReactQueryDevtools } from \"@tanstack/react-query-devtools\";\nimport \"assets/stylesheets/app-container.css\";\nimport BrowserSupport from \"neetomolecules/BrowserSupport\";\nimport StickyRibbonsContainer from \"neetomolecules/StickyRibbonsContainer\";\nimport { BrowserRouter } from \"react-router-dom\";\nimport { ToastContainer } from \"react-toastify\";\nimport HoneybadgerErrorBoundary from \"react-utils/HoneybadgerErrorBoundary\";\nimport QueryClientProvider from \"react-utils/QueryClientProvider/QueryClientProvider\";\n\nconst AppContainer = ({\n children,\n browserSupportProps,\n enableStickyRibbons = true,\n honeybadgerErrorBoundaryProps,\n reactQueryDevtoolsProps,\n toastContainerProps,\n}) => (\n <HoneybadgerErrorBoundary {...honeybadgerErrorBoundaryProps}>\n <BrowserSupport {...browserSupportProps}>\n <ToastContainer {...toastContainerProps} />\n <QueryClientProvider>\n {globalProps.authenticated && enableStickyRibbons && (\n <StickyRibbonsContainer />\n )}\n <BrowserRouter>{children}</BrowserRouter>\n <ReactQueryDevtools\n initialIsOpen={false}\n position=\"bottom\"\n {...reactQueryDevtoolsProps}\n />\n </QueryClientProvider>\n </BrowserSupport>\n </HoneybadgerErrorBoundary>\n);\n\nexport default AppContainer;\n"],"names":["AppContainer","_ref","children","browserSupportProps","_ref$enableStickyRibb","enableStickyRibbons","honeybadgerErrorBoundaryProps","reactQueryDevtoolsProps","toastContainerProps","_jsx","HoneybadgerErrorBoundary","_objectSpread","_jsxs","BrowserSupport","ToastContainer","QueryClientProvider","globalProps","authenticated","StickyRibbonsContainer","BrowserRouter","ReactQueryDevtools","initialIsOpen","position"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,QA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B,EAAAT,aAAA,CAAA;AACjBU,UAAAA,aAAa,EAAE,KAAM;AACrBC,UAAAA,QAAQ,EAAC,QAAA;SACLf,EAAAA,uBAAuB,CAC5B,CAAC,CAAA;AAAA,OACiB,CAAC,CAAA;KACR,CAAA,CAAA;AAAC,GAAA,CACO,CAAC,CAAA;AAAA;;;;","x_google_ignoreList":[0]}
@@ -1,5 +1,6 @@
1
1
  export { default } from './AppContainer.js';
2
- import '../../defineProperty-CEd-kZQW.js';
2
+ import '../../defineProperty-D_V-nTlo.js';
3
+ import '../../typeof-D-UKOauR.js';
3
4
  import '@tanstack/react-query-devtools';
4
5
  import '@bigbinary/neeto-molecules/BrowserSupport';
5
6
  import '@bigbinary/neeto-molecules/StickyRibbonsContainer';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  export { destroyBrowserSubscription, registerBrowserNotifications } from './pushHelper.js';
2
- import '../../index-CRoDfiJc.js';
2
+ import '../../index-D_s_toMy.js';
3
3
  import '../../_commonjsHelpers-B85MJLTf.js';
4
4
  import './devices.js';
5
5
  import 'axios';
@@ -1,4 +1,4 @@
1
- import { _ as _asyncToGenerator, a as _regeneratorRuntime } from '../../index-CRoDfiJc.js';
1
+ import { _ as _asyncToGenerator, a as _regeneratorRuntime } from '../../index-D_s_toMy.js';
2
2
  import devicesApi from './devices.js';
3
3
  import { unsubscribeBrowserNotifications, registerServiceWorker } from './registerServiceWorker.js';
4
4
  import '../../_commonjsHelpers-B85MJLTf.js';
@@ -1,4 +1,4 @@
1
- import { _ as _asyncToGenerator, a as _regeneratorRuntime } from '../../index-CRoDfiJc.js';
1
+ import { _ as _asyncToGenerator, a as _regeneratorRuntime } from '../../index-D_s_toMy.js';
2
2
  import '../../_commonjsHelpers-B85MJLTf.js';
3
3
 
4
4
  // THIS FILE HAS BEEN ADDED BY NEETO NOTIFICATIONS ENGINE
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from '../../defineProperty-CEd-kZQW.js';
1
+ import { _ as _defineProperty } from '../../defineProperty-D_V-nTlo.js';
2
2
  import { useEffect } from 'react';
3
3
  import DOMPurify from 'dompurify';
4
4
  import Button from '@bigbinary/neetoui/Button';
@@ -6,6 +6,7 @@ import Typography from '@bigbinary/neetoui/Typography';
6
6
  import { isNil } from 'ramda';
7
7
  import { useTranslation, Trans } from 'react-i18next';
8
8
  import { jsx, jsxs } from 'react/jsx-runtime';
9
+ import '../../typeof-D-UKOauR.js';
9
10
 
10
11
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
12
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -85,9 +86,9 @@ var FallbackComponent = function FallbackComponent() {
85
86
  contactus: /*#__PURE__*/jsx(Button, {
86
87
  style: "link",
87
88
  onClick: function onClick() {
88
- var _window$NeetoChat, _window$NeetoChat$con, _window$NeetoChat2, _window$NeetoChat2$co;
89
- (_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 ? void 0 : (_window$NeetoChat$con = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat$con === void 0 ? void 0 : _window$NeetoChat$con.maximizeWidget();
90
- (_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 ? void 0 : (_window$NeetoChat2$co = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2$co === void 0 ? void 0 : _window$NeetoChat2$co.openWidget();
89
+ var _window$NeetoChat, _window$NeetoChat2;
90
+ (_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 || (_window$NeetoChat = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat === void 0 || _window$NeetoChat.maximizeWidget();
91
+ (_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 || (_window$NeetoChat2 = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2 === void 0 || _window$NeetoChat2.openWidget();
91
92
  }
92
93
  })
93
94
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FallbackComponent.js","sources":["../../../src/react-utils/HoneybadgerErrorBoundary/FallbackComponent.jsx"],"sourcesContent":["import { useEffect } from \"react\";\n\nimport FallbackComponentImage from \"assets/images/fallback-component.svg\";\nimport DOMPurify from \"dompurify\";\nimport { Button, Typography } from \"neetoui\";\nimport { isNil } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nconst sanitize = DOMPurify.sanitize;\n\nconst FallbackComponent = () => {\n const { t } = useTranslation();\n\n useEffect(() => {\n const listener = e => {\n if (isNil(e.state)) return;\n window.location.href = sanitize(e.target?.location.href);\n };\n window.addEventListener(\"popstate\", listener);\n\n return () => window.removeEventListener(\"popstate\", listener);\n }, []);\n\n return (\n <div className=\"flex h-screen w-full flex-row items-start justify-start\">\n <div className=\"m-auto text-center\">\n <div className=\"m-auto mb-8 flex items-center justify-center\">\n <FallbackComponentImage />\n </div>\n <Typography\n className=\"mb-4\"\n component=\"h2\"\n style=\"h2\"\n weight=\"semibold\"\n >\n {t(\"neetoCommons.fallbackComponent.somethingWentWrong\")}\n </Typography>\n <Typography\n className=\"neeto-ui-text-gray-600 mb-8\"\n component=\"p\"\n style=\"body1\"\n weight=\"normal\"\n >\n <Trans\n i18nKey=\"neetoCommons.fallbackComponent.description\"\n components={{\n reloading: (\n <Button style=\"link\" onClick={() => window.location.reload()} />\n ),\n contactus: (\n <Button\n style=\"link\"\n onClick={() => {\n window.NeetoChat?.contextualHelp?.maximizeWidget();\n window.NeetoChat?.contextualHelp?.openWidget();\n }}\n />\n ),\n }}\n />\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default FallbackComponent;\n"],"names":["FallbackComponentImage","props","_jsxs","_objectSpread","children","_jsx","d","fill","defaultProps","width","height","viewBox","xmlns","sanitize","DOMPurify","FallbackComponent","_useTranslation","useTranslation","t","useEffect","listener","e","_e$target","isNil","state","window","location","href","target","addEventListener","removeEventListener","className","Typography","component","style","weight","Trans","i18nKey","components","reloading","Button","onClick","reload","contactus","_window$NeetoChat","_window$NeetoChat$con","_window$NeetoChat2","_window$NeetoChat2$co","NeetoChat","contextualHelp","maximizeWidget","openWidget"],"mappings":";;;;;;;;;;;AAAkC,IAE3BA,sBAAsB,GAAA,SAAtBA,sBAAsBA,CAAAC,KAAA,EAAA;AAAA,EAAA,oBAAAC,IAAA,CAAAC,KAAAA,EAAAA,aAAA,CAAAA,aAAA,KAAAF,KAAA,CAAA,EAAA,EAAA,EAAA;AAAAG,IAAAA,QAAA,gBAAAC,GAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,s8BAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,GAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,w4BAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,GAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,w4BAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,GAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,ipFAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,GAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,04CAAA;MAAAC,IAAA,E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A,EAAAC,qBAAA,CAAA;gBACb,CAAAH,iBAAA,GAAAnB,MAAM,CAACuB,SAAS,MAAAJ,IAAAA,IAAAA,iBAAA,wBAAAC,qBAAA,GAAhBD,iBAAA,CAAkBK,cAAc,cAAAJ,qBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAhCA,qBAAA,CAAkCK,cAAc,EAAE,CAAA;gBAClD,CAAAJ,kBAAA,GAAArB,MAAM,CAACuB,SAAS,MAAAF,IAAAA,IAAAA,kBAAA,wBAAAC,qBAAA,GAAhBD,kBAAA,CAAkBG,cAAc,cAAAF,qBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAhCA,qBAAA,CAAkCI,UAAU,EAAE,CAAA;AAChD,eAAA;aACD,CAAA;AAEL,WAAA;SACD,CAAA;AAAC,OACQ,CAAC,CAAA;KACV,CAAA;AAAC,GACH,CAAC,CAAA;AAEV;;;;"}
1
+ {"version":3,"file":"FallbackComponent.js","sources":["../../../src/react-utils/HoneybadgerErrorBoundary/FallbackComponent.jsx"],"sourcesContent":["import { useEffect } from \"react\";\n\nimport FallbackComponentImage from \"assets/images/fallback-component.svg\";\nimport DOMPurify from \"dompurify\";\nimport { Button, Typography } from \"neetoui\";\nimport { isNil } from \"ramda\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nconst sanitize = DOMPurify.sanitize;\n\nconst FallbackComponent = () => {\n const { t } = useTranslation();\n\n useEffect(() => {\n const listener = e => {\n if (isNil(e.state)) return;\n window.location.href = sanitize(e.target?.location.href);\n };\n window.addEventListener(\"popstate\", listener);\n\n return () => window.removeEventListener(\"popstate\", listener);\n }, []);\n\n return (\n <div className=\"flex h-screen w-full flex-row items-start justify-start\">\n <div className=\"m-auto text-center\">\n <div className=\"m-auto mb-8 flex items-center justify-center\">\n <FallbackComponentImage />\n </div>\n <Typography\n className=\"mb-4\"\n component=\"h2\"\n style=\"h2\"\n weight=\"semibold\"\n >\n {t(\"neetoCommons.fallbackComponent.somethingWentWrong\")}\n </Typography>\n <Typography\n className=\"neeto-ui-text-gray-600 mb-8\"\n component=\"p\"\n style=\"body1\"\n weight=\"normal\"\n >\n <Trans\n i18nKey=\"neetoCommons.fallbackComponent.description\"\n components={{\n reloading: (\n <Button style=\"link\" onClick={() => window.location.reload()} />\n ),\n contactus: (\n <Button\n style=\"link\"\n onClick={() => {\n window.NeetoChat?.contextualHelp?.maximizeWidget();\n window.NeetoChat?.contextualHelp?.openWidget();\n }}\n />\n ),\n }}\n />\n </Typography>\n </div>\n </div>\n );\n};\n\nexport default FallbackComponent;\n"],"names":["FallbackComponentImage","props","_jsxs","_objectSpread","children","_jsx","d","fill","defaultProps","width","height","viewBox","xmlns","sanitize","DOMPurify","FallbackComponent","_useTranslation","useTranslation","t","useEffect","listener","e","_e$target","isNil","state","window","location","href","target","addEventListener","removeEventListener","className","Typography","component","style","weight","Trans","i18nKey","components","reloading","Button","onClick","reload","contactus","_window$NeetoChat","_window$NeetoChat2","NeetoChat","contextualHelp","maximizeWidget","openWidget"],"mappings":";;;;;;;;;;;;AAAkC,IAE3BA,sBAAsB,GAAA,SAAtBA,sBAAsBA,CAAAC,KAAA,EAAA;AAAA,EAAA,oBAAAC,IAAA,CAAAC,KAAAA,EAAAA,aAAA,CAAAA,aAAA,KAAAF,KAAA,CAAA,EAAA,EAAA,EAAA;AAAAG,IAAAA,QAAA,gBAAAC,GAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,s8BAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,GAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,w4BAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,GAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,w4BAAA;MAAAC,IAAA,EAAA,SAAA;AAAA,KAAA,CAAA,eAAAF,GAAA,CAAA,MAAA,EAAA;MAAAC,CAAA,EAAA,ipFAAA;MAAAC,IAAA,EA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AACZO,cAAAA,OAAO,EAAE,SAATA,OAAOA,GAAQ;gBAAA,IAAAG,iBAAA,EAAAC,kBAAA,CAAA;gBACb,CAAAD,iBAAA,GAAAnB,MAAM,CAACqB,SAAS,MAAAF,IAAAA,IAAAA,iBAAA,gBAAAA,iBAAA,GAAhBA,iBAAA,CAAkBG,cAAc,cAAAH,iBAAA,KAAA,KAAA,CAAA,IAAhCA,iBAAA,CAAkCI,cAAc,EAAE,CAAA;gBAClD,CAAAH,kBAAA,GAAApB,MAAM,CAACqB,SAAS,MAAAD,IAAAA,IAAAA,kBAAA,gBAAAA,kBAAA,GAAhBA,kBAAA,CAAkBE,cAAc,cAAAF,kBAAA,KAAA,KAAA,CAAA,IAAhCA,kBAAA,CAAkCI,UAAU,EAAE,CAAA;AAChD,eAAA;aACD,CAAA;AAEL,WAAA;SACD,CAAA;AAAC,OACQ,CAAC,CAAA;KACV,CAAA;AAAC,GACH,CAAC,CAAA;AAEV;;;;"}
@@ -3,7 +3,8 @@ import { IGNORABLE_ERRORS_REGEX, IGNORABLE_ERROR_NAMES_REGEX } from './constants
3
3
  import FallbackComponent from './FallbackComponent.js';
4
4
  import { getSessionReplayUrl, attachContext } from './utils.js';
5
5
  import { jsx } from 'react/jsx-runtime';
6
- import '../../defineProperty-CEd-kZQW.js';
6
+ import '../../defineProperty-D_V-nTlo.js';
7
+ import '../../typeof-D-UKOauR.js';
7
8
  import 'react';
8
9
  import 'dompurify';
9
10
  import '@bigbinary/neetoui/Button';
@@ -1 +1 @@
1
- {"version":3,"file":"HoneybadgerErrorBoundary.js","sources":["../../../src/react-utils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.jsx"],"sourcesContent":["import {\n Honeybadger,\n HoneybadgerErrorBoundary as ErrorBoundary,\n} from \"@honeybadger-io/react\";\n\nimport {\n IGNORABLE_ERROR_NAMES_REGEX,\n IGNORABLE_ERRORS_REGEX,\n} from \"./constants\";\nimport FallbackComponent from \"./FallbackComponent\";\nimport { attachContext, getSessionReplayUrl } from \"./utils\";\n\n/** @type {import(\"neetocommons/react-utils\").HoneybadgerErrorBoundary} */\nconst HoneybadgerErrorBoundary = ({\n children,\n ErrorComponent = FallbackComponent,\n filterErrors = undefined,\n}) => {\n Honeybadger.beforeNotify(notice => {\n if (!notice) return false;\n\n const isIgnorable =\n IGNORABLE_ERRORS_REGEX.test(notice.message) ||\n IGNORABLE_ERROR_NAMES_REGEX.test(notice.name) ||\n notice.stack.includes(\"chrome-extension://\") ||\n filterErrors?.(notice) === false;\n\n if (isIgnorable) return false;\n\n const context = { errorClass: notice.name };\n\n if (notice.name === \"ChunkLoadError\") {\n context.IGNORABLE_ERROR_NAMES_REGEX = IGNORABLE_ERROR_NAMES_REGEX;\n context.isChunkLoadError = IGNORABLE_ERROR_NAMES_REGEX.test(notice.name);\n }\n\n const user = globalProps.user?.email;\n if (user) context.user = user;\n\n const sessionReplay = getSessionReplayUrl();\n if (sessionReplay) context.sessionReplay = sessionReplay;\n\n attachContext(notice, context);\n\n return true;\n });\n\n const honeybadger = Honeybadger.configure({\n apiKey: globalProps.honeybadgerApiKey,\n environment: globalProps.railsEnv,\n revision: globalProps.honeybadgerRevision,\n developmentEnvironments: [\"development\", \"test\"],\n enableUncaught: true,\n async: true,\n breadcrumbsEnabled: true,\n projectRoot: \"webpack:///./\",\n enableUnhandledRejection: false,\n });\n\n return (\n <ErrorBoundary {...{ ErrorComponent, honeybadger }}>\n {children}\n </ErrorBoundary>\n );\n};\n\nexport default HoneybadgerErrorBoundary;\n"],"names":["HoneybadgerErrorBoundary","_ref","children","_ref$ErrorComponent","ErrorComponent","FallbackComponent","_ref$filterErrors","filterErrors","undefined","Honeybadger","beforeNotify","notice","_globalProps$user","isIgnorable","IGNORABLE_ERRORS_REGEX","test","message","IGNORABLE_ERROR_NAMES_REGEX","name","stack","includes","context","errorClass","isChunkLoadError","user","globalProps","email","sessionReplay","getSessionReplayUrl","attachContext","honeybadger","configure","apiKey","honeybadgerApiKey","environment","railsEnv","revision","honeybadgerRevision","developmentEnvironments","enableUncaught","async","breadcrumbsEnabled","projectRoot","enableUnhandledRejection","_jsx","ErrorBoundary"],"mappings":";;;;;;;;;;;;;AAaA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAAC,IAAA,EAIxB;AAAA,EAAA,IAHJC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,mBAAA,GAAAF,IAAA,CACRG,cAAc;AAAdA,IAAAA,cAAc,GAAAD,mBAAA,KAAGE,KAAAA,CAAAA,GAAAA,iBAAiB,GAAAF,mBAAA;IAAAG,iBAAA,GAAAL,IAAA,CAClCM,YAAY;AAAZA,IAAAA,YAAY,GAAAD,iBAAA,KAAGE,KAAAA,CAAAA,GAAAA,SAAS,GAAAF,iBAAA,CAAA;AAExBG,EAAAA,WAAW,CAACC,YAAY,CAAC,UAAAC,MAAM,EAAI;AAAA,IAAA,IAAAC,iBAAA,CAAA;AACjC,IAAA,IAAI,CAACD,MAAM,EAAE,OAAO,KAAK,CAAA;AAEzB,IAAA,IAAME,WAAW,GACfC,sBAAsB,CAACC,IAAI,CAACJ,MAAM,CAACK,OAAO,CAAC,IAC3CC,2BAA2B,CAACF,IAAI,CAACJ,MAAM,CAACO,IAAI,CAAC,IAC7CP,MAAM,CAACQ,KAAK,CAACC,QAAQ,CAAC,qBAAqB,CAAC,IAC5C,CAAAb,YAAY,KAAA,IAAA,IAAZA,YAAY,KAAZA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,YAAY,CAAGI,MAAM,CAAC,MAAK,KAAK,CAAA;IAElC,IAAIE,WAAW,EAAE,OAAO,KAAK,CAAA;AAE7B,IAAA,IAAMQ,OAAO,GAAG;MAAEC,UAAU,EAAEX,MAAM,CAACO,IAAAA;KAAM,CAAA;AAE3C,IAAA,IAAIP,MAAM,CAACO,IAAI,KAAK,gBAAgB,EAAE;MACpCG,OAAO,CAACJ,2BAA2B,GAAGA,2BAA2B,CAAA;MACjEI,OAAO,CAACE,gB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ils/HoneybadgerErrorBoundary/HoneybadgerErrorBoundary.jsx"],"sourcesContent":["import {\n Honeybadger,\n HoneybadgerErrorBoundary as ErrorBoundary,\n} from \"@honeybadger-io/react\";\n\nimport {\n IGNORABLE_ERROR_NAMES_REGEX,\n IGNORABLE_ERRORS_REGEX,\n} from \"./constants\";\nimport FallbackComponent from \"./FallbackComponent\";\nimport { attachContext, getSessionReplayUrl } from \"./utils\";\n\n/** @type {import(\"neetocommons/react-utils\").HoneybadgerErrorBoundary} */\nconst HoneybadgerErrorBoundary = ({\n children,\n ErrorComponent = FallbackComponent,\n filterErrors = undefined,\n}) => {\n Honeybadger.beforeNotify(notice => {\n if (!notice) return false;\n\n const isIgnorable =\n IGNORABLE_ERRORS_REGEX.test(notice.message) ||\n IGNORABLE_ERROR_NAMES_REGEX.test(notice.name) ||\n notice.stack.includes(\"chrome-extension://\") ||\n filterErrors?.(notice) === false;\n\n if (isIgnorable) return false;\n\n const context = { errorClass: notice.name };\n\n if (notice.name === \"ChunkLoadError\") {\n context.IGNORABLE_ERROR_NAMES_REGEX = IGNORABLE_ERROR_NAMES_REGEX;\n context.isChunkLoadError = IGNORABLE_ERROR_NAMES_REGEX.test(notice.name);\n }\n\n const user = globalProps.user?.email;\n if (user) context.user = user;\n\n const sessionReplay = getSessionReplayUrl();\n if (sessionReplay) context.sessionReplay = sessionReplay;\n\n attachContext(notice, context);\n\n return true;\n });\n\n const honeybadger = Honeybadger.configure({\n apiKey: globalProps.honeybadgerApiKey,\n environment: globalProps.railsEnv,\n revision: globalProps.honeybadgerRevision,\n developmentEnvironments: [\"development\", \"test\"],\n enableUncaught: true,\n async: true,\n breadcrumbsEnabled: true,\n projectRoot: \"webpack:///./\",\n enableUnhandledRejection: false,\n });\n\n return (\n <ErrorBoundary {...{ ErrorComponent, honeybadger }}>\n {children}\n </ErrorBoundary>\n );\n};\n\nexport default HoneybadgerErrorBoundary;\n"],"names":["HoneybadgerErrorBoundary","_ref","children","_ref$ErrorComponent","ErrorComponent","FallbackComponent","_ref$filterErrors","filterErrors","undefined","Honeybadger","beforeNotify","notice","_globalProps$user","isIgnorable","IGNORABLE_ERRORS_REGEX","test","message","IGNORABLE_ERROR_NAMES_REGEX","name","stack","includes","context","errorClass","isChunkLoadError","user","globalProps","email","sessionReplay","getSessionReplayUrl","attachContext","honeybadger","configure","apiKey","honeybadgerApiKey","environment","railsEnv","revision","honeybadgerRevision","developmentEnvironments","enableUncaught","async","breadcrumbsEnabled","projectRoot","enableUnhandledRejection","_jsx","ErrorBoundary"],"mappings":";;;;;;;;;;;;;;AAaA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAAC,IAAA,EAIxB;AAAA,EAAA,IAHJC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,mBAAA,GAAAF,IAAA,CACRG,cAAc;AAAdA,IAAAA,cAAc,GAAAD,mBAAA,KAAGE,KAAAA,CAAAA,GAAAA,iBAAiB,GAAAF,mBAAA;IAAAG,iBAAA,GAAAL,IAAA,CAClCM,YAAY;AAAZA,IAAAA,YAAY,GAAAD,iBAAA,KAAGE,KAAAA,CAAAA,GAAAA,SAAS,GAAAF,iBAAA,CAAA;AAExBG,EAAAA,WAAW,CAACC,YAAY,CAAC,UAAAC,MAAM,EAAI;AAAA,IAAA,IAAAC,iBAAA,CAAA;AACjC,IAAA,IAAI,CAACD,MAAM,EAAE,OAAO,KAAK,CAAA;AAEzB,IAAA,IAAME,WAAW,GACfC,sBAAsB,CAACC,IAAI,CAACJ,MAAM,CAACK,OAAO,CAAC,IAC3CC,2BAA2B,CAACF,IAAI,CAACJ,MAAM,CAACO,IAAI,CAAC,IAC7CP,MAAM,CAACQ,KAAK,CAACC,QAAQ,CAAC,qBAAqB,CAAC,IAC5C,CAAAb,YAAY,KAAA,IAAA,IAAZA,YAAY,KAAZA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,YAAY,CAAGI,MAAM,CAAC,MAAK,KAAK,CAAA;IAElC,IAAIE,W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AC,CAAA;EAEF,oBACEC,GAAA,CAACC,0BAAa,EAAA;AAAOzC,IAAAA,cAAc,EAAdA,cAAc;AAAE0B,IAAAA,WAAW,EAAXA,WAAW;AAAA5B,IAAAA,QAAA,EAC7CA,QAAAA;AAAQ,GACI,CAAC,CAAA;AAEpB;;;;"}
@@ -1,4 +1,4 @@
1
- var IGNORABLE_ERRORS_REGEX = new RegExp(["window.requestAnimationFrame", "ResizeObserver", "ChunkLoadError", "window.webkit.messageHandlers", "Request aborted", "Network Error", "Cannot redefine property: googletag", "Failed to execute 'removeChild' on 'Node'", "Failed to execute 'insertBefore' on 'Node'", "Can't find variable: disableWebkitEnterFullscreen", "rendererInterfaces is null", "Can't find variable: gmo"].join("|"));
1
+ var IGNORABLE_ERRORS_REGEX = new RegExp(["window.requestAnimationFrame", "ResizeObserver", "ChunkLoadError", "window.webkit.messageHandlers", "Request aborted", "Network Error", "Cannot redefine property: googletag", "Failed to execute 'removeChild' on 'Node'", "Failed to execute 'insertBefore' on 'Node'", "Can't find variable: disableWebkitEnterFullscreen", "rendererInterfaces is null", "Can't find variable: gmo", "Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'blob:.*' failed to load."].join("|"));
2
2
  var IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;
3
3
 
4
4
  export { IGNORABLE_ERRORS_REGEX, IGNORABLE_ERROR_NAMES_REGEX };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../../src/react-utils/HoneybadgerErrorBoundary/constants.js"],"sourcesContent":["export const IGNORABLE_ERRORS_REGEX = new RegExp(\n [\n \"window.requestAnimationFrame\",\n \"ResizeObserver\",\n \"ChunkLoadError\",\n \"window.webkit.messageHandlers\",\n \"Request aborted\",\n \"Network Error\",\n \"Cannot redefine property: googletag\",\n \"Failed to execute 'removeChild' on 'Node'\",\n \"Failed to execute 'insertBefore' on 'Node'\",\n \"Can't find variable: disableWebkitEnterFullscreen\",\n \"rendererInterfaces is null\",\n \"Can't find variable: gmo\",\n ].join(\"|\")\n);\nexport const IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;\n"],"names":["IGNORABLE_ERRORS_REGEX","RegExp","join","IGNORABLE_ERROR_NAMES_REGEX"],"mappings":"IAAaA,sBAAsB,GAAG,IAAIC,MAAM,CAC9C,CACE,8BAA8B,EAC9B,gBAAgB,EAChB,gBAAgB,EAChB,+BAA+B,EAC/B,iBAAiB,EACjB,eAAe,EACf,qCAAqC,EACrC,2CAA2C,EAC3C,4CAA4C,EAC5C,mDAAmD,EACnD,4BAA4B,EAC5B,0BAA0B,CAC3B,CAACC,IAAI,CAAC,GAAG,CACZ,EAAC;AACM,IAAMC,2BAA2B,GAAG;;;;"}
1
+ {"version":3,"file":"constants.js","sources":["../../../src/react-utils/HoneybadgerErrorBoundary/constants.js"],"sourcesContent":["export const IGNORABLE_ERRORS_REGEX = new RegExp(\n [\n \"window.requestAnimationFrame\",\n \"ResizeObserver\",\n \"ChunkLoadError\",\n \"window.webkit.messageHandlers\",\n \"Request aborted\",\n \"Network Error\",\n \"Cannot redefine property: googletag\",\n \"Failed to execute 'removeChild' on 'Node'\",\n \"Failed to execute 'insertBefore' on 'Node'\",\n \"Can't find variable: disableWebkitEnterFullscreen\",\n \"rendererInterfaces is null\",\n \"Can't find variable: gmo\",\n \"Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'blob:.*' failed to load.\",\n ].join(\"|\")\n);\nexport const IGNORABLE_ERROR_NAMES_REGEX = /(ChunkLoadError)/;\n"],"names":["IGNORABLE_ERRORS_REGEX","RegExp","join","IGNORABLE_ERROR_NAMES_REGEX"],"mappings":"IAAaA,sBAAsB,GAAG,IAAIC,MAAM,CAC9C,CACE,8BAA8B,EAC9B,gBAAgB,EAChB,gBAAgB,EAChB,+BAA+B,EAC/B,iBAAiB,EACjB,eAAe,EACf,qCAAqC,EACrC,2CAA2C,EAC3C,4CAA4C,EAC5C,mDAAmD,EACnD,4BAA4B,EAC5B,0BAA0B,EAC1B,0HAA0H,CAC3H,CAACC,IAAI,CAAC,GAAG,CACZ,EAAC;AACM,IAAMC,2BAA2B,GAAG;;;;"}
@@ -2,7 +2,8 @@ export { default } from './HoneybadgerErrorBoundary.js';
2
2
  import '@honeybadger-io/react';
3
3
  import './constants.js';
4
4
  import './FallbackComponent.js';
5
- import '../../defineProperty-CEd-kZQW.js';
5
+ import '../../defineProperty-D_V-nTlo.js';
6
+ import '../../typeof-D-UKOauR.js';
6
7
  import 'react';
7
8
  import 'dompurify';
8
9
  import '@bigbinary/neetoui/Button';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -1,9 +1,10 @@
1
- import { _ as _defineProperty } from '../../defineProperty-CEd-kZQW.js';
2
- import { _ as _objectWithoutProperties } from '../../objectWithoutProperties-B90Wg9LD.js';
1
+ import { _ as _defineProperty } from '../../defineProperty-D_V-nTlo.js';
2
+ import { _ as _objectWithoutProperties } from '../../objectWithoutProperties-PcUN5OqL.js';
3
3
  import ErrorPage from '@bigbinary/neeto-molecules/ErrorPage';
4
4
  import { includes, __ } from 'ramda';
5
5
  import { Route, Redirect } from 'react-router-dom';
6
6
  import { jsx } from 'react/jsx-runtime';
7
+ import '../../typeof-D-UKOauR.js';
7
8
 
8
9
  var _excluded = ["condition", "redirectRoute", "errorPage", "permissions"];
9
10
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -1 +1 @@
1
- {"version":3,"file":"PrivateRoute.js","sources":["../../../src/react-utils/PrivateRoute/PrivateRoute.jsx"],"sourcesContent":["import ErrorPage from \"neetomolecules/ErrorPage\";\nimport { __, includes } from \"ramda\";\nimport { Redirect, Route } from \"react-router-dom\";\n\nconst PrivateRoute = ({\n condition = globalProps.authenticated,\n redirectRoute = undefined,\n errorPage = undefined,\n permissions = undefined,\n ...props\n}) => {\n if (condition) {\n if (permissions) {\n return globalProps.permissions.some(includes(__, permissions)) ? (\n <Route {...props} />\n ) : (\n errorPage || <ErrorPage status={403} />\n );\n }\n\n return <Route {...props} />;\n }\n\n if (redirectRoute) {\n return <Redirect to={{ pathname: redirectRoute }} />;\n }\n\n return errorPage || <ErrorPage status={403} />;\n};\n\nexport default PrivateRoute;\n"],"names":["PrivateRoute","_ref","_ref$condition","condition","globalProps","authenticated","_ref$redirectRoute","redirectRoute","undefined","_ref$errorPage","errorPage","_ref$permissions","permissions","props","_objectWithoutProperties","_excluded","some","includes","__","_jsx","Route","_objectSpread","ErrorPage","status","Redirect","to","pathname"],"mappings":";;;;;;;;;;AAIA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAMZ;AAAA,EAAA,IAAAC,cAAA,GAAAD,IAAA,CALJE,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,KAAA,CAAA,GAAGE,WAAW,CAACC,aAAa,GAAAH,cAAA;IAAAI,kBAAA,GAAAL,IAAA,CACrCM,aAAa;AAAbA,IAAAA,aAAa,GAAAD,kBAAA,KAAGE,KAAAA,CAAAA,GAAAA,SAAS,GAAAF,kBAAA;IAAAG,cAAA,GAAAR,IAAA,CACzBS,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAGD,KAAAA,CAAAA,GAAAA,SAAS,GAAAC,cAAA;IAAAE,gBAAA,GAAAV,IAAA,CACrBW,WAAW;AAAXA,IAAAA,WAAW,GAAAD,gBAAA,KAAGH,KAAAA,CAAAA,GAAAA,SAAS,GAAAG,gBAAA;AACpBE,IAAAA,KAAK,GAAAC,wBAAA,CAAAb,IAAA,EAAAc,SAAA,CAAA,CAAA;AAER,EAAA,IAAIZ,SAAS,EAAE;AACb,IAAA,IAAIS,WAAW,EAAE;AACf,MAAA,OAAOR,WAAW,CAACQ,WAAW,CAACI,IAAI,CAACC,QAAQ,CAACC,EAAE,EAAEN,WAAW,CAAC,CAAC,gBAC5DO,GAAA,CAACC,KAAK,EAAAC,aAAA,CAAA,EAAA,EAAKR,KAAK,CAAG,CAAC,GAEpBH,SAAS,iBAAIS,GAAA,CAACG,SAAS,EAAA;AAACC,QAAAA,MAAM,EAAE,GAAA;AAAI,OAAE,CACvC,CAAA;AACH,KAAA;IAEA,oBAAOJ,GAAA,CAACC,KAAK,EAAAC,aAAA,CAAKR,EAAAA,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC7B,GAAA;AAEA,EAAA,IAAIN,aAAa,EAAE;IACjB,oBAAOY,GAAA,CAACK,QAAQ,EAAA;AAACC,MAAAA,EAAE,EAAE;AAAEC,QAAAA,QAAQ,EAAEnB,aAAAA;AAAc,OAAA;AAAE,KAAE,CAAC,CAAA;AACtD,GAAA;AAEA,EAAA,OAAOG,SAAS,iBAAIS,GAAA,CAACG,SAAS,EAAA;AAACC,IAAAA,MAAM,EAAE,GAAA;AAAI,GAAE,CAAC,CAAA;AAChD;;;;"}
1
+ {"version":3,"file":"PrivateRoute.js","sources":["../../../src/react-utils/PrivateRoute/PrivateRoute.jsx"],"sourcesContent":["import ErrorPage from \"neetomolecules/ErrorPage\";\nimport { __, includes } from \"ramda\";\nimport { Redirect, Route } from \"react-router-dom\";\n\nconst PrivateRoute = ({\n condition = globalProps.authenticated,\n redirectRoute = undefined,\n errorPage = undefined,\n permissions = undefined,\n ...props\n}) => {\n if (condition) {\n if (permissions) {\n return globalProps.permissions.some(includes(__, permissions)) ? (\n <Route {...props} />\n ) : (\n errorPage || <ErrorPage status={403} />\n );\n }\n\n return <Route {...props} />;\n }\n\n if (redirectRoute) {\n return <Redirect to={{ pathname: redirectRoute }} />;\n }\n\n return errorPage || <ErrorPage status={403} />;\n};\n\nexport default PrivateRoute;\n"],"names":["PrivateRoute","_ref","_ref$condition","condition","globalProps","authenticated","_ref$redirectRoute","redirectRoute","undefined","_ref$errorPage","errorPage","_ref$permissions","permissions","props","_objectWithoutProperties","_excluded","some","includes","__","_jsx","Route","_objectSpread","ErrorPage","status","Redirect","to","pathname"],"mappings":";;;;;;;;;;;AAIA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAMZ;AAAA,EAAA,IAAAC,cAAA,GAAAD,IAAA,CALJE,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,KAAA,CAAA,GAAGE,WAAW,CAACC,aAAa,GAAAH,cAAA;IAAAI,kBAAA,GAAAL,IAAA,CACrCM,aAAa;AAAbA,IAAAA,aAAa,GAAAD,kBAAA,KAAGE,KAAAA,CAAAA,GAAAA,SAAS,GAAAF,kBAAA;IAAAG,cAAA,GAAAR,IAAA,CACzBS,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAGD,KAAAA,CAAAA,GAAAA,SAAS,GAAAC,cAAA;IAAAE,gBAAA,GAAAV,IAAA,CACrBW,WAAW;AAAXA,IAAAA,WAAW,GAAAD,gBAAA,KAAGH,KAAAA,CAAAA,GAAAA,SAAS,GAAAG,gBAAA;AACpBE,IAAAA,KAAK,GAAAC,wBAAA,CAAAb,IAAA,EAAAc,SAAA,CAAA,CAAA;AAER,EAAA,IAAIZ,SAAS,EAAE;AACb,IAAA,IAAIS,WAAW,EAAE;AACf,MAAA,OAAOR,WAAW,CAACQ,WAAW,CAACI,IAAI,CAACC,QAAQ,CAACC,EAAE,EAAEN,WAAW,CAAC,CAAC,gBAC5DO,GAAA,CAACC,KAAK,EAAAC,aAAA,CAAA,EAAA,EAAKR,KAAK,CAAG,CAAC,GAEpBH,SAAS,iBAAIS,GAAA,CAACG,SAAS,EAAA;AAACC,QAAAA,MAAM,EAAE,GAAA;AAAI,OAAE,CACvC,CAAA;AACH,KAAA;IAEA,oBAAOJ,GAAA,CAACC,KAAK,EAAAC,aAAA,CAAKR,EAAAA,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC7B,GAAA;AAEA,EAAA,IAAIN,aAAa,EAAE;IACjB,oBAAOY,GAAA,CAACK,QAAQ,EAAA;AAACC,MAAAA,EAAE,EAAE;AAAEC,QAAAA,QAAQ,EAAEnB,aAAAA;AAAc,OAAA;AAAE,KAAE,CAAC,CAAA;AACtD,GAAA;AAEA,EAAA,OAAOG,SAAS,iBAAIS,GAAA,CAACG,SAAS,EAAA;AAACC,IAAAA,MAAM,EAAE,GAAA;AAAI,GAAE,CAAC,CAAA;AAChD;;;;"}
@@ -1,6 +1,7 @@
1
1
  export { default } from './PrivateRoute.js';
2
- import '../../defineProperty-CEd-kZQW.js';
3
- import '../../objectWithoutProperties-B90Wg9LD.js';
2
+ import '../../defineProperty-D_V-nTlo.js';
3
+ import '../../typeof-D-UKOauR.js';
4
+ import '../../objectWithoutProperties-PcUN5OqL.js';
4
5
  import '@bigbinary/neeto-molecules/ErrorPage';
5
6
  import 'ramda';
6
7
  import 'react-router-dom';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -31,7 +31,8 @@ export { default as AppContainer } from './AppContainer/AppContainer.js';
31
31
  import '@honeybadger-io/react';
32
32
  import './HoneybadgerErrorBoundary/constants.js';
33
33
  import './HoneybadgerErrorBoundary/FallbackComponent.js';
34
- import '../defineProperty-CEd-kZQW.js';
34
+ import '../defineProperty-D_V-nTlo.js';
35
+ import '../typeof-D-UKOauR.js';
35
36
  import 'react';
36
37
  import 'dompurify';
37
38
  import '@bigbinary/neetoui/Button';
@@ -40,13 +41,13 @@ import 'ramda';
40
41
  import 'react-i18next';
41
42
  import 'react/jsx-runtime';
42
43
  import './HoneybadgerErrorBoundary/utils.js';
43
- import '../objectWithoutProperties-B90Wg9LD.js';
44
+ import '../objectWithoutProperties-PcUN5OqL.js';
44
45
  import '@bigbinary/neeto-molecules/ErrorPage';
45
46
  import 'react-router-dom';
46
47
  import '@bigbinary/neeto-commons-frontend/initializers';
47
48
  import 'react-helmet';
48
- import '../slicedToArray-B_J-CC8-.js';
49
- import '../unsupportedIterableToArray-wRn9bJ2J.js';
49
+ import '../slicedToArray-BWOQ_OdI.js';
50
+ import '../unsupportedIterableToArray-Dqz8Y8_I.js';
50
51
  import 'zustand';
51
52
  import '@bigbinary/neeto-cist';
52
53
  import './useFetchNeetoApps/apis/neeto_apps.js';
@@ -57,13 +58,13 @@ import './useIsElementVisibleInDom/useForceUpdate.js';
57
58
  import 'zustand/shallow';
58
59
  import '../initializers/constants.js';
59
60
  import '../utils/general.js';
60
- import '../index-CRoDfiJc.js';
61
+ import '../index-D_s_toMy.js';
61
62
  import '../_commonjsHelpers-B85MJLTf.js';
62
63
  import 'i18next';
63
64
  import '@bigbinary/neetoui/Toastr';
64
65
  import 'qs';
65
66
  import '../utils/dayjs.js';
66
- import '../toConsumableArray-CQcqnqnw.js';
67
+ import '../toConsumableArray-B7CFjjkW.js';
67
68
  import 'dayjs';
68
69
  import '../utils/createSubscription.js';
69
70
  import '@rails/actioncable';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,8 @@
1
1
  import { useSyncExternalStore } from 'react';
2
2
  import { equals } from 'ramda';
3
3
  import { subscribe, getCurrentSize } from './utils.js';
4
- import '../../defineProperty-CEd-kZQW.js';
4
+ import '../../defineProperty-D_V-nTlo.js';
5
+ import '../../typeof-D-UKOauR.js';
5
6
 
6
7
  var useBreakpoints = function useBreakpoints(breakpointOverrides) {
7
8
  var getSnapshot = function getSnapshot() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/react-utils/useBreakpoints/index.js"],"sourcesContent":["import { useSyncExternalStore } from \"react\";\n\nimport { equals } from \"ramda\";\n\nimport { getCurrentSize, subscribe } from \"./utils\";\n\nconst useBreakpoints = breakpointOverrides => {\n const getSnapshot = () => getCurrentSize(window, breakpointOverrides);\n const currentSize = useSyncExternalStore(subscribe, getSnapshot);\n\n return { currentSize, isSize: equals(currentSize) };\n};\n\nexport default useBreakpoints;\n"],"names":["useBreakpoints","breakpointOverrides","getSnapshot","getCurrentSize","window","currentSize","useSyncExternalStore","subscribe","isSize","equals"],"mappings":";;;;;AAMA,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,mBAAmB,EAAI;AAC5C,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,GAAA;AAAA,IAAA,OAASC,cAAc,CAACC,MAAM,EAAEH,mBAAmB,CAAC,CAAA;AAAA,GAAA,CAAA;AACrE,EAAA,IAAMI,WAAW,GAAGC,oBAAoB,CAACC,SAAS,EAAEL,WAAW,CAAC,CAAA;EAEhE,OAAO;AAAEG,IAAAA,WAAW,EAAXA,WAAW;IAAEG,MAAM,EAAEC,MAAM,CAACJ,WAAW,CAAA;GAAG,CAAA;AACrD;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/react-utils/useBreakpoints/index.js"],"sourcesContent":["import { useSyncExternalStore } from \"react\";\n\nimport { equals } from \"ramda\";\n\nimport { getCurrentSize, subscribe } from \"./utils\";\n\nconst useBreakpoints = breakpointOverrides => {\n const getSnapshot = () => getCurrentSize(window, breakpointOverrides);\n const currentSize = useSyncExternalStore(subscribe, getSnapshot);\n\n return { currentSize, isSize: equals(currentSize) };\n};\n\nexport default useBreakpoints;\n"],"names":["useBreakpoints","breakpointOverrides","getSnapshot","getCurrentSize","window","currentSize","useSyncExternalStore","subscribe","isSize","equals"],"mappings":";;;;;;AAMA,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,mBAAmB,EAAI;AAC5C,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,GAAA;AAAA,IAAA,OAASC,cAAc,CAACC,MAAM,EAAEH,mBAAmB,CAAC,CAAA;AAAA,GAAA,CAAA;AACrE,EAAA,IAAMI,WAAW,GAAGC,oBAAoB,CAACC,SAAS,EAAEL,WAAW,CAAC,CAAA;EAEhE,OAAO;AAAEG,IAAAA,WAAW,EAAXA,WAAW;IAAEG,MAAM,EAAEC,MAAM,CAACJ,WAAW,CAAA;GAAG,CAAA;AACrD;;;;"}
@@ -1,4 +1,5 @@
1
- import { _ as _defineProperty } from '../../defineProperty-CEd-kZQW.js';
1
+ import { _ as _defineProperty } from '../../defineProperty-D_V-nTlo.js';
2
+ import '../../typeof-D-UKOauR.js';
2
3
 
3
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../../../src/react-utils/useBreakpoints/utils.js"],"sourcesContent":["export const subscribe = listener => {\n window.addEventListener(\"resize\", listener);\n\n return () => window.removeEventListener(\"resize\", listener);\n};\n\nexport const getCurrentSize = (window, breakpointOverrides) => {\n const { innerWidth } = window;\n const sizes = {\n mobile: innerWidth < 768,\n tablet: innerWidth >= 768 && innerWidth < 1024,\n desktop: innerWidth >= 1024 && innerWidth < 1280,\n largeDesktop: innerWidth >= 1280,\n ...breakpointOverrides?.(window),\n };\n\n const size = Object.keys(sizes).find(breakpoint => sizes[breakpoint]) || \"\";\n\n return size;\n};\n"],"names":["subscribe","listener","window","addEventListener","removeEventListener","getCurrentSize","breakpointOverrides","innerWidth","sizes","_objectSpread","mobile","tablet","desktop","largeDesktop","size","Object","keys","find","breakpoint"],"mappings":";;;;IAAaA,SAAS,GAAG,SAAZA,SAASA,CAAGC,QAAQ,EAAI;AACnCC,EAAAA,MAAM,CAACC,gBAAgB,CAAC,QAAQ,EAAEF,QAAQ,CAAC,CAAA;EAE3C,OAAO,YAAA;AAAA,IAAA,OAAMC,MAAM,CAACE,mBAAmB,CAAC,QAAQ,EAAEH,QAAQ,CAAC,CAAA;AAAA,GAAA,CAAA;AAC7D,EAAC;AAEM,IAAMI,cAAc,GAAG,SAAjBA,cAAcA,CAAIH,MAAM,EAAEI,mBAAmB,EAAK;AAC7D,EAAA,IAAQC,UAAU,GAAKL,MAAM,CAArBK,UAAU,CAAA;EAClB,IAAMC,KAAK,GAAAC,aAAA,CAAA;IACTC,MAAM,EAAEH,UAAU,GAAG,GAAG;AACxBI,IAAAA,MAAM,EAAEJ,UAAU,IAAI,GAAG,IAAIA,UAAU,GAAG,IAAI;AAC9CK,IAAAA,OAAO,EAAEL,UAAU,IAAI,IAAI,IAAIA,UAAU,GAAG,IAAI;IAChDM,YAAY,EAAEN,UAAU,IAAI,IAAA;GACzBD,EAAAA,mBAAmB,aAAnBA,mBAAmB,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAnBA,mBAAmB,CAAGJ,MAAM,CAAC,CACjC,CAAA;AAED,EAAA,IAAMY,IAAI,GAAGC,MAAM,CAACC,IAAI,CAACR,KAAK,CAAC,CAACS,IAAI,CAAC,UAAAC,UAAU,EAAA;IAAA,OAAIV,KAAK,CAACU,UAAU,CAAC,CAAA;AAAA,GAAA,CAAC,IAAI,EAAE,CAAA;AAE3E,EAAA,OAAOJ,IAAI,CAAA;AACb;;;;"}
1
+ {"version":3,"file":"utils.js","sources":["../../../src/react-utils/useBreakpoints/utils.js"],"sourcesContent":["export const subscribe = listener => {\n window.addEventListener(\"resize\", listener);\n\n return () => window.removeEventListener(\"resize\", listener);\n};\n\nexport const getCurrentSize = (window, breakpointOverrides) => {\n const { innerWidth } = window;\n const sizes = {\n mobile: innerWidth < 768,\n tablet: innerWidth >= 768 && innerWidth < 1024,\n desktop: innerWidth >= 1024 && innerWidth < 1280,\n largeDesktop: innerWidth >= 1280,\n ...breakpointOverrides?.(window),\n };\n\n const size = Object.keys(sizes).find(breakpoint => sizes[breakpoint]) || \"\";\n\n return size;\n};\n"],"names":["subscribe","listener","window","addEventListener","removeEventListener","getCurrentSize","breakpointOverrides","innerWidth","sizes","_objectSpread","mobile","tablet","desktop","largeDesktop","size","Object","keys","find","breakpoint"],"mappings":";;;;;IAAaA,SAAS,GAAG,SAAZA,SAASA,CAAGC,QAAQ,EAAI;AACnCC,EAAAA,MAAM,CAACC,gBAAgB,CAAC,QAAQ,EAAEF,QAAQ,CAAC,CAAA;EAE3C,OAAO,YAAA;AAAA,IAAA,OAAMC,MAAM,CAACE,mBAAmB,CAAC,QAAQ,EAAEH,QAAQ,CAAC,CAAA;AAAA,GAAA,CAAA;AAC7D,EAAC;AAEM,IAAMI,cAAc,GAAG,SAAjBA,cAAcA,CAAIH,MAAM,EAAEI,mBAAmB,EAAK;AAC7D,EAAA,IAAQC,UAAU,GAAKL,MAAM,CAArBK,UAAU,CAAA;EAClB,IAAMC,KAAK,GAAAC,aAAA,CAAA;IACTC,MAAM,EAAEH,UAAU,GAAG,GAAG;AACxBI,IAAAA,MAAM,EAAEJ,UAAU,IAAI,GAAG,IAAIA,UAAU,GAAG,IAAI;AAC9CK,IAAAA,OAAO,EAAEL,UAAU,IAAI,IAAI,IAAIA,UAAU,GAAG,IAAI;IAChDM,YAAY,EAAEN,UAAU,IAAI,IAAA;GACzBD,EAAAA,mBAAmB,aAAnBA,mBAAmB,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAnBA,mBAAmB,CAAGJ,MAAM,CAAC,CACjC,CAAA;AAED,EAAA,IAAMY,IAAI,GAAGC,MAAM,CAACC,IAAI,CAACR,KAAK,CAAC,CAACS,IAAI,CAAC,UAAAC,UAAU,EAAA;IAAA,OAAIV,KAAK,CAACU,UAAU,CAAC,CAAA;AAAA,GAAA,CAAC,IAAI,EAAE,CAAA;AAE3E,EAAA,OAAOJ,IAAI,CAAA;AACb;;;;"}
@@ -1,5 +1,5 @@
1
1
  export { default } from './useDebounce.js';
2
- import '../../slicedToArray-B_J-CC8-.js';
3
- import '../../unsupportedIterableToArray-wRn9bJ2J.js';
2
+ import '../../slicedToArray-BWOQ_OdI.js';
3
+ import '../../unsupportedIterableToArray-Dqz8Y8_I.js';
4
4
  import 'react';
5
5
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
- import { _ as _slicedToArray } from '../../slicedToArray-B_J-CC8-.js';
1
+ import { _ as _slicedToArray } from '../../slicedToArray-BWOQ_OdI.js';
2
2
  import { useState, useEffect } from 'react';
3
- import '../../unsupportedIterableToArray-wRn9bJ2J.js';
3
+ import '../../unsupportedIterableToArray-Dqz8Y8_I.js';
4
4
 
5
5
  var useDebounce = function useDebounce(value) {
6
6
  var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 350;
@@ -1,5 +1,6 @@
1
1
  export { default } from './useFetchNeetoApps.js';
2
- import '../../defineProperty-CEd-kZQW.js';
2
+ import '../../defineProperty-D_V-nTlo.js';
3
+ import '../../typeof-D-UKOauR.js';
3
4
  import '@bigbinary/neeto-cist';
4
5
  import '../usePersistedQuery/usePersistedQuery.js';
5
6
  import 'react';
@@ -7,10 +8,10 @@ import '@tanstack/react-query';
7
8
  import 'ramda';
8
9
  import '../constants/constants.js';
9
10
  import '../../utils/general.js';
10
- import '../../objectWithoutProperties-B90Wg9LD.js';
11
- import '../../slicedToArray-B_J-CC8-.js';
12
- import '../../unsupportedIterableToArray-wRn9bJ2J.js';
13
- import '../../index-CRoDfiJc.js';
11
+ import '../../objectWithoutProperties-PcUN5OqL.js';
12
+ import '../../slicedToArray-BWOQ_OdI.js';
13
+ import '../../unsupportedIterableToArray-Dqz8Y8_I.js';
14
+ import '../../index-D_s_toMy.js';
14
15
  import '../../_commonjsHelpers-B85MJLTf.js';
15
16
  import 'i18next';
16
17
  import '@bigbinary/neetoui/Toastr';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
@@ -1,17 +1,18 @@
1
- import { _ as _defineProperty } from '../../defineProperty-CEd-kZQW.js';
1
+ import { _ as _defineProperty } from '../../defineProperty-D_V-nTlo.js';
2
2
  import { isNotPresent } from '@bigbinary/neeto-cist';
3
3
  import usePersistedQuery from '../usePersistedQuery/usePersistedQuery.js';
4
4
  import neetoAppsApi from './apis/neeto_apps.js';
5
5
  import { NEETO_APPS_LIST_STALE_TIME } from '../constants/constants.js';
6
6
  import { QUERY_KEYS } from '../constants/query.js';
7
+ import '../../typeof-D-UKOauR.js';
7
8
  import 'react';
8
9
  import '@tanstack/react-query';
9
10
  import 'ramda';
10
11
  import '../../utils/general.js';
11
- import '../../objectWithoutProperties-B90Wg9LD.js';
12
- import '../../slicedToArray-B_J-CC8-.js';
13
- import '../../unsupportedIterableToArray-wRn9bJ2J.js';
14
- import '../../index-CRoDfiJc.js';
12
+ import '../../objectWithoutProperties-PcUN5OqL.js';
13
+ import '../../slicedToArray-BWOQ_OdI.js';
14
+ import '../../unsupportedIterableToArray-Dqz8Y8_I.js';
15
+ import '../../index-D_s_toMy.js';
15
16
  import '../../_commonjsHelpers-B85MJLTf.js';
16
17
  import 'i18next';
17
18
  import '@bigbinary/neetoui/Toastr';
@@ -1 +1 @@
1
- {"version":3,"file":"useFetchNeetoApps.js","sources":["../../../src/react-utils/useFetchNeetoApps/useFetchNeetoApps.js"],"sourcesContent":["import { isNotPresent } from \"neetocist\";\nimport usePersistedQuery from \"react-utils/usePersistedQuery\";\n\nimport neetoAppsApi from \"./apis/neeto_apps\";\n\nimport { NEETO_APPS_LIST_STALE_TIME } from \"../constants\";\nimport { QUERY_KEYS } from \"../constants/query\";\n\nconst useFetchNeetoApps = options => {\n const scopedQueryKey = [\n `${QUERY_KEYS.NEETO_APPS_LIST}-${globalProps.user?.id}`,\n ];\n\n const { data, modifiedAt } = usePersistedQuery.getCache(scopedQueryKey) || {};\n const expired = modifiedAt <= Date.now() - NEETO_APPS_LIST_STALE_TIME;\n\n return usePersistedQuery(scopedQueryKey, neetoAppsApi.fetch, {\n staleTime: NEETO_APPS_LIST_STALE_TIME,\n enabled: expired || isNotPresent(data),\n ...options,\n });\n};\n\nexport default useFetchNeetoApps;\n"],"names":["useFetchNeetoApps","options","_globalProps$user","scopedQueryKey","concat","QUERY_KEYS","NEETO_APPS_LIST","globalProps","user","id","_ref","usePersistedQuery","getCache","data","modifiedAt","expired","Date","now","NEETO_APPS_LIST_STALE_TIME","neetoAppsApi","fetch","_objectSpread","staleTime","enabled","isNotPresent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAQA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAGC,OAAO,EAAI;AAAA,EAAA,IAAAC,iBAAA,CAAA;EACnC,IAAMC,cAAc,GAAG,CAAAC,EAAAA,CAAAA,MAAA,CAClBC,UAAU,CAACC,eAAe,EAAA,GAAA,CAAA,CAAAF,MAAA,CAAA,CAAAF,iBAAA,GAAIK,WAAW,CAACC,IAAI,MAAA,IAAA,IAAAN,iBAAA,KAAhBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,iBAAA,CAAkBO,EAAE,CACtD,CAAA,CAAA;EAED,IAAAC,IAAA,GAA6BC,iBAAiB,CAACC,QAAQ,CAACT,cAAc,CAAC,IAAI,EAAE;IAArEU,IAAI,GAAAH,IAAA,CAAJG,IAAI;IAAEC,UAAU,GAAAJ,IAAA,CAAVI,UAAU,CAAA;EACxB,IAAMC,OAAO,GAAGD,UAAU,IAAIE,IAAI,CAACC,GAAG,EAAE,GAAGC,0BAA0B,CAAA;EAErE,OAAOP,iBAAiB,CAACR,cAAc,EAAEgB,YAAY,CAACC,KAAK,EAAAC,aAAA,CAAA;AACzDC,IAAAA,SAAS,EAAEJ,0BAA0B;AACrCK,IAAAA,OAAO,EAAER,OAAO,IAAIS,YAAY,CAACX,IAAI,CAAA;GAClCZ,EAAAA,OAAO,CACX,CAAC,CAAA;AACJ;;;;"}
1
+ {"version":3,"file":"useFetchNeetoApps.js","sources":["../../../src/react-utils/useFetchNeetoApps/useFetchNeetoApps.js"],"sourcesContent":["import { isNotPresent } from \"neetocist\";\nimport usePersistedQuery from \"react-utils/usePersistedQuery\";\n\nimport neetoAppsApi from \"./apis/neeto_apps\";\n\nimport { NEETO_APPS_LIST_STALE_TIME } from \"../constants\";\nimport { QUERY_KEYS } from \"../constants/query\";\n\nconst useFetchNeetoApps = options => {\n const scopedQueryKey = [\n `${QUERY_KEYS.NEETO_APPS_LIST}-${globalProps.user?.id}`,\n ];\n\n const { data, modifiedAt } = usePersistedQuery.getCache(scopedQueryKey) || {};\n const expired = modifiedAt <= Date.now() - NEETO_APPS_LIST_STALE_TIME;\n\n return usePersistedQuery(scopedQueryKey, neetoAppsApi.fetch, {\n staleTime: NEETO_APPS_LIST_STALE_TIME,\n enabled: expired || isNotPresent(data),\n ...options,\n });\n};\n\nexport default useFetchNeetoApps;\n"],"names":["useFetchNeetoApps","options","_globalProps$user","scopedQueryKey","concat","QUERY_KEYS","NEETO_APPS_LIST","globalProps","user","id","_ref","usePersistedQuery","getCache","data","modifiedAt","expired","Date","now","NEETO_APPS_LIST_STALE_TIME","neetoAppsApi","fetch","_objectSpread","staleTime","enabled","isNotPresent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAGC,OAAO,EAAI;AAAA,EAAA,IAAAC,iBAAA,CAAA;EACnC,IAAMC,cAAc,GAAG,CAAAC,EAAAA,CAAAA,MAAA,CAClBC,UAAU,CAACC,eAAe,EAAA,GAAA,CAAA,CAAAF,MAAA,CAAA,CAAAF,iBAAA,GAAIK,WAAW,CAACC,IAAI,MAAA,IAAA,IAAAN,iBAAA,KAAhBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,iBAAA,CAAkBO,EAAE,CACtD,CAAA,CAAA;EAED,IAAAC,IAAA,GAA6BC,iBAAiB,CAACC,QAAQ,CAACT,cAAc,CAAC,IAAI,EAAE;IAArEU,IAAI,GAAAH,IAAA,CAAJG,IAAI;IAAEC,UAAU,GAAAJ,IAAA,CAAVI,UAAU,CAAA;EACxB,IAAMC,OAAO,GAAGD,UAAU,IAAIE,IAAI,CAACC,GAAG,EAAE,GAAGC,0BAA0B,CAAA;EAErE,OAAOP,iBAAiB,CAACR,cAAc,EAAEgB,YAAY,CAACC,KAAK,EAAAC,aAAA,CAAA;AACzDC,IAAAA,SAAS,EAAEJ,0BAA0B;AACrCK,IAAAA,OAAO,EAAER,OAAO,IAAIS,YAAY,CAACX,IAAI,CAAA;GAClCZ,EAAAA,OAAO,CACX,CAAC,CAAA;AACJ;;;;"}
@@ -1,6 +1,6 @@
1
1
  export { default } from './useIsElementVisibleInDom.js';
2
- import '../../slicedToArray-B_J-CC8-.js';
3
- import '../../unsupportedIterableToArray-wRn9bJ2J.js';
2
+ import '../../slicedToArray-BWOQ_OdI.js';
3
+ import '../../unsupportedIterableToArray-Dqz8Y8_I.js';
4
4
  import 'react';
5
5
  import './useForceUpdate.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
- import { _ as _slicedToArray } from '../../slicedToArray-B_J-CC8-.js';
1
+ import { _ as _slicedToArray } from '../../slicedToArray-BWOQ_OdI.js';
2
2
  import { useState } from 'react';
3
- import '../../unsupportedIterableToArray-wRn9bJ2J.js';
3
+ import '../../unsupportedIterableToArray-Dqz8Y8_I.js';
4
4
 
5
5
  var useForceUpdate = function useForceUpdate() {
6
6
  // eslint-disable-next-line react/hook-use-state