@xylabs/sdk-react 2.7.21 → 2.7.25

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 (1894) hide show
  1. package/dist/components/Experiments/Experiments.d.ts +0 -1
  2. package/dist/components/Experiments/Experiments.js +46 -25
  3. package/dist/components/Experiments/Experiments.js.map +1 -1
  4. package/dist/components/InvertableThemeProvider/InvertableThemeContext.d.ts +2 -2
  5. package/dist/components/InvertableThemeProvider/InvertableThemeContext.js +2 -2
  6. package/dist/components/InvertableThemeProvider/InvertableThemeContext.js.map +1 -1
  7. package/dist/components/QuickTipButton/QuickTipButton.js +2 -2
  8. package/dist/components/QuickTipButton/QuickTipButton.js.map +1 -1
  9. package/dist/components/TokenAmount/TokenAmountProps.d.ts +1 -0
  10. package/dist/contexts/CookieConsent/Loader.js +2 -2
  11. package/dist/contexts/CookieConsent/Loader.js.map +1 -1
  12. package/dist/contexts/Ethers/Context.d.ts +2 -2
  13. package/dist/contexts/Ethers/Context.js +2 -2
  14. package/dist/contexts/Ethers/Context.js.map +1 -1
  15. package/dist/contexts/Ethers/MetaMask.js +10 -10
  16. package/dist/contexts/Ethers/MetaMask.js.map +1 -1
  17. package/dist/contexts/Ethers/MyEtherWallet.js +9 -9
  18. package/dist/contexts/Ethers/MyEtherWallet.js.map +1 -1
  19. package/dist/contexts/Ethers/Opera.d.ts +1 -1
  20. package/dist/contexts/Ethers/Opera.js +40 -45
  21. package/dist/contexts/Ethers/Opera.js.map +1 -1
  22. package/dist/contexts/Ethers/Trust.d.ts +1 -1
  23. package/dist/contexts/Ethers/Trust.js +31 -36
  24. package/dist/contexts/Ethers/Trust.js.map +1 -1
  25. package/dist/contexts/NetworkSettings/Context.d.ts +2 -2
  26. package/dist/contexts/NetworkSettings/Context.js +2 -2
  27. package/dist/contexts/NetworkSettings/Context.js.map +1 -1
  28. package/dist/contexts/UserEvents/Context.d.ts +2 -2
  29. package/dist/contexts/UserEvents/Context.js +2 -2
  30. package/dist/contexts/UserEvents/Context.js.map +1 -1
  31. package/dist/esm2017/BoxlikeComponentProps.d.ts +41 -0
  32. package/dist/esm2017/BusyProps.d.ts +13 -0
  33. package/dist/esm2017/Margin.d.ts +2 -0
  34. package/dist/esm2017/Padding.d.ts +2 -0
  35. package/dist/esm2017/calcSpacing.d.ts +4 -0
  36. package/dist/esm2017/components/AppBarEx/AppBarEx.d.ts +4 -0
  37. package/dist/esm2017/components/AppBarEx/AppBarEx.stories.d.ts +6 -0
  38. package/dist/esm2017/components/AppBarEx/AppBarExProps.d.ts +8 -0
  39. package/dist/esm2017/components/AppBarEx/index.d.ts +4 -0
  40. package/dist/esm2017/components/Background.d.ts +7 -0
  41. package/dist/esm2017/components/BasePage/BasePage.d.ts +4 -0
  42. package/dist/esm2017/components/BasePage/BasePage.stories.d.ts +6 -0
  43. package/dist/esm2017/components/BasePage/BasePageProps.d.ts +17 -0
  44. package/dist/esm2017/components/BasePage/index.d.ts +4 -0
  45. package/dist/esm2017/components/Breadcrumbs/BreadcrumbsEx.d.ts +4 -0
  46. package/dist/esm2017/components/Breadcrumbs/BreadcrumbsEx.stories.d.ts +7 -0
  47. package/dist/esm2017/components/Breadcrumbs/BreadcrumbsExProps.d.ts +8 -0
  48. package/dist/esm2017/components/Breadcrumbs/index.d.ts +2 -0
  49. package/dist/esm2017/components/BusyCircularProgress.d.ts +10 -0
  50. package/dist/esm2017/components/BusyLinearProgress.d.ts +9 -0
  51. package/dist/esm2017/components/ButtonEx/ButtonEx.d.ts +4 -0
  52. package/dist/esm2017/components/ButtonEx/ButtonEx.stories.d.ts +8 -0
  53. package/dist/esm2017/components/ButtonEx/ButtonExBase.d.ts +4 -0
  54. package/dist/esm2017/components/ButtonEx/ButtonExProps.d.ts +10 -0
  55. package/dist/esm2017/components/ButtonEx/ButtonExTo.d.ts +4 -0
  56. package/dist/esm2017/components/ButtonEx/index.d.ts +2 -0
  57. package/dist/esm2017/components/CookieConsent/CookieConsent.d.ts +4 -0
  58. package/dist/esm2017/components/CookieConsent/CookieConsent.stories.d.ts +7 -0
  59. package/dist/esm2017/components/CookieConsent/CookieConsentBody.d.ts +4 -0
  60. package/dist/esm2017/components/CookieConsent/CookieConsentProps.d.ts +7 -0
  61. package/dist/esm2017/components/CookieConsent/index.d.ts +3 -0
  62. package/dist/esm2017/components/CoverProgress.d.ts +10 -0
  63. package/dist/esm2017/components/Errors/ErrorViewer.d.ts +4 -0
  64. package/dist/esm2017/components/Errors/ErrorViewer.stories.d.ts +6 -0
  65. package/dist/esm2017/components/Errors/ErrorViewerProps.d.ts +5 -0
  66. package/dist/esm2017/components/Errors/ErrorsViewer.d.ts +4 -0
  67. package/dist/esm2017/components/Errors/ErrorsViewer.stories.d.ts +6 -0
  68. package/dist/esm2017/components/Errors/ErrorsViewerProps.d.ts +6 -0
  69. package/dist/esm2017/components/Errors/index.d.ts +3 -0
  70. package/dist/esm2017/components/EthAccount/EthAccount.d.ts +4 -0
  71. package/dist/esm2017/components/EthAccount/EthAccount.stories.d.ts +11 -0
  72. package/dist/esm2017/components/EthAccount/EthAccountProps.d.ts +17 -0
  73. package/dist/esm2017/components/EthAccount/index.d.ts +4 -0
  74. package/dist/esm2017/components/EthBlock.d.ts +6 -0
  75. package/dist/esm2017/components/Experiments/Experiment.d.ts +6 -0
  76. package/dist/esm2017/components/Experiments/Experiments.d.ts +9 -0
  77. package/dist/esm2017/components/Experiments/index.d.ts +3 -0
  78. package/dist/esm2017/components/FlexBox/BusyBox.d.ts +10 -0
  79. package/dist/esm2017/components/FlexBox/BusyBox.stories.d.ts +10 -0
  80. package/dist/esm2017/components/FlexBox/FlexCol.d.ts +5 -0
  81. package/dist/esm2017/components/FlexBox/FlexCol.stories.d.ts +8 -0
  82. package/dist/esm2017/components/FlexBox/FlexRow.d.ts +7 -0
  83. package/dist/esm2017/components/FlexBox/FlexRow.stories.d.ts +10 -0
  84. package/dist/esm2017/components/FlexBox/index.d.ts +3 -0
  85. package/dist/esm2017/components/HoverScale.d.ts +6 -0
  86. package/dist/esm2017/components/Identicon.d.ts +14 -0
  87. package/dist/esm2017/components/InvertableThemeProvider/InvertableTheme.d.ts +5 -0
  88. package/dist/esm2017/components/InvertableThemeProvider/InvertableThemeContext.d.ts +4 -0
  89. package/dist/esm2017/components/InvertableThemeProvider/InvertableThemeProvider.d.ts +4 -0
  90. package/dist/esm2017/components/InvertableThemeProvider/InvertableThemeProvider.stories.d.ts +6 -0
  91. package/dist/esm2017/components/InvertableThemeProvider/InvertableThemeProviderProps.d.ts +9 -0
  92. package/dist/esm2017/components/InvertableThemeProvider/index.d.ts +4 -0
  93. package/dist/esm2017/components/LinkEx/LinkToEx.d.ts +8 -0
  94. package/dist/esm2017/components/LinkEx/index.d.ts +2 -0
  95. package/dist/esm2017/components/NumberStatus/NumberStatus.d.ts +4 -0
  96. package/dist/esm2017/components/NumberStatus/NumberStatus.stories.d.ts +14 -0
  97. package/dist/esm2017/components/NumberStatus/NumberStatusProps.d.ts +13 -0
  98. package/dist/esm2017/components/NumberStatus/index.d.ts +2 -0
  99. package/dist/esm2017/components/QuickTipButton/QuickTipButton.d.ts +4 -0
  100. package/dist/esm2017/components/QuickTipButton/QuickTipButton.stories.d.ts +6 -0
  101. package/dist/esm2017/components/QuickTipButton/index.d.ts +2 -0
  102. package/dist/esm2017/components/RedirectWithQuery.d.ts +8 -0
  103. package/dist/esm2017/components/RichResult/RichResult.d.ts +7 -0
  104. package/dist/esm2017/components/RichResult/index.d.ts +3 -0
  105. package/dist/esm2017/components/RichResult/jsonld/Action.d.ts +24 -0
  106. package/dist/esm2017/components/RichResult/jsonld/ActionStatusType.d.ts +7 -0
  107. package/dist/esm2017/components/RichResult/jsonld/AdministrativeArea.d.ts +3 -0
  108. package/dist/esm2017/components/RichResult/jsonld/AggrigateRating.d.ts +8 -0
  109. package/dist/esm2017/components/RichResult/jsonld/Article.d.ts +14 -0
  110. package/dist/esm2017/components/RichResult/jsonld/Base.d.ts +4 -0
  111. package/dist/esm2017/components/RichResult/jsonld/Brand.d.ts +11 -0
  112. package/dist/esm2017/components/RichResult/jsonld/Class.d.ts +7 -0
  113. package/dist/esm2017/components/RichResult/jsonld/ContactPoint.d.ts +19 -0
  114. package/dist/esm2017/components/RichResult/jsonld/ContactPointOption.d.ts +5 -0
  115. package/dist/esm2017/components/RichResult/jsonld/Country.d.ts +3 -0
  116. package/dist/esm2017/components/RichResult/jsonld/CreativeWork.d.ts +122 -0
  117. package/dist/esm2017/components/RichResult/jsonld/DateTime.d.ts +2 -0
  118. package/dist/esm2017/components/RichResult/jsonld/EntryPoint.d.ts +13 -0
  119. package/dist/esm2017/components/RichResult/jsonld/Enumeration.d.ts +7 -0
  120. package/dist/esm2017/components/RichResult/jsonld/GeoShape.d.ts +15 -0
  121. package/dist/esm2017/components/RichResult/jsonld/GeospatialGeometry.d.ts +15 -0
  122. package/dist/esm2017/components/RichResult/jsonld/ImageObject.d.ts +9 -0
  123. package/dist/esm2017/components/RichResult/jsonld/Intangible.d.ts +3 -0
  124. package/dist/esm2017/components/RichResult/jsonld/Integer.d.ts +2 -0
  125. package/dist/esm2017/components/RichResult/jsonld/ItemAvailability.d.ts +21 -0
  126. package/dist/esm2017/components/RichResult/jsonld/Language.d.ts +3 -0
  127. package/dist/esm2017/components/RichResult/jsonld/Map.d.ts +6 -0
  128. package/dist/esm2017/components/RichResult/jsonld/MapCategoryType.d.ts +7 -0
  129. package/dist/esm2017/components/RichResult/jsonld/MediaObject.d.ts +10 -0
  130. package/dist/esm2017/components/RichResult/jsonld/MobileApplication.d.ts +6 -0
  131. package/dist/esm2017/components/RichResult/jsonld/Offer.d.ts +64 -0
  132. package/dist/esm2017/components/RichResult/jsonld/Organization.d.ts +77 -0
  133. package/dist/esm2017/components/RichResult/jsonld/Person.d.ts +71 -0
  134. package/dist/esm2017/components/RichResult/jsonld/Photograph.d.ts +3 -0
  135. package/dist/esm2017/components/RichResult/jsonld/Place.d.ts +42 -0
  136. package/dist/esm2017/components/RichResult/jsonld/PostalAddress.d.ts +12 -0
  137. package/dist/esm2017/components/RichResult/jsonld/Product.d.ts +56 -0
  138. package/dist/esm2017/components/RichResult/jsonld/Property.d.ts +10 -0
  139. package/dist/esm2017/components/RichResult/jsonld/PropertyValue.d.ts +16 -0
  140. package/dist/esm2017/components/RichResult/jsonld/QualitativeValue.d.ts +15 -0
  141. package/dist/esm2017/components/RichResult/jsonld/QuantitativeValue.d.ts +15 -0
  142. package/dist/esm2017/components/RichResult/jsonld/Rating.d.ts +10 -0
  143. package/dist/esm2017/components/RichResult/jsonld/Review.d.ts +10 -0
  144. package/dist/esm2017/components/RichResult/jsonld/Service.d.ts +38 -0
  145. package/dist/esm2017/components/RichResult/jsonld/SoftwareApplication.d.ts +28 -0
  146. package/dist/esm2017/components/RichResult/jsonld/StructuredValue.d.ts +3 -0
  147. package/dist/esm2017/components/RichResult/jsonld/Text.d.ts +2 -0
  148. package/dist/esm2017/components/RichResult/jsonld/Thing.d.ts +22 -0
  149. package/dist/esm2017/components/RichResult/jsonld/Time.d.ts +2 -0
  150. package/dist/esm2017/components/RichResult/jsonld/URL.d.ts +2 -0
  151. package/dist/esm2017/components/RichResult/jsonld/VirtualLocation.d.ts +3 -0
  152. package/dist/esm2017/components/RichResult/jsonld/index.d.ts +48 -0
  153. package/dist/esm2017/components/ScrollToTop.d.ts +1 -0
  154. package/dist/esm2017/components/ScrollToTopButton.d.ts +7 -0
  155. package/dist/esm2017/components/TokenAmount/TokenAmount.d.ts +4 -0
  156. package/dist/esm2017/components/TokenAmount/TokenAmount.stories.d.ts +12 -0
  157. package/dist/esm2017/components/TokenAmount/TokenAmountProps.d.ts +15 -0
  158. package/dist/esm2017/components/TokenAmount/index.d.ts +4 -0
  159. package/dist/esm2017/components/dialogs/ErrorDialog.d.ts +8 -0
  160. package/dist/esm2017/components/dialogs/ErrorDialog.stories.d.ts +6 -0
  161. package/dist/esm2017/components/dialogs/MessageDialog.d.ts +7 -0
  162. package/dist/esm2017/components/dialogs/MessageDialog.stories.d.ts +6 -0
  163. package/dist/esm2017/components/dialogs/index.d.ts +3 -0
  164. package/dist/esm2017/components/index.d.ts +23 -0
  165. package/dist/esm2017/contexts/CookieConsent/Context.d.ts +8 -0
  166. package/dist/esm2017/contexts/CookieConsent/Loader.d.ts +3 -0
  167. package/dist/esm2017/contexts/CookieConsent/index.d.ts +4 -0
  168. package/dist/esm2017/contexts/CookieConsent/use.d.ts +7 -0
  169. package/dist/esm2017/contexts/Ethers/Context.d.ts +19 -0
  170. package/dist/esm2017/contexts/Ethers/Infura.d.ts +7 -0
  171. package/dist/esm2017/contexts/Ethers/Loader.d.ts +6 -0
  172. package/dist/esm2017/contexts/Ethers/MetaMask.d.ts +6 -0
  173. package/dist/esm2017/contexts/Ethers/MyEtherWallet.d.ts +6 -0
  174. package/dist/esm2017/contexts/Ethers/Opera.d.ts +6 -0
  175. package/dist/esm2017/contexts/Ethers/Trust.d.ts +6 -0
  176. package/dist/esm2017/contexts/Ethers/index.d.ts +2 -0
  177. package/dist/esm2017/contexts/NetworkSettings/Context.d.ts +9 -0
  178. package/dist/esm2017/contexts/NetworkSettings/Loader.d.ts +6 -0
  179. package/dist/esm2017/contexts/NetworkSettings/index.d.ts +3 -0
  180. package/dist/esm2017/contexts/UserEvents/Context.d.ts +7 -0
  181. package/dist/esm2017/contexts/UserEvents/index.d.ts +2 -0
  182. package/dist/esm2017/contexts/index.d.ts +4 -0
  183. package/dist/esm2017/hooks/index.d.ts +7 -0
  184. package/dist/esm2017/hooks/useBreakpoint.d.ts +1 -0
  185. package/dist/esm2017/hooks/useMediaQuery.d.ts +2 -0
  186. package/dist/esm2017/hooks/useMounted.d.ts +1 -0
  187. package/dist/esm2017/hooks/useNavigateToEthAddress.d.ts +5 -0
  188. package/dist/esm2017/hooks/useSpacing.d.ts +1 -0
  189. package/dist/esm2017/hooks/useWebP.d.ts +1 -0
  190. package/dist/esm2017/hooks/useWindowSize.d.ts +6 -0
  191. package/dist/esm2017/index.d.ts +4 -1
  192. package/dist/esm2017/index.js +2382 -1827
  193. package/dist/esm2017/index.js.map +1 -1
  194. package/dist/esm2017/lib/ComponentSizes.d.ts +2 -0
  195. package/dist/esm2017/lib/Tracking/Drip/BaseEvent.d.ts +12 -0
  196. package/dist/esm2017/lib/Tracking/Drip/CustomEvent.d.ts +4 -0
  197. package/dist/esm2017/lib/Tracking/Drip/Data/Base.d.ts +6 -0
  198. package/dist/esm2017/lib/Tracking/Drip/Data/CustomFields.d.ts +4 -0
  199. package/dist/esm2017/lib/Tracking/Drip/Data/Identify.d.ts +14 -0
  200. package/dist/esm2017/lib/Tracking/Drip/Data/Result.d.ts +7 -0
  201. package/dist/esm2017/lib/Tracking/Drip/Data/StandardFields.d.ts +12 -0
  202. package/dist/esm2017/lib/Tracking/Drip/Data/index.d.ts +2 -0
  203. package/dist/esm2017/lib/Tracking/Drip/StandardEvents.d.ts +6 -0
  204. package/dist/esm2017/lib/Tracking/Drip/index.d.ts +5 -0
  205. package/dist/esm2017/lib/Tracking/Facebook/BaseEvent.d.ts +8 -0
  206. package/dist/esm2017/lib/Tracking/Facebook/CustomEvent.d.ts +5 -0
  207. package/dist/esm2017/lib/Tracking/Facebook/Fbq.d.ts +10 -0
  208. package/dist/esm2017/lib/Tracking/Facebook/StandardEvent.d.ts +5 -0
  209. package/dist/esm2017/lib/Tracking/Facebook/StandardEvents.d.ts +61 -0
  210. package/dist/esm2017/lib/Tracking/Facebook/StandardProperties.d.ts +15 -0
  211. package/dist/esm2017/lib/Tracking/Facebook/UserEventHandler.d.ts +8 -0
  212. package/dist/esm2017/lib/Tracking/Facebook/index.d.ts +8 -0
  213. package/dist/esm2017/lib/Tracking/Google/BaseEvent.d.ts +13 -0
  214. package/dist/esm2017/lib/Tracking/Google/CustomEvent.d.ts +4 -0
  215. package/dist/esm2017/lib/Tracking/Google/DataLayer.d.ts +9 -0
  216. package/dist/esm2017/lib/Tracking/Google/Gtag.d.ts +19 -0
  217. package/dist/esm2017/lib/Tracking/Google/Gtm.d.ts +10 -0
  218. package/dist/esm2017/lib/Tracking/Google/StandardEvent.d.ts +4 -0
  219. package/dist/esm2017/lib/Tracking/Google/StandardEvents.d.ts +151 -0
  220. package/dist/esm2017/lib/Tracking/Google/UserEventHandler.d.ts +8 -0
  221. package/dist/esm2017/lib/Tracking/Google/index.d.ts +7 -0
  222. package/dist/esm2017/lib/Tracking/Reddit/BaseEvent.d.ts +8 -0
  223. package/dist/esm2017/lib/Tracking/Reddit/CustomEvent.d.ts +5 -0
  224. package/dist/esm2017/lib/Tracking/Reddit/Rdt.d.ts +8 -0
  225. package/dist/esm2017/lib/Tracking/Reddit/StandardEvent.d.ts +5 -0
  226. package/dist/esm2017/lib/Tracking/Reddit/StandardEvents.d.ts +12 -0
  227. package/dist/esm2017/lib/Tracking/Reddit/StandardProperties.d.ts +4 -0
  228. package/dist/esm2017/lib/Tracking/Reddit/index.d.ts +4 -0
  229. package/dist/esm2017/lib/Tracking/Referrer.d.ts +13 -0
  230. package/dist/esm2017/lib/Tracking/Snapchat/BaseEvent.d.ts +6 -0
  231. package/dist/esm2017/lib/Tracking/Snapchat/Snaptr.d.ts +8 -0
  232. package/dist/esm2017/lib/Tracking/Snapchat/StandardEvent.d.ts +6 -0
  233. package/dist/esm2017/lib/Tracking/Snapchat/StandardEvents.d.ts +33 -0
  234. package/dist/esm2017/lib/Tracking/Snapchat/StandardProperties.d.ts +15 -0
  235. package/dist/esm2017/lib/Tracking/Snapchat/UserProperties.d.ts +7 -0
  236. package/dist/esm2017/lib/Tracking/Snapchat/index.d.ts +6 -0
  237. package/dist/esm2017/lib/Tracking/Tiktok/BaseEvent.d.ts +8 -0
  238. package/dist/esm2017/lib/Tracking/Tiktok/CustomEvent.d.ts +5 -0
  239. package/dist/esm2017/lib/Tracking/Tiktok/StandardEvent.d.ts +5 -0
  240. package/dist/esm2017/lib/Tracking/Tiktok/StandardEvents.d.ts +19 -0
  241. package/dist/esm2017/lib/Tracking/Tiktok/StandardProperties.d.ts +4 -0
  242. package/dist/esm2017/lib/Tracking/Tiktok/Ttq.d.ts +8 -0
  243. package/dist/esm2017/lib/Tracking/Tiktok/index.d.ts +4 -0
  244. package/dist/esm2017/lib/Tracking/Xy/BaseEvent.d.ts +6 -0
  245. package/dist/esm2017/lib/Tracking/Xy/CustomEvent.d.ts +4 -0
  246. package/dist/esm2017/lib/Tracking/Xy/StandardEvent.d.ts +4 -0
  247. package/dist/esm2017/lib/Tracking/Xy/UserEventHandler.d.ts +8 -0
  248. package/dist/esm2017/lib/Tracking/Xy/index.d.ts +4 -0
  249. package/dist/esm2017/lib/Tracking/XyoUserEventHandler.d.ts +10 -0
  250. package/dist/esm2017/lib/Tracking/index.d.ts +10 -0
  251. package/dist/esm2017/lib/getApiStage.d.ts +2 -0
  252. package/dist/esm2017/lib/global.d.ts +2 -0
  253. package/dist/esm2017/lib/index.d.ts +10 -0
  254. package/dist/esm2017/lib/isLocalHost.d.ts +2 -0
  255. package/dist/esm2017/lib/profile.d.ts +9 -0
  256. package/dist/esm2017/lib/safeLocalStorage.d.ts +3 -0
  257. package/dist/esm2017/lib/safeSessionStorage.d.ts +3 -0
  258. package/dist/esm2017/lib/useAsyncEffect.d.ts +5 -0
  259. package/dist/esm2017/mergeBoxlikeStyles.d.ts +4 -0
  260. package/dist/esm5/BoxlikeComponentProps.d.ts +41 -0
  261. package/dist/esm5/BusyProps.d.ts +13 -0
  262. package/dist/esm5/Margin.d.ts +2 -0
  263. package/dist/esm5/Padding.d.ts +2 -0
  264. package/dist/esm5/calcSpacing.d.ts +4 -0
  265. package/dist/esm5/components/AppBarEx/AppBarEx.d.ts +4 -0
  266. package/dist/esm5/components/AppBarEx/AppBarEx.stories.d.ts +6 -0
  267. package/dist/esm5/components/AppBarEx/AppBarExProps.d.ts +8 -0
  268. package/dist/esm5/components/AppBarEx/index.d.ts +4 -0
  269. package/dist/esm5/components/Background.d.ts +7 -0
  270. package/dist/esm5/components/BasePage/BasePage.d.ts +4 -0
  271. package/dist/esm5/components/BasePage/BasePage.stories.d.ts +6 -0
  272. package/dist/esm5/components/BasePage/BasePageProps.d.ts +17 -0
  273. package/dist/esm5/components/BasePage/index.d.ts +4 -0
  274. package/dist/esm5/components/Breadcrumbs/BreadcrumbsEx.d.ts +4 -0
  275. package/dist/esm5/components/Breadcrumbs/BreadcrumbsEx.stories.d.ts +7 -0
  276. package/dist/esm5/components/Breadcrumbs/BreadcrumbsExProps.d.ts +8 -0
  277. package/dist/esm5/components/Breadcrumbs/index.d.ts +2 -0
  278. package/dist/esm5/components/BusyCircularProgress.d.ts +10 -0
  279. package/dist/esm5/components/BusyLinearProgress.d.ts +9 -0
  280. package/dist/esm5/components/ButtonEx/ButtonEx.d.ts +4 -0
  281. package/dist/esm5/components/ButtonEx/ButtonEx.stories.d.ts +8 -0
  282. package/dist/esm5/components/ButtonEx/ButtonExBase.d.ts +4 -0
  283. package/dist/esm5/components/ButtonEx/ButtonExProps.d.ts +10 -0
  284. package/dist/esm5/components/ButtonEx/ButtonExTo.d.ts +4 -0
  285. package/dist/esm5/components/ButtonEx/index.d.ts +2 -0
  286. package/dist/esm5/components/CookieConsent/CookieConsent.d.ts +4 -0
  287. package/dist/esm5/components/CookieConsent/CookieConsent.stories.d.ts +7 -0
  288. package/dist/esm5/components/CookieConsent/CookieConsentBody.d.ts +4 -0
  289. package/dist/esm5/components/CookieConsent/CookieConsentProps.d.ts +7 -0
  290. package/dist/esm5/components/CookieConsent/index.d.ts +3 -0
  291. package/dist/esm5/components/CoverProgress.d.ts +10 -0
  292. package/dist/esm5/components/Errors/ErrorViewer.d.ts +4 -0
  293. package/dist/esm5/components/Errors/ErrorViewer.stories.d.ts +6 -0
  294. package/dist/esm5/components/Errors/ErrorViewerProps.d.ts +5 -0
  295. package/dist/esm5/components/Errors/ErrorsViewer.d.ts +4 -0
  296. package/dist/esm5/components/Errors/ErrorsViewer.stories.d.ts +6 -0
  297. package/dist/esm5/components/Errors/ErrorsViewerProps.d.ts +6 -0
  298. package/dist/esm5/components/Errors/index.d.ts +3 -0
  299. package/dist/esm5/components/EthAccount/EthAccount.d.ts +4 -0
  300. package/dist/esm5/components/EthAccount/EthAccount.stories.d.ts +11 -0
  301. package/dist/esm5/components/EthAccount/EthAccountProps.d.ts +17 -0
  302. package/dist/esm5/components/EthAccount/index.d.ts +4 -0
  303. package/dist/esm5/components/EthBlock.d.ts +6 -0
  304. package/dist/esm5/components/Experiments/Experiment.d.ts +6 -0
  305. package/dist/esm5/components/Experiments/Experiments.d.ts +9 -0
  306. package/dist/esm5/components/Experiments/index.d.ts +3 -0
  307. package/dist/esm5/components/FlexBox/BusyBox.d.ts +10 -0
  308. package/dist/esm5/components/FlexBox/BusyBox.stories.d.ts +10 -0
  309. package/dist/esm5/components/FlexBox/FlexCol.d.ts +5 -0
  310. package/dist/esm5/components/FlexBox/FlexCol.stories.d.ts +8 -0
  311. package/dist/esm5/components/FlexBox/FlexRow.d.ts +7 -0
  312. package/dist/esm5/components/FlexBox/FlexRow.stories.d.ts +10 -0
  313. package/dist/esm5/components/FlexBox/index.d.ts +3 -0
  314. package/dist/esm5/components/HoverScale.d.ts +6 -0
  315. package/dist/esm5/components/Identicon.d.ts +14 -0
  316. package/dist/esm5/components/InvertableThemeProvider/InvertableTheme.d.ts +5 -0
  317. package/dist/esm5/components/InvertableThemeProvider/InvertableThemeContext.d.ts +4 -0
  318. package/dist/esm5/components/InvertableThemeProvider/InvertableThemeProvider.d.ts +4 -0
  319. package/dist/esm5/components/InvertableThemeProvider/InvertableThemeProvider.stories.d.ts +6 -0
  320. package/dist/esm5/components/InvertableThemeProvider/InvertableThemeProviderProps.d.ts +9 -0
  321. package/dist/esm5/components/InvertableThemeProvider/index.d.ts +4 -0
  322. package/dist/esm5/components/LinkEx/LinkToEx.d.ts +8 -0
  323. package/dist/esm5/components/LinkEx/index.d.ts +2 -0
  324. package/dist/esm5/components/NumberStatus/NumberStatus.d.ts +4 -0
  325. package/dist/esm5/components/NumberStatus/NumberStatus.stories.d.ts +14 -0
  326. package/dist/esm5/components/NumberStatus/NumberStatusProps.d.ts +13 -0
  327. package/dist/esm5/components/NumberStatus/index.d.ts +2 -0
  328. package/dist/esm5/components/QuickTipButton/QuickTipButton.d.ts +4 -0
  329. package/dist/esm5/components/QuickTipButton/QuickTipButton.stories.d.ts +6 -0
  330. package/dist/esm5/components/QuickTipButton/index.d.ts +2 -0
  331. package/dist/esm5/components/RedirectWithQuery.d.ts +8 -0
  332. package/dist/esm5/components/RichResult/RichResult.d.ts +7 -0
  333. package/dist/esm5/components/RichResult/index.d.ts +3 -0
  334. package/dist/esm5/components/RichResult/jsonld/Action.d.ts +24 -0
  335. package/dist/esm5/components/RichResult/jsonld/ActionStatusType.d.ts +7 -0
  336. package/dist/esm5/components/RichResult/jsonld/AdministrativeArea.d.ts +3 -0
  337. package/dist/esm5/components/RichResult/jsonld/AggrigateRating.d.ts +8 -0
  338. package/dist/esm5/components/RichResult/jsonld/Article.d.ts +14 -0
  339. package/dist/esm5/components/RichResult/jsonld/Base.d.ts +4 -0
  340. package/dist/esm5/components/RichResult/jsonld/Brand.d.ts +11 -0
  341. package/dist/esm5/components/RichResult/jsonld/Class.d.ts +7 -0
  342. package/dist/esm5/components/RichResult/jsonld/ContactPoint.d.ts +19 -0
  343. package/dist/esm5/components/RichResult/jsonld/ContactPointOption.d.ts +5 -0
  344. package/dist/esm5/components/RichResult/jsonld/Country.d.ts +3 -0
  345. package/dist/esm5/components/RichResult/jsonld/CreativeWork.d.ts +122 -0
  346. package/dist/esm5/components/RichResult/jsonld/DateTime.d.ts +2 -0
  347. package/dist/esm5/components/RichResult/jsonld/EntryPoint.d.ts +13 -0
  348. package/dist/esm5/components/RichResult/jsonld/Enumeration.d.ts +7 -0
  349. package/dist/esm5/components/RichResult/jsonld/GeoShape.d.ts +15 -0
  350. package/dist/esm5/components/RichResult/jsonld/GeospatialGeometry.d.ts +15 -0
  351. package/dist/esm5/components/RichResult/jsonld/ImageObject.d.ts +9 -0
  352. package/dist/esm5/components/RichResult/jsonld/Intangible.d.ts +3 -0
  353. package/dist/esm5/components/RichResult/jsonld/Integer.d.ts +2 -0
  354. package/dist/esm5/components/RichResult/jsonld/ItemAvailability.d.ts +21 -0
  355. package/dist/esm5/components/RichResult/jsonld/Language.d.ts +3 -0
  356. package/dist/esm5/components/RichResult/jsonld/Map.d.ts +6 -0
  357. package/dist/esm5/components/RichResult/jsonld/MapCategoryType.d.ts +7 -0
  358. package/dist/esm5/components/RichResult/jsonld/MediaObject.d.ts +10 -0
  359. package/dist/esm5/components/RichResult/jsonld/MobileApplication.d.ts +6 -0
  360. package/dist/esm5/components/RichResult/jsonld/Offer.d.ts +64 -0
  361. package/dist/esm5/components/RichResult/jsonld/Organization.d.ts +77 -0
  362. package/dist/esm5/components/RichResult/jsonld/Person.d.ts +71 -0
  363. package/dist/esm5/components/RichResult/jsonld/Photograph.d.ts +3 -0
  364. package/dist/esm5/components/RichResult/jsonld/Place.d.ts +42 -0
  365. package/dist/esm5/components/RichResult/jsonld/PostalAddress.d.ts +12 -0
  366. package/dist/esm5/components/RichResult/jsonld/Product.d.ts +56 -0
  367. package/dist/esm5/components/RichResult/jsonld/Property.d.ts +10 -0
  368. package/dist/esm5/components/RichResult/jsonld/PropertyValue.d.ts +16 -0
  369. package/dist/esm5/components/RichResult/jsonld/QualitativeValue.d.ts +15 -0
  370. package/dist/esm5/components/RichResult/jsonld/QuantitativeValue.d.ts +15 -0
  371. package/dist/esm5/components/RichResult/jsonld/Rating.d.ts +10 -0
  372. package/dist/esm5/components/RichResult/jsonld/Review.d.ts +10 -0
  373. package/dist/esm5/components/RichResult/jsonld/Service.d.ts +38 -0
  374. package/dist/esm5/components/RichResult/jsonld/SoftwareApplication.d.ts +28 -0
  375. package/dist/esm5/components/RichResult/jsonld/StructuredValue.d.ts +3 -0
  376. package/dist/esm5/components/RichResult/jsonld/Text.d.ts +2 -0
  377. package/dist/esm5/components/RichResult/jsonld/Thing.d.ts +22 -0
  378. package/dist/esm5/components/RichResult/jsonld/Time.d.ts +2 -0
  379. package/dist/esm5/components/RichResult/jsonld/URL.d.ts +2 -0
  380. package/dist/esm5/components/RichResult/jsonld/VirtualLocation.d.ts +3 -0
  381. package/dist/esm5/components/RichResult/jsonld/index.d.ts +48 -0
  382. package/dist/esm5/components/ScrollToTop.d.ts +1 -0
  383. package/dist/esm5/components/ScrollToTopButton.d.ts +7 -0
  384. package/dist/esm5/components/TokenAmount/TokenAmount.d.ts +4 -0
  385. package/dist/esm5/components/TokenAmount/TokenAmount.stories.d.ts +12 -0
  386. package/dist/esm5/components/TokenAmount/TokenAmountProps.d.ts +15 -0
  387. package/dist/esm5/components/TokenAmount/index.d.ts +4 -0
  388. package/dist/esm5/components/dialogs/ErrorDialog.d.ts +8 -0
  389. package/dist/esm5/components/dialogs/ErrorDialog.stories.d.ts +6 -0
  390. package/dist/esm5/components/dialogs/MessageDialog.d.ts +7 -0
  391. package/dist/esm5/components/dialogs/MessageDialog.stories.d.ts +6 -0
  392. package/dist/esm5/components/dialogs/index.d.ts +3 -0
  393. package/dist/esm5/components/index.d.ts +23 -0
  394. package/dist/esm5/contexts/CookieConsent/Context.d.ts +8 -0
  395. package/dist/esm5/contexts/CookieConsent/Loader.d.ts +3 -0
  396. package/dist/esm5/contexts/CookieConsent/index.d.ts +4 -0
  397. package/dist/esm5/contexts/CookieConsent/use.d.ts +7 -0
  398. package/dist/esm5/contexts/Ethers/Context.d.ts +19 -0
  399. package/dist/esm5/contexts/Ethers/Infura.d.ts +7 -0
  400. package/dist/esm5/contexts/Ethers/Loader.d.ts +6 -0
  401. package/dist/esm5/contexts/Ethers/MetaMask.d.ts +6 -0
  402. package/dist/esm5/contexts/Ethers/MyEtherWallet.d.ts +6 -0
  403. package/dist/esm5/contexts/Ethers/Opera.d.ts +6 -0
  404. package/dist/esm5/contexts/Ethers/Trust.d.ts +6 -0
  405. package/dist/esm5/contexts/Ethers/index.d.ts +2 -0
  406. package/dist/esm5/contexts/NetworkSettings/Context.d.ts +9 -0
  407. package/dist/esm5/contexts/NetworkSettings/Loader.d.ts +6 -0
  408. package/dist/esm5/contexts/NetworkSettings/index.d.ts +3 -0
  409. package/dist/esm5/contexts/UserEvents/Context.d.ts +7 -0
  410. package/dist/esm5/contexts/UserEvents/index.d.ts +2 -0
  411. package/dist/esm5/contexts/index.d.ts +4 -0
  412. package/dist/esm5/hooks/index.d.ts +7 -0
  413. package/dist/esm5/hooks/useBreakpoint.d.ts +1 -0
  414. package/dist/esm5/hooks/useMediaQuery.d.ts +2 -0
  415. package/dist/esm5/hooks/useMounted.d.ts +1 -0
  416. package/dist/esm5/hooks/useNavigateToEthAddress.d.ts +5 -0
  417. package/dist/esm5/hooks/useSpacing.d.ts +1 -0
  418. package/dist/esm5/hooks/useWebP.d.ts +1 -0
  419. package/dist/esm5/hooks/useWindowSize.d.ts +6 -0
  420. package/dist/esm5/index.d.ts +4 -1
  421. package/dist/esm5/index.js +2248 -2280
  422. package/dist/esm5/index.js.map +1 -1
  423. package/dist/esm5/lib/ComponentSizes.d.ts +2 -0
  424. package/dist/esm5/lib/Tracking/Drip/BaseEvent.d.ts +12 -0
  425. package/dist/esm5/lib/Tracking/Drip/CustomEvent.d.ts +4 -0
  426. package/dist/esm5/lib/Tracking/Drip/Data/Base.d.ts +6 -0
  427. package/dist/esm5/lib/Tracking/Drip/Data/CustomFields.d.ts +4 -0
  428. package/dist/esm5/lib/Tracking/Drip/Data/Identify.d.ts +14 -0
  429. package/dist/esm5/lib/Tracking/Drip/Data/Result.d.ts +7 -0
  430. package/dist/esm5/lib/Tracking/Drip/Data/StandardFields.d.ts +12 -0
  431. package/dist/esm5/lib/Tracking/Drip/Data/index.d.ts +2 -0
  432. package/dist/esm5/lib/Tracking/Drip/StandardEvents.d.ts +6 -0
  433. package/dist/esm5/lib/Tracking/Drip/index.d.ts +5 -0
  434. package/dist/esm5/lib/Tracking/Facebook/BaseEvent.d.ts +8 -0
  435. package/dist/esm5/lib/Tracking/Facebook/CustomEvent.d.ts +5 -0
  436. package/dist/esm5/lib/Tracking/Facebook/Fbq.d.ts +10 -0
  437. package/dist/esm5/lib/Tracking/Facebook/StandardEvent.d.ts +5 -0
  438. package/dist/esm5/lib/Tracking/Facebook/StandardEvents.d.ts +61 -0
  439. package/dist/esm5/lib/Tracking/Facebook/StandardProperties.d.ts +15 -0
  440. package/dist/esm5/lib/Tracking/Facebook/UserEventHandler.d.ts +8 -0
  441. package/dist/esm5/lib/Tracking/Facebook/index.d.ts +8 -0
  442. package/dist/esm5/lib/Tracking/Google/BaseEvent.d.ts +13 -0
  443. package/dist/esm5/lib/Tracking/Google/CustomEvent.d.ts +4 -0
  444. package/dist/esm5/lib/Tracking/Google/DataLayer.d.ts +9 -0
  445. package/dist/esm5/lib/Tracking/Google/Gtag.d.ts +19 -0
  446. package/dist/esm5/lib/Tracking/Google/Gtm.d.ts +10 -0
  447. package/dist/esm5/lib/Tracking/Google/StandardEvent.d.ts +4 -0
  448. package/dist/esm5/lib/Tracking/Google/StandardEvents.d.ts +151 -0
  449. package/dist/esm5/lib/Tracking/Google/UserEventHandler.d.ts +8 -0
  450. package/dist/esm5/lib/Tracking/Google/index.d.ts +7 -0
  451. package/dist/esm5/lib/Tracking/Reddit/BaseEvent.d.ts +8 -0
  452. package/dist/esm5/lib/Tracking/Reddit/CustomEvent.d.ts +5 -0
  453. package/dist/esm5/lib/Tracking/Reddit/Rdt.d.ts +8 -0
  454. package/dist/esm5/lib/Tracking/Reddit/StandardEvent.d.ts +5 -0
  455. package/dist/esm5/lib/Tracking/Reddit/StandardEvents.d.ts +12 -0
  456. package/dist/esm5/lib/Tracking/Reddit/StandardProperties.d.ts +4 -0
  457. package/dist/esm5/lib/Tracking/Reddit/index.d.ts +4 -0
  458. package/dist/esm5/lib/Tracking/Referrer.d.ts +13 -0
  459. package/dist/esm5/lib/Tracking/Snapchat/BaseEvent.d.ts +6 -0
  460. package/dist/esm5/lib/Tracking/Snapchat/Snaptr.d.ts +8 -0
  461. package/dist/esm5/lib/Tracking/Snapchat/StandardEvent.d.ts +6 -0
  462. package/dist/esm5/lib/Tracking/Snapchat/StandardEvents.d.ts +33 -0
  463. package/dist/esm5/lib/Tracking/Snapchat/StandardProperties.d.ts +15 -0
  464. package/dist/esm5/lib/Tracking/Snapchat/UserProperties.d.ts +7 -0
  465. package/dist/esm5/lib/Tracking/Snapchat/index.d.ts +6 -0
  466. package/dist/esm5/lib/Tracking/Tiktok/BaseEvent.d.ts +8 -0
  467. package/dist/esm5/lib/Tracking/Tiktok/CustomEvent.d.ts +5 -0
  468. package/dist/esm5/lib/Tracking/Tiktok/StandardEvent.d.ts +5 -0
  469. package/dist/esm5/lib/Tracking/Tiktok/StandardEvents.d.ts +19 -0
  470. package/dist/esm5/lib/Tracking/Tiktok/StandardProperties.d.ts +4 -0
  471. package/dist/esm5/lib/Tracking/Tiktok/Ttq.d.ts +8 -0
  472. package/dist/esm5/lib/Tracking/Tiktok/index.d.ts +4 -0
  473. package/dist/esm5/lib/Tracking/Xy/BaseEvent.d.ts +6 -0
  474. package/dist/esm5/lib/Tracking/Xy/CustomEvent.d.ts +4 -0
  475. package/dist/esm5/lib/Tracking/Xy/StandardEvent.d.ts +4 -0
  476. package/dist/esm5/lib/Tracking/Xy/UserEventHandler.d.ts +8 -0
  477. package/dist/esm5/lib/Tracking/Xy/index.d.ts +4 -0
  478. package/dist/esm5/lib/Tracking/XyoUserEventHandler.d.ts +10 -0
  479. package/dist/esm5/lib/Tracking/index.d.ts +10 -0
  480. package/dist/esm5/lib/getApiStage.d.ts +2 -0
  481. package/dist/esm5/lib/global.d.ts +2 -0
  482. package/dist/esm5/lib/index.d.ts +10 -0
  483. package/dist/esm5/lib/isLocalHost.d.ts +2 -0
  484. package/dist/esm5/lib/profile.d.ts +9 -0
  485. package/dist/esm5/lib/safeLocalStorage.d.ts +3 -0
  486. package/dist/esm5/lib/safeSessionStorage.d.ts +3 -0
  487. package/dist/esm5/lib/useAsyncEffect.d.ts +5 -0
  488. package/dist/esm5/mergeBoxlikeStyles.d.ts +4 -0
  489. package/dist/hooks/useMounted.js +2 -1
  490. package/dist/hooks/useMounted.js.map +1 -1
  491. package/dist/hooks/useWebP.js +2 -2
  492. package/dist/hooks/useWebP.js.map +1 -1
  493. package/dist/hooks/useWindowSize.js +3 -2
  494. package/dist/hooks/useWindowSize.js.map +1 -1
  495. package/dist/lib/Tracking/Facebook/Fbq.d.ts +2 -2
  496. package/dist/lib/Tracking/Facebook/Fbq.js +3 -26
  497. package/dist/lib/Tracking/Facebook/Fbq.js.map +1 -1
  498. package/dist/lib/Tracking/Reddit/Rdt.d.ts +1 -1
  499. package/dist/lib/Tracking/Reddit/Rdt.js +7 -21
  500. package/dist/lib/Tracking/Reddit/Rdt.js.map +1 -1
  501. package/dist/lib/Tracking/Snapchat/Snaptr.d.ts +1 -1
  502. package/dist/lib/Tracking/Snapchat/Snaptr.js +2 -15
  503. package/dist/lib/Tracking/Snapchat/Snaptr.js.map +1 -1
  504. package/dist/lib/Tracking/Tiktok/Ttq.d.ts +2 -2
  505. package/dist/lib/Tracking/Tiktok/Ttq.js +13 -40
  506. package/dist/lib/Tracking/Tiktok/Ttq.js.map +1 -1
  507. package/dist/lib/useAsyncEffect.js +5 -1
  508. package/dist/lib/useAsyncEffect.js.map +1 -1
  509. package/dist/node/BoxlikeComponentProps.d.ts +41 -0
  510. package/dist/node/BusyProps.d.ts +13 -0
  511. package/dist/node/Margin.d.ts +2 -0
  512. package/dist/node/Padding.d.ts +2 -0
  513. package/dist/node/calcSpacing.d.ts +4 -0
  514. package/dist/node/components/AppBarEx/AppBarEx.d.ts +4 -0
  515. package/dist/node/components/AppBarEx/AppBarEx.stories.d.ts +6 -0
  516. package/dist/node/components/AppBarEx/AppBarExProps.d.ts +8 -0
  517. package/dist/node/components/AppBarEx/index.d.ts +4 -0
  518. package/dist/node/components/Background.d.ts +7 -0
  519. package/dist/node/components/BasePage/BasePage.d.ts +4 -0
  520. package/dist/node/components/BasePage/BasePage.stories.d.ts +6 -0
  521. package/dist/node/components/BasePage/BasePageProps.d.ts +17 -0
  522. package/dist/node/components/BasePage/index.d.ts +4 -0
  523. package/dist/node/components/Breadcrumbs/BreadcrumbsEx.d.ts +4 -0
  524. package/dist/node/components/Breadcrumbs/BreadcrumbsEx.stories.d.ts +7 -0
  525. package/dist/node/components/Breadcrumbs/BreadcrumbsExProps.d.ts +8 -0
  526. package/dist/node/components/Breadcrumbs/index.d.ts +2 -0
  527. package/dist/node/components/BusyCircularProgress.d.ts +10 -0
  528. package/dist/node/components/BusyLinearProgress.d.ts +9 -0
  529. package/dist/node/components/ButtonEx/ButtonEx.d.ts +4 -0
  530. package/dist/node/components/ButtonEx/ButtonEx.stories.d.ts +8 -0
  531. package/dist/node/components/ButtonEx/ButtonExBase.d.ts +4 -0
  532. package/dist/node/components/ButtonEx/ButtonExProps.d.ts +10 -0
  533. package/dist/node/components/ButtonEx/ButtonExTo.d.ts +4 -0
  534. package/dist/node/components/ButtonEx/index.d.ts +2 -0
  535. package/dist/node/components/CookieConsent/CookieConsent.d.ts +4 -0
  536. package/dist/node/components/CookieConsent/CookieConsent.stories.d.ts +7 -0
  537. package/dist/node/components/CookieConsent/CookieConsentBody.d.ts +4 -0
  538. package/dist/node/components/CookieConsent/CookieConsentProps.d.ts +7 -0
  539. package/dist/node/components/CookieConsent/index.d.ts +3 -0
  540. package/dist/node/components/CoverProgress.d.ts +10 -0
  541. package/dist/node/components/Errors/ErrorViewer.d.ts +4 -0
  542. package/dist/node/components/Errors/ErrorViewer.stories.d.ts +6 -0
  543. package/dist/node/components/Errors/ErrorViewerProps.d.ts +5 -0
  544. package/dist/node/components/Errors/ErrorsViewer.d.ts +4 -0
  545. package/dist/node/components/Errors/ErrorsViewer.stories.d.ts +6 -0
  546. package/dist/node/components/Errors/ErrorsViewerProps.d.ts +6 -0
  547. package/dist/node/components/Errors/index.d.ts +3 -0
  548. package/dist/node/components/EthAccount/EthAccount.d.ts +4 -0
  549. package/dist/node/components/EthAccount/EthAccount.stories.d.ts +11 -0
  550. package/dist/node/components/EthAccount/EthAccountProps.d.ts +17 -0
  551. package/dist/node/components/EthAccount/index.d.ts +4 -0
  552. package/dist/node/components/EthBlock.d.ts +6 -0
  553. package/dist/node/components/Experiments/Experiment.d.ts +6 -0
  554. package/dist/node/components/Experiments/Experiments.d.ts +9 -0
  555. package/dist/node/components/Experiments/index.d.ts +3 -0
  556. package/dist/node/components/FlexBox/BusyBox.d.ts +10 -0
  557. package/dist/node/components/FlexBox/BusyBox.stories.d.ts +10 -0
  558. package/dist/node/components/FlexBox/FlexCol.d.ts +5 -0
  559. package/dist/node/components/FlexBox/FlexCol.stories.d.ts +8 -0
  560. package/dist/node/components/FlexBox/FlexRow.d.ts +7 -0
  561. package/dist/node/components/FlexBox/FlexRow.stories.d.ts +10 -0
  562. package/dist/node/components/FlexBox/index.d.ts +3 -0
  563. package/dist/node/components/HoverScale.d.ts +6 -0
  564. package/dist/node/components/Identicon.d.ts +14 -0
  565. package/dist/node/components/InvertableThemeProvider/InvertableTheme.d.ts +5 -0
  566. package/dist/node/components/InvertableThemeProvider/InvertableThemeContext.d.ts +4 -0
  567. package/dist/node/components/InvertableThemeProvider/InvertableThemeProvider.d.ts +4 -0
  568. package/dist/node/components/InvertableThemeProvider/InvertableThemeProvider.stories.d.ts +6 -0
  569. package/dist/node/components/InvertableThemeProvider/InvertableThemeProviderProps.d.ts +9 -0
  570. package/dist/node/components/InvertableThemeProvider/index.d.ts +4 -0
  571. package/dist/node/components/LinkEx/LinkToEx.d.ts +8 -0
  572. package/dist/node/components/LinkEx/index.d.ts +2 -0
  573. package/dist/node/components/NumberStatus/NumberStatus.d.ts +4 -0
  574. package/dist/node/components/NumberStatus/NumberStatus.stories.d.ts +14 -0
  575. package/dist/node/components/NumberStatus/NumberStatusProps.d.ts +13 -0
  576. package/dist/node/components/NumberStatus/index.d.ts +2 -0
  577. package/dist/node/components/QuickTipButton/QuickTipButton.d.ts +4 -0
  578. package/dist/node/components/QuickTipButton/QuickTipButton.stories.d.ts +6 -0
  579. package/dist/node/components/QuickTipButton/index.d.ts +2 -0
  580. package/dist/node/components/RedirectWithQuery.d.ts +8 -0
  581. package/dist/node/components/RichResult/RichResult.d.ts +7 -0
  582. package/dist/node/components/RichResult/index.d.ts +3 -0
  583. package/dist/node/components/RichResult/jsonld/Action.d.ts +24 -0
  584. package/dist/node/components/RichResult/jsonld/ActionStatusType.d.ts +7 -0
  585. package/dist/node/components/RichResult/jsonld/AdministrativeArea.d.ts +3 -0
  586. package/dist/node/components/RichResult/jsonld/AggrigateRating.d.ts +8 -0
  587. package/dist/node/components/RichResult/jsonld/Article.d.ts +14 -0
  588. package/dist/node/components/RichResult/jsonld/Base.d.ts +4 -0
  589. package/dist/node/components/RichResult/jsonld/Brand.d.ts +11 -0
  590. package/dist/node/components/RichResult/jsonld/Class.d.ts +7 -0
  591. package/dist/node/components/RichResult/jsonld/ContactPoint.d.ts +19 -0
  592. package/dist/node/components/RichResult/jsonld/ContactPointOption.d.ts +5 -0
  593. package/dist/node/components/RichResult/jsonld/Country.d.ts +3 -0
  594. package/dist/node/components/RichResult/jsonld/CreativeWork.d.ts +122 -0
  595. package/dist/node/components/RichResult/jsonld/DateTime.d.ts +2 -0
  596. package/dist/node/components/RichResult/jsonld/EntryPoint.d.ts +13 -0
  597. package/dist/node/components/RichResult/jsonld/Enumeration.d.ts +7 -0
  598. package/dist/node/components/RichResult/jsonld/GeoShape.d.ts +15 -0
  599. package/dist/node/components/RichResult/jsonld/GeospatialGeometry.d.ts +15 -0
  600. package/dist/node/components/RichResult/jsonld/ImageObject.d.ts +9 -0
  601. package/dist/node/components/RichResult/jsonld/Intangible.d.ts +3 -0
  602. package/dist/node/components/RichResult/jsonld/Integer.d.ts +2 -0
  603. package/dist/node/components/RichResult/jsonld/ItemAvailability.d.ts +21 -0
  604. package/dist/node/components/RichResult/jsonld/Language.d.ts +3 -0
  605. package/dist/node/components/RichResult/jsonld/Map.d.ts +6 -0
  606. package/dist/node/components/RichResult/jsonld/MapCategoryType.d.ts +7 -0
  607. package/dist/node/components/RichResult/jsonld/MediaObject.d.ts +10 -0
  608. package/dist/node/components/RichResult/jsonld/MobileApplication.d.ts +6 -0
  609. package/dist/node/components/RichResult/jsonld/Offer.d.ts +64 -0
  610. package/dist/node/components/RichResult/jsonld/Organization.d.ts +77 -0
  611. package/dist/node/components/RichResult/jsonld/Person.d.ts +71 -0
  612. package/dist/node/components/RichResult/jsonld/Photograph.d.ts +3 -0
  613. package/dist/node/components/RichResult/jsonld/Place.d.ts +42 -0
  614. package/dist/node/components/RichResult/jsonld/PostalAddress.d.ts +12 -0
  615. package/dist/node/components/RichResult/jsonld/Product.d.ts +56 -0
  616. package/dist/node/components/RichResult/jsonld/Property.d.ts +10 -0
  617. package/dist/node/components/RichResult/jsonld/PropertyValue.d.ts +16 -0
  618. package/dist/node/components/RichResult/jsonld/QualitativeValue.d.ts +15 -0
  619. package/dist/node/components/RichResult/jsonld/QuantitativeValue.d.ts +15 -0
  620. package/dist/node/components/RichResult/jsonld/Rating.d.ts +10 -0
  621. package/dist/node/components/RichResult/jsonld/Review.d.ts +10 -0
  622. package/dist/node/components/RichResult/jsonld/Service.d.ts +38 -0
  623. package/dist/node/components/RichResult/jsonld/SoftwareApplication.d.ts +28 -0
  624. package/dist/node/components/RichResult/jsonld/StructuredValue.d.ts +3 -0
  625. package/dist/node/components/RichResult/jsonld/Text.d.ts +2 -0
  626. package/dist/node/components/RichResult/jsonld/Thing.d.ts +22 -0
  627. package/dist/node/components/RichResult/jsonld/Time.d.ts +2 -0
  628. package/dist/node/components/RichResult/jsonld/URL.d.ts +2 -0
  629. package/dist/node/components/RichResult/jsonld/VirtualLocation.d.ts +3 -0
  630. package/dist/node/components/RichResult/jsonld/index.d.ts +48 -0
  631. package/dist/node/components/ScrollToTop.d.ts +1 -0
  632. package/dist/node/components/ScrollToTopButton.d.ts +7 -0
  633. package/dist/node/components/TokenAmount/TokenAmount.d.ts +4 -0
  634. package/dist/node/components/TokenAmount/TokenAmount.stories.d.ts +12 -0
  635. package/dist/node/components/TokenAmount/TokenAmountProps.d.ts +15 -0
  636. package/dist/node/components/TokenAmount/index.d.ts +4 -0
  637. package/dist/node/components/dialogs/ErrorDialog.d.ts +8 -0
  638. package/dist/node/components/dialogs/ErrorDialog.stories.d.ts +6 -0
  639. package/dist/node/components/dialogs/MessageDialog.d.ts +7 -0
  640. package/dist/node/components/dialogs/MessageDialog.stories.d.ts +6 -0
  641. package/dist/node/components/dialogs/index.d.ts +3 -0
  642. package/dist/node/components/index.d.ts +23 -0
  643. package/dist/node/contexts/CookieConsent/Context.d.ts +8 -0
  644. package/dist/node/contexts/CookieConsent/Loader.d.ts +3 -0
  645. package/dist/node/contexts/CookieConsent/index.d.ts +4 -0
  646. package/dist/node/contexts/CookieConsent/use.d.ts +7 -0
  647. package/dist/node/contexts/Ethers/Context.d.ts +19 -0
  648. package/dist/node/contexts/Ethers/Infura.d.ts +7 -0
  649. package/dist/node/contexts/Ethers/Loader.d.ts +6 -0
  650. package/dist/node/contexts/Ethers/MetaMask.d.ts +6 -0
  651. package/dist/node/contexts/Ethers/MyEtherWallet.d.ts +6 -0
  652. package/dist/node/contexts/Ethers/Opera.d.ts +6 -0
  653. package/dist/node/contexts/Ethers/Trust.d.ts +6 -0
  654. package/dist/node/contexts/Ethers/index.d.ts +2 -0
  655. package/dist/node/contexts/NetworkSettings/Context.d.ts +9 -0
  656. package/dist/node/contexts/NetworkSettings/Loader.d.ts +6 -0
  657. package/dist/node/contexts/NetworkSettings/index.d.ts +3 -0
  658. package/dist/node/contexts/UserEvents/Context.d.ts +7 -0
  659. package/dist/node/contexts/UserEvents/index.d.ts +2 -0
  660. package/dist/node/contexts/index.d.ts +4 -0
  661. package/dist/node/hooks/index.d.ts +7 -0
  662. package/dist/node/hooks/useBreakpoint.d.ts +1 -0
  663. package/dist/node/hooks/useMediaQuery.d.ts +2 -0
  664. package/dist/node/hooks/useMounted.d.ts +1 -0
  665. package/dist/node/hooks/useNavigateToEthAddress.d.ts +5 -0
  666. package/dist/node/hooks/useSpacing.d.ts +1 -0
  667. package/dist/node/hooks/useWebP.d.ts +1 -0
  668. package/dist/node/hooks/useWindowSize.d.ts +6 -0
  669. package/dist/node/index.d.ts +4 -1
  670. package/dist/node/index.js +2248 -2281
  671. package/dist/node/index.js.map +1 -1
  672. package/dist/node/lib/ComponentSizes.d.ts +2 -0
  673. package/dist/node/lib/Tracking/Drip/BaseEvent.d.ts +12 -0
  674. package/dist/node/lib/Tracking/Drip/CustomEvent.d.ts +4 -0
  675. package/dist/node/lib/Tracking/Drip/Data/Base.d.ts +6 -0
  676. package/dist/node/lib/Tracking/Drip/Data/CustomFields.d.ts +4 -0
  677. package/dist/node/lib/Tracking/Drip/Data/Identify.d.ts +14 -0
  678. package/dist/node/lib/Tracking/Drip/Data/Result.d.ts +7 -0
  679. package/dist/node/lib/Tracking/Drip/Data/StandardFields.d.ts +12 -0
  680. package/dist/node/lib/Tracking/Drip/Data/index.d.ts +2 -0
  681. package/dist/node/lib/Tracking/Drip/StandardEvents.d.ts +6 -0
  682. package/dist/node/lib/Tracking/Drip/index.d.ts +5 -0
  683. package/dist/node/lib/Tracking/Facebook/BaseEvent.d.ts +8 -0
  684. package/dist/node/lib/Tracking/Facebook/CustomEvent.d.ts +5 -0
  685. package/dist/node/lib/Tracking/Facebook/Fbq.d.ts +10 -0
  686. package/dist/node/lib/Tracking/Facebook/StandardEvent.d.ts +5 -0
  687. package/dist/node/lib/Tracking/Facebook/StandardEvents.d.ts +61 -0
  688. package/dist/node/lib/Tracking/Facebook/StandardProperties.d.ts +15 -0
  689. package/dist/node/lib/Tracking/Facebook/UserEventHandler.d.ts +8 -0
  690. package/dist/node/lib/Tracking/Facebook/index.d.ts +8 -0
  691. package/dist/node/lib/Tracking/Google/BaseEvent.d.ts +13 -0
  692. package/dist/node/lib/Tracking/Google/CustomEvent.d.ts +4 -0
  693. package/dist/node/lib/Tracking/Google/DataLayer.d.ts +9 -0
  694. package/dist/node/lib/Tracking/Google/Gtag.d.ts +19 -0
  695. package/dist/node/lib/Tracking/Google/Gtm.d.ts +10 -0
  696. package/dist/node/lib/Tracking/Google/StandardEvent.d.ts +4 -0
  697. package/dist/node/lib/Tracking/Google/StandardEvents.d.ts +151 -0
  698. package/dist/node/lib/Tracking/Google/UserEventHandler.d.ts +8 -0
  699. package/dist/node/lib/Tracking/Google/index.d.ts +7 -0
  700. package/dist/node/lib/Tracking/Reddit/BaseEvent.d.ts +8 -0
  701. package/dist/node/lib/Tracking/Reddit/CustomEvent.d.ts +5 -0
  702. package/dist/node/lib/Tracking/Reddit/Rdt.d.ts +8 -0
  703. package/dist/node/lib/Tracking/Reddit/StandardEvent.d.ts +5 -0
  704. package/dist/node/lib/Tracking/Reddit/StandardEvents.d.ts +12 -0
  705. package/dist/node/lib/Tracking/Reddit/StandardProperties.d.ts +4 -0
  706. package/dist/node/lib/Tracking/Reddit/index.d.ts +4 -0
  707. package/dist/node/lib/Tracking/Referrer.d.ts +13 -0
  708. package/dist/node/lib/Tracking/Snapchat/BaseEvent.d.ts +6 -0
  709. package/dist/node/lib/Tracking/Snapchat/Snaptr.d.ts +8 -0
  710. package/dist/node/lib/Tracking/Snapchat/StandardEvent.d.ts +6 -0
  711. package/dist/node/lib/Tracking/Snapchat/StandardEvents.d.ts +33 -0
  712. package/dist/node/lib/Tracking/Snapchat/StandardProperties.d.ts +15 -0
  713. package/dist/node/lib/Tracking/Snapchat/UserProperties.d.ts +7 -0
  714. package/dist/node/lib/Tracking/Snapchat/index.d.ts +6 -0
  715. package/dist/node/lib/Tracking/Tiktok/BaseEvent.d.ts +8 -0
  716. package/dist/node/lib/Tracking/Tiktok/CustomEvent.d.ts +5 -0
  717. package/dist/node/lib/Tracking/Tiktok/StandardEvent.d.ts +5 -0
  718. package/dist/node/lib/Tracking/Tiktok/StandardEvents.d.ts +19 -0
  719. package/dist/node/lib/Tracking/Tiktok/StandardProperties.d.ts +4 -0
  720. package/dist/node/lib/Tracking/Tiktok/Ttq.d.ts +8 -0
  721. package/dist/node/lib/Tracking/Tiktok/index.d.ts +4 -0
  722. package/dist/node/lib/Tracking/Xy/BaseEvent.d.ts +6 -0
  723. package/dist/node/lib/Tracking/Xy/CustomEvent.d.ts +4 -0
  724. package/dist/node/lib/Tracking/Xy/StandardEvent.d.ts +4 -0
  725. package/dist/node/lib/Tracking/Xy/UserEventHandler.d.ts +8 -0
  726. package/dist/node/lib/Tracking/Xy/index.d.ts +4 -0
  727. package/dist/node/lib/Tracking/XyoUserEventHandler.d.ts +10 -0
  728. package/dist/node/lib/Tracking/index.d.ts +10 -0
  729. package/dist/node/lib/getApiStage.d.ts +2 -0
  730. package/dist/node/lib/global.d.ts +2 -0
  731. package/dist/node/lib/index.d.ts +10 -0
  732. package/dist/node/lib/isLocalHost.d.ts +2 -0
  733. package/dist/node/lib/profile.d.ts +9 -0
  734. package/dist/node/lib/safeLocalStorage.d.ts +3 -0
  735. package/dist/node/lib/safeSessionStorage.d.ts +3 -0
  736. package/dist/node/lib/useAsyncEffect.d.ts +5 -0
  737. package/dist/node/mergeBoxlikeStyles.d.ts +4 -0
  738. package/dist/node-esm/BoxlikeComponentProps.d.ts +41 -0
  739. package/dist/node-esm/BusyProps.d.ts +13 -0
  740. package/dist/node-esm/Margin.d.ts +2 -0
  741. package/dist/node-esm/Padding.d.ts +2 -0
  742. package/dist/node-esm/calcSpacing.d.ts +4 -0
  743. package/dist/node-esm/components/AppBarEx/AppBarEx.d.ts +4 -0
  744. package/dist/node-esm/components/AppBarEx/AppBarEx.stories.d.ts +6 -0
  745. package/dist/node-esm/components/AppBarEx/AppBarExProps.d.ts +8 -0
  746. package/dist/node-esm/components/AppBarEx/index.d.ts +4 -0
  747. package/dist/node-esm/components/Background.d.ts +7 -0
  748. package/dist/node-esm/components/BasePage/BasePage.d.ts +4 -0
  749. package/dist/node-esm/components/BasePage/BasePage.stories.d.ts +6 -0
  750. package/dist/node-esm/components/BasePage/BasePageProps.d.ts +17 -0
  751. package/dist/node-esm/components/BasePage/index.d.ts +4 -0
  752. package/dist/node-esm/components/Breadcrumbs/BreadcrumbsEx.d.ts +4 -0
  753. package/dist/node-esm/components/Breadcrumbs/BreadcrumbsEx.stories.d.ts +7 -0
  754. package/dist/node-esm/components/Breadcrumbs/BreadcrumbsExProps.d.ts +8 -0
  755. package/dist/node-esm/components/Breadcrumbs/index.d.ts +2 -0
  756. package/dist/node-esm/components/BusyCircularProgress.d.ts +10 -0
  757. package/dist/node-esm/components/BusyLinearProgress.d.ts +9 -0
  758. package/dist/node-esm/components/ButtonEx/ButtonEx.d.ts +4 -0
  759. package/dist/node-esm/components/ButtonEx/ButtonEx.stories.d.ts +8 -0
  760. package/dist/node-esm/components/ButtonEx/ButtonExBase.d.ts +4 -0
  761. package/dist/node-esm/components/ButtonEx/ButtonExProps.d.ts +10 -0
  762. package/dist/node-esm/components/ButtonEx/ButtonExTo.d.ts +4 -0
  763. package/dist/node-esm/components/ButtonEx/index.d.ts +2 -0
  764. package/dist/node-esm/components/CookieConsent/CookieConsent.d.ts +4 -0
  765. package/dist/node-esm/components/CookieConsent/CookieConsent.stories.d.ts +7 -0
  766. package/dist/node-esm/components/CookieConsent/CookieConsentBody.d.ts +4 -0
  767. package/dist/node-esm/components/CookieConsent/CookieConsentProps.d.ts +7 -0
  768. package/dist/node-esm/components/CookieConsent/index.d.ts +3 -0
  769. package/dist/node-esm/components/CoverProgress.d.ts +10 -0
  770. package/dist/node-esm/components/Errors/ErrorViewer.d.ts +4 -0
  771. package/dist/node-esm/components/Errors/ErrorViewer.stories.d.ts +6 -0
  772. package/dist/node-esm/components/Errors/ErrorViewerProps.d.ts +5 -0
  773. package/dist/node-esm/components/Errors/ErrorsViewer.d.ts +4 -0
  774. package/dist/node-esm/components/Errors/ErrorsViewer.stories.d.ts +6 -0
  775. package/dist/node-esm/components/Errors/ErrorsViewerProps.d.ts +6 -0
  776. package/dist/node-esm/components/Errors/index.d.ts +3 -0
  777. package/dist/node-esm/components/EthAccount/EthAccount.d.ts +4 -0
  778. package/dist/node-esm/components/EthAccount/EthAccount.stories.d.ts +11 -0
  779. package/dist/node-esm/components/EthAccount/EthAccountProps.d.ts +17 -0
  780. package/dist/node-esm/components/EthAccount/index.d.ts +4 -0
  781. package/dist/node-esm/components/EthBlock.d.ts +6 -0
  782. package/dist/node-esm/components/Experiments/Experiment.d.ts +6 -0
  783. package/dist/node-esm/components/Experiments/Experiments.d.ts +9 -0
  784. package/dist/node-esm/components/Experiments/index.d.ts +3 -0
  785. package/dist/node-esm/components/FlexBox/BusyBox.d.ts +10 -0
  786. package/dist/node-esm/components/FlexBox/BusyBox.stories.d.ts +10 -0
  787. package/dist/node-esm/components/FlexBox/FlexCol.d.ts +5 -0
  788. package/dist/node-esm/components/FlexBox/FlexCol.stories.d.ts +8 -0
  789. package/dist/node-esm/components/FlexBox/FlexRow.d.ts +7 -0
  790. package/dist/node-esm/components/FlexBox/FlexRow.stories.d.ts +10 -0
  791. package/dist/node-esm/components/FlexBox/index.d.ts +3 -0
  792. package/dist/node-esm/components/HoverScale.d.ts +6 -0
  793. package/dist/node-esm/components/Identicon.d.ts +14 -0
  794. package/dist/node-esm/components/InvertableThemeProvider/InvertableTheme.d.ts +5 -0
  795. package/dist/node-esm/components/InvertableThemeProvider/InvertableThemeContext.d.ts +4 -0
  796. package/dist/node-esm/components/InvertableThemeProvider/InvertableThemeProvider.d.ts +4 -0
  797. package/dist/node-esm/components/InvertableThemeProvider/InvertableThemeProvider.stories.d.ts +6 -0
  798. package/dist/node-esm/components/InvertableThemeProvider/InvertableThemeProviderProps.d.ts +9 -0
  799. package/dist/node-esm/components/InvertableThemeProvider/index.d.ts +4 -0
  800. package/dist/node-esm/components/LinkEx/LinkToEx.d.ts +8 -0
  801. package/dist/node-esm/components/LinkEx/index.d.ts +2 -0
  802. package/dist/node-esm/components/NumberStatus/NumberStatus.d.ts +4 -0
  803. package/dist/node-esm/components/NumberStatus/NumberStatus.stories.d.ts +14 -0
  804. package/dist/node-esm/components/NumberStatus/NumberStatusProps.d.ts +13 -0
  805. package/dist/node-esm/components/NumberStatus/index.d.ts +2 -0
  806. package/dist/node-esm/components/QuickTipButton/QuickTipButton.d.ts +4 -0
  807. package/dist/node-esm/components/QuickTipButton/QuickTipButton.stories.d.ts +6 -0
  808. package/dist/node-esm/components/QuickTipButton/index.d.ts +2 -0
  809. package/dist/node-esm/components/RedirectWithQuery.d.ts +8 -0
  810. package/dist/node-esm/components/RichResult/RichResult.d.ts +7 -0
  811. package/dist/node-esm/components/RichResult/index.d.ts +3 -0
  812. package/dist/node-esm/components/RichResult/jsonld/Action.d.ts +24 -0
  813. package/dist/node-esm/components/RichResult/jsonld/ActionStatusType.d.ts +7 -0
  814. package/dist/node-esm/components/RichResult/jsonld/AdministrativeArea.d.ts +3 -0
  815. package/dist/node-esm/components/RichResult/jsonld/AggrigateRating.d.ts +8 -0
  816. package/dist/node-esm/components/RichResult/jsonld/Article.d.ts +14 -0
  817. package/dist/node-esm/components/RichResult/jsonld/Base.d.ts +4 -0
  818. package/dist/node-esm/components/RichResult/jsonld/Brand.d.ts +11 -0
  819. package/dist/node-esm/components/RichResult/jsonld/Class.d.ts +7 -0
  820. package/dist/node-esm/components/RichResult/jsonld/ContactPoint.d.ts +19 -0
  821. package/dist/node-esm/components/RichResult/jsonld/ContactPointOption.d.ts +5 -0
  822. package/dist/node-esm/components/RichResult/jsonld/Country.d.ts +3 -0
  823. package/dist/node-esm/components/RichResult/jsonld/CreativeWork.d.ts +122 -0
  824. package/dist/node-esm/components/RichResult/jsonld/DateTime.d.ts +2 -0
  825. package/dist/node-esm/components/RichResult/jsonld/EntryPoint.d.ts +13 -0
  826. package/dist/node-esm/components/RichResult/jsonld/Enumeration.d.ts +7 -0
  827. package/dist/node-esm/components/RichResult/jsonld/GeoShape.d.ts +15 -0
  828. package/dist/node-esm/components/RichResult/jsonld/GeospatialGeometry.d.ts +15 -0
  829. package/dist/node-esm/components/RichResult/jsonld/ImageObject.d.ts +9 -0
  830. package/dist/node-esm/components/RichResult/jsonld/Intangible.d.ts +3 -0
  831. package/dist/node-esm/components/RichResult/jsonld/Integer.d.ts +2 -0
  832. package/dist/node-esm/components/RichResult/jsonld/ItemAvailability.d.ts +21 -0
  833. package/dist/node-esm/components/RichResult/jsonld/Language.d.ts +3 -0
  834. package/dist/node-esm/components/RichResult/jsonld/Map.d.ts +6 -0
  835. package/dist/node-esm/components/RichResult/jsonld/MapCategoryType.d.ts +7 -0
  836. package/dist/node-esm/components/RichResult/jsonld/MediaObject.d.ts +10 -0
  837. package/dist/node-esm/components/RichResult/jsonld/MobileApplication.d.ts +6 -0
  838. package/dist/node-esm/components/RichResult/jsonld/Offer.d.ts +64 -0
  839. package/dist/node-esm/components/RichResult/jsonld/Organization.d.ts +77 -0
  840. package/dist/node-esm/components/RichResult/jsonld/Person.d.ts +71 -0
  841. package/dist/node-esm/components/RichResult/jsonld/Photograph.d.ts +3 -0
  842. package/dist/node-esm/components/RichResult/jsonld/Place.d.ts +42 -0
  843. package/dist/node-esm/components/RichResult/jsonld/PostalAddress.d.ts +12 -0
  844. package/dist/node-esm/components/RichResult/jsonld/Product.d.ts +56 -0
  845. package/dist/node-esm/components/RichResult/jsonld/Property.d.ts +10 -0
  846. package/dist/node-esm/components/RichResult/jsonld/PropertyValue.d.ts +16 -0
  847. package/dist/node-esm/components/RichResult/jsonld/QualitativeValue.d.ts +15 -0
  848. package/dist/node-esm/components/RichResult/jsonld/QuantitativeValue.d.ts +15 -0
  849. package/dist/node-esm/components/RichResult/jsonld/Rating.d.ts +10 -0
  850. package/dist/node-esm/components/RichResult/jsonld/Review.d.ts +10 -0
  851. package/dist/node-esm/components/RichResult/jsonld/Service.d.ts +38 -0
  852. package/dist/node-esm/components/RichResult/jsonld/SoftwareApplication.d.ts +28 -0
  853. package/dist/node-esm/components/RichResult/jsonld/StructuredValue.d.ts +3 -0
  854. package/dist/node-esm/components/RichResult/jsonld/Text.d.ts +2 -0
  855. package/dist/node-esm/components/RichResult/jsonld/Thing.d.ts +22 -0
  856. package/dist/node-esm/components/RichResult/jsonld/Time.d.ts +2 -0
  857. package/dist/node-esm/components/RichResult/jsonld/URL.d.ts +2 -0
  858. package/dist/node-esm/components/RichResult/jsonld/VirtualLocation.d.ts +3 -0
  859. package/dist/node-esm/components/RichResult/jsonld/index.d.ts +48 -0
  860. package/dist/node-esm/components/ScrollToTop.d.ts +1 -0
  861. package/dist/node-esm/components/ScrollToTopButton.d.ts +7 -0
  862. package/dist/node-esm/components/TokenAmount/TokenAmount.d.ts +4 -0
  863. package/dist/node-esm/components/TokenAmount/TokenAmount.stories.d.ts +12 -0
  864. package/dist/node-esm/components/TokenAmount/TokenAmountProps.d.ts +15 -0
  865. package/dist/node-esm/components/TokenAmount/index.d.ts +4 -0
  866. package/dist/node-esm/components/dialogs/ErrorDialog.d.ts +8 -0
  867. package/dist/node-esm/components/dialogs/ErrorDialog.stories.d.ts +6 -0
  868. package/dist/node-esm/components/dialogs/MessageDialog.d.ts +7 -0
  869. package/dist/node-esm/components/dialogs/MessageDialog.stories.d.ts +6 -0
  870. package/dist/node-esm/components/dialogs/index.d.ts +3 -0
  871. package/dist/node-esm/components/index.d.ts +23 -0
  872. package/dist/node-esm/contexts/CookieConsent/Context.d.ts +8 -0
  873. package/dist/node-esm/contexts/CookieConsent/Loader.d.ts +3 -0
  874. package/dist/node-esm/contexts/CookieConsent/index.d.ts +4 -0
  875. package/dist/node-esm/contexts/CookieConsent/use.d.ts +7 -0
  876. package/dist/node-esm/contexts/Ethers/Context.d.ts +19 -0
  877. package/dist/node-esm/contexts/Ethers/Infura.d.ts +7 -0
  878. package/dist/node-esm/contexts/Ethers/Loader.d.ts +6 -0
  879. package/dist/node-esm/contexts/Ethers/MetaMask.d.ts +6 -0
  880. package/dist/node-esm/contexts/Ethers/MyEtherWallet.d.ts +6 -0
  881. package/dist/node-esm/contexts/Ethers/Opera.d.ts +6 -0
  882. package/dist/node-esm/contexts/Ethers/Trust.d.ts +6 -0
  883. package/dist/node-esm/contexts/Ethers/index.d.ts +2 -0
  884. package/dist/node-esm/contexts/NetworkSettings/Context.d.ts +9 -0
  885. package/dist/node-esm/contexts/NetworkSettings/Loader.d.ts +6 -0
  886. package/dist/node-esm/contexts/NetworkSettings/index.d.ts +3 -0
  887. package/dist/node-esm/contexts/UserEvents/Context.d.ts +7 -0
  888. package/dist/node-esm/contexts/UserEvents/index.d.ts +2 -0
  889. package/dist/node-esm/contexts/index.d.ts +4 -0
  890. package/dist/node-esm/hooks/index.d.ts +7 -0
  891. package/dist/node-esm/hooks/useBreakpoint.d.ts +1 -0
  892. package/dist/node-esm/hooks/useMediaQuery.d.ts +2 -0
  893. package/dist/node-esm/hooks/useMounted.d.ts +1 -0
  894. package/dist/node-esm/hooks/useNavigateToEthAddress.d.ts +5 -0
  895. package/dist/node-esm/hooks/useSpacing.d.ts +1 -0
  896. package/dist/node-esm/hooks/useWebP.d.ts +1 -0
  897. package/dist/node-esm/hooks/useWindowSize.d.ts +6 -0
  898. package/dist/node-esm/index.d.ts +4 -1
  899. package/dist/node-esm/index.js +2382 -1827
  900. package/dist/node-esm/index.js.map +1 -1
  901. package/dist/node-esm/lib/ComponentSizes.d.ts +2 -0
  902. package/dist/node-esm/lib/Tracking/Drip/BaseEvent.d.ts +12 -0
  903. package/dist/node-esm/lib/Tracking/Drip/CustomEvent.d.ts +4 -0
  904. package/dist/node-esm/lib/Tracking/Drip/Data/Base.d.ts +6 -0
  905. package/dist/node-esm/lib/Tracking/Drip/Data/CustomFields.d.ts +4 -0
  906. package/dist/node-esm/lib/Tracking/Drip/Data/Identify.d.ts +14 -0
  907. package/dist/node-esm/lib/Tracking/Drip/Data/Result.d.ts +7 -0
  908. package/dist/node-esm/lib/Tracking/Drip/Data/StandardFields.d.ts +12 -0
  909. package/dist/node-esm/lib/Tracking/Drip/Data/index.d.ts +2 -0
  910. package/dist/node-esm/lib/Tracking/Drip/StandardEvents.d.ts +6 -0
  911. package/dist/node-esm/lib/Tracking/Drip/index.d.ts +5 -0
  912. package/dist/node-esm/lib/Tracking/Facebook/BaseEvent.d.ts +8 -0
  913. package/dist/node-esm/lib/Tracking/Facebook/CustomEvent.d.ts +5 -0
  914. package/dist/node-esm/lib/Tracking/Facebook/Fbq.d.ts +10 -0
  915. package/dist/node-esm/lib/Tracking/Facebook/StandardEvent.d.ts +5 -0
  916. package/dist/node-esm/lib/Tracking/Facebook/StandardEvents.d.ts +61 -0
  917. package/dist/node-esm/lib/Tracking/Facebook/StandardProperties.d.ts +15 -0
  918. package/dist/node-esm/lib/Tracking/Facebook/UserEventHandler.d.ts +8 -0
  919. package/dist/node-esm/lib/Tracking/Facebook/index.d.ts +8 -0
  920. package/dist/node-esm/lib/Tracking/Google/BaseEvent.d.ts +13 -0
  921. package/dist/node-esm/lib/Tracking/Google/CustomEvent.d.ts +4 -0
  922. package/dist/node-esm/lib/Tracking/Google/DataLayer.d.ts +9 -0
  923. package/dist/node-esm/lib/Tracking/Google/Gtag.d.ts +19 -0
  924. package/dist/node-esm/lib/Tracking/Google/Gtm.d.ts +10 -0
  925. package/dist/node-esm/lib/Tracking/Google/StandardEvent.d.ts +4 -0
  926. package/dist/node-esm/lib/Tracking/Google/StandardEvents.d.ts +151 -0
  927. package/dist/node-esm/lib/Tracking/Google/UserEventHandler.d.ts +8 -0
  928. package/dist/node-esm/lib/Tracking/Google/index.d.ts +7 -0
  929. package/dist/node-esm/lib/Tracking/Reddit/BaseEvent.d.ts +8 -0
  930. package/dist/node-esm/lib/Tracking/Reddit/CustomEvent.d.ts +5 -0
  931. package/dist/node-esm/lib/Tracking/Reddit/Rdt.d.ts +8 -0
  932. package/dist/node-esm/lib/Tracking/Reddit/StandardEvent.d.ts +5 -0
  933. package/dist/node-esm/lib/Tracking/Reddit/StandardEvents.d.ts +12 -0
  934. package/dist/node-esm/lib/Tracking/Reddit/StandardProperties.d.ts +4 -0
  935. package/dist/node-esm/lib/Tracking/Reddit/index.d.ts +4 -0
  936. package/dist/node-esm/lib/Tracking/Referrer.d.ts +13 -0
  937. package/dist/node-esm/lib/Tracking/Snapchat/BaseEvent.d.ts +6 -0
  938. package/dist/node-esm/lib/Tracking/Snapchat/Snaptr.d.ts +8 -0
  939. package/dist/node-esm/lib/Tracking/Snapchat/StandardEvent.d.ts +6 -0
  940. package/dist/node-esm/lib/Tracking/Snapchat/StandardEvents.d.ts +33 -0
  941. package/dist/node-esm/lib/Tracking/Snapchat/StandardProperties.d.ts +15 -0
  942. package/dist/node-esm/lib/Tracking/Snapchat/UserProperties.d.ts +7 -0
  943. package/dist/node-esm/lib/Tracking/Snapchat/index.d.ts +6 -0
  944. package/dist/node-esm/lib/Tracking/Tiktok/BaseEvent.d.ts +8 -0
  945. package/dist/node-esm/lib/Tracking/Tiktok/CustomEvent.d.ts +5 -0
  946. package/dist/node-esm/lib/Tracking/Tiktok/StandardEvent.d.ts +5 -0
  947. package/dist/node-esm/lib/Tracking/Tiktok/StandardEvents.d.ts +19 -0
  948. package/dist/node-esm/lib/Tracking/Tiktok/StandardProperties.d.ts +4 -0
  949. package/dist/node-esm/lib/Tracking/Tiktok/Ttq.d.ts +8 -0
  950. package/dist/node-esm/lib/Tracking/Tiktok/index.d.ts +4 -0
  951. package/dist/node-esm/lib/Tracking/Xy/BaseEvent.d.ts +6 -0
  952. package/dist/node-esm/lib/Tracking/Xy/CustomEvent.d.ts +4 -0
  953. package/dist/node-esm/lib/Tracking/Xy/StandardEvent.d.ts +4 -0
  954. package/dist/node-esm/lib/Tracking/Xy/UserEventHandler.d.ts +8 -0
  955. package/dist/node-esm/lib/Tracking/Xy/index.d.ts +4 -0
  956. package/dist/node-esm/lib/Tracking/XyoUserEventHandler.d.ts +10 -0
  957. package/dist/node-esm/lib/Tracking/index.d.ts +10 -0
  958. package/dist/node-esm/lib/getApiStage.d.ts +2 -0
  959. package/dist/node-esm/lib/global.d.ts +2 -0
  960. package/dist/node-esm/lib/index.d.ts +10 -0
  961. package/dist/node-esm/lib/isLocalHost.d.ts +2 -0
  962. package/dist/node-esm/lib/profile.d.ts +9 -0
  963. package/dist/node-esm/lib/safeLocalStorage.d.ts +3 -0
  964. package/dist/node-esm/lib/safeSessionStorage.d.ts +3 -0
  965. package/dist/node-esm/lib/useAsyncEffect.d.ts +5 -0
  966. package/dist/node-esm/mergeBoxlikeStyles.d.ts +4 -0
  967. package/package.json +12 -11
  968. package/rollup.config.js +2 -125
  969. package/src/components/Experiments/Experiments.tsx +7 -9
  970. package/src/components/InvertableThemeProvider/InvertableThemeContext.tsx +2 -2
  971. package/src/contexts/Ethers/Context.ts +2 -2
  972. package/src/contexts/Ethers/Opera.tsx +14 -20
  973. package/src/contexts/Ethers/Trust.tsx +10 -16
  974. package/src/contexts/NetworkSettings/Context.ts +2 -2
  975. package/src/contexts/UserEvents/Context.ts +2 -2
  976. package/src/lib/Tracking/Facebook/Fbq.ts +2 -6
  977. package/src/lib/Tracking/Reddit/Rdt.ts +1 -4
  978. package/src/lib/Tracking/Snapchat/Snaptr.ts +1 -4
  979. package/src/lib/Tracking/Tiktok/Ttq.ts +2 -6
  980. package/src/lib/useAsyncEffect.tsx +9 -5
  981. package/dist/esm2017/index.node.d.ts +0 -1
  982. package/dist/esm2017/src/BoxlikeComponentProps.d.ts +0 -41
  983. package/dist/esm2017/src/BusyProps.d.ts +0 -13
  984. package/dist/esm2017/src/Margin.d.ts +0 -2
  985. package/dist/esm2017/src/Padding.d.ts +0 -2
  986. package/dist/esm2017/src/calcSpacing.d.ts +0 -4
  987. package/dist/esm2017/src/components/AppBarEx/AppBarEx.d.ts +0 -4
  988. package/dist/esm2017/src/components/AppBarEx/AppBarEx.stories.d.ts +0 -6
  989. package/dist/esm2017/src/components/AppBarEx/AppBarExProps.d.ts +0 -8
  990. package/dist/esm2017/src/components/AppBarEx/index.d.ts +0 -4
  991. package/dist/esm2017/src/components/Background.d.ts +0 -7
  992. package/dist/esm2017/src/components/BasePage/BasePage.d.ts +0 -4
  993. package/dist/esm2017/src/components/BasePage/BasePage.stories.d.ts +0 -6
  994. package/dist/esm2017/src/components/BasePage/BasePageProps.d.ts +0 -17
  995. package/dist/esm2017/src/components/BasePage/index.d.ts +0 -4
  996. package/dist/esm2017/src/components/Breadcrumbs/BreadcrumbsEx.d.ts +0 -4
  997. package/dist/esm2017/src/components/Breadcrumbs/BreadcrumbsEx.stories.d.ts +0 -7
  998. package/dist/esm2017/src/components/Breadcrumbs/BreadcrumbsExProps.d.ts +0 -8
  999. package/dist/esm2017/src/components/Breadcrumbs/index.d.ts +0 -2
  1000. package/dist/esm2017/src/components/BusyCircularProgress.d.ts +0 -10
  1001. package/dist/esm2017/src/components/BusyLinearProgress.d.ts +0 -9
  1002. package/dist/esm2017/src/components/ButtonEx/ButtonEx.d.ts +0 -4
  1003. package/dist/esm2017/src/components/ButtonEx/ButtonEx.stories.d.ts +0 -8
  1004. package/dist/esm2017/src/components/ButtonEx/ButtonExBase.d.ts +0 -4
  1005. package/dist/esm2017/src/components/ButtonEx/ButtonExProps.d.ts +0 -10
  1006. package/dist/esm2017/src/components/ButtonEx/ButtonExTo.d.ts +0 -4
  1007. package/dist/esm2017/src/components/ButtonEx/index.d.ts +0 -2
  1008. package/dist/esm2017/src/components/CookieConsent/CookieConsent.d.ts +0 -4
  1009. package/dist/esm2017/src/components/CookieConsent/CookieConsent.stories.d.ts +0 -7
  1010. package/dist/esm2017/src/components/CookieConsent/CookieConsentBody.d.ts +0 -4
  1011. package/dist/esm2017/src/components/CookieConsent/CookieConsentProps.d.ts +0 -7
  1012. package/dist/esm2017/src/components/CookieConsent/index.d.ts +0 -3
  1013. package/dist/esm2017/src/components/CoverProgress.d.ts +0 -10
  1014. package/dist/esm2017/src/components/Errors/ErrorViewer.d.ts +0 -4
  1015. package/dist/esm2017/src/components/Errors/ErrorViewer.stories.d.ts +0 -6
  1016. package/dist/esm2017/src/components/Errors/ErrorViewerProps.d.ts +0 -5
  1017. package/dist/esm2017/src/components/Errors/ErrorsViewer.d.ts +0 -4
  1018. package/dist/esm2017/src/components/Errors/ErrorsViewer.stories.d.ts +0 -6
  1019. package/dist/esm2017/src/components/Errors/ErrorsViewerProps.d.ts +0 -6
  1020. package/dist/esm2017/src/components/Errors/index.d.ts +0 -3
  1021. package/dist/esm2017/src/components/EthAccount/EthAccount.d.ts +0 -4
  1022. package/dist/esm2017/src/components/EthAccount/EthAccount.stories.d.ts +0 -11
  1023. package/dist/esm2017/src/components/EthAccount/EthAccountProps.d.ts +0 -17
  1024. package/dist/esm2017/src/components/EthAccount/index.d.ts +0 -4
  1025. package/dist/esm2017/src/components/EthBlock.d.ts +0 -6
  1026. package/dist/esm2017/src/components/Experiments/Experiment.d.ts +0 -6
  1027. package/dist/esm2017/src/components/Experiments/Experiments.d.ts +0 -10
  1028. package/dist/esm2017/src/components/Experiments/index.d.ts +0 -3
  1029. package/dist/esm2017/src/components/FlexBox/BusyBox.d.ts +0 -10
  1030. package/dist/esm2017/src/components/FlexBox/BusyBox.stories.d.ts +0 -10
  1031. package/dist/esm2017/src/components/FlexBox/FlexCol.d.ts +0 -5
  1032. package/dist/esm2017/src/components/FlexBox/FlexCol.stories.d.ts +0 -8
  1033. package/dist/esm2017/src/components/FlexBox/FlexRow.d.ts +0 -7
  1034. package/dist/esm2017/src/components/FlexBox/FlexRow.stories.d.ts +0 -10
  1035. package/dist/esm2017/src/components/FlexBox/index.d.ts +0 -3
  1036. package/dist/esm2017/src/components/HoverScale.d.ts +0 -6
  1037. package/dist/esm2017/src/components/Identicon.d.ts +0 -14
  1038. package/dist/esm2017/src/components/InvertableThemeProvider/InvertableTheme.d.ts +0 -5
  1039. package/dist/esm2017/src/components/InvertableThemeProvider/InvertableThemeContext.d.ts +0 -4
  1040. package/dist/esm2017/src/components/InvertableThemeProvider/InvertableThemeProvider.d.ts +0 -4
  1041. package/dist/esm2017/src/components/InvertableThemeProvider/InvertableThemeProvider.stories.d.ts +0 -6
  1042. package/dist/esm2017/src/components/InvertableThemeProvider/InvertableThemeProviderProps.d.ts +0 -9
  1043. package/dist/esm2017/src/components/InvertableThemeProvider/index.d.ts +0 -4
  1044. package/dist/esm2017/src/components/LinkEx/LinkToEx.d.ts +0 -8
  1045. package/dist/esm2017/src/components/LinkEx/index.d.ts +0 -2
  1046. package/dist/esm2017/src/components/NumberStatus/NumberStatus.d.ts +0 -4
  1047. package/dist/esm2017/src/components/NumberStatus/NumberStatus.stories.d.ts +0 -14
  1048. package/dist/esm2017/src/components/NumberStatus/NumberStatusProps.d.ts +0 -13
  1049. package/dist/esm2017/src/components/NumberStatus/index.d.ts +0 -2
  1050. package/dist/esm2017/src/components/QuickTipButton/QuickTipButton.d.ts +0 -4
  1051. package/dist/esm2017/src/components/QuickTipButton/QuickTipButton.stories.d.ts +0 -6
  1052. package/dist/esm2017/src/components/QuickTipButton/index.d.ts +0 -2
  1053. package/dist/esm2017/src/components/RedirectWithQuery.d.ts +0 -8
  1054. package/dist/esm2017/src/components/RichResult/RichResult.d.ts +0 -7
  1055. package/dist/esm2017/src/components/RichResult/index.d.ts +0 -3
  1056. package/dist/esm2017/src/components/RichResult/jsonld/Action.d.ts +0 -24
  1057. package/dist/esm2017/src/components/RichResult/jsonld/ActionStatusType.d.ts +0 -7
  1058. package/dist/esm2017/src/components/RichResult/jsonld/AdministrativeArea.d.ts +0 -3
  1059. package/dist/esm2017/src/components/RichResult/jsonld/AggrigateRating.d.ts +0 -8
  1060. package/dist/esm2017/src/components/RichResult/jsonld/Article.d.ts +0 -14
  1061. package/dist/esm2017/src/components/RichResult/jsonld/Base.d.ts +0 -4
  1062. package/dist/esm2017/src/components/RichResult/jsonld/Brand.d.ts +0 -11
  1063. package/dist/esm2017/src/components/RichResult/jsonld/Class.d.ts +0 -7
  1064. package/dist/esm2017/src/components/RichResult/jsonld/ContactPoint.d.ts +0 -19
  1065. package/dist/esm2017/src/components/RichResult/jsonld/ContactPointOption.d.ts +0 -5
  1066. package/dist/esm2017/src/components/RichResult/jsonld/Country.d.ts +0 -3
  1067. package/dist/esm2017/src/components/RichResult/jsonld/CreativeWork.d.ts +0 -122
  1068. package/dist/esm2017/src/components/RichResult/jsonld/DateTime.d.ts +0 -2
  1069. package/dist/esm2017/src/components/RichResult/jsonld/EntryPoint.d.ts +0 -13
  1070. package/dist/esm2017/src/components/RichResult/jsonld/Enumeration.d.ts +0 -7
  1071. package/dist/esm2017/src/components/RichResult/jsonld/GeoShape.d.ts +0 -15
  1072. package/dist/esm2017/src/components/RichResult/jsonld/GeospatialGeometry.d.ts +0 -15
  1073. package/dist/esm2017/src/components/RichResult/jsonld/ImageObject.d.ts +0 -9
  1074. package/dist/esm2017/src/components/RichResult/jsonld/Intangible.d.ts +0 -3
  1075. package/dist/esm2017/src/components/RichResult/jsonld/Integer.d.ts +0 -2
  1076. package/dist/esm2017/src/components/RichResult/jsonld/ItemAvailability.d.ts +0 -21
  1077. package/dist/esm2017/src/components/RichResult/jsonld/Language.d.ts +0 -3
  1078. package/dist/esm2017/src/components/RichResult/jsonld/Map.d.ts +0 -6
  1079. package/dist/esm2017/src/components/RichResult/jsonld/MapCategoryType.d.ts +0 -7
  1080. package/dist/esm2017/src/components/RichResult/jsonld/MediaObject.d.ts +0 -10
  1081. package/dist/esm2017/src/components/RichResult/jsonld/MobileApplication.d.ts +0 -6
  1082. package/dist/esm2017/src/components/RichResult/jsonld/Offer.d.ts +0 -64
  1083. package/dist/esm2017/src/components/RichResult/jsonld/Organization.d.ts +0 -77
  1084. package/dist/esm2017/src/components/RichResult/jsonld/Person.d.ts +0 -71
  1085. package/dist/esm2017/src/components/RichResult/jsonld/Photograph.d.ts +0 -3
  1086. package/dist/esm2017/src/components/RichResult/jsonld/Place.d.ts +0 -42
  1087. package/dist/esm2017/src/components/RichResult/jsonld/PostalAddress.d.ts +0 -12
  1088. package/dist/esm2017/src/components/RichResult/jsonld/Product.d.ts +0 -56
  1089. package/dist/esm2017/src/components/RichResult/jsonld/Property.d.ts +0 -10
  1090. package/dist/esm2017/src/components/RichResult/jsonld/PropertyValue.d.ts +0 -16
  1091. package/dist/esm2017/src/components/RichResult/jsonld/QualitativeValue.d.ts +0 -15
  1092. package/dist/esm2017/src/components/RichResult/jsonld/QuantitativeValue.d.ts +0 -15
  1093. package/dist/esm2017/src/components/RichResult/jsonld/Rating.d.ts +0 -10
  1094. package/dist/esm2017/src/components/RichResult/jsonld/Review.d.ts +0 -10
  1095. package/dist/esm2017/src/components/RichResult/jsonld/Service.d.ts +0 -38
  1096. package/dist/esm2017/src/components/RichResult/jsonld/SoftwareApplication.d.ts +0 -28
  1097. package/dist/esm2017/src/components/RichResult/jsonld/StructuredValue.d.ts +0 -3
  1098. package/dist/esm2017/src/components/RichResult/jsonld/Text.d.ts +0 -2
  1099. package/dist/esm2017/src/components/RichResult/jsonld/Thing.d.ts +0 -22
  1100. package/dist/esm2017/src/components/RichResult/jsonld/Time.d.ts +0 -2
  1101. package/dist/esm2017/src/components/RichResult/jsonld/URL.d.ts +0 -2
  1102. package/dist/esm2017/src/components/RichResult/jsonld/VirtualLocation.d.ts +0 -3
  1103. package/dist/esm2017/src/components/RichResult/jsonld/index.d.ts +0 -48
  1104. package/dist/esm2017/src/components/ScrollToTop.d.ts +0 -1
  1105. package/dist/esm2017/src/components/ScrollToTopButton.d.ts +0 -7
  1106. package/dist/esm2017/src/components/TokenAmount/TokenAmount.d.ts +0 -4
  1107. package/dist/esm2017/src/components/TokenAmount/TokenAmount.stories.d.ts +0 -12
  1108. package/dist/esm2017/src/components/TokenAmount/TokenAmountProps.d.ts +0 -14
  1109. package/dist/esm2017/src/components/TokenAmount/index.d.ts +0 -4
  1110. package/dist/esm2017/src/components/dialogs/ErrorDialog.d.ts +0 -8
  1111. package/dist/esm2017/src/components/dialogs/ErrorDialog.stories.d.ts +0 -6
  1112. package/dist/esm2017/src/components/dialogs/MessageDialog.d.ts +0 -7
  1113. package/dist/esm2017/src/components/dialogs/MessageDialog.stories.d.ts +0 -6
  1114. package/dist/esm2017/src/components/dialogs/index.d.ts +0 -3
  1115. package/dist/esm2017/src/components/index.d.ts +0 -23
  1116. package/dist/esm2017/src/contexts/CookieConsent/Context.d.ts +0 -8
  1117. package/dist/esm2017/src/contexts/CookieConsent/Loader.d.ts +0 -3
  1118. package/dist/esm2017/src/contexts/CookieConsent/index.d.ts +0 -4
  1119. package/dist/esm2017/src/contexts/CookieConsent/use.d.ts +0 -7
  1120. package/dist/esm2017/src/contexts/Ethers/Context.d.ts +0 -19
  1121. package/dist/esm2017/src/contexts/Ethers/Infura.d.ts +0 -7
  1122. package/dist/esm2017/src/contexts/Ethers/Loader.d.ts +0 -6
  1123. package/dist/esm2017/src/contexts/Ethers/MetaMask.d.ts +0 -6
  1124. package/dist/esm2017/src/contexts/Ethers/MyEtherWallet.d.ts +0 -6
  1125. package/dist/esm2017/src/contexts/Ethers/Opera.d.ts +0 -6
  1126. package/dist/esm2017/src/contexts/Ethers/Trust.d.ts +0 -6
  1127. package/dist/esm2017/src/contexts/Ethers/index.d.ts +0 -2
  1128. package/dist/esm2017/src/contexts/NetworkSettings/Context.d.ts +0 -9
  1129. package/dist/esm2017/src/contexts/NetworkSettings/Loader.d.ts +0 -6
  1130. package/dist/esm2017/src/contexts/NetworkSettings/index.d.ts +0 -3
  1131. package/dist/esm2017/src/contexts/UserEvents/Context.d.ts +0 -7
  1132. package/dist/esm2017/src/contexts/UserEvents/index.d.ts +0 -2
  1133. package/dist/esm2017/src/contexts/index.d.ts +0 -4
  1134. package/dist/esm2017/src/hooks/index.d.ts +0 -7
  1135. package/dist/esm2017/src/hooks/useBreakpoint.d.ts +0 -1
  1136. package/dist/esm2017/src/hooks/useMediaQuery.d.ts +0 -2
  1137. package/dist/esm2017/src/hooks/useMounted.d.ts +0 -1
  1138. package/dist/esm2017/src/hooks/useNavigateToEthAddress.d.ts +0 -5
  1139. package/dist/esm2017/src/hooks/useSpacing.d.ts +0 -1
  1140. package/dist/esm2017/src/hooks/useWebP.d.ts +0 -1
  1141. package/dist/esm2017/src/hooks/useWindowSize.d.ts +0 -6
  1142. package/dist/esm2017/src/index.d.ts +0 -4
  1143. package/dist/esm2017/src/lib/ComponentSizes.d.ts +0 -2
  1144. package/dist/esm2017/src/lib/Tracking/Drip/BaseEvent.d.ts +0 -12
  1145. package/dist/esm2017/src/lib/Tracking/Drip/CustomEvent.d.ts +0 -4
  1146. package/dist/esm2017/src/lib/Tracking/Drip/Data/Base.d.ts +0 -6
  1147. package/dist/esm2017/src/lib/Tracking/Drip/Data/CustomFields.d.ts +0 -4
  1148. package/dist/esm2017/src/lib/Tracking/Drip/Data/Identify.d.ts +0 -14
  1149. package/dist/esm2017/src/lib/Tracking/Drip/Data/Result.d.ts +0 -7
  1150. package/dist/esm2017/src/lib/Tracking/Drip/Data/StandardFields.d.ts +0 -12
  1151. package/dist/esm2017/src/lib/Tracking/Drip/Data/index.d.ts +0 -2
  1152. package/dist/esm2017/src/lib/Tracking/Drip/StandardEvents.d.ts +0 -6
  1153. package/dist/esm2017/src/lib/Tracking/Drip/index.d.ts +0 -5
  1154. package/dist/esm2017/src/lib/Tracking/Facebook/BaseEvent.d.ts +0 -8
  1155. package/dist/esm2017/src/lib/Tracking/Facebook/CustomEvent.d.ts +0 -5
  1156. package/dist/esm2017/src/lib/Tracking/Facebook/Fbq.d.ts +0 -10
  1157. package/dist/esm2017/src/lib/Tracking/Facebook/StandardEvent.d.ts +0 -5
  1158. package/dist/esm2017/src/lib/Tracking/Facebook/StandardEvents.d.ts +0 -61
  1159. package/dist/esm2017/src/lib/Tracking/Facebook/StandardProperties.d.ts +0 -15
  1160. package/dist/esm2017/src/lib/Tracking/Facebook/UserEventHandler.d.ts +0 -8
  1161. package/dist/esm2017/src/lib/Tracking/Facebook/index.d.ts +0 -8
  1162. package/dist/esm2017/src/lib/Tracking/Google/BaseEvent.d.ts +0 -13
  1163. package/dist/esm2017/src/lib/Tracking/Google/CustomEvent.d.ts +0 -4
  1164. package/dist/esm2017/src/lib/Tracking/Google/DataLayer.d.ts +0 -9
  1165. package/dist/esm2017/src/lib/Tracking/Google/Gtag.d.ts +0 -19
  1166. package/dist/esm2017/src/lib/Tracking/Google/Gtm.d.ts +0 -10
  1167. package/dist/esm2017/src/lib/Tracking/Google/StandardEvent.d.ts +0 -4
  1168. package/dist/esm2017/src/lib/Tracking/Google/StandardEvents.d.ts +0 -151
  1169. package/dist/esm2017/src/lib/Tracking/Google/UserEventHandler.d.ts +0 -8
  1170. package/dist/esm2017/src/lib/Tracking/Google/index.d.ts +0 -7
  1171. package/dist/esm2017/src/lib/Tracking/Reddit/BaseEvent.d.ts +0 -8
  1172. package/dist/esm2017/src/lib/Tracking/Reddit/CustomEvent.d.ts +0 -5
  1173. package/dist/esm2017/src/lib/Tracking/Reddit/Rdt.d.ts +0 -8
  1174. package/dist/esm2017/src/lib/Tracking/Reddit/StandardEvent.d.ts +0 -5
  1175. package/dist/esm2017/src/lib/Tracking/Reddit/StandardEvents.d.ts +0 -12
  1176. package/dist/esm2017/src/lib/Tracking/Reddit/StandardProperties.d.ts +0 -4
  1177. package/dist/esm2017/src/lib/Tracking/Reddit/index.d.ts +0 -4
  1178. package/dist/esm2017/src/lib/Tracking/Referrer.d.ts +0 -13
  1179. package/dist/esm2017/src/lib/Tracking/Snapchat/BaseEvent.d.ts +0 -6
  1180. package/dist/esm2017/src/lib/Tracking/Snapchat/Snaptr.d.ts +0 -8
  1181. package/dist/esm2017/src/lib/Tracking/Snapchat/StandardEvent.d.ts +0 -6
  1182. package/dist/esm2017/src/lib/Tracking/Snapchat/StandardEvents.d.ts +0 -33
  1183. package/dist/esm2017/src/lib/Tracking/Snapchat/StandardProperties.d.ts +0 -15
  1184. package/dist/esm2017/src/lib/Tracking/Snapchat/UserProperties.d.ts +0 -7
  1185. package/dist/esm2017/src/lib/Tracking/Snapchat/index.d.ts +0 -6
  1186. package/dist/esm2017/src/lib/Tracking/Tiktok/BaseEvent.d.ts +0 -8
  1187. package/dist/esm2017/src/lib/Tracking/Tiktok/CustomEvent.d.ts +0 -5
  1188. package/dist/esm2017/src/lib/Tracking/Tiktok/StandardEvent.d.ts +0 -5
  1189. package/dist/esm2017/src/lib/Tracking/Tiktok/StandardEvents.d.ts +0 -19
  1190. package/dist/esm2017/src/lib/Tracking/Tiktok/StandardProperties.d.ts +0 -4
  1191. package/dist/esm2017/src/lib/Tracking/Tiktok/Ttq.d.ts +0 -8
  1192. package/dist/esm2017/src/lib/Tracking/Tiktok/index.d.ts +0 -4
  1193. package/dist/esm2017/src/lib/Tracking/Xy/BaseEvent.d.ts +0 -6
  1194. package/dist/esm2017/src/lib/Tracking/Xy/CustomEvent.d.ts +0 -4
  1195. package/dist/esm2017/src/lib/Tracking/Xy/StandardEvent.d.ts +0 -4
  1196. package/dist/esm2017/src/lib/Tracking/Xy/UserEventHandler.d.ts +0 -8
  1197. package/dist/esm2017/src/lib/Tracking/Xy/index.d.ts +0 -4
  1198. package/dist/esm2017/src/lib/Tracking/XyoUserEventHandler.d.ts +0 -10
  1199. package/dist/esm2017/src/lib/Tracking/index.d.ts +0 -10
  1200. package/dist/esm2017/src/lib/getApiStage.d.ts +0 -2
  1201. package/dist/esm2017/src/lib/global.d.ts +0 -2
  1202. package/dist/esm2017/src/lib/index.d.ts +0 -10
  1203. package/dist/esm2017/src/lib/isLocalHost.d.ts +0 -2
  1204. package/dist/esm2017/src/lib/profile.d.ts +0 -9
  1205. package/dist/esm2017/src/lib/safeLocalStorage.d.ts +0 -3
  1206. package/dist/esm2017/src/lib/safeSessionStorage.d.ts +0 -3
  1207. package/dist/esm2017/src/lib/useAsyncEffect.d.ts +0 -5
  1208. package/dist/esm2017/src/mergeBoxlikeStyles.d.ts +0 -4
  1209. package/dist/esm5/index.node.d.ts +0 -1
  1210. package/dist/esm5/src/BoxlikeComponentProps.d.ts +0 -41
  1211. package/dist/esm5/src/BusyProps.d.ts +0 -13
  1212. package/dist/esm5/src/Margin.d.ts +0 -2
  1213. package/dist/esm5/src/Padding.d.ts +0 -2
  1214. package/dist/esm5/src/calcSpacing.d.ts +0 -4
  1215. package/dist/esm5/src/components/AppBarEx/AppBarEx.d.ts +0 -4
  1216. package/dist/esm5/src/components/AppBarEx/AppBarEx.stories.d.ts +0 -6
  1217. package/dist/esm5/src/components/AppBarEx/AppBarExProps.d.ts +0 -8
  1218. package/dist/esm5/src/components/AppBarEx/index.d.ts +0 -4
  1219. package/dist/esm5/src/components/Background.d.ts +0 -7
  1220. package/dist/esm5/src/components/BasePage/BasePage.d.ts +0 -4
  1221. package/dist/esm5/src/components/BasePage/BasePage.stories.d.ts +0 -6
  1222. package/dist/esm5/src/components/BasePage/BasePageProps.d.ts +0 -17
  1223. package/dist/esm5/src/components/BasePage/index.d.ts +0 -4
  1224. package/dist/esm5/src/components/Breadcrumbs/BreadcrumbsEx.d.ts +0 -4
  1225. package/dist/esm5/src/components/Breadcrumbs/BreadcrumbsEx.stories.d.ts +0 -7
  1226. package/dist/esm5/src/components/Breadcrumbs/BreadcrumbsExProps.d.ts +0 -8
  1227. package/dist/esm5/src/components/Breadcrumbs/index.d.ts +0 -2
  1228. package/dist/esm5/src/components/BusyCircularProgress.d.ts +0 -10
  1229. package/dist/esm5/src/components/BusyLinearProgress.d.ts +0 -9
  1230. package/dist/esm5/src/components/ButtonEx/ButtonEx.d.ts +0 -4
  1231. package/dist/esm5/src/components/ButtonEx/ButtonEx.stories.d.ts +0 -8
  1232. package/dist/esm5/src/components/ButtonEx/ButtonExBase.d.ts +0 -4
  1233. package/dist/esm5/src/components/ButtonEx/ButtonExProps.d.ts +0 -10
  1234. package/dist/esm5/src/components/ButtonEx/ButtonExTo.d.ts +0 -4
  1235. package/dist/esm5/src/components/ButtonEx/index.d.ts +0 -2
  1236. package/dist/esm5/src/components/CookieConsent/CookieConsent.d.ts +0 -4
  1237. package/dist/esm5/src/components/CookieConsent/CookieConsent.stories.d.ts +0 -7
  1238. package/dist/esm5/src/components/CookieConsent/CookieConsentBody.d.ts +0 -4
  1239. package/dist/esm5/src/components/CookieConsent/CookieConsentProps.d.ts +0 -7
  1240. package/dist/esm5/src/components/CookieConsent/index.d.ts +0 -3
  1241. package/dist/esm5/src/components/CoverProgress.d.ts +0 -10
  1242. package/dist/esm5/src/components/Errors/ErrorViewer.d.ts +0 -4
  1243. package/dist/esm5/src/components/Errors/ErrorViewer.stories.d.ts +0 -6
  1244. package/dist/esm5/src/components/Errors/ErrorViewerProps.d.ts +0 -5
  1245. package/dist/esm5/src/components/Errors/ErrorsViewer.d.ts +0 -4
  1246. package/dist/esm5/src/components/Errors/ErrorsViewer.stories.d.ts +0 -6
  1247. package/dist/esm5/src/components/Errors/ErrorsViewerProps.d.ts +0 -6
  1248. package/dist/esm5/src/components/Errors/index.d.ts +0 -3
  1249. package/dist/esm5/src/components/EthAccount/EthAccount.d.ts +0 -4
  1250. package/dist/esm5/src/components/EthAccount/EthAccount.stories.d.ts +0 -11
  1251. package/dist/esm5/src/components/EthAccount/EthAccountProps.d.ts +0 -17
  1252. package/dist/esm5/src/components/EthAccount/index.d.ts +0 -4
  1253. package/dist/esm5/src/components/EthBlock.d.ts +0 -6
  1254. package/dist/esm5/src/components/Experiments/Experiment.d.ts +0 -6
  1255. package/dist/esm5/src/components/Experiments/Experiments.d.ts +0 -10
  1256. package/dist/esm5/src/components/Experiments/index.d.ts +0 -3
  1257. package/dist/esm5/src/components/FlexBox/BusyBox.d.ts +0 -10
  1258. package/dist/esm5/src/components/FlexBox/BusyBox.stories.d.ts +0 -10
  1259. package/dist/esm5/src/components/FlexBox/FlexCol.d.ts +0 -5
  1260. package/dist/esm5/src/components/FlexBox/FlexCol.stories.d.ts +0 -8
  1261. package/dist/esm5/src/components/FlexBox/FlexRow.d.ts +0 -7
  1262. package/dist/esm5/src/components/FlexBox/FlexRow.stories.d.ts +0 -10
  1263. package/dist/esm5/src/components/FlexBox/index.d.ts +0 -3
  1264. package/dist/esm5/src/components/HoverScale.d.ts +0 -6
  1265. package/dist/esm5/src/components/Identicon.d.ts +0 -14
  1266. package/dist/esm5/src/components/InvertableThemeProvider/InvertableTheme.d.ts +0 -5
  1267. package/dist/esm5/src/components/InvertableThemeProvider/InvertableThemeContext.d.ts +0 -4
  1268. package/dist/esm5/src/components/InvertableThemeProvider/InvertableThemeProvider.d.ts +0 -4
  1269. package/dist/esm5/src/components/InvertableThemeProvider/InvertableThemeProvider.stories.d.ts +0 -6
  1270. package/dist/esm5/src/components/InvertableThemeProvider/InvertableThemeProviderProps.d.ts +0 -9
  1271. package/dist/esm5/src/components/InvertableThemeProvider/index.d.ts +0 -4
  1272. package/dist/esm5/src/components/LinkEx/LinkToEx.d.ts +0 -8
  1273. package/dist/esm5/src/components/LinkEx/index.d.ts +0 -2
  1274. package/dist/esm5/src/components/NumberStatus/NumberStatus.d.ts +0 -4
  1275. package/dist/esm5/src/components/NumberStatus/NumberStatus.stories.d.ts +0 -14
  1276. package/dist/esm5/src/components/NumberStatus/NumberStatusProps.d.ts +0 -13
  1277. package/dist/esm5/src/components/NumberStatus/index.d.ts +0 -2
  1278. package/dist/esm5/src/components/QuickTipButton/QuickTipButton.d.ts +0 -4
  1279. package/dist/esm5/src/components/QuickTipButton/QuickTipButton.stories.d.ts +0 -6
  1280. package/dist/esm5/src/components/QuickTipButton/index.d.ts +0 -2
  1281. package/dist/esm5/src/components/RedirectWithQuery.d.ts +0 -8
  1282. package/dist/esm5/src/components/RichResult/RichResult.d.ts +0 -7
  1283. package/dist/esm5/src/components/RichResult/index.d.ts +0 -3
  1284. package/dist/esm5/src/components/RichResult/jsonld/Action.d.ts +0 -24
  1285. package/dist/esm5/src/components/RichResult/jsonld/ActionStatusType.d.ts +0 -7
  1286. package/dist/esm5/src/components/RichResult/jsonld/AdministrativeArea.d.ts +0 -3
  1287. package/dist/esm5/src/components/RichResult/jsonld/AggrigateRating.d.ts +0 -8
  1288. package/dist/esm5/src/components/RichResult/jsonld/Article.d.ts +0 -14
  1289. package/dist/esm5/src/components/RichResult/jsonld/Base.d.ts +0 -4
  1290. package/dist/esm5/src/components/RichResult/jsonld/Brand.d.ts +0 -11
  1291. package/dist/esm5/src/components/RichResult/jsonld/Class.d.ts +0 -7
  1292. package/dist/esm5/src/components/RichResult/jsonld/ContactPoint.d.ts +0 -19
  1293. package/dist/esm5/src/components/RichResult/jsonld/ContactPointOption.d.ts +0 -5
  1294. package/dist/esm5/src/components/RichResult/jsonld/Country.d.ts +0 -3
  1295. package/dist/esm5/src/components/RichResult/jsonld/CreativeWork.d.ts +0 -122
  1296. package/dist/esm5/src/components/RichResult/jsonld/DateTime.d.ts +0 -2
  1297. package/dist/esm5/src/components/RichResult/jsonld/EntryPoint.d.ts +0 -13
  1298. package/dist/esm5/src/components/RichResult/jsonld/Enumeration.d.ts +0 -7
  1299. package/dist/esm5/src/components/RichResult/jsonld/GeoShape.d.ts +0 -15
  1300. package/dist/esm5/src/components/RichResult/jsonld/GeospatialGeometry.d.ts +0 -15
  1301. package/dist/esm5/src/components/RichResult/jsonld/ImageObject.d.ts +0 -9
  1302. package/dist/esm5/src/components/RichResult/jsonld/Intangible.d.ts +0 -3
  1303. package/dist/esm5/src/components/RichResult/jsonld/Integer.d.ts +0 -2
  1304. package/dist/esm5/src/components/RichResult/jsonld/ItemAvailability.d.ts +0 -21
  1305. package/dist/esm5/src/components/RichResult/jsonld/Language.d.ts +0 -3
  1306. package/dist/esm5/src/components/RichResult/jsonld/Map.d.ts +0 -6
  1307. package/dist/esm5/src/components/RichResult/jsonld/MapCategoryType.d.ts +0 -7
  1308. package/dist/esm5/src/components/RichResult/jsonld/MediaObject.d.ts +0 -10
  1309. package/dist/esm5/src/components/RichResult/jsonld/MobileApplication.d.ts +0 -6
  1310. package/dist/esm5/src/components/RichResult/jsonld/Offer.d.ts +0 -64
  1311. package/dist/esm5/src/components/RichResult/jsonld/Organization.d.ts +0 -77
  1312. package/dist/esm5/src/components/RichResult/jsonld/Person.d.ts +0 -71
  1313. package/dist/esm5/src/components/RichResult/jsonld/Photograph.d.ts +0 -3
  1314. package/dist/esm5/src/components/RichResult/jsonld/Place.d.ts +0 -42
  1315. package/dist/esm5/src/components/RichResult/jsonld/PostalAddress.d.ts +0 -12
  1316. package/dist/esm5/src/components/RichResult/jsonld/Product.d.ts +0 -56
  1317. package/dist/esm5/src/components/RichResult/jsonld/Property.d.ts +0 -10
  1318. package/dist/esm5/src/components/RichResult/jsonld/PropertyValue.d.ts +0 -16
  1319. package/dist/esm5/src/components/RichResult/jsonld/QualitativeValue.d.ts +0 -15
  1320. package/dist/esm5/src/components/RichResult/jsonld/QuantitativeValue.d.ts +0 -15
  1321. package/dist/esm5/src/components/RichResult/jsonld/Rating.d.ts +0 -10
  1322. package/dist/esm5/src/components/RichResult/jsonld/Review.d.ts +0 -10
  1323. package/dist/esm5/src/components/RichResult/jsonld/Service.d.ts +0 -38
  1324. package/dist/esm5/src/components/RichResult/jsonld/SoftwareApplication.d.ts +0 -28
  1325. package/dist/esm5/src/components/RichResult/jsonld/StructuredValue.d.ts +0 -3
  1326. package/dist/esm5/src/components/RichResult/jsonld/Text.d.ts +0 -2
  1327. package/dist/esm5/src/components/RichResult/jsonld/Thing.d.ts +0 -22
  1328. package/dist/esm5/src/components/RichResult/jsonld/Time.d.ts +0 -2
  1329. package/dist/esm5/src/components/RichResult/jsonld/URL.d.ts +0 -2
  1330. package/dist/esm5/src/components/RichResult/jsonld/VirtualLocation.d.ts +0 -3
  1331. package/dist/esm5/src/components/RichResult/jsonld/index.d.ts +0 -48
  1332. package/dist/esm5/src/components/ScrollToTop.d.ts +0 -1
  1333. package/dist/esm5/src/components/ScrollToTopButton.d.ts +0 -7
  1334. package/dist/esm5/src/components/TokenAmount/TokenAmount.d.ts +0 -4
  1335. package/dist/esm5/src/components/TokenAmount/TokenAmount.stories.d.ts +0 -12
  1336. package/dist/esm5/src/components/TokenAmount/TokenAmountProps.d.ts +0 -14
  1337. package/dist/esm5/src/components/TokenAmount/index.d.ts +0 -4
  1338. package/dist/esm5/src/components/dialogs/ErrorDialog.d.ts +0 -8
  1339. package/dist/esm5/src/components/dialogs/ErrorDialog.stories.d.ts +0 -6
  1340. package/dist/esm5/src/components/dialogs/MessageDialog.d.ts +0 -7
  1341. package/dist/esm5/src/components/dialogs/MessageDialog.stories.d.ts +0 -6
  1342. package/dist/esm5/src/components/dialogs/index.d.ts +0 -3
  1343. package/dist/esm5/src/components/index.d.ts +0 -23
  1344. package/dist/esm5/src/contexts/CookieConsent/Context.d.ts +0 -8
  1345. package/dist/esm5/src/contexts/CookieConsent/Loader.d.ts +0 -3
  1346. package/dist/esm5/src/contexts/CookieConsent/index.d.ts +0 -4
  1347. package/dist/esm5/src/contexts/CookieConsent/use.d.ts +0 -7
  1348. package/dist/esm5/src/contexts/Ethers/Context.d.ts +0 -19
  1349. package/dist/esm5/src/contexts/Ethers/Infura.d.ts +0 -7
  1350. package/dist/esm5/src/contexts/Ethers/Loader.d.ts +0 -6
  1351. package/dist/esm5/src/contexts/Ethers/MetaMask.d.ts +0 -6
  1352. package/dist/esm5/src/contexts/Ethers/MyEtherWallet.d.ts +0 -6
  1353. package/dist/esm5/src/contexts/Ethers/Opera.d.ts +0 -6
  1354. package/dist/esm5/src/contexts/Ethers/Trust.d.ts +0 -6
  1355. package/dist/esm5/src/contexts/Ethers/index.d.ts +0 -2
  1356. package/dist/esm5/src/contexts/NetworkSettings/Context.d.ts +0 -9
  1357. package/dist/esm5/src/contexts/NetworkSettings/Loader.d.ts +0 -6
  1358. package/dist/esm5/src/contexts/NetworkSettings/index.d.ts +0 -3
  1359. package/dist/esm5/src/contexts/UserEvents/Context.d.ts +0 -7
  1360. package/dist/esm5/src/contexts/UserEvents/index.d.ts +0 -2
  1361. package/dist/esm5/src/contexts/index.d.ts +0 -4
  1362. package/dist/esm5/src/hooks/index.d.ts +0 -7
  1363. package/dist/esm5/src/hooks/useBreakpoint.d.ts +0 -1
  1364. package/dist/esm5/src/hooks/useMediaQuery.d.ts +0 -2
  1365. package/dist/esm5/src/hooks/useMounted.d.ts +0 -1
  1366. package/dist/esm5/src/hooks/useNavigateToEthAddress.d.ts +0 -5
  1367. package/dist/esm5/src/hooks/useSpacing.d.ts +0 -1
  1368. package/dist/esm5/src/hooks/useWebP.d.ts +0 -1
  1369. package/dist/esm5/src/hooks/useWindowSize.d.ts +0 -6
  1370. package/dist/esm5/src/index.d.ts +0 -4
  1371. package/dist/esm5/src/lib/ComponentSizes.d.ts +0 -2
  1372. package/dist/esm5/src/lib/Tracking/Drip/BaseEvent.d.ts +0 -12
  1373. package/dist/esm5/src/lib/Tracking/Drip/CustomEvent.d.ts +0 -4
  1374. package/dist/esm5/src/lib/Tracking/Drip/Data/Base.d.ts +0 -6
  1375. package/dist/esm5/src/lib/Tracking/Drip/Data/CustomFields.d.ts +0 -4
  1376. package/dist/esm5/src/lib/Tracking/Drip/Data/Identify.d.ts +0 -14
  1377. package/dist/esm5/src/lib/Tracking/Drip/Data/Result.d.ts +0 -7
  1378. package/dist/esm5/src/lib/Tracking/Drip/Data/StandardFields.d.ts +0 -12
  1379. package/dist/esm5/src/lib/Tracking/Drip/Data/index.d.ts +0 -2
  1380. package/dist/esm5/src/lib/Tracking/Drip/StandardEvents.d.ts +0 -6
  1381. package/dist/esm5/src/lib/Tracking/Drip/index.d.ts +0 -5
  1382. package/dist/esm5/src/lib/Tracking/Facebook/BaseEvent.d.ts +0 -8
  1383. package/dist/esm5/src/lib/Tracking/Facebook/CustomEvent.d.ts +0 -5
  1384. package/dist/esm5/src/lib/Tracking/Facebook/Fbq.d.ts +0 -10
  1385. package/dist/esm5/src/lib/Tracking/Facebook/StandardEvent.d.ts +0 -5
  1386. package/dist/esm5/src/lib/Tracking/Facebook/StandardEvents.d.ts +0 -61
  1387. package/dist/esm5/src/lib/Tracking/Facebook/StandardProperties.d.ts +0 -15
  1388. package/dist/esm5/src/lib/Tracking/Facebook/UserEventHandler.d.ts +0 -8
  1389. package/dist/esm5/src/lib/Tracking/Facebook/index.d.ts +0 -8
  1390. package/dist/esm5/src/lib/Tracking/Google/BaseEvent.d.ts +0 -13
  1391. package/dist/esm5/src/lib/Tracking/Google/CustomEvent.d.ts +0 -4
  1392. package/dist/esm5/src/lib/Tracking/Google/DataLayer.d.ts +0 -9
  1393. package/dist/esm5/src/lib/Tracking/Google/Gtag.d.ts +0 -19
  1394. package/dist/esm5/src/lib/Tracking/Google/Gtm.d.ts +0 -10
  1395. package/dist/esm5/src/lib/Tracking/Google/StandardEvent.d.ts +0 -4
  1396. package/dist/esm5/src/lib/Tracking/Google/StandardEvents.d.ts +0 -151
  1397. package/dist/esm5/src/lib/Tracking/Google/UserEventHandler.d.ts +0 -8
  1398. package/dist/esm5/src/lib/Tracking/Google/index.d.ts +0 -7
  1399. package/dist/esm5/src/lib/Tracking/Reddit/BaseEvent.d.ts +0 -8
  1400. package/dist/esm5/src/lib/Tracking/Reddit/CustomEvent.d.ts +0 -5
  1401. package/dist/esm5/src/lib/Tracking/Reddit/Rdt.d.ts +0 -8
  1402. package/dist/esm5/src/lib/Tracking/Reddit/StandardEvent.d.ts +0 -5
  1403. package/dist/esm5/src/lib/Tracking/Reddit/StandardEvents.d.ts +0 -12
  1404. package/dist/esm5/src/lib/Tracking/Reddit/StandardProperties.d.ts +0 -4
  1405. package/dist/esm5/src/lib/Tracking/Reddit/index.d.ts +0 -4
  1406. package/dist/esm5/src/lib/Tracking/Referrer.d.ts +0 -13
  1407. package/dist/esm5/src/lib/Tracking/Snapchat/BaseEvent.d.ts +0 -6
  1408. package/dist/esm5/src/lib/Tracking/Snapchat/Snaptr.d.ts +0 -8
  1409. package/dist/esm5/src/lib/Tracking/Snapchat/StandardEvent.d.ts +0 -6
  1410. package/dist/esm5/src/lib/Tracking/Snapchat/StandardEvents.d.ts +0 -33
  1411. package/dist/esm5/src/lib/Tracking/Snapchat/StandardProperties.d.ts +0 -15
  1412. package/dist/esm5/src/lib/Tracking/Snapchat/UserProperties.d.ts +0 -7
  1413. package/dist/esm5/src/lib/Tracking/Snapchat/index.d.ts +0 -6
  1414. package/dist/esm5/src/lib/Tracking/Tiktok/BaseEvent.d.ts +0 -8
  1415. package/dist/esm5/src/lib/Tracking/Tiktok/CustomEvent.d.ts +0 -5
  1416. package/dist/esm5/src/lib/Tracking/Tiktok/StandardEvent.d.ts +0 -5
  1417. package/dist/esm5/src/lib/Tracking/Tiktok/StandardEvents.d.ts +0 -19
  1418. package/dist/esm5/src/lib/Tracking/Tiktok/StandardProperties.d.ts +0 -4
  1419. package/dist/esm5/src/lib/Tracking/Tiktok/Ttq.d.ts +0 -8
  1420. package/dist/esm5/src/lib/Tracking/Tiktok/index.d.ts +0 -4
  1421. package/dist/esm5/src/lib/Tracking/Xy/BaseEvent.d.ts +0 -6
  1422. package/dist/esm5/src/lib/Tracking/Xy/CustomEvent.d.ts +0 -4
  1423. package/dist/esm5/src/lib/Tracking/Xy/StandardEvent.d.ts +0 -4
  1424. package/dist/esm5/src/lib/Tracking/Xy/UserEventHandler.d.ts +0 -8
  1425. package/dist/esm5/src/lib/Tracking/Xy/index.d.ts +0 -4
  1426. package/dist/esm5/src/lib/Tracking/XyoUserEventHandler.d.ts +0 -10
  1427. package/dist/esm5/src/lib/Tracking/index.d.ts +0 -10
  1428. package/dist/esm5/src/lib/getApiStage.d.ts +0 -2
  1429. package/dist/esm5/src/lib/global.d.ts +0 -2
  1430. package/dist/esm5/src/lib/index.d.ts +0 -10
  1431. package/dist/esm5/src/lib/isLocalHost.d.ts +0 -2
  1432. package/dist/esm5/src/lib/profile.d.ts +0 -9
  1433. package/dist/esm5/src/lib/safeLocalStorage.d.ts +0 -3
  1434. package/dist/esm5/src/lib/safeSessionStorage.d.ts +0 -3
  1435. package/dist/esm5/src/lib/useAsyncEffect.d.ts +0 -5
  1436. package/dist/esm5/src/mergeBoxlikeStyles.d.ts +0 -4
  1437. package/dist/node/index.node.d.ts +0 -1
  1438. package/dist/node/src/BoxlikeComponentProps.d.ts +0 -41
  1439. package/dist/node/src/BusyProps.d.ts +0 -13
  1440. package/dist/node/src/Margin.d.ts +0 -2
  1441. package/dist/node/src/Padding.d.ts +0 -2
  1442. package/dist/node/src/calcSpacing.d.ts +0 -4
  1443. package/dist/node/src/components/AppBarEx/AppBarEx.d.ts +0 -4
  1444. package/dist/node/src/components/AppBarEx/AppBarEx.stories.d.ts +0 -6
  1445. package/dist/node/src/components/AppBarEx/AppBarExProps.d.ts +0 -8
  1446. package/dist/node/src/components/AppBarEx/index.d.ts +0 -4
  1447. package/dist/node/src/components/Background.d.ts +0 -7
  1448. package/dist/node/src/components/BasePage/BasePage.d.ts +0 -4
  1449. package/dist/node/src/components/BasePage/BasePage.stories.d.ts +0 -6
  1450. package/dist/node/src/components/BasePage/BasePageProps.d.ts +0 -17
  1451. package/dist/node/src/components/BasePage/index.d.ts +0 -4
  1452. package/dist/node/src/components/Breadcrumbs/BreadcrumbsEx.d.ts +0 -4
  1453. package/dist/node/src/components/Breadcrumbs/BreadcrumbsEx.stories.d.ts +0 -7
  1454. package/dist/node/src/components/Breadcrumbs/BreadcrumbsExProps.d.ts +0 -8
  1455. package/dist/node/src/components/Breadcrumbs/index.d.ts +0 -2
  1456. package/dist/node/src/components/BusyCircularProgress.d.ts +0 -10
  1457. package/dist/node/src/components/BusyLinearProgress.d.ts +0 -9
  1458. package/dist/node/src/components/ButtonEx/ButtonEx.d.ts +0 -4
  1459. package/dist/node/src/components/ButtonEx/ButtonEx.stories.d.ts +0 -8
  1460. package/dist/node/src/components/ButtonEx/ButtonExBase.d.ts +0 -4
  1461. package/dist/node/src/components/ButtonEx/ButtonExProps.d.ts +0 -10
  1462. package/dist/node/src/components/ButtonEx/ButtonExTo.d.ts +0 -4
  1463. package/dist/node/src/components/ButtonEx/index.d.ts +0 -2
  1464. package/dist/node/src/components/CookieConsent/CookieConsent.d.ts +0 -4
  1465. package/dist/node/src/components/CookieConsent/CookieConsent.stories.d.ts +0 -7
  1466. package/dist/node/src/components/CookieConsent/CookieConsentBody.d.ts +0 -4
  1467. package/dist/node/src/components/CookieConsent/CookieConsentProps.d.ts +0 -7
  1468. package/dist/node/src/components/CookieConsent/index.d.ts +0 -3
  1469. package/dist/node/src/components/CoverProgress.d.ts +0 -10
  1470. package/dist/node/src/components/Errors/ErrorViewer.d.ts +0 -4
  1471. package/dist/node/src/components/Errors/ErrorViewer.stories.d.ts +0 -6
  1472. package/dist/node/src/components/Errors/ErrorViewerProps.d.ts +0 -5
  1473. package/dist/node/src/components/Errors/ErrorsViewer.d.ts +0 -4
  1474. package/dist/node/src/components/Errors/ErrorsViewer.stories.d.ts +0 -6
  1475. package/dist/node/src/components/Errors/ErrorsViewerProps.d.ts +0 -6
  1476. package/dist/node/src/components/Errors/index.d.ts +0 -3
  1477. package/dist/node/src/components/EthAccount/EthAccount.d.ts +0 -4
  1478. package/dist/node/src/components/EthAccount/EthAccount.stories.d.ts +0 -11
  1479. package/dist/node/src/components/EthAccount/EthAccountProps.d.ts +0 -17
  1480. package/dist/node/src/components/EthAccount/index.d.ts +0 -4
  1481. package/dist/node/src/components/EthBlock.d.ts +0 -6
  1482. package/dist/node/src/components/Experiments/Experiment.d.ts +0 -6
  1483. package/dist/node/src/components/Experiments/Experiments.d.ts +0 -10
  1484. package/dist/node/src/components/Experiments/index.d.ts +0 -3
  1485. package/dist/node/src/components/FlexBox/BusyBox.d.ts +0 -10
  1486. package/dist/node/src/components/FlexBox/BusyBox.stories.d.ts +0 -10
  1487. package/dist/node/src/components/FlexBox/FlexCol.d.ts +0 -5
  1488. package/dist/node/src/components/FlexBox/FlexCol.stories.d.ts +0 -8
  1489. package/dist/node/src/components/FlexBox/FlexRow.d.ts +0 -7
  1490. package/dist/node/src/components/FlexBox/FlexRow.stories.d.ts +0 -10
  1491. package/dist/node/src/components/FlexBox/index.d.ts +0 -3
  1492. package/dist/node/src/components/HoverScale.d.ts +0 -6
  1493. package/dist/node/src/components/Identicon.d.ts +0 -14
  1494. package/dist/node/src/components/InvertableThemeProvider/InvertableTheme.d.ts +0 -5
  1495. package/dist/node/src/components/InvertableThemeProvider/InvertableThemeContext.d.ts +0 -4
  1496. package/dist/node/src/components/InvertableThemeProvider/InvertableThemeProvider.d.ts +0 -4
  1497. package/dist/node/src/components/InvertableThemeProvider/InvertableThemeProvider.stories.d.ts +0 -6
  1498. package/dist/node/src/components/InvertableThemeProvider/InvertableThemeProviderProps.d.ts +0 -9
  1499. package/dist/node/src/components/InvertableThemeProvider/index.d.ts +0 -4
  1500. package/dist/node/src/components/LinkEx/LinkToEx.d.ts +0 -8
  1501. package/dist/node/src/components/LinkEx/index.d.ts +0 -2
  1502. package/dist/node/src/components/NumberStatus/NumberStatus.d.ts +0 -4
  1503. package/dist/node/src/components/NumberStatus/NumberStatus.stories.d.ts +0 -14
  1504. package/dist/node/src/components/NumberStatus/NumberStatusProps.d.ts +0 -13
  1505. package/dist/node/src/components/NumberStatus/index.d.ts +0 -2
  1506. package/dist/node/src/components/QuickTipButton/QuickTipButton.d.ts +0 -4
  1507. package/dist/node/src/components/QuickTipButton/QuickTipButton.stories.d.ts +0 -6
  1508. package/dist/node/src/components/QuickTipButton/index.d.ts +0 -2
  1509. package/dist/node/src/components/RedirectWithQuery.d.ts +0 -8
  1510. package/dist/node/src/components/RichResult/RichResult.d.ts +0 -7
  1511. package/dist/node/src/components/RichResult/index.d.ts +0 -3
  1512. package/dist/node/src/components/RichResult/jsonld/Action.d.ts +0 -24
  1513. package/dist/node/src/components/RichResult/jsonld/ActionStatusType.d.ts +0 -7
  1514. package/dist/node/src/components/RichResult/jsonld/AdministrativeArea.d.ts +0 -3
  1515. package/dist/node/src/components/RichResult/jsonld/AggrigateRating.d.ts +0 -8
  1516. package/dist/node/src/components/RichResult/jsonld/Article.d.ts +0 -14
  1517. package/dist/node/src/components/RichResult/jsonld/Base.d.ts +0 -4
  1518. package/dist/node/src/components/RichResult/jsonld/Brand.d.ts +0 -11
  1519. package/dist/node/src/components/RichResult/jsonld/Class.d.ts +0 -7
  1520. package/dist/node/src/components/RichResult/jsonld/ContactPoint.d.ts +0 -19
  1521. package/dist/node/src/components/RichResult/jsonld/ContactPointOption.d.ts +0 -5
  1522. package/dist/node/src/components/RichResult/jsonld/Country.d.ts +0 -3
  1523. package/dist/node/src/components/RichResult/jsonld/CreativeWork.d.ts +0 -122
  1524. package/dist/node/src/components/RichResult/jsonld/DateTime.d.ts +0 -2
  1525. package/dist/node/src/components/RichResult/jsonld/EntryPoint.d.ts +0 -13
  1526. package/dist/node/src/components/RichResult/jsonld/Enumeration.d.ts +0 -7
  1527. package/dist/node/src/components/RichResult/jsonld/GeoShape.d.ts +0 -15
  1528. package/dist/node/src/components/RichResult/jsonld/GeospatialGeometry.d.ts +0 -15
  1529. package/dist/node/src/components/RichResult/jsonld/ImageObject.d.ts +0 -9
  1530. package/dist/node/src/components/RichResult/jsonld/Intangible.d.ts +0 -3
  1531. package/dist/node/src/components/RichResult/jsonld/Integer.d.ts +0 -2
  1532. package/dist/node/src/components/RichResult/jsonld/ItemAvailability.d.ts +0 -21
  1533. package/dist/node/src/components/RichResult/jsonld/Language.d.ts +0 -3
  1534. package/dist/node/src/components/RichResult/jsonld/Map.d.ts +0 -6
  1535. package/dist/node/src/components/RichResult/jsonld/MapCategoryType.d.ts +0 -7
  1536. package/dist/node/src/components/RichResult/jsonld/MediaObject.d.ts +0 -10
  1537. package/dist/node/src/components/RichResult/jsonld/MobileApplication.d.ts +0 -6
  1538. package/dist/node/src/components/RichResult/jsonld/Offer.d.ts +0 -64
  1539. package/dist/node/src/components/RichResult/jsonld/Organization.d.ts +0 -77
  1540. package/dist/node/src/components/RichResult/jsonld/Person.d.ts +0 -71
  1541. package/dist/node/src/components/RichResult/jsonld/Photograph.d.ts +0 -3
  1542. package/dist/node/src/components/RichResult/jsonld/Place.d.ts +0 -42
  1543. package/dist/node/src/components/RichResult/jsonld/PostalAddress.d.ts +0 -12
  1544. package/dist/node/src/components/RichResult/jsonld/Product.d.ts +0 -56
  1545. package/dist/node/src/components/RichResult/jsonld/Property.d.ts +0 -10
  1546. package/dist/node/src/components/RichResult/jsonld/PropertyValue.d.ts +0 -16
  1547. package/dist/node/src/components/RichResult/jsonld/QualitativeValue.d.ts +0 -15
  1548. package/dist/node/src/components/RichResult/jsonld/QuantitativeValue.d.ts +0 -15
  1549. package/dist/node/src/components/RichResult/jsonld/Rating.d.ts +0 -10
  1550. package/dist/node/src/components/RichResult/jsonld/Review.d.ts +0 -10
  1551. package/dist/node/src/components/RichResult/jsonld/Service.d.ts +0 -38
  1552. package/dist/node/src/components/RichResult/jsonld/SoftwareApplication.d.ts +0 -28
  1553. package/dist/node/src/components/RichResult/jsonld/StructuredValue.d.ts +0 -3
  1554. package/dist/node/src/components/RichResult/jsonld/Text.d.ts +0 -2
  1555. package/dist/node/src/components/RichResult/jsonld/Thing.d.ts +0 -22
  1556. package/dist/node/src/components/RichResult/jsonld/Time.d.ts +0 -2
  1557. package/dist/node/src/components/RichResult/jsonld/URL.d.ts +0 -2
  1558. package/dist/node/src/components/RichResult/jsonld/VirtualLocation.d.ts +0 -3
  1559. package/dist/node/src/components/RichResult/jsonld/index.d.ts +0 -48
  1560. package/dist/node/src/components/ScrollToTop.d.ts +0 -1
  1561. package/dist/node/src/components/ScrollToTopButton.d.ts +0 -7
  1562. package/dist/node/src/components/TokenAmount/TokenAmount.d.ts +0 -4
  1563. package/dist/node/src/components/TokenAmount/TokenAmount.stories.d.ts +0 -12
  1564. package/dist/node/src/components/TokenAmount/TokenAmountProps.d.ts +0 -14
  1565. package/dist/node/src/components/TokenAmount/index.d.ts +0 -4
  1566. package/dist/node/src/components/dialogs/ErrorDialog.d.ts +0 -8
  1567. package/dist/node/src/components/dialogs/ErrorDialog.stories.d.ts +0 -6
  1568. package/dist/node/src/components/dialogs/MessageDialog.d.ts +0 -7
  1569. package/dist/node/src/components/dialogs/MessageDialog.stories.d.ts +0 -6
  1570. package/dist/node/src/components/dialogs/index.d.ts +0 -3
  1571. package/dist/node/src/components/index.d.ts +0 -23
  1572. package/dist/node/src/contexts/CookieConsent/Context.d.ts +0 -8
  1573. package/dist/node/src/contexts/CookieConsent/Loader.d.ts +0 -3
  1574. package/dist/node/src/contexts/CookieConsent/index.d.ts +0 -4
  1575. package/dist/node/src/contexts/CookieConsent/use.d.ts +0 -7
  1576. package/dist/node/src/contexts/Ethers/Context.d.ts +0 -19
  1577. package/dist/node/src/contexts/Ethers/Infura.d.ts +0 -7
  1578. package/dist/node/src/contexts/Ethers/Loader.d.ts +0 -6
  1579. package/dist/node/src/contexts/Ethers/MetaMask.d.ts +0 -6
  1580. package/dist/node/src/contexts/Ethers/MyEtherWallet.d.ts +0 -6
  1581. package/dist/node/src/contexts/Ethers/Opera.d.ts +0 -6
  1582. package/dist/node/src/contexts/Ethers/Trust.d.ts +0 -6
  1583. package/dist/node/src/contexts/Ethers/index.d.ts +0 -2
  1584. package/dist/node/src/contexts/NetworkSettings/Context.d.ts +0 -9
  1585. package/dist/node/src/contexts/NetworkSettings/Loader.d.ts +0 -6
  1586. package/dist/node/src/contexts/NetworkSettings/index.d.ts +0 -3
  1587. package/dist/node/src/contexts/UserEvents/Context.d.ts +0 -7
  1588. package/dist/node/src/contexts/UserEvents/index.d.ts +0 -2
  1589. package/dist/node/src/contexts/index.d.ts +0 -4
  1590. package/dist/node/src/hooks/index.d.ts +0 -7
  1591. package/dist/node/src/hooks/useBreakpoint.d.ts +0 -1
  1592. package/dist/node/src/hooks/useMediaQuery.d.ts +0 -2
  1593. package/dist/node/src/hooks/useMounted.d.ts +0 -1
  1594. package/dist/node/src/hooks/useNavigateToEthAddress.d.ts +0 -5
  1595. package/dist/node/src/hooks/useSpacing.d.ts +0 -1
  1596. package/dist/node/src/hooks/useWebP.d.ts +0 -1
  1597. package/dist/node/src/hooks/useWindowSize.d.ts +0 -6
  1598. package/dist/node/src/index.d.ts +0 -4
  1599. package/dist/node/src/lib/ComponentSizes.d.ts +0 -2
  1600. package/dist/node/src/lib/Tracking/Drip/BaseEvent.d.ts +0 -12
  1601. package/dist/node/src/lib/Tracking/Drip/CustomEvent.d.ts +0 -4
  1602. package/dist/node/src/lib/Tracking/Drip/Data/Base.d.ts +0 -6
  1603. package/dist/node/src/lib/Tracking/Drip/Data/CustomFields.d.ts +0 -4
  1604. package/dist/node/src/lib/Tracking/Drip/Data/Identify.d.ts +0 -14
  1605. package/dist/node/src/lib/Tracking/Drip/Data/Result.d.ts +0 -7
  1606. package/dist/node/src/lib/Tracking/Drip/Data/StandardFields.d.ts +0 -12
  1607. package/dist/node/src/lib/Tracking/Drip/Data/index.d.ts +0 -2
  1608. package/dist/node/src/lib/Tracking/Drip/StandardEvents.d.ts +0 -6
  1609. package/dist/node/src/lib/Tracking/Drip/index.d.ts +0 -5
  1610. package/dist/node/src/lib/Tracking/Facebook/BaseEvent.d.ts +0 -8
  1611. package/dist/node/src/lib/Tracking/Facebook/CustomEvent.d.ts +0 -5
  1612. package/dist/node/src/lib/Tracking/Facebook/Fbq.d.ts +0 -10
  1613. package/dist/node/src/lib/Tracking/Facebook/StandardEvent.d.ts +0 -5
  1614. package/dist/node/src/lib/Tracking/Facebook/StandardEvents.d.ts +0 -61
  1615. package/dist/node/src/lib/Tracking/Facebook/StandardProperties.d.ts +0 -15
  1616. package/dist/node/src/lib/Tracking/Facebook/UserEventHandler.d.ts +0 -8
  1617. package/dist/node/src/lib/Tracking/Facebook/index.d.ts +0 -8
  1618. package/dist/node/src/lib/Tracking/Google/BaseEvent.d.ts +0 -13
  1619. package/dist/node/src/lib/Tracking/Google/CustomEvent.d.ts +0 -4
  1620. package/dist/node/src/lib/Tracking/Google/DataLayer.d.ts +0 -9
  1621. package/dist/node/src/lib/Tracking/Google/Gtag.d.ts +0 -19
  1622. package/dist/node/src/lib/Tracking/Google/Gtm.d.ts +0 -10
  1623. package/dist/node/src/lib/Tracking/Google/StandardEvent.d.ts +0 -4
  1624. package/dist/node/src/lib/Tracking/Google/StandardEvents.d.ts +0 -151
  1625. package/dist/node/src/lib/Tracking/Google/UserEventHandler.d.ts +0 -8
  1626. package/dist/node/src/lib/Tracking/Google/index.d.ts +0 -7
  1627. package/dist/node/src/lib/Tracking/Reddit/BaseEvent.d.ts +0 -8
  1628. package/dist/node/src/lib/Tracking/Reddit/CustomEvent.d.ts +0 -5
  1629. package/dist/node/src/lib/Tracking/Reddit/Rdt.d.ts +0 -8
  1630. package/dist/node/src/lib/Tracking/Reddit/StandardEvent.d.ts +0 -5
  1631. package/dist/node/src/lib/Tracking/Reddit/StandardEvents.d.ts +0 -12
  1632. package/dist/node/src/lib/Tracking/Reddit/StandardProperties.d.ts +0 -4
  1633. package/dist/node/src/lib/Tracking/Reddit/index.d.ts +0 -4
  1634. package/dist/node/src/lib/Tracking/Referrer.d.ts +0 -13
  1635. package/dist/node/src/lib/Tracking/Snapchat/BaseEvent.d.ts +0 -6
  1636. package/dist/node/src/lib/Tracking/Snapchat/Snaptr.d.ts +0 -8
  1637. package/dist/node/src/lib/Tracking/Snapchat/StandardEvent.d.ts +0 -6
  1638. package/dist/node/src/lib/Tracking/Snapchat/StandardEvents.d.ts +0 -33
  1639. package/dist/node/src/lib/Tracking/Snapchat/StandardProperties.d.ts +0 -15
  1640. package/dist/node/src/lib/Tracking/Snapchat/UserProperties.d.ts +0 -7
  1641. package/dist/node/src/lib/Tracking/Snapchat/index.d.ts +0 -6
  1642. package/dist/node/src/lib/Tracking/Tiktok/BaseEvent.d.ts +0 -8
  1643. package/dist/node/src/lib/Tracking/Tiktok/CustomEvent.d.ts +0 -5
  1644. package/dist/node/src/lib/Tracking/Tiktok/StandardEvent.d.ts +0 -5
  1645. package/dist/node/src/lib/Tracking/Tiktok/StandardEvents.d.ts +0 -19
  1646. package/dist/node/src/lib/Tracking/Tiktok/StandardProperties.d.ts +0 -4
  1647. package/dist/node/src/lib/Tracking/Tiktok/Ttq.d.ts +0 -8
  1648. package/dist/node/src/lib/Tracking/Tiktok/index.d.ts +0 -4
  1649. package/dist/node/src/lib/Tracking/Xy/BaseEvent.d.ts +0 -6
  1650. package/dist/node/src/lib/Tracking/Xy/CustomEvent.d.ts +0 -4
  1651. package/dist/node/src/lib/Tracking/Xy/StandardEvent.d.ts +0 -4
  1652. package/dist/node/src/lib/Tracking/Xy/UserEventHandler.d.ts +0 -8
  1653. package/dist/node/src/lib/Tracking/Xy/index.d.ts +0 -4
  1654. package/dist/node/src/lib/Tracking/XyoUserEventHandler.d.ts +0 -10
  1655. package/dist/node/src/lib/Tracking/index.d.ts +0 -10
  1656. package/dist/node/src/lib/getApiStage.d.ts +0 -2
  1657. package/dist/node/src/lib/global.d.ts +0 -2
  1658. package/dist/node/src/lib/index.d.ts +0 -10
  1659. package/dist/node/src/lib/isLocalHost.d.ts +0 -2
  1660. package/dist/node/src/lib/profile.d.ts +0 -9
  1661. package/dist/node/src/lib/safeLocalStorage.d.ts +0 -3
  1662. package/dist/node/src/lib/safeSessionStorage.d.ts +0 -3
  1663. package/dist/node/src/lib/useAsyncEffect.d.ts +0 -5
  1664. package/dist/node/src/mergeBoxlikeStyles.d.ts +0 -4
  1665. package/dist/node-esm/index.node.d.ts +0 -1
  1666. package/dist/node-esm/src/BoxlikeComponentProps.d.ts +0 -41
  1667. package/dist/node-esm/src/BusyProps.d.ts +0 -13
  1668. package/dist/node-esm/src/Margin.d.ts +0 -2
  1669. package/dist/node-esm/src/Padding.d.ts +0 -2
  1670. package/dist/node-esm/src/calcSpacing.d.ts +0 -4
  1671. package/dist/node-esm/src/components/AppBarEx/AppBarEx.d.ts +0 -4
  1672. package/dist/node-esm/src/components/AppBarEx/AppBarEx.stories.d.ts +0 -6
  1673. package/dist/node-esm/src/components/AppBarEx/AppBarExProps.d.ts +0 -8
  1674. package/dist/node-esm/src/components/AppBarEx/index.d.ts +0 -4
  1675. package/dist/node-esm/src/components/Background.d.ts +0 -7
  1676. package/dist/node-esm/src/components/BasePage/BasePage.d.ts +0 -4
  1677. package/dist/node-esm/src/components/BasePage/BasePage.stories.d.ts +0 -6
  1678. package/dist/node-esm/src/components/BasePage/BasePageProps.d.ts +0 -17
  1679. package/dist/node-esm/src/components/BasePage/index.d.ts +0 -4
  1680. package/dist/node-esm/src/components/Breadcrumbs/BreadcrumbsEx.d.ts +0 -4
  1681. package/dist/node-esm/src/components/Breadcrumbs/BreadcrumbsEx.stories.d.ts +0 -7
  1682. package/dist/node-esm/src/components/Breadcrumbs/BreadcrumbsExProps.d.ts +0 -8
  1683. package/dist/node-esm/src/components/Breadcrumbs/index.d.ts +0 -2
  1684. package/dist/node-esm/src/components/BusyCircularProgress.d.ts +0 -10
  1685. package/dist/node-esm/src/components/BusyLinearProgress.d.ts +0 -9
  1686. package/dist/node-esm/src/components/ButtonEx/ButtonEx.d.ts +0 -4
  1687. package/dist/node-esm/src/components/ButtonEx/ButtonEx.stories.d.ts +0 -8
  1688. package/dist/node-esm/src/components/ButtonEx/ButtonExBase.d.ts +0 -4
  1689. package/dist/node-esm/src/components/ButtonEx/ButtonExProps.d.ts +0 -10
  1690. package/dist/node-esm/src/components/ButtonEx/ButtonExTo.d.ts +0 -4
  1691. package/dist/node-esm/src/components/ButtonEx/index.d.ts +0 -2
  1692. package/dist/node-esm/src/components/CookieConsent/CookieConsent.d.ts +0 -4
  1693. package/dist/node-esm/src/components/CookieConsent/CookieConsent.stories.d.ts +0 -7
  1694. package/dist/node-esm/src/components/CookieConsent/CookieConsentBody.d.ts +0 -4
  1695. package/dist/node-esm/src/components/CookieConsent/CookieConsentProps.d.ts +0 -7
  1696. package/dist/node-esm/src/components/CookieConsent/index.d.ts +0 -3
  1697. package/dist/node-esm/src/components/CoverProgress.d.ts +0 -10
  1698. package/dist/node-esm/src/components/Errors/ErrorViewer.d.ts +0 -4
  1699. package/dist/node-esm/src/components/Errors/ErrorViewer.stories.d.ts +0 -6
  1700. package/dist/node-esm/src/components/Errors/ErrorViewerProps.d.ts +0 -5
  1701. package/dist/node-esm/src/components/Errors/ErrorsViewer.d.ts +0 -4
  1702. package/dist/node-esm/src/components/Errors/ErrorsViewer.stories.d.ts +0 -6
  1703. package/dist/node-esm/src/components/Errors/ErrorsViewerProps.d.ts +0 -6
  1704. package/dist/node-esm/src/components/Errors/index.d.ts +0 -3
  1705. package/dist/node-esm/src/components/EthAccount/EthAccount.d.ts +0 -4
  1706. package/dist/node-esm/src/components/EthAccount/EthAccount.stories.d.ts +0 -11
  1707. package/dist/node-esm/src/components/EthAccount/EthAccountProps.d.ts +0 -17
  1708. package/dist/node-esm/src/components/EthAccount/index.d.ts +0 -4
  1709. package/dist/node-esm/src/components/EthBlock.d.ts +0 -6
  1710. package/dist/node-esm/src/components/Experiments/Experiment.d.ts +0 -6
  1711. package/dist/node-esm/src/components/Experiments/Experiments.d.ts +0 -10
  1712. package/dist/node-esm/src/components/Experiments/index.d.ts +0 -3
  1713. package/dist/node-esm/src/components/FlexBox/BusyBox.d.ts +0 -10
  1714. package/dist/node-esm/src/components/FlexBox/BusyBox.stories.d.ts +0 -10
  1715. package/dist/node-esm/src/components/FlexBox/FlexCol.d.ts +0 -5
  1716. package/dist/node-esm/src/components/FlexBox/FlexCol.stories.d.ts +0 -8
  1717. package/dist/node-esm/src/components/FlexBox/FlexRow.d.ts +0 -7
  1718. package/dist/node-esm/src/components/FlexBox/FlexRow.stories.d.ts +0 -10
  1719. package/dist/node-esm/src/components/FlexBox/index.d.ts +0 -3
  1720. package/dist/node-esm/src/components/HoverScale.d.ts +0 -6
  1721. package/dist/node-esm/src/components/Identicon.d.ts +0 -14
  1722. package/dist/node-esm/src/components/InvertableThemeProvider/InvertableTheme.d.ts +0 -5
  1723. package/dist/node-esm/src/components/InvertableThemeProvider/InvertableThemeContext.d.ts +0 -4
  1724. package/dist/node-esm/src/components/InvertableThemeProvider/InvertableThemeProvider.d.ts +0 -4
  1725. package/dist/node-esm/src/components/InvertableThemeProvider/InvertableThemeProvider.stories.d.ts +0 -6
  1726. package/dist/node-esm/src/components/InvertableThemeProvider/InvertableThemeProviderProps.d.ts +0 -9
  1727. package/dist/node-esm/src/components/InvertableThemeProvider/index.d.ts +0 -4
  1728. package/dist/node-esm/src/components/LinkEx/LinkToEx.d.ts +0 -8
  1729. package/dist/node-esm/src/components/LinkEx/index.d.ts +0 -2
  1730. package/dist/node-esm/src/components/NumberStatus/NumberStatus.d.ts +0 -4
  1731. package/dist/node-esm/src/components/NumberStatus/NumberStatus.stories.d.ts +0 -14
  1732. package/dist/node-esm/src/components/NumberStatus/NumberStatusProps.d.ts +0 -13
  1733. package/dist/node-esm/src/components/NumberStatus/index.d.ts +0 -2
  1734. package/dist/node-esm/src/components/QuickTipButton/QuickTipButton.d.ts +0 -4
  1735. package/dist/node-esm/src/components/QuickTipButton/QuickTipButton.stories.d.ts +0 -6
  1736. package/dist/node-esm/src/components/QuickTipButton/index.d.ts +0 -2
  1737. package/dist/node-esm/src/components/RedirectWithQuery.d.ts +0 -8
  1738. package/dist/node-esm/src/components/RichResult/RichResult.d.ts +0 -7
  1739. package/dist/node-esm/src/components/RichResult/index.d.ts +0 -3
  1740. package/dist/node-esm/src/components/RichResult/jsonld/Action.d.ts +0 -24
  1741. package/dist/node-esm/src/components/RichResult/jsonld/ActionStatusType.d.ts +0 -7
  1742. package/dist/node-esm/src/components/RichResult/jsonld/AdministrativeArea.d.ts +0 -3
  1743. package/dist/node-esm/src/components/RichResult/jsonld/AggrigateRating.d.ts +0 -8
  1744. package/dist/node-esm/src/components/RichResult/jsonld/Article.d.ts +0 -14
  1745. package/dist/node-esm/src/components/RichResult/jsonld/Base.d.ts +0 -4
  1746. package/dist/node-esm/src/components/RichResult/jsonld/Brand.d.ts +0 -11
  1747. package/dist/node-esm/src/components/RichResult/jsonld/Class.d.ts +0 -7
  1748. package/dist/node-esm/src/components/RichResult/jsonld/ContactPoint.d.ts +0 -19
  1749. package/dist/node-esm/src/components/RichResult/jsonld/ContactPointOption.d.ts +0 -5
  1750. package/dist/node-esm/src/components/RichResult/jsonld/Country.d.ts +0 -3
  1751. package/dist/node-esm/src/components/RichResult/jsonld/CreativeWork.d.ts +0 -122
  1752. package/dist/node-esm/src/components/RichResult/jsonld/DateTime.d.ts +0 -2
  1753. package/dist/node-esm/src/components/RichResult/jsonld/EntryPoint.d.ts +0 -13
  1754. package/dist/node-esm/src/components/RichResult/jsonld/Enumeration.d.ts +0 -7
  1755. package/dist/node-esm/src/components/RichResult/jsonld/GeoShape.d.ts +0 -15
  1756. package/dist/node-esm/src/components/RichResult/jsonld/GeospatialGeometry.d.ts +0 -15
  1757. package/dist/node-esm/src/components/RichResult/jsonld/ImageObject.d.ts +0 -9
  1758. package/dist/node-esm/src/components/RichResult/jsonld/Intangible.d.ts +0 -3
  1759. package/dist/node-esm/src/components/RichResult/jsonld/Integer.d.ts +0 -2
  1760. package/dist/node-esm/src/components/RichResult/jsonld/ItemAvailability.d.ts +0 -21
  1761. package/dist/node-esm/src/components/RichResult/jsonld/Language.d.ts +0 -3
  1762. package/dist/node-esm/src/components/RichResult/jsonld/Map.d.ts +0 -6
  1763. package/dist/node-esm/src/components/RichResult/jsonld/MapCategoryType.d.ts +0 -7
  1764. package/dist/node-esm/src/components/RichResult/jsonld/MediaObject.d.ts +0 -10
  1765. package/dist/node-esm/src/components/RichResult/jsonld/MobileApplication.d.ts +0 -6
  1766. package/dist/node-esm/src/components/RichResult/jsonld/Offer.d.ts +0 -64
  1767. package/dist/node-esm/src/components/RichResult/jsonld/Organization.d.ts +0 -77
  1768. package/dist/node-esm/src/components/RichResult/jsonld/Person.d.ts +0 -71
  1769. package/dist/node-esm/src/components/RichResult/jsonld/Photograph.d.ts +0 -3
  1770. package/dist/node-esm/src/components/RichResult/jsonld/Place.d.ts +0 -42
  1771. package/dist/node-esm/src/components/RichResult/jsonld/PostalAddress.d.ts +0 -12
  1772. package/dist/node-esm/src/components/RichResult/jsonld/Product.d.ts +0 -56
  1773. package/dist/node-esm/src/components/RichResult/jsonld/Property.d.ts +0 -10
  1774. package/dist/node-esm/src/components/RichResult/jsonld/PropertyValue.d.ts +0 -16
  1775. package/dist/node-esm/src/components/RichResult/jsonld/QualitativeValue.d.ts +0 -15
  1776. package/dist/node-esm/src/components/RichResult/jsonld/QuantitativeValue.d.ts +0 -15
  1777. package/dist/node-esm/src/components/RichResult/jsonld/Rating.d.ts +0 -10
  1778. package/dist/node-esm/src/components/RichResult/jsonld/Review.d.ts +0 -10
  1779. package/dist/node-esm/src/components/RichResult/jsonld/Service.d.ts +0 -38
  1780. package/dist/node-esm/src/components/RichResult/jsonld/SoftwareApplication.d.ts +0 -28
  1781. package/dist/node-esm/src/components/RichResult/jsonld/StructuredValue.d.ts +0 -3
  1782. package/dist/node-esm/src/components/RichResult/jsonld/Text.d.ts +0 -2
  1783. package/dist/node-esm/src/components/RichResult/jsonld/Thing.d.ts +0 -22
  1784. package/dist/node-esm/src/components/RichResult/jsonld/Time.d.ts +0 -2
  1785. package/dist/node-esm/src/components/RichResult/jsonld/URL.d.ts +0 -2
  1786. package/dist/node-esm/src/components/RichResult/jsonld/VirtualLocation.d.ts +0 -3
  1787. package/dist/node-esm/src/components/RichResult/jsonld/index.d.ts +0 -48
  1788. package/dist/node-esm/src/components/ScrollToTop.d.ts +0 -1
  1789. package/dist/node-esm/src/components/ScrollToTopButton.d.ts +0 -7
  1790. package/dist/node-esm/src/components/TokenAmount/TokenAmount.d.ts +0 -4
  1791. package/dist/node-esm/src/components/TokenAmount/TokenAmount.stories.d.ts +0 -12
  1792. package/dist/node-esm/src/components/TokenAmount/TokenAmountProps.d.ts +0 -14
  1793. package/dist/node-esm/src/components/TokenAmount/index.d.ts +0 -4
  1794. package/dist/node-esm/src/components/dialogs/ErrorDialog.d.ts +0 -8
  1795. package/dist/node-esm/src/components/dialogs/ErrorDialog.stories.d.ts +0 -6
  1796. package/dist/node-esm/src/components/dialogs/MessageDialog.d.ts +0 -7
  1797. package/dist/node-esm/src/components/dialogs/MessageDialog.stories.d.ts +0 -6
  1798. package/dist/node-esm/src/components/dialogs/index.d.ts +0 -3
  1799. package/dist/node-esm/src/components/index.d.ts +0 -23
  1800. package/dist/node-esm/src/contexts/CookieConsent/Context.d.ts +0 -8
  1801. package/dist/node-esm/src/contexts/CookieConsent/Loader.d.ts +0 -3
  1802. package/dist/node-esm/src/contexts/CookieConsent/index.d.ts +0 -4
  1803. package/dist/node-esm/src/contexts/CookieConsent/use.d.ts +0 -7
  1804. package/dist/node-esm/src/contexts/Ethers/Context.d.ts +0 -19
  1805. package/dist/node-esm/src/contexts/Ethers/Infura.d.ts +0 -7
  1806. package/dist/node-esm/src/contexts/Ethers/Loader.d.ts +0 -6
  1807. package/dist/node-esm/src/contexts/Ethers/MetaMask.d.ts +0 -6
  1808. package/dist/node-esm/src/contexts/Ethers/MyEtherWallet.d.ts +0 -6
  1809. package/dist/node-esm/src/contexts/Ethers/Opera.d.ts +0 -6
  1810. package/dist/node-esm/src/contexts/Ethers/Trust.d.ts +0 -6
  1811. package/dist/node-esm/src/contexts/Ethers/index.d.ts +0 -2
  1812. package/dist/node-esm/src/contexts/NetworkSettings/Context.d.ts +0 -9
  1813. package/dist/node-esm/src/contexts/NetworkSettings/Loader.d.ts +0 -6
  1814. package/dist/node-esm/src/contexts/NetworkSettings/index.d.ts +0 -3
  1815. package/dist/node-esm/src/contexts/UserEvents/Context.d.ts +0 -7
  1816. package/dist/node-esm/src/contexts/UserEvents/index.d.ts +0 -2
  1817. package/dist/node-esm/src/contexts/index.d.ts +0 -4
  1818. package/dist/node-esm/src/hooks/index.d.ts +0 -7
  1819. package/dist/node-esm/src/hooks/useBreakpoint.d.ts +0 -1
  1820. package/dist/node-esm/src/hooks/useMediaQuery.d.ts +0 -2
  1821. package/dist/node-esm/src/hooks/useMounted.d.ts +0 -1
  1822. package/dist/node-esm/src/hooks/useNavigateToEthAddress.d.ts +0 -5
  1823. package/dist/node-esm/src/hooks/useSpacing.d.ts +0 -1
  1824. package/dist/node-esm/src/hooks/useWebP.d.ts +0 -1
  1825. package/dist/node-esm/src/hooks/useWindowSize.d.ts +0 -6
  1826. package/dist/node-esm/src/index.d.ts +0 -4
  1827. package/dist/node-esm/src/lib/ComponentSizes.d.ts +0 -2
  1828. package/dist/node-esm/src/lib/Tracking/Drip/BaseEvent.d.ts +0 -12
  1829. package/dist/node-esm/src/lib/Tracking/Drip/CustomEvent.d.ts +0 -4
  1830. package/dist/node-esm/src/lib/Tracking/Drip/Data/Base.d.ts +0 -6
  1831. package/dist/node-esm/src/lib/Tracking/Drip/Data/CustomFields.d.ts +0 -4
  1832. package/dist/node-esm/src/lib/Tracking/Drip/Data/Identify.d.ts +0 -14
  1833. package/dist/node-esm/src/lib/Tracking/Drip/Data/Result.d.ts +0 -7
  1834. package/dist/node-esm/src/lib/Tracking/Drip/Data/StandardFields.d.ts +0 -12
  1835. package/dist/node-esm/src/lib/Tracking/Drip/Data/index.d.ts +0 -2
  1836. package/dist/node-esm/src/lib/Tracking/Drip/StandardEvents.d.ts +0 -6
  1837. package/dist/node-esm/src/lib/Tracking/Drip/index.d.ts +0 -5
  1838. package/dist/node-esm/src/lib/Tracking/Facebook/BaseEvent.d.ts +0 -8
  1839. package/dist/node-esm/src/lib/Tracking/Facebook/CustomEvent.d.ts +0 -5
  1840. package/dist/node-esm/src/lib/Tracking/Facebook/Fbq.d.ts +0 -10
  1841. package/dist/node-esm/src/lib/Tracking/Facebook/StandardEvent.d.ts +0 -5
  1842. package/dist/node-esm/src/lib/Tracking/Facebook/StandardEvents.d.ts +0 -61
  1843. package/dist/node-esm/src/lib/Tracking/Facebook/StandardProperties.d.ts +0 -15
  1844. package/dist/node-esm/src/lib/Tracking/Facebook/UserEventHandler.d.ts +0 -8
  1845. package/dist/node-esm/src/lib/Tracking/Facebook/index.d.ts +0 -8
  1846. package/dist/node-esm/src/lib/Tracking/Google/BaseEvent.d.ts +0 -13
  1847. package/dist/node-esm/src/lib/Tracking/Google/CustomEvent.d.ts +0 -4
  1848. package/dist/node-esm/src/lib/Tracking/Google/DataLayer.d.ts +0 -9
  1849. package/dist/node-esm/src/lib/Tracking/Google/Gtag.d.ts +0 -19
  1850. package/dist/node-esm/src/lib/Tracking/Google/Gtm.d.ts +0 -10
  1851. package/dist/node-esm/src/lib/Tracking/Google/StandardEvent.d.ts +0 -4
  1852. package/dist/node-esm/src/lib/Tracking/Google/StandardEvents.d.ts +0 -151
  1853. package/dist/node-esm/src/lib/Tracking/Google/UserEventHandler.d.ts +0 -8
  1854. package/dist/node-esm/src/lib/Tracking/Google/index.d.ts +0 -7
  1855. package/dist/node-esm/src/lib/Tracking/Reddit/BaseEvent.d.ts +0 -8
  1856. package/dist/node-esm/src/lib/Tracking/Reddit/CustomEvent.d.ts +0 -5
  1857. package/dist/node-esm/src/lib/Tracking/Reddit/Rdt.d.ts +0 -8
  1858. package/dist/node-esm/src/lib/Tracking/Reddit/StandardEvent.d.ts +0 -5
  1859. package/dist/node-esm/src/lib/Tracking/Reddit/StandardEvents.d.ts +0 -12
  1860. package/dist/node-esm/src/lib/Tracking/Reddit/StandardProperties.d.ts +0 -4
  1861. package/dist/node-esm/src/lib/Tracking/Reddit/index.d.ts +0 -4
  1862. package/dist/node-esm/src/lib/Tracking/Referrer.d.ts +0 -13
  1863. package/dist/node-esm/src/lib/Tracking/Snapchat/BaseEvent.d.ts +0 -6
  1864. package/dist/node-esm/src/lib/Tracking/Snapchat/Snaptr.d.ts +0 -8
  1865. package/dist/node-esm/src/lib/Tracking/Snapchat/StandardEvent.d.ts +0 -6
  1866. package/dist/node-esm/src/lib/Tracking/Snapchat/StandardEvents.d.ts +0 -33
  1867. package/dist/node-esm/src/lib/Tracking/Snapchat/StandardProperties.d.ts +0 -15
  1868. package/dist/node-esm/src/lib/Tracking/Snapchat/UserProperties.d.ts +0 -7
  1869. package/dist/node-esm/src/lib/Tracking/Snapchat/index.d.ts +0 -6
  1870. package/dist/node-esm/src/lib/Tracking/Tiktok/BaseEvent.d.ts +0 -8
  1871. package/dist/node-esm/src/lib/Tracking/Tiktok/CustomEvent.d.ts +0 -5
  1872. package/dist/node-esm/src/lib/Tracking/Tiktok/StandardEvent.d.ts +0 -5
  1873. package/dist/node-esm/src/lib/Tracking/Tiktok/StandardEvents.d.ts +0 -19
  1874. package/dist/node-esm/src/lib/Tracking/Tiktok/StandardProperties.d.ts +0 -4
  1875. package/dist/node-esm/src/lib/Tracking/Tiktok/Ttq.d.ts +0 -8
  1876. package/dist/node-esm/src/lib/Tracking/Tiktok/index.d.ts +0 -4
  1877. package/dist/node-esm/src/lib/Tracking/Xy/BaseEvent.d.ts +0 -6
  1878. package/dist/node-esm/src/lib/Tracking/Xy/CustomEvent.d.ts +0 -4
  1879. package/dist/node-esm/src/lib/Tracking/Xy/StandardEvent.d.ts +0 -4
  1880. package/dist/node-esm/src/lib/Tracking/Xy/UserEventHandler.d.ts +0 -8
  1881. package/dist/node-esm/src/lib/Tracking/Xy/index.d.ts +0 -4
  1882. package/dist/node-esm/src/lib/Tracking/XyoUserEventHandler.d.ts +0 -10
  1883. package/dist/node-esm/src/lib/Tracking/index.d.ts +0 -10
  1884. package/dist/node-esm/src/lib/getApiStage.d.ts +0 -2
  1885. package/dist/node-esm/src/lib/global.d.ts +0 -2
  1886. package/dist/node-esm/src/lib/index.d.ts +0 -10
  1887. package/dist/node-esm/src/lib/isLocalHost.d.ts +0 -2
  1888. package/dist/node-esm/src/lib/profile.d.ts +0 -9
  1889. package/dist/node-esm/src/lib/safeLocalStorage.d.ts +0 -3
  1890. package/dist/node-esm/src/lib/safeSessionStorage.d.ts +0 -3
  1891. package/dist/node-esm/src/lib/useAsyncEffect.d.ts +0 -5
  1892. package/dist/node-esm/src/mergeBoxlikeStyles.d.ts +0 -4
  1893. package/index.node.ts +0 -1
  1894. package/index.ts +0 -1
@@ -4,12 +4,12 @@ export { useMediaQuery } from '@mui/material';
4
4
  import { AiOutlineReload, AiOutlineQuestionCircle } from 'react-icons/ai';
5
5
  import { makeStyles, createStyles } from '@mui/styles';
6
6
  import md5 from 'md5';
7
- import React, { useRef, useEffect, createContext, useState, useContext } from 'react';
7
+ import { useRef, useEffect, createContext, useState, useContext } from 'react';
8
8
  import { useNavigate, useLocation, Link as Link$1 } from 'react-router-dom';
9
9
  import { KeyboardArrowUp } from '@mui/icons-material';
10
10
  import { Helmet } from 'react-helmet';
11
11
  import { InfuraProvider, Web3Provider } from '@ethersproject/providers';
12
- import { getApiStage as getApiStage$1, delay, assertEx, EthAddress, BigNumber } from '@xylabs/sdk-js';
12
+ import { getApiStage as getApiStage$1, delay, assertEx, EthAddress, forget, BigNumber } from '@xylabs/sdk-js';
13
13
  import { UserEventHandler, XyPixel } from '@xylabs/pixel';
14
14
  import { parse, stringify } from 'query-string';
15
15
  import { createTheme } from '@mui/material/styles';
@@ -30,6 +30,33 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
30
30
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
31
31
  PERFORMANCE OF THIS SOFTWARE.
32
32
  ***************************************************************************** */
33
+ /* global Reflect, Promise */
34
+
35
+ var extendStatics = function(d, b) {
36
+ extendStatics = Object.setPrototypeOf ||
37
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
38
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
39
+ return extendStatics(d, b);
40
+ };
41
+
42
+ function __extends(d, b) {
43
+ if (typeof b !== "function" && b !== null)
44
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
45
+ extendStatics(d, b);
46
+ function __() { this.constructor = d; }
47
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
48
+ }
49
+
50
+ var __assign = function() {
51
+ __assign = Object.assign || function __assign(t) {
52
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
53
+ s = arguments[i];
54
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
55
+ }
56
+ return t;
57
+ };
58
+ return __assign.apply(this, arguments);
59
+ };
33
60
 
34
61
  function __rest(s, e) {
35
62
  var t = {};
@@ -41,1941 +68,2469 @@ function __rest(s, e) {
41
68
  t[p[i]] = s[p[i]];
42
69
  }
43
70
  return t;
71
+ }
72
+
73
+ function __awaiter(thisArg, _arguments, P, generator) {
74
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
75
+ return new (P || (P = Promise))(function (resolve, reject) {
76
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
77
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
78
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
79
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
80
+ });
81
+ }
82
+
83
+ function __generator(thisArg, body) {
84
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
85
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
86
+ function verb(n) { return function (v) { return step([n, v]); }; }
87
+ function step(op) {
88
+ if (f) throw new TypeError("Generator is already executing.");
89
+ while (_) try {
90
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
91
+ if (y = 0, t) op = [op[0] & 2, t.value];
92
+ switch (op[0]) {
93
+ case 0: case 1: t = op; break;
94
+ case 4: _.label++; return { value: op[1], done: false };
95
+ case 5: _.label++; y = op[1]; op = [0]; continue;
96
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
97
+ default:
98
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
99
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
100
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
101
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
102
+ if (t[2]) _.ops.pop();
103
+ _.trys.pop(); continue;
104
+ }
105
+ op = body.call(thisArg, _);
106
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
107
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
108
+ }
109
+ }
110
+
111
+ function __values(o) {
112
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
113
+ if (m) return m.call(o);
114
+ if (o && typeof o.length === "number") return {
115
+ next: function () {
116
+ if (o && i >= o.length) o = void 0;
117
+ return { value: o && o[i++], done: !o };
118
+ }
119
+ };
120
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
121
+ }
122
+
123
+ function __read(o, n) {
124
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
125
+ if (!m) return o;
126
+ var i = m.call(o), r, ar = [], e;
127
+ try {
128
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
129
+ }
130
+ catch (error) { e = { error: error }; }
131
+ finally {
132
+ try {
133
+ if (r && !r.done && (m = i["return"])) m.call(i);
134
+ }
135
+ finally { if (e) throw e.error; }
136
+ }
137
+ return ar;
44
138
  }
45
139
 
46
- const BusyCircularProgress = (_a) => {
47
- var { bgcolor, style, rounded, size, opacity = 0.85 } = _a, props = __rest(_a, ["bgcolor", "style", "rounded", "size", "opacity"]);
48
- const theme = useTheme();
49
- return (jsx(Box, Object.assign({ display: "flex", bgcolor: alpha(bgcolor !== null && bgcolor !== void 0 ? bgcolor : theme.palette.background.default, parseFloat(`${opacity}`)), flexGrow: 1, position: "absolute", left: 0, right: 0, top: 0, bottom: 0, justifyContent: "center", alignItems: "center", overflow: "hidden", style: Object.assign({ borderRadius: rounded ? theme.shape.borderRadius : 0 }, style) }, { children: jsx(CircularProgress, Object.assign({ size: size }, props), void 0) }), void 0));
140
+ var BusyCircularProgress = function (_a) {
141
+ var bgcolor = _a.bgcolor, style = _a.style, rounded = _a.rounded, size = _a.size, _b = _a.opacity, opacity = _b === void 0 ? 0.85 : _b, props = __rest(_a, ["bgcolor", "style", "rounded", "size", "opacity"]);
142
+ var theme = useTheme();
143
+ return (jsx(Box, __assign({ display: "flex", bgcolor: alpha(bgcolor !== null && bgcolor !== void 0 ? bgcolor : theme.palette.background.default, parseFloat("".concat(opacity))), flexGrow: 1, position: "absolute", left: 0, right: 0, top: 0, bottom: 0, justifyContent: "center", alignItems: "center", overflow: "hidden", style: __assign({ borderRadius: rounded ? theme.shape.borderRadius : 0 }, style) }, { children: jsx(CircularProgress, __assign({ size: size }, props), void 0) }), void 0));
50
144
  };
51
145
 
52
- const BusyLinearProgress = (_a) => {
53
- var { bgcolor, style, rounded, opacity = 0.85 } = _a, props = __rest(_a, ["bgcolor", "style", "rounded", "opacity"]);
54
- const theme = useTheme();
55
- return (jsx(Box, Object.assign({ display: "flex", flexDirection: "column", bgcolor: alpha(bgcolor !== null && bgcolor !== void 0 ? bgcolor : theme.palette.background.default, parseFloat(`${opacity}`)), position: "absolute", left: 0, right: 0, top: 0, bottom: 0, justifyContent: "flex-start", alignItems: "stretch", overflow: "hidden", style: Object.assign({ borderRadius: rounded ? theme.shape.borderRadius : 0 }, style) }, { children: jsx(LinearProgress, Object.assign({}, props), void 0) }), void 0));
146
+ var BusyLinearProgress = function (_a) {
147
+ var bgcolor = _a.bgcolor, style = _a.style, rounded = _a.rounded, _b = _a.opacity, opacity = _b === void 0 ? 0.85 : _b, props = __rest(_a, ["bgcolor", "style", "rounded", "opacity"]);
148
+ var theme = useTheme();
149
+ return (jsx(Box, __assign({ display: "flex", flexDirection: "column", bgcolor: alpha(bgcolor !== null && bgcolor !== void 0 ? bgcolor : theme.palette.background.default, parseFloat("".concat(opacity))), position: "absolute", left: 0, right: 0, top: 0, bottom: 0, justifyContent: "flex-start", alignItems: "stretch", overflow: "hidden", style: __assign({ borderRadius: rounded ? theme.shape.borderRadius : 0 }, style) }, { children: jsx(LinearProgress, __assign({}, props), void 0) }), void 0));
56
150
  };
57
151
 
58
- const BusyBox = (_a) => {
59
- var { background, children, component, busyVariant = 'circular', busySize, busyOpacity = 0.85, busyColor, busy, busyCircularProps, busyLinearProps, paper, style } = _a, props = __rest(_a, ["background", "children", "component", "busyVariant", "busySize", "busyOpacity", "busyColor", "busy", "busyCircularProps", "busyLinearProps", "paper", "style"]);
60
- const theme = useTheme();
61
- return (jsxs(Box, Object.assign({ component: paper ? Paper : component, position: "relative", style: background
62
- ? Object.assign({ backgroundColor: theme.palette.background.default, color: theme.palette.text.primary }, style) : style }, props, { children: [children, busy && busyVariant === 'linear' ? (jsx(BusyLinearProgress, Object.assign({ color: busyColor, opacity: busyOpacity }, busyLinearProps), void 0)) : null, busy && busyVariant === 'circular' ? (jsx(BusyCircularProgress, Object.assign({ color: busyColor, opacity: busyOpacity, size: busySize }, busyCircularProps), void 0)) : null] }), void 0));
152
+ var BusyBox = function (_a) {
153
+ var background = _a.background, children = _a.children, component = _a.component, _b = _a.busyVariant, busyVariant = _b === void 0 ? 'circular' : _b, busySize = _a.busySize, _c = _a.busyOpacity, busyOpacity = _c === void 0 ? 0.85 : _c, busyColor = _a.busyColor, busy = _a.busy, busyCircularProps = _a.busyCircularProps, busyLinearProps = _a.busyLinearProps, paper = _a.paper, style = _a.style, props = __rest(_a, ["background", "children", "component", "busyVariant", "busySize", "busyOpacity", "busyColor", "busy", "busyCircularProps", "busyLinearProps", "paper", "style"]);
154
+ var theme = useTheme();
155
+ return (jsxs(Box, __assign({ component: paper ? Paper : component, position: "relative", style: background
156
+ ? __assign({ backgroundColor: theme.palette.background.default, color: theme.palette.text.primary }, style) : style }, props, { children: [children, busy && busyVariant === 'linear' ? (jsx(BusyLinearProgress, __assign({ color: busyColor, opacity: busyOpacity }, busyLinearProps), void 0)) : null, busy && busyVariant === 'circular' ? (jsx(BusyCircularProgress, __assign({ color: busyColor, opacity: busyOpacity, size: busySize }, busyCircularProps), void 0)) : null] }), void 0));
63
157
  };
64
158
 
65
- const FlexCol = (props) => {
66
- return jsx(BusyBox, Object.assign({ alignItems: "center", display: "flex", flexDirection: "column", justifyContent: "center" }, props), void 0);
67
- };
68
- const FlexGrowCol = (props) => {
69
- return jsx(FlexCol, Object.assign({ flexGrow: 1 }, props), void 0);
159
+ var FlexCol = function (props) {
160
+ return jsx(BusyBox, __assign({ alignItems: "center", display: "flex", flexDirection: "column", justifyContent: "center" }, props), void 0);
161
+ };
162
+ var FlexGrowCol = function (props) {
163
+ return jsx(FlexCol, __assign({ flexGrow: 1 }, props), void 0);
70
164
  };
71
165
 
72
- const FlexRow = (props) => {
73
- return jsx(BusyBox, Object.assign({ alignItems: "center", display: "flex", flexDirection: "row", justifyContent: "center" }, props), void 0);
74
- };
75
- const FlexGrowRow = (props) => {
76
- return jsx(FlexRow, Object.assign({ flexGrow: 1 }, props), void 0);
166
+ var FlexRow = function (props) {
167
+ return jsx(BusyBox, __assign({ alignItems: "center", display: "flex", flexDirection: "row", justifyContent: "center" }, props), void 0);
168
+ };
169
+ var FlexGrowRow = function (props) {
170
+ return jsx(FlexRow, __assign({ flexGrow: 1 }, props), void 0);
77
171
  };
78
172
 
79
- /**
80
- * @deprecated The functionality of Background is now part of FlexBox. Use the 'background' property to enable the background.
81
- */
82
- const Background = (props) => {
83
- return jsx(FlexRow, Object.assign({}, props), void 0);
173
+ /**
174
+ * @deprecated The functionality of Background is now part of FlexBox. Use the 'background' property to enable the background.
175
+ */
176
+ var Background = function (props) {
177
+ return jsx(FlexRow, __assign({}, props), void 0);
84
178
  };
85
179
 
86
- const ErrorViewer = (props) => {
87
- const { error } = props, boxProps = __rest(props, ["error"]);
88
- const theme = useTheme();
89
- return (jsxs(FlexCol, Object.assign({ color: theme.palette.error.main }, boxProps, { children: [jsx(Typography, Object.assign({ align: "center", variant: "subtitle1" }, { children: error === null || error === void 0 ? void 0 : error.name }), void 0), jsx(Typography, Object.assign({ align: "center", variant: "body2" }, { children: error === null || error === void 0 ? void 0 : error.message }), void 0)] }), void 0));
180
+ var ErrorViewer = function (props) {
181
+ var error = props.error, boxProps = __rest(props, ["error"]);
182
+ var theme = useTheme();
183
+ return (jsxs(FlexCol, __assign({ color: theme.palette.error.main }, boxProps, { children: [jsx(Typography, __assign({ align: "center", variant: "subtitle1" }, { children: error === null || error === void 0 ? void 0 : error.name }), void 0), jsx(Typography, __assign({ align: "center", variant: "body2" }, { children: error === null || error === void 0 ? void 0 : error.message }), void 0)] }), void 0));
90
184
  };
91
185
 
92
- const ErrorsViewer = (props) => {
93
- const { onRetry, errors } = props, boxProps = __rest(props, ["onRetry", "errors"]);
94
- return (jsxs(FlexGrowCol, Object.assign({ padding: 1 }, boxProps, { children: [errors === null || errors === void 0 ? void 0 : errors.map((error, index) => {
95
- return jsx(ErrorViewer, { error: error }, index);
96
- }), onRetry ? (jsx(IconButton, Object.assign({ onClick: onRetry }, { children: jsx(AiOutlineReload, {}, void 0) }), void 0)) : null] }), void 0));
186
+ var ErrorsViewer = function (props) {
187
+ var onRetry = props.onRetry, errors = props.errors, boxProps = __rest(props, ["onRetry", "errors"]);
188
+ return (jsxs(FlexGrowCol, __assign({ padding: 1 }, boxProps, { children: [errors === null || errors === void 0 ? void 0 : errors.map(function (error, index) {
189
+ return jsx(ErrorViewer, { error: error }, index);
190
+ }), onRetry ? (jsx(IconButton, __assign({ onClick: onRetry }, { children: jsx(AiOutlineReload, {}, void 0) }), void 0)) : null] }), void 0));
97
191
  };
98
192
 
99
- const CoverProgress = (props) => {
100
- var _a;
101
- const { paper = true, open, opacity = 0.25, errors, onRetry } = props;
102
- const theme = useTheme();
103
- if (open) {
104
- return (jsx(FlexGrowRow, Object.assign({ position: "absolute", margin: -1, top: 0, bottom: 0, right: 0, left: 0, bgcolor: paper ? theme.palette.background.paper : theme.palette.background.default }, { children: ((_a = errors === null || errors === void 0 ? void 0 : errors.length) !== null && _a !== void 0 ? _a : 0) === 0 ? (jsx(CircularProgress, { style: { opacity } }, void 0)) : (jsx(ErrorsViewer, { margin: 1, errors: errors, onRetry: onRetry }, void 0)) }), void 0));
105
- }
106
- return null;
107
- };
108
-
109
- const HoverScale = (props) => {
110
- const { children, scale = 1.1 } = props;
111
- const useStyles = makeStyles(() => createStyles({
112
- zoomdiv: {
113
- '&:hover': {
114
- transform: `scale(${scale})`,
115
- transitionDuration: '0.2s',
116
- transitionTimingFunction: 'ease',
117
- },
118
- },
119
- }));
120
- const classes = useStyles();
121
- return (jsx(FlexRow, { children: jsx(Box, Object.assign({ className: classes.zoomdiv }, { children: children }), void 0) }, void 0));
122
- };
123
-
124
- const range = (n, in_min, in_max, out_min, out_max) => {
125
- return ((n - in_min) * (out_max - out_min)) / (in_max - in_min) + out_min;
126
- };
127
- const updateCanvas = (canvas, props) => {
128
- const { value = '', size = 400, bg = 'transparent', count = 5, palette, iconPadding = 0 } = props;
129
- let { fg } = props;
130
- const hash = md5(value);
131
- const block = Math.floor(size / count);
132
- const hashcolor = hash.slice(0, 6);
133
- const current = canvas.current;
134
- if (!current) {
135
- return;
136
- }
137
- if (palette && palette.length) {
138
- const index = Math.floor(range(parseInt(hash.slice(-3), 16), 0, 4095, 0, palette.length));
139
- fg = palette[index];
140
- }
141
- current.width = block * count + iconPadding;
142
- current.height = block * count + iconPadding;
143
- const arr = hash.split('').map((el) => {
144
- const parsedEl = parseInt(el, 16);
145
- if (parsedEl < 8) {
146
- return 0;
147
- }
148
- else {
149
- return 1;
150
- }
151
- });
152
- const map = [];
153
- map[0] = map[4] = arr.slice(0, 5);
154
- map[1] = map[3] = arr.slice(5, 10);
155
- map[2] = arr.slice(10, 15);
156
- const ctx = current.getContext('2d');
157
- if (ctx) {
158
- ctx.imageSmoothingEnabled = false;
159
- ctx.clearRect(0, 0, current.width, current.height);
160
- map.forEach((row, i) => {
161
- row.forEach((el, j) => {
162
- if (el) {
163
- ctx.fillStyle = fg ? fg : '#' + hashcolor;
164
- ctx.fillRect(block * i + iconPadding, block * j + iconPadding, block - iconPadding, block - iconPadding);
165
- }
166
- else {
167
- ctx.fillStyle = bg;
168
- ctx.fillRect(block * i + iconPadding, block * j + iconPadding, block - iconPadding, block - iconPadding);
169
- }
170
- });
171
- });
172
- }
173
- };
174
- const Identicon = (_a) => {
175
- var { size = 400, className = 'identicon', bg, count, fg, iconPadding, palette, value } = _a, props = __rest(_a, ["size", "className", "bg", "count", "fg", "iconPadding", "palette", "value"]);
176
- const canvas = useRef(null);
177
- useEffect(() => {
178
- updateCanvas(canvas, { bg, className, count, fg, iconPadding, palette, size, value });
179
- });
180
- return (jsx(FlexRow, Object.assign({}, props, { children: jsx("canvas", { className: className, ref: canvas, style: { height: size, width: size } }, void 0) }), void 0));
193
+ var CoverProgress = function (props) {
194
+ var _a;
195
+ var _b = props.paper, paper = _b === void 0 ? true : _b, open = props.open, _c = props.opacity, opacity = _c === void 0 ? 0.25 : _c, errors = props.errors, onRetry = props.onRetry;
196
+ var theme = useTheme();
197
+ if (open) {
198
+ return (jsx(FlexGrowRow, __assign({ position: "absolute", margin: -1, top: 0, bottom: 0, right: 0, left: 0, bgcolor: paper ? theme.palette.background.paper : theme.palette.background.default }, { children: ((_a = errors === null || errors === void 0 ? void 0 : errors.length) !== null && _a !== void 0 ? _a : 0) === 0 ? (jsx(CircularProgress, { style: { opacity: opacity } }, void 0)) : (jsx(ErrorsViewer, { margin: 1, errors: errors, onRetry: onRetry }, void 0)) }), void 0));
199
+ }
200
+ return null;
181
201
  };
182
202
 
183
- const RedirectWithQuery = ({ to, toOptions }) => {
184
- const newPath = `${to}${document.location.search}`;
185
- const navigate = useNavigate();
186
- const { pathname } = useLocation();
187
- useEffect(() => {
188
- if (newPath !== pathname) {
189
- navigate(newPath, Object.assign({ replace: true }, toOptions));
190
- }
191
- });
192
- return jsx("div", {}, void 0);
203
+ var HoverScale = function (props) {
204
+ var children = props.children, _a = props.scale, scale = _a === void 0 ? 1.1 : _a;
205
+ var useStyles = makeStyles(function () {
206
+ return createStyles({
207
+ zoomdiv: {
208
+ '&:hover': {
209
+ transform: "scale(".concat(scale, ")"),
210
+ transitionDuration: '0.2s',
211
+ transitionTimingFunction: 'ease',
212
+ },
213
+ },
214
+ });
215
+ });
216
+ var classes = useStyles();
217
+ return (jsx(FlexRow, { children: jsx(Box, __assign({ className: classes.zoomdiv }, { children: children }), void 0) }, void 0));
193
218
  };
194
219
 
195
- const ScrollToTopButton = (_a) => {
196
- var { children, anchorId } = _a, props = __rest(_a, ["children", "anchorId"]);
197
- const trigger = useScrollTrigger({
198
- disableHysteresis: true,
199
- threshold: 100,
200
- });
201
- const handleClick = (event) => {
202
- const anchor = (event.target.ownerDocument || document).querySelector(`#${anchorId}`);
203
- if (anchor) {
204
- anchor.scrollIntoView({ behavior: 'smooth', block: 'center' });
205
- }
206
- };
207
- const theme = useTheme();
208
- return (jsx(Zoom, Object.assign({ in: trigger }, props, { children: jsx(Box, Object.assign({ zIndex: 10, position: "fixed", right: theme.spacing(2), bottom: theme.spacing(2), onClick: handleClick, role: "presentation" }, { children: children }), void 0) }), void 0));
220
+ var range = function (n, in_min, in_max, out_min, out_max) {
221
+ return ((n - in_min) * (out_max - out_min)) / (in_max - in_min) + out_min;
222
+ };
223
+ var updateCanvas = function (canvas, props) {
224
+ var _a = props.value, value = _a === void 0 ? '' : _a, _b = props.size, size = _b === void 0 ? 400 : _b, _c = props.bg, bg = _c === void 0 ? 'transparent' : _c, _d = props.count, count = _d === void 0 ? 5 : _d, palette = props.palette, _e = props.iconPadding, iconPadding = _e === void 0 ? 0 : _e;
225
+ var fg = props.fg;
226
+ var hash = md5(value);
227
+ var block = Math.floor(size / count);
228
+ var hashcolor = hash.slice(0, 6);
229
+ var current = canvas.current;
230
+ if (!current) {
231
+ return;
232
+ }
233
+ if (palette && palette.length) {
234
+ var index = Math.floor(range(parseInt(hash.slice(-3), 16), 0, 4095, 0, palette.length));
235
+ fg = palette[index];
236
+ }
237
+ current.width = block * count + iconPadding;
238
+ current.height = block * count + iconPadding;
239
+ var arr = hash.split('').map(function (el) {
240
+ var parsedEl = parseInt(el, 16);
241
+ if (parsedEl < 8) {
242
+ return 0;
243
+ }
244
+ else {
245
+ return 1;
246
+ }
247
+ });
248
+ var map = [];
249
+ map[0] = map[4] = arr.slice(0, 5);
250
+ map[1] = map[3] = arr.slice(5, 10);
251
+ map[2] = arr.slice(10, 15);
252
+ var ctx = current.getContext('2d');
253
+ if (ctx) {
254
+ ctx.imageSmoothingEnabled = false;
255
+ ctx.clearRect(0, 0, current.width, current.height);
256
+ map.forEach(function (row, i) {
257
+ row.forEach(function (el, j) {
258
+ if (el) {
259
+ ctx.fillStyle = fg ? fg : '#' + hashcolor;
260
+ ctx.fillRect(block * i + iconPadding, block * j + iconPadding, block - iconPadding, block - iconPadding);
261
+ }
262
+ else {
263
+ ctx.fillStyle = bg;
264
+ ctx.fillRect(block * i + iconPadding, block * j + iconPadding, block - iconPadding, block - iconPadding);
265
+ }
266
+ });
267
+ });
268
+ }
269
+ };
270
+ var Identicon = function (_a) {
271
+ var _b = _a.size, size = _b === void 0 ? 400 : _b, _c = _a.className, className = _c === void 0 ? 'identicon' : _c, bg = _a.bg, count = _a.count, fg = _a.fg, iconPadding = _a.iconPadding, palette = _a.palette, value = _a.value, props = __rest(_a, ["size", "className", "bg", "count", "fg", "iconPadding", "palette", "value"]);
272
+ var canvas = useRef(null);
273
+ useEffect(function () {
274
+ updateCanvas(canvas, { bg: bg, className: className, count: count, fg: fg, iconPadding: iconPadding, palette: palette, size: size, value: value });
275
+ });
276
+ return (jsx(FlexRow, __assign({}, props, { children: jsx("canvas", { className: className, ref: canvas, style: { height: size, width: size } }, void 0) }), void 0));
209
277
  };
210
278
 
211
- const AppBarEx = (props) => {
212
- const { contextToolbar, systemToolbar, container, style } = props, appbarProps = __rest(props, ["contextToolbar", "systemToolbar", "container", "style"]);
213
- const theme = useTheme();
214
- const AppBarExInner = () => {
215
- return (jsxs(FlexGrowRow, Object.assign({ justifyContent: "space-between" }, { children: [contextToolbar !== null && contextToolbar !== void 0 ? contextToolbar : jsx(Toolbar, {}, void 0), systemToolbar !== null && systemToolbar !== void 0 ? systemToolbar : jsx(Toolbar, {}, void 0)] }), void 0));
216
- };
217
- return (jsx(AppBar, Object.assign({ position: "static", style: Object.assign({ backgroundColor: theme.palette.background.paper, color: theme.palette.text.primary, display: 'flex' }, style) }, appbarProps, { children: container ? (jsx(Container, Object.assign({ maxWidth: container }, { children: jsx(AppBarExInner, {}, void 0) }), void 0)) : (jsx(AppBarExInner, {}, void 0)) }), void 0));
279
+ var RedirectWithQuery = function (_a) {
280
+ var to = _a.to, toOptions = _a.toOptions;
281
+ var newPath = "".concat(to).concat(document.location.search);
282
+ var navigate = useNavigate();
283
+ var pathname = useLocation().pathname;
284
+ useEffect(function () {
285
+ if (newPath !== pathname) {
286
+ navigate(newPath, __assign({ replace: true }, toOptions));
287
+ }
288
+ });
289
+ return jsx("div", {}, void 0);
218
290
  };
219
291
 
220
- const CookieConsentContext = createContext({});
292
+ var ScrollToTopButton = function (_a) {
293
+ var children = _a.children, anchorId = _a.anchorId, props = __rest(_a, ["children", "anchorId"]);
294
+ var trigger = useScrollTrigger({
295
+ disableHysteresis: true,
296
+ threshold: 100,
297
+ });
298
+ var handleClick = function (event) {
299
+ var anchor = (event.target.ownerDocument || document).querySelector("#".concat(anchorId));
300
+ if (anchor) {
301
+ anchor.scrollIntoView({ behavior: 'smooth', block: 'center' });
302
+ }
303
+ };
304
+ var theme = useTheme();
305
+ return (jsx(Zoom, __assign({ in: trigger }, props, { children: jsx(Box, __assign({ zIndex: 10, position: "fixed", right: theme.spacing(2), bottom: theme.spacing(2), onClick: handleClick, role: "presentation" }, { children: children }), void 0) }), void 0));
306
+ };
221
307
 
222
- const CookiesAcceptedLocalStorageName = 'CookiesAccepted';
223
- const CookieConsentLoader = ({ children }) => {
224
- const getAcceptedFromLocalStorage = () => {
225
- return localStorage.getItem(CookiesAcceptedLocalStorageName) === 'true';
226
- };
227
- const setAcceptedToLocalStorage = (accepted) => {
228
- localStorage.setItem(CookiesAcceptedLocalStorageName, accepted ? 'true' : 'false');
229
- };
230
- const [accepted, setAccepted] = useState(getAcceptedFromLocalStorage());
231
- const setAcceptedHandler = (accepted) => {
232
- setAcceptedToLocalStorage(accepted);
233
- setAccepted(accepted);
234
- };
235
- const clearAccepted = () => {
236
- localStorage.removeItem(CookiesAcceptedLocalStorageName);
237
- setAccepted(getAcceptedFromLocalStorage());
238
- };
239
- return (jsx(CookieConsentContext.Provider, Object.assign({ value: { accepted, clearAccepted, setAccepted: setAcceptedHandler, storageName: CookiesAcceptedLocalStorageName } }, { children: children }), void 0));
308
+ var AppBarEx = function (props) {
309
+ var contextToolbar = props.contextToolbar, systemToolbar = props.systemToolbar, container = props.container, style = props.style, appbarProps = __rest(props, ["contextToolbar", "systemToolbar", "container", "style"]);
310
+ var theme = useTheme();
311
+ var AppBarExInner = function () {
312
+ return (jsxs(FlexGrowRow, __assign({ justifyContent: "space-between" }, { children: [contextToolbar !== null && contextToolbar !== void 0 ? contextToolbar : jsx(Toolbar, {}, void 0), systemToolbar !== null && systemToolbar !== void 0 ? systemToolbar : jsx(Toolbar, {}, void 0)] }), void 0));
313
+ };
314
+ return (jsx(AppBar, __assign({ position: "static", style: __assign({ backgroundColor: theme.palette.background.paper, color: theme.palette.text.primary, display: 'flex' }, style) }, appbarProps, { children: container ? (jsx(Container, __assign({ maxWidth: container }, { children: jsx(AppBarExInner, {}, void 0) }), void 0)) : (jsx(AppBarExInner, {}, void 0)) }), void 0));
240
315
  };
241
316
 
242
- const useCookieConsent = () => {
243
- return useContext(CookieConsentContext);
317
+ var CookieConsentContext = createContext({});
318
+
319
+ var CookiesAcceptedLocalStorageName = 'CookiesAccepted';
320
+ var CookieConsentLoader = function (_a) {
321
+ var children = _a.children;
322
+ var getAcceptedFromLocalStorage = function () {
323
+ return localStorage.getItem(CookiesAcceptedLocalStorageName) === 'true';
324
+ };
325
+ var setAcceptedToLocalStorage = function (accepted) {
326
+ localStorage.setItem(CookiesAcceptedLocalStorageName, accepted ? 'true' : 'false');
327
+ };
328
+ var _b = __read(useState(getAcceptedFromLocalStorage()), 2), accepted = _b[0], setAccepted = _b[1];
329
+ var setAcceptedHandler = function (accepted) {
330
+ setAcceptedToLocalStorage(accepted);
331
+ setAccepted(accepted);
332
+ };
333
+ var clearAccepted = function () {
334
+ localStorage.removeItem(CookiesAcceptedLocalStorageName);
335
+ setAccepted(getAcceptedFromLocalStorage());
336
+ };
337
+ return (jsx(CookieConsentContext.Provider, __assign({ value: { accepted: accepted, clearAccepted: clearAccepted, setAccepted: setAcceptedHandler, storageName: CookiesAcceptedLocalStorageName } }, { children: children }), void 0));
244
338
  };
245
339
 
246
- const EthersContext = React.createContext({});
340
+ var useCookieConsent = function () {
341
+ return useContext(CookieConsentContext);
342
+ };
247
343
 
248
- const infuraKey = '1d9f8053c65a49cfb99fafaa8ef201c0';
249
- const InfuraEthersLoader = (props) => {
250
- const { children } = props;
251
- const chainId = 1;
252
- const provider = new InfuraProvider(1, infuraKey);
253
- return (jsx(EthersContext.Provider, Object.assign({ value: {
254
- busy: false,
255
- chainId,
256
- isConnected: true,
257
- provider,
258
- signer: null,
259
- } }, { children: children }), void 0));
344
+ var EthersContext = createContext({});
345
+
346
+ var infuraKey = '1d9f8053c65a49cfb99fafaa8ef201c0';
347
+ var InfuraEthersLoader = function (props) {
348
+ var children = props.children;
349
+ var chainId = 1;
350
+ var provider = new InfuraProvider(1, infuraKey);
351
+ return (jsx(EthersContext.Provider, __assign({ value: {
352
+ busy: false,
353
+ chainId: chainId,
354
+ isConnected: true,
355
+ provider: provider,
356
+ signer: null,
357
+ } }, { children: children }), void 0));
260
358
  };
261
359
 
262
- const getApiStage = () => {
263
- return getApiStage$1(document.location.hostname);
360
+ var getApiStage = function () {
361
+ return getApiStage$1(document.location.hostname);
264
362
  };
265
363
 
266
- const isLocalhost = !!(window.location.hostname === 'localhost' ||
267
- // [::1] is the IPv6 localhost address.
268
- window.location.hostname === '[::1]' ||
269
- // 127.0.0.0/8 are considered localhost for IPv4.
364
+ var isLocalhost = !!(window.location.hostname === 'localhost' ||
365
+ // [::1] is the IPv6 localhost address.
366
+ window.location.hostname === '[::1]' ||
367
+ // 127.0.0.0/8 are considered localhost for IPv4.
270
368
  window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));
271
369
 
272
- /* eslint-disable react-hooks/exhaustive-deps */
273
- function useAsyncEffect(effect, inputs) {
274
- useEffect(function () {
275
- let mounted = true;
276
- const promise = effect(() => {
277
- return mounted;
278
- });
279
- Promise.resolve(promise).then((callback) => {
280
- if (callback) {
281
- callback === null || callback === void 0 ? void 0 : callback();
282
- }
283
- });
284
- return function () {
285
- mounted = false;
286
- };
287
- }, inputs !== null && inputs !== void 0 ? inputs : []);
370
+ /* eslint-disable react-hooks/exhaustive-deps */
371
+ function useAsyncEffect(effect, inputs) {
372
+ useEffect(function () {
373
+ var mounted = true;
374
+ var promise = effect(function () {
375
+ return mounted;
376
+ });
377
+ Promise.resolve(promise)
378
+ .then(function (callback) {
379
+ if (callback) {
380
+ callback === null || callback === void 0 ? void 0 : callback();
381
+ }
382
+ })
383
+ .catch(function (reason) {
384
+ console.log("useAsyncEffect Excepted: ".concat(reason));
385
+ });
386
+ return function () {
387
+ mounted = false;
388
+ };
389
+ }, inputs !== null && inputs !== void 0 ? inputs : []);
288
390
  }
289
391
 
290
- let logProfiling = false;
291
- const enableProfileLogging = (enabled) => {
292
- logProfiling = enabled;
293
- };
294
- const profileResults = [];
295
- const profileBlock = async (name, closure) => {
296
- const startTime = Date.now();
297
- await closure();
298
- const endTime = Date.now();
299
- profileResults.push({ endTime, name, startTime });
300
- if (logProfiling) {
301
- console.log(`Timed ${name} [${endTime - startTime}ms]`);
302
- }
392
+ var logProfiling = false;
393
+ var enableProfileLogging = function (enabled) {
394
+ logProfiling = enabled;
303
395
  };
304
-
305
- const getLocalStorageObject = (key, log) => {
306
- var _a;
307
- let result = {};
308
- try {
309
- result = JSON.parse((_a = localStorage.getItem(key)) !== null && _a !== void 0 ? _a : '{}');
310
- }
311
- catch (e) {
312
- log === null || log === void 0 ? void 0 : log.error('getLocalStorageObject', e);
313
- }
314
- return result;
315
- };
316
- const setLocalStorageObject = (key, value, log) => {
317
- try {
318
- localStorage.setItem(key, JSON.stringify(value));
319
- }
320
- catch (e) {
321
- log === null || log === void 0 ? void 0 : log.error('setLocalStorageObject', e);
322
- }
396
+ var profileResults = [];
397
+ var profileBlock = function (name, closure) { return __awaiter(void 0, void 0, void 0, function () {
398
+ var startTime, endTime;
399
+ return __generator(this, function (_a) {
400
+ switch (_a.label) {
401
+ case 0:
402
+ startTime = Date.now();
403
+ return [4 /*yield*/, closure()];
404
+ case 1:
405
+ _a.sent();
406
+ endTime = Date.now();
407
+ profileResults.push({ endTime: endTime, name: name, startTime: startTime });
408
+ if (logProfiling) {
409
+ console.log("Timed ".concat(name, " [").concat(endTime - startTime, "ms]"));
410
+ }
411
+ return [2 /*return*/];
412
+ }
413
+ });
414
+ }); };
415
+
416
+ var getLocalStorageObject = function (key, log) {
417
+ var _a;
418
+ var result = {};
419
+ try {
420
+ result = JSON.parse((_a = localStorage.getItem(key)) !== null && _a !== void 0 ? _a : '{}');
421
+ }
422
+ catch (e) {
423
+ log === null || log === void 0 ? void 0 : log.error('getLocalStorageObject', e);
424
+ }
425
+ return result;
323
426
  };
324
-
325
- const getSessionStorageObject = (key, log) => {
326
- var _a;
327
- let result = {};
328
- try {
329
- result = JSON.parse((_a = sessionStorage.getItem(key)) !== null && _a !== void 0 ? _a : '{}');
330
- }
331
- catch (e) {
332
- log === null || log === void 0 ? void 0 : log.error('getSessionStorageObject', e);
333
- }
334
- return result;
335
- };
336
- const setSessionStorageObject = (key, value, log) => {
337
- try {
338
- sessionStorage.setItem(key, JSON.stringify(value));
339
- }
340
- catch (e) {
341
- log === null || log === void 0 ? void 0 : log.error('setSessionStorageObject', e);
342
- }
427
+ var setLocalStorageObject = function (key, value, log) {
428
+ try {
429
+ localStorage.setItem(key, JSON.stringify(value));
430
+ }
431
+ catch (e) {
432
+ log === null || log === void 0 ? void 0 : log.error('setLocalStorageObject', e);
433
+ }
343
434
  };
344
435
 
345
- class Referrer {
346
- constructor() {
347
- var _a, _b;
348
- this.session = (_a = this.getFromSession()) !== null && _a !== void 0 ? _a : document.referrer;
349
- sessionStorage.setItem(Referrer.storageId, this.session);
350
- this.local = (_b = this.getFromLocal()) !== null && _b !== void 0 ? _b : document.referrer;
351
- localStorage.setItem(Referrer.storageId, this.local);
352
- }
353
- getFromLocal() {
354
- const value = localStorage.getItem(Referrer.storageId);
355
- if (value && value.length > 0) {
356
- return value;
357
- }
358
- }
359
- getFromSession() {
360
- const value = sessionStorage.getItem(Referrer.storageId);
361
- if (value && value.length > 0) {
362
- return value;
363
- }
364
- }
365
- toJson() {
366
- if ((this.local && this.local.length > 0) || (this.session && this.session.length > 0)) {
367
- return {
368
- local: this.local,
369
- session: this.session,
370
- };
371
- }
372
- }
373
- }
374
- Referrer.storageId = '_coin_referrer';
375
-
376
- class XyoUserEventHandler extends UserEventHandler {
377
- constructor(handlers = []) {
378
- super();
379
- this.handlers = handlers;
380
- }
381
- async testStarted(data) {
382
- await Promise.allSettled(this.handlers.map((handler) => handler.testStarted(data)));
383
- }
384
- async funnelStarted(data) {
385
- await Promise.allSettled(this.handlers.map((handler) => handler.funnelStarted(data)));
386
- }
387
- async viewContent(data) {
388
- await Promise.allSettled(this.handlers.map((handler) => handler.viewContent(data)));
389
- }
390
- async userClick(data) {
391
- await Promise.allSettled(this.handlers.map((handler) => handler.userClick(data)));
392
- }
393
- }
394
-
395
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
396
- const global = window;
397
-
398
- class DripBaseEvent {
399
- constructor(name, param) {
400
- this.name = name;
401
- this.param = param;
402
- this.dcq = this.getDcq();
403
- this.dcs = this.getDcs();
404
- }
405
- async send(data) {
406
- const payload = [this.name];
407
- if (this.param) {
408
- payload.push(this.param);
409
- }
410
- payload.push(data);
411
- this.dcq.push(payload);
412
- await delay(0);
413
- }
414
- getDcq() {
415
- if (!global._dcq) {
416
- throw Error('DCQ not found');
417
- }
418
- return global._dcq;
419
- }
420
- getDcs() {
421
- if (!global._dcs) {
422
- throw Error('DCS not found');
423
- }
424
- return global._dcs;
425
- }
426
- }
427
-
428
- class DripCustomEvent extends DripBaseEvent {
429
- }
430
-
431
- class DripStandardEvents {
432
- identify() {
433
- return new DripBaseEvent('identify');
434
- }
435
- }
436
-
437
- class Fbq {
438
- constructor(pixelId) {
439
- this.pixelId = pixelId;
440
- this.fbq = function () {
441
- // eslint-disable-next-line prefer-rest-params,prefer-spread
442
- this.fbq.callMethod ? this.fbq.callMethod.apply(this.fbq, arguments) : this.fbq.queue.push(arguments);
443
- };
444
- this.fbq.push = this.fbq;
445
- this.fbq.loaded = true;
446
- this.fbq.version = '2.0';
447
- this.fbq.queue = [];
448
- //we have to set these to globals because that is where the facebook script looks for them
449
- global.fbq = this.fbq;
450
- global._fbq = this.fbq;
451
- this.fbq('init', pixelId);
452
- this.fbq('track', 'PageView');
453
- }
454
- static init(pixelId) {
455
- if (!this.instance) {
456
- this.instance = new Fbq(pixelId);
457
- }
458
- return this.instance;
459
- }
460
- async track(event, data) {
461
- this.fbq('track', event, Object.assign({}, data));
462
- await delay(0);
463
- }
464
- async trackCustom(event, data) {
465
- this.fbq('trackCustom', event, Object.assign({}, data));
466
- await delay(0);
467
- }
468
- }
469
-
470
- class FacebookBaseEvent {
471
- constructor(name) {
472
- this.name = name;
473
- this.fbq = assertEx(Fbq.instance, 'Missing Fbq');
474
- }
475
- async send(_data) {
476
- await delay(0); //force async to increase reporting odds
477
- }
478
- }
479
-
480
- class FacebookCustomEvent extends FacebookBaseEvent {
481
- async send(data) {
482
- this.fbq.trackCustom(this.name, data);
483
- await delay(0); //force async to increase reporting odds
484
- }
485
- }
486
-
487
- class FacebookStandardEvent extends FacebookBaseEvent {
488
- async send(data) {
489
- this.fbq.track(this.name, data);
490
- await delay(0); //force async to increase reporting odds
491
- }
492
- }
493
-
494
- class FacebookStandardEvents {
495
- addPaymentInfo() {
496
- return new FacebookStandardEvent('AddPaymentInfo');
497
- }
498
- addToCart() {
499
- return new FacebookStandardEvent('AddToCart');
500
- }
501
- addToWishList() {
502
- return new FacebookStandardEvent('AddToWishList');
503
- }
504
- completedRegistration() {
505
- return new FacebookStandardEvent('CompleteRegistration');
506
- }
507
- contact() {
508
- return new FacebookStandardEvent('Contact');
509
- }
510
- customizeProduct() {
511
- return new FacebookStandardEvent('CustomizeProduct');
512
- }
513
- donate() {
514
- return new FacebookStandardEvent('Donate');
515
- }
516
- findLocation() {
517
- return new FacebookStandardEvent('FindLocation');
518
- }
519
- initiateCheckout() {
520
- return new FacebookStandardEvent('InitiateCheckout');
521
- }
522
- lead() {
523
- return new FacebookStandardEvent('Lead');
524
- }
525
- pageView() {
526
- return new FacebookStandardEvent('PageView');
527
- }
528
- purchase() {
529
- return new FacebookStandardEvent('Purchase');
530
- }
531
- schedule() {
532
- return new FacebookStandardEvent('Schedule');
533
- }
534
- search() {
535
- return new FacebookStandardEvent('Search');
536
- }
537
- startTrial() {
538
- return new FacebookStandardEvent('StartTrial');
539
- }
540
- submitApplication() {
541
- return new FacebookStandardEvent('SubmitApplication');
542
- }
543
- subscribe() {
544
- return new FacebookStandardEvent('Subscribe');
545
- }
546
- viewContent() {
547
- return new FacebookStandardEvent('ViewContent');
548
- }
549
- }
550
-
551
- class Gtag {
552
- constructor(ga4id, awid, domains) {
553
- var _a, _b;
554
- this.ga4id = ga4id;
555
- this.awid = awid;
556
- this.domains = domains;
557
- global.dataLayer = global.dataLayer || [];
558
- this.gtag = function () {
559
- // eslint-disable-next-line prefer-rest-params
560
- global.dataLayer.push(arguments);
561
- };
562
- global.gtag = this.gtag;
563
- this.gtag('js', new Date());
564
- this.gtag('config', ga4id);
565
- //this.gtag('config', awid) - this is configured in the Data Stream in Google Analytics
566
- const parsedQueryString = parse(document.location.search);
567
- //we handle the utm_referrer here incase a referrer was forwarded (special.coinapp.co does this)
568
- sessionStorage.setItem('initialReferrer', decodeURIComponent((_b = (_a = parsedQueryString['utm_referrer']) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : document.referrer));
569
- delete parsedQueryString['utm_referrer'];
570
- const remainingSearch = parsedQueryString ? stringify(parsedQueryString) : '';
571
- sessionStorage.setItem('initialQuery', remainingSearch);
572
- sessionStorage.setItem('initialPage', document.location.href);
573
- }
574
- updatePagePath(page_path) {
575
- const ga4id = assertEx(this.ga4id, 'Missing GA4ID');
576
- const pathOnly = page_path.split('?')[0];
577
- const search = Gtag.getInitialQuery();
578
- this.gtag('config', ga4id, { page_path: `${pathOnly}${search}` });
579
- }
580
- //
581
- static getInitialQuery() {
582
- return sessionStorage.getItem('initialQuery') || '';
583
- }
584
- static getInitialPage() {
585
- return sessionStorage.getItem('initialPage') || '';
586
- }
587
- static getInitialReferrer() {
588
- return sessionStorage.getItem('initialReferrer') || '';
589
- }
590
- static clearDataLayer() {
591
- const dataLayer = global.dataLayer;
592
- dataLayer.length = 0;
593
- }
594
- static init(ga4id, awid, domains) {
595
- if (!this.instance) {
596
- return this.reinit(ga4id, awid, domains);
597
- }
598
- return this.instance;
599
- }
600
- static reinit(ga4id, awid, domains) {
601
- this.instance = new Gtag(ga4id, awid, domains);
602
- return this.instance;
603
- }
604
- static updatePagePath(page_path) {
605
- const instance = assertEx(this.instance, 'Not initialized');
606
- return instance.updatePagePath(page_path);
607
- }
608
- sendAnalytics(event, data) {
609
- return new Promise((resolve) => {
610
- this.gtag('event', event, Object.assign(Object.assign({}, data), { event_callback: () => {
611
- resolve();
612
- }, event_timeout: 2000, page_location: Gtag.getInitialPage(), page_referrer: Gtag.getInitialReferrer(), send_to: this.ga4id }));
613
- });
614
- }
615
- sendAdwords(event, data) {
616
- return new Promise((resolve) => {
617
- this.gtag('event', 'conversion', Object.assign(Object.assign({}, data), { event_callback: () => {
618
- resolve();
619
- }, event_timeout: 2000, send_to: `${this.awid}/${event}` }));
620
- });
621
- }
622
- }
623
-
624
- class Gtm {
625
- constructor(containerId) {
626
- this.containerId = containerId;
627
- const global = window;
628
- global.dataLayer = global.dataLayer || [];
629
- global.dataLayer.push({ event: 'gtm.js', 'gtm.start': new Date().getTime() });
630
- }
631
- static getInitialQuery() {
632
- return sessionStorage.getItem('initialQuery') || '';
633
- }
634
- static clearDataLayer() {
635
- const global = window;
636
- const dataLayer = global.dataLayer;
637
- dataLayer.length = 0;
638
- }
639
- static init(containerId) {
640
- if (!this.instance) {
641
- this.instance = new Gtm(containerId);
642
- }
643
- return this.instance;
644
- }
645
- send(event, data, eventTimeout = 500) {
646
- return new Promise((resolve) => {
647
- var _a;
648
- const global = window;
649
- (_a = global.dataLayer) === null || _a === void 0 ? void 0 : _a.push(Object.assign(Object.assign({ event }, data), { eventCallback: () => {
650
- resolve();
651
- }, eventTimeout }));
652
- });
653
- }
654
- }
655
-
656
- class GoogleBaseEvent {
657
- constructor(name, adwordConversionId) {
658
- this.name = name;
659
- this.adwordConversionId = adwordConversionId;
660
- }
661
- async send(data) {
662
- return await this.sendGtag(data);
663
- }
664
- async sendGtag(data) {
665
- await this.gtag().sendAnalytics(this.name, data);
666
- if (this.adwordConversionId) {
667
- await this.gtag().sendAdwords(this.adwordConversionId, data);
668
- }
669
- }
670
- async sendGtm(data) {
671
- await this.gtm().send(this.name, data);
672
- }
673
- gtag() {
674
- return assertEx(Gtag.instance, 'Missing/uninitialized gtag');
675
- }
676
- gtm() {
677
- return assertEx(Gtm.instance, 'Missing/uninitialized gtm');
678
- }
679
- }
680
-
681
- class GoogleCustomEvent extends GoogleBaseEvent {
682
- }
683
-
684
- class GoogleUserEventHandler {
685
- async testStarted(data) {
686
- const event = new GoogleCustomEvent('TestStarted');
687
- return await event.send(data);
688
- }
689
- async funnelStarted(data) {
690
- const event = new GoogleCustomEvent('FunnelStarted');
691
- return await event.send(data);
692
- }
693
- async viewContent(data) {
694
- const event = new GoogleCustomEvent('ViewContent');
695
- return await event.send(data);
696
- }
697
- async userClick(data) {
698
- const event = new GoogleCustomEvent('UserClick');
699
- return await event.send(data);
700
- }
701
- }
702
-
703
- class GoogleStandardEvent extends GoogleBaseEvent {
704
- }
705
-
706
- class GoogleStandardEvents {
707
- addPaymentInfo() {
708
- return new GoogleStandardEvent('add_paymennt_info');
709
- }
710
- addShippingInfo() {
711
- return new GoogleStandardEvent('add_shipping_info');
712
- }
713
- addToCart() {
714
- return new GoogleStandardEvent('add_to_cart');
715
- }
716
- addToWishList() {
717
- return new GoogleStandardEvent('add_to_wishlist');
718
- }
719
- beginCheckout() {
720
- return new GoogleStandardEvent('begin_checkout');
721
- }
722
- earnVirtualCurrency() {
723
- return new GoogleStandardEvent('earn_virtual_currency');
724
- }
725
- generateLead() {
726
- return new GoogleStandardEvent('generate_lead');
727
- }
728
- joinGroup() {
729
- return new GoogleStandardEvent('join_group');
730
- }
731
- levelEnd() {
732
- return new GoogleStandardEvent('level_end');
733
- }
734
- levelStart() {
735
- return new GoogleStandardEvent('level_start');
736
- }
737
- levelUp() {
738
- return new GoogleStandardEvent('level_up');
739
- }
740
- login() {
741
- return new GoogleStandardEvent('login');
742
- }
743
- postScore() {
744
- return new GoogleStandardEvent('post_score');
745
- }
746
- purchase() {
747
- return new GoogleStandardEvent('purchase');
748
- }
749
- refund() {
750
- return new GoogleStandardEvent('refund');
751
- }
752
- removeFromCart() {
753
- return new GoogleStandardEvent('remove_from_cart');
754
- }
755
- search() {
756
- return new GoogleStandardEvent('search');
757
- }
758
- selectContent() {
759
- return new GoogleStandardEvent('select_content');
760
- }
761
- selectItem() {
762
- return new GoogleStandardEvent('select_item');
763
- }
764
- selectPromotion() {
765
- return new GoogleStandardEvent('select_promotion');
766
- }
767
- share() {
768
- return new GoogleStandardEvent('share');
769
- }
770
- signUp() {
771
- return new GoogleStandardEvent('sign_up');
772
- }
773
- spendVirtualCurrency() {
774
- return new GoogleStandardEvent('spend_virtual_currency');
775
- }
776
- tutorialBegin() {
777
- return new GoogleStandardEvent('tutorial_begin');
778
- }
779
- tutorialComplete() {
780
- return new GoogleStandardEvent('tutorial_complete');
781
- }
782
- unlockAchievement() {
783
- return new GoogleStandardEvent('unlock_achievement');
784
- }
785
- viewCart() {
786
- return new GoogleStandardEvent('view_cart');
787
- }
788
- viewItem() {
789
- return new GoogleStandardEvent('view_item');
790
- }
791
- viewItemList() {
792
- return new GoogleStandardEvent('view_item_list');
793
- }
794
- viewPromotion() {
795
- return new GoogleStandardEvent('view_promotion');
796
- }
797
- }
798
-
799
- class Rdt {
800
- static init(pixelId) {
801
- try {
802
- Rdt.instance = new Rdt();
803
- Rdt.instance.load(pixelId);
804
- Rdt.instance.track('PageVisit');
805
- }
806
- catch (ex) {
807
- console.error(ex);
808
- }
809
- }
810
- static getRdt() {
811
- return global.rdt;
812
- }
813
- load(id) {
814
- try {
815
- Rdt.getRdt()('init', id);
816
- }
817
- catch (ex) {
818
- console.error(ex);
819
- }
820
- }
821
- async track(event, data) {
822
- try {
823
- Rdt.getRdt()('track', event, Object.assign({}, data));
824
- await delay(0);
825
- }
826
- catch (ex) {
827
- console.error(ex);
828
- }
829
- }
830
- }
831
-
832
- class RedditBaseEvent {
833
- constructor(name) {
834
- this.name = name;
835
- this.rdt = assertEx(Rdt.instance, 'Missing Rdt');
836
- }
837
- async send(_data) {
838
- await delay(0); //force async to increase reporting odds
839
- }
840
- }
841
-
842
- class RedditCustomEvent extends RedditBaseEvent {
843
- async send(data) {
844
- this.rdt.track(this.name, data);
845
- await delay(0); //force async to increase reporting odds
846
- }
847
- }
848
-
849
- class RedditStandardEvent extends RedditBaseEvent {
850
- async send(data) {
851
- this.rdt.track(this.name, data);
852
- await delay(0); //force async to increase reporting odds
853
- }
854
- }
855
-
856
- class RedditStandardEvents {
857
- pageView() {
858
- return new RedditStandardEvent('PageView');
859
- }
860
- viewContent() {
861
- return new RedditStandardEvent('ViewContent');
862
- }
863
- addToCart() {
864
- return new RedditStandardEvent('AddToCart');
865
- }
866
- addToWishlist() {
867
- return new RedditStandardEvent('AddToWishlist');
868
- }
869
- purchase() {
870
- return new RedditStandardEvent('Purchase');
871
- }
872
- signup() {
873
- return new RedditStandardEvent('SignUp');
874
- }
875
- lead() {
876
- return new RedditStandardEvent('Lead');
877
- }
878
- search() {
879
- return new RedditStandardEvent('Search');
880
- }
881
- }
882
-
883
- class SnapTr {
884
- static getSnapTr() {
885
- return global.snaptr;
886
- }
887
- static init(pixelId) {
888
- this.pixelId = pixelId;
889
- this.track('PAGE_VIEW');
890
- }
891
- static async track(event, data) {
892
- this.getSnapTr()('init', this.pixelId);
893
- this.getSnapTr()('track', event, data);
894
- await delay(0);
895
- }
896
- }
897
-
898
- class SnapchatBaseEvent {
899
- constructor(name) {
900
- this.name = name;
901
- }
902
- async send(_data) {
903
- await delay(0); //force async to increase reporting odds
904
- }
905
- }
906
-
907
- class SnapchatStandardEvent extends SnapchatBaseEvent {
908
- async send(data) {
909
- await SnapTr.track(this.name, data);
910
- }
911
- }
912
-
913
- class SnapchatStandardEvents {
914
- pageView() {
915
- return new SnapchatStandardEvent('PAGE_VIEW');
916
- }
917
- signUp() {
918
- return new SnapchatStandardEvent('SIGN_UP');
919
- }
920
- purchase() {
921
- return new SnapchatStandardEvent('PURCHASE');
922
- }
923
- save() {
924
- return new SnapchatStandardEvent('SAVE');
925
- }
926
- startCheckout() {
927
- return new SnapchatStandardEvent('START_CHECKOUT');
928
- }
929
- addCart() {
930
- return new SnapchatStandardEvent('ADD_CART');
931
- }
932
- openApp() {
933
- return new SnapchatStandardEvent('OPEN_APP');
934
- }
935
- viewContent() {
936
- return new SnapchatStandardEvent('VIEW_CONTENT');
937
- }
938
- addBilling() {
939
- return new SnapchatStandardEvent('ADD_BILLING');
940
- }
941
- search() {
942
- return new SnapchatStandardEvent('SEARCH');
943
- }
944
- subscribe() {
945
- return new SnapchatStandardEvent('SUBSCRIBE');
946
- }
947
- adClick() {
948
- return new SnapchatStandardEvent('AD_CLICK');
949
- }
950
- adView() {
951
- return new SnapchatStandardEvent('AD_VIEW');
952
- }
953
- completeTutorial() {
954
- return new SnapchatStandardEvent('COMPLETE_TUTORIAL');
955
- }
956
- invite() {
957
- return new SnapchatStandardEvent('INVITE');
958
- }
959
- login() {
960
- return new SnapchatStandardEvent('LOGIN');
961
- }
962
- share() {
963
- return new SnapchatStandardEvent('SHARE');
964
- }
965
- reserve() {
966
- return new SnapchatStandardEvent('RESERVE');
967
- }
968
- achievementUnlocked() {
969
- return new SnapchatStandardEvent('ACHIEVEMENT_UNLOCKED');
970
- }
971
- addToWishlist() {
972
- return new SnapchatStandardEvent('ADD_TO_WISHLIST');
973
- }
974
- spentCredits() {
975
- return new SnapchatStandardEvent('SPENT_CREDITS');
976
- }
977
- rate() {
978
- return new SnapchatStandardEvent('RATE');
979
- }
980
- startTrial() {
981
- return new SnapchatStandardEvent('START_TRIAL');
982
- }
983
- listView() {
984
- return new SnapchatStandardEvent('LIST_VIEW');
985
- }
986
- custom1() {
987
- return new SnapchatStandardEvent('CUSTOM_EVENT_1');
988
- }
989
- custom2() {
990
- return new SnapchatStandardEvent('CUSTOM_EVENT_2');
991
- }
992
- custom3() {
993
- return new SnapchatStandardEvent('CUSTOM_EVENT_3');
994
- }
995
- custom4() {
996
- return new SnapchatStandardEvent('CUSTOM_EVENT_4');
997
- }
998
- custom5() {
999
- return new SnapchatStandardEvent('CUSTOM_EVENT_5');
1000
- }
1001
- }
1002
-
1003
- class Ttq {
1004
- static init(pixelId) {
1005
- try {
1006
- Ttq.instance = new Ttq();
1007
- Ttq.getTtq().load(pixelId);
1008
- Ttq.page();
1009
- }
1010
- catch (ex) {
1011
- console.error(`Ttq.init: ${ex}`);
1012
- }
1013
- }
1014
- static getTtq() {
1015
- return global.ttq;
1016
- }
1017
- static async page() {
1018
- try {
1019
- Ttq.getTtq().page();
1020
- await delay(0);
1021
- }
1022
- catch (ex) {
1023
- console.error(`Ttq.page: ${ex}`);
1024
- }
1025
- }
1026
- async track(event, data) {
1027
- try {
1028
- Ttq.getTtq().track(event, Object.assign({}, data));
1029
- await delay(0);
1030
- }
1031
- catch (ex) {
1032
- console.error(`Ttq.track: ${ex}`);
1033
- }
1034
- }
1035
- }
1036
-
1037
- class TiktokBaseEvent {
1038
- constructor(name) {
1039
- this.name = name;
1040
- this.ttq = assertEx(Ttq.instance, 'Missing Ttq');
1041
- }
1042
- async send(_data) {
1043
- await delay(0); //force async to increase reporting odds
1044
- }
1045
- }
1046
-
1047
- class TiktokCustomEvent extends TiktokBaseEvent {
1048
- async send(data) {
1049
- this.ttq.track(this.name, data);
1050
- await delay(0); //force async to increase reporting odds
1051
- }
1052
- }
1053
-
1054
- class TiktokStandardEvent extends TiktokBaseEvent {
1055
- async send(data) {
1056
- this.ttq.track(this.name, data);
1057
- await delay(0); //force async to increase reporting odds
1058
- }
1059
- }
436
+ var getSessionStorageObject = function (key, log) {
437
+ var _a;
438
+ var result = {};
439
+ try {
440
+ result = JSON.parse((_a = sessionStorage.getItem(key)) !== null && _a !== void 0 ? _a : '{}');
441
+ }
442
+ catch (e) {
443
+ log === null || log === void 0 ? void 0 : log.error('getSessionStorageObject', e);
444
+ }
445
+ return result;
446
+ };
447
+ var setSessionStorageObject = function (key, value, log) {
448
+ try {
449
+ sessionStorage.setItem(key, JSON.stringify(value));
450
+ }
451
+ catch (e) {
452
+ log === null || log === void 0 ? void 0 : log.error('setSessionStorageObject', e);
453
+ }
454
+ };
1060
455
 
1061
- class TiktokStandardEvents {
1062
- pageView() {
1063
- return new TiktokStandardEvent('Browse');
1064
- }
1065
- viewContent() {
1066
- return new TiktokStandardEvent('ViewContent');
1067
- }
1068
- addToCart() {
1069
- return new TiktokStandardEvent('AddToCart');
1070
- }
1071
- checkout() {
1072
- return new TiktokStandardEvent('Checkout');
1073
- }
1074
- purchase() {
1075
- return new TiktokStandardEvent('Purchase');
1076
- }
1077
- registration() {
1078
- return new TiktokStandardEvent('Registration');
1079
- }
1080
- startCheckout() {
1081
- return new TiktokStandardEvent('StartCheckout');
1082
- }
1083
- addBilling() {
1084
- return new TiktokStandardEvent('AddBilling');
1085
- }
1086
- search() {
1087
- return new TiktokStandardEvent('Search');
1088
- }
1089
- viewForm() {
1090
- return new TiktokStandardEvent('ViewForm');
1091
- }
1092
- clickForm() {
1093
- return new TiktokStandardEvent('ClickForm');
1094
- }
1095
- submitForm() {
1096
- return new TiktokStandardEvent('SubmitForm');
1097
- }
1098
- viewDownloadPage() {
1099
- return new TiktokStandardEvent('ViewDownloadPage');
1100
- }
1101
- clickInDownloadPage() {
1102
- return new TiktokStandardEvent('ClickInDownloadPage');
1103
- }
1104
- clickToDownload() {
1105
- return new TiktokStandardEvent('ClickToDownload');
1106
- }
1107
- clickButton() {
1108
- return new TiktokStandardEvent('ClickButton');
1109
- }
1110
- }
456
+ var Referrer = /** @class */ (function () {
457
+ function Referrer() {
458
+ var _a, _b;
459
+ this.session = (_a = this.getFromSession()) !== null && _a !== void 0 ? _a : document.referrer;
460
+ sessionStorage.setItem(Referrer.storageId, this.session);
461
+ this.local = (_b = this.getFromLocal()) !== null && _b !== void 0 ? _b : document.referrer;
462
+ localStorage.setItem(Referrer.storageId, this.local);
463
+ }
464
+ Referrer.prototype.getFromLocal = function () {
465
+ var value = localStorage.getItem(Referrer.storageId);
466
+ if (value && value.length > 0) {
467
+ return value;
468
+ }
469
+ };
470
+ Referrer.prototype.getFromSession = function () {
471
+ var value = sessionStorage.getItem(Referrer.storageId);
472
+ if (value && value.length > 0) {
473
+ return value;
474
+ }
475
+ };
476
+ Referrer.prototype.toJson = function () {
477
+ if ((this.local && this.local.length > 0) || (this.session && this.session.length > 0)) {
478
+ return {
479
+ local: this.local,
480
+ session: this.session,
481
+ };
482
+ }
483
+ };
484
+ Referrer.storageId = '_coin_referrer';
485
+ return Referrer;
486
+ }());
487
+
488
+ var XyoUserEventHandler = /** @class */ (function (_super) {
489
+ __extends(XyoUserEventHandler, _super);
490
+ function XyoUserEventHandler(handlers) {
491
+ if (handlers === void 0) { handlers = []; }
492
+ var _this = _super.call(this) || this;
493
+ _this.handlers = handlers;
494
+ return _this;
495
+ }
496
+ XyoUserEventHandler.prototype.testStarted = function (data) {
497
+ return __awaiter(this, void 0, void 0, function () {
498
+ return __generator(this, function (_a) {
499
+ switch (_a.label) {
500
+ case 0: return [4 /*yield*/, Promise.allSettled(this.handlers.map(function (handler) { return handler.testStarted(data); }))];
501
+ case 1:
502
+ _a.sent();
503
+ return [2 /*return*/];
504
+ }
505
+ });
506
+ });
507
+ };
508
+ XyoUserEventHandler.prototype.funnelStarted = function (data) {
509
+ return __awaiter(this, void 0, void 0, function () {
510
+ return __generator(this, function (_a) {
511
+ switch (_a.label) {
512
+ case 0: return [4 /*yield*/, Promise.allSettled(this.handlers.map(function (handler) { return handler.funnelStarted(data); }))];
513
+ case 1:
514
+ _a.sent();
515
+ return [2 /*return*/];
516
+ }
517
+ });
518
+ });
519
+ };
520
+ XyoUserEventHandler.prototype.viewContent = function (data) {
521
+ return __awaiter(this, void 0, void 0, function () {
522
+ return __generator(this, function (_a) {
523
+ switch (_a.label) {
524
+ case 0: return [4 /*yield*/, Promise.allSettled(this.handlers.map(function (handler) { return handler.viewContent(data); }))];
525
+ case 1:
526
+ _a.sent();
527
+ return [2 /*return*/];
528
+ }
529
+ });
530
+ });
531
+ };
532
+ XyoUserEventHandler.prototype.userClick = function (data) {
533
+ return __awaiter(this, void 0, void 0, function () {
534
+ return __generator(this, function (_a) {
535
+ switch (_a.label) {
536
+ case 0: return [4 /*yield*/, Promise.allSettled(this.handlers.map(function (handler) { return handler.userClick(data); }))];
537
+ case 1:
538
+ _a.sent();
539
+ return [2 /*return*/];
540
+ }
541
+ });
542
+ });
543
+ };
544
+ return XyoUserEventHandler;
545
+ }(UserEventHandler));
546
+
547
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
548
+ var global = window;
549
+
550
+ var DripBaseEvent = /** @class */ (function () {
551
+ function DripBaseEvent(name, param) {
552
+ this.name = name;
553
+ this.param = param;
554
+ this.dcq = this.getDcq();
555
+ this.dcs = this.getDcs();
556
+ }
557
+ DripBaseEvent.prototype.send = function (data) {
558
+ return __awaiter(this, void 0, void 0, function () {
559
+ var payload;
560
+ return __generator(this, function (_a) {
561
+ switch (_a.label) {
562
+ case 0:
563
+ payload = [this.name];
564
+ if (this.param) {
565
+ payload.push(this.param);
566
+ }
567
+ payload.push(data);
568
+ this.dcq.push(payload);
569
+ return [4 /*yield*/, delay(0)];
570
+ case 1:
571
+ _a.sent();
572
+ return [2 /*return*/];
573
+ }
574
+ });
575
+ });
576
+ };
577
+ DripBaseEvent.prototype.getDcq = function () {
578
+ if (!global._dcq) {
579
+ throw Error('DCQ not found');
580
+ }
581
+ return global._dcq;
582
+ };
583
+ DripBaseEvent.prototype.getDcs = function () {
584
+ if (!global._dcs) {
585
+ throw Error('DCS not found');
586
+ }
587
+ return global._dcs;
588
+ };
589
+ return DripBaseEvent;
590
+ }());
591
+
592
+ var DripCustomEvent = /** @class */ (function (_super) {
593
+ __extends(DripCustomEvent, _super);
594
+ function DripCustomEvent() {
595
+ return _super !== null && _super.apply(this, arguments) || this;
596
+ }
597
+ return DripCustomEvent;
598
+ }(DripBaseEvent));
599
+
600
+ var DripStandardEvents = /** @class */ (function () {
601
+ function DripStandardEvents() {
602
+ }
603
+ DripStandardEvents.prototype.identify = function () {
604
+ return new DripBaseEvent('identify');
605
+ };
606
+ return DripStandardEvents;
607
+ }());
608
+
609
+ var Fbq = /** @class */ (function () {
610
+ function Fbq(pixelId) {
611
+ this.pixelId = pixelId;
612
+ this.fbq = function () {
613
+ // eslint-disable-next-line prefer-rest-params,prefer-spread
614
+ this.fbq.callMethod ? this.fbq.callMethod.apply(this.fbq, arguments) : this.fbq.queue.push(arguments);
615
+ };
616
+ this.fbq.push = this.fbq;
617
+ this.fbq.loaded = true;
618
+ this.fbq.version = '2.0';
619
+ this.fbq.queue = [];
620
+ //we have to set these to globals because that is where the facebook script looks for them
621
+ global.fbq = this.fbq;
622
+ global._fbq = this.fbq;
623
+ this.fbq('init', pixelId);
624
+ this.fbq('track', 'PageView');
625
+ }
626
+ Fbq.init = function (pixelId) {
627
+ if (!this.instance) {
628
+ this.instance = new Fbq(pixelId);
629
+ }
630
+ return this.instance;
631
+ };
632
+ Fbq.prototype.track = function (event, data) {
633
+ this.fbq('track', event, __assign({}, data));
634
+ };
635
+ Fbq.prototype.trackCustom = function (event, data) {
636
+ this.fbq('trackCustom', event, __assign({}, data));
637
+ };
638
+ return Fbq;
639
+ }());
640
+
641
+ var FacebookBaseEvent = /** @class */ (function () {
642
+ function FacebookBaseEvent(name) {
643
+ this.name = name;
644
+ this.fbq = assertEx(Fbq.instance, 'Missing Fbq');
645
+ }
646
+ FacebookBaseEvent.prototype.send = function (_data) {
647
+ return __awaiter(this, void 0, void 0, function () {
648
+ return __generator(this, function (_a) {
649
+ switch (_a.label) {
650
+ case 0: return [4 /*yield*/, delay(0)]; //force async to increase reporting odds
651
+ case 1:
652
+ _a.sent(); //force async to increase reporting odds
653
+ return [2 /*return*/];
654
+ }
655
+ });
656
+ });
657
+ };
658
+ return FacebookBaseEvent;
659
+ }());
660
+
661
+ var FacebookCustomEvent = /** @class */ (function (_super) {
662
+ __extends(FacebookCustomEvent, _super);
663
+ function FacebookCustomEvent() {
664
+ return _super !== null && _super.apply(this, arguments) || this;
665
+ }
666
+ FacebookCustomEvent.prototype.send = function (data) {
667
+ return __awaiter(this, void 0, void 0, function () {
668
+ return __generator(this, function (_a) {
669
+ switch (_a.label) {
670
+ case 0:
671
+ this.fbq.trackCustom(this.name, data);
672
+ return [4 /*yield*/, delay(0)]; //force async to increase reporting odds
673
+ case 1:
674
+ _a.sent(); //force async to increase reporting odds
675
+ return [2 /*return*/];
676
+ }
677
+ });
678
+ });
679
+ };
680
+ return FacebookCustomEvent;
681
+ }(FacebookBaseEvent));
682
+
683
+ var FacebookStandardEvent = /** @class */ (function (_super) {
684
+ __extends(FacebookStandardEvent, _super);
685
+ function FacebookStandardEvent() {
686
+ return _super !== null && _super.apply(this, arguments) || this;
687
+ }
688
+ FacebookStandardEvent.prototype.send = function (data) {
689
+ return __awaiter(this, void 0, void 0, function () {
690
+ return __generator(this, function (_a) {
691
+ switch (_a.label) {
692
+ case 0:
693
+ this.fbq.track(this.name, data);
694
+ return [4 /*yield*/, delay(0)]; //force async to increase reporting odds
695
+ case 1:
696
+ _a.sent(); //force async to increase reporting odds
697
+ return [2 /*return*/];
698
+ }
699
+ });
700
+ });
701
+ };
702
+ return FacebookStandardEvent;
703
+ }(FacebookBaseEvent));
704
+
705
+ var FacebookStandardEvents = /** @class */ (function () {
706
+ function FacebookStandardEvents() {
707
+ }
708
+ FacebookStandardEvents.prototype.addPaymentInfo = function () {
709
+ return new FacebookStandardEvent('AddPaymentInfo');
710
+ };
711
+ FacebookStandardEvents.prototype.addToCart = function () {
712
+ return new FacebookStandardEvent('AddToCart');
713
+ };
714
+ FacebookStandardEvents.prototype.addToWishList = function () {
715
+ return new FacebookStandardEvent('AddToWishList');
716
+ };
717
+ FacebookStandardEvents.prototype.completedRegistration = function () {
718
+ return new FacebookStandardEvent('CompleteRegistration');
719
+ };
720
+ FacebookStandardEvents.prototype.contact = function () {
721
+ return new FacebookStandardEvent('Contact');
722
+ };
723
+ FacebookStandardEvents.prototype.customizeProduct = function () {
724
+ return new FacebookStandardEvent('CustomizeProduct');
725
+ };
726
+ FacebookStandardEvents.prototype.donate = function () {
727
+ return new FacebookStandardEvent('Donate');
728
+ };
729
+ FacebookStandardEvents.prototype.findLocation = function () {
730
+ return new FacebookStandardEvent('FindLocation');
731
+ };
732
+ FacebookStandardEvents.prototype.initiateCheckout = function () {
733
+ return new FacebookStandardEvent('InitiateCheckout');
734
+ };
735
+ FacebookStandardEvents.prototype.lead = function () {
736
+ return new FacebookStandardEvent('Lead');
737
+ };
738
+ FacebookStandardEvents.prototype.pageView = function () {
739
+ return new FacebookStandardEvent('PageView');
740
+ };
741
+ FacebookStandardEvents.prototype.purchase = function () {
742
+ return new FacebookStandardEvent('Purchase');
743
+ };
744
+ FacebookStandardEvents.prototype.schedule = function () {
745
+ return new FacebookStandardEvent('Schedule');
746
+ };
747
+ FacebookStandardEvents.prototype.search = function () {
748
+ return new FacebookStandardEvent('Search');
749
+ };
750
+ FacebookStandardEvents.prototype.startTrial = function () {
751
+ return new FacebookStandardEvent('StartTrial');
752
+ };
753
+ FacebookStandardEvents.prototype.submitApplication = function () {
754
+ return new FacebookStandardEvent('SubmitApplication');
755
+ };
756
+ FacebookStandardEvents.prototype.subscribe = function () {
757
+ return new FacebookStandardEvent('Subscribe');
758
+ };
759
+ FacebookStandardEvents.prototype.viewContent = function () {
760
+ return new FacebookStandardEvent('ViewContent');
761
+ };
762
+ return FacebookStandardEvents;
763
+ }());
764
+
765
+ var Gtag = /** @class */ (function () {
766
+ function Gtag(ga4id, awid, domains) {
767
+ var _a, _b;
768
+ this.ga4id = ga4id;
769
+ this.awid = awid;
770
+ this.domains = domains;
771
+ global.dataLayer = global.dataLayer || [];
772
+ this.gtag = function () {
773
+ // eslint-disable-next-line prefer-rest-params
774
+ global.dataLayer.push(arguments);
775
+ };
776
+ global.gtag = this.gtag;
777
+ this.gtag('js', new Date());
778
+ this.gtag('config', ga4id);
779
+ //this.gtag('config', awid) - this is configured in the Data Stream in Google Analytics
780
+ var parsedQueryString = parse(document.location.search);
781
+ //we handle the utm_referrer here incase a referrer was forwarded (special.coinapp.co does this)
782
+ sessionStorage.setItem('initialReferrer', decodeURIComponent((_b = (_a = parsedQueryString['utm_referrer']) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : document.referrer));
783
+ delete parsedQueryString['utm_referrer'];
784
+ var remainingSearch = parsedQueryString ? stringify(parsedQueryString) : '';
785
+ sessionStorage.setItem('initialQuery', remainingSearch);
786
+ sessionStorage.setItem('initialPage', document.location.href);
787
+ }
788
+ Gtag.prototype.updatePagePath = function (page_path) {
789
+ var ga4id = assertEx(this.ga4id, 'Missing GA4ID');
790
+ var pathOnly = page_path.split('?')[0];
791
+ var search = Gtag.getInitialQuery();
792
+ this.gtag('config', ga4id, { page_path: "".concat(pathOnly).concat(search) });
793
+ };
794
+ //
795
+ Gtag.getInitialQuery = function () {
796
+ return sessionStorage.getItem('initialQuery') || '';
797
+ };
798
+ Gtag.getInitialPage = function () {
799
+ return sessionStorage.getItem('initialPage') || '';
800
+ };
801
+ Gtag.getInitialReferrer = function () {
802
+ return sessionStorage.getItem('initialReferrer') || '';
803
+ };
804
+ Gtag.clearDataLayer = function () {
805
+ var dataLayer = global.dataLayer;
806
+ dataLayer.length = 0;
807
+ };
808
+ Gtag.init = function (ga4id, awid, domains) {
809
+ if (!this.instance) {
810
+ return this.reinit(ga4id, awid, domains);
811
+ }
812
+ return this.instance;
813
+ };
814
+ Gtag.reinit = function (ga4id, awid, domains) {
815
+ this.instance = new Gtag(ga4id, awid, domains);
816
+ return this.instance;
817
+ };
818
+ Gtag.updatePagePath = function (page_path) {
819
+ var instance = assertEx(this.instance, 'Not initialized');
820
+ return instance.updatePagePath(page_path);
821
+ };
822
+ Gtag.prototype.sendAnalytics = function (event, data) {
823
+ var _this = this;
824
+ return new Promise(function (resolve) {
825
+ _this.gtag('event', event, __assign(__assign({}, data), { event_callback: function () {
826
+ resolve();
827
+ }, event_timeout: 2000, page_location: Gtag.getInitialPage(), page_referrer: Gtag.getInitialReferrer(), send_to: _this.ga4id }));
828
+ });
829
+ };
830
+ Gtag.prototype.sendAdwords = function (event, data) {
831
+ var _this = this;
832
+ return new Promise(function (resolve) {
833
+ _this.gtag('event', 'conversion', __assign(__assign({}, data), { event_callback: function () {
834
+ resolve();
835
+ }, event_timeout: 2000, send_to: "".concat(_this.awid, "/").concat(event) }));
836
+ });
837
+ };
838
+ return Gtag;
839
+ }());
840
+
841
+ var Gtm = /** @class */ (function () {
842
+ function Gtm(containerId) {
843
+ this.containerId = containerId;
844
+ var global = window;
845
+ global.dataLayer = global.dataLayer || [];
846
+ global.dataLayer.push({ event: 'gtm.js', 'gtm.start': new Date().getTime() });
847
+ }
848
+ Gtm.getInitialQuery = function () {
849
+ return sessionStorage.getItem('initialQuery') || '';
850
+ };
851
+ Gtm.clearDataLayer = function () {
852
+ var global = window;
853
+ var dataLayer = global.dataLayer;
854
+ dataLayer.length = 0;
855
+ };
856
+ Gtm.init = function (containerId) {
857
+ if (!this.instance) {
858
+ this.instance = new Gtm(containerId);
859
+ }
860
+ return this.instance;
861
+ };
862
+ Gtm.prototype.send = function (event, data, eventTimeout) {
863
+ if (eventTimeout === void 0) { eventTimeout = 500; }
864
+ return new Promise(function (resolve) {
865
+ var _a;
866
+ var global = window;
867
+ (_a = global.dataLayer) === null || _a === void 0 ? void 0 : _a.push(__assign(__assign({ event: event }, data), { eventCallback: function () {
868
+ resolve();
869
+ }, eventTimeout: eventTimeout }));
870
+ });
871
+ };
872
+ return Gtm;
873
+ }());
874
+
875
+ var GoogleBaseEvent = /** @class */ (function () {
876
+ function GoogleBaseEvent(name, adwordConversionId) {
877
+ this.name = name;
878
+ this.adwordConversionId = adwordConversionId;
879
+ }
880
+ GoogleBaseEvent.prototype.send = function (data) {
881
+ return __awaiter(this, void 0, void 0, function () {
882
+ return __generator(this, function (_a) {
883
+ switch (_a.label) {
884
+ case 0: return [4 /*yield*/, this.sendGtag(data)];
885
+ case 1: return [2 /*return*/, _a.sent()];
886
+ }
887
+ });
888
+ });
889
+ };
890
+ GoogleBaseEvent.prototype.sendGtag = function (data) {
891
+ return __awaiter(this, void 0, void 0, function () {
892
+ return __generator(this, function (_a) {
893
+ switch (_a.label) {
894
+ case 0: return [4 /*yield*/, this.gtag().sendAnalytics(this.name, data)];
895
+ case 1:
896
+ _a.sent();
897
+ if (!this.adwordConversionId) return [3 /*break*/, 3];
898
+ return [4 /*yield*/, this.gtag().sendAdwords(this.adwordConversionId, data)];
899
+ case 2:
900
+ _a.sent();
901
+ _a.label = 3;
902
+ case 3: return [2 /*return*/];
903
+ }
904
+ });
905
+ });
906
+ };
907
+ GoogleBaseEvent.prototype.sendGtm = function (data) {
908
+ return __awaiter(this, void 0, void 0, function () {
909
+ return __generator(this, function (_a) {
910
+ switch (_a.label) {
911
+ case 0: return [4 /*yield*/, this.gtm().send(this.name, data)];
912
+ case 1:
913
+ _a.sent();
914
+ return [2 /*return*/];
915
+ }
916
+ });
917
+ });
918
+ };
919
+ GoogleBaseEvent.prototype.gtag = function () {
920
+ return assertEx(Gtag.instance, 'Missing/uninitialized gtag');
921
+ };
922
+ GoogleBaseEvent.prototype.gtm = function () {
923
+ return assertEx(Gtm.instance, 'Missing/uninitialized gtm');
924
+ };
925
+ return GoogleBaseEvent;
926
+ }());
927
+
928
+ var GoogleCustomEvent = /** @class */ (function (_super) {
929
+ __extends(GoogleCustomEvent, _super);
930
+ function GoogleCustomEvent() {
931
+ return _super !== null && _super.apply(this, arguments) || this;
932
+ }
933
+ return GoogleCustomEvent;
934
+ }(GoogleBaseEvent));
935
+
936
+ var GoogleUserEventHandler = /** @class */ (function () {
937
+ function GoogleUserEventHandler() {
938
+ }
939
+ GoogleUserEventHandler.prototype.testStarted = function (data) {
940
+ return __awaiter(this, void 0, void 0, function () {
941
+ var event;
942
+ return __generator(this, function (_a) {
943
+ switch (_a.label) {
944
+ case 0:
945
+ event = new GoogleCustomEvent('TestStarted');
946
+ return [4 /*yield*/, event.send(data)];
947
+ case 1: return [2 /*return*/, _a.sent()];
948
+ }
949
+ });
950
+ });
951
+ };
952
+ GoogleUserEventHandler.prototype.funnelStarted = function (data) {
953
+ return __awaiter(this, void 0, void 0, function () {
954
+ var event;
955
+ return __generator(this, function (_a) {
956
+ switch (_a.label) {
957
+ case 0:
958
+ event = new GoogleCustomEvent('FunnelStarted');
959
+ return [4 /*yield*/, event.send(data)];
960
+ case 1: return [2 /*return*/, _a.sent()];
961
+ }
962
+ });
963
+ });
964
+ };
965
+ GoogleUserEventHandler.prototype.viewContent = function (data) {
966
+ return __awaiter(this, void 0, void 0, function () {
967
+ var event;
968
+ return __generator(this, function (_a) {
969
+ switch (_a.label) {
970
+ case 0:
971
+ event = new GoogleCustomEvent('ViewContent');
972
+ return [4 /*yield*/, event.send(data)];
973
+ case 1: return [2 /*return*/, _a.sent()];
974
+ }
975
+ });
976
+ });
977
+ };
978
+ GoogleUserEventHandler.prototype.userClick = function (data) {
979
+ return __awaiter(this, void 0, void 0, function () {
980
+ var event;
981
+ return __generator(this, function (_a) {
982
+ switch (_a.label) {
983
+ case 0:
984
+ event = new GoogleCustomEvent('UserClick');
985
+ return [4 /*yield*/, event.send(data)];
986
+ case 1: return [2 /*return*/, _a.sent()];
987
+ }
988
+ });
989
+ });
990
+ };
991
+ return GoogleUserEventHandler;
992
+ }());
993
+
994
+ var GoogleStandardEvent = /** @class */ (function (_super) {
995
+ __extends(GoogleStandardEvent, _super);
996
+ function GoogleStandardEvent() {
997
+ return _super !== null && _super.apply(this, arguments) || this;
998
+ }
999
+ return GoogleStandardEvent;
1000
+ }(GoogleBaseEvent));
1001
+
1002
+ var GoogleStandardEvents = /** @class */ (function () {
1003
+ function GoogleStandardEvents() {
1004
+ }
1005
+ GoogleStandardEvents.prototype.addPaymentInfo = function () {
1006
+ return new GoogleStandardEvent('add_paymennt_info');
1007
+ };
1008
+ GoogleStandardEvents.prototype.addShippingInfo = function () {
1009
+ return new GoogleStandardEvent('add_shipping_info');
1010
+ };
1011
+ GoogleStandardEvents.prototype.addToCart = function () {
1012
+ return new GoogleStandardEvent('add_to_cart');
1013
+ };
1014
+ GoogleStandardEvents.prototype.addToWishList = function () {
1015
+ return new GoogleStandardEvent('add_to_wishlist');
1016
+ };
1017
+ GoogleStandardEvents.prototype.beginCheckout = function () {
1018
+ return new GoogleStandardEvent('begin_checkout');
1019
+ };
1020
+ GoogleStandardEvents.prototype.earnVirtualCurrency = function () {
1021
+ return new GoogleStandardEvent('earn_virtual_currency');
1022
+ };
1023
+ GoogleStandardEvents.prototype.generateLead = function () {
1024
+ return new GoogleStandardEvent('generate_lead');
1025
+ };
1026
+ GoogleStandardEvents.prototype.joinGroup = function () {
1027
+ return new GoogleStandardEvent('join_group');
1028
+ };
1029
+ GoogleStandardEvents.prototype.levelEnd = function () {
1030
+ return new GoogleStandardEvent('level_end');
1031
+ };
1032
+ GoogleStandardEvents.prototype.levelStart = function () {
1033
+ return new GoogleStandardEvent('level_start');
1034
+ };
1035
+ GoogleStandardEvents.prototype.levelUp = function () {
1036
+ return new GoogleStandardEvent('level_up');
1037
+ };
1038
+ GoogleStandardEvents.prototype.login = function () {
1039
+ return new GoogleStandardEvent('login');
1040
+ };
1041
+ GoogleStandardEvents.prototype.postScore = function () {
1042
+ return new GoogleStandardEvent('post_score');
1043
+ };
1044
+ GoogleStandardEvents.prototype.purchase = function () {
1045
+ return new GoogleStandardEvent('purchase');
1046
+ };
1047
+ GoogleStandardEvents.prototype.refund = function () {
1048
+ return new GoogleStandardEvent('refund');
1049
+ };
1050
+ GoogleStandardEvents.prototype.removeFromCart = function () {
1051
+ return new GoogleStandardEvent('remove_from_cart');
1052
+ };
1053
+ GoogleStandardEvents.prototype.search = function () {
1054
+ return new GoogleStandardEvent('search');
1055
+ };
1056
+ GoogleStandardEvents.prototype.selectContent = function () {
1057
+ return new GoogleStandardEvent('select_content');
1058
+ };
1059
+ GoogleStandardEvents.prototype.selectItem = function () {
1060
+ return new GoogleStandardEvent('select_item');
1061
+ };
1062
+ GoogleStandardEvents.prototype.selectPromotion = function () {
1063
+ return new GoogleStandardEvent('select_promotion');
1064
+ };
1065
+ GoogleStandardEvents.prototype.share = function () {
1066
+ return new GoogleStandardEvent('share');
1067
+ };
1068
+ GoogleStandardEvents.prototype.signUp = function () {
1069
+ return new GoogleStandardEvent('sign_up');
1070
+ };
1071
+ GoogleStandardEvents.prototype.spendVirtualCurrency = function () {
1072
+ return new GoogleStandardEvent('spend_virtual_currency');
1073
+ };
1074
+ GoogleStandardEvents.prototype.tutorialBegin = function () {
1075
+ return new GoogleStandardEvent('tutorial_begin');
1076
+ };
1077
+ GoogleStandardEvents.prototype.tutorialComplete = function () {
1078
+ return new GoogleStandardEvent('tutorial_complete');
1079
+ };
1080
+ GoogleStandardEvents.prototype.unlockAchievement = function () {
1081
+ return new GoogleStandardEvent('unlock_achievement');
1082
+ };
1083
+ GoogleStandardEvents.prototype.viewCart = function () {
1084
+ return new GoogleStandardEvent('view_cart');
1085
+ };
1086
+ GoogleStandardEvents.prototype.viewItem = function () {
1087
+ return new GoogleStandardEvent('view_item');
1088
+ };
1089
+ GoogleStandardEvents.prototype.viewItemList = function () {
1090
+ return new GoogleStandardEvent('view_item_list');
1091
+ };
1092
+ GoogleStandardEvents.prototype.viewPromotion = function () {
1093
+ return new GoogleStandardEvent('view_promotion');
1094
+ };
1095
+ return GoogleStandardEvents;
1096
+ }());
1097
+
1098
+ var Rdt = /** @class */ (function () {
1099
+ function Rdt() {
1100
+ }
1101
+ Rdt.init = function (pixelId) {
1102
+ try {
1103
+ Rdt.instance = new Rdt();
1104
+ Rdt.instance.load(pixelId);
1105
+ Rdt.instance.track('PageVisit');
1106
+ }
1107
+ catch (ex) {
1108
+ console.error(ex);
1109
+ }
1110
+ };
1111
+ Rdt.getRdt = function () {
1112
+ return global.rdt;
1113
+ };
1114
+ Rdt.prototype.load = function (id) {
1115
+ try {
1116
+ Rdt.getRdt()('init', id);
1117
+ }
1118
+ catch (ex) {
1119
+ console.error(ex);
1120
+ }
1121
+ };
1122
+ Rdt.prototype.track = function (event, data) {
1123
+ try {
1124
+ Rdt.getRdt()('track', event, __assign({}, data));
1125
+ }
1126
+ catch (ex) {
1127
+ console.error(ex);
1128
+ }
1129
+ };
1130
+ return Rdt;
1131
+ }());
1132
+
1133
+ var RedditBaseEvent = /** @class */ (function () {
1134
+ function RedditBaseEvent(name) {
1135
+ this.name = name;
1136
+ this.rdt = assertEx(Rdt.instance, 'Missing Rdt');
1137
+ }
1138
+ RedditBaseEvent.prototype.send = function (_data) {
1139
+ return __awaiter(this, void 0, void 0, function () {
1140
+ return __generator(this, function (_a) {
1141
+ switch (_a.label) {
1142
+ case 0: return [4 /*yield*/, delay(0)]; //force async to increase reporting odds
1143
+ case 1:
1144
+ _a.sent(); //force async to increase reporting odds
1145
+ return [2 /*return*/];
1146
+ }
1147
+ });
1148
+ });
1149
+ };
1150
+ return RedditBaseEvent;
1151
+ }());
1152
+
1153
+ var RedditCustomEvent = /** @class */ (function (_super) {
1154
+ __extends(RedditCustomEvent, _super);
1155
+ function RedditCustomEvent() {
1156
+ return _super !== null && _super.apply(this, arguments) || this;
1157
+ }
1158
+ RedditCustomEvent.prototype.send = function (data) {
1159
+ return __awaiter(this, void 0, void 0, function () {
1160
+ return __generator(this, function (_a) {
1161
+ switch (_a.label) {
1162
+ case 0:
1163
+ this.rdt.track(this.name, data);
1164
+ return [4 /*yield*/, delay(0)]; //force async to increase reporting odds
1165
+ case 1:
1166
+ _a.sent(); //force async to increase reporting odds
1167
+ return [2 /*return*/];
1168
+ }
1169
+ });
1170
+ });
1171
+ };
1172
+ return RedditCustomEvent;
1173
+ }(RedditBaseEvent));
1174
+
1175
+ var RedditStandardEvent = /** @class */ (function (_super) {
1176
+ __extends(RedditStandardEvent, _super);
1177
+ function RedditStandardEvent() {
1178
+ return _super !== null && _super.apply(this, arguments) || this;
1179
+ }
1180
+ RedditStandardEvent.prototype.send = function (data) {
1181
+ return __awaiter(this, void 0, void 0, function () {
1182
+ return __generator(this, function (_a) {
1183
+ switch (_a.label) {
1184
+ case 0:
1185
+ this.rdt.track(this.name, data);
1186
+ return [4 /*yield*/, delay(0)]; //force async to increase reporting odds
1187
+ case 1:
1188
+ _a.sent(); //force async to increase reporting odds
1189
+ return [2 /*return*/];
1190
+ }
1191
+ });
1192
+ });
1193
+ };
1194
+ return RedditStandardEvent;
1195
+ }(RedditBaseEvent));
1196
+
1197
+ var RedditStandardEvents = /** @class */ (function () {
1198
+ function RedditStandardEvents() {
1199
+ }
1200
+ RedditStandardEvents.prototype.pageView = function () {
1201
+ return new RedditStandardEvent('PageView');
1202
+ };
1203
+ RedditStandardEvents.prototype.viewContent = function () {
1204
+ return new RedditStandardEvent('ViewContent');
1205
+ };
1206
+ RedditStandardEvents.prototype.addToCart = function () {
1207
+ return new RedditStandardEvent('AddToCart');
1208
+ };
1209
+ RedditStandardEvents.prototype.addToWishlist = function () {
1210
+ return new RedditStandardEvent('AddToWishlist');
1211
+ };
1212
+ RedditStandardEvents.prototype.purchase = function () {
1213
+ return new RedditStandardEvent('Purchase');
1214
+ };
1215
+ RedditStandardEvents.prototype.signup = function () {
1216
+ return new RedditStandardEvent('SignUp');
1217
+ };
1218
+ RedditStandardEvents.prototype.lead = function () {
1219
+ return new RedditStandardEvent('Lead');
1220
+ };
1221
+ RedditStandardEvents.prototype.search = function () {
1222
+ return new RedditStandardEvent('Search');
1223
+ };
1224
+ return RedditStandardEvents;
1225
+ }());
1226
+
1227
+ var SnapTr = /** @class */ (function () {
1228
+ function SnapTr() {
1229
+ }
1230
+ SnapTr.getSnapTr = function () {
1231
+ return global.snaptr;
1232
+ };
1233
+ SnapTr.init = function (pixelId) {
1234
+ this.pixelId = pixelId;
1235
+ this.track('PAGE_VIEW');
1236
+ };
1237
+ SnapTr.track = function (event, data) {
1238
+ this.getSnapTr()('init', this.pixelId);
1239
+ this.getSnapTr()('track', event, data);
1240
+ };
1241
+ return SnapTr;
1242
+ }());
1243
+
1244
+ var SnapchatBaseEvent = /** @class */ (function () {
1245
+ function SnapchatBaseEvent(name) {
1246
+ this.name = name;
1247
+ }
1248
+ SnapchatBaseEvent.prototype.send = function (_data) {
1249
+ return __awaiter(this, void 0, void 0, function () {
1250
+ return __generator(this, function (_a) {
1251
+ switch (_a.label) {
1252
+ case 0: return [4 /*yield*/, delay(0)]; //force async to increase reporting odds
1253
+ case 1:
1254
+ _a.sent(); //force async to increase reporting odds
1255
+ return [2 /*return*/];
1256
+ }
1257
+ });
1258
+ });
1259
+ };
1260
+ return SnapchatBaseEvent;
1261
+ }());
1262
+
1263
+ var SnapchatStandardEvent = /** @class */ (function (_super) {
1264
+ __extends(SnapchatStandardEvent, _super);
1265
+ function SnapchatStandardEvent() {
1266
+ return _super !== null && _super.apply(this, arguments) || this;
1267
+ }
1268
+ SnapchatStandardEvent.prototype.send = function (data) {
1269
+ return __awaiter(this, void 0, void 0, function () {
1270
+ return __generator(this, function (_a) {
1271
+ switch (_a.label) {
1272
+ case 0: return [4 /*yield*/, SnapTr.track(this.name, data)];
1273
+ case 1:
1274
+ _a.sent();
1275
+ return [2 /*return*/];
1276
+ }
1277
+ });
1278
+ });
1279
+ };
1280
+ return SnapchatStandardEvent;
1281
+ }(SnapchatBaseEvent));
1282
+
1283
+ var SnapchatStandardEvents = /** @class */ (function () {
1284
+ function SnapchatStandardEvents() {
1285
+ }
1286
+ SnapchatStandardEvents.prototype.pageView = function () {
1287
+ return new SnapchatStandardEvent('PAGE_VIEW');
1288
+ };
1289
+ SnapchatStandardEvents.prototype.signUp = function () {
1290
+ return new SnapchatStandardEvent('SIGN_UP');
1291
+ };
1292
+ SnapchatStandardEvents.prototype.purchase = function () {
1293
+ return new SnapchatStandardEvent('PURCHASE');
1294
+ };
1295
+ SnapchatStandardEvents.prototype.save = function () {
1296
+ return new SnapchatStandardEvent('SAVE');
1297
+ };
1298
+ SnapchatStandardEvents.prototype.startCheckout = function () {
1299
+ return new SnapchatStandardEvent('START_CHECKOUT');
1300
+ };
1301
+ SnapchatStandardEvents.prototype.addCart = function () {
1302
+ return new SnapchatStandardEvent('ADD_CART');
1303
+ };
1304
+ SnapchatStandardEvents.prototype.openApp = function () {
1305
+ return new SnapchatStandardEvent('OPEN_APP');
1306
+ };
1307
+ SnapchatStandardEvents.prototype.viewContent = function () {
1308
+ return new SnapchatStandardEvent('VIEW_CONTENT');
1309
+ };
1310
+ SnapchatStandardEvents.prototype.addBilling = function () {
1311
+ return new SnapchatStandardEvent('ADD_BILLING');
1312
+ };
1313
+ SnapchatStandardEvents.prototype.search = function () {
1314
+ return new SnapchatStandardEvent('SEARCH');
1315
+ };
1316
+ SnapchatStandardEvents.prototype.subscribe = function () {
1317
+ return new SnapchatStandardEvent('SUBSCRIBE');
1318
+ };
1319
+ SnapchatStandardEvents.prototype.adClick = function () {
1320
+ return new SnapchatStandardEvent('AD_CLICK');
1321
+ };
1322
+ SnapchatStandardEvents.prototype.adView = function () {
1323
+ return new SnapchatStandardEvent('AD_VIEW');
1324
+ };
1325
+ SnapchatStandardEvents.prototype.completeTutorial = function () {
1326
+ return new SnapchatStandardEvent('COMPLETE_TUTORIAL');
1327
+ };
1328
+ SnapchatStandardEvents.prototype.invite = function () {
1329
+ return new SnapchatStandardEvent('INVITE');
1330
+ };
1331
+ SnapchatStandardEvents.prototype.login = function () {
1332
+ return new SnapchatStandardEvent('LOGIN');
1333
+ };
1334
+ SnapchatStandardEvents.prototype.share = function () {
1335
+ return new SnapchatStandardEvent('SHARE');
1336
+ };
1337
+ SnapchatStandardEvents.prototype.reserve = function () {
1338
+ return new SnapchatStandardEvent('RESERVE');
1339
+ };
1340
+ SnapchatStandardEvents.prototype.achievementUnlocked = function () {
1341
+ return new SnapchatStandardEvent('ACHIEVEMENT_UNLOCKED');
1342
+ };
1343
+ SnapchatStandardEvents.prototype.addToWishlist = function () {
1344
+ return new SnapchatStandardEvent('ADD_TO_WISHLIST');
1345
+ };
1346
+ SnapchatStandardEvents.prototype.spentCredits = function () {
1347
+ return new SnapchatStandardEvent('SPENT_CREDITS');
1348
+ };
1349
+ SnapchatStandardEvents.prototype.rate = function () {
1350
+ return new SnapchatStandardEvent('RATE');
1351
+ };
1352
+ SnapchatStandardEvents.prototype.startTrial = function () {
1353
+ return new SnapchatStandardEvent('START_TRIAL');
1354
+ };
1355
+ SnapchatStandardEvents.prototype.listView = function () {
1356
+ return new SnapchatStandardEvent('LIST_VIEW');
1357
+ };
1358
+ SnapchatStandardEvents.prototype.custom1 = function () {
1359
+ return new SnapchatStandardEvent('CUSTOM_EVENT_1');
1360
+ };
1361
+ SnapchatStandardEvents.prototype.custom2 = function () {
1362
+ return new SnapchatStandardEvent('CUSTOM_EVENT_2');
1363
+ };
1364
+ SnapchatStandardEvents.prototype.custom3 = function () {
1365
+ return new SnapchatStandardEvent('CUSTOM_EVENT_3');
1366
+ };
1367
+ SnapchatStandardEvents.prototype.custom4 = function () {
1368
+ return new SnapchatStandardEvent('CUSTOM_EVENT_4');
1369
+ };
1370
+ SnapchatStandardEvents.prototype.custom5 = function () {
1371
+ return new SnapchatStandardEvent('CUSTOM_EVENT_5');
1372
+ };
1373
+ return SnapchatStandardEvents;
1374
+ }());
1375
+
1376
+ var Ttq = /** @class */ (function () {
1377
+ function Ttq() {
1378
+ }
1379
+ Ttq.init = function (pixelId) {
1380
+ try {
1381
+ Ttq.instance = new Ttq();
1382
+ Ttq.getTtq().load(pixelId);
1383
+ Ttq.page();
1384
+ }
1385
+ catch (ex) {
1386
+ console.error("Ttq.init: ".concat(ex));
1387
+ }
1388
+ };
1389
+ Ttq.getTtq = function () {
1390
+ return global.ttq;
1391
+ };
1392
+ Ttq.page = function () {
1393
+ try {
1394
+ Ttq.getTtq().page();
1395
+ }
1396
+ catch (ex) {
1397
+ console.error("Ttq.page: ".concat(ex));
1398
+ }
1399
+ };
1400
+ Ttq.prototype.track = function (event, data) {
1401
+ try {
1402
+ Ttq.getTtq().track(event, __assign({}, data));
1403
+ }
1404
+ catch (ex) {
1405
+ console.error("Ttq.track: ".concat(ex));
1406
+ }
1407
+ };
1408
+ return Ttq;
1409
+ }());
1410
+
1411
+ var TiktokBaseEvent = /** @class */ (function () {
1412
+ function TiktokBaseEvent(name) {
1413
+ this.name = name;
1414
+ this.ttq = assertEx(Ttq.instance, 'Missing Ttq');
1415
+ }
1416
+ TiktokBaseEvent.prototype.send = function (_data) {
1417
+ return __awaiter(this, void 0, void 0, function () {
1418
+ return __generator(this, function (_a) {
1419
+ switch (_a.label) {
1420
+ case 0: return [4 /*yield*/, delay(0)]; //force async to increase reporting odds
1421
+ case 1:
1422
+ _a.sent(); //force async to increase reporting odds
1423
+ return [2 /*return*/];
1424
+ }
1425
+ });
1426
+ });
1427
+ };
1428
+ return TiktokBaseEvent;
1429
+ }());
1430
+
1431
+ var TiktokCustomEvent = /** @class */ (function (_super) {
1432
+ __extends(TiktokCustomEvent, _super);
1433
+ function TiktokCustomEvent() {
1434
+ return _super !== null && _super.apply(this, arguments) || this;
1435
+ }
1436
+ TiktokCustomEvent.prototype.send = function (data) {
1437
+ return __awaiter(this, void 0, void 0, function () {
1438
+ return __generator(this, function (_a) {
1439
+ switch (_a.label) {
1440
+ case 0:
1441
+ this.ttq.track(this.name, data);
1442
+ return [4 /*yield*/, delay(0)]; //force async to increase reporting odds
1443
+ case 1:
1444
+ _a.sent(); //force async to increase reporting odds
1445
+ return [2 /*return*/];
1446
+ }
1447
+ });
1448
+ });
1449
+ };
1450
+ return TiktokCustomEvent;
1451
+ }(TiktokBaseEvent));
1452
+
1453
+ var TiktokStandardEvent = /** @class */ (function (_super) {
1454
+ __extends(TiktokStandardEvent, _super);
1455
+ function TiktokStandardEvent() {
1456
+ return _super !== null && _super.apply(this, arguments) || this;
1457
+ }
1458
+ TiktokStandardEvent.prototype.send = function (data) {
1459
+ return __awaiter(this, void 0, void 0, function () {
1460
+ return __generator(this, function (_a) {
1461
+ switch (_a.label) {
1462
+ case 0:
1463
+ this.ttq.track(this.name, data);
1464
+ return [4 /*yield*/, delay(0)]; //force async to increase reporting odds
1465
+ case 1:
1466
+ _a.sent(); //force async to increase reporting odds
1467
+ return [2 /*return*/];
1468
+ }
1469
+ });
1470
+ });
1471
+ };
1472
+ return TiktokStandardEvent;
1473
+ }(TiktokBaseEvent));
1474
+
1475
+ var TiktokStandardEvents = /** @class */ (function () {
1476
+ function TiktokStandardEvents() {
1477
+ }
1478
+ TiktokStandardEvents.prototype.pageView = function () {
1479
+ return new TiktokStandardEvent('Browse');
1480
+ };
1481
+ TiktokStandardEvents.prototype.viewContent = function () {
1482
+ return new TiktokStandardEvent('ViewContent');
1483
+ };
1484
+ TiktokStandardEvents.prototype.addToCart = function () {
1485
+ return new TiktokStandardEvent('AddToCart');
1486
+ };
1487
+ TiktokStandardEvents.prototype.checkout = function () {
1488
+ return new TiktokStandardEvent('Checkout');
1489
+ };
1490
+ TiktokStandardEvents.prototype.purchase = function () {
1491
+ return new TiktokStandardEvent('Purchase');
1492
+ };
1493
+ TiktokStandardEvents.prototype.registration = function () {
1494
+ return new TiktokStandardEvent('Registration');
1495
+ };
1496
+ TiktokStandardEvents.prototype.startCheckout = function () {
1497
+ return new TiktokStandardEvent('StartCheckout');
1498
+ };
1499
+ TiktokStandardEvents.prototype.addBilling = function () {
1500
+ return new TiktokStandardEvent('AddBilling');
1501
+ };
1502
+ TiktokStandardEvents.prototype.search = function () {
1503
+ return new TiktokStandardEvent('Search');
1504
+ };
1505
+ TiktokStandardEvents.prototype.viewForm = function () {
1506
+ return new TiktokStandardEvent('ViewForm');
1507
+ };
1508
+ TiktokStandardEvents.prototype.clickForm = function () {
1509
+ return new TiktokStandardEvent('ClickForm');
1510
+ };
1511
+ TiktokStandardEvents.prototype.submitForm = function () {
1512
+ return new TiktokStandardEvent('SubmitForm');
1513
+ };
1514
+ TiktokStandardEvents.prototype.viewDownloadPage = function () {
1515
+ return new TiktokStandardEvent('ViewDownloadPage');
1516
+ };
1517
+ TiktokStandardEvents.prototype.clickInDownloadPage = function () {
1518
+ return new TiktokStandardEvent('ClickInDownloadPage');
1519
+ };
1520
+ TiktokStandardEvents.prototype.clickToDownload = function () {
1521
+ return new TiktokStandardEvent('ClickToDownload');
1522
+ };
1523
+ TiktokStandardEvents.prototype.clickButton = function () {
1524
+ return new TiktokStandardEvent('ClickButton');
1525
+ };
1526
+ return TiktokStandardEvents;
1527
+ }());
1528
+
1529
+ var XyBaseEvent = /** @class */ (function () {
1530
+ function XyBaseEvent(name) {
1531
+ this.name = name;
1532
+ }
1533
+ XyBaseEvent.prototype.send = function (fields) {
1534
+ return __awaiter(this, void 0, void 0, function () {
1535
+ return __generator(this, function (_a) {
1536
+ switch (_a.label) {
1537
+ case 0: return [4 /*yield*/, XyPixel.instance.send(this.name, fields)];
1538
+ case 1:
1539
+ _a.sent();
1540
+ return [2 /*return*/];
1541
+ }
1542
+ });
1543
+ });
1544
+ };
1545
+ return XyBaseEvent;
1546
+ }());
1547
+
1548
+ var XyCustomEvent = /** @class */ (function (_super) {
1549
+ __extends(XyCustomEvent, _super);
1550
+ function XyCustomEvent() {
1551
+ return _super !== null && _super.apply(this, arguments) || this;
1552
+ }
1553
+ return XyCustomEvent;
1554
+ }(XyBaseEvent));
1555
+
1556
+ var XyUserEventHandler = /** @class */ (function () {
1557
+ function XyUserEventHandler() {
1558
+ }
1559
+ XyUserEventHandler.prototype.testStarted = function (data) {
1560
+ return __awaiter(this, void 0, void 0, function () {
1561
+ var event;
1562
+ return __generator(this, function (_a) {
1563
+ switch (_a.label) {
1564
+ case 0:
1565
+ event = new XyCustomEvent('TestStarted');
1566
+ return [4 /*yield*/, event.send(data)];
1567
+ case 1: return [2 /*return*/, _a.sent()];
1568
+ }
1569
+ });
1570
+ });
1571
+ };
1572
+ XyUserEventHandler.prototype.funnelStarted = function (data) {
1573
+ return __awaiter(this, void 0, void 0, function () {
1574
+ var event;
1575
+ return __generator(this, function (_a) {
1576
+ switch (_a.label) {
1577
+ case 0:
1578
+ event = new XyCustomEvent('FunnelStarted');
1579
+ return [4 /*yield*/, event.send(data)];
1580
+ case 1: return [2 /*return*/, _a.sent()];
1581
+ }
1582
+ });
1583
+ });
1584
+ };
1585
+ XyUserEventHandler.prototype.viewContent = function (data) {
1586
+ return __awaiter(this, void 0, void 0, function () {
1587
+ var event;
1588
+ return __generator(this, function (_a) {
1589
+ switch (_a.label) {
1590
+ case 0:
1591
+ event = new XyCustomEvent('ViewContent');
1592
+ return [4 /*yield*/, event.send(data)];
1593
+ case 1: return [2 /*return*/, _a.sent()];
1594
+ }
1595
+ });
1596
+ });
1597
+ };
1598
+ XyUserEventHandler.prototype.userClick = function (data) {
1599
+ return __awaiter(this, void 0, void 0, function () {
1600
+ var event;
1601
+ return __generator(this, function (_a) {
1602
+ switch (_a.label) {
1603
+ case 0:
1604
+ event = new XyCustomEvent('UserClick');
1605
+ return [4 /*yield*/, event.send(data)];
1606
+ case 1: return [2 /*return*/, _a.sent()];
1607
+ }
1608
+ });
1609
+ });
1610
+ };
1611
+ return XyUserEventHandler;
1612
+ }());
1613
+
1614
+ var MetaMaskEthersLoader = function (props) {
1615
+ var children = props.children, _a = props.enabled, enabled = _a === void 0 ? true : _a;
1616
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1617
+ var global = window;
1618
+ var ethereum = global.ethereum;
1619
+ var _b = __read(useState(), 2), error = _b[0], setError = _b[1];
1620
+ var _c = __read(useState(), 2), localAddress = _c[0], setLocalAddress = _c[1];
1621
+ var _d = __read(useState(0), 2), resetCount = _d[0], setResetCount = _d[1];
1622
+ var _e = __read(useState(), 2), providerName = _e[0], setProviderName = _e[1];
1623
+ if (ethereum) {
1624
+ ethereum.autoRefreshOnNetworkChange = false;
1625
+ }
1626
+ var connect = function () { return __awaiter(void 0, void 0, void 0, function () {
1627
+ var _a;
1628
+ return __generator(this, function (_b) {
1629
+ switch (_b.label) {
1630
+ case 0: return [4 /*yield*/, ((_a = global.ethereum) === null || _a === void 0 ? void 0 : _a.enable())];
1631
+ case 1:
1632
+ _b.sent();
1633
+ return [2 /*return*/, localAddress ? [localAddress.toString()] : []];
1634
+ }
1635
+ });
1636
+ }); };
1637
+ var _f = __read(useState(), 2), isConnected = _f[0], setIsConnected = _f[1];
1638
+ useEffect(function () {
1639
+ if (ethereum && enabled) {
1640
+ ethereum.on('accountsChanged', function (accounts) {
1641
+ console.log("accountsChanged: ".concat(JSON.stringify(accounts)));
1642
+ setResetCount(resetCount + 1);
1643
+ if (accounts.length > 0) {
1644
+ setLocalAddress(EthAddress.fromString(accounts[0]));
1645
+ }
1646
+ else {
1647
+ setLocalAddress(undefined);
1648
+ }
1649
+ });
1650
+ ethereum.on('chainChanged', function (chainId) {
1651
+ setResetCount(resetCount + 1);
1652
+ if (chainId) {
1653
+ setChainId(parseInt(chainId));
1654
+ }
1655
+ else {
1656
+ setChainId(undefined);
1657
+ }
1658
+ });
1659
+ }
1660
+ }, [ethereum, resetCount, enabled]);
1661
+ var _g = __read(useState(), 2), walletProvider = _g[0], setWalletProvider = _g[1];
1662
+ var _h = __read(useState(), 2), provider = _h[0], setProvider = _h[1];
1663
+ var _j = __read(useState(), 2), signer = _j[0], setSigner = _j[1];
1664
+ useEffect(function () {
1665
+ if (enabled) {
1666
+ var walletProvider_1 = ethereum ? new Web3Provider(ethereum) : null;
1667
+ var provider_1 = null;
1668
+ var providerName_1 = null;
1669
+ if (walletProvider_1) {
1670
+ provider_1 = walletProvider_1;
1671
+ providerName_1 = 'Meta Mask';
1672
+ }
1673
+ else {
1674
+ provider_1 = new InfuraProvider(1, infuraKey);
1675
+ providerName_1 = 'Infura (Default)';
1676
+ }
1677
+ provider_1 = walletProvider_1 !== null && walletProvider_1 !== void 0 ? walletProvider_1 : provider_1;
1678
+ setProvider(provider_1);
1679
+ setProviderName(providerName_1);
1680
+ setWalletProvider(walletProvider_1);
1681
+ var signer_1 = null;
1682
+ try {
1683
+ signer_1 = walletProvider_1 === null || walletProvider_1 === void 0 ? void 0 : walletProvider_1.getSigner();
1684
+ }
1685
+ catch (ex) {
1686
+ console.error(ex);
1687
+ }
1688
+ setSigner(signer_1);
1689
+ }
1690
+ }, [ethereum, isConnected, enabled]);
1691
+ useAsyncEffect(function (isMounted) { return __awaiter(void 0, void 0, void 0, function () {
1692
+ var localAddress_1, _a, _b, ex_1;
1693
+ return __generator(this, function (_c) {
1694
+ switch (_c.label) {
1695
+ case 0:
1696
+ if (!(signer && enabled)) return [3 /*break*/, 4];
1697
+ _c.label = 1;
1698
+ case 1:
1699
+ _c.trys.push([1, 3, , 4]);
1700
+ _b = (_a = EthAddress).fromString;
1701
+ return [4 /*yield*/, signer.getAddress()];
1702
+ case 2:
1703
+ localAddress_1 = _b.apply(_a, [_c.sent()]);
1704
+ console.log("Setting Local Address: ".concat(localAddress_1));
1705
+ if (isMounted()) {
1706
+ setLocalAddress(localAddress_1);
1707
+ setIsConnected(true);
1708
+ }
1709
+ return [3 /*break*/, 4];
1710
+ case 3:
1711
+ ex_1 = _c.sent();
1712
+ if (isMounted()) {
1713
+ setError(Error("localAddress: ".concat(ex_1)));
1714
+ setLocalAddress(undefined);
1715
+ setIsConnected(false);
1716
+ }
1717
+ return [3 /*break*/, 4];
1718
+ case 4: return [2 /*return*/];
1719
+ }
1720
+ });
1721
+ }); }, [signer, resetCount, enabled]);
1722
+ var _k = __read(useState(), 2), chainId = _k[0], setChainId = _k[1];
1723
+ useAsyncEffect(function (isMounted) { return __awaiter(void 0, void 0, void 0, function () {
1724
+ var chainId_1;
1725
+ var _a;
1726
+ return __generator(this, function (_b) {
1727
+ switch (_b.label) {
1728
+ case 0:
1729
+ if (!enabled) return [3 /*break*/, 2];
1730
+ return [4 /*yield*/, (provider === null || provider === void 0 ? void 0 : provider.getNetwork())];
1731
+ case 1:
1732
+ chainId_1 = (_a = (_b.sent())) === null || _a === void 0 ? void 0 : _a.chainId;
1733
+ if (!isMounted())
1734
+ return [2 /*return*/];
1735
+ setChainId(chainId_1);
1736
+ _b.label = 2;
1737
+ case 2: return [2 /*return*/];
1738
+ }
1739
+ });
1740
+ }); }, [provider, enabled]);
1741
+ return (jsx(EthersContext.Provider, __assign({ value: {
1742
+ busy: false,
1743
+ chainId: chainId,
1744
+ connect: connect,
1745
+ error: error,
1746
+ isConnected: isConnected,
1747
+ localAddress: localAddress,
1748
+ provider: provider,
1749
+ providerName: providerName,
1750
+ signer: isConnected ? signer : undefined,
1751
+ walletProvider: walletProvider,
1752
+ } }, { children: children }), void 0));
1753
+ };
1111
1754
 
1112
- class XyBaseEvent {
1113
- constructor(name) {
1114
- this.name = name;
1115
- }
1116
- async send(fields) {
1117
- await XyPixel.instance.send(this.name, fields);
1118
- }
1119
- }
1755
+ var MyEtherWalletEthersLoader = function (props) {
1756
+ var children = props.children;
1757
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1758
+ var global = window;
1759
+ var ethereum = global.ethereum;
1760
+ var _a = __read(useState(), 2), error = _a[0], setError = _a[1];
1761
+ var _b = __read(useState(), 2), localAddress = _b[0], setLocalAddress = _b[1];
1762
+ var _c = __read(useState(), 2), providerName = _c[0], setProviderName = _c[1];
1763
+ if (ethereum) {
1764
+ ethereum.autoRefreshOnNetworkChange = false;
1765
+ }
1766
+ var connect = function () { return __awaiter(void 0, void 0, void 0, function () {
1767
+ var _a;
1768
+ return __generator(this, function (_b) {
1769
+ switch (_b.label) {
1770
+ case 0: return [4 /*yield*/, ((_a = global.ethereum) === null || _a === void 0 ? void 0 : _a.enable())];
1771
+ case 1:
1772
+ _b.sent();
1773
+ return [2 /*return*/, localAddress ? [localAddress.toString()] : []];
1774
+ }
1775
+ });
1776
+ }); };
1777
+ var _d = __read(useState(), 2), isConnected = _d[0], setIsConnected = _d[1];
1778
+ var _e = __read(useState(), 2), walletProvider = _e[0], setWalletProvider = _e[1];
1779
+ var _f = __read(useState(), 2), provider = _f[0], setProvider = _f[1];
1780
+ var _g = __read(useState(), 2), signer = _g[0], setSigner = _g[1];
1781
+ useEffect(function () {
1782
+ var walletProvider = ethereum ? new Web3Provider(ethereum) : null;
1783
+ var provider = null;
1784
+ var providerName = null;
1785
+ if (walletProvider) {
1786
+ provider = walletProvider;
1787
+ providerName = 'MyEtherWallet';
1788
+ }
1789
+ else {
1790
+ provider = new InfuraProvider(1, infuraKey);
1791
+ providerName = 'Infura (Default)';
1792
+ }
1793
+ setProvider(provider);
1794
+ setProviderName(providerName);
1795
+ setWalletProvider(walletProvider);
1796
+ var signer = null;
1797
+ try {
1798
+ signer = walletProvider === null || walletProvider === void 0 ? void 0 : walletProvider.getSigner();
1799
+ }
1800
+ catch (ex) {
1801
+ console.error(ex);
1802
+ }
1803
+ setSigner(signer);
1804
+ }, [ethereum, isConnected]);
1805
+ useAsyncEffect(function (isMounted) { return __awaiter(void 0, void 0, void 0, function () {
1806
+ var localAddress_1, _a, _b, ex_1;
1807
+ return __generator(this, function (_c) {
1808
+ switch (_c.label) {
1809
+ case 0:
1810
+ if (!signer) return [3 /*break*/, 4];
1811
+ _c.label = 1;
1812
+ case 1:
1813
+ _c.trys.push([1, 3, , 4]);
1814
+ _b = (_a = EthAddress).fromString;
1815
+ return [4 /*yield*/, signer.getAddress()];
1816
+ case 2:
1817
+ localAddress_1 = _b.apply(_a, [_c.sent()]);
1818
+ if (isMounted()) {
1819
+ setLocalAddress(localAddress_1);
1820
+ setIsConnected(true);
1821
+ }
1822
+ return [3 /*break*/, 4];
1823
+ case 3:
1824
+ ex_1 = _c.sent();
1825
+ if (isMounted()) {
1826
+ setError(Error("localAddress: ".concat(ex_1)));
1827
+ setLocalAddress(undefined);
1828
+ setIsConnected(false);
1829
+ }
1830
+ return [3 /*break*/, 4];
1831
+ case 4: return [2 /*return*/];
1832
+ }
1833
+ });
1834
+ }); }, [signer]);
1835
+ var _h = __read(useState(), 2), chainId = _h[0], setChainId = _h[1];
1836
+ useAsyncEffect(function (isMounted) { return __awaiter(void 0, void 0, void 0, function () {
1837
+ var chainId;
1838
+ var _a;
1839
+ return __generator(this, function (_b) {
1840
+ switch (_b.label) {
1841
+ case 0: return [4 /*yield*/, (provider === null || provider === void 0 ? void 0 : provider.getNetwork())];
1842
+ case 1:
1843
+ chainId = (_a = (_b.sent())) === null || _a === void 0 ? void 0 : _a.chainId;
1844
+ if (!isMounted())
1845
+ return [2 /*return*/];
1846
+ setChainId(chainId);
1847
+ return [2 /*return*/];
1848
+ }
1849
+ });
1850
+ }); }, [provider]);
1851
+ return (jsx(EthersContext.Provider, __assign({ value: {
1852
+ busy: false,
1853
+ chainId: chainId,
1854
+ connect: connect,
1855
+ error: error,
1856
+ isConnected: isConnected,
1857
+ localAddress: localAddress,
1858
+ provider: provider,
1859
+ providerName: providerName,
1860
+ signer: isConnected ? signer : undefined,
1861
+ walletProvider: walletProvider,
1862
+ } }, { children: children }), void 0));
1863
+ };
1120
1864
 
1121
- class XyCustomEvent extends XyBaseEvent {
1122
- }
1865
+ var OperaEthersLoader = function (props) {
1866
+ var _a, _b, _c, _d, _e, _f;
1867
+ var children = props.children;
1868
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1869
+ var global = window;
1870
+ var ethereum = global.ethereum;
1871
+ var _g = __read(useState(), 2), error = _g[0], setError = _g[1];
1872
+ var _h = __read(useState(), 2), signer = _h[0], setSigner = _h[1];
1873
+ var _j = __read(useState(), 2), provider = _j[0], setProvider = _j[1];
1874
+ var _k = __read(useState(((_c = (_b = (_a = global.ethereum) === null || _a === void 0 ? void 0 : _a.addresses) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : 0) > 0 ? EthAddress.fromString((_e = (_d = global.ethereum) === null || _d === void 0 ? void 0 : _d.addresses) === null || _e === void 0 ? void 0 : _e[0]) : null), 2), localAddress = _k[0], setLocalAddress = _k[1];
1875
+ var chainId = (ethereum === null || ethereum === void 0 ? void 0 : ethereum.chainId) ? parseInt(ethereum === null || ethereum === void 0 ? void 0 : ethereum.chainId) : 1;
1876
+ var isConnected = (_f = ethereum === null || ethereum === void 0 ? void 0 : ethereum.isConnected()) !== null && _f !== void 0 ? _f : false;
1877
+ useAsyncEffect(function (mounted) { return __awaiter(void 0, void 0, void 0, function () {
1878
+ var operaProvider, provider_1, signer_1, localAddress_1, _a, _b, ex_1;
1879
+ return __generator(this, function (_c) {
1880
+ switch (_c.label) {
1881
+ case 0:
1882
+ if (!ethereum) return [3 /*break*/, 4];
1883
+ ethereum.enable();
1884
+ operaProvider = new Web3Provider(ethereum);
1885
+ provider_1 = operaProvider;
1886
+ signer_1 = operaProvider.getSigner();
1887
+ _c.label = 1;
1888
+ case 1:
1889
+ _c.trys.push([1, 3, , 4]);
1890
+ _b = (_a = EthAddress).fromString;
1891
+ return [4 /*yield*/, signer_1.getAddress()];
1892
+ case 2:
1893
+ localAddress_1 = _b.apply(_a, [_c.sent()]);
1894
+ ethereum.autoRefreshOnNetworkChange = false;
1895
+ if (mounted()) {
1896
+ setSigner(signer_1);
1897
+ setProvider(provider_1);
1898
+ setLocalAddress(localAddress_1);
1899
+ }
1900
+ return [3 /*break*/, 4];
1901
+ case 3:
1902
+ ex_1 = _c.sent();
1903
+ if (mounted()) {
1904
+ setError(Error("localAddress: ".concat(ex_1)));
1905
+ }
1906
+ return [3 /*break*/, 4];
1907
+ case 4: return [2 /*return*/];
1908
+ }
1909
+ });
1910
+ }); }, [ethereum]);
1911
+ return (jsx(EthersContext.Provider, __assign({ value: {
1912
+ busy: false,
1913
+ chainId: chainId,
1914
+ error: error,
1915
+ isConnected: isConnected,
1916
+ localAddress: localAddress,
1917
+ provider: provider,
1918
+ signer: signer,
1919
+ } }, { children: children }), void 0));
1920
+ };
1123
1921
 
1124
- class XyUserEventHandler {
1125
- async testStarted(data) {
1126
- const event = new XyCustomEvent('TestStarted');
1127
- return await event.send(data);
1128
- }
1129
- async funnelStarted(data) {
1130
- const event = new XyCustomEvent('FunnelStarted');
1131
- return await event.send(data);
1132
- }
1133
- async viewContent(data) {
1134
- const event = new XyCustomEvent('ViewContent');
1135
- return await event.send(data);
1136
- }
1137
- async userClick(data) {
1138
- const event = new XyCustomEvent('UserClick');
1139
- return await event.send(data);
1140
- }
1141
- }
1922
+ var TrustEthersLoader = function (props) {
1923
+ var children = props.children;
1924
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1925
+ var global = window;
1926
+ var _a = __read(useState(), 2), error = _a[0], setError = _a[1];
1927
+ var _b = __read(useState(), 2), localAddress = _b[0], setLocalAddress = _b[1];
1928
+ var trustProvider = new Web3Provider(global.ethereum);
1929
+ var signer = trustProvider.getSigner();
1930
+ var chainId = 1;
1931
+ var provider = trustProvider;
1932
+ useAsyncEffect(function (mounted) { return __awaiter(void 0, void 0, void 0, function () {
1933
+ var localAddress_1, _a, _b, ex_1;
1934
+ return __generator(this, function (_c) {
1935
+ switch (_c.label) {
1936
+ case 0:
1937
+ if (!signer) return [3 /*break*/, 4];
1938
+ _c.label = 1;
1939
+ case 1:
1940
+ _c.trys.push([1, 3, , 4]);
1941
+ _b = (_a = EthAddress).fromString;
1942
+ return [4 /*yield*/, signer.getAddress()];
1943
+ case 2:
1944
+ localAddress_1 = _b.apply(_a, [_c.sent()]);
1945
+ if (mounted()) {
1946
+ setLocalAddress(localAddress_1);
1947
+ }
1948
+ return [3 /*break*/, 4];
1949
+ case 3:
1950
+ ex_1 = _c.sent();
1951
+ if (mounted()) {
1952
+ setError(Error("localAddress: ".concat(ex_1)));
1953
+ }
1954
+ return [3 /*break*/, 4];
1955
+ case 4: return [2 /*return*/];
1956
+ }
1957
+ });
1958
+ }); }, [signer]);
1959
+ return (jsx(EthersContext.Provider, __assign({ value: {
1960
+ busy: false,
1961
+ chainId: chainId,
1962
+ error: error,
1963
+ localAddress: localAddress,
1964
+ provider: provider,
1965
+ signer: signer,
1966
+ } }, { children: children }), void 0));
1967
+ };
1142
1968
 
1143
- const MetaMaskEthersLoader = (props) => {
1144
- const { children, enabled = true } = props;
1145
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1146
- const global = window;
1147
- const ethereum = global.ethereum;
1148
- const [error, setError] = useState();
1149
- const [localAddress, setLocalAddress] = useState();
1150
- const [resetCount, setResetCount] = useState(0);
1151
- const [providerName, setProviderName] = useState();
1152
- if (ethereum) {
1153
- ethereum.autoRefreshOnNetworkChange = false;
1154
- }
1155
- const connect = async () => {
1156
- var _a;
1157
- await ((_a = global.ethereum) === null || _a === void 0 ? void 0 : _a.enable());
1158
- return localAddress ? [localAddress.toString()] : [];
1159
- };
1160
- const [isConnected, setIsConnected] = useState();
1161
- useEffect(() => {
1162
- if (ethereum && enabled) {
1163
- ethereum.on('accountsChanged', (accounts) => {
1164
- console.log(`accountsChanged: ${JSON.stringify(accounts)}`);
1165
- setResetCount(resetCount + 1);
1166
- if (accounts.length > 0) {
1167
- setLocalAddress(EthAddress.fromString(accounts[0]));
1168
- }
1169
- else {
1170
- setLocalAddress(undefined);
1171
- }
1172
- });
1173
- ethereum.on('chainChanged', (chainId) => {
1174
- setResetCount(resetCount + 1);
1175
- if (chainId) {
1176
- setChainId(parseInt(chainId));
1177
- }
1178
- else {
1179
- setChainId(undefined);
1180
- }
1181
- });
1182
- }
1183
- }, [ethereum, resetCount, enabled]);
1184
- const [walletProvider, setWalletProvider] = useState();
1185
- const [provider, setProvider] = useState();
1186
- const [signer, setSigner] = useState();
1187
- useEffect(() => {
1188
- if (enabled) {
1189
- const walletProvider = ethereum ? new Web3Provider(ethereum) : null;
1190
- let provider = null;
1191
- let providerName = null;
1192
- if (walletProvider) {
1193
- provider = walletProvider;
1194
- providerName = 'Meta Mask';
1195
- }
1196
- else {
1197
- provider = new InfuraProvider(1, infuraKey);
1198
- providerName = 'Infura (Default)';
1199
- }
1200
- provider = walletProvider !== null && walletProvider !== void 0 ? walletProvider : provider;
1201
- setProvider(provider);
1202
- setProviderName(providerName);
1203
- setWalletProvider(walletProvider);
1204
- let signer = null;
1205
- try {
1206
- signer = walletProvider === null || walletProvider === void 0 ? void 0 : walletProvider.getSigner();
1207
- }
1208
- catch (ex) {
1209
- console.error(ex);
1210
- }
1211
- setSigner(signer);
1212
- }
1213
- }, [ethereum, isConnected, enabled]);
1214
- useAsyncEffect(async (isMounted) => {
1215
- if (signer && enabled) {
1216
- try {
1217
- const localAddress = EthAddress.fromString(await signer.getAddress());
1218
- console.log(`Setting Local Address: ${localAddress}`);
1219
- if (isMounted()) {
1220
- setLocalAddress(localAddress);
1221
- setIsConnected(true);
1222
- }
1223
- }
1224
- catch (ex) {
1225
- if (isMounted()) {
1226
- setError(Error(`localAddress: ${ex}`));
1227
- setLocalAddress(undefined);
1228
- setIsConnected(false);
1229
- }
1230
- }
1231
- }
1232
- }, [signer, resetCount, enabled]);
1233
- const [chainId, setChainId] = useState();
1234
- useAsyncEffect(async (isMounted) => {
1235
- var _a;
1236
- if (enabled) {
1237
- const chainId = (_a = (await (provider === null || provider === void 0 ? void 0 : provider.getNetwork()))) === null || _a === void 0 ? void 0 : _a.chainId;
1238
- if (!isMounted())
1239
- return;
1240
- setChainId(chainId);
1241
- }
1242
- }, [provider, enabled]);
1243
- return (jsx(EthersContext.Provider, Object.assign({ value: {
1244
- busy: false,
1245
- chainId,
1246
- connect,
1247
- error,
1248
- isConnected,
1249
- localAddress,
1250
- provider,
1251
- providerName,
1252
- signer: isConnected ? signer : undefined,
1253
- walletProvider,
1254
- } }, { children: children }), void 0));
1255
- };
1256
-
1257
- const MyEtherWalletEthersLoader = (props) => {
1258
- const { children } = props;
1259
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1260
- const global = window;
1261
- const ethereum = global.ethereum;
1262
- const [error, setError] = useState();
1263
- const [localAddress, setLocalAddress] = useState();
1264
- const [providerName, setProviderName] = useState();
1265
- if (ethereum) {
1266
- ethereum.autoRefreshOnNetworkChange = false;
1267
- }
1268
- const connect = async () => {
1269
- var _a;
1270
- await ((_a = global.ethereum) === null || _a === void 0 ? void 0 : _a.enable());
1271
- return localAddress ? [localAddress.toString()] : [];
1272
- };
1273
- const [isConnected, setIsConnected] = useState();
1274
- const [walletProvider, setWalletProvider] = useState();
1275
- const [provider, setProvider] = useState();
1276
- const [signer, setSigner] = useState();
1277
- useEffect(() => {
1278
- const walletProvider = ethereum ? new Web3Provider(ethereum) : null;
1279
- let provider = null;
1280
- let providerName = null;
1281
- if (walletProvider) {
1282
- provider = walletProvider;
1283
- providerName = 'MyEtherWallet';
1284
- }
1285
- else {
1286
- provider = new InfuraProvider(1, infuraKey);
1287
- providerName = 'Infura (Default)';
1288
- }
1289
- setProvider(provider);
1290
- setProviderName(providerName);
1291
- setWalletProvider(walletProvider);
1292
- let signer = null;
1293
- try {
1294
- signer = walletProvider === null || walletProvider === void 0 ? void 0 : walletProvider.getSigner();
1295
- }
1296
- catch (ex) {
1297
- console.error(ex);
1298
- }
1299
- setSigner(signer);
1300
- }, [ethereum, isConnected]);
1301
- useAsyncEffect(async (isMounted) => {
1302
- if (signer) {
1303
- try {
1304
- const localAddress = EthAddress.fromString(await signer.getAddress());
1305
- if (isMounted()) {
1306
- setLocalAddress(localAddress);
1307
- setIsConnected(true);
1308
- }
1309
- }
1310
- catch (ex) {
1311
- if (isMounted()) {
1312
- setError(Error(`localAddress: ${ex}`));
1313
- setLocalAddress(undefined);
1314
- setIsConnected(false);
1315
- }
1316
- }
1317
- }
1318
- }, [signer]);
1319
- const [chainId, setChainId] = useState();
1320
- useAsyncEffect(async (isMounted) => {
1321
- var _a;
1322
- const chainId = (_a = (await (provider === null || provider === void 0 ? void 0 : provider.getNetwork()))) === null || _a === void 0 ? void 0 : _a.chainId;
1323
- if (!isMounted())
1324
- return;
1325
- setChainId(chainId);
1326
- }, [provider]);
1327
- return (jsx(EthersContext.Provider, Object.assign({ value: {
1328
- busy: false,
1329
- chainId,
1330
- connect,
1331
- error,
1332
- isConnected,
1333
- localAddress,
1334
- provider,
1335
- providerName,
1336
- signer: isConnected ? signer : undefined,
1337
- walletProvider,
1338
- } }, { children: children }), void 0));
1339
- };
1340
-
1341
- const OperaEthersLoader = (props) => {
1342
- var _a, _b, _c, _d, _e, _f;
1343
- const { children } = props;
1344
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1345
- const global = window;
1346
- const ethereum = global.ethereum;
1347
- const [error, setError] = useState();
1348
- const [signer, setSigner] = useState();
1349
- const [provider, setProvider] = useState();
1350
- const [localAddress, setLocalAddress] = useState(((_c = (_b = (_a = global.ethereum) === null || _a === void 0 ? void 0 : _a.addresses) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : 0) > 0 ? EthAddress.fromString((_e = (_d = global.ethereum) === null || _d === void 0 ? void 0 : _d.addresses) === null || _e === void 0 ? void 0 : _e[0]) : null);
1351
- const chainId = (ethereum === null || ethereum === void 0 ? void 0 : ethereum.chainId) ? parseInt(ethereum === null || ethereum === void 0 ? void 0 : ethereum.chainId) : 1;
1352
- const isConnected = (_f = ethereum === null || ethereum === void 0 ? void 0 : ethereum.isConnected()) !== null && _f !== void 0 ? _f : false;
1353
- React.useEffect(() => {
1354
- let cancelled = false;
1355
- if (ethereum) {
1356
- ethereum.enable();
1357
- const operaProvider = new Web3Provider(ethereum);
1358
- const provider = operaProvider;
1359
- const signer = operaProvider.getSigner();
1360
- const load = async () => {
1361
- try {
1362
- const localAddress = EthAddress.fromString(await signer.getAddress());
1363
- ethereum.autoRefreshOnNetworkChange = false;
1364
- if (!cancelled) {
1365
- setSigner(signer);
1366
- setProvider(provider);
1367
- setLocalAddress(localAddress);
1368
- }
1369
- }
1370
- catch (ex) {
1371
- if (!cancelled) {
1372
- setError(Error(`localAddress: ${ex}`));
1373
- }
1374
- }
1375
- };
1376
- load();
1377
- }
1378
- return () => {
1379
- cancelled = true;
1380
- };
1381
- }, [ethereum]);
1382
- return (jsx(EthersContext.Provider, Object.assign({ value: {
1383
- busy: false,
1384
- chainId,
1385
- error,
1386
- isConnected,
1387
- localAddress,
1388
- provider,
1389
- signer,
1390
- } }, { children: children }), void 0));
1391
- };
1392
-
1393
- const TrustEthersLoader = (props) => {
1394
- const { children } = props;
1395
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1396
- const global = window;
1397
- const [error, setError] = useState();
1398
- const [localAddress, setLocalAddress] = useState();
1399
- const trustProvider = new Web3Provider(global.ethereum);
1400
- const signer = trustProvider.getSigner();
1401
- const chainId = 1;
1402
- const provider = trustProvider;
1403
- useEffect(() => {
1404
- let cancelled = false;
1405
- if (signer) {
1406
- const load = async () => {
1407
- try {
1408
- const localAddress = EthAddress.fromString(await signer.getAddress());
1409
- if (!cancelled) {
1410
- setLocalAddress(localAddress);
1411
- }
1412
- }
1413
- catch (ex) {
1414
- if (!cancelled) {
1415
- setError(Error(`localAddress: ${ex}`));
1416
- }
1417
- }
1418
- };
1419
- load();
1420
- }
1421
- return () => {
1422
- cancelled = true;
1423
- };
1424
- }, [signer]);
1425
- return (jsx(EthersContext.Provider, Object.assign({ value: {
1426
- busy: false,
1427
- chainId,
1428
- error,
1429
- localAddress,
1430
- provider,
1431
- signer,
1432
- } }, { children: children }), void 0));
1433
- };
1434
-
1435
- const EthersLoader = (props) => {
1436
- var _a, _b, _c, _d;
1437
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1438
- const global = window;
1439
- const { children } = props;
1440
- if ((_a = global.ethereum) === null || _a === void 0 ? void 0 : _a.isMetaMask) {
1441
- return jsx(MetaMaskEthersLoader, { children: children }, void 0);
1442
- }
1443
- if ((_b = global.ethereum) === null || _b === void 0 ? void 0 : _b.isTrust) {
1444
- return jsx(TrustEthersLoader, { children: children }, void 0);
1445
- }
1446
- if ((_c = global.ethereum) === null || _c === void 0 ? void 0 : _c.isMew) {
1447
- return jsx(MyEtherWalletEthersLoader, { children: children }, void 0);
1448
- }
1449
- if (((_d = global.ethereum) === null || _d === void 0 ? void 0 : _d.providerName) === 'opera') {
1450
- return jsx(OperaEthersLoader, { children: children }, void 0);
1451
- }
1452
- if (global.ethereum) {
1453
- return jsx(OperaEthersLoader, { children: children }, void 0);
1454
- }
1455
- return jsx(InfuraEthersLoader, { children: children }, void 0);
1969
+ var EthersLoader = function (props) {
1970
+ var _a, _b, _c, _d;
1971
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1972
+ var global = window;
1973
+ var children = props.children;
1974
+ if ((_a = global.ethereum) === null || _a === void 0 ? void 0 : _a.isMetaMask) {
1975
+ return jsx(MetaMaskEthersLoader, { children: children }, void 0);
1976
+ }
1977
+ if ((_b = global.ethereum) === null || _b === void 0 ? void 0 : _b.isTrust) {
1978
+ return jsx(TrustEthersLoader, { children: children }, void 0);
1979
+ }
1980
+ if ((_c = global.ethereum) === null || _c === void 0 ? void 0 : _c.isMew) {
1981
+ return jsx(MyEtherWalletEthersLoader, { children: children }, void 0);
1982
+ }
1983
+ if (((_d = global.ethereum) === null || _d === void 0 ? void 0 : _d.providerName) === 'opera') {
1984
+ return jsx(OperaEthersLoader, { children: children }, void 0);
1985
+ }
1986
+ if (global.ethereum) {
1987
+ return jsx(OperaEthersLoader, { children: children }, void 0);
1988
+ }
1989
+ return jsx(InfuraEthersLoader, { children: children }, void 0);
1456
1990
  };
1457
1991
 
1458
- const NetworkSettingsContext = React.createContext({});
1992
+ var NetworkSettingsContext = createContext({});
1459
1993
 
1460
- const NetworkSettingsLoader = (props) => {
1461
- const { children } = props;
1462
- return (jsx(NetworkSettingsContext.Provider, Object.assign({ value: {
1463
- xyBondAddress: EthAddress.fromString('0x1a024A698EEBdB86ccf3fCaF2F589839bdc066AD'),
1464
- xyFhrMerkleSendAddress: EthAddress.fromString('0x46FEEBDffC8076D9E5fd8a11CF1508810472A79f'),
1465
- xyGovernanceAddress: EthAddress.fromString('0x01925d0fFE4a6a6162B51ba611e3D4780Fc2dF42'),
1466
- xyStakingConsensusAddress: EthAddress.fromString('0x0242514106114DEaA99Fd81574142c36Edb03B6D'),
1467
- } }, { children: children }), void 0));
1994
+ var NetworkSettingsLoader = function (props) {
1995
+ var children = props.children;
1996
+ return (jsx(NetworkSettingsContext.Provider, __assign({ value: {
1997
+ xyBondAddress: EthAddress.fromString('0x1a024A698EEBdB86ccf3fCaF2F589839bdc066AD'),
1998
+ xyFhrMerkleSendAddress: EthAddress.fromString('0x46FEEBDffC8076D9E5fd8a11CF1508810472A79f'),
1999
+ xyGovernanceAddress: EthAddress.fromString('0x01925d0fFE4a6a6162B51ba611e3D4780Fc2dF42'),
2000
+ xyStakingConsensusAddress: EthAddress.fromString('0x0242514106114DEaA99Fd81574142c36Edb03B6D'),
2001
+ } }, { children: children }), void 0));
1468
2002
  };
1469
2003
 
1470
- const UserEventsContext = React.createContext({});
2004
+ var UserEventsContext = createContext({});
2005
+
2006
+ var calcSpacing = function (theme, values) {
2007
+ for (var i = 0; i < values.length; i++) {
2008
+ var value = values[i];
2009
+ if (value !== undefined) {
2010
+ if (typeof value === 'string') {
2011
+ return value;
2012
+ }
2013
+ else if (typeof value === 'number') {
2014
+ return theme.spacing(value);
2015
+ }
2016
+ }
2017
+ }
2018
+ };
1471
2019
 
1472
- const calcSpacing = (theme, values) => {
1473
- for (let i = 0; i < values.length; i++) {
1474
- const value = values[i];
1475
- if (value !== undefined) {
1476
- if (typeof value === 'string') {
1477
- return value;
1478
- }
1479
- else if (typeof value === 'number') {
1480
- return theme.spacing(value);
1481
- }
1482
- }
1483
- }
2020
+ var mergeBoxlikeStyles = function (theme, props, defaultProps) {
2021
+ var _a = __assign(__assign({}, defaultProps), props), alignContent = _a.alignContent, alignItems = _a.alignItems, alignSelf = _a.alignSelf, bgcolor = _a.bgcolor, border = _a.border, borderColor = _a.borderColor, display = _a.display, flexGrow = _a.flexGrow, flexShrink = _a.flexShrink, flexDirection = _a.flexDirection, flexWrap = _a.flexWrap, justifyContent = _a.justifyContent, justifyItems = _a.justifyItems, justifySelf = _a.justifySelf, height = _a.height, minHeight = _a.minHeight, minWidth = _a.minWidth, margin = _a.margin, marginX = _a.marginX, marginY = _a.marginY, marginTop = _a.marginTop, marginLeft = _a.marginLeft, marginRight = _a.marginRight, marginBottom = _a.marginBottom, padding = _a.padding, paddingX = _a.paddingX, paddingY = _a.paddingY, paddingTop = _a.paddingTop, paddingLeft = _a.paddingLeft, paddingRight = _a.paddingRight, paddingBottom = _a.paddingBottom, position = _a.position, style = _a.style, width = _a.width, rootProps = __rest(_a, ["alignContent", "alignItems", "alignSelf", "bgcolor", "border", "borderColor", "display", "flexGrow", "flexShrink", "flexDirection", "flexWrap", "justifyContent", "justifyItems", "justifySelf", "height", "minHeight", "minWidth", "margin", "marginX", "marginY", "marginTop", "marginLeft", "marginRight", "marginBottom", "padding", "paddingX", "paddingY", "paddingTop", "paddingLeft", "paddingRight", "paddingBottom", "position", "style", "width"]);
2022
+ var mergedStyle = __assign({ alignContent: alignContent, alignItems: alignItems, alignSelf: alignSelf, backgroundColor: bgcolor, border: border, borderColor: borderColor, display: display, flexDirection: flexDirection, flexGrow: flexGrow, flexShrink: flexShrink, flexWrap: flexWrap, height: height, justifyContent: justifyContent, justifyItems: justifyItems, justifySelf: justifySelf, marginBottom: calcSpacing(theme, [marginBottom, marginY, margin]), marginLeft: calcSpacing(theme, [marginLeft, marginX, margin]), marginRight: calcSpacing(theme, [marginRight, marginX, margin]), marginTop: calcSpacing(theme, [marginTop, marginY, margin]), minHeight: minHeight, minWidth: minWidth, paddingBottom: calcSpacing(theme, [paddingBottom, paddingY, padding]), paddingLeft: calcSpacing(theme, [paddingLeft, paddingX, padding]), paddingRight: calcSpacing(theme, [paddingRight, paddingX, padding]), paddingTop: calcSpacing(theme, [paddingTop, paddingY, padding]), position: position, width: width }, style);
2023
+ return __assign(__assign({}, rootProps), { style: mergedStyle });
1484
2024
  };
1485
2025
 
1486
- const mergeBoxlikeStyles = (theme, props, defaultProps) => {
1487
- const _a = Object.assign(Object.assign({}, defaultProps), props), { alignContent, alignItems, alignSelf, bgcolor, border, borderColor, display, flexGrow, flexShrink, flexDirection, flexWrap, justifyContent, justifyItems, justifySelf, height, minHeight, minWidth, margin, marginX, marginY, marginTop, marginLeft, marginRight, marginBottom, padding, paddingX, paddingY, paddingTop, paddingLeft, paddingRight, paddingBottom, position, style, width } = _a, rootProps = __rest(_a, ["alignContent", "alignItems", "alignSelf", "bgcolor", "border", "borderColor", "display", "flexGrow", "flexShrink", "flexDirection", "flexWrap", "justifyContent", "justifyItems", "justifySelf", "height", "minHeight", "minWidth", "margin", "marginX", "marginY", "marginTop", "marginLeft", "marginRight", "marginBottom", "padding", "paddingX", "paddingY", "paddingTop", "paddingLeft", "paddingRight", "paddingBottom", "position", "style", "width"]);
1488
- const mergedStyle = Object.assign({ alignContent,
1489
- alignItems,
1490
- alignSelf, backgroundColor: bgcolor, border,
1491
- borderColor,
1492
- display,
1493
- flexDirection,
1494
- flexGrow,
1495
- flexShrink,
1496
- flexWrap,
1497
- height,
1498
- justifyContent,
1499
- justifyItems,
1500
- justifySelf, marginBottom: calcSpacing(theme, [marginBottom, marginY, margin]), marginLeft: calcSpacing(theme, [marginLeft, marginX, margin]), marginRight: calcSpacing(theme, [marginRight, marginX, margin]), marginTop: calcSpacing(theme, [marginTop, marginY, margin]), minHeight,
1501
- minWidth, paddingBottom: calcSpacing(theme, [paddingBottom, paddingY, padding]), paddingLeft: calcSpacing(theme, [paddingLeft, paddingX, padding]), paddingRight: calcSpacing(theme, [paddingRight, paddingX, padding]), paddingTop: calcSpacing(theme, [paddingTop, paddingY, padding]), position,
1502
- width }, style);
1503
- return Object.assign(Object.assign({}, rootProps), { style: mergedStyle });
1504
- };
1505
-
1506
- const ButtonExBase = (props) => {
1507
- const theme = useTheme();
1508
- const _a = mergeBoxlikeStyles(theme, props), { busy, busyVariant = 'linear', busyOpacity, onClick, children } = _a, rootProps = __rest(_a, ["busy", "busyVariant", "busyOpacity", "onClick", "children"]);
1509
- const localOnClick = (event) => {
1510
- if (!busy) {
1511
- onClick === null || onClick === void 0 ? void 0 : onClick(event);
1512
- }
1513
- };
1514
- return (jsxs(Button, Object.assign({ onClick: localOnClick }, rootProps, { children: [busy && busyVariant === 'linear' ? jsx(BusyLinearProgress, { rounded: true, opacity: busyOpacity !== null && busyOpacity !== void 0 ? busyOpacity : 0 }, void 0) : null, busy && busyVariant === 'circular' ? (jsx(BusyCircularProgress, { rounded: true, size: 24, opacity: busyOpacity !== null && busyOpacity !== void 0 ? busyOpacity : 0.5 }, void 0)) : null, children] }), void 0));
2026
+ var ButtonExBase = function (props) {
2027
+ var theme = useTheme();
2028
+ var _a = mergeBoxlikeStyles(theme, props), busy = _a.busy, _b = _a.busyVariant, busyVariant = _b === void 0 ? 'linear' : _b, busyOpacity = _a.busyOpacity, onClick = _a.onClick, children = _a.children, rootProps = __rest(_a, ["busy", "busyVariant", "busyOpacity", "onClick", "children"]);
2029
+ var localOnClick = function (event) {
2030
+ if (!busy) {
2031
+ onClick === null || onClick === void 0 ? void 0 : onClick(event);
2032
+ }
2033
+ };
2034
+ return (jsxs(Button, __assign({ onClick: localOnClick }, rootProps, { children: [busy && busyVariant === 'linear' ? jsx(BusyLinearProgress, { rounded: true, opacity: busyOpacity !== null && busyOpacity !== void 0 ? busyOpacity : 0 }, void 0) : null, busy && busyVariant === 'circular' ? (jsx(BusyCircularProgress, { rounded: true, size: 24, opacity: busyOpacity !== null && busyOpacity !== void 0 ? busyOpacity : 0.5 }, void 0)) : null, children] }), void 0));
1515
2035
  };
1516
2036
 
1517
- const ButtonExTo = (_a) => {
1518
- var { to, toOptions, onClick } = _a, props = __rest(_a, ["to", "toOptions", "onClick"]);
1519
- const navigate = useNavigate();
1520
- const localOnClick = (event) => {
1521
- onClick === null || onClick === void 0 ? void 0 : onClick(event);
1522
- if (to) {
1523
- navigate(to, toOptions);
1524
- }
1525
- };
1526
- return jsx(ButtonExBase, Object.assign({ onClick: localOnClick }, props), void 0);
2037
+ var ButtonExTo = function (_a) {
2038
+ var to = _a.to, toOptions = _a.toOptions, onClick = _a.onClick, props = __rest(_a, ["to", "toOptions", "onClick"]);
2039
+ var navigate = useNavigate();
2040
+ var localOnClick = function (event) {
2041
+ onClick === null || onClick === void 0 ? void 0 : onClick(event);
2042
+ if (to) {
2043
+ navigate(to, toOptions);
2044
+ }
2045
+ };
2046
+ return jsx(ButtonExBase, __assign({ onClick: localOnClick }, props), void 0);
1527
2047
  };
1528
2048
 
1529
- const ButtonEx = (_a) => {
1530
- var { to } = _a, props = __rest(_a, ["to"]);
1531
- if (to) {
1532
- return jsx(ButtonExTo, Object.assign({ to: to }, props), void 0);
1533
- }
1534
- else {
1535
- return jsx(ButtonExBase, Object.assign({}, props), void 0);
1536
- }
2049
+ var ButtonEx = function (_a) {
2050
+ var to = _a.to, props = __rest(_a, ["to"]);
2051
+ if (to) {
2052
+ return jsx(ButtonExTo, __assign({ to: to }, props), void 0);
2053
+ }
2054
+ else {
2055
+ return jsx(ButtonExBase, __assign({}, props), void 0);
2056
+ }
1537
2057
  };
1538
2058
 
1539
- const CookieConsentBody = (_a) => {
1540
- var { acceptOnScroll, acceptOnTimer = 0, onAccept } = _a, props = __rest(_a, ["acceptOnScroll", "acceptOnTimer", "onAccept"]);
1541
- const { accepted, setAccepted, storageName } = useCookieConsent();
1542
- const onScroll = () => {
1543
- //hide it one the user has scrolled at least one page
1544
- if (window.scrollY > window.innerHeight && !accepted) {
1545
- onAcceptClick();
1546
- }
1547
- };
1548
- useEffect(() => {
1549
- if (acceptOnScroll) {
1550
- window.addEventListener('scroll', onScroll);
1551
- return () => {
1552
- window.removeEventListener('scroll', onScroll);
1553
- };
1554
- }
1555
- });
1556
- const onAcceptClick = () => {
1557
- if (setAccepted) {
1558
- setAccepted === null || setAccepted === void 0 ? void 0 : setAccepted(true);
1559
- }
1560
- else {
1561
- localStorage.setItem(storageName !== null && storageName !== void 0 ? storageName : 'CookiesAccepted', 'true');
1562
- }
1563
- onAccept === null || onAccept === void 0 ? void 0 : onAccept(true);
1564
- };
1565
- if (acceptOnTimer > 0 && !accepted) {
1566
- setTimeout(() => {
1567
- onAcceptClick();
1568
- }, acceptOnTimer);
1569
- }
1570
- if (!storageName) {
1571
- return (jsx(FlexRow, Object.assign({ justifyContent: "center", paddingY: 2 }, props, { children: jsx(Typography, Object.assign({ color: "error", variant: "body1" }, { children: "Missing CookieConsentContext" }), void 0) }), void 0));
1572
- }
1573
- return accepted ? null : (jsxs(FlexRow, Object.assign({ justifyContent: "space-between" }, props, { children: [jsxs(Typography, Object.assign({ variant: "body2", margin: 2 }, { children: ['This site uses ', jsx(Link, Object.assign({ href: "https://cookiesandyou.com/", rel: "noopener noreferrer", target: "_blank" }, { children: "cookies" }), void 0), ' and ', jsx(Link, Object.assign({ href: "https://policies.google.com/technologies/partner-sites", rel: "noopener noreferrer", target: "_blank" }, { children: "Google\u00A0tools" }), void 0), ' to analyze traffic and for ads measurement purposes.'] }), void 0), jsx(ButtonEx, Object.assign({ variant: "contained", color: "secondary", onClick: onAcceptClick, margin: 2 }, { children: "Accept" }), void 0)] }), void 0));
2059
+ var CookieConsentBody = function (_a) {
2060
+ var acceptOnScroll = _a.acceptOnScroll, _b = _a.acceptOnTimer, acceptOnTimer = _b === void 0 ? 0 : _b, onAccept = _a.onAccept, props = __rest(_a, ["acceptOnScroll", "acceptOnTimer", "onAccept"]);
2061
+ var _c = useCookieConsent(), accepted = _c.accepted, setAccepted = _c.setAccepted, storageName = _c.storageName;
2062
+ var onScroll = function () {
2063
+ //hide it one the user has scrolled at least one page
2064
+ if (window.scrollY > window.innerHeight && !accepted) {
2065
+ onAcceptClick();
2066
+ }
2067
+ };
2068
+ useEffect(function () {
2069
+ if (acceptOnScroll) {
2070
+ window.addEventListener('scroll', onScroll);
2071
+ return function () {
2072
+ window.removeEventListener('scroll', onScroll);
2073
+ };
2074
+ }
2075
+ });
2076
+ var onAcceptClick = function () {
2077
+ if (setAccepted) {
2078
+ setAccepted === null || setAccepted === void 0 ? void 0 : setAccepted(true);
2079
+ }
2080
+ else {
2081
+ localStorage.setItem(storageName !== null && storageName !== void 0 ? storageName : 'CookiesAccepted', 'true');
2082
+ }
2083
+ onAccept === null || onAccept === void 0 ? void 0 : onAccept(true);
2084
+ };
2085
+ if (acceptOnTimer > 0 && !accepted) {
2086
+ setTimeout(function () {
2087
+ onAcceptClick();
2088
+ }, acceptOnTimer);
2089
+ }
2090
+ if (!storageName) {
2091
+ return (jsx(FlexRow, __assign({ justifyContent: "center", paddingY: 2 }, props, { children: jsx(Typography, __assign({ color: "error", variant: "body1" }, { children: "Missing CookieConsentContext" }), void 0) }), void 0));
2092
+ }
2093
+ return accepted ? null : (jsxs(FlexRow, __assign({ justifyContent: "space-between" }, props, { children: [jsxs(Typography, __assign({ variant: "body2", margin: 2 }, { children: ['This site uses ', jsx(Link, __assign({ href: "https://cookiesandyou.com/", rel: "noopener noreferrer", target: "_blank" }, { children: "cookies" }), void 0), ' and ', jsx(Link, __assign({ href: "https://policies.google.com/technologies/partner-sites", rel: "noopener noreferrer", target: "_blank" }, { children: "Google\u00A0tools" }), void 0), ' to analyze traffic and for ads measurement purposes.'] }), void 0), jsx(ButtonEx, __assign({ variant: "contained", color: "secondary", onClick: onAcceptClick, margin: 2 }, { children: "Accept" }), void 0)] }), void 0));
1574
2094
  };
1575
2095
 
1576
- const CookieConsent = (props) => {
1577
- const { storageName } = useCookieConsent();
1578
- const Inner = () => {
1579
- const { accepted } = useCookieConsent();
1580
- return accepted ? null : (jsx(CookieConsentBody, Object.assign({ background: true, paper: true, position: "fixed", bottom: 0, maxWidth: "100vw", width: "100%", zIndex: 1000 }, props), void 0));
1581
- };
1582
- //if not inside a context, make a context
1583
- if (!storageName) {
1584
- return (jsx(CookieConsentLoader, { children: jsx(Inner, {}, void 0) }, void 0));
1585
- }
1586
- return jsx(Inner, {}, void 0);
2096
+ var CookieConsent = function (props) {
2097
+ var storageName = useCookieConsent().storageName;
2098
+ var Inner = function () {
2099
+ var accepted = useCookieConsent().accepted;
2100
+ return accepted ? null : (jsx(CookieConsentBody, __assign({ background: true, paper: true, position: "fixed", bottom: 0, maxWidth: "100vw", width: "100%", zIndex: 1000 }, props), void 0));
2101
+ };
2102
+ //if not inside a context, make a context
2103
+ if (!storageName) {
2104
+ return (jsx(CookieConsentLoader, { children: jsx(Inner, {}, void 0) }, void 0));
2105
+ }
2106
+ return jsx(Inner, {}, void 0);
1587
2107
  };
1588
2108
 
1589
- const InvertableThemeContext = React.createContext({
1590
- options: {},
2109
+ var InvertableThemeContext = createContext({
2110
+ options: {},
1591
2111
  });
1592
2112
 
1593
- const InvertableThemeProvider = ({ options, children, dark, scoped = false, invert = false, noResponsiveFonts, }) => {
1594
- var _a, _b;
1595
- const contextInvertableTheme = useContext(InvertableThemeContext);
1596
- const clonedOptions = clone((_a = options !== null && options !== void 0 ? options : contextInvertableTheme.options) !== null && _a !== void 0 ? _a : {});
1597
- clonedOptions.palette = (_b = clonedOptions.palette) !== null && _b !== void 0 ? _b : {};
1598
- if (invert) {
1599
- clonedOptions.palette.mode = clonedOptions.palette.mode === 'dark' ? 'light' : 'dark';
1600
- }
1601
- if (dark !== undefined) {
1602
- clonedOptions.palette.mode = dark ? 'dark' : 'light';
1603
- }
1604
- let theme = createTheme(clonedOptions);
1605
- if (!noResponsiveFonts) {
1606
- theme = responsiveFontSizes(theme);
1607
- }
1608
- return scoped ? (jsx(ScopedCssBaseline, { children: jsx(InvertableThemeContext.Provider, Object.assign({ value: { options: clonedOptions } }, { children: jsx(ThemeProvider, Object.assign({ theme: theme }, { children: children }), void 0) }), void 0) }, void 0)) : (jsx(InvertableThemeContext.Provider, Object.assign({ value: { options: clonedOptions } }, { children: jsx(ThemeProvider, Object.assign({ theme: theme }, { children: children }), void 0) }), void 0));
2113
+ var InvertableThemeProvider = function (_a) {
2114
+ var _b, _c;
2115
+ var options = _a.options, children = _a.children, dark = _a.dark, _d = _a.scoped, scoped = _d === void 0 ? false : _d, _e = _a.invert, invert = _e === void 0 ? false : _e, noResponsiveFonts = _a.noResponsiveFonts;
2116
+ var contextInvertableTheme = useContext(InvertableThemeContext);
2117
+ var clonedOptions = clone((_b = options !== null && options !== void 0 ? options : contextInvertableTheme.options) !== null && _b !== void 0 ? _b : {});
2118
+ clonedOptions.palette = (_c = clonedOptions.palette) !== null && _c !== void 0 ? _c : {};
2119
+ if (invert) {
2120
+ clonedOptions.palette.mode = clonedOptions.palette.mode === 'dark' ? 'light' : 'dark';
2121
+ }
2122
+ if (dark !== undefined) {
2123
+ clonedOptions.palette.mode = dark ? 'dark' : 'light';
2124
+ }
2125
+ var theme = createTheme(clonedOptions);
2126
+ if (!noResponsiveFonts) {
2127
+ theme = responsiveFontSizes(theme);
2128
+ }
2129
+ return scoped ? (jsx(ScopedCssBaseline, { children: jsx(InvertableThemeContext.Provider, __assign({ value: { options: clonedOptions } }, { children: jsx(ThemeProvider, __assign({ theme: theme }, { children: children }), void 0) }), void 0) }, void 0)) : (jsx(InvertableThemeContext.Provider, __assign({ value: { options: clonedOptions } }, { children: jsx(ThemeProvider, __assign({ theme: theme }, { children: children }), void 0) }), void 0));
1609
2130
  };
1610
2131
 
1611
- const BasePage = (_a) => {
1612
- var { disableGutters, children, beta, container, hideFooter, appFooter, appBar, cookieConsent, hideAppBar, noindex = false, scrollToTopButton = false, title } = _a, props = __rest(_a, ["disableGutters", "children", "beta", "container", "hideFooter", "appFooter", "appBar", "cookieConsent", "hideAppBar", "noindex", "scrollToTopButton", "title"]);
1613
- const theme = useTheme();
1614
- const scrollToTopAnchorId = 'scroll-to-top-anchor';
1615
- return (jsxs(FlexCol, Object.assign({ justifyContent: "flex-start", color: theme.palette.text.primary, alignItems: "stretch", width: "100%", maxWidth: "100vw", minHeight: "100vh" }, props, { children: [jsx(Helmet, Object.assign({ title: title }, { children: noindex ? jsx("meta", { content: "noindex", name: "robots" }, void 0) : null }), void 0), scrollToTopButton ? jsx("div", { id: scrollToTopAnchorId }, void 0) : null, hideAppBar ? null : appBar, beta ? (jsx(FlexRow, Object.assign({ margin: 1, position: "absolute", top: 0, left: 0, bgcolor: "#cccccc88", paddingX: 1, style: { opacity: 0.5 } }, { children: jsx(Typography, Object.assign({ variant: "body2" }, { children: "Important: This page is a Beta page. It is possible that some information may not be correct." }), void 0) }), void 0)) : null, container ? (jsx(Container, Object.assign({ style: { alignItems: 'stretch', display: 'flex', flexDirection: 'column', flexGrow: 1 }, maxWidth: container, disableGutters: disableGutters }, { children: children }), void 0)) : (children), hideFooter ? null : jsx("footer", { children: appFooter }, void 0), cookieConsent !== null && cookieConsent !== void 0 ? cookieConsent : (jsx(ScopedCssBaseline, { children: jsx(InvertableThemeProvider, Object.assign({ invert: true }, { children: jsx(CookieConsent, { borderRadius: 0 }, void 0) }), void 0) }, void 0)), scrollToTopButton ? (jsx(ScrollToTopButton, Object.assign({ anchorId: scrollToTopAnchorId }, { children: jsx(Fab, Object.assign({ "aria-label": "scroll to top", color: "secondary", size: "small" }, { children: jsx(KeyboardArrowUp, {}, void 0) }), void 0) }), void 0)) : null] }), void 0));
2132
+ var BasePage = function (_a) {
2133
+ var disableGutters = _a.disableGutters, children = _a.children, beta = _a.beta, container = _a.container, hideFooter = _a.hideFooter, appFooter = _a.appFooter, appBar = _a.appBar, cookieConsent = _a.cookieConsent, hideAppBar = _a.hideAppBar, _b = _a.noindex, noindex = _b === void 0 ? false : _b, _c = _a.scrollToTopButton, scrollToTopButton = _c === void 0 ? false : _c, title = _a.title, props = __rest(_a, ["disableGutters", "children", "beta", "container", "hideFooter", "appFooter", "appBar", "cookieConsent", "hideAppBar", "noindex", "scrollToTopButton", "title"]);
2134
+ var theme = useTheme();
2135
+ var scrollToTopAnchorId = 'scroll-to-top-anchor';
2136
+ return (jsxs(FlexCol, __assign({ justifyContent: "flex-start", color: theme.palette.text.primary, alignItems: "stretch", width: "100%", maxWidth: "100vw", minHeight: "100vh" }, props, { children: [jsx(Helmet, __assign({ title: title }, { children: noindex ? jsx("meta", { content: "noindex", name: "robots" }, void 0) : null }), void 0), scrollToTopButton ? jsx("div", { id: scrollToTopAnchorId }, void 0) : null, hideAppBar ? null : appBar, beta ? (jsx(FlexRow, __assign({ margin: 1, position: "absolute", top: 0, left: 0, bgcolor: "#cccccc88", paddingX: 1, style: { opacity: 0.5 } }, { children: jsx(Typography, __assign({ variant: "body2" }, { children: "Important: This page is a Beta page. It is possible that some information may not be correct." }), void 0) }), void 0)) : null, container ? (jsx(Container, __assign({ style: { alignItems: 'stretch', display: 'flex', flexDirection: 'column', flexGrow: 1 }, maxWidth: container, disableGutters: disableGutters }, { children: children }), void 0)) : (children), hideFooter ? null : jsx("footer", { children: appFooter }, void 0), cookieConsent !== null && cookieConsent !== void 0 ? cookieConsent : (jsx(ScopedCssBaseline, { children: jsx(InvertableThemeProvider, __assign({ invert: true }, { children: jsx(CookieConsent, { borderRadius: 0 }, void 0) }), void 0) }, void 0)), scrollToTopButton ? (jsx(ScrollToTopButton, __assign({ anchorId: scrollToTopAnchorId }, { children: jsx(Fab, __assign({ "aria-label": "scroll to top", color: "secondary", size: "small" }, { children: jsx(KeyboardArrowUp, {}, void 0) }), void 0) }), void 0)) : null] }), void 0));
1616
2137
  };
1617
2138
 
1618
- const getPartialPath = (pathParts, index) => {
1619
- const result = [];
1620
- for (let i = 0; i <= index; i++) {
1621
- result.push(`${pathParts[i]}/`);
1622
- }
1623
- return result.join('');
1624
- };
1625
- const BreadcrumbsEx = (_a) => {
1626
- var _b;
1627
- var { titles, path = document.location.pathname, separator = '|', logo, children } = _a, props = __rest(_a, ["titles", "path", "separator", "logo", "children"]);
1628
- const pathParts = path.split('/');
1629
- //if the url has a trailing '/', remove the last part
1630
- if (((_b = pathParts[pathParts.length - 1]) === null || _b === void 0 ? void 0 : _b.length) === 0) {
1631
- pathParts.pop();
1632
- }
1633
- assertEx(pathParts.length - 1 === (titles === null || titles === void 0 ? void 0 : titles.length), `Path/Title length mismatch: ${JSON.stringify(titles)} with ${JSON.stringify(pathParts)}`);
1634
- return (jsxs(Breadcrumbs, Object.assign({ separator: separator }, props, { children: [pathParts.map((_pathPart, index) => {
1635
- const path = getPartialPath(pathParts, index);
1636
- return (jsx(Link, Object.assign({ title: index > 0 ? titles === null || titles === void 0 ? void 0 : titles[index - 1] : 'COIN', color: index === pathParts.length - 1 ? 'textPrimary' : 'inherit', component: Link$1, to: path }, { children: index > 0 ? (titles === null || titles === void 0 ? void 0 : titles[index - 1]) : (jsx(FlexRow, { children: typeof logo === 'string' ? jsx("img", { src: logo }, void 0) : logo }, void 0)) }), path));
1637
- }), children] }), void 0));
2139
+ var getPartialPath = function (pathParts, index) {
2140
+ var result = [];
2141
+ for (var i = 0; i <= index; i++) {
2142
+ result.push("".concat(pathParts[i], "/"));
2143
+ }
2144
+ return result.join('');
2145
+ };
2146
+ var BreadcrumbsEx = function (_a) {
2147
+ var _b;
2148
+ var titles = _a.titles, _c = _a.path, path = _c === void 0 ? document.location.pathname : _c, _d = _a.separator, separator = _d === void 0 ? '|' : _d, logo = _a.logo, children = _a.children, props = __rest(_a, ["titles", "path", "separator", "logo", "children"]);
2149
+ var pathParts = path.split('/');
2150
+ //if the url has a trailing '/', remove the last part
2151
+ if (((_b = pathParts[pathParts.length - 1]) === null || _b === void 0 ? void 0 : _b.length) === 0) {
2152
+ pathParts.pop();
2153
+ }
2154
+ assertEx(pathParts.length - 1 === (titles === null || titles === void 0 ? void 0 : titles.length), "Path/Title length mismatch: ".concat(JSON.stringify(titles), " with ").concat(JSON.stringify(pathParts)));
2155
+ return (jsxs(Breadcrumbs, __assign({ separator: separator }, props, { children: [pathParts.map(function (_pathPart, index) {
2156
+ var path = getPartialPath(pathParts, index);
2157
+ return (jsx(Link, __assign({ title: index > 0 ? titles === null || titles === void 0 ? void 0 : titles[index - 1] : 'COIN', color: index === pathParts.length - 1 ? 'textPrimary' : 'inherit', component: Link$1, to: path }, { children: index > 0 ? (titles === null || titles === void 0 ? void 0 : titles[index - 1]) : (jsx(FlexRow, { children: typeof logo === 'string' ? jsx("img", { src: logo }, void 0) : logo }, void 0)) }), path));
2158
+ }), children] }), void 0));
1638
2159
  };
1639
2160
 
1640
- const toAxiosError = (error) => {
1641
- return error.isAxiosError ? error : undefined;
1642
- };
1643
- const ErrorDialogOpen = (_a) => {
1644
- var _b, _c;
1645
- var { onAction, title = 'Oops. Something went wrong.', error = Error('Unknown Error') } = _a, props = __rest(_a, ["onAction", "title", "error"]);
1646
- const onCloseClicked = () => {
1647
- onAction === null || onAction === void 0 ? void 0 : onAction(false);
1648
- };
1649
- const onRetryClicked = () => {
1650
- onAction === null || onAction === void 0 ? void 0 : onAction(true);
1651
- };
1652
- const axiosError = toAxiosError(error);
1653
- const message = (_b = error.message) !== null && _b !== void 0 ? _b : error.toString();
1654
- return (jsxs(Dialog, Object.assign({}, props, { children: [jsx(DialogTitle, { children: title }, void 0), jsx(DialogContent, { children: jsx(FlexRow, { children: jsx(Typography, Object.assign({ color: "error" }, { children: axiosError ? `${message} [${(_c = axiosError === null || axiosError === void 0 ? void 0 : axiosError.code) !== null && _c !== void 0 ? _c : 'Connection Failure'}]` : `${message}` }), void 0) }, void 0) }, void 0), jsx(DialogActions, { children: jsxs(FlexRow, Object.assign({ justifyContent: "space-between", width: "100%", minWidth: "300px" }, { children: [jsx(ButtonEx, Object.assign({ onClick: onCloseClicked, variant: "text" }, { children: "Close" }), void 0), jsx(ButtonEx, Object.assign({ onClick: onRetryClicked, variant: "text" }, { children: "Retry" }), void 0)] }), void 0) }, void 0)] }), void 0));
1655
- };
1656
- const ErrorDialog = (_a) => {
1657
- var { open, error } = _a, props = __rest(_a, ["open", "error"]);
1658
- if (error) {
1659
- return jsx(ErrorDialogOpen, Object.assign({ open: !!error || open, error: error }, props), void 0);
1660
- }
1661
- else {
1662
- return null;
1663
- }
2161
+ var toAxiosError = function (error) {
2162
+ return error.isAxiosError ? error : undefined;
2163
+ };
2164
+ var ErrorDialogOpen = function (_a) {
2165
+ var _b, _c;
2166
+ var onAction = _a.onAction, _d = _a.title, title = _d === void 0 ? 'Oops. Something went wrong.' : _d, _e = _a.error, error = _e === void 0 ? Error('Unknown Error') : _e, props = __rest(_a, ["onAction", "title", "error"]);
2167
+ var onCloseClicked = function () {
2168
+ onAction === null || onAction === void 0 ? void 0 : onAction(false);
2169
+ };
2170
+ var onRetryClicked = function () {
2171
+ onAction === null || onAction === void 0 ? void 0 : onAction(true);
2172
+ };
2173
+ var axiosError = toAxiosError(error);
2174
+ var message = (_b = error.message) !== null && _b !== void 0 ? _b : error.toString();
2175
+ return (jsxs(Dialog, __assign({}, props, { children: [jsx(DialogTitle, { children: title }, void 0), jsx(DialogContent, { children: jsx(FlexRow, { children: jsx(Typography, __assign({ color: "error" }, { children: axiosError ? "".concat(message, " [").concat((_c = axiosError === null || axiosError === void 0 ? void 0 : axiosError.code) !== null && _c !== void 0 ? _c : 'Connection Failure', "]") : "".concat(message) }), void 0) }, void 0) }, void 0), jsx(DialogActions, { children: jsxs(FlexRow, __assign({ justifyContent: "space-between", width: "100%", minWidth: "300px" }, { children: [jsx(ButtonEx, __assign({ onClick: onCloseClicked, variant: "text" }, { children: "Close" }), void 0), jsx(ButtonEx, __assign({ onClick: onRetryClicked, variant: "text" }, { children: "Retry" }), void 0)] }), void 0) }, void 0)] }), void 0));
2176
+ };
2177
+ var ErrorDialog = function (_a) {
2178
+ var open = _a.open, error = _a.error, props = __rest(_a, ["open", "error"]);
2179
+ if (error) {
2180
+ return jsx(ErrorDialogOpen, __assign({ open: !!error || open, error: error }, props), void 0);
2181
+ }
2182
+ else {
2183
+ return null;
2184
+ }
1664
2185
  };
1665
2186
 
1666
- const MessageDialog = (_a) => {
1667
- var { onOk, onCancel, children, title } = _a, props = __rest(_a, ["onOk", "onCancel", "children", "title"]);
1668
- return (jsxs(Dialog, Object.assign({}, props, { children: [jsx(DialogTitle, { children: title }, void 0), jsx(DialogContent, { children: jsx(FlexCol, Object.assign({ alignItems: "stretch" }, { children: children }), void 0) }, void 0), jsx(DialogActions, { children: jsxs(FlexRow, Object.assign({ justifyContent: "space-between", width: "100%" }, { children: [jsx(Button, Object.assign({ onClick: onCancel, variant: "text" }, { children: "Cancel" }), void 0), jsx(Button, Object.assign({ onClick: onOk, variant: "text" }, { children: "Ok" }), void 0)] }), void 0) }, void 0)] }), void 0));
2187
+ var MessageDialog = function (_a) {
2188
+ var onOk = _a.onOk, onCancel = _a.onCancel, children = _a.children, title = _a.title, props = __rest(_a, ["onOk", "onCancel", "children", "title"]);
2189
+ return (jsxs(Dialog, __assign({}, props, { children: [jsx(DialogTitle, { children: title }, void 0), jsx(DialogContent, { children: jsx(FlexCol, __assign({ alignItems: "stretch" }, { children: children }), void 0) }, void 0), jsx(DialogActions, { children: jsxs(FlexRow, __assign({ justifyContent: "space-between", width: "100%" }, { children: [jsx(Button, __assign({ onClick: onCancel, variant: "text" }, { children: "Cancel" }), void 0), jsx(Button, __assign({ onClick: onOk, variant: "text" }, { children: "Ok" }), void 0)] }), void 0) }, void 0)] }), void 0));
1669
2190
  };
1670
2191
 
1671
- const useBreakpoint = () => {
1672
- const theme = useTheme();
1673
- const xs = useMediaQuery(theme.breakpoints.only('xs'));
1674
- const sm = useMediaQuery(theme.breakpoints.only('sm'));
1675
- const md = useMediaQuery(theme.breakpoints.only('md'));
1676
- const lg = useMediaQuery(theme.breakpoints.only('lg'));
1677
- const xl = useMediaQuery(theme.breakpoints.only('xl'));
1678
- if (xs) {
1679
- return 'xs';
1680
- }
1681
- else if (sm) {
1682
- return 'sm';
1683
- }
1684
- else if (md) {
1685
- return 'md';
1686
- }
1687
- else if (lg) {
1688
- return 'lg';
1689
- }
1690
- else if (xl) {
1691
- return 'xl';
1692
- }
2192
+ var useBreakpoint = function () {
2193
+ var theme = useTheme();
2194
+ var xs = useMediaQuery(theme.breakpoints.only('xs'));
2195
+ var sm = useMediaQuery(theme.breakpoints.only('sm'));
2196
+ var md = useMediaQuery(theme.breakpoints.only('md'));
2197
+ var lg = useMediaQuery(theme.breakpoints.only('lg'));
2198
+ var xl = useMediaQuery(theme.breakpoints.only('xl'));
2199
+ if (xs) {
2200
+ return 'xs';
2201
+ }
2202
+ else if (sm) {
2203
+ return 'sm';
2204
+ }
2205
+ else if (md) {
2206
+ return 'md';
2207
+ }
2208
+ else if (lg) {
2209
+ return 'lg';
2210
+ }
2211
+ else if (xl) {
2212
+ return 'xl';
2213
+ }
1693
2214
  };
1694
2215
 
1695
- const useMounted = () => {
1696
- const [mounted, setMounted] = useState(true);
1697
- useEffect(() => {
1698
- setMounted(true);
1699
- return () => {
1700
- // eslint-disable-next-line react-hooks/exhaustive-deps
1701
- setMounted(false);
1702
- };
1703
- }, []);
1704
- return () => {
1705
- return mounted;
1706
- };
2216
+ var useMounted = function () {
2217
+ var _a = __read(useState(true), 2), mounted = _a[0], setMounted = _a[1];
2218
+ useEffect(function () {
2219
+ setMounted(true);
2220
+ return function () {
2221
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2222
+ setMounted(false);
2223
+ };
2224
+ }, []);
2225
+ return function () {
2226
+ return mounted;
2227
+ };
1707
2228
  };
1708
2229
 
1709
- const useNavigateToEthAddress = () => {
1710
- const navigate = useNavigate();
1711
- const navigateToEthAddress = (address, event, page, to, toOptions, toEtherScan) => {
1712
- var _a;
1713
- const openInEtherScan = toEtherScan || (!to && !page);
1714
- if (openInEtherScan) {
1715
- window.open(`https://etherscan.io/address/${address.toString()}`, '_blank');
1716
- }
1717
- else {
1718
- const path = (_a = to === null || to === void 0 ? void 0 : to.toString()) !== null && _a !== void 0 ? _a : `/${page}/${address.toString()}`;
1719
- if (event.metaKey || toEtherScan) {
1720
- window.open(path, '_blank');
1721
- }
1722
- else {
1723
- navigate(to !== null && to !== void 0 ? to : path, toOptions);
1724
- }
1725
- }
1726
- };
1727
- return { navigateToEthAddress };
2230
+ var useNavigateToEthAddress = function () {
2231
+ var navigate = useNavigate();
2232
+ var navigateToEthAddress = function (address, event, page, to, toOptions, toEtherScan) {
2233
+ var _a;
2234
+ var openInEtherScan = toEtherScan || (!to && !page);
2235
+ if (openInEtherScan) {
2236
+ window.open("https://etherscan.io/address/".concat(address.toString()), '_blank');
2237
+ }
2238
+ else {
2239
+ var path = (_a = to === null || to === void 0 ? void 0 : to.toString()) !== null && _a !== void 0 ? _a : "/".concat(page, "/").concat(address.toString());
2240
+ if (event.metaKey || toEtherScan) {
2241
+ window.open(path, '_blank');
2242
+ }
2243
+ else {
2244
+ navigate(to !== null && to !== void 0 ? to : path, toOptions);
2245
+ }
2246
+ }
2247
+ };
2248
+ return { navigateToEthAddress: navigateToEthAddress };
1728
2249
  };
1729
2250
 
1730
- const useSpacing = (value) => {
1731
- const theme = useTheme();
1732
- return theme.spacing(typeof value === 'string' ? parseInt(value) : value);
2251
+ var useSpacing = function (value) {
2252
+ var theme = useTheme();
2253
+ return theme.spacing(typeof value === 'string' ? parseInt(value) : value);
1733
2254
  };
1734
2255
 
1735
- let supportsWebP = undefined;
1736
- const useWebP = (webp, alt) => {
1737
- const [img, setImg] = useState(supportsWebP === true ? webp : supportsWebP === false ? alt : undefined);
1738
- useAsyncEffect(async (mounted) => {
1739
- if (supportsWebP === undefined) {
1740
- supportsWebP = await getSupportsWebP();
1741
- if (mounted()) {
1742
- setImg(supportsWebP ? webp : alt);
1743
- }
1744
- }
1745
- }, [supportsWebP]);
1746
- return img;
1747
- };
1748
- const getSupportsWebP = async () => {
1749
- return await new Promise((resolve) => {
1750
- const image = new Image();
1751
- image.onerror = () => resolve(false);
1752
- image.onload = () => resolve(image.width === 1);
1753
- image.src = 'data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=';
1754
- }).catch(() => false);
1755
- };
1756
-
1757
- function useWindowSize() {
1758
- const [windowSize, setWindowSize] = useState({
1759
- height: undefined,
1760
- width: undefined,
1761
- });
1762
- useEffect(() => {
1763
- function handleResize() {
1764
- setWindowSize({
1765
- height: window.innerHeight,
1766
- width: window.innerWidth,
1767
- });
1768
- }
1769
- window.addEventListener('resize', handleResize);
1770
- handleResize();
1771
- return () => window.removeEventListener('resize', handleResize);
1772
- }, []);
1773
- return windowSize;
2256
+ var supportsWebP = undefined;
2257
+ var useWebP = function (webp, alt) {
2258
+ var _a = __read(useState(supportsWebP === true ? webp : supportsWebP === false ? alt : undefined), 2), img = _a[0], setImg = _a[1];
2259
+ useAsyncEffect(function (mounted) { return __awaiter(void 0, void 0, void 0, function () {
2260
+ return __generator(this, function (_a) {
2261
+ switch (_a.label) {
2262
+ case 0:
2263
+ if (!(supportsWebP === undefined)) return [3 /*break*/, 2];
2264
+ return [4 /*yield*/, getSupportsWebP()];
2265
+ case 1:
2266
+ supportsWebP = _a.sent();
2267
+ if (mounted()) {
2268
+ setImg(supportsWebP ? webp : alt);
2269
+ }
2270
+ _a.label = 2;
2271
+ case 2: return [2 /*return*/];
2272
+ }
2273
+ });
2274
+ }); }, [supportsWebP]);
2275
+ return img;
2276
+ };
2277
+ var getSupportsWebP = function () { return __awaiter(void 0, void 0, void 0, function () {
2278
+ return __generator(this, function (_a) {
2279
+ switch (_a.label) {
2280
+ case 0: return [4 /*yield*/, new Promise(function (resolve) {
2281
+ var image = new Image();
2282
+ image.onerror = function () { return resolve(false); };
2283
+ image.onload = function () { return resolve(image.width === 1); };
2284
+ image.src = 'data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=';
2285
+ }).catch(function () { return false; })];
2286
+ case 1: return [2 /*return*/, _a.sent()];
2287
+ }
2288
+ });
2289
+ }); };
2290
+
2291
+ function useWindowSize() {
2292
+ var _a = __read(useState({
2293
+ height: undefined,
2294
+ width: undefined,
2295
+ }), 2), windowSize = _a[0], setWindowSize = _a[1];
2296
+ useEffect(function () {
2297
+ function handleResize() {
2298
+ setWindowSize({
2299
+ height: window.innerHeight,
2300
+ width: window.innerWidth,
2301
+ });
2302
+ }
2303
+ window.addEventListener('resize', handleResize);
2304
+ handleResize();
2305
+ return function () { return window.removeEventListener('resize', handleResize); };
2306
+ }, []);
2307
+ return windowSize;
1774
2308
  }
1775
2309
 
1776
- const EthAccount = (_a) => {
1777
- var { address, icon = false, iconSize = 16, iconOnly = false, addressLength = 'auto', fontFamily = '"Source Code Pro",monospace', toEtherScan, onButtonClick } = _a, props = __rest(_a, ["address", "icon", "iconSize", "iconOnly", "addressLength", "fontFamily", "toEtherScan", "onButtonClick"]);
1778
- const { localAddress } = useContext(EthersContext);
1779
- const theme = useTheme();
1780
- const large = useMediaQuery(theme.breakpoints.up('md'));
1781
- const isLocalAddress = address ? (localAddress === null || localAddress === void 0 ? void 0 : localAddress.toString()) === address.toString() : false;
1782
- const onClickLocal = (event) => {
1783
- onButtonClick === null || onButtonClick === void 0 ? void 0 : onButtonClick(event);
1784
- if (toEtherScan && address) {
1785
- window.open(`https://etherscan.io/address/${address.toString()}`, '_blank');
1786
- }
1787
- };
1788
- const addressToDisplay = assertEx(address !== null && address !== void 0 ? address : EthAddress.fromString('0x00'), 'Bad Eth Address');
1789
- const testToDisplay = addressLength === 'long'
1790
- ? addressToDisplay.toString()
1791
- : addressLength === 'short'
1792
- ? addressToDisplay.toShortString()
1793
- : large
1794
- ? addressToDisplay.toString()
1795
- : addressToDisplay.toShortString();
1796
- // Note: We use the all zero address for spacing in case it is
1797
- return (jsx(ButtonEx, Object.assign({ onClick: onClickLocal, title: `0x${address === null || address === void 0 ? void 0 : address.toHex()}` }, props, { children: jsxs(FlexGrowRow, Object.assign({ justifyContent: "space-between", alignItems: "center" }, { children: [icon && address ? jsx(Identicon, { size: iconSize, value: address === null || address === void 0 ? void 0 : address.toHex() }, void 0) : null, iconOnly ? null : (jsxs(FlexRow, { children: [jsx(Typography, Object.assign({ marginLeft: icon ? 1 : 0, variant: "body1", fontFamily: fontFamily, visibility: address ? 'inherit' : 'hidden' }, { children: testToDisplay }), void 0), address ? null : (jsx(Typography, Object.assign({ position: "absolute", marginLeft: icon ? 1 : 0, variant: "body1", fontFamily: fontFamily }, { children: "-- --" }), void 0))] }, void 0)), isLocalAddress ? jsx(FlexRow, Object.assign({ marginLeft: 0.5 }, { children: "(You)" }), void 0) : null] }), void 0) }), void 0));
1798
- };
1799
-
1800
- const Experiment = (props) => {
1801
- const { children } = props;
1802
- return jsx(Fragment, { children: children }, void 0);
1803
- };
1804
-
1805
- const defaultLocalStorageKey = 'testData';
1806
- const experimentsTestData = {};
1807
- let outcomes = {}; //prevent multi-outcome
1808
- const saveOutcomes = () => {
1809
- setLocalStorageObject('outcomes', outcomes);
1810
- };
1811
- const loadOutcomes = () => {
1812
- outcomes = getLocalStorageObject('outcomes');
1813
- };
1814
- const mergeData = (data, log) => {
1815
- const dataArray = [];
1816
- for (const key in data) {
1817
- dataArray.push(`${key}-${data[key]}`);
1818
- }
1819
- log === null || log === void 0 ? void 0 : log.info('MergeData', dataArray.join('|'));
1820
- return dataArray.join('|');
1821
- };
1822
- const missingKeyError = new Error('Experiment Elements must have Keys');
1823
- const makeChildrenArray = (children) => {
1824
- if (Array.isArray(children)) {
1825
- return children;
1826
- }
1827
- else {
1828
- return [children];
1829
- }
1830
- };
1831
- const buildLocalStorageKey = (localStorageProp) => {
1832
- return localStorageProp === true
1833
- ? defaultLocalStorageKey
1834
- : typeof localStorageProp === 'string'
1835
- ? localStorageProp !== null && localStorageProp !== void 0 ? localStorageProp : defaultLocalStorageKey
1836
- : '';
1837
- };
1838
- const calcTotalWeight = (childList) => {
1839
- let totalWeight = 0;
1840
- for (const child of childList) {
1841
- totalWeight += child.props.weight;
1842
- }
1843
- return totalWeight;
1844
- };
1845
- const Experiments = (props) => {
1846
- var _a, _b;
1847
- const { name, children, testStarted, localStorageProp = true } = props;
1848
- const userEventsConntext = useContext(UserEventsContext);
1849
- const { userEvents } = userEventsConntext;
1850
- loadOutcomes();
1851
- const localStorageKey = buildLocalStorageKey(localStorageProp);
1852
- const childList = makeChildrenArray(children);
1853
- const totalWeight = calcTotalWeight(childList);
1854
- const firstTime = outcomes[name] === undefined;
1855
- let targetWeight = (_a = outcomes[name]) !== null && _a !== void 0 ? _a : Math.random() * totalWeight;
1856
- outcomes[name] = targetWeight;
1857
- saveOutcomes();
1858
- for (const child of childList) {
1859
- targetWeight -= child.props.weight;
1860
- if (targetWeight > 0)
1861
- continue;
1862
- if (!child.key) {
1863
- throw missingKeyError;
1864
- }
1865
- experimentsTestData[name] = (_b = child.key) === null || _b === void 0 ? void 0 : _b.toString();
1866
- if (firstTime) {
1867
- if (localStorageProp !== false) {
1868
- localStorage.setItem(localStorageKey, mergeData(experimentsTestData));
1869
- }
1870
- if (!isLocalhost) {
1871
- userEvents === null || userEvents === void 0 ? void 0 : userEvents.testStarted({});
1872
- testStarted === null || testStarted === void 0 ? void 0 : testStarted();
1873
- }
1874
- }
1875
- return child;
1876
- }
1877
- throw new Error('Experiment Choice Failed');
2310
+ var EthAccount = function (_a) {
2311
+ var address = _a.address, _b = _a.icon, icon = _b === void 0 ? false : _b, _c = _a.iconSize, iconSize = _c === void 0 ? 16 : _c, _d = _a.iconOnly, iconOnly = _d === void 0 ? false : _d, _e = _a.addressLength, addressLength = _e === void 0 ? 'auto' : _e, _f = _a.fontFamily, fontFamily = _f === void 0 ? '"Source Code Pro",monospace' : _f, toEtherScan = _a.toEtherScan, onButtonClick = _a.onButtonClick, props = __rest(_a, ["address", "icon", "iconSize", "iconOnly", "addressLength", "fontFamily", "toEtherScan", "onButtonClick"]);
2312
+ var localAddress = useContext(EthersContext).localAddress;
2313
+ var theme = useTheme();
2314
+ var large = useMediaQuery(theme.breakpoints.up('md'));
2315
+ var isLocalAddress = address ? (localAddress === null || localAddress === void 0 ? void 0 : localAddress.toString()) === address.toString() : false;
2316
+ var onClickLocal = function (event) {
2317
+ onButtonClick === null || onButtonClick === void 0 ? void 0 : onButtonClick(event);
2318
+ if (toEtherScan && address) {
2319
+ window.open("https://etherscan.io/address/".concat(address.toString()), '_blank');
2320
+ }
2321
+ };
2322
+ var addressToDisplay = assertEx(address !== null && address !== void 0 ? address : EthAddress.fromString('0x00'), 'Bad Eth Address');
2323
+ var testToDisplay = addressLength === 'long'
2324
+ ? addressToDisplay.toString()
2325
+ : addressLength === 'short'
2326
+ ? addressToDisplay.toShortString()
2327
+ : large
2328
+ ? addressToDisplay.toString()
2329
+ : addressToDisplay.toShortString();
2330
+ // Note: We use the all zero address for spacing in case it is
2331
+ return (jsx(ButtonEx, __assign({ onClick: onClickLocal, title: "0x".concat(address === null || address === void 0 ? void 0 : address.toHex()) }, props, { children: jsxs(FlexGrowRow, __assign({ justifyContent: "space-between", alignItems: "center" }, { children: [icon && address ? jsx(Identicon, { size: iconSize, value: address === null || address === void 0 ? void 0 : address.toHex() }, void 0) : null, iconOnly ? null : (jsxs(FlexRow, { children: [jsx(Typography, __assign({ marginLeft: icon ? 1 : 0, variant: "body1", fontFamily: fontFamily, visibility: address ? 'inherit' : 'hidden' }, { children: testToDisplay }), void 0), address ? null : (jsx(Typography, __assign({ position: "absolute", marginLeft: icon ? 1 : 0, variant: "body1", fontFamily: fontFamily }, { children: "-- --" }), void 0))] }, void 0)), isLocalAddress ? jsx(FlexRow, __assign({ marginLeft: 0.5 }, { children: "(You)" }), void 0) : null] }), void 0) }), void 0));
1878
2332
  };
1879
2333
 
1880
- const LinkToEx = (_a) => {
1881
- var { to } = _a, props = __rest(_a, ["to"]);
1882
- return jsx(Link, Object.assign({ component: Link$1, to: to }, props), void 0);
2334
+ var Experiment = function (props) {
2335
+ var children = props.children;
2336
+ return jsx(Fragment, { children: children }, void 0);
1883
2337
  };
1884
2338
 
1885
- const NumberStatus = (_a) => {
1886
- var _b, _c;
1887
- var { error, format = '0[.]0a', color = 'primary', title, value, size, fontSize, rounded = false, autoWidth = false, style } = _a, props = __rest(_a, ["error", "format", "color", "title", "value", "size", "fontSize", "rounded", "autoWidth", "style"]);
1888
- const theme = useTheme();
1889
- const palette = color === 'inherit' ? undefined : theme.palette[color];
1890
- const bgColorTop = (_b = palette === null || palette === void 0 ? void 0 : palette.dark) !== null && _b !== void 0 ? _b : theme.palette.background.paper;
1891
- const bgColorBottom = (_c = palette === null || palette === void 0 ? void 0 : palette.main) !== null && _c !== void 0 ? _c : theme.palette.background.default;
1892
- const sizePixels = size === 'large' ? 96 : size === 'small' ? 64 : 80;
1893
- const calcFontSize = fontSize !== null && fontSize !== void 0 ? fontSize : sizePixels * 0.2;
1894
- return (jsx(ButtonEx, Object.assign({ size: size, padding: 0, style: Object.assign({ borderRadius: rounded ? theme.shape.borderRadius : 0, overflow: rounded ? 'hidden' : undefined }, style) }, props, { children: jsxs(FlexCol, Object.assign({ alignItems: "stretch", height: sizePixels, width: autoWidth ? '100%' : sizePixels, busy: value === undefined && !error }, { children: [jsx(FlexGrowRow, Object.assign({ bgcolor: bgColorTop, color: theme.palette.getContrastText(bgColorTop), fontSize: calcFontSize, fontFamily: "Source Code Pro,monospace", alignItems: "center", height: sizePixels * 0.75 }, { children: numeral(value).format(format) }), void 0), jsx(FlexGrowRow, Object.assign({ bgcolor: bgColorBottom, borderTop: "1px", color: theme.palette.getContrastText(bgColorBottom), fontSize: sizePixels * 0.12, fontFamily: theme.typography.fontFamily, height: sizePixels * 0.25 }, { children: title }), void 0)] }), void 0) }), void 0));
2339
+ var defaultLocalStorageKey = 'testData';
2340
+ var experimentsTestData = {};
2341
+ var outcomes = {}; //prevent multi-outcome
2342
+ var saveOutcomes = function () {
2343
+ setLocalStorageObject('outcomes', outcomes);
2344
+ };
2345
+ var loadOutcomes = function () {
2346
+ outcomes = getLocalStorageObject('outcomes');
2347
+ };
2348
+ var mergeData = function (data, log) {
2349
+ var dataArray = [];
2350
+ for (var key in data) {
2351
+ dataArray.push("".concat(key, "-").concat(data[key]));
2352
+ }
2353
+ log === null || log === void 0 ? void 0 : log.info('MergeData', dataArray.join('|'));
2354
+ return dataArray.join('|');
2355
+ };
2356
+ var missingKeyError = new Error('Experiment Elements must have Keys');
2357
+ var makeChildrenArray = function (children) {
2358
+ if (Array.isArray(children)) {
2359
+ return children;
2360
+ }
2361
+ else {
2362
+ return [children];
2363
+ }
2364
+ };
2365
+ var buildLocalStorageKey = function (localStorageProp) {
2366
+ return localStorageProp === true
2367
+ ? defaultLocalStorageKey
2368
+ : typeof localStorageProp === 'string'
2369
+ ? localStorageProp !== null && localStorageProp !== void 0 ? localStorageProp : defaultLocalStorageKey
2370
+ : '';
2371
+ };
2372
+ var calcTotalWeight = function (childList) {
2373
+ var e_1, _a;
2374
+ var totalWeight = 0;
2375
+ try {
2376
+ for (var childList_1 = __values(childList), childList_1_1 = childList_1.next(); !childList_1_1.done; childList_1_1 = childList_1.next()) {
2377
+ var child = childList_1_1.value;
2378
+ totalWeight += child.props.weight;
2379
+ }
2380
+ }
2381
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
2382
+ finally {
2383
+ try {
2384
+ if (childList_1_1 && !childList_1_1.done && (_a = childList_1.return)) _a.call(childList_1);
2385
+ }
2386
+ finally { if (e_1) throw e_1.error; }
2387
+ }
2388
+ return totalWeight;
2389
+ };
2390
+ var Experiments = function (props) {
2391
+ var e_2, _a;
2392
+ var _b, _c;
2393
+ var name = props.name, children = props.children, _d = props.localStorageProp, localStorageProp = _d === void 0 ? true : _d;
2394
+ var userEventsContext = useContext(UserEventsContext);
2395
+ var userEvents = userEventsContext.userEvents;
2396
+ loadOutcomes();
2397
+ var localStorageKey = buildLocalStorageKey(localStorageProp);
2398
+ var childList = makeChildrenArray(children);
2399
+ var totalWeight = calcTotalWeight(childList);
2400
+ var firstTime = outcomes[name] === undefined;
2401
+ var targetWeight = (_b = outcomes[name]) !== null && _b !== void 0 ? _b : Math.random() * totalWeight;
2402
+ outcomes[name] = targetWeight;
2403
+ saveOutcomes();
2404
+ try {
2405
+ for (var childList_2 = __values(childList), childList_2_1 = childList_2.next(); !childList_2_1.done; childList_2_1 = childList_2.next()) {
2406
+ var child = childList_2_1.value;
2407
+ targetWeight -= child.props.weight;
2408
+ if (targetWeight > 0)
2409
+ continue;
2410
+ if (!child.key) {
2411
+ throw missingKeyError;
2412
+ }
2413
+ experimentsTestData[name] = (_c = child.key) === null || _c === void 0 ? void 0 : _c.toString();
2414
+ if (firstTime) {
2415
+ if (localStorageProp !== false) {
2416
+ localStorage.setItem(localStorageKey, mergeData(experimentsTestData));
2417
+ }
2418
+ if (userEvents) {
2419
+ forget(userEvents.testStarted({ name: name, variation: child.key }));
2420
+ }
2421
+ }
2422
+ return child;
2423
+ }
2424
+ }
2425
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
2426
+ finally {
2427
+ try {
2428
+ if (childList_2_1 && !childList_2_1.done && (_a = childList_2.return)) _a.call(childList_2);
2429
+ }
2430
+ finally { if (e_2) throw e_2.error; }
2431
+ }
2432
+ throw new Error('Experiment Choice Failed');
2433
+ };
2434
+
2435
+ var LinkToEx = function (_a) {
2436
+ var to = _a.to, props = __rest(_a, ["to"]);
2437
+ return jsx(Link, __assign({ component: Link$1, to: to }, props), void 0);
2438
+ };
2439
+
2440
+ var NumberStatus = function (_a) {
2441
+ var _b, _c;
2442
+ var error = _a.error, _d = _a.format, format = _d === void 0 ? '0[.]0a' : _d, _e = _a.color, color = _e === void 0 ? 'primary' : _e, title = _a.title, value = _a.value, size = _a.size, fontSize = _a.fontSize, _f = _a.rounded, rounded = _f === void 0 ? false : _f, _g = _a.autoWidth, autoWidth = _g === void 0 ? false : _g, style = _a.style, props = __rest(_a, ["error", "format", "color", "title", "value", "size", "fontSize", "rounded", "autoWidth", "style"]);
2443
+ var theme = useTheme();
2444
+ var palette = color === 'inherit' ? undefined : theme.palette[color];
2445
+ var bgColorTop = (_b = palette === null || palette === void 0 ? void 0 : palette.dark) !== null && _b !== void 0 ? _b : theme.palette.background.paper;
2446
+ var bgColorBottom = (_c = palette === null || palette === void 0 ? void 0 : palette.main) !== null && _c !== void 0 ? _c : theme.palette.background.default;
2447
+ var sizePixels = size === 'large' ? 96 : size === 'small' ? 64 : 80;
2448
+ var calcFontSize = fontSize !== null && fontSize !== void 0 ? fontSize : sizePixels * 0.2;
2449
+ return (jsx(ButtonEx, __assign({ size: size, padding: 0, style: __assign({ borderRadius: rounded ? theme.shape.borderRadius : 0, overflow: rounded ? 'hidden' : undefined }, style) }, props, { children: jsxs(FlexCol, __assign({ alignItems: "stretch", height: sizePixels, width: autoWidth ? '100%' : sizePixels, busy: value === undefined && !error }, { children: [jsx(FlexGrowRow, __assign({ bgcolor: bgColorTop, color: theme.palette.getContrastText(bgColorTop), fontSize: calcFontSize, fontFamily: "Source Code Pro,monospace", alignItems: "center", height: sizePixels * 0.75 }, { children: numeral(value).format(format) }), void 0), jsx(FlexGrowRow, __assign({ bgcolor: bgColorBottom, borderTop: "1px", color: theme.palette.getContrastText(bgColorBottom), fontSize: sizePixels * 0.12, fontFamily: theme.typography.fontFamily, height: sizePixels * 0.25 }, { children: title }), void 0)] }), void 0) }), void 0));
1895
2450
  };
1896
2451
 
1897
- const QuickTipButton = (_a) => {
1898
- var { title, children } = _a, props = __rest(_a, ["title", "children"]);
1899
- const [messageOpen, setMessageOpen] = useState(false);
1900
- return (jsxs(Fragment, { children: [jsx(IconButton, Object.assign({ onClick: () => setMessageOpen(true), size: "small" }, props, { children: jsx(AiOutlineQuestionCircle, { size: 16 }, void 0) }), void 0), jsx(MessageDialog, Object.assign({ onOk: () => setMessageOpen(false), onCancel: () => setMessageOpen(false), onClose: () => setMessageOpen(false), open: messageOpen, title: title !== null && title !== void 0 ? title : '' }, { children: children }), void 0)] }, void 0));
2452
+ var QuickTipButton = function (_a) {
2453
+ var title = _a.title, children = _a.children, props = __rest(_a, ["title", "children"]);
2454
+ var _b = __read(useState(false), 2), messageOpen = _b[0], setMessageOpen = _b[1];
2455
+ return (jsxs(Fragment, { children: [jsx(IconButton, __assign({ onClick: function () { return setMessageOpen(true); }, size: "small" }, props, { children: jsx(AiOutlineQuestionCircle, { size: 16 }, void 0) }), void 0), jsx(MessageDialog, __assign({ onOk: function () { return setMessageOpen(false); }, onCancel: function () { return setMessageOpen(false); }, onClose: function () { return setMessageOpen(false); }, open: messageOpen, title: title !== null && title !== void 0 ? title : '' }, { children: children }), void 0)] }, void 0));
1901
2456
  };
1902
2457
 
1903
- const RichResult = (props) => {
1904
- const { thing } = props;
1905
- const thingWithContext = thing;
1906
- thingWithContext['@context'] = 'https://schema.org';
1907
- return jsx("script", Object.assign({ type: "application/ld+json" }, { children: JSON.stringify(thingWithContext) }), void 0);
2458
+ var RichResult = function (props) {
2459
+ var thing = props.thing;
2460
+ var thingWithContext = thing;
2461
+ thingWithContext['@context'] = 'https://schema.org';
2462
+ return jsx("script", __assign({ type: "application/ld+json" }, { children: JSON.stringify(thingWithContext) }), void 0);
1908
2463
  };
1909
2464
 
1910
- var ActionStatusType;
1911
- (function (ActionStatusType) {
1912
- ActionStatusType["ActiveActionStatus"] = "ActiveActionStatus";
1913
- ActionStatusType["CompletedActionStatus"] = "CompletedActionStatus";
1914
- ActionStatusType["FailedActionStatus"] = "FailedActionStatus";
1915
- ActionStatusType["PotentialActionStatus"] = "PotentialActionStatus";
2465
+ var ActionStatusType;
2466
+ (function (ActionStatusType) {
2467
+ ActionStatusType["ActiveActionStatus"] = "ActiveActionStatus";
2468
+ ActionStatusType["CompletedActionStatus"] = "CompletedActionStatus";
2469
+ ActionStatusType["FailedActionStatus"] = "FailedActionStatus";
2470
+ ActionStatusType["PotentialActionStatus"] = "PotentialActionStatus";
1916
2471
  })(ActionStatusType || (ActionStatusType = {}));
1917
2472
 
1918
- var ContactPointOption;
1919
- (function (ContactPointOption) {
1920
- ContactPointOption["HearingImpairedSupported"] = "HearingImpairedSupported";
1921
- ContactPointOption["TollFree"] = "TollFree";
2473
+ var ContactPointOption;
2474
+ (function (ContactPointOption) {
2475
+ ContactPointOption["HearingImpairedSupported"] = "HearingImpairedSupported";
2476
+ ContactPointOption["TollFree"] = "TollFree";
1922
2477
  })(ContactPointOption || (ContactPointOption = {}));
1923
2478
 
1924
- var ItemAvailability;
1925
- (function (ItemAvailability) {
1926
- /** Indicates that the item has been discontinued. */
1927
- ItemAvailability["Discontinued"] = "https://schema.org/Discontinued";
1928
- /** Indicates that the item is in stock. */
1929
- ItemAvailability["InStock"] = "https://schema.org/InStock";
1930
- /** Indicates that the item is available only at physical locations. */
1931
- ItemAvailability["InStoreOnly"] = "https://schema.org/InStoreOnly";
1932
- /** Indicates that the item has limited availability. */
1933
- ItemAvailability["LimitedAvailability"] = "https://schema.org/LimitedAvailability";
1934
- /** Indicates that the item is available only online. */
1935
- ItemAvailability["OnlineOnly"] = "https://schema.org/OnlineOnly";
1936
- /** Indicates that the item is out of stock. */
1937
- ItemAvailability["OutOfStock"] = "https://schema.org/OutOfStock";
1938
- /** Indicates that the item is available for pre-order. */
1939
- ItemAvailability["PreOrder"] = "https://schema.org/PreOrder";
1940
- /** Indicates that the item is available for ordering and delivery before general availability. */
1941
- ItemAvailability["PreSale"] = "https://schema.org/PreSale";
1942
- /** Indicates that the item has sold out. */
1943
- ItemAvailability["SoldOut"] = "https://schema.org/SoldOut";
2479
+ var ItemAvailability;
2480
+ (function (ItemAvailability) {
2481
+ /** Indicates that the item has been discontinued. */
2482
+ ItemAvailability["Discontinued"] = "https://schema.org/Discontinued";
2483
+ /** Indicates that the item is in stock. */
2484
+ ItemAvailability["InStock"] = "https://schema.org/InStock";
2485
+ /** Indicates that the item is available only at physical locations. */
2486
+ ItemAvailability["InStoreOnly"] = "https://schema.org/InStoreOnly";
2487
+ /** Indicates that the item has limited availability. */
2488
+ ItemAvailability["LimitedAvailability"] = "https://schema.org/LimitedAvailability";
2489
+ /** Indicates that the item is available only online. */
2490
+ ItemAvailability["OnlineOnly"] = "https://schema.org/OnlineOnly";
2491
+ /** Indicates that the item is out of stock. */
2492
+ ItemAvailability["OutOfStock"] = "https://schema.org/OutOfStock";
2493
+ /** Indicates that the item is available for pre-order. */
2494
+ ItemAvailability["PreOrder"] = "https://schema.org/PreOrder";
2495
+ /** Indicates that the item is available for ordering and delivery before general availability. */
2496
+ ItemAvailability["PreSale"] = "https://schema.org/PreSale";
2497
+ /** Indicates that the item has sold out. */
2498
+ ItemAvailability["SoldOut"] = "https://schema.org/SoldOut";
1944
2499
  })(ItemAvailability || (ItemAvailability = {}));
1945
2500
 
1946
- var MapCategoryType;
1947
- (function (MapCategoryType) {
1948
- MapCategoryType["ParkingMap"] = "ParkingMap";
1949
- MapCategoryType["SeatingMap"] = "SeatingMap";
1950
- MapCategoryType["TransitMap"] = "TransitMap";
1951
- MapCategoryType["VenueMap"] = "VenueMap";
2501
+ var MapCategoryType;
2502
+ (function (MapCategoryType) {
2503
+ MapCategoryType["ParkingMap"] = "ParkingMap";
2504
+ MapCategoryType["SeatingMap"] = "SeatingMap";
2505
+ MapCategoryType["TransitMap"] = "TransitMap";
2506
+ MapCategoryType["VenueMap"] = "VenueMap";
1952
2507
  })(MapCategoryType || (MapCategoryType = {}));
1953
2508
 
1954
- // The point of this component it to return to the top of the page on any router navigate
1955
- const ScrollToTop = () => {
1956
- const { pathname } = useLocation();
1957
- useEffect(() => {
1958
- window.scrollTo(0, 0);
1959
- }, [pathname]);
1960
- return null;
2509
+ // The point of this component it to return to the top of the page on any router navigate
2510
+ var ScrollToTop = function () {
2511
+ var pathname = useLocation().pathname;
2512
+ useEffect(function () {
2513
+ window.scrollTo(0, 0);
2514
+ }, [pathname]);
2515
+ return null;
1961
2516
  };
1962
2517
 
1963
- var xyoLogo = "<svg id=\"Layer_1\" data-name=\"Layer 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 238\"><defs><style>.cls-1{fill:#999;}</style></defs><title>icon_gray</title><path class=\"cls-1\" d=\"M74.5,28.33,21.29,120.5,74.5,212.67H180.94l1.76-3,51.46-89.13L180.94,28.33ZM84.65,40.54h78.83L111.65,56.93a15.85,15.85,0,0,1,2,5l59.66-18.81L185.22,101a20.12,20.12,0,0,1,5.36-.78l-10-47.91,37.87,65.53h-7.62a24.21,24.21,0,0,1,.15,2.68,23.29,23.29,0,0,1-.15,2.68h7.62l-39.1,67.75,10.92-50.13A20.57,20.57,0,0,1,185,140l-12.88,59-58.37-19.53a17.61,17.61,0,0,1-1.7,5l47.5,15.92H84.65l4-6.85A20.17,20.17,0,0,1,83.93,191L80,197.78,42.67,133.13l37,32.66a20.52,20.52,0,0,1,3.6-4L36.69,120.66,85,77.79a17.45,17.45,0,0,1-3.19-4.32l-39.46,35L80,43.22l5.56,9.69A17.51,17.51,0,0,1,90.12,50Zm28.24,31.17a16.15,16.15,0,0,1-2.68,4.64l62,35.81a19.74,19.74,0,0,1,2.83-4.54Zm-20,10.51v75.33a18,18,0,0,1,2.47-.16,17.18,17.18,0,0,1,2.89.21v-75a11.21,11.21,0,0,1-1.29,0,17.57,17.57,0,0,1-4.07-.47Zm79.34,46.63-62.08,35.81a18.45,18.45,0,0,1,2.68,4.68l62.23-36a19.68,19.68,0,0,1-2.83-4.53Z\"/><path class=\"cls-1\" d=\"M97,48.58a17.06,17.06,0,1,0,17,17,17.08,17.08,0,0,0-17-17Zm0,5.36a11.7,11.7,0,1,1-11.7,11.69A11.65,11.65,0,0,1,97,53.94Z\"/><path class=\"cls-1\" d=\"M95.37,157.39a18.73,18.73,0,1,0,18.7,18.7,18.74,18.74,0,0,0-18.7-18.7Zm0,5.31A13.4,13.4,0,1,1,82,176.09a13.37,13.37,0,0,1,13.4-13.39Z\"/><path class=\"cls-1\" d=\"M190.73,100.2A20.3,20.3,0,1,0,211,120.5a20.34,20.34,0,0,0-20.3-20.3Zm0,5.36a14.94,14.94,0,1,1-14.94,14.94,14.88,14.88,0,0,1,14.94-14.94Z\"/></svg>";
2518
+ var img = "data:image/svg+xml,%3csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 238'%3e%3cdefs%3e%3cstyle%3e.cls-1%7bfill:%23999%3b%7d%3c/style%3e%3c/defs%3e%3ctitle%3eicon_gray%3c/title%3e%3cpath class='cls-1' d='M74.5%2c28.33%2c21.29%2c120.5%2c74.5%2c212.67H180.94l1.76-3%2c51.46-89.13L180.94%2c28.33ZM84.65%2c40.54h78.83L111.65%2c56.93a15.85%2c15.85%2c0%2c0%2c1%2c2%2c5l59.66-18.81L185.22%2c101a20.12%2c20.12%2c0%2c0%2c1%2c5.36-.78l-10-47.91%2c37.87%2c65.53h-7.62a24.21%2c24.21%2c0%2c0%2c1%2c.15%2c2.68%2c23.29%2c23.29%2c0%2c0%2c1-.15%2c2.68h7.62l-39.1%2c67.75%2c10.92-50.13A20.57%2c20.57%2c0%2c0%2c1%2c185%2c140l-12.88%2c59-58.37-19.53a17.61%2c17.61%2c0%2c0%2c1-1.7%2c5l47.5%2c15.92H84.65l4-6.85A20.17%2c20.17%2c0%2c0%2c1%2c83.93%2c191L80%2c197.78%2c42.67%2c133.13l37%2c32.66a20.52%2c20.52%2c0%2c0%2c1%2c3.6-4L36.69%2c120.66%2c85%2c77.79a17.45%2c17.45%2c0%2c0%2c1-3.19-4.32l-39.46%2c35L80%2c43.22l5.56%2c9.69A17.51%2c17.51%2c0%2c0%2c1%2c90.12%2c50Zm28.24%2c31.17a16.15%2c16.15%2c0%2c0%2c1-2.68%2c4.64l62%2c35.81a19.74%2c19.74%2c0%2c0%2c1%2c2.83-4.54Zm-20%2c10.51v75.33a18%2c18%2c0%2c0%2c1%2c2.47-.16%2c17.18%2c17.18%2c0%2c0%2c1%2c2.89.21v-75a11.21%2c11.21%2c0%2c0%2c1-1.29%2c0%2c17.57%2c17.57%2c0%2c0%2c1-4.07-.47Zm79.34%2c46.63-62.08%2c35.81a18.45%2c18.45%2c0%2c0%2c1%2c2.68%2c4.68l62.23-36a19.68%2c19.68%2c0%2c0%2c1-2.83-4.53Z'/%3e%3cpath class='cls-1' d='M97%2c48.58a17.06%2c17.06%2c0%2c1%2c0%2c17%2c17%2c17.08%2c17.08%2c0%2c0%2c0-17-17Zm0%2c5.36a11.7%2c11.7%2c0%2c1%2c1-11.7%2c11.69A11.65%2c11.65%2c0%2c0%2c1%2c97%2c53.94Z'/%3e%3cpath class='cls-1' d='M95.37%2c157.39a18.73%2c18.73%2c0%2c1%2c0%2c18.7%2c18.7%2c18.74%2c18.74%2c0%2c0%2c0-18.7-18.7Zm0%2c5.31A13.4%2c13.4%2c0%2c1%2c1%2c82%2c176.09a13.37%2c13.37%2c0%2c0%2c1%2c13.4-13.39Z'/%3e%3cpath class='cls-1' d='M190.73%2c100.2A20.3%2c20.3%2c0%2c1%2c0%2c211%2c120.5a20.34%2c20.34%2c0%2c0%2c0-20.3-20.3Zm0%2c5.36a14.94%2c14.94%2c0%2c1%2c1-14.94%2c14.94%2c14.88%2c14.88%2c0%2c0%2c1%2c14.94-14.94Z'/%3e%3c/svg%3e";
1964
2519
 
1965
- const base10Shift = (bn, places) => {
1966
- const factor = new BigNumber(10).pow(new BigNumber(Math.abs(places)));
1967
- if (places > 0) {
1968
- return bn.mul(factor);
1969
- }
1970
- else {
1971
- return bn.div(factor);
1972
- }
1973
- };
1974
- const TokenAmount = (_a) => {
1975
- var { textFontFamily = '"Source Code Pro",monospace', textColor, statusColor, style, amount, places = -18, logo, label, onButtonClick } = _a, props = __rest(_a, ["textFontFamily", "textColor", "statusColor", "style", "amount", "places", "logo", "label", "onButtonClick"]);
1976
- const adjustedAmount = amount ? base10Shift(amount, places).toNumber() : undefined;
1977
- const amountString = adjustedAmount ? Math.trunc(adjustedAmount).toLocaleString() : '-';
1978
- return (jsx(ButtonEx, Object.assign({ style: Object.assign({ backgroundColor: statusColor }, style), variant: "outlined", onClick: onButtonClick }, props, { children: jsxs(FlexRow, Object.assign({ justifyContent: "space-between", width: "100%", busy: amount === undefined, busySize: 16 }, { children: [jsxs(FlexRow, { children: [logo ? jsx("img", { src: xyoLogo, height: 24 }, void 0) : null, label ? (jsx(Typography, Object.assign({ marginRight: 1, marginLeft: logo ? 1 : 0, noWrap: true, fontFamily: textFontFamily, variant: "caption" }, { children: label }), void 0)) : null] }, void 0), jsx(Typography, Object.assign({ color: textColor, noWrap: true, fontFamily: textFontFamily, variant: "body1", style: { textTransform: 'none' } }, { children: amountString }), void 0)] }), void 0) }), void 0));
2520
+ var base10Shift = function (bn, places) {
2521
+ var factor = new BigNumber(10).pow(new BigNumber(Math.abs(places)));
2522
+ if (places > 0) {
2523
+ return bn.mul(factor);
2524
+ }
2525
+ else {
2526
+ return bn.div(factor);
2527
+ }
2528
+ };
2529
+ var TokenAmount = function (_a) {
2530
+ var _b = _a.textFontFamily, textFontFamily = _b === void 0 ? '"Source Code Pro",monospace' : _b, textColor = _a.textColor, statusColor = _a.statusColor, style = _a.style, amount = _a.amount, _c = _a.places, places = _c === void 0 ? -18 : _c, logo = _a.logo, label = _a.label, onButtonClick = _a.onButtonClick, props = __rest(_a, ["textFontFamily", "textColor", "statusColor", "style", "amount", "places", "logo", "label", "onButtonClick"]);
2531
+ var adjustedAmount = amount ? base10Shift(amount, places).toNumber() : undefined;
2532
+ var amountString = adjustedAmount ? Math.trunc(adjustedAmount).toLocaleString() : '-';
2533
+ return (jsx(ButtonEx, __assign({ style: __assign({ backgroundColor: statusColor }, style), variant: "outlined", onClick: onButtonClick }, props, { children: jsxs(FlexRow, __assign({ justifyContent: "space-between", width: "100%", busy: amount === undefined, busySize: 16 }, { children: [jsxs(FlexRow, { children: [logo ? jsx("img", { src: img, height: 24 }, void 0) : null, label ? (jsx(Typography, __assign({ marginRight: 1, marginLeft: logo ? 1 : 0, noWrap: true, fontFamily: textFontFamily, variant: "caption" }, { children: label }), void 0)) : null] }, void 0), jsx(Typography, __assign({ color: textColor, noWrap: true, fontFamily: textFontFamily, variant: "body1", style: { textTransform: 'none' } }, { children: amountString }), void 0)] }), void 0) }), void 0));
1979
2534
  };
1980
2535
 
1981
2536
  export { ActionStatusType, AppBarEx, Background, BasePage, BreadcrumbsEx, BusyBox, ButtonEx, ContactPointOption, CookieConsent, CookieConsentBody, CookieConsentContext, CookieConsentLoader, CoverProgress, DripCustomEvent, DripStandardEvents, ErrorDialog, EthAccount, EthersContext, EthersLoader, Experiment, Experiments, FacebookCustomEvent, FacebookStandardEvents, Fbq, FlexCol, FlexGrowCol, FlexGrowRow, FlexRow, GoogleBaseEvent, GoogleCustomEvent, GoogleStandardEvents, GoogleUserEventHandler, Gtag, Gtm, HoverScale, Identicon, InvertableThemeProvider, ItemAvailability, LinkToEx, MapCategoryType, MessageDialog, NetworkSettingsContext, NetworkSettingsLoader, NumberStatus, QuickTipButton, Rdt, RedditCustomEvent, RedditStandardEvents, RedirectWithQuery, Referrer, RichResult, ScrollToTop, ScrollToTopButton, SnapTr, SnapchatStandardEvents, TiktokCustomEvent, TiktokStandardEvents, TokenAmount, Ttq, UserEventsContext, XyBaseEvent, XyCustomEvent, XyUserEventHandler, XyoUserEventHandler, enableProfileLogging, getApiStage, getLocalStorageObject, getSessionStorageObject, isLocalhost, profileBlock, profileResults, setLocalStorageObject, setSessionStorageObject, useAsyncEffect, useBreakpoint, useCookieConsent, useMounted, useNavigateToEthAddress, useSpacing, useWebP, useWindowSize };