@ape.swap/bonds-sdk 5.1.0 → 5.1.1-test.0

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 (1900) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +33 -0
  2. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  3. package/dist/_virtual/_nodeUtil.js +4 -0
  4. package/dist/_virtual/_nodeUtil.js.map +1 -0
  5. package/dist/_virtual/bn.js +4 -0
  6. package/dist/_virtual/bn.js.map +1 -0
  7. package/dist/_virtual/common.js +4 -0
  8. package/dist/_virtual/common.js.map +1 -0
  9. package/dist/_virtual/common2.js +4 -0
  10. package/dist/_virtual/common2.js.map +1 -0
  11. package/dist/_virtual/dom-to-image.js +4 -0
  12. package/dist/_virtual/dom-to-image.js.map +1 -0
  13. package/dist/_virtual/hash.js +4 -0
  14. package/dist/_virtual/hash.js.map +1 -0
  15. package/dist/_virtual/index.js +4 -0
  16. package/dist/_virtual/index.js.map +1 -0
  17. package/dist/_virtual/index2.js +4 -0
  18. package/dist/_virtual/index2.js.map +1 -0
  19. package/dist/_virtual/index3.js +4 -0
  20. package/dist/_virtual/index3.js.map +1 -0
  21. package/dist/_virtual/index4.js +4 -0
  22. package/dist/_virtual/index4.js.map +1 -0
  23. package/dist/_virtual/index5.js +4 -0
  24. package/dist/_virtual/index5.js.map +1 -0
  25. package/dist/_virtual/index6.js +4 -0
  26. package/dist/_virtual/index6.js.map +1 -0
  27. package/dist/_virtual/inherits.js +4 -0
  28. package/dist/_virtual/inherits.js.map +1 -0
  29. package/dist/_virtual/inherits_browser.js +4 -0
  30. package/dist/_virtual/inherits_browser.js.map +1 -0
  31. package/dist/_virtual/isBuffer.js +4 -0
  32. package/dist/_virtual/isBuffer.js.map +1 -0
  33. package/dist/_virtual/jsx-runtime.js +4 -0
  34. package/dist/_virtual/jsx-runtime.js.map +1 -0
  35. package/dist/_virtual/main.js +4 -0
  36. package/dist/_virtual/main.js.map +1 -0
  37. package/dist/_virtual/react-is.development.js +4 -0
  38. package/dist/_virtual/react-is.development.js.map +1 -0
  39. package/dist/_virtual/react-is.production.min.js +4 -0
  40. package/dist/_virtual/react-is.production.min.js.map +1 -0
  41. package/dist/_virtual/react-jsx-runtime.development.js +4 -0
  42. package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
  43. package/dist/_virtual/react-jsx-runtime.production.min.js +4 -0
  44. package/dist/_virtual/react-jsx-runtime.production.min.js.map +1 -0
  45. package/dist/_virtual/ripemd.js +4 -0
  46. package/dist/_virtual/ripemd.js.map +1 -0
  47. package/dist/_virtual/sha.js +4 -0
  48. package/dist/_virtual/sha.js.map +1 -0
  49. package/dist/_virtual/sha3.js +4 -0
  50. package/dist/_virtual/sha3.js.map +1 -0
  51. package/dist/_virtual/tslib.es6.js +7 -0
  52. package/dist/_virtual/tslib.es6.js.map +1 -0
  53. package/dist/_virtual/types.js +4 -0
  54. package/dist/_virtual/types.js.map +1 -0
  55. package/dist/_virtual/util.js +4 -0
  56. package/dist/_virtual/util.js.map +1 -0
  57. package/dist/_virtual/utils.js +4 -0
  58. package/dist/_virtual/utils.js.map +1 -0
  59. package/dist/_virtual/zapTokens.js +4 -0
  60. package/dist/_virtual/zapTokens.js.map +1 -0
  61. package/dist/components/BondFilters/BondFilters.js +41 -0
  62. package/dist/components/BondFilters/BondFilters.js.map +1 -0
  63. package/dist/components/ChainOptionList/ChainOptionsButtons.js +32 -0
  64. package/dist/components/ChainOptionList/ChainOptionsButtons.js.map +1 -0
  65. package/dist/components/ChainOptionList/ChainOptionsList.js +41 -0
  66. package/dist/components/ChainOptionList/ChainOptionsList.js.map +1 -0
  67. package/dist/components/ChainOptionList/constants.js +11 -0
  68. package/dist/components/ChainOptionList/constants.js.map +1 -0
  69. package/dist/components/ChainOptionList/styles.js +54 -0
  70. package/dist/components/ChainOptionList/styles.js.map +1 -0
  71. package/dist/components/ConnectButton/AppKitButton.js +23 -0
  72. package/dist/components/ConnectButton/AppKitButton.js.map +1 -0
  73. package/dist/components/ConnectButton/RainbowKitButton.js +36 -0
  74. package/dist/components/ConnectButton/RainbowKitButton.js.map +1 -0
  75. package/dist/components/ConnectButton/index.js +27 -0
  76. package/dist/components/ConnectButton/index.js.map +1 -0
  77. package/dist/components/ConnectSolanaWalletButton/ConnectSolanaWalletButton.js +42 -0
  78. package/dist/components/ConnectSolanaWalletButton/ConnectSolanaWalletButton.js.map +1 -0
  79. package/dist/components/ConnectoToVmBanners/ConnectToEvmBanner.js +67 -0
  80. package/dist/components/ConnectoToVmBanners/ConnectToEvmBanner.js.map +1 -0
  81. package/dist/components/ConnectoToVmBanners/ConnectToSolanaBanner.js +64 -0
  82. package/dist/components/ConnectoToVmBanners/ConnectToSolanaBanner.js.map +1 -0
  83. package/dist/components/CustomClaimModals/AbondModal.js +28 -0
  84. package/dist/components/CustomClaimModals/AbondModal.js.map +1 -0
  85. package/dist/components/CustomClaimModals/OabondModal.js +28 -0
  86. package/dist/components/CustomClaimModals/OabondModal.js.map +1 -0
  87. package/dist/components/CustomClaimModals/PmusdModal.js +31 -0
  88. package/dist/components/CustomClaimModals/PmusdModal.js.map +1 -0
  89. package/dist/components/FavIcons/AddFavToken.js +37 -0
  90. package/dist/components/FavIcons/AddFavToken.js.map +1 -0
  91. package/dist/components/FavIcons/FavFilter.js +32 -0
  92. package/dist/components/FavIcons/FavFilter.js.map +1 -0
  93. package/dist/components/LoadingSpinner/index.js +51 -0
  94. package/dist/components/LoadingSpinner/index.js.map +1 -0
  95. package/dist/components/MenuSelect/MenuSelect.js +32 -0
  96. package/dist/components/MenuSelect/MenuSelect.js.map +1 -0
  97. package/dist/components/MenuSelect/RecommendationSelector.js +58 -0
  98. package/dist/components/MenuSelect/RecommendationSelector.js.map +1 -0
  99. package/dist/components/NetworkFilter/index.js +113 -0
  100. package/dist/components/NetworkFilter/index.js.map +1 -0
  101. package/dist/components/PlaceholderMonkey/index.js +29 -0
  102. package/dist/components/PlaceholderMonkey/index.js.map +1 -0
  103. package/dist/components/ProgressBar/ProgressBar.js +11 -0
  104. package/dist/components/ProgressBar/ProgressBar.js.map +1 -0
  105. package/dist/components/ProgressBar/ProgressBarWrapper.js +24 -0
  106. package/dist/components/ProgressBar/ProgressBarWrapper.js.map +1 -0
  107. package/dist/components/ProgressBar/styles.js +15 -0
  108. package/dist/components/ProgressBar/styles.js.map +1 -0
  109. package/dist/components/ProgressiveImage/index.js +44 -0
  110. package/dist/components/ProgressiveImage/index.js.map +1 -0
  111. package/dist/components/SafeHTMLComponent/index.js +31 -0
  112. package/dist/components/SafeHTMLComponent/index.js.map +1 -0
  113. package/dist/components/SlippageModal/index.js +73 -0
  114. package/dist/components/SlippageModal/index.js.map +1 -0
  115. package/dist/components/StepBubble/index.js +65 -0
  116. package/dist/components/StepBubble/index.js.map +1 -0
  117. package/dist/components/Toast/index.js +65 -0
  118. package/dist/components/Toast/index.js.map +1 -0
  119. package/dist/components/Toast/styles.js +30 -0
  120. package/dist/components/Toast/styles.js.map +1 -0
  121. package/dist/components/TokenInfoAndName/index.js +72 -0
  122. package/dist/components/TokenInfoAndName/index.js.map +1 -0
  123. package/dist/components/TokenSelectorModal/TokenRow.js +39 -0
  124. package/dist/components/TokenSelectorModal/TokenRow.js.map +1 -0
  125. package/dist/components/TokenSelectorModal/index.js +66 -0
  126. package/dist/components/TokenSelectorModal/index.js.map +1 -0
  127. package/dist/components/TokenSelectorPanel/index.js +67 -0
  128. package/dist/components/TokenSelectorPanel/index.js.map +1 -0
  129. package/dist/components/Tooltip/ButtonsRow.js +28 -0
  130. package/dist/components/Tooltip/ButtonsRow.js.map +1 -0
  131. package/dist/components/Tooltip/Tooltip.js +51 -0
  132. package/dist/components/Tooltip/Tooltip.js.map +1 -0
  133. package/dist/components/Tooltip/styles.js +32 -0
  134. package/dist/components/Tooltip/styles.js.map +1 -0
  135. package/dist/components/YouTooltip/YouTooltip.js +45 -0
  136. package/dist/components/YouTooltip/YouTooltip.js.map +1 -0
  137. package/dist/components/uikit-sdk/Button/Button.js +73 -0
  138. package/dist/components/uikit-sdk/Button/Button.js.map +1 -0
  139. package/dist/components/uikit-sdk/Button/IconButton.js +15 -0
  140. package/dist/components/uikit-sdk/Button/IconButton.js.map +1 -0
  141. package/dist/components/uikit-sdk/Button/styles.js +21 -0
  142. package/dist/components/uikit-sdk/Button/styles.js.map +1 -0
  143. package/dist/components/uikit-sdk/Button/types.js +39 -0
  144. package/dist/components/uikit-sdk/Button/types.js.map +1 -0
  145. package/dist/components/uikit-sdk/Checkbox/index.js +27 -0
  146. package/dist/components/uikit-sdk/Checkbox/index.js.map +1 -0
  147. package/dist/components/uikit-sdk/Checkbox/types.js +8 -0
  148. package/dist/components/uikit-sdk/Checkbox/types.js.map +1 -0
  149. package/dist/components/uikit-sdk/Flex/index.js +11 -0
  150. package/dist/components/uikit-sdk/Flex/index.js.map +1 -0
  151. package/dist/components/uikit-sdk/Input/Input.js +55 -0
  152. package/dist/components/uikit-sdk/Input/Input.js.map +1 -0
  153. package/dist/components/uikit-sdk/LoadingDots/index.js +42 -0
  154. package/dist/components/uikit-sdk/LoadingDots/index.js.map +1 -0
  155. package/dist/components/uikit-sdk/Modal/ModalHeader.js +15 -0
  156. package/dist/components/uikit-sdk/Modal/ModalHeader.js.map +1 -0
  157. package/dist/components/uikit-sdk/Modal/index.js +29 -0
  158. package/dist/components/uikit-sdk/Modal/index.js.map +1 -0
  159. package/dist/components/uikit-sdk/Modal/styles.js +47 -0
  160. package/dist/components/uikit-sdk/Modal/styles.js.map +1 -0
  161. package/dist/components/uikit-sdk/Select/Select.js +44 -0
  162. package/dist/components/uikit-sdk/Select/Select.js.map +1 -0
  163. package/dist/components/uikit-sdk/Select/SelectItem.js +22 -0
  164. package/dist/components/uikit-sdk/Select/SelectItem.js.map +1 -0
  165. package/dist/components/uikit-sdk/Select/styles.js +50 -0
  166. package/dist/components/uikit-sdk/Select/styles.js.map +1 -0
  167. package/dist/components/uikit-sdk/Select/types.js +39 -0
  168. package/dist/components/uikit-sdk/Select/types.js.map +1 -0
  169. package/dist/components/uikit-sdk/Skeleton/index.js +13 -0
  170. package/dist/components/uikit-sdk/Skeleton/index.js.map +1 -0
  171. package/dist/components/uikit-sdk/Skeleton/styles.js +43 -0
  172. package/dist/components/uikit-sdk/Skeleton/styles.js.map +1 -0
  173. package/dist/components/uikit-sdk/Skeleton/types.js +13 -0
  174. package/dist/components/uikit-sdk/Skeleton/types.js.map +1 -0
  175. package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +8 -0
  176. package/dist/components/uikit-sdk/Svg/Icons/AllChains.js.map +1 -0
  177. package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +18 -0
  178. package/dist/components/uikit-sdk/Svg/Icons/Arrow.js.map +1 -0
  179. package/dist/components/uikit-sdk/Svg/Icons/Audit.js +18 -0
  180. package/dist/components/uikit-sdk/Svg/Icons/Audit.js.map +1 -0
  181. package/dist/components/uikit-sdk/Svg/Icons/Caret.js +18 -0
  182. package/dist/components/uikit-sdk/Svg/Icons/Caret.js.map +1 -0
  183. package/dist/components/uikit-sdk/Svg/Icons/Close.js +11 -0
  184. package/dist/components/uikit-sdk/Svg/Icons/Close.js.map +1 -0
  185. package/dist/components/uikit-sdk/Svg/Icons/Cog.js +18 -0
  186. package/dist/components/uikit-sdk/Svg/Icons/Cog.js.map +1 -0
  187. package/dist/components/uikit-sdk/Svg/Icons/CoinGecko.js +18 -0
  188. package/dist/components/uikit-sdk/Svg/Icons/CoinGecko.js.map +1 -0
  189. package/dist/components/uikit-sdk/Svg/Icons/DexScreener.js +18 -0
  190. package/dist/components/uikit-sdk/Svg/Icons/DexScreener.js.map +1 -0
  191. package/dist/components/uikit-sdk/Svg/Icons/Discord.js +18 -0
  192. package/dist/components/uikit-sdk/Svg/Icons/Discord.js.map +1 -0
  193. package/dist/components/uikit-sdk/Svg/Icons/Error.js +18 -0
  194. package/dist/components/uikit-sdk/Svg/Icons/Error.js.map +1 -0
  195. package/dist/components/uikit-sdk/Svg/Icons/Expand.js +18 -0
  196. package/dist/components/uikit-sdk/Svg/Icons/Expand.js.map +1 -0
  197. package/dist/components/uikit-sdk/Svg/Icons/External.js +18 -0
  198. package/dist/components/uikit-sdk/Svg/Icons/External.js.map +1 -0
  199. package/dist/components/uikit-sdk/Svg/Icons/Fire.js +8 -0
  200. package/dist/components/uikit-sdk/Svg/Icons/Fire.js.map +1 -0
  201. package/dist/components/uikit-sdk/Svg/Icons/FirePink.js +8 -0
  202. package/dist/components/uikit-sdk/Svg/Icons/FirePink.js.map +1 -0
  203. package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +18 -0
  204. package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js.map +1 -0
  205. package/dist/components/uikit-sdk/Svg/Icons/Insight.js +18 -0
  206. package/dist/components/uikit-sdk/Svg/Icons/Insight.js.map +1 -0
  207. package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +18 -0
  208. package/dist/components/uikit-sdk/Svg/Icons/Instagram.js.map +1 -0
  209. package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +8 -0
  210. package/dist/components/uikit-sdk/Svg/Icons/LineChart.js.map +1 -0
  211. package/dist/components/uikit-sdk/Svg/Icons/Medium.js +18 -0
  212. package/dist/components/uikit-sdk/Svg/Icons/Medium.js.map +1 -0
  213. package/dist/components/uikit-sdk/Svg/Icons/More.js +18 -0
  214. package/dist/components/uikit-sdk/Svg/Icons/More.js.map +1 -0
  215. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +18 -0
  216. package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js.map +1 -0
  217. package/dist/components/uikit-sdk/Svg/Icons/Question.js +8 -0
  218. package/dist/components/uikit-sdk/Svg/Icons/Question.js.map +1 -0
  219. package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +18 -0
  220. package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js.map +1 -0
  221. package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +18 -0
  222. package/dist/components/uikit-sdk/Svg/Icons/Reddit.js.map +1 -0
  223. package/dist/components/uikit-sdk/Svg/Icons/Search.js +18 -0
  224. package/dist/components/uikit-sdk/Svg/Icons/Search.js.map +1 -0
  225. package/dist/components/uikit-sdk/Svg/Icons/Sort.js +18 -0
  226. package/dist/components/uikit-sdk/Svg/Icons/Sort.js.map +1 -0
  227. package/dist/components/uikit-sdk/Svg/Icons/Star.js +8 -0
  228. package/dist/components/uikit-sdk/Svg/Icons/Star.js.map +1 -0
  229. package/dist/components/uikit-sdk/Svg/Icons/StarFilled.js +8 -0
  230. package/dist/components/uikit-sdk/Svg/Icons/StarFilled.js.map +1 -0
  231. package/dist/components/uikit-sdk/Svg/Icons/Success.js +18 -0
  232. package/dist/components/uikit-sdk/Svg/Icons/Success.js.map +1 -0
  233. package/dist/components/uikit-sdk/Svg/Icons/Tag.js +8 -0
  234. package/dist/components/uikit-sdk/Svg/Icons/Tag.js.map +1 -0
  235. package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +18 -0
  236. package/dist/components/uikit-sdk/Svg/Icons/Telegram.js.map +1 -0
  237. package/dist/components/uikit-sdk/Svg/Icons/Tick.js +18 -0
  238. package/dist/components/uikit-sdk/Svg/Icons/Tick.js.map +1 -0
  239. package/dist/components/uikit-sdk/Svg/Icons/Timer.js +8 -0
  240. package/dist/components/uikit-sdk/Svg/Icons/Timer.js.map +1 -0
  241. package/dist/components/uikit-sdk/Svg/Icons/TurnArrow.js +8 -0
  242. package/dist/components/uikit-sdk/Svg/Icons/TurnArrow.js.map +1 -0
  243. package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +18 -0
  244. package/dist/components/uikit-sdk/Svg/Icons/Twitter.js.map +1 -0
  245. package/dist/components/uikit-sdk/Svg/Icons/URL.js +18 -0
  246. package/dist/components/uikit-sdk/Svg/Icons/URL.js.map +1 -0
  247. package/dist/components/uikit-sdk/Svg/Icons/Website.js +18 -0
  248. package/dist/components/uikit-sdk/Svg/Icons/Website.js.map +1 -0
  249. package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +18 -0
  250. package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js.map +1 -0
  251. package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +18 -0
  252. package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js.map +1 -0
  253. package/dist/components/uikit-sdk/Svg/index.js +229 -0
  254. package/dist/components/uikit-sdk/Svg/index.js.map +1 -0
  255. package/dist/components/uikit-sdk/Svg/styles.js +14 -0
  256. package/dist/components/uikit-sdk/Svg/styles.js.map +1 -0
  257. package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +8 -0
  258. package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js.map +1 -0
  259. package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +8 -0
  260. package/dist/components/uikit-sdk/Svg/tokens/AVAX.js.map +1 -0
  261. package/dist/components/uikit-sdk/Svg/tokens/BASE.js +8 -0
  262. package/dist/components/uikit-sdk/Svg/tokens/BASE.js.map +1 -0
  263. package/dist/components/uikit-sdk/Svg/tokens/BERA.js +8 -0
  264. package/dist/components/uikit-sdk/Svg/tokens/BERA.js.map +1 -0
  265. package/dist/components/uikit-sdk/Svg/tokens/BLAST.js +8 -0
  266. package/dist/components/uikit-sdk/Svg/tokens/BLAST.js.map +1 -0
  267. package/dist/components/uikit-sdk/Svg/tokens/BNB.js +8 -0
  268. package/dist/components/uikit-sdk/Svg/tokens/BNB.js.map +1 -0
  269. package/dist/components/uikit-sdk/Svg/tokens/BSC.js +8 -0
  270. package/dist/components/uikit-sdk/Svg/tokens/BSC.js.map +1 -0
  271. package/dist/components/uikit-sdk/Svg/tokens/CELO.js +8 -0
  272. package/dist/components/uikit-sdk/Svg/tokens/CELO.js.map +1 -0
  273. package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +8 -0
  274. package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js.map +1 -0
  275. package/dist/components/uikit-sdk/Svg/tokens/CROSSFI.js +8 -0
  276. package/dist/components/uikit-sdk/Svg/tokens/CROSSFI.js.map +1 -0
  277. package/dist/components/uikit-sdk/Svg/tokens/ETH.js +8 -0
  278. package/dist/components/uikit-sdk/Svg/tokens/ETH.js.map +1 -0
  279. package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +8 -0
  280. package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js.map +1 -0
  281. package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +8 -0
  282. package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js.map +1 -0
  283. package/dist/components/uikit-sdk/Svg/tokens/GraphLinq.js +8 -0
  284. package/dist/components/uikit-sdk/Svg/tokens/GraphLinq.js.map +1 -0
  285. package/dist/components/uikit-sdk/Svg/tokens/HYPEREVM.js +8 -0
  286. package/dist/components/uikit-sdk/Svg/tokens/HYPEREVM.js.map +1 -0
  287. package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +8 -0
  288. package/dist/components/uikit-sdk/Svg/tokens/INEVM.js.map +1 -0
  289. package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +8 -0
  290. package/dist/components/uikit-sdk/Svg/tokens/IOTA.js.map +1 -0
  291. package/dist/components/uikit-sdk/Svg/tokens/KATANA.js +8 -0
  292. package/dist/components/uikit-sdk/Svg/tokens/KATANA.js.map +1 -0
  293. package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +8 -0
  294. package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js.map +1 -0
  295. package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +8 -0
  296. package/dist/components/uikit-sdk/Svg/tokens/LINEA.js.map +1 -0
  297. package/dist/components/uikit-sdk/Svg/tokens/MEGAETH.js +8 -0
  298. package/dist/components/uikit-sdk/Svg/tokens/MEGAETH.js.map +1 -0
  299. package/dist/components/uikit-sdk/Svg/tokens/MONAD.js +8 -0
  300. package/dist/components/uikit-sdk/Svg/tokens/MONAD.js.map +1 -0
  301. package/dist/components/uikit-sdk/Svg/tokens/OKX.js +8 -0
  302. package/dist/components/uikit-sdk/Svg/tokens/OKX.js.map +1 -0
  303. package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +10 -0
  304. package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js.map +1 -0
  305. package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +8 -0
  306. package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js.map +1 -0
  307. package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +8 -0
  308. package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js.map +1 -0
  309. package/dist/components/uikit-sdk/Svg/tokens/SOL.js +8 -0
  310. package/dist/components/uikit-sdk/Svg/tokens/SOL.js.map +1 -0
  311. package/dist/components/uikit-sdk/Svg/tokens/SONIC.js +8 -0
  312. package/dist/components/uikit-sdk/Svg/tokens/SONIC.js.map +1 -0
  313. package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +8 -0
  314. package/dist/components/uikit-sdk/Svg/tokens/TLOS.js.map +1 -0
  315. package/dist/components/uikit-sdk/Svg/tokens/UNICHAIN.js +8 -0
  316. package/dist/components/uikit-sdk/Svg/tokens/UNICHAIN.js.map +1 -0
  317. package/dist/components/uikit-sdk/Svg/types.js +86 -0
  318. package/dist/components/uikit-sdk/Svg/types.js.map +1 -0
  319. package/dist/components/uikit-sdk/SwiperDots/index.js +16 -0
  320. package/dist/components/uikit-sdk/SwiperDots/index.js.map +1 -0
  321. package/dist/components/uikit-sdk/TabNav/index.js +42 -0
  322. package/dist/components/uikit-sdk/TabNav/index.js.map +1 -0
  323. package/dist/components/uikit-sdk/Tag/ListTag.js +10 -0
  324. package/dist/components/uikit-sdk/Tag/ListTag.js.map +1 -0
  325. package/dist/components/uikit-sdk/Text/index.js +17 -0
  326. package/dist/components/uikit-sdk/Text/index.js.map +1 -0
  327. package/dist/components/uikit-sdk/Text/types.js +16 -0
  328. package/dist/components/uikit-sdk/Text/types.js.map +1 -0
  329. package/dist/components/uikit-sdk/Toggle/index.js +15 -0
  330. package/dist/components/uikit-sdk/Toggle/index.js.map +1 -0
  331. package/dist/components/uikit-sdk/Toggle/styles.js +22 -0
  332. package/dist/components/uikit-sdk/Toggle/styles.js.map +1 -0
  333. package/dist/components/uikit-sdk/TokenImage/index.js +73 -0
  334. package/dist/components/uikit-sdk/TokenImage/index.js.map +1 -0
  335. package/dist/components/uikit-sdk/TooltipBubble/index.js +57 -0
  336. package/dist/components/uikit-sdk/TooltipBubble/index.js.map +1 -0
  337. package/dist/components/uikit-sdk/TooltipBubble/styles.js +55 -0
  338. package/dist/components/uikit-sdk/TooltipBubble/styles.js.map +1 -0
  339. package/dist/components/uikit-sdk/TooltipBubble/types.js +12 -0
  340. package/dist/components/uikit-sdk/TooltipBubble/types.js.map +1 -0
  341. package/dist/config/abi/BOND_2_0_0.json.js +1079 -0
  342. package/dist/config/abi/BOND_2_0_0.json.js.map +1 -0
  343. package/dist/config/abi/BOND_2_4_0.json.js +2409 -0
  344. package/dist/config/abi/BOND_2_4_0.json.js.map +1 -0
  345. package/dist/config/abi/bondNft.json.js +959 -0
  346. package/dist/config/abi/bondNft.json.js.map +1 -0
  347. package/dist/config/abi/deposit.json.js +29 -0
  348. package/dist/config/abi/deposit.json.js.map +1 -0
  349. package/dist/config/abi/depositSig.json.js +39 -0
  350. package/dist/config/abi/depositSig.json.js.map +1 -0
  351. package/dist/config/abi/erc20.json.js +229 -0
  352. package/dist/config/abi/erc20.json.js.map +1 -0
  353. package/dist/config/abi/launchBond_v2_4_1.json.js +2358 -0
  354. package/dist/config/abi/launchBond_v2_4_1.json.js.map +1 -0
  355. package/dist/config/abi/lensContract.json.js +338 -0
  356. package/dist/config/abi/lensContract.json.js.map +1 -0
  357. package/dist/config/abi/multicallv2.json.js +151 -0
  358. package/dist/config/abi/multicallv2.json.js.map +1 -0
  359. package/dist/config/abi/usdtETH.json.js +704 -0
  360. package/dist/config/abi/usdtETH.json.js.map +1 -0
  361. package/dist/config/constants/addresses.js +50 -0
  362. package/dist/config/constants/addresses.js.map +1 -0
  363. package/dist/config/constants/chains.js +139 -0
  364. package/dist/config/constants/chains.js.map +1 -0
  365. package/dist/config/constants/networks.js +89 -0
  366. package/dist/config/constants/networks.js.map +1 -0
  367. package/dist/config/constants/queryKeys.js +29 -0
  368. package/dist/config/constants/queryKeys.js.map +1 -0
  369. package/dist/config/constants/tooltips.js +20 -0
  370. package/dist/config/constants/tooltips.js.map +1 -0
  371. package/dist/config/constants/variables.js +42 -0
  372. package/dist/config/constants/variables.js.map +1 -0
  373. package/dist/config/idl/solanaProgramIdl.json.js +6 -0
  374. package/dist/config/idl/solanaProgramIdl.json.js.map +1 -0
  375. package/dist/constants/solanaConstants.js +41 -0
  376. package/dist/constants/solanaConstants.js.map +1 -0
  377. package/dist/contexts/ModalContext.js +72 -0
  378. package/dist/contexts/ModalContext.js.map +1 -0
  379. package/dist/contexts/Popups.js +29 -0
  380. package/dist/contexts/Popups.js.map +1 -0
  381. package/dist/contexts/SwiperProvider.js +21 -0
  382. package/dist/contexts/SwiperProvider.js.map +1 -0
  383. package/dist/hooks/accounts/useEVMAccount.js +13 -0
  384. package/dist/hooks/accounts/useEVMAccount.js.map +1 -0
  385. package/dist/hooks/accounts/useSOLAccount.js +17 -0
  386. package/dist/hooks/accounts/useSOLAccount.js.map +1 -0
  387. package/dist/hooks/useDebounce.js +21 -0
  388. package/dist/hooks/useDebounce.js.map +1 -0
  389. package/dist/hooks/useIsMobile.js +22 -0
  390. package/dist/hooks/useIsMobile.js.map +1 -0
  391. package/dist/hooks/useModal.js +34 -0
  392. package/dist/hooks/useModal.js.map +1 -0
  393. package/dist/hooks/useMonitorTx.js +26 -0
  394. package/dist/hooks/useMonitorTx.js.map +1 -0
  395. package/dist/hooks/useSendReferenceId.js +22 -0
  396. package/dist/hooks/useSendReferenceId.js.map +1 -0
  397. package/dist/hooks/useSortedZapList.js +56 -0
  398. package/dist/hooks/useSortedZapList.js.map +1 -0
  399. package/dist/hooks/useSwiper.js +13 -0
  400. package/dist/hooks/useSwiper.js.map +1 -0
  401. package/dist/hooks/useTokenFromZapList.js +15 -0
  402. package/dist/hooks/useTokenFromZapList.js.map +1 -0
  403. package/dist/hooks/useTopTags.js +47 -0
  404. package/dist/hooks/useTopTags.js.map +1 -0
  405. package/dist/main.d.ts +23 -0
  406. package/dist/main.js +18 -89923
  407. package/dist/main.js.map +1 -0
  408. package/dist/node_modules/@ape.swap/apeswap-lists/lib/constants/zapTokens.js +698 -0
  409. package/dist/node_modules/@ape.swap/apeswap-lists/lib/constants/zapTokens.js.map +1 -0
  410. package/dist/node_modules/@ape.swap/apeswap-lists/lib/main.js +27 -0
  411. package/dist/node_modules/@ape.swap/apeswap-lists/lib/main.js.map +1 -0
  412. package/dist/node_modules/@ape.swap/apeswap-lists/lib/types/index.js +1078 -0
  413. package/dist/node_modules/@ape.swap/apeswap-lists/lib/types/index.js.map +1 -0
  414. package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js +500 -0
  415. package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +1 -0
  416. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +56 -0
  417. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
  418. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +10 -0
  419. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -0
  420. package/dist/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +152 -0
  421. package/dist/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js.map +1 -0
  422. package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js +153 -0
  423. package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js.map +1 -0
  424. package/dist/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js +22 -0
  425. package/dist/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js.map +1 -0
  426. package/dist/node_modules/@emotion/react/package.json.js +6 -0
  427. package/dist/node_modules/@emotion/react/package.json.js.map +1 -0
  428. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +225 -0
  429. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +1 -0
  430. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +139 -0
  431. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +1 -0
  432. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +53 -0
  433. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -0
  434. package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +14 -0
  435. package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js.map +1 -0
  436. package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js +55 -0
  437. package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +1 -0
  438. package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +17 -0
  439. package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +1 -0
  440. package/dist/node_modules/@ethersproject/abi/lib.esm/_version.js +4 -0
  441. package/dist/node_modules/@ethersproject/abi/lib.esm/_version.js.map +1 -0
  442. package/dist/node_modules/@ethersproject/abi/lib.esm/abi-coder.js +97 -0
  443. package/dist/node_modules/@ethersproject/abi/lib.esm/abi-coder.js.map +1 -0
  444. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/abstract-coder.js +149 -0
  445. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/abstract-coder.js.map +1 -0
  446. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/address.js +27 -0
  447. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/address.js.map +1 -0
  448. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/anonymous.js +21 -0
  449. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/anonymous.js.map +1 -0
  450. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/array.js +211 -0
  451. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/array.js.map +1 -0
  452. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/boolean.js +19 -0
  453. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/boolean.js.map +1 -0
  454. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/bytes.js +31 -0
  455. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/bytes.js.map +1 -0
  456. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/fixed-bytes.js +27 -0
  457. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/fixed-bytes.js.map +1 -0
  458. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/null.js +23 -0
  459. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/null.js.map +1 -0
  460. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/number.js +44 -0
  461. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/number.js.map +1 -0
  462. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/string.js +20 -0
  463. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/string.js.map +1 -0
  464. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/tuple.js +59 -0
  465. package/dist/node_modules/@ethersproject/abi/lib.esm/coders/tuple.js.map +1 -0
  466. package/dist/node_modules/@ethersproject/abi/lib.esm/fragments.js +855 -0
  467. package/dist/node_modules/@ethersproject/abi/lib.esm/fragments.js.map +1 -0
  468. package/dist/node_modules/@ethersproject/abi/lib.esm/interface.js +610 -0
  469. package/dist/node_modules/@ethersproject/abi/lib.esm/interface.js.map +1 -0
  470. package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/_version.js +4 -0
  471. package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/_version.js.map +1 -0
  472. package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/index.js +67 -0
  473. package/dist/node_modules/@ethersproject/abstract-provider/lib.esm/index.js.map +1 -0
  474. package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/_version.js +4 -0
  475. package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/_version.js.map +1 -0
  476. package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/index.js +303 -0
  477. package/dist/node_modules/@ethersproject/abstract-signer/lib.esm/index.js.map +1 -0
  478. package/dist/node_modules/@ethersproject/address/lib.esm/_version.js +4 -0
  479. package/dist/node_modules/@ethersproject/address/lib.esm/_version.js.map +1 -0
  480. package/dist/node_modules/@ethersproject/address/lib.esm/index.js +111 -0
  481. package/dist/node_modules/@ethersproject/address/lib.esm/index.js.map +1 -0
  482. package/dist/node_modules/@ethersproject/base64/lib.esm/base64.js +21 -0
  483. package/dist/node_modules/@ethersproject/base64/lib.esm/base64.js.map +1 -0
  484. package/dist/node_modules/@ethersproject/basex/lib.esm/index.js +121 -0
  485. package/dist/node_modules/@ethersproject/basex/lib.esm/index.js.map +1 -0
  486. package/dist/node_modules/@ethersproject/bignumber/lib.esm/_version.js +4 -0
  487. package/dist/node_modules/@ethersproject/bignumber/lib.esm/_version.js.map +1 -0
  488. package/dist/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js +296 -0
  489. package/dist/node_modules/@ethersproject/bignumber/lib.esm/bignumber.js.map +1 -0
  490. package/dist/node_modules/@ethersproject/bignumber/lib.esm/fixednumber.js +361 -0
  491. package/dist/node_modules/@ethersproject/bignumber/lib.esm/fixednumber.js.map +1 -0
  492. package/dist/node_modules/@ethersproject/bytes/lib.esm/_version.js +4 -0
  493. package/dist/node_modules/@ethersproject/bytes/lib.esm/_version.js.map +1 -0
  494. package/dist/node_modules/@ethersproject/bytes/lib.esm/index.js +403 -0
  495. package/dist/node_modules/@ethersproject/bytes/lib.esm/index.js.map +1 -0
  496. package/dist/node_modules/@ethersproject/constants/lib.esm/addresses.js +4 -0
  497. package/dist/node_modules/@ethersproject/constants/lib.esm/addresses.js.map +1 -0
  498. package/dist/node_modules/@ethersproject/constants/lib.esm/bignumbers.js +9 -0
  499. package/dist/node_modules/@ethersproject/constants/lib.esm/bignumbers.js.map +1 -0
  500. package/dist/node_modules/@ethersproject/constants/lib.esm/hashes.js +4 -0
  501. package/dist/node_modules/@ethersproject/constants/lib.esm/hashes.js.map +1 -0
  502. package/dist/node_modules/@ethersproject/contracts/lib.esm/_version.js +4 -0
  503. package/dist/node_modules/@ethersproject/contracts/lib.esm/_version.js.map +1 -0
  504. package/dist/node_modules/@ethersproject/contracts/lib.esm/index.js +894 -0
  505. package/dist/node_modules/@ethersproject/contracts/lib.esm/index.js.map +1 -0
  506. package/dist/node_modules/@ethersproject/hash/lib.esm/_version.js +4 -0
  507. package/dist/node_modules/@ethersproject/hash/lib.esm/_version.js.map +1 -0
  508. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/decoder.js +257 -0
  509. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/decoder.js.map +1 -0
  510. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/include.js +37 -0
  511. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/include.js.map +1 -0
  512. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/lib.js +136 -0
  513. package/dist/node_modules/@ethersproject/hash/lib.esm/ens-normalize/lib.js.map +1 -0
  514. package/dist/node_modules/@ethersproject/hash/lib.esm/id.js +9 -0
  515. package/dist/node_modules/@ethersproject/hash/lib.esm/id.js.map +1 -0
  516. package/dist/node_modules/@ethersproject/hash/lib.esm/namehash.js +65 -0
  517. package/dist/node_modules/@ethersproject/hash/lib.esm/namehash.js.map +1 -0
  518. package/dist/node_modules/@ethersproject/hash/lib.esm/typed-data.js +444 -0
  519. package/dist/node_modules/@ethersproject/hash/lib.esm/typed-data.js.map +1 -0
  520. package/dist/node_modules/@ethersproject/keccak256/lib.esm/index.js +9 -0
  521. package/dist/node_modules/@ethersproject/keccak256/lib.esm/index.js.map +1 -0
  522. package/dist/node_modules/@ethersproject/logger/lib.esm/_version.js +4 -0
  523. package/dist/node_modules/@ethersproject/logger/lib.esm/_version.js.map +1 -0
  524. package/dist/node_modules/@ethersproject/logger/lib.esm/index.js +353 -0
  525. package/dist/node_modules/@ethersproject/logger/lib.esm/index.js.map +1 -0
  526. package/dist/node_modules/@ethersproject/networks/lib.esm/_version.js +4 -0
  527. package/dist/node_modules/@ethersproject/networks/lib.esm/_version.js.map +1 -0
  528. package/dist/node_modules/@ethersproject/networks/lib.esm/index.js +267 -0
  529. package/dist/node_modules/@ethersproject/networks/lib.esm/index.js.map +1 -0
  530. package/dist/node_modules/@ethersproject/properties/lib.esm/_version.js +4 -0
  531. package/dist/node_modules/@ethersproject/properties/lib.esm/_version.js.map +1 -0
  532. package/dist/node_modules/@ethersproject/properties/lib.esm/index.js +128 -0
  533. package/dist/node_modules/@ethersproject/properties/lib.esm/index.js.map +1 -0
  534. package/dist/node_modules/@ethersproject/providers/lib.esm/_version.js +4 -0
  535. package/dist/node_modules/@ethersproject/providers/lib.esm/_version.js.map +1 -0
  536. package/dist/node_modules/@ethersproject/providers/lib.esm/base-provider.js +2008 -0
  537. package/dist/node_modules/@ethersproject/providers/lib.esm/base-provider.js.map +1 -0
  538. package/dist/node_modules/@ethersproject/providers/lib.esm/formatter.js +423 -0
  539. package/dist/node_modules/@ethersproject/providers/lib.esm/formatter.js.map +1 -0
  540. package/dist/node_modules/@ethersproject/providers/lib.esm/json-rpc-provider.js +675 -0
  541. package/dist/node_modules/@ethersproject/providers/lib.esm/json-rpc-provider.js.map +1 -0
  542. package/dist/node_modules/@ethersproject/providers/node_modules/bech32/index.js +188 -0
  543. package/dist/node_modules/@ethersproject/providers/node_modules/bech32/index.js.map +1 -0
  544. package/dist/node_modules/@ethersproject/rlp/lib.esm/_version.js +4 -0
  545. package/dist/node_modules/@ethersproject/rlp/lib.esm/_version.js.map +1 -0
  546. package/dist/node_modules/@ethersproject/rlp/lib.esm/index.js +121 -0
  547. package/dist/node_modules/@ethersproject/rlp/lib.esm/index.js.map +1 -0
  548. package/dist/node_modules/@ethersproject/sha2/lib.esm/sha2.js +9 -0
  549. package/dist/node_modules/@ethersproject/sha2/lib.esm/sha2.js.map +1 -0
  550. package/dist/node_modules/@ethersproject/signing-key/lib.esm/_version.js +4 -0
  551. package/dist/node_modules/@ethersproject/signing-key/lib.esm/_version.js.map +1 -0
  552. package/dist/node_modules/@ethersproject/signing-key/lib.esm/elliptic.js +2479 -0
  553. package/dist/node_modules/@ethersproject/signing-key/lib.esm/elliptic.js.map +1 -0
  554. package/dist/node_modules/@ethersproject/signing-key/lib.esm/index.js +77 -0
  555. package/dist/node_modules/@ethersproject/signing-key/lib.esm/index.js.map +1 -0
  556. package/dist/node_modules/@ethersproject/strings/lib.esm/_version.js +4 -0
  557. package/dist/node_modules/@ethersproject/strings/lib.esm/_version.js.map +1 -0
  558. package/dist/node_modules/@ethersproject/strings/lib.esm/utf8.js +220 -0
  559. package/dist/node_modules/@ethersproject/strings/lib.esm/utf8.js.map +1 -0
  560. package/dist/node_modules/@ethersproject/transactions/lib.esm/_version.js +4 -0
  561. package/dist/node_modules/@ethersproject/transactions/lib.esm/_version.js.map +1 -0
  562. package/dist/node_modules/@ethersproject/transactions/lib.esm/index.js +280 -0
  563. package/dist/node_modules/@ethersproject/transactions/lib.esm/index.js.map +1 -0
  564. package/dist/node_modules/@ethersproject/units/lib.esm/_version.js +4 -0
  565. package/dist/node_modules/@ethersproject/units/lib.esm/_version.js.map +1 -0
  566. package/dist/node_modules/@ethersproject/units/lib.esm/index.js +29 -0
  567. package/dist/node_modules/@ethersproject/units/lib.esm/index.js.map +1 -0
  568. package/dist/node_modules/@ethersproject/web/lib.esm/_version.js +4 -0
  569. package/dist/node_modules/@ethersproject/web/lib.esm/_version.js.map +1 -0
  570. package/dist/node_modules/@ethersproject/web/lib.esm/geturl.js +70 -0
  571. package/dist/node_modules/@ethersproject/web/lib.esm/geturl.js.map +1 -0
  572. package/dist/node_modules/@ethersproject/web/lib.esm/index.js +405 -0
  573. package/dist/node_modules/@ethersproject/web/lib.esm/index.js.map +1 -0
  574. package/dist/node_modules/@jup-ag/api/dist/index.js +792 -0
  575. package/dist/node_modules/@jup-ag/api/dist/index.js.map +1 -0
  576. package/dist/node_modules/@kurkle/color/dist/color.esm.js +583 -0
  577. package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
  578. package/dist/node_modules/@theme-ui/color-modes/dist/theme-ui-color-modes.esm.js +382 -0
  579. package/dist/node_modules/@theme-ui/color-modes/dist/theme-ui-color-modes.esm.js.map +1 -0
  580. package/dist/node_modules/@theme-ui/components/dist/theme-ui-components.esm.js +322 -0
  581. package/dist/node_modules/@theme-ui/components/dist/theme-ui-components.esm.js.map +1 -0
  582. package/dist/node_modules/@theme-ui/core/dist/parseProps-eab0b26e.esm.js +20 -0
  583. package/dist/node_modules/@theme-ui/core/dist/parseProps-eab0b26e.esm.js.map +1 -0
  584. package/dist/node_modules/@theme-ui/core/dist/theme-ui-core.esm.js +76 -0
  585. package/dist/node_modules/@theme-ui/core/dist/theme-ui-core.esm.js.map +1 -0
  586. package/dist/node_modules/@theme-ui/core/jsx-runtime/dist/theme-ui-core-jsx-runtime.esm.js +9 -0
  587. package/dist/node_modules/@theme-ui/core/jsx-runtime/dist/theme-ui-core-jsx-runtime.esm.js.map +1 -0
  588. package/dist/node_modules/@theme-ui/css/dist/theme-ui-css.esm.js +331 -0
  589. package/dist/node_modules/@theme-ui/css/dist/theme-ui-css.esm.js.map +1 -0
  590. package/dist/node_modules/@theme-ui/theme-provider/dist/theme-ui-theme-provider.esm.js +46 -0
  591. package/dist/node_modules/@theme-ui/theme-provider/dist/theme-ui-theme-provider.esm.js.map +1 -0
  592. package/dist/node_modules/available-typed-arrays/index.js +30 -0
  593. package/dist/node_modules/available-typed-arrays/index.js.map +1 -0
  594. package/dist/node_modules/base64-js/index.js +153 -0
  595. package/dist/node_modules/base64-js/index.js.map +1 -0
  596. package/dist/node_modules/bignumber.js/bignumber.js +2908 -0
  597. package/dist/node_modules/bignumber.js/bignumber.js.map +1 -0
  598. package/dist/node_modules/bn.js/lib/bn.js +3364 -0
  599. package/dist/node_modules/bn.js/lib/bn.js.map +1 -0
  600. package/dist/node_modules/buffer/index.js +2111 -0
  601. package/dist/node_modules/buffer/index.js.map +1 -0
  602. package/dist/node_modules/call-bind/index.js +41 -0
  603. package/dist/node_modules/call-bind/index.js.map +1 -0
  604. package/dist/node_modules/call-bind-apply-helpers/actualApply.js +25 -0
  605. package/dist/node_modules/call-bind-apply-helpers/actualApply.js.map +1 -0
  606. package/dist/node_modules/call-bind-apply-helpers/applyBind.js +24 -0
  607. package/dist/node_modules/call-bind-apply-helpers/applyBind.js.map +1 -0
  608. package/dist/node_modules/call-bind-apply-helpers/functionApply.js +14 -0
  609. package/dist/node_modules/call-bind-apply-helpers/functionApply.js.map +1 -0
  610. package/dist/node_modules/call-bind-apply-helpers/functionCall.js +14 -0
  611. package/dist/node_modules/call-bind-apply-helpers/functionCall.js.map +1 -0
  612. package/dist/node_modules/call-bind-apply-helpers/index.js +30 -0
  613. package/dist/node_modules/call-bind-apply-helpers/index.js.map +1 -0
  614. package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +14 -0
  615. package/dist/node_modules/call-bind-apply-helpers/reflectApply.js.map +1 -0
  616. package/dist/node_modules/call-bound/index.js +32 -0
  617. package/dist/node_modules/call-bound/index.js.map +1 -0
  618. package/dist/node_modules/chart.js/dist/chart.js +8079 -0
  619. package/dist/node_modules/chart.js/dist/chart.js.map +1 -0
  620. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js +2685 -0
  621. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
  622. package/dist/node_modules/deepmerge/dist/cjs.js +138 -0
  623. package/dist/node_modules/deepmerge/dist/cjs.js.map +1 -0
  624. package/dist/node_modules/define-data-property/index.js +71 -0
  625. package/dist/node_modules/define-data-property/index.js.map +1 -0
  626. package/dist/node_modules/dom-to-image/src/dom-to-image.js +776 -0
  627. package/dist/node_modules/dom-to-image/src/dom-to-image.js.map +1 -0
  628. package/dist/node_modules/dunder-proto/get.js +43 -0
  629. package/dist/node_modules/dunder-proto/get.js.map +1 -0
  630. package/dist/node_modules/es-define-property/index.js +24 -0
  631. package/dist/node_modules/es-define-property/index.js.map +1 -0
  632. package/dist/node_modules/es-errors/eval.js +14 -0
  633. package/dist/node_modules/es-errors/eval.js.map +1 -0
  634. package/dist/node_modules/es-errors/index.js +14 -0
  635. package/dist/node_modules/es-errors/index.js.map +1 -0
  636. package/dist/node_modules/es-errors/range.js +14 -0
  637. package/dist/node_modules/es-errors/range.js.map +1 -0
  638. package/dist/node_modules/es-errors/ref.js +14 -0
  639. package/dist/node_modules/es-errors/ref.js.map +1 -0
  640. package/dist/node_modules/es-errors/syntax.js +14 -0
  641. package/dist/node_modules/es-errors/syntax.js.map +1 -0
  642. package/dist/node_modules/es-errors/type.js +14 -0
  643. package/dist/node_modules/es-errors/type.js.map +1 -0
  644. package/dist/node_modules/es-errors/uri.js +14 -0
  645. package/dist/node_modules/es-errors/uri.js.map +1 -0
  646. package/dist/node_modules/es-object-atoms/index.js +14 -0
  647. package/dist/node_modules/es-object-atoms/index.js.map +1 -0
  648. package/dist/node_modules/fancy-canvas/canvas-element-bitmap-size.js +239 -0
  649. package/dist/node_modules/fancy-canvas/canvas-element-bitmap-size.js.map +1 -0
  650. package/dist/node_modules/fancy-canvas/canvas-rendering-target.js +85 -0
  651. package/dist/node_modules/fancy-canvas/canvas-rendering-target.js.map +1 -0
  652. package/dist/node_modules/fancy-canvas/device-pixel-ratio.js +63 -0
  653. package/dist/node_modules/fancy-canvas/device-pixel-ratio.js.map +1 -0
  654. package/dist/node_modules/fancy-canvas/size.js +20 -0
  655. package/dist/node_modules/fancy-canvas/size.js.map +1 -0
  656. package/dist/node_modules/for-each/index.js +81 -0
  657. package/dist/node_modules/for-each/index.js.map +1 -0
  658. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js +12 -0
  659. package/dist/node_modules/framer-motion/dist/es/animation/animate/single-value.js.map +1 -0
  660. package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js +323 -0
  661. package/dist/node_modules/framer-motion/dist/es/animation/animators/AcceleratedAnimation.js.map +1 -0
  662. package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js +118 -0
  663. package/dist/node_modules/framer-motion/dist/es/animation/animators/BaseAnimation.js.map +1 -0
  664. package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js +388 -0
  665. package/dist/node_modules/framer-motion/dist/es/animation/animators/MainThreadAnimation.js.map +1 -0
  666. package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js +18 -0
  667. package/dist/node_modules/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.js.map +1 -0
  668. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js +15 -0
  669. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/accelerated-values.js.map +1 -0
  670. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js +43 -0
  671. package/dist/node_modules/framer-motion/dist/es/animation/animators/utils/can-animate.js.map +1 -0
  672. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js +25 -0
  673. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/index.js.map +1 -0
  674. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js +13 -0
  675. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.js.map +1 -0
  676. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js +7 -0
  677. package/dist/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.js.map +1 -0
  678. package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js +88 -0
  679. package/dist/node_modules/framer-motion/dist/es/animation/generators/inertia.js.map +1 -0
  680. package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js +52 -0
  681. package/dist/node_modules/framer-motion/dist/es/animation/generators/keyframes.js.map +1 -0
  682. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js +28 -0
  683. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/defaults.js.map +1 -0
  684. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js +87 -0
  685. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/find.js.map +1 -0
  686. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js +169 -0
  687. package/dist/node_modules/framer-motion/dist/es/animation/generators/spring/index.js.map +1 -0
  688. package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js +10 -0
  689. package/dist/node_modules/framer-motion/dist/es/animation/generators/utils/velocity.js.map +1 -0
  690. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.js +81 -0
  691. package/dist/node_modules/framer-motion/dist/es/animation/hooks/animation-controls.js.map +1 -0
  692. package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.js +42 -0
  693. package/dist/node_modules/framer-motion/dist/es/animation/hooks/use-animation.js.map +1 -0
  694. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js +107 -0
  695. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/motion-value.js.map +1 -0
  696. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js +77 -0
  697. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
  698. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js +67 -0
  699. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
  700. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js +27 -0
  701. package/dist/node_modules/framer-motion/dist/es/animation/interfaces/visual-element.js.map +1 -0
  702. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js +7 -0
  703. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.js.map +1 -0
  704. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js +8 -0
  705. package/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
  706. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js +41 -0
  707. package/dist/node_modules/framer-motion/dist/es/animation/utils/default-transitions.js.map +1 -0
  708. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js +31 -0
  709. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animatable.js.map +1 -0
  710. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js +8 -0
  711. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js.map +1 -0
  712. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js +6 -0
  713. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js.map +1 -0
  714. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js +16 -0
  715. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-none.js.map +1 -0
  716. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js +11 -0
  717. package/dist/node_modules/framer-motion/dist/es/animation/utils/is-transition-defined.js.map +1 -0
  718. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +77 -0
  719. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
  720. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +61 -0
  721. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
  722. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +166 -0
  723. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
  724. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +44 -0
  725. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
  726. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +15 -0
  727. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
  728. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +6 -0
  729. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
  730. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +6 -0
  731. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
  732. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +13 -0
  733. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
  734. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +14 -0
  735. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
  736. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +6 -0
  737. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
  738. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +18 -0
  739. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
  740. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +9 -0
  741. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
  742. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +9 -0
  743. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
  744. package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js +6 -0
  745. package/dist/node_modules/framer-motion/dist/es/easing/anticipate.js.map +1 -0
  746. package/dist/node_modules/framer-motion/dist/es/easing/back.js +10 -0
  747. package/dist/node_modules/framer-motion/dist/es/easing/back.js.map +1 -0
  748. package/dist/node_modules/framer-motion/dist/es/easing/circ.js +9 -0
  749. package/dist/node_modules/framer-motion/dist/es/easing/circ.js.map +1 -0
  750. package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js +53 -0
  751. package/dist/node_modules/framer-motion/dist/es/easing/cubic-bezier.js.map +1 -0
  752. package/dist/node_modules/framer-motion/dist/es/easing/ease.js +8 -0
  753. package/dist/node_modules/framer-motion/dist/es/easing/ease.js.map +1 -0
  754. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js +6 -0
  755. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/mirror.js.map +1 -0
  756. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js +6 -0
  757. package/dist/node_modules/framer-motion/dist/es/easing/modifiers/reverse.js.map +1 -0
  758. package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js +6 -0
  759. package/dist/node_modules/framer-motion/dist/es/easing/utils/is-easing-array.js.map +1 -0
  760. package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js +39 -0
  761. package/dist/node_modules/framer-motion/dist/es/easing/utils/map.js.map +1 -0
  762. package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js +7 -0
  763. package/dist/node_modules/framer-motion/dist/es/events/add-dom-event.js.map +1 -0
  764. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +9 -0
  765. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
  766. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +17 -0
  767. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
  768. package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js +72 -0
  769. package/dist/node_modules/framer-motion/dist/es/frameloop/batcher.js.map +1 -0
  770. package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js +8 -0
  771. package/dist/node_modules/framer-motion/dist/es/frameloop/frame.js.map +1 -0
  772. package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js +6 -0
  773. package/dist/node_modules/framer-motion/dist/es/frameloop/microtask.js.map +1 -0
  774. package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js +82 -0
  775. package/dist/node_modules/framer-motion/dist/es/frameloop/render-step.js.map +1 -0
  776. package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js +32 -0
  777. package/dist/node_modules/framer-motion/dist/es/frameloop/sync-time.js.map +1 -0
  778. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +485 -0
  779. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
  780. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +29 -0
  781. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
  782. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +131 -0
  783. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
  784. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +42 -0
  785. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
  786. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +32 -0
  787. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
  788. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +158 -0
  789. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
  790. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +52 -0
  791. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
  792. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +32 -0
  793. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
  794. package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js +10 -0
  795. package/dist/node_modules/framer-motion/dist/es/motion/features/Feature.js.map +1 -0
  796. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +32 -0
  797. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
  798. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +42 -0
  799. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
  800. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +14 -0
  801. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
  802. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +29 -0
  803. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
  804. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +18 -0
  805. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
  806. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +22 -0
  807. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
  808. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +134 -0
  809. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
  810. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +12 -0
  811. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
  812. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +13 -0
  813. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
  814. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +73 -0
  815. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
  816. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +50 -0
  817. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
  818. package/dist/node_modules/framer-motion/dist/es/motion/index.js +102 -0
  819. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
  820. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js +12 -0
  821. package/dist/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js.map +1 -0
  822. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
  823. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
  824. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +39 -0
  825. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
  826. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +135 -0
  827. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
  828. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +89 -0
  829. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
  830. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +58 -0
  831. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
  832. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js +95 -0
  833. package/dist/node_modules/framer-motion/dist/es/projection/animation/mix-values.js.map +1 -0
  834. package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js +34 -0
  835. package/dist/node_modules/framer-motion/dist/es/projection/geometry/conversion.js.map +1 -0
  836. package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js +32 -0
  837. package/dist/node_modules/framer-motion/dist/es/projection/geometry/copy.js.map +1 -0
  838. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js +120 -0
  839. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-apply.js.map +1 -0
  840. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js +53 -0
  841. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-calc.js.map +1 -0
  842. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js +55 -0
  843. package/dist/node_modules/framer-motion/dist/es/projection/geometry/delta-remove.js.map +1 -0
  844. package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js +18 -0
  845. package/dist/node_modules/framer-motion/dist/es/projection/geometry/models.js.map +1 -0
  846. package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js +32 -0
  847. package/dist/node_modules/framer-motion/dist/es/projection/geometry/utils.js.map +1 -0
  848. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js +14 -0
  849. package/dist/node_modules/framer-motion/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
  850. package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js +28 -0
  851. package/dist/node_modules/framer-motion/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
  852. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js +1585 -0
  853. package/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node.js.map +1 -0
  854. package/dist/node_modules/framer-motion/dist/es/projection/node/state.js +20 -0
  855. package/dist/node_modules/framer-motion/dist/es/projection/node/state.js.map +1 -0
  856. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js +113 -0
  857. package/dist/node_modules/framer-motion/dist/es/projection/shared/stack.js.map +1 -0
  858. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js +42 -0
  859. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-border-radius.js.map +1 -0
  860. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js +36 -0
  861. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
  862. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js +7 -0
  863. package/dist/node_modules/framer-motion/dist/es/projection/styles/scale-correction.js.map +1 -0
  864. package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js +50 -0
  865. package/dist/node_modules/framer-motion/dist/es/projection/styles/transform.js.map +1 -0
  866. package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js +6 -0
  867. package/dist/node_modules/framer-motion/dist/es/projection/utils/each-axis.js.map +1 -0
  868. package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js +27 -0
  869. package/dist/node_modules/framer-motion/dist/es/projection/utils/has-transform.js.map +1 -0
  870. package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js +18 -0
  871. package/dist/node_modules/framer-motion/dist/es/projection/utils/measure.js.map +1 -0
  872. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js +480 -0
  873. package/dist/node_modules/framer-motion/dist/es/render/VisualElement.js.map +1 -0
  874. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js +24 -0
  875. package/dist/node_modules/framer-motion/dist/es/render/components/create-factory.js.map +1 -0
  876. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +39 -0
  877. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
  878. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js +16 -0
  879. package/dist/node_modules/framer-motion/dist/es/render/components/motion/create.js.map +1 -0
  880. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
  881. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
  882. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js +132 -0
  883. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMKeyframesResolver.js.map +1 -0
  884. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js +44 -0
  885. package/dist/node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.js.map +1 -0
  886. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +15 -0
  887. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
  888. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +34 -0
  889. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
  890. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js +7 -0
  891. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
  892. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js +43 -0
  893. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js.map +1 -0
  894. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +60 -0
  895. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
  896. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js +16 -0
  897. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js.map +1 -0
  898. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +31 -0
  899. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
  900. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js +6 -0
  901. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-element.js.map +1 -0
  902. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js +54 -0
  903. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js.map +1 -0
  904. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js +16 -0
  905. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js.map +1 -0
  906. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js +31 -0
  907. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js.map +1 -0
  908. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js +16 -0
  909. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js.map +1 -0
  910. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js +16 -0
  911. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/find.js.map +1 -0
  912. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js +11 -0
  913. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js.map +1 -0
  914. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js +42 -0
  915. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.js.map +1 -0
  916. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js +19 -0
  917. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/number.js.map +1 -0
  918. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js +7 -0
  919. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/test.js.map +1 -0
  920. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js +32 -0
  921. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/transform.js.map +1 -0
  922. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js +10 -0
  923. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js.map +1 -0
  924. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js +9 -0
  925. package/dist/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js.map +1 -0
  926. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js +44 -0
  927. package/dist/node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.js.map +1 -0
  928. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js +13 -0
  929. package/dist/node_modules/framer-motion/dist/es/render/html/config-motion.js.map +1 -0
  930. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +58 -0
  931. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
  932. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js +66 -0
  933. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-styles.js.map +1 -0
  934. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js +63 -0
  935. package/dist/node_modules/framer-motion/dist/es/render/html/utils/build-transform.js.map +1 -0
  936. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
  937. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
  938. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js +14 -0
  939. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-position.js.map +1 -0
  940. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js +29 -0
  941. package/dist/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.js.map +1 -0
  942. package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js +31 -0
  943. package/dist/node_modules/framer-motion/dist/es/render/html/utils/make-none-animatable.js.map +1 -0
  944. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js +10 -0
  945. package/dist/node_modules/framer-motion/dist/es/render/html/utils/render.js.map +1 -0
  946. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js +21 -0
  947. package/dist/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
  948. package/dist/node_modules/framer-motion/dist/es/render/store.js +4 -0
  949. package/dist/node_modules/framer-motion/dist/es/render/store.js.map +1 -0
  950. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js +46 -0
  951. package/dist/node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.js.map +1 -0
  952. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js +74 -0
  953. package/dist/node_modules/framer-motion/dist/es/render/svg/config-motion.js.map +1 -0
  954. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +34 -0
  955. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
  956. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +25 -0
  957. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
  958. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js +53 -0
  959. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js.map +1 -0
  960. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js +31 -0
  961. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
  962. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +9 -0
  963. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
  964. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js +4 -0
  965. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
  966. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js +33 -0
  967. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/path.js.map +1 -0
  968. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js +13 -0
  969. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/render.js.map +1 -0
  970. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js +20 -0
  971. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
  972. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js +19 -0
  973. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js.map +1 -0
  974. package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js +165 -0
  975. package/dist/node_modules/framer-motion/dist/es/render/utils/KeyframesResolver.js.map +1 -0
  976. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js +333 -0
  977. package/dist/node_modules/framer-motion/dist/es/render/utils/animation-state.js.map +1 -0
  978. package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js +4 -0
  979. package/dist/node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js.map +1 -0
  980. package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js +25 -0
  981. package/dist/node_modules/framer-motion/dist/es/render/utils/flat-tree.js.map +1 -0
  982. package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js +29 -0
  983. package/dist/node_modules/framer-motion/dist/es/render/utils/get-variant-context.js.map +1 -0
  984. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js +14 -0
  985. package/dist/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.js.map +1 -0
  986. package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js +9 -0
  987. package/dist/node_modules/framer-motion/dist/es/render/utils/is-variant-label.js.map +1 -0
  988. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js +60 -0
  989. package/dist/node_modules/framer-motion/dist/es/render/utils/motion-values.js.map +1 -0
  990. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js +9 -0
  991. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
  992. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js +37 -0
  993. package/dist/node_modules/framer-motion/dist/es/render/utils/resolve-variants.js.map +1 -0
  994. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js +28 -0
  995. package/dist/node_modules/framer-motion/dist/es/render/utils/setters.js.map +1 -0
  996. package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js +13 -0
  997. package/dist/node_modules/framer-motion/dist/es/render/utils/variant-props.js.map +1 -0
  998. package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js +6 -0
  999. package/dist/node_modules/framer-motion/dist/es/utils/GlobalConfig.js.map +1 -0
  1000. package/dist/node_modules/framer-motion/dist/es/utils/array.js +12 -0
  1001. package/dist/node_modules/framer-motion/dist/es/utils/array.js.map +1 -0
  1002. package/dist/node_modules/framer-motion/dist/es/utils/clamp.js +10 -0
  1003. package/dist/node_modules/framer-motion/dist/es/utils/clamp.js.map +1 -0
  1004. package/dist/node_modules/framer-motion/dist/es/utils/delay.js +22 -0
  1005. package/dist/node_modules/framer-motion/dist/es/utils/delay.js.map +1 -0
  1006. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
  1007. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
  1008. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +7 -0
  1009. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
  1010. package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js +43 -0
  1011. package/dist/node_modules/framer-motion/dist/es/utils/hsla-to-rgba.js.map +1 -0
  1012. package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js +79 -0
  1013. package/dist/node_modules/framer-motion/dist/es/utils/interpolate.js.map +1 -0
  1014. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
  1015. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
  1016. package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js +7 -0
  1017. package/dist/node_modules/framer-motion/dist/es/utils/is-numerical-string.js.map +1 -0
  1018. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
  1019. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
  1020. package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js +7 -0
  1021. package/dist/node_modules/framer-motion/dist/es/utils/is-zero-value-string.js.map +1 -0
  1022. package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js +48 -0
  1023. package/dist/node_modules/framer-motion/dist/es/utils/mix/color.js.map +1 -0
  1024. package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js +95 -0
  1025. package/dist/node_modules/framer-motion/dist/es/utils/mix/complex.js.map +1 -0
  1026. package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js +6 -0
  1027. package/dist/node_modules/framer-motion/dist/es/utils/mix/immediate.js.map +1 -0
  1028. package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js +15 -0
  1029. package/dist/node_modules/framer-motion/dist/es/utils/mix/index.js.map +1 -0
  1030. package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js +27 -0
  1031. package/dist/node_modules/framer-motion/dist/es/utils/mix/number.js.map +1 -0
  1032. package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js +17 -0
  1033. package/dist/node_modules/framer-motion/dist/es/utils/mix/visibility.js.map +1 -0
  1034. package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js +10 -0
  1035. package/dist/node_modules/framer-motion/dist/es/utils/offsets/default.js.map +1 -0
  1036. package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js +14 -0
  1037. package/dist/node_modules/framer-motion/dist/es/utils/offsets/fill.js.map +1 -0
  1038. package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js +6 -0
  1039. package/dist/node_modules/framer-motion/dist/es/utils/offsets/time.js.map +1 -0
  1040. package/dist/node_modules/framer-motion/dist/es/utils/pipe.js +12 -0
  1041. package/dist/node_modules/framer-motion/dist/es/utils/pipe.js.map +1 -0
  1042. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js +20 -0
  1043. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/index.js.map +1 -0
  1044. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js +6 -0
  1045. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/state.js.map +1 -0
  1046. package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js +12 -0
  1047. package/dist/node_modules/framer-motion/dist/es/utils/resolve-value.js.map +1 -0
  1048. package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js +15 -0
  1049. package/dist/node_modules/framer-motion/dist/es/utils/shallow-compare.js.map +1 -0
  1050. package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js +41 -0
  1051. package/dist/node_modules/framer-motion/dist/es/utils/subscription-manager.js.map +1 -0
  1052. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +19 -0
  1053. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
  1054. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +7 -0
  1055. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
  1056. package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js +12 -0
  1057. package/dist/node_modules/framer-motion/dist/es/utils/velocity-per-second.js.map +1 -0
  1058. package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js +10 -0
  1059. package/dist/node_modules/framer-motion/dist/es/utils/warn-once.js.map +1 -0
  1060. package/dist/node_modules/framer-motion/dist/es/value/index.js +314 -0
  1061. package/dist/node_modules/framer-motion/dist/es/value/index.js.map +1 -0
  1062. package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js +41 -0
  1063. package/dist/node_modules/framer-motion/dist/es/value/types/color/hex.js.map +1 -0
  1064. package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js +23 -0
  1065. package/dist/node_modules/framer-motion/dist/es/value/types/color/hsla.js.map +1 -0
  1066. package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js +28 -0
  1067. package/dist/node_modules/framer-motion/dist/es/value/types/color/index.js.map +1 -0
  1068. package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js +26 -0
  1069. package/dist/node_modules/framer-motion/dist/es/value/types/color/rgba.js.map +1 -0
  1070. package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js +30 -0
  1071. package/dist/node_modules/framer-motion/dist/es/value/types/color/utils.js.map +1 -0
  1072. package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js +31 -0
  1073. package/dist/node_modules/framer-motion/dist/es/value/types/complex/filter.js.map +1 -0
  1074. package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js +93 -0
  1075. package/dist/node_modules/framer-motion/dist/es/value/types/complex/index.js.map +1 -0
  1076. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js +18 -0
  1077. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/index.js.map +1 -0
  1078. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js +18 -0
  1079. package/dist/node_modules/framer-motion/dist/es/value/types/numbers/units.js.map +1 -0
  1080. package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js +4 -0
  1081. package/dist/node_modules/framer-motion/dist/es/value/types/utils/color-regex.js.map +1 -0
  1082. package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js +4 -0
  1083. package/dist/node_modules/framer-motion/dist/es/value/types/utils/float-regex.js.map +1 -0
  1084. package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js +6 -0
  1085. package/dist/node_modules/framer-motion/dist/es/value/types/utils/is-nullish.js.map +1 -0
  1086. package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js +6 -0
  1087. package/dist/node_modules/framer-motion/dist/es/value/types/utils/sanitize.js.map +1 -0
  1088. package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js +4 -0
  1089. package/dist/node_modules/framer-motion/dist/es/value/types/utils/single-color-regex.js.map +1 -0
  1090. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js +15 -0
  1091. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/add-will-change.js.map +1 -0
  1092. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js +8 -0
  1093. package/dist/node_modules/framer-motion/dist/es/value/use-will-change/is.js.map +1 -0
  1094. package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js +4 -0
  1095. package/dist/node_modules/framer-motion/dist/es/value/utils/is-motion-value.js.map +1 -0
  1096. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js +17 -0
  1097. package/dist/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js.map +1 -0
  1098. package/dist/node_modules/function-bind/implementation.js +94 -0
  1099. package/dist/node_modules/function-bind/implementation.js.map +1 -0
  1100. package/dist/node_modules/function-bind/index.js +17 -0
  1101. package/dist/node_modules/function-bind/index.js.map +1 -0
  1102. package/dist/node_modules/generator-function/index.js +17 -0
  1103. package/dist/node_modules/generator-function/index.js.map +1 -0
  1104. package/dist/node_modules/get-intrinsic/index.js +414 -0
  1105. package/dist/node_modules/get-intrinsic/index.js.map +1 -0
  1106. package/dist/node_modules/get-proto/Object.getPrototypeOf.js +18 -0
  1107. package/dist/node_modules/get-proto/Object.getPrototypeOf.js.map +1 -0
  1108. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +14 -0
  1109. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js.map +1 -0
  1110. package/dist/node_modules/get-proto/index.js +41 -0
  1111. package/dist/node_modules/get-proto/index.js.map +1 -0
  1112. package/dist/node_modules/gopd/gOPD.js +14 -0
  1113. package/dist/node_modules/gopd/gOPD.js.map +1 -0
  1114. package/dist/node_modules/gopd/index.js +27 -0
  1115. package/dist/node_modules/gopd/index.js.map +1 -0
  1116. package/dist/node_modules/has-property-descriptors/index.js +34 -0
  1117. package/dist/node_modules/has-property-descriptors/index.js.map +1 -0
  1118. package/dist/node_modules/has-symbols/index.js +26 -0
  1119. package/dist/node_modules/has-symbols/index.js.map +1 -0
  1120. package/dist/node_modules/has-symbols/shams.js +55 -0
  1121. package/dist/node_modules/has-symbols/shams.js.map +1 -0
  1122. package/dist/node_modules/has-tostringtag/shams.js +20 -0
  1123. package/dist/node_modules/has-tostringtag/shams.js.map +1 -0
  1124. package/dist/node_modules/hash.js/lib/hash/common.js +98 -0
  1125. package/dist/node_modules/hash.js/lib/hash/common.js.map +1 -0
  1126. package/dist/node_modules/hash.js/lib/hash/hmac.js +52 -0
  1127. package/dist/node_modules/hash.js/lib/hash/hmac.js.map +1 -0
  1128. package/dist/node_modules/hash.js/lib/hash/ripemd.js +153 -0
  1129. package/dist/node_modules/hash.js/lib/hash/ripemd.js.map +1 -0
  1130. package/dist/node_modules/hash.js/lib/hash/sha/1.js +82 -0
  1131. package/dist/node_modules/hash.js/lib/hash/sha/1.js.map +1 -0
  1132. package/dist/node_modules/hash.js/lib/hash/sha/224.js +34 -0
  1133. package/dist/node_modules/hash.js/lib/hash/sha/224.js.map +1 -0
  1134. package/dist/node_modules/hash.js/lib/hash/sha/256.js +114 -0
  1135. package/dist/node_modules/hash.js/lib/hash/sha/256.js.map +1 -0
  1136. package/dist/node_modules/hash.js/lib/hash/sha/384.js +40 -0
  1137. package/dist/node_modules/hash.js/lib/hash/sha/384.js.map +1 -0
  1138. package/dist/node_modules/hash.js/lib/hash/sha/512.js +337 -0
  1139. package/dist/node_modules/hash.js/lib/hash/sha/512.js.map +1 -0
  1140. package/dist/node_modules/hash.js/lib/hash/sha/common.js +54 -0
  1141. package/dist/node_modules/hash.js/lib/hash/sha/common.js.map +1 -0
  1142. package/dist/node_modules/hash.js/lib/hash/sha.js +15 -0
  1143. package/dist/node_modules/hash.js/lib/hash/sha.js.map +1 -0
  1144. package/dist/node_modules/hash.js/lib/hash/utils.js +283 -0
  1145. package/dist/node_modules/hash.js/lib/hash/utils.js.map +1 -0
  1146. package/dist/node_modules/hash.js/lib/hash.js +34 -0
  1147. package/dist/node_modules/hash.js/lib/hash.js.map +1 -0
  1148. package/dist/node_modules/hasown/index.js +20 -0
  1149. package/dist/node_modules/hasown/index.js.map +1 -0
  1150. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +22 -0
  1151. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
  1152. package/dist/node_modules/ieee754/index.js +91 -0
  1153. package/dist/node_modules/ieee754/index.js.map +1 -0
  1154. package/dist/node_modules/inherits/inherits.js +23 -0
  1155. package/dist/node_modules/inherits/inherits.js.map +1 -0
  1156. package/dist/node_modules/inherits/inherits_browser.js +39 -0
  1157. package/dist/node_modules/inherits/inherits_browser.js.map +1 -0
  1158. package/dist/node_modules/is-arguments/index.js +57 -0
  1159. package/dist/node_modules/is-arguments/index.js.map +1 -0
  1160. package/dist/node_modules/is-callable/index.js +111 -0
  1161. package/dist/node_modules/is-callable/index.js.map +1 -0
  1162. package/dist/node_modules/is-generator-function/index.js +47 -0
  1163. package/dist/node_modules/is-generator-function/index.js.map +1 -0
  1164. package/dist/node_modules/is-regex/index.js +84 -0
  1165. package/dist/node_modules/is-regex/index.js.map +1 -0
  1166. package/dist/node_modules/is-typed-array/index.js +20 -0
  1167. package/dist/node_modules/is-typed-array/index.js.map +1 -0
  1168. package/dist/node_modules/js-sha3/src/sha3.js +661 -0
  1169. package/dist/node_modules/js-sha3/src/sha3.js.map +1 -0
  1170. package/dist/node_modules/lightweight-charts/dist/lightweight-charts.production.js +14 -0
  1171. package/dist/node_modules/lightweight-charts/dist/lightweight-charts.production.js.map +1 -0
  1172. package/dist/node_modules/lodash/_DataView.js +13 -0
  1173. package/dist/node_modules/lodash/_DataView.js.map +1 -0
  1174. package/dist/node_modules/lodash/_Hash.js +41 -0
  1175. package/dist/node_modules/lodash/_Hash.js.map +1 -0
  1176. package/dist/node_modules/lodash/_ListCache.js +41 -0
  1177. package/dist/node_modules/lodash/_ListCache.js.map +1 -0
  1178. package/dist/node_modules/lodash/_Map.js +13 -0
  1179. package/dist/node_modules/lodash/_Map.js.map +1 -0
  1180. package/dist/node_modules/lodash/_MapCache.js +41 -0
  1181. package/dist/node_modules/lodash/_MapCache.js.map +1 -0
  1182. package/dist/node_modules/lodash/_Promise.js +13 -0
  1183. package/dist/node_modules/lodash/_Promise.js.map +1 -0
  1184. package/dist/node_modules/lodash/_Set.js +13 -0
  1185. package/dist/node_modules/lodash/_Set.js.map +1 -0
  1186. package/dist/node_modules/lodash/_SetCache.js +34 -0
  1187. package/dist/node_modules/lodash/_SetCache.js.map +1 -0
  1188. package/dist/node_modules/lodash/_Stack.js +37 -0
  1189. package/dist/node_modules/lodash/_Stack.js.map +1 -0
  1190. package/dist/node_modules/lodash/_Symbol.js +11 -0
  1191. package/dist/node_modules/lodash/_Symbol.js.map +1 -0
  1192. package/dist/node_modules/lodash/_Uint8Array.js +11 -0
  1193. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
  1194. package/dist/node_modules/lodash/_WeakMap.js +13 -0
  1195. package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
  1196. package/dist/node_modules/lodash/_arrayFilter.js +29 -0
  1197. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
  1198. package/dist/node_modules/lodash/_arrayIncludes.js +22 -0
  1199. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
  1200. package/dist/node_modules/lodash/_arrayIncludesWith.js +26 -0
  1201. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
  1202. package/dist/node_modules/lodash/_arrayLikeKeys.js +59 -0
  1203. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
  1204. package/dist/node_modules/lodash/_arrayMap.js +25 -0
  1205. package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
  1206. package/dist/node_modules/lodash/_arrayPush.js +24 -0
  1207. package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
  1208. package/dist/node_modules/lodash/_arraySome.js +27 -0
  1209. package/dist/node_modules/lodash/_arraySome.js.map +1 -0
  1210. package/dist/node_modules/lodash/_assocIndexOf.js +26 -0
  1211. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
  1212. package/dist/node_modules/lodash/_baseFindIndex.js +28 -0
  1213. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
  1214. package/dist/node_modules/lodash/_baseFlatten.js +44 -0
  1215. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
  1216. package/dist/node_modules/lodash/_baseGet.js +30 -0
  1217. package/dist/node_modules/lodash/_baseGet.js.map +1 -0
  1218. package/dist/node_modules/lodash/_baseGetAllKeys.js +26 -0
  1219. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
  1220. package/dist/node_modules/lodash/_baseGetTag.js +35 -0
  1221. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
  1222. package/dist/node_modules/lodash/_baseHasIn.js +17 -0
  1223. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
  1224. package/dist/node_modules/lodash/_baseIndexOf.js +27 -0
  1225. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
  1226. package/dist/node_modules/lodash/_baseIsArguments.js +24 -0
  1227. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
  1228. package/dist/node_modules/lodash/_baseIsEqual.js +34 -0
  1229. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
  1230. package/dist/node_modules/lodash/_baseIsEqualDeep.js +95 -0
  1231. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
  1232. package/dist/node_modules/lodash/_baseIsMatch.js +68 -0
  1233. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
  1234. package/dist/node_modules/lodash/_baseIsNaN.js +16 -0
  1235. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
  1236. package/dist/node_modules/lodash/_baseIsNative.js +55 -0
  1237. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
  1238. package/dist/node_modules/lodash/_baseIsTypedArray.js +67 -0
  1239. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
  1240. package/dist/node_modules/lodash/_baseIteratee.js +40 -0
  1241. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
  1242. package/dist/node_modules/lodash/_baseKeys.js +36 -0
  1243. package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
  1244. package/dist/node_modules/lodash/_baseMatches.js +29 -0
  1245. package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
  1246. package/dist/node_modules/lodash/_baseMatchesProperty.js +44 -0
  1247. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
  1248. package/dist/node_modules/lodash/_baseProperty.js +18 -0
  1249. package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
  1250. package/dist/node_modules/lodash/_basePropertyDeep.js +21 -0
  1251. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
  1252. package/dist/node_modules/lodash/_baseSlice.js +35 -0
  1253. package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
  1254. package/dist/node_modules/lodash/_baseTimes.js +24 -0
  1255. package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
  1256. package/dist/node_modules/lodash/_baseToString.js +42 -0
  1257. package/dist/node_modules/lodash/_baseToString.js.map +1 -0
  1258. package/dist/node_modules/lodash/_baseTrim.js +24 -0
  1259. package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
  1260. package/dist/node_modules/lodash/_baseUnary.js +18 -0
  1261. package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
  1262. package/dist/node_modules/lodash/_baseUniq.js +82 -0
  1263. package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
  1264. package/dist/node_modules/lodash/_cacheHas.js +17 -0
  1265. package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
  1266. package/dist/node_modules/lodash/_castPath.js +29 -0
  1267. package/dist/node_modules/lodash/_castPath.js.map +1 -0
  1268. package/dist/node_modules/lodash/_coreJsData.js +11 -0
  1269. package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
  1270. package/dist/node_modules/lodash/_createSet.js +26 -0
  1271. package/dist/node_modules/lodash/_createSet.js.map +1 -0
  1272. package/dist/node_modules/lodash/_equalArrays.js +91 -0
  1273. package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
  1274. package/dist/node_modules/lodash/_equalByTag.js +122 -0
  1275. package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
  1276. package/dist/node_modules/lodash/_equalObjects.js +95 -0
  1277. package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
  1278. package/dist/node_modules/lodash/_freeGlobal.js +10 -0
  1279. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
  1280. package/dist/node_modules/lodash/_getAllKeys.js +23 -0
  1281. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
  1282. package/dist/node_modules/lodash/_getMapData.js +23 -0
  1283. package/dist/node_modules/lodash/_getMapData.js.map +1 -0
  1284. package/dist/node_modules/lodash/_getMatchData.js +30 -0
  1285. package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
  1286. package/dist/node_modules/lodash/_getNative.js +23 -0
  1287. package/dist/node_modules/lodash/_getNative.js.map +1 -0
  1288. package/dist/node_modules/lodash/_getRawTag.js +51 -0
  1289. package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
  1290. package/dist/node_modules/lodash/_getSymbols.js +36 -0
  1291. package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
  1292. package/dist/node_modules/lodash/_getTag.js +69 -0
  1293. package/dist/node_modules/lodash/_getTag.js.map +1 -0
  1294. package/dist/node_modules/lodash/_getValue.js +17 -0
  1295. package/dist/node_modules/lodash/_getValue.js.map +1 -0
  1296. package/dist/node_modules/lodash/_hasPath.js +49 -0
  1297. package/dist/node_modules/lodash/_hasPath.js.map +1 -0
  1298. package/dist/node_modules/lodash/_hashClear.js +20 -0
  1299. package/dist/node_modules/lodash/_hashClear.js.map +1 -0
  1300. package/dist/node_modules/lodash/_hashDelete.js +21 -0
  1301. package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
  1302. package/dist/node_modules/lodash/_hashGet.js +35 -0
  1303. package/dist/node_modules/lodash/_hashGet.js.map +1 -0
  1304. package/dist/node_modules/lodash/_hashHas.js +28 -0
  1305. package/dist/node_modules/lodash/_hashHas.js.map +1 -0
  1306. package/dist/node_modules/lodash/_hashSet.js +28 -0
  1307. package/dist/node_modules/lodash/_hashSet.js.map +1 -0
  1308. package/dist/node_modules/lodash/_isFlattenable.js +27 -0
  1309. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
  1310. package/dist/node_modules/lodash/_isIndex.js +29 -0
  1311. package/dist/node_modules/lodash/_isIndex.js.map +1 -0
  1312. package/dist/node_modules/lodash/_isIterateeCall.js +38 -0
  1313. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
  1314. package/dist/node_modules/lodash/_isKey.js +35 -0
  1315. package/dist/node_modules/lodash/_isKey.js.map +1 -0
  1316. package/dist/node_modules/lodash/_isKeyable.js +19 -0
  1317. package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
  1318. package/dist/node_modules/lodash/_isMasked.js +25 -0
  1319. package/dist/node_modules/lodash/_isMasked.js.map +1 -0
  1320. package/dist/node_modules/lodash/_isPrototype.js +22 -0
  1321. package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
  1322. package/dist/node_modules/lodash/_isStrictComparable.js +20 -0
  1323. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
  1324. package/dist/node_modules/lodash/_listCacheClear.js +17 -0
  1325. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
  1326. package/dist/node_modules/lodash/_listCacheDelete.js +40 -0
  1327. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
  1328. package/dist/node_modules/lodash/_listCacheGet.js +24 -0
  1329. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
  1330. package/dist/node_modules/lodash/_listCacheHas.js +21 -0
  1331. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
  1332. package/dist/node_modules/lodash/_listCacheSet.js +31 -0
  1333. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
  1334. package/dist/node_modules/lodash/_mapCacheClear.js +28 -0
  1335. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
  1336. package/dist/node_modules/lodash/_mapCacheDelete.js +23 -0
  1337. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
  1338. package/dist/node_modules/lodash/_mapCacheGet.js +21 -0
  1339. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
  1340. package/dist/node_modules/lodash/_mapCacheHas.js +21 -0
  1341. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
  1342. package/dist/node_modules/lodash/_mapCacheSet.js +27 -0
  1343. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
  1344. package/dist/node_modules/lodash/_mapToArray.js +22 -0
  1345. package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
  1346. package/dist/node_modules/lodash/_matchesStrictComparable.js +24 -0
  1347. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
  1348. package/dist/node_modules/lodash/_memoizeCapped.js +31 -0
  1349. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
  1350. package/dist/node_modules/lodash/_nativeCreate.js +11 -0
  1351. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
  1352. package/dist/node_modules/lodash/_nativeKeys.js +11 -0
  1353. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
  1354. package/dist/node_modules/lodash/_nodeUtil.js +42 -0
  1355. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
  1356. package/dist/node_modules/lodash/_objectToString.js +26 -0
  1357. package/dist/node_modules/lodash/_objectToString.js.map +1 -0
  1358. package/dist/node_modules/lodash/_overArg.js +19 -0
  1359. package/dist/node_modules/lodash/_overArg.js.map +1 -0
  1360. package/dist/node_modules/lodash/_root.js +14 -0
  1361. package/dist/node_modules/lodash/_root.js.map +1 -0
  1362. package/dist/node_modules/lodash/_setCacheAdd.js +23 -0
  1363. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
  1364. package/dist/node_modules/lodash/_setCacheHas.js +18 -0
  1365. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
  1366. package/dist/node_modules/lodash/_setToArray.js +22 -0
  1367. package/dist/node_modules/lodash/_setToArray.js.map +1 -0
  1368. package/dist/node_modules/lodash/_stackClear.js +20 -0
  1369. package/dist/node_modules/lodash/_stackClear.js.map +1 -0
  1370. package/dist/node_modules/lodash/_stackDelete.js +22 -0
  1371. package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
  1372. package/dist/node_modules/lodash/_stackGet.js +18 -0
  1373. package/dist/node_modules/lodash/_stackGet.js.map +1 -0
  1374. package/dist/node_modules/lodash/_stackHas.js +18 -0
  1375. package/dist/node_modules/lodash/_stackHas.js.map +1 -0
  1376. package/dist/node_modules/lodash/_stackSet.js +41 -0
  1377. package/dist/node_modules/lodash/_stackSet.js.map +1 -0
  1378. package/dist/node_modules/lodash/_strictIndexOf.js +27 -0
  1379. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
  1380. package/dist/node_modules/lodash/_stringToPath.js +32 -0
  1381. package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
  1382. package/dist/node_modules/lodash/_toKey.js +23 -0
  1383. package/dist/node_modules/lodash/_toKey.js.map +1 -0
  1384. package/dist/node_modules/lodash/_toSource.js +30 -0
  1385. package/dist/node_modules/lodash/_toSource.js.map +1 -0
  1386. package/dist/node_modules/lodash/_trimmedEndIndex.js +23 -0
  1387. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
  1388. package/dist/node_modules/lodash/chunk.js +60 -0
  1389. package/dist/node_modules/lodash/chunk.js.map +1 -0
  1390. package/dist/node_modules/lodash/eq.js +41 -0
  1391. package/dist/node_modules/lodash/eq.js.map +1 -0
  1392. package/dist/node_modules/lodash/flatten.js +30 -0
  1393. package/dist/node_modules/lodash/flatten.js.map +1 -0
  1394. package/dist/node_modules/lodash/get.js +41 -0
  1395. package/dist/node_modules/lodash/get.js.map +1 -0
  1396. package/dist/node_modules/lodash/hasIn.js +40 -0
  1397. package/dist/node_modules/lodash/hasIn.js.map +1 -0
  1398. package/dist/node_modules/lodash/identity.js +25 -0
  1399. package/dist/node_modules/lodash/identity.js.map +1 -0
  1400. package/dist/node_modules/lodash/isArguments.js +42 -0
  1401. package/dist/node_modules/lodash/isArguments.js.map +1 -0
  1402. package/dist/node_modules/lodash/isArray.js +34 -0
  1403. package/dist/node_modules/lodash/isArray.js.map +1 -0
  1404. package/dist/node_modules/lodash/isArrayLike.js +39 -0
  1405. package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
  1406. package/dist/node_modules/lodash/isBuffer.js +51 -0
  1407. package/dist/node_modules/lodash/isBuffer.js.map +1 -0
  1408. package/dist/node_modules/lodash/isFunction.js +43 -0
  1409. package/dist/node_modules/lodash/isFunction.js.map +1 -0
  1410. package/dist/node_modules/lodash/isLength.js +39 -0
  1411. package/dist/node_modules/lodash/isLength.js.map +1 -0
  1412. package/dist/node_modules/lodash/isObject.js +35 -0
  1413. package/dist/node_modules/lodash/isObject.js.map +1 -0
  1414. package/dist/node_modules/lodash/isObjectLike.js +33 -0
  1415. package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
  1416. package/dist/node_modules/lodash/isSymbol.js +35 -0
  1417. package/dist/node_modules/lodash/isSymbol.js.map +1 -0
  1418. package/dist/node_modules/lodash/isTypedArray.js +34 -0
  1419. package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
  1420. package/dist/node_modules/lodash/keys.js +44 -0
  1421. package/dist/node_modules/lodash/keys.js.map +1 -0
  1422. package/dist/node_modules/lodash/memoize.js +78 -0
  1423. package/dist/node_modules/lodash/memoize.js.map +1 -0
  1424. package/dist/node_modules/lodash/noop.js +21 -0
  1425. package/dist/node_modules/lodash/noop.js.map +1 -0
  1426. package/dist/node_modules/lodash/property.js +40 -0
  1427. package/dist/node_modules/lodash/property.js.map +1 -0
  1428. package/dist/node_modules/lodash/stubArray.js +27 -0
  1429. package/dist/node_modules/lodash/stubArray.js.map +1 -0
  1430. package/dist/node_modules/lodash/stubFalse.js +22 -0
  1431. package/dist/node_modules/lodash/stubFalse.js.map +1 -0
  1432. package/dist/node_modules/lodash/toFinite.js +47 -0
  1433. package/dist/node_modules/lodash/toFinite.js.map +1 -0
  1434. package/dist/node_modules/lodash/toInteger.js +41 -0
  1435. package/dist/node_modules/lodash/toInteger.js.map +1 -0
  1436. package/dist/node_modules/lodash/toNumber.js +71 -0
  1437. package/dist/node_modules/lodash/toNumber.js.map +1 -0
  1438. package/dist/node_modules/lodash/toString.js +33 -0
  1439. package/dist/node_modules/lodash/toString.js.map +1 -0
  1440. package/dist/node_modules/lodash/uniqBy.js +40 -0
  1441. package/dist/node_modules/lodash/uniqBy.js.map +1 -0
  1442. package/dist/node_modules/math-intrinsics/abs.js +14 -0
  1443. package/dist/node_modules/math-intrinsics/abs.js.map +1 -0
  1444. package/dist/node_modules/math-intrinsics/floor.js +14 -0
  1445. package/dist/node_modules/math-intrinsics/floor.js.map +1 -0
  1446. package/dist/node_modules/math-intrinsics/isNaN.js +16 -0
  1447. package/dist/node_modules/math-intrinsics/isNaN.js.map +1 -0
  1448. package/dist/node_modules/math-intrinsics/max.js +14 -0
  1449. package/dist/node_modules/math-intrinsics/max.js.map +1 -0
  1450. package/dist/node_modules/math-intrinsics/min.js +14 -0
  1451. package/dist/node_modules/math-intrinsics/min.js.map +1 -0
  1452. package/dist/node_modules/math-intrinsics/pow.js +14 -0
  1453. package/dist/node_modules/math-intrinsics/pow.js.map +1 -0
  1454. package/dist/node_modules/math-intrinsics/round.js +14 -0
  1455. package/dist/node_modules/math-intrinsics/round.js.map +1 -0
  1456. package/dist/node_modules/math-intrinsics/sign.js +23 -0
  1457. package/dist/node_modules/math-intrinsics/sign.js.map +1 -0
  1458. package/dist/node_modules/minimalistic-assert/index.js +14 -0
  1459. package/dist/node_modules/minimalistic-assert/index.js.map +1 -0
  1460. package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js +83 -0
  1461. package/dist/node_modules/motion-dom/dist/es/animation/controls/BaseGroup.js.map +1 -0
  1462. package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js +14 -0
  1463. package/dist/node_modules/motion-dom/dist/es/animation/controls/Group.js.map +1 -0
  1464. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +18 -0
  1465. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
  1466. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
  1467. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
  1468. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +10 -0
  1469. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
  1470. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js +7 -0
  1471. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/attach-timeline.js.map +1 -0
  1472. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js +45 -0
  1473. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/easing.js.map +1 -0
  1474. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +16 -0
  1475. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
  1476. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +10 -0
  1477. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
  1478. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +29 -0
  1479. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
  1480. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +42 -0
  1481. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
  1482. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +77 -0
  1483. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
  1484. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +14 -0
  1485. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
  1486. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +39 -0
  1487. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
  1488. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
  1489. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
  1490. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +21 -0
  1491. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
  1492. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +19 -0
  1493. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
  1494. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +16 -0
  1495. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
  1496. package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js +4 -0
  1497. package/dist/node_modules/motion-dom/dist/es/utils/is-bezier-definition.js.map +1 -0
  1498. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +15 -0
  1499. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
  1500. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +10 -0
  1501. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
  1502. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +16 -0
  1503. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
  1504. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
  1505. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
  1506. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
  1507. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
  1508. package/dist/node_modules/motion-utils/dist/es/errors.js +19 -0
  1509. package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
  1510. package/dist/node_modules/motion-utils/dist/es/memo.js +12 -0
  1511. package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
  1512. package/dist/node_modules/motion-utils/dist/es/noop.js +5 -0
  1513. package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
  1514. package/dist/node_modules/motion-utils/dist/es/progress.js +20 -0
  1515. package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
  1516. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +13 -0
  1517. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
  1518. package/dist/node_modules/possible-typed-array-names/index.js +27 -0
  1519. package/dist/node_modules/possible-typed-array-names/index.js.map +1 -0
  1520. package/dist/node_modules/primereact/api/api.esm.js +120 -0
  1521. package/dist/node_modules/primereact/api/api.esm.js.map +1 -0
  1522. package/dist/node_modules/primereact/componentbase/componentbase.esm.js +357 -0
  1523. package/dist/node_modules/primereact/componentbase/componentbase.esm.js.map +1 -0
  1524. package/dist/node_modules/primereact/hooks/hooks.esm.js +276 -0
  1525. package/dist/node_modules/primereact/hooks/hooks.esm.js.map +1 -0
  1526. package/dist/node_modules/primereact/knob/knob.esm.js +388 -0
  1527. package/dist/node_modules/primereact/knob/knob.esm.js.map +1 -0
  1528. package/dist/node_modules/primereact/utils/utils.esm.js +2155 -0
  1529. package/dist/node_modules/primereact/utils/utils.esm.js.map +1 -0
  1530. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1326 -0
  1531. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
  1532. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +25 -0
  1533. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
  1534. package/dist/node_modules/react/jsx-runtime.js +14 -0
  1535. package/dist/node_modules/react/jsx-runtime.js.map +1 -0
  1536. package/dist/node_modules/react-chartjs-2/dist/index.js +143 -0
  1537. package/dist/node_modules/react-chartjs-2/dist/index.js.map +1 -0
  1538. package/dist/node_modules/react-is/cjs/react-is.development.js +191 -0
  1539. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  1540. package/dist/node_modules/react-is/cjs/react-is.production.min.js +27 -0
  1541. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  1542. package/dist/node_modules/react-is/index.js +14 -0
  1543. package/dist/node_modules/react-is/index.js.map +1 -0
  1544. package/dist/node_modules/safe-regex-test/index.js +31 -0
  1545. package/dist/node_modules/safe-regex-test/index.js.map +1 -0
  1546. package/dist/node_modules/set-function-length/index.js +58 -0
  1547. package/dist/node_modules/set-function-length/index.js.map +1 -0
  1548. package/dist/node_modules/stylis/src/Enum.js +13 -0
  1549. package/dist/node_modules/stylis/src/Enum.js.map +1 -0
  1550. package/dist/node_modules/stylis/src/Middleware.js +33 -0
  1551. package/dist/node_modules/stylis/src/Middleware.js.map +1 -0
  1552. package/dist/node_modules/stylis/src/Parser.js +194 -0
  1553. package/dist/node_modules/stylis/src/Parser.js.map +1 -0
  1554. package/dist/node_modules/stylis/src/Serializer.js +39 -0
  1555. package/dist/node_modules/stylis/src/Serializer.js.map +1 -0
  1556. package/dist/node_modules/stylis/src/Tokenizer.js +224 -0
  1557. package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -0
  1558. package/dist/node_modules/stylis/src/Utility.js +118 -0
  1559. package/dist/node_modules/stylis/src/Utility.js.map +1 -0
  1560. package/dist/node_modules/swiper/shared/ssr-window.esm.js +147 -0
  1561. package/dist/node_modules/swiper/shared/ssr-window.esm.js.map +1 -0
  1562. package/dist/node_modules/swiper/shared/swiper-core.js +3952 -0
  1563. package/dist/node_modules/swiper/shared/swiper-core.js.map +1 -0
  1564. package/dist/node_modules/swiper/shared/update-on-virtual-data.js +132 -0
  1565. package/dist/node_modules/swiper/shared/update-on-virtual-data.js.map +1 -0
  1566. package/dist/node_modules/swiper/shared/update-swiper.js +233 -0
  1567. package/dist/node_modules/swiper/shared/update-swiper.js.map +1 -0
  1568. package/dist/node_modules/swiper/shared/utils.js +303 -0
  1569. package/dist/node_modules/swiper/shared/utils.js.map +1 -0
  1570. package/dist/node_modules/swiper/swiper-react.js +390 -0
  1571. package/dist/node_modules/swiper/swiper-react.js.map +1 -0
  1572. package/dist/node_modules/tslib/tslib.es6.js +400 -0
  1573. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  1574. package/dist/node_modules/util/support/isBuffer.js +14 -0
  1575. package/dist/node_modules/util/support/isBuffer.js.map +1 -0
  1576. package/dist/node_modules/util/support/types.js +348 -0
  1577. package/dist/node_modules/util/support/types.js.map +1 -0
  1578. package/dist/node_modules/util/util.js +730 -0
  1579. package/dist/node_modules/util/util.js.map +1 -0
  1580. package/dist/node_modules/viem/_esm/constants/unit.js +7 -0
  1581. package/dist/node_modules/viem/_esm/constants/unit.js.map +1 -0
  1582. package/dist/node_modules/viem/_esm/errors/base.js +92 -0
  1583. package/dist/node_modules/viem/_esm/errors/base.js.map +1 -0
  1584. package/dist/node_modules/viem/_esm/errors/unit.js +12 -0
  1585. package/dist/node_modules/viem/_esm/errors/unit.js.map +1 -0
  1586. package/dist/node_modules/viem/_esm/errors/version.js +4 -0
  1587. package/dist/node_modules/viem/_esm/errors/version.js.map +1 -0
  1588. package/dist/node_modules/viem/_esm/utils/unit/parseEther.js +20 -0
  1589. package/dist/node_modules/viem/_esm/utils/unit/parseEther.js.map +1 -0
  1590. package/dist/node_modules/viem/_esm/utils/unit/parseUnits.js +53 -0
  1591. package/dist/node_modules/viem/_esm/utils/unit/parseUnits.js.map +1 -0
  1592. package/dist/node_modules/which-typed-array/index.js +136 -0
  1593. package/dist/node_modules/which-typed-array/index.js.map +1 -0
  1594. package/dist/providers/index.js +63 -0
  1595. package/dist/providers/index.js.map +1 -0
  1596. package/dist/state/abtesting/useCookie.js +40 -0
  1597. package/dist/state/abtesting/useCookie.js.map +1 -0
  1598. package/dist/state/activeView/index.js +40 -0
  1599. package/dist/state/activeView/index.js.map +1 -0
  1600. package/dist/state/allowance/useAllowance.js +139 -0
  1601. package/dist/state/allowance/useAllowance.js.map +1 -0
  1602. package/dist/state/balance/useCurrencyBalance.js +40 -0
  1603. package/dist/state/balance/useCurrencyBalance.js.map +1 -0
  1604. package/dist/state/balance/useCurrencyBalanceSolana.js +43 -0
  1605. package/dist/state/balance/useCurrencyBalanceSolana.js.map +1 -0
  1606. package/dist/state/balance/useUserTokensBalance.js +100 -0
  1607. package/dist/state/balance/useUserTokensBalance.js.map +1 -0
  1608. package/dist/state/bondApiStats/useGetBondApiStats.js +21 -0
  1609. package/dist/state/bondApiStats/useGetBondApiStats.js.map +1 -0
  1610. package/dist/state/bonds/fetchBillsUser.js +157 -0
  1611. package/dist/state/bonds/fetchBillsUser.js.map +1 -0
  1612. package/dist/state/bonds/fetchBillsUserSolana.js +167 -0
  1613. package/dist/state/bonds/fetchBillsUserSolana.js.map +1 -0
  1614. package/dist/state/bonds/useBondsData.js +84 -0
  1615. package/dist/state/bonds/useBondsData.js.map +1 -0
  1616. package/dist/state/bonds/useBondsList.js +35 -0
  1617. package/dist/state/bonds/useBondsList.js.map +1 -0
  1618. package/dist/state/bonds/useBondsListPreTGE.js +36 -0
  1619. package/dist/state/bonds/useBondsListPreTGE.js.map +1 -0
  1620. package/dist/state/bonds/useTierProofSignature.js +46 -0
  1621. package/dist/state/bonds/useTierProofSignature.js.map +1 -0
  1622. package/dist/state/bonds/useUserBonds.js +131 -0
  1623. package/dist/state/bonds/useUserBonds.js.map +1 -0
  1624. package/dist/state/bonds/useUserBondsPreTGE.js +151 -0
  1625. package/dist/state/bonds/useUserBondsPreTGE.js.map +1 -0
  1626. package/dist/state/bonds/utils.js +330 -0
  1627. package/dist/state/bonds/utils.js.map +1 -0
  1628. package/dist/state/chainFilterOption/useChainFilterOption.js +35 -0
  1629. package/dist/state/chainFilterOption/useChainFilterOption.js.map +1 -0
  1630. package/dist/state/favoriteTokens/useFavoriteTokens.js +47 -0
  1631. package/dist/state/favoriteTokens/useFavoriteTokens.js.map +1 -0
  1632. package/dist/state/historicalPrice/useHistoricalPrice.js +26 -0
  1633. package/dist/state/historicalPrice/useHistoricalPrice.js.map +1 -0
  1634. package/dist/state/hotBonds/useHotBonds.js +51 -0
  1635. package/dist/state/hotBonds/useHotBonds.js.map +1 -0
  1636. package/dist/state/popups/usePopups.js +57 -0
  1637. package/dist/state/popups/usePopups.js.map +1 -0
  1638. package/dist/state/price/useCurrencyPrice.js +22 -0
  1639. package/dist/state/price/useCurrencyPrice.js.map +1 -0
  1640. package/dist/state/recommendations/useGetBondRecommendations.js +23 -0
  1641. package/dist/state/recommendations/useGetBondRecommendations.js.map +1 -0
  1642. package/dist/state/slippage/useSlippage.js +40 -0
  1643. package/dist/state/slippage/useSlippage.js.map +1 -0
  1644. package/dist/state/tiers/useTierPoints.js +102 -0
  1645. package/dist/state/tiers/useTierPoints.js.map +1 -0
  1646. package/dist/state/tokenPrices/useTokenPrices.js +36 -0
  1647. package/dist/state/tokenPrices/useTokenPrices.js.map +1 -0
  1648. package/dist/state/useSDKConfig.js +39 -0
  1649. package/dist/state/useSDKConfig.js.map +1 -0
  1650. package/dist/state/zap/getChainParam.js +58 -0
  1651. package/dist/state/zap/getChainParam.js.map +1 -0
  1652. package/dist/state/zap/useJupiterSolanaQuote.js +128 -0
  1653. package/dist/state/zap/useJupiterSolanaQuote.js.map +1 -0
  1654. package/dist/state/zap/useSoulZapBondQuote.js +168 -0
  1655. package/dist/state/zap/useSoulZapBondQuote.js.map +1 -0
  1656. package/dist/theme/base.js +125 -0
  1657. package/dist/theme/base.js.map +1 -0
  1658. package/dist/theme/colors.js +25 -0
  1659. package/dist/theme/colors.js.map +1 -0
  1660. package/dist/theme/components.js +321 -0
  1661. package/dist/theme/components.js.map +1 -0
  1662. package/dist/theme/index.js +8 -0
  1663. package/dist/theme/index.js.map +1 -0
  1664. package/dist/types/bondCodec.js +24 -0
  1665. package/dist/types/bondCodec.js.map +1 -0
  1666. package/dist/types/bondIssuanceCodec.js +32 -0
  1667. package/dist/types/bondIssuanceCodec.js.map +1 -0
  1668. package/dist/types/bondPricingCodec.js +22 -0
  1669. package/dist/types/bondPricingCodec.js.map +1 -0
  1670. package/dist/types/bondTermCodec.js +24 -0
  1671. package/dist/types/bondTermCodec.js.map +1 -0
  1672. package/dist/utils/calculateSolanaTrueBillPrice.js +71 -0
  1673. package/dist/utils/calculateSolanaTrueBillPrice.js.map +1 -0
  1674. package/dist/utils/campaignStyles.js +54 -0
  1675. package/dist/utils/campaignStyles.js.map +1 -0
  1676. package/dist/utils/convertToTokenValue.js +27 -0
  1677. package/dist/utils/convertToTokenValue.js.map +1 -0
  1678. package/dist/utils/dates/formatDate.js +16 -0
  1679. package/dist/utils/dates/formatDate.js.map +1 -0
  1680. package/dist/utils/derivePda.js +9 -0
  1681. package/dist/utils/derivePda.js.map +1 -0
  1682. package/dist/utils/displayHelpers.js +238 -0
  1683. package/dist/utils/displayHelpers.js.map +1 -0
  1684. package/dist/utils/formatNumber.js +52 -0
  1685. package/dist/utils/formatNumber.js.map +1 -0
  1686. package/dist/utils/getBalanceNumber.js +11 -0
  1687. package/dist/utils/getBalanceNumber.js.map +1 -0
  1688. package/dist/utils/getDotPos.js +12 -0
  1689. package/dist/utils/getDotPos.js.map +1 -0
  1690. package/dist/utils/getNativeTicker.js +21 -0
  1691. package/dist/utils/getNativeTicker.js.map +1 -0
  1692. package/dist/utils/getSolanaAccount.js +116 -0
  1693. package/dist/utils/getSolanaAccount.js.map +1 -0
  1694. package/dist/utils/getTimePeriods.js +67 -0
  1695. package/dist/utils/getTimePeriods.js.map +1 -0
  1696. package/dist/utils/index.js +16 -0
  1697. package/dist/utils/index.js.map +1 -0
  1698. package/dist/utils/multicall.js +49 -0
  1699. package/dist/utils/multicall.js.map +1 -0
  1700. package/dist/utils/numbers.js +7 -0
  1701. package/dist/utils/numbers.js.map +1 -0
  1702. package/dist/utils/remove0xPrefix.js +9 -0
  1703. package/dist/utils/remove0xPrefix.js.map +1 -0
  1704. package/dist/utils/reportError.js +31 -0
  1705. package/dist/utils/reportError.js.map +1 -0
  1706. package/dist/utils/roundNumber.js +16 -0
  1707. package/dist/utils/roundNumber.js.map +1 -0
  1708. package/dist/utils/solanaAtaHelper.js +40 -0
  1709. package/dist/utils/solanaAtaHelper.js.map +1 -0
  1710. package/dist/utils/solanaMulticall.js +44 -0
  1711. package/dist/utils/solanaMulticall.js.map +1 -0
  1712. package/dist/utils/solanaRpc.js +13 -0
  1713. package/dist/utils/solanaRpc.js.map +1 -0
  1714. package/dist/utils/track.js +7 -0
  1715. package/dist/utils/track.js.map +1 -0
  1716. package/dist/views/Bonds/Bonds.js +196 -0
  1717. package/dist/views/Bonds/Bonds.js.map +1 -0
  1718. package/dist/views/Bonds/components/BondRows/ActiveBondRows.js +66 -0
  1719. package/dist/views/Bonds/components/BondRows/ActiveBondRows.js.map +1 -0
  1720. package/dist/views/Bonds/components/BondRows/BondRow.js +70 -0
  1721. package/dist/views/Bonds/components/BondRows/BondRow.js.map +1 -0
  1722. package/dist/views/Bonds/components/BondRows/ChainTitle.js +39 -0
  1723. package/dist/views/Bonds/components/BondRows/ChainTitle.js.map +1 -0
  1724. package/dist/views/Bonds/components/BondRows/ModalHandler.js +104 -0
  1725. package/dist/views/Bonds/components/BondRows/ModalHandler.js.map +1 -0
  1726. package/dist/views/Bonds/components/BondRows/ModalHandlerPreTGE.js +39 -0
  1727. package/dist/views/Bonds/components/BondRows/ModalHandlerPreTGE.js.map +1 -0
  1728. package/dist/views/Bonds/components/BondRows/SoldOutRows.js +43 -0
  1729. package/dist/views/Bonds/components/BondRows/SoldOutRows.js.map +1 -0
  1730. package/dist/views/Bonds/components/BondsMenu/BondsMenu.js +36 -0
  1731. package/dist/views/Bonds/components/BondsMenu/BondsMenu.js.map +1 -0
  1732. package/dist/views/Bonds/components/BonusComponents/BonusComponent.js +59 -0
  1733. package/dist/views/Bonds/components/BonusComponents/BonusComponent.js.map +1 -0
  1734. package/dist/views/Bonds/components/BonusComponents/BonusContainer.js +11 -0
  1735. package/dist/views/Bonds/components/BonusComponents/BonusContainer.js.map +1 -0
  1736. package/dist/views/Bonds/components/BonusComponents/BonusTable.js +57 -0
  1737. package/dist/views/Bonds/components/BonusComponents/BonusTable.js.map +1 -0
  1738. package/dist/views/Bonds/components/BuyAgainRow/index.js +83 -0
  1739. package/dist/views/Bonds/components/BuyAgainRow/index.js.map +1 -0
  1740. package/dist/views/Bonds/components/ChainBanner/ChainBanner.js +84 -0
  1741. package/dist/views/Bonds/components/ChainBanner/ChainBanner.js.map +1 -0
  1742. package/dist/views/Bonds/components/CheckURL/index.js +44 -0
  1743. package/dist/views/Bonds/components/CheckURL/index.js.map +1 -0
  1744. package/dist/views/Bonds/components/HotBondCards/HotBondCard.js +54 -0
  1745. package/dist/views/Bonds/components/HotBondCards/HotBondCard.js.map +1 -0
  1746. package/dist/views/Bonds/components/HotBondCards/index.js +78 -0
  1747. package/dist/views/Bonds/components/HotBondCards/index.js.map +1 -0
  1748. package/dist/views/Bonds/components/HotBondCards/styles.js +47 -0
  1749. package/dist/views/Bonds/components/HotBondCards/styles.js.map +1 -0
  1750. package/dist/views/Bonds/components/LoadingSkeleton/LoadingSkeleton.js +37 -0
  1751. package/dist/views/Bonds/components/LoadingSkeleton/LoadingSkeleton.js.map +1 -0
  1752. package/dist/views/Bonds/components/RecommendationCards/SmallRecommendationCard.js +27 -0
  1753. package/dist/views/Bonds/components/RecommendationCards/SmallRecommendationCard.js.map +1 -0
  1754. package/dist/views/Bonds/components/RecommendationCards/index.js +84 -0
  1755. package/dist/views/Bonds/components/RecommendationCards/index.js.map +1 -0
  1756. package/dist/views/Bonds/components/RecommendationCards/styles.js +24 -0
  1757. package/dist/views/Bonds/components/RecommendationCards/styles.js.map +1 -0
  1758. package/dist/views/Bonds/index.js +12 -0
  1759. package/dist/views/Bonds/index.js.map +1 -0
  1760. package/dist/views/Bonds/utils.js +149 -0
  1761. package/dist/views/Bonds/utils.js.map +1 -0
  1762. package/dist/views/BuyBond/BuyBondModal.js +26 -0
  1763. package/dist/views/BuyBond/BuyBondModal.js.map +1 -0
  1764. package/dist/views/BuyBond/BuyComponent.js +425 -0
  1765. package/dist/views/BuyBond/BuyComponent.js.map +1 -0
  1766. package/dist/views/BuyBond/BuyComponentPreTGE.js +154 -0
  1767. package/dist/views/BuyBond/BuyComponentPreTGE.js.map +1 -0
  1768. package/dist/views/BuyBond/BuyComponentSolana.js +641 -0
  1769. package/dist/views/BuyBond/BuyComponentSolana.js.map +1 -0
  1770. package/dist/views/BuyBond/ParticipationSuccessful.js +78 -0
  1771. package/dist/views/BuyBond/ParticipationSuccessful.js.map +1 -0
  1772. package/dist/views/BuyBond/components/BondCards/BondCards.js +92 -0
  1773. package/dist/views/BuyBond/components/BondCards/BondCards.js.map +1 -0
  1774. package/dist/views/BuyBond/components/BondCards/BondCardsPreTGE.js +74 -0
  1775. package/dist/views/BuyBond/components/BondCards/BondCardsPreTGE.js.map +1 -0
  1776. package/dist/views/BuyBond/components/BondModalHeader.js +95 -0
  1777. package/dist/views/BuyBond/components/BondModalHeader.js.map +1 -0
  1778. package/dist/views/BuyBond/components/BondModalMinTierHeader.js +35 -0
  1779. package/dist/views/BuyBond/components/BondModalMinTierHeader.js.map +1 -0
  1780. package/dist/views/BuyBond/components/Estimations.js +68 -0
  1781. package/dist/views/BuyBond/components/Estimations.js.map +1 -0
  1782. package/dist/views/BuyBond/components/ExpandedViewButton.js +37 -0
  1783. package/dist/views/BuyBond/components/ExpandedViewButton.js.map +1 -0
  1784. package/dist/views/BuyBond/components/GetUpToComponent/GetUpToComponent.js +71 -0
  1785. package/dist/views/BuyBond/components/GetUpToComponent/GetUpToComponent.js.map +1 -0
  1786. package/dist/views/BuyBond/components/NewRateModal/NewRateModal.js +55 -0
  1787. package/dist/views/BuyBond/components/NewRateModal/NewRateModal.js.map +1 -0
  1788. package/dist/views/BuyBond/components/NoBonusModal/NoBonusModal.js +36 -0
  1789. package/dist/views/BuyBond/components/NoBonusModal/NoBonusModal.js.map +1 -0
  1790. package/dist/views/BuyBond/components/ProjectDescription.js +38 -0
  1791. package/dist/views/BuyBond/components/ProjectDescription.js.map +1 -0
  1792. package/dist/views/BuyBond/index.js +12 -0
  1793. package/dist/views/BuyBond/index.js.map +1 -0
  1794. package/dist/views/BuyBond/styles.js +33 -0
  1795. package/dist/views/BuyBond/styles.js.map +1 -0
  1796. package/dist/views/FullBondsView/FullBondsView.js +34 -0
  1797. package/dist/views/FullBondsView/FullBondsView.js.map +1 -0
  1798. package/dist/views/FullBondsView/index.js +12 -0
  1799. package/dist/views/FullBondsView/index.js.map +1 -0
  1800. package/dist/views/LifiModal/LifiModal.js +79 -0
  1801. package/dist/views/LifiModal/LifiModal.js.map +1 -0
  1802. package/dist/views/ProjectView/ProjectView.js +72 -0
  1803. package/dist/views/ProjectView/ProjectView.js.map +1 -0
  1804. package/dist/views/ProjectView/components/BondLeaderboard/components/SalesTable.js +56 -0
  1805. package/dist/views/ProjectView/components/BondLeaderboard/components/SalesTable.js.map +1 -0
  1806. package/dist/views/ProjectView/components/BondLeaderboard/components/TopSaleCard.js +46 -0
  1807. package/dist/views/ProjectView/components/BondLeaderboard/components/TopSaleCard.js.map +1 -0
  1808. package/dist/views/ProjectView/components/BondLeaderboard/components/TopThreeSalesCards.js +24 -0
  1809. package/dist/views/ProjectView/components/BondLeaderboard/components/TopThreeSalesCards.js.map +1 -0
  1810. package/dist/views/ProjectView/components/BondLeaderboard/components/styles.js +51 -0
  1811. package/dist/views/ProjectView/components/BondLeaderboard/components/styles.js.map +1 -0
  1812. package/dist/views/ProjectView/components/BondLeaderboard/index.js +45 -0
  1813. package/dist/views/ProjectView/components/BondLeaderboard/index.js.map +1 -0
  1814. package/dist/views/ProjectView/components/BondStats/index.js +97 -0
  1815. package/dist/views/ProjectView/components/BondStats/index.js.map +1 -0
  1816. package/dist/views/ProjectView/components/BondStats/styles.js +49 -0
  1817. package/dist/views/ProjectView/components/BondStats/styles.js.map +1 -0
  1818. package/dist/views/ProjectView/components/BondStats/types.js +40 -0
  1819. package/dist/views/ProjectView/components/BondStats/types.js.map +1 -0
  1820. package/dist/views/ProjectView/components/BondStats/utils.js +10 -0
  1821. package/dist/views/ProjectView/components/BondStats/utils.js.map +1 -0
  1822. package/dist/views/ProjectView/components/NavPanel/index.js +32 -0
  1823. package/dist/views/ProjectView/components/NavPanel/index.js.map +1 -0
  1824. package/dist/views/ProjectView/components/PriceChart/components/CandleStickChart.js +112 -0
  1825. package/dist/views/ProjectView/components/PriceChart/components/CandleStickChart.js.map +1 -0
  1826. package/dist/views/ProjectView/components/PriceChart/components/LineChart.js +100 -0
  1827. package/dist/views/ProjectView/components/PriceChart/components/LineChart.js.map +1 -0
  1828. package/dist/views/ProjectView/components/PriceChart/components/utils.js +20 -0
  1829. package/dist/views/ProjectView/components/PriceChart/components/utils.js.map +1 -0
  1830. package/dist/views/ProjectView/components/PriceChart/index.js +53 -0
  1831. package/dist/views/ProjectView/components/PriceChart/index.js.map +1 -0
  1832. package/dist/views/ProjectView/components/PriceChart/styles.js +44 -0
  1833. package/dist/views/ProjectView/components/PriceChart/styles.js.map +1 -0
  1834. package/dist/views/ProjectView/components/ProjectInfo/index.js +34 -0
  1835. package/dist/views/ProjectView/components/ProjectInfo/index.js.map +1 -0
  1836. package/dist/views/ProjectView/components/ProjectInfo/styles.js +44 -0
  1837. package/dist/views/ProjectView/components/ProjectInfo/styles.js.map +1 -0
  1838. package/dist/views/ProjectView/components/RecommendationCards/index.js +112 -0
  1839. package/dist/views/ProjectView/components/RecommendationCards/index.js.map +1 -0
  1840. package/dist/views/ProjectView/index.js +12 -0
  1841. package/dist/views/ProjectView/index.js.map +1 -0
  1842. package/dist/views/ProjectView/styles.js +9 -0
  1843. package/dist/views/ProjectView/styles.js.map +1 -0
  1844. package/dist/views/SingleBond/SingleBond.js +50 -0
  1845. package/dist/views/SingleBond/SingleBond.js.map +1 -0
  1846. package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.js +85 -0
  1847. package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.js.map +1 -0
  1848. package/dist/views/SingleBond/index.js +12 -0
  1849. package/dist/views/SingleBond/index.js.map +1 -0
  1850. package/dist/views/TransactionModal/TransactionModal.js +194 -0
  1851. package/dist/views/TransactionModal/TransactionModal.js.map +1 -0
  1852. package/dist/views/YourBonds/YourBonds.js +158 -0
  1853. package/dist/views/YourBonds/YourBonds.js.map +1 -0
  1854. package/dist/views/YourBonds/components/ClaimAll/ClaimAllModal.js +133 -0
  1855. package/dist/views/YourBonds/components/ClaimAll/ClaimAllModal.js.map +1 -0
  1856. package/dist/views/YourBonds/components/ClaimAll/index.js +36 -0
  1857. package/dist/views/YourBonds/components/ClaimAll/index.js.map +1 -0
  1858. package/dist/views/YourBonds/components/ProfitCard/ProfitCard.js +29 -0
  1859. package/dist/views/YourBonds/components/ProfitCard/ProfitCard.js.map +1 -0
  1860. package/dist/views/YourBonds/components/UserBondRow/PreTGEActions.js +118 -0
  1861. package/dist/views/YourBonds/components/UserBondRow/PreTGEActions.js.map +1 -0
  1862. package/dist/views/YourBonds/components/UserBondRow/UserBondRow.js +151 -0
  1863. package/dist/views/YourBonds/components/UserBondRow/UserBondRow.js.map +1 -0
  1864. package/dist/views/YourBonds/components/UserBondRow/UserBondRowPreTGE.js +58 -0
  1865. package/dist/views/YourBonds/components/UserBondRow/UserBondRowPreTGE.js.map +1 -0
  1866. package/dist/views/YourBonds/components/UserBondRow/UserBondRowSolana.js +183 -0
  1867. package/dist/views/YourBonds/components/UserBondRow/UserBondRowSolana.js.map +1 -0
  1868. package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.js +29 -0
  1869. package/dist/views/YourBonds/components/YourBondsMenu/YourBondsMenu.js.map +1 -0
  1870. package/dist/views/YourBonds/index.js +12 -0
  1871. package/dist/views/YourBonds/index.js.map +1 -0
  1872. package/dist/views/YourBondsModal/YourBondsModal.js +154 -0
  1873. package/dist/views/YourBondsModal/YourBondsModal.js.map +1 -0
  1874. package/dist/views/YourBondsModal/components/Actions/Actions.js +146 -0
  1875. package/dist/views/YourBondsModal/components/Actions/Actions.js.map +1 -0
  1876. package/dist/views/YourBondsModal/components/Actions/ActionsSolana.js +166 -0
  1877. package/dist/views/YourBondsModal/components/Actions/ActionsSolana.js.map +1 -0
  1878. package/dist/views/YourBondsModal/components/LinkShare/LinkShare.js +73 -0
  1879. package/dist/views/YourBondsModal/components/LinkShare/LinkShare.js.map +1 -0
  1880. package/dist/views/YourBondsModal/components/LinkShare/templateImageShare.js +94 -0
  1881. package/dist/views/YourBondsModal/components/LinkShare/templateImageShare.js.map +1 -0
  1882. package/dist/views/YourBondsModal/components/LinkShare/utils.js +57 -0
  1883. package/dist/views/YourBondsModal/components/LinkShare/utils.js.map +1 -0
  1884. package/dist/views/YourBondsModal/components/NFTImage/NFTImage.js +153 -0
  1885. package/dist/views/YourBondsModal/components/NFTImage/NFTImage.js.map +1 -0
  1886. package/dist/views/YourBondsModal/components/Recommendations/CardRecommendation.js +39 -0
  1887. package/dist/views/YourBondsModal/components/Recommendations/CardRecommendation.js.map +1 -0
  1888. package/dist/views/YourBondsModal/components/Recommendations/RecSkeleton.js +32 -0
  1889. package/dist/views/YourBondsModal/components/Recommendations/RecSkeleton.js.map +1 -0
  1890. package/dist/views/YourBondsModal/components/Recommendations/Recommendations.js +47 -0
  1891. package/dist/views/YourBondsModal/components/Recommendations/Recommendations.js.map +1 -0
  1892. package/dist/views/YourBondsModal/components/TransferBondModal/TransferAction.js +88 -0
  1893. package/dist/views/YourBondsModal/components/TransferBondModal/TransferAction.js.map +1 -0
  1894. package/dist/views/YourBondsModal/components/TransferBondModal/TransferActionSolana.js +103 -0
  1895. package/dist/views/YourBondsModal/components/TransferBondModal/TransferActionSolana.js.map +1 -0
  1896. package/dist/views/YourBondsModal/components/TransferBondModal/index.js +45 -0
  1897. package/dist/views/YourBondsModal/components/TransferBondModal/index.js.map +1 -0
  1898. package/dist/views/YourBondsModal/components/YourBondModalHeader/YourBondModalHeader.js +58 -0
  1899. package/dist/views/YourBondsModal/components/YourBondModalHeader/YourBondModalHeader.js.map +1 -0
  1900. package/package.json +70 -1
@@ -0,0 +1,2111 @@
1
+ import { __exports as buffer } from '../../_virtual/index.js';
2
+ import '../base64-js/index.js';
3
+ import '../ieee754/index.js';
4
+ import { __exports as ieee754 } from '../../_virtual/index2.js';
5
+ import { __exports as base64Js } from '../../_virtual/index3.js';
6
+
7
+ /*!
8
+ * The buffer module from node.js, for the browser.
9
+ *
10
+ * @author Feross Aboukhadijeh <https://feross.org>
11
+ * @license MIT
12
+ */
13
+
14
+ (function (exports$1) {
15
+
16
+ const base64 = base64Js;
17
+ const ieee754$1 = ieee754;
18
+ const customInspectSymbol =
19
+ (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation
20
+ ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation
21
+ : null;
22
+
23
+ exports$1.Buffer = Buffer;
24
+ exports$1.SlowBuffer = SlowBuffer;
25
+ exports$1.INSPECT_MAX_BYTES = 50;
26
+
27
+ const K_MAX_LENGTH = 0x7fffffff;
28
+ exports$1.kMaxLength = K_MAX_LENGTH;
29
+
30
+ /**
31
+ * If `Buffer.TYPED_ARRAY_SUPPORT`:
32
+ * === true Use Uint8Array implementation (fastest)
33
+ * === false Print warning and recommend using `buffer` v4.x which has an Object
34
+ * implementation (most compatible, even IE6)
35
+ *
36
+ * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
37
+ * Opera 11.6+, iOS 4.2+.
38
+ *
39
+ * We report that the browser does not support typed arrays if the are not subclassable
40
+ * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`
41
+ * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support
42
+ * for __proto__ and has a buggy typed array implementation.
43
+ */
44
+ Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport();
45
+
46
+ if (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&
47
+ typeof console.error === 'function') {
48
+ console.error(
49
+ 'This browser lacks typed array (Uint8Array) support which is required by ' +
50
+ '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'
51
+ );
52
+ }
53
+
54
+ function typedArraySupport () {
55
+ // Can typed array instances can be augmented?
56
+ try {
57
+ const arr = new Uint8Array(1);
58
+ const proto = { foo: function () { return 42 } };
59
+ Object.setPrototypeOf(proto, Uint8Array.prototype);
60
+ Object.setPrototypeOf(arr, proto);
61
+ return arr.foo() === 42
62
+ } catch (e) {
63
+ return false
64
+ }
65
+ }
66
+
67
+ Object.defineProperty(Buffer.prototype, 'parent', {
68
+ enumerable: true,
69
+ get: function () {
70
+ if (!Buffer.isBuffer(this)) return undefined
71
+ return this.buffer
72
+ }
73
+ });
74
+
75
+ Object.defineProperty(Buffer.prototype, 'offset', {
76
+ enumerable: true,
77
+ get: function () {
78
+ if (!Buffer.isBuffer(this)) return undefined
79
+ return this.byteOffset
80
+ }
81
+ });
82
+
83
+ function createBuffer (length) {
84
+ if (length > K_MAX_LENGTH) {
85
+ throw new RangeError('The value "' + length + '" is invalid for option "size"')
86
+ }
87
+ // Return an augmented `Uint8Array` instance
88
+ const buf = new Uint8Array(length);
89
+ Object.setPrototypeOf(buf, Buffer.prototype);
90
+ return buf
91
+ }
92
+
93
+ /**
94
+ * The Buffer constructor returns instances of `Uint8Array` that have their
95
+ * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
96
+ * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
97
+ * and the `Uint8Array` methods. Square bracket notation works as expected -- it
98
+ * returns a single octet.
99
+ *
100
+ * The `Uint8Array` prototype remains unmodified.
101
+ */
102
+
103
+ function Buffer (arg, encodingOrOffset, length) {
104
+ // Common case.
105
+ if (typeof arg === 'number') {
106
+ if (typeof encodingOrOffset === 'string') {
107
+ throw new TypeError(
108
+ 'The "string" argument must be of type string. Received type number'
109
+ )
110
+ }
111
+ return allocUnsafe(arg)
112
+ }
113
+ return from(arg, encodingOrOffset, length)
114
+ }
115
+
116
+ Buffer.poolSize = 8192; // not used by this implementation
117
+
118
+ function from (value, encodingOrOffset, length) {
119
+ if (typeof value === 'string') {
120
+ return fromString(value, encodingOrOffset)
121
+ }
122
+
123
+ if (ArrayBuffer.isView(value)) {
124
+ return fromArrayView(value)
125
+ }
126
+
127
+ if (value == null) {
128
+ throw new TypeError(
129
+ 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +
130
+ 'or Array-like Object. Received type ' + (typeof value)
131
+ )
132
+ }
133
+
134
+ if (isInstance(value, ArrayBuffer) ||
135
+ (value && isInstance(value.buffer, ArrayBuffer))) {
136
+ return fromArrayBuffer(value, encodingOrOffset, length)
137
+ }
138
+
139
+ if (typeof SharedArrayBuffer !== 'undefined' &&
140
+ (isInstance(value, SharedArrayBuffer) ||
141
+ (value && isInstance(value.buffer, SharedArrayBuffer)))) {
142
+ return fromArrayBuffer(value, encodingOrOffset, length)
143
+ }
144
+
145
+ if (typeof value === 'number') {
146
+ throw new TypeError(
147
+ 'The "value" argument must not be of type number. Received type number'
148
+ )
149
+ }
150
+
151
+ const valueOf = value.valueOf && value.valueOf();
152
+ if (valueOf != null && valueOf !== value) {
153
+ return Buffer.from(valueOf, encodingOrOffset, length)
154
+ }
155
+
156
+ const b = fromObject(value);
157
+ if (b) return b
158
+
159
+ if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&
160
+ typeof value[Symbol.toPrimitive] === 'function') {
161
+ return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)
162
+ }
163
+
164
+ throw new TypeError(
165
+ 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +
166
+ 'or Array-like Object. Received type ' + (typeof value)
167
+ )
168
+ }
169
+
170
+ /**
171
+ * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
172
+ * if value is a number.
173
+ * Buffer.from(str[, encoding])
174
+ * Buffer.from(array)
175
+ * Buffer.from(buffer)
176
+ * Buffer.from(arrayBuffer[, byteOffset[, length]])
177
+ **/
178
+ Buffer.from = function (value, encodingOrOffset, length) {
179
+ return from(value, encodingOrOffset, length)
180
+ };
181
+
182
+ // Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:
183
+ // https://github.com/feross/buffer/pull/148
184
+ Object.setPrototypeOf(Buffer.prototype, Uint8Array.prototype);
185
+ Object.setPrototypeOf(Buffer, Uint8Array);
186
+
187
+ function assertSize (size) {
188
+ if (typeof size !== 'number') {
189
+ throw new TypeError('"size" argument must be of type number')
190
+ } else if (size < 0) {
191
+ throw new RangeError('The value "' + size + '" is invalid for option "size"')
192
+ }
193
+ }
194
+
195
+ function alloc (size, fill, encoding) {
196
+ assertSize(size);
197
+ if (size <= 0) {
198
+ return createBuffer(size)
199
+ }
200
+ if (fill !== undefined) {
201
+ // Only pay attention to encoding if it's a string. This
202
+ // prevents accidentally sending in a number that would
203
+ // be interpreted as a start offset.
204
+ return typeof encoding === 'string'
205
+ ? createBuffer(size).fill(fill, encoding)
206
+ : createBuffer(size).fill(fill)
207
+ }
208
+ return createBuffer(size)
209
+ }
210
+
211
+ /**
212
+ * Creates a new filled Buffer instance.
213
+ * alloc(size[, fill[, encoding]])
214
+ **/
215
+ Buffer.alloc = function (size, fill, encoding) {
216
+ return alloc(size, fill, encoding)
217
+ };
218
+
219
+ function allocUnsafe (size) {
220
+ assertSize(size);
221
+ return createBuffer(size < 0 ? 0 : checked(size) | 0)
222
+ }
223
+
224
+ /**
225
+ * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
226
+ * */
227
+ Buffer.allocUnsafe = function (size) {
228
+ return allocUnsafe(size)
229
+ };
230
+ /**
231
+ * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
232
+ */
233
+ Buffer.allocUnsafeSlow = function (size) {
234
+ return allocUnsafe(size)
235
+ };
236
+
237
+ function fromString (string, encoding) {
238
+ if (typeof encoding !== 'string' || encoding === '') {
239
+ encoding = 'utf8';
240
+ }
241
+
242
+ if (!Buffer.isEncoding(encoding)) {
243
+ throw new TypeError('Unknown encoding: ' + encoding)
244
+ }
245
+
246
+ const length = byteLength(string, encoding) | 0;
247
+ let buf = createBuffer(length);
248
+
249
+ const actual = buf.write(string, encoding);
250
+
251
+ if (actual !== length) {
252
+ // Writing a hex string, for example, that contains invalid characters will
253
+ // cause everything after the first invalid character to be ignored. (e.g.
254
+ // 'abxxcd' will be treated as 'ab')
255
+ buf = buf.slice(0, actual);
256
+ }
257
+
258
+ return buf
259
+ }
260
+
261
+ function fromArrayLike (array) {
262
+ const length = array.length < 0 ? 0 : checked(array.length) | 0;
263
+ const buf = createBuffer(length);
264
+ for (let i = 0; i < length; i += 1) {
265
+ buf[i] = array[i] & 255;
266
+ }
267
+ return buf
268
+ }
269
+
270
+ function fromArrayView (arrayView) {
271
+ if (isInstance(arrayView, Uint8Array)) {
272
+ const copy = new Uint8Array(arrayView);
273
+ return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)
274
+ }
275
+ return fromArrayLike(arrayView)
276
+ }
277
+
278
+ function fromArrayBuffer (array, byteOffset, length) {
279
+ if (byteOffset < 0 || array.byteLength < byteOffset) {
280
+ throw new RangeError('"offset" is outside of buffer bounds')
281
+ }
282
+
283
+ if (array.byteLength < byteOffset + (length || 0)) {
284
+ throw new RangeError('"length" is outside of buffer bounds')
285
+ }
286
+
287
+ let buf;
288
+ if (byteOffset === undefined && length === undefined) {
289
+ buf = new Uint8Array(array);
290
+ } else if (length === undefined) {
291
+ buf = new Uint8Array(array, byteOffset);
292
+ } else {
293
+ buf = new Uint8Array(array, byteOffset, length);
294
+ }
295
+
296
+ // Return an augmented `Uint8Array` instance
297
+ Object.setPrototypeOf(buf, Buffer.prototype);
298
+
299
+ return buf
300
+ }
301
+
302
+ function fromObject (obj) {
303
+ if (Buffer.isBuffer(obj)) {
304
+ const len = checked(obj.length) | 0;
305
+ const buf = createBuffer(len);
306
+
307
+ if (buf.length === 0) {
308
+ return buf
309
+ }
310
+
311
+ obj.copy(buf, 0, 0, len);
312
+ return buf
313
+ }
314
+
315
+ if (obj.length !== undefined) {
316
+ if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {
317
+ return createBuffer(0)
318
+ }
319
+ return fromArrayLike(obj)
320
+ }
321
+
322
+ if (obj.type === 'Buffer' && Array.isArray(obj.data)) {
323
+ return fromArrayLike(obj.data)
324
+ }
325
+ }
326
+
327
+ function checked (length) {
328
+ // Note: cannot use `length < K_MAX_LENGTH` here because that fails when
329
+ // length is NaN (which is otherwise coerced to zero.)
330
+ if (length >= K_MAX_LENGTH) {
331
+ throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
332
+ 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')
333
+ }
334
+ return length | 0
335
+ }
336
+
337
+ function SlowBuffer (length) {
338
+ if (+length != length) { // eslint-disable-line eqeqeq
339
+ length = 0;
340
+ }
341
+ return Buffer.alloc(+length)
342
+ }
343
+
344
+ Buffer.isBuffer = function isBuffer (b) {
345
+ return b != null && b._isBuffer === true &&
346
+ b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false
347
+ };
348
+
349
+ Buffer.compare = function compare (a, b) {
350
+ if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength);
351
+ if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength);
352
+ if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
353
+ throw new TypeError(
354
+ 'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
355
+ )
356
+ }
357
+
358
+ if (a === b) return 0
359
+
360
+ let x = a.length;
361
+ let y = b.length;
362
+
363
+ for (let i = 0, len = Math.min(x, y); i < len; ++i) {
364
+ if (a[i] !== b[i]) {
365
+ x = a[i];
366
+ y = b[i];
367
+ break
368
+ }
369
+ }
370
+
371
+ if (x < y) return -1
372
+ if (y < x) return 1
373
+ return 0
374
+ };
375
+
376
+ Buffer.isEncoding = function isEncoding (encoding) {
377
+ switch (String(encoding).toLowerCase()) {
378
+ case 'hex':
379
+ case 'utf8':
380
+ case 'utf-8':
381
+ case 'ascii':
382
+ case 'latin1':
383
+ case 'binary':
384
+ case 'base64':
385
+ case 'ucs2':
386
+ case 'ucs-2':
387
+ case 'utf16le':
388
+ case 'utf-16le':
389
+ return true
390
+ default:
391
+ return false
392
+ }
393
+ };
394
+
395
+ Buffer.concat = function concat (list, length) {
396
+ if (!Array.isArray(list)) {
397
+ throw new TypeError('"list" argument must be an Array of Buffers')
398
+ }
399
+
400
+ if (list.length === 0) {
401
+ return Buffer.alloc(0)
402
+ }
403
+
404
+ let i;
405
+ if (length === undefined) {
406
+ length = 0;
407
+ for (i = 0; i < list.length; ++i) {
408
+ length += list[i].length;
409
+ }
410
+ }
411
+
412
+ const buffer = Buffer.allocUnsafe(length);
413
+ let pos = 0;
414
+ for (i = 0; i < list.length; ++i) {
415
+ let buf = list[i];
416
+ if (isInstance(buf, Uint8Array)) {
417
+ if (pos + buf.length > buffer.length) {
418
+ if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf);
419
+ buf.copy(buffer, pos);
420
+ } else {
421
+ Uint8Array.prototype.set.call(
422
+ buffer,
423
+ buf,
424
+ pos
425
+ );
426
+ }
427
+ } else if (!Buffer.isBuffer(buf)) {
428
+ throw new TypeError('"list" argument must be an Array of Buffers')
429
+ } else {
430
+ buf.copy(buffer, pos);
431
+ }
432
+ pos += buf.length;
433
+ }
434
+ return buffer
435
+ };
436
+
437
+ function byteLength (string, encoding) {
438
+ if (Buffer.isBuffer(string)) {
439
+ return string.length
440
+ }
441
+ if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {
442
+ return string.byteLength
443
+ }
444
+ if (typeof string !== 'string') {
445
+ throw new TypeError(
446
+ 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. ' +
447
+ 'Received type ' + typeof string
448
+ )
449
+ }
450
+
451
+ const len = string.length;
452
+ const mustMatch = (arguments.length > 2 && arguments[2] === true);
453
+ if (!mustMatch && len === 0) return 0
454
+
455
+ // Use a for loop to avoid recursion
456
+ let loweredCase = false;
457
+ for (;;) {
458
+ switch (encoding) {
459
+ case 'ascii':
460
+ case 'latin1':
461
+ case 'binary':
462
+ return len
463
+ case 'utf8':
464
+ case 'utf-8':
465
+ return utf8ToBytes(string).length
466
+ case 'ucs2':
467
+ case 'ucs-2':
468
+ case 'utf16le':
469
+ case 'utf-16le':
470
+ return len * 2
471
+ case 'hex':
472
+ return len >>> 1
473
+ case 'base64':
474
+ return base64ToBytes(string).length
475
+ default:
476
+ if (loweredCase) {
477
+ return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8
478
+ }
479
+ encoding = ('' + encoding).toLowerCase();
480
+ loweredCase = true;
481
+ }
482
+ }
483
+ }
484
+ Buffer.byteLength = byteLength;
485
+
486
+ function slowToString (encoding, start, end) {
487
+ let loweredCase = false;
488
+
489
+ // No need to verify that "this.length <= MAX_UINT32" since it's a read-only
490
+ // property of a typed array.
491
+
492
+ // This behaves neither like String nor Uint8Array in that we set start/end
493
+ // to their upper/lower bounds if the value passed is out of range.
494
+ // undefined is handled specially as per ECMA-262 6th Edition,
495
+ // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
496
+ if (start === undefined || start < 0) {
497
+ start = 0;
498
+ }
499
+ // Return early if start > this.length. Done here to prevent potential uint32
500
+ // coercion fail below.
501
+ if (start > this.length) {
502
+ return ''
503
+ }
504
+
505
+ if (end === undefined || end > this.length) {
506
+ end = this.length;
507
+ }
508
+
509
+ if (end <= 0) {
510
+ return ''
511
+ }
512
+
513
+ // Force coercion to uint32. This will also coerce falsey/NaN values to 0.
514
+ end >>>= 0;
515
+ start >>>= 0;
516
+
517
+ if (end <= start) {
518
+ return ''
519
+ }
520
+
521
+ if (!encoding) encoding = 'utf8';
522
+
523
+ while (true) {
524
+ switch (encoding) {
525
+ case 'hex':
526
+ return hexSlice(this, start, end)
527
+
528
+ case 'utf8':
529
+ case 'utf-8':
530
+ return utf8Slice(this, start, end)
531
+
532
+ case 'ascii':
533
+ return asciiSlice(this, start, end)
534
+
535
+ case 'latin1':
536
+ case 'binary':
537
+ return latin1Slice(this, start, end)
538
+
539
+ case 'base64':
540
+ return base64Slice(this, start, end)
541
+
542
+ case 'ucs2':
543
+ case 'ucs-2':
544
+ case 'utf16le':
545
+ case 'utf-16le':
546
+ return utf16leSlice(this, start, end)
547
+
548
+ default:
549
+ if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
550
+ encoding = (encoding + '').toLowerCase();
551
+ loweredCase = true;
552
+ }
553
+ }
554
+ }
555
+
556
+ // This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)
557
+ // to detect a Buffer instance. It's not possible to use `instanceof Buffer`
558
+ // reliably in a browserify context because there could be multiple different
559
+ // copies of the 'buffer' package in use. This method works even for Buffer
560
+ // instances that were created from another copy of the `buffer` package.
561
+ // See: https://github.com/feross/buffer/issues/154
562
+ Buffer.prototype._isBuffer = true;
563
+
564
+ function swap (b, n, m) {
565
+ const i = b[n];
566
+ b[n] = b[m];
567
+ b[m] = i;
568
+ }
569
+
570
+ Buffer.prototype.swap16 = function swap16 () {
571
+ const len = this.length;
572
+ if (len % 2 !== 0) {
573
+ throw new RangeError('Buffer size must be a multiple of 16-bits')
574
+ }
575
+ for (let i = 0; i < len; i += 2) {
576
+ swap(this, i, i + 1);
577
+ }
578
+ return this
579
+ };
580
+
581
+ Buffer.prototype.swap32 = function swap32 () {
582
+ const len = this.length;
583
+ if (len % 4 !== 0) {
584
+ throw new RangeError('Buffer size must be a multiple of 32-bits')
585
+ }
586
+ for (let i = 0; i < len; i += 4) {
587
+ swap(this, i, i + 3);
588
+ swap(this, i + 1, i + 2);
589
+ }
590
+ return this
591
+ };
592
+
593
+ Buffer.prototype.swap64 = function swap64 () {
594
+ const len = this.length;
595
+ if (len % 8 !== 0) {
596
+ throw new RangeError('Buffer size must be a multiple of 64-bits')
597
+ }
598
+ for (let i = 0; i < len; i += 8) {
599
+ swap(this, i, i + 7);
600
+ swap(this, i + 1, i + 6);
601
+ swap(this, i + 2, i + 5);
602
+ swap(this, i + 3, i + 4);
603
+ }
604
+ return this
605
+ };
606
+
607
+ Buffer.prototype.toString = function toString () {
608
+ const length = this.length;
609
+ if (length === 0) return ''
610
+ if (arguments.length === 0) return utf8Slice(this, 0, length)
611
+ return slowToString.apply(this, arguments)
612
+ };
613
+
614
+ Buffer.prototype.toLocaleString = Buffer.prototype.toString;
615
+
616
+ Buffer.prototype.equals = function equals (b) {
617
+ if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
618
+ if (this === b) return true
619
+ return Buffer.compare(this, b) === 0
620
+ };
621
+
622
+ Buffer.prototype.inspect = function inspect () {
623
+ let str = '';
624
+ const max = exports$1.INSPECT_MAX_BYTES;
625
+ str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim();
626
+ if (this.length > max) str += ' ... ';
627
+ return '<Buffer ' + str + '>'
628
+ };
629
+ if (customInspectSymbol) {
630
+ Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect;
631
+ }
632
+
633
+ Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
634
+ if (isInstance(target, Uint8Array)) {
635
+ target = Buffer.from(target, target.offset, target.byteLength);
636
+ }
637
+ if (!Buffer.isBuffer(target)) {
638
+ throw new TypeError(
639
+ 'The "target" argument must be one of type Buffer or Uint8Array. ' +
640
+ 'Received type ' + (typeof target)
641
+ )
642
+ }
643
+
644
+ if (start === undefined) {
645
+ start = 0;
646
+ }
647
+ if (end === undefined) {
648
+ end = target ? target.length : 0;
649
+ }
650
+ if (thisStart === undefined) {
651
+ thisStart = 0;
652
+ }
653
+ if (thisEnd === undefined) {
654
+ thisEnd = this.length;
655
+ }
656
+
657
+ if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
658
+ throw new RangeError('out of range index')
659
+ }
660
+
661
+ if (thisStart >= thisEnd && start >= end) {
662
+ return 0
663
+ }
664
+ if (thisStart >= thisEnd) {
665
+ return -1
666
+ }
667
+ if (start >= end) {
668
+ return 1
669
+ }
670
+
671
+ start >>>= 0;
672
+ end >>>= 0;
673
+ thisStart >>>= 0;
674
+ thisEnd >>>= 0;
675
+
676
+ if (this === target) return 0
677
+
678
+ let x = thisEnd - thisStart;
679
+ let y = end - start;
680
+ const len = Math.min(x, y);
681
+
682
+ const thisCopy = this.slice(thisStart, thisEnd);
683
+ const targetCopy = target.slice(start, end);
684
+
685
+ for (let i = 0; i < len; ++i) {
686
+ if (thisCopy[i] !== targetCopy[i]) {
687
+ x = thisCopy[i];
688
+ y = targetCopy[i];
689
+ break
690
+ }
691
+ }
692
+
693
+ if (x < y) return -1
694
+ if (y < x) return 1
695
+ return 0
696
+ };
697
+
698
+ // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
699
+ // OR the last index of `val` in `buffer` at offset <= `byteOffset`.
700
+ //
701
+ // Arguments:
702
+ // - buffer - a Buffer to search
703
+ // - val - a string, Buffer, or number
704
+ // - byteOffset - an index into `buffer`; will be clamped to an int32
705
+ // - encoding - an optional encoding, relevant is val is a string
706
+ // - dir - true for indexOf, false for lastIndexOf
707
+ function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
708
+ // Empty buffer means no match
709
+ if (buffer.length === 0) return -1
710
+
711
+ // Normalize byteOffset
712
+ if (typeof byteOffset === 'string') {
713
+ encoding = byteOffset;
714
+ byteOffset = 0;
715
+ } else if (byteOffset > 0x7fffffff) {
716
+ byteOffset = 0x7fffffff;
717
+ } else if (byteOffset < -2147483648) {
718
+ byteOffset = -2147483648;
719
+ }
720
+ byteOffset = +byteOffset; // Coerce to Number.
721
+ if (numberIsNaN(byteOffset)) {
722
+ // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
723
+ byteOffset = dir ? 0 : (buffer.length - 1);
724
+ }
725
+
726
+ // Normalize byteOffset: negative offsets start from the end of the buffer
727
+ if (byteOffset < 0) byteOffset = buffer.length + byteOffset;
728
+ if (byteOffset >= buffer.length) {
729
+ if (dir) return -1
730
+ else byteOffset = buffer.length - 1;
731
+ } else if (byteOffset < 0) {
732
+ if (dir) byteOffset = 0;
733
+ else return -1
734
+ }
735
+
736
+ // Normalize val
737
+ if (typeof val === 'string') {
738
+ val = Buffer.from(val, encoding);
739
+ }
740
+
741
+ // Finally, search either indexOf (if dir is true) or lastIndexOf
742
+ if (Buffer.isBuffer(val)) {
743
+ // Special case: looking for empty string/buffer always fails
744
+ if (val.length === 0) {
745
+ return -1
746
+ }
747
+ return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
748
+ } else if (typeof val === 'number') {
749
+ val = val & 0xFF; // Search for a byte value [0-255]
750
+ if (typeof Uint8Array.prototype.indexOf === 'function') {
751
+ if (dir) {
752
+ return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
753
+ } else {
754
+ return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
755
+ }
756
+ }
757
+ return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)
758
+ }
759
+
760
+ throw new TypeError('val must be string, number or Buffer')
761
+ }
762
+
763
+ function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
764
+ let indexSize = 1;
765
+ let arrLength = arr.length;
766
+ let valLength = val.length;
767
+
768
+ if (encoding !== undefined) {
769
+ encoding = String(encoding).toLowerCase();
770
+ if (encoding === 'ucs2' || encoding === 'ucs-2' ||
771
+ encoding === 'utf16le' || encoding === 'utf-16le') {
772
+ if (arr.length < 2 || val.length < 2) {
773
+ return -1
774
+ }
775
+ indexSize = 2;
776
+ arrLength /= 2;
777
+ valLength /= 2;
778
+ byteOffset /= 2;
779
+ }
780
+ }
781
+
782
+ function read (buf, i) {
783
+ if (indexSize === 1) {
784
+ return buf[i]
785
+ } else {
786
+ return buf.readUInt16BE(i * indexSize)
787
+ }
788
+ }
789
+
790
+ let i;
791
+ if (dir) {
792
+ let foundIndex = -1;
793
+ for (i = byteOffset; i < arrLength; i++) {
794
+ if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
795
+ if (foundIndex === -1) foundIndex = i;
796
+ if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
797
+ } else {
798
+ if (foundIndex !== -1) i -= i - foundIndex;
799
+ foundIndex = -1;
800
+ }
801
+ }
802
+ } else {
803
+ if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength;
804
+ for (i = byteOffset; i >= 0; i--) {
805
+ let found = true;
806
+ for (let j = 0; j < valLength; j++) {
807
+ if (read(arr, i + j) !== read(val, j)) {
808
+ found = false;
809
+ break
810
+ }
811
+ }
812
+ if (found) return i
813
+ }
814
+ }
815
+
816
+ return -1
817
+ }
818
+
819
+ Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
820
+ return this.indexOf(val, byteOffset, encoding) !== -1
821
+ };
822
+
823
+ Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
824
+ return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
825
+ };
826
+
827
+ Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
828
+ return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
829
+ };
830
+
831
+ function hexWrite (buf, string, offset, length) {
832
+ offset = Number(offset) || 0;
833
+ const remaining = buf.length - offset;
834
+ if (!length) {
835
+ length = remaining;
836
+ } else {
837
+ length = Number(length);
838
+ if (length > remaining) {
839
+ length = remaining;
840
+ }
841
+ }
842
+
843
+ const strLen = string.length;
844
+
845
+ if (length > strLen / 2) {
846
+ length = strLen / 2;
847
+ }
848
+ let i;
849
+ for (i = 0; i < length; ++i) {
850
+ const parsed = parseInt(string.substr(i * 2, 2), 16);
851
+ if (numberIsNaN(parsed)) return i
852
+ buf[offset + i] = parsed;
853
+ }
854
+ return i
855
+ }
856
+
857
+ function utf8Write (buf, string, offset, length) {
858
+ return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
859
+ }
860
+
861
+ function asciiWrite (buf, string, offset, length) {
862
+ return blitBuffer(asciiToBytes(string), buf, offset, length)
863
+ }
864
+
865
+ function base64Write (buf, string, offset, length) {
866
+ return blitBuffer(base64ToBytes(string), buf, offset, length)
867
+ }
868
+
869
+ function ucs2Write (buf, string, offset, length) {
870
+ return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
871
+ }
872
+
873
+ Buffer.prototype.write = function write (string, offset, length, encoding) {
874
+ // Buffer#write(string)
875
+ if (offset === undefined) {
876
+ encoding = 'utf8';
877
+ length = this.length;
878
+ offset = 0;
879
+ // Buffer#write(string, encoding)
880
+ } else if (length === undefined && typeof offset === 'string') {
881
+ encoding = offset;
882
+ length = this.length;
883
+ offset = 0;
884
+ // Buffer#write(string, offset[, length][, encoding])
885
+ } else if (isFinite(offset)) {
886
+ offset = offset >>> 0;
887
+ if (isFinite(length)) {
888
+ length = length >>> 0;
889
+ if (encoding === undefined) encoding = 'utf8';
890
+ } else {
891
+ encoding = length;
892
+ length = undefined;
893
+ }
894
+ } else {
895
+ throw new Error(
896
+ 'Buffer.write(string, encoding, offset[, length]) is no longer supported'
897
+ )
898
+ }
899
+
900
+ const remaining = this.length - offset;
901
+ if (length === undefined || length > remaining) length = remaining;
902
+
903
+ if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
904
+ throw new RangeError('Attempt to write outside buffer bounds')
905
+ }
906
+
907
+ if (!encoding) encoding = 'utf8';
908
+
909
+ let loweredCase = false;
910
+ for (;;) {
911
+ switch (encoding) {
912
+ case 'hex':
913
+ return hexWrite(this, string, offset, length)
914
+
915
+ case 'utf8':
916
+ case 'utf-8':
917
+ return utf8Write(this, string, offset, length)
918
+
919
+ case 'ascii':
920
+ case 'latin1':
921
+ case 'binary':
922
+ return asciiWrite(this, string, offset, length)
923
+
924
+ case 'base64':
925
+ // Warning: maxLength not taken into account in base64Write
926
+ return base64Write(this, string, offset, length)
927
+
928
+ case 'ucs2':
929
+ case 'ucs-2':
930
+ case 'utf16le':
931
+ case 'utf-16le':
932
+ return ucs2Write(this, string, offset, length)
933
+
934
+ default:
935
+ if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
936
+ encoding = ('' + encoding).toLowerCase();
937
+ loweredCase = true;
938
+ }
939
+ }
940
+ };
941
+
942
+ Buffer.prototype.toJSON = function toJSON () {
943
+ return {
944
+ type: 'Buffer',
945
+ data: Array.prototype.slice.call(this._arr || this, 0)
946
+ }
947
+ };
948
+
949
+ function base64Slice (buf, start, end) {
950
+ if (start === 0 && end === buf.length) {
951
+ return base64.fromByteArray(buf)
952
+ } else {
953
+ return base64.fromByteArray(buf.slice(start, end))
954
+ }
955
+ }
956
+
957
+ function utf8Slice (buf, start, end) {
958
+ end = Math.min(buf.length, end);
959
+ const res = [];
960
+
961
+ let i = start;
962
+ while (i < end) {
963
+ const firstByte = buf[i];
964
+ let codePoint = null;
965
+ let bytesPerSequence = (firstByte > 0xEF)
966
+ ? 4
967
+ : (firstByte > 0xDF)
968
+ ? 3
969
+ : (firstByte > 0xBF)
970
+ ? 2
971
+ : 1;
972
+
973
+ if (i + bytesPerSequence <= end) {
974
+ let secondByte, thirdByte, fourthByte, tempCodePoint;
975
+
976
+ switch (bytesPerSequence) {
977
+ case 1:
978
+ if (firstByte < 0x80) {
979
+ codePoint = firstByte;
980
+ }
981
+ break
982
+ case 2:
983
+ secondByte = buf[i + 1];
984
+ if ((secondByte & 0xC0) === 0x80) {
985
+ tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F);
986
+ if (tempCodePoint > 0x7F) {
987
+ codePoint = tempCodePoint;
988
+ }
989
+ }
990
+ break
991
+ case 3:
992
+ secondByte = buf[i + 1];
993
+ thirdByte = buf[i + 2];
994
+ if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
995
+ tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F);
996
+ if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
997
+ codePoint = tempCodePoint;
998
+ }
999
+ }
1000
+ break
1001
+ case 4:
1002
+ secondByte = buf[i + 1];
1003
+ thirdByte = buf[i + 2];
1004
+ fourthByte = buf[i + 3];
1005
+ if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
1006
+ tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F);
1007
+ if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
1008
+ codePoint = tempCodePoint;
1009
+ }
1010
+ }
1011
+ }
1012
+ }
1013
+
1014
+ if (codePoint === null) {
1015
+ // we did not generate a valid codePoint so insert a
1016
+ // replacement char (U+FFFD) and advance only 1 byte
1017
+ codePoint = 0xFFFD;
1018
+ bytesPerSequence = 1;
1019
+ } else if (codePoint > 0xFFFF) {
1020
+ // encode to utf16 (surrogate pair dance)
1021
+ codePoint -= 0x10000;
1022
+ res.push(codePoint >>> 10 & 0x3FF | 0xD800);
1023
+ codePoint = 0xDC00 | codePoint & 0x3FF;
1024
+ }
1025
+
1026
+ res.push(codePoint);
1027
+ i += bytesPerSequence;
1028
+ }
1029
+
1030
+ return decodeCodePointsArray(res)
1031
+ }
1032
+
1033
+ // Based on http://stackoverflow.com/a/22747272/680742, the browser with
1034
+ // the lowest limit is Chrome, with 0x10000 args.
1035
+ // We go 1 magnitude less, for safety
1036
+ const MAX_ARGUMENTS_LENGTH = 0x1000;
1037
+
1038
+ function decodeCodePointsArray (codePoints) {
1039
+ const len = codePoints.length;
1040
+ if (len <= MAX_ARGUMENTS_LENGTH) {
1041
+ return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
1042
+ }
1043
+
1044
+ // Decode in chunks to avoid "call stack size exceeded".
1045
+ let res = '';
1046
+ let i = 0;
1047
+ while (i < len) {
1048
+ res += String.fromCharCode.apply(
1049
+ String,
1050
+ codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
1051
+ );
1052
+ }
1053
+ return res
1054
+ }
1055
+
1056
+ function asciiSlice (buf, start, end) {
1057
+ let ret = '';
1058
+ end = Math.min(buf.length, end);
1059
+
1060
+ for (let i = start; i < end; ++i) {
1061
+ ret += String.fromCharCode(buf[i] & 0x7F);
1062
+ }
1063
+ return ret
1064
+ }
1065
+
1066
+ function latin1Slice (buf, start, end) {
1067
+ let ret = '';
1068
+ end = Math.min(buf.length, end);
1069
+
1070
+ for (let i = start; i < end; ++i) {
1071
+ ret += String.fromCharCode(buf[i]);
1072
+ }
1073
+ return ret
1074
+ }
1075
+
1076
+ function hexSlice (buf, start, end) {
1077
+ const len = buf.length;
1078
+
1079
+ if (!start || start < 0) start = 0;
1080
+ if (!end || end < 0 || end > len) end = len;
1081
+
1082
+ let out = '';
1083
+ for (let i = start; i < end; ++i) {
1084
+ out += hexSliceLookupTable[buf[i]];
1085
+ }
1086
+ return out
1087
+ }
1088
+
1089
+ function utf16leSlice (buf, start, end) {
1090
+ const bytes = buf.slice(start, end);
1091
+ let res = '';
1092
+ // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)
1093
+ for (let i = 0; i < bytes.length - 1; i += 2) {
1094
+ res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256));
1095
+ }
1096
+ return res
1097
+ }
1098
+
1099
+ Buffer.prototype.slice = function slice (start, end) {
1100
+ const len = this.length;
1101
+ start = ~~start;
1102
+ end = end === undefined ? len : ~~end;
1103
+
1104
+ if (start < 0) {
1105
+ start += len;
1106
+ if (start < 0) start = 0;
1107
+ } else if (start > len) {
1108
+ start = len;
1109
+ }
1110
+
1111
+ if (end < 0) {
1112
+ end += len;
1113
+ if (end < 0) end = 0;
1114
+ } else if (end > len) {
1115
+ end = len;
1116
+ }
1117
+
1118
+ if (end < start) end = start;
1119
+
1120
+ const newBuf = this.subarray(start, end);
1121
+ // Return an augmented `Uint8Array` instance
1122
+ Object.setPrototypeOf(newBuf, Buffer.prototype);
1123
+
1124
+ return newBuf
1125
+ };
1126
+
1127
+ /*
1128
+ * Need to make sure that buffer isn't trying to write out of bounds.
1129
+ */
1130
+ function checkOffset (offset, ext, length) {
1131
+ if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
1132
+ if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
1133
+ }
1134
+
1135
+ Buffer.prototype.readUintLE =
1136
+ Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
1137
+ offset = offset >>> 0;
1138
+ byteLength = byteLength >>> 0;
1139
+ if (!noAssert) checkOffset(offset, byteLength, this.length);
1140
+
1141
+ let val = this[offset];
1142
+ let mul = 1;
1143
+ let i = 0;
1144
+ while (++i < byteLength && (mul *= 0x100)) {
1145
+ val += this[offset + i] * mul;
1146
+ }
1147
+
1148
+ return val
1149
+ };
1150
+
1151
+ Buffer.prototype.readUintBE =
1152
+ Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
1153
+ offset = offset >>> 0;
1154
+ byteLength = byteLength >>> 0;
1155
+ if (!noAssert) {
1156
+ checkOffset(offset, byteLength, this.length);
1157
+ }
1158
+
1159
+ let val = this[offset + --byteLength];
1160
+ let mul = 1;
1161
+ while (byteLength > 0 && (mul *= 0x100)) {
1162
+ val += this[offset + --byteLength] * mul;
1163
+ }
1164
+
1165
+ return val
1166
+ };
1167
+
1168
+ Buffer.prototype.readUint8 =
1169
+ Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
1170
+ offset = offset >>> 0;
1171
+ if (!noAssert) checkOffset(offset, 1, this.length);
1172
+ return this[offset]
1173
+ };
1174
+
1175
+ Buffer.prototype.readUint16LE =
1176
+ Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
1177
+ offset = offset >>> 0;
1178
+ if (!noAssert) checkOffset(offset, 2, this.length);
1179
+ return this[offset] | (this[offset + 1] << 8)
1180
+ };
1181
+
1182
+ Buffer.prototype.readUint16BE =
1183
+ Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
1184
+ offset = offset >>> 0;
1185
+ if (!noAssert) checkOffset(offset, 2, this.length);
1186
+ return (this[offset] << 8) | this[offset + 1]
1187
+ };
1188
+
1189
+ Buffer.prototype.readUint32LE =
1190
+ Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
1191
+ offset = offset >>> 0;
1192
+ if (!noAssert) checkOffset(offset, 4, this.length);
1193
+
1194
+ return ((this[offset]) |
1195
+ (this[offset + 1] << 8) |
1196
+ (this[offset + 2] << 16)) +
1197
+ (this[offset + 3] * 0x1000000)
1198
+ };
1199
+
1200
+ Buffer.prototype.readUint32BE =
1201
+ Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
1202
+ offset = offset >>> 0;
1203
+ if (!noAssert) checkOffset(offset, 4, this.length);
1204
+
1205
+ return (this[offset] * 0x1000000) +
1206
+ ((this[offset + 1] << 16) |
1207
+ (this[offset + 2] << 8) |
1208
+ this[offset + 3])
1209
+ };
1210
+
1211
+ Buffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {
1212
+ offset = offset >>> 0;
1213
+ validateNumber(offset, 'offset');
1214
+ const first = this[offset];
1215
+ const last = this[offset + 7];
1216
+ if (first === undefined || last === undefined) {
1217
+ boundsError(offset, this.length - 8);
1218
+ }
1219
+
1220
+ const lo = first +
1221
+ this[++offset] * 2 ** 8 +
1222
+ this[++offset] * 2 ** 16 +
1223
+ this[++offset] * 2 ** 24;
1224
+
1225
+ const hi = this[++offset] +
1226
+ this[++offset] * 2 ** 8 +
1227
+ this[++offset] * 2 ** 16 +
1228
+ last * 2 ** 24;
1229
+
1230
+ return BigInt(lo) + (BigInt(hi) << BigInt(32))
1231
+ });
1232
+
1233
+ Buffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {
1234
+ offset = offset >>> 0;
1235
+ validateNumber(offset, 'offset');
1236
+ const first = this[offset];
1237
+ const last = this[offset + 7];
1238
+ if (first === undefined || last === undefined) {
1239
+ boundsError(offset, this.length - 8);
1240
+ }
1241
+
1242
+ const hi = first * 2 ** 24 +
1243
+ this[++offset] * 2 ** 16 +
1244
+ this[++offset] * 2 ** 8 +
1245
+ this[++offset];
1246
+
1247
+ const lo = this[++offset] * 2 ** 24 +
1248
+ this[++offset] * 2 ** 16 +
1249
+ this[++offset] * 2 ** 8 +
1250
+ last;
1251
+
1252
+ return (BigInt(hi) << BigInt(32)) + BigInt(lo)
1253
+ });
1254
+
1255
+ Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
1256
+ offset = offset >>> 0;
1257
+ byteLength = byteLength >>> 0;
1258
+ if (!noAssert) checkOffset(offset, byteLength, this.length);
1259
+
1260
+ let val = this[offset];
1261
+ let mul = 1;
1262
+ let i = 0;
1263
+ while (++i < byteLength && (mul *= 0x100)) {
1264
+ val += this[offset + i] * mul;
1265
+ }
1266
+ mul *= 0x80;
1267
+
1268
+ if (val >= mul) val -= Math.pow(2, 8 * byteLength);
1269
+
1270
+ return val
1271
+ };
1272
+
1273
+ Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
1274
+ offset = offset >>> 0;
1275
+ byteLength = byteLength >>> 0;
1276
+ if (!noAssert) checkOffset(offset, byteLength, this.length);
1277
+
1278
+ let i = byteLength;
1279
+ let mul = 1;
1280
+ let val = this[offset + --i];
1281
+ while (i > 0 && (mul *= 0x100)) {
1282
+ val += this[offset + --i] * mul;
1283
+ }
1284
+ mul *= 0x80;
1285
+
1286
+ if (val >= mul) val -= Math.pow(2, 8 * byteLength);
1287
+
1288
+ return val
1289
+ };
1290
+
1291
+ Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
1292
+ offset = offset >>> 0;
1293
+ if (!noAssert) checkOffset(offset, 1, this.length);
1294
+ if (!(this[offset] & 0x80)) return (this[offset])
1295
+ return ((0xff - this[offset] + 1) * -1)
1296
+ };
1297
+
1298
+ Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
1299
+ offset = offset >>> 0;
1300
+ if (!noAssert) checkOffset(offset, 2, this.length);
1301
+ const val = this[offset] | (this[offset + 1] << 8);
1302
+ return (val & 0x8000) ? val | 0xFFFF0000 : val
1303
+ };
1304
+
1305
+ Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
1306
+ offset = offset >>> 0;
1307
+ if (!noAssert) checkOffset(offset, 2, this.length);
1308
+ const val = this[offset + 1] | (this[offset] << 8);
1309
+ return (val & 0x8000) ? val | 0xFFFF0000 : val
1310
+ };
1311
+
1312
+ Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
1313
+ offset = offset >>> 0;
1314
+ if (!noAssert) checkOffset(offset, 4, this.length);
1315
+
1316
+ return (this[offset]) |
1317
+ (this[offset + 1] << 8) |
1318
+ (this[offset + 2] << 16) |
1319
+ (this[offset + 3] << 24)
1320
+ };
1321
+
1322
+ Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
1323
+ offset = offset >>> 0;
1324
+ if (!noAssert) checkOffset(offset, 4, this.length);
1325
+
1326
+ return (this[offset] << 24) |
1327
+ (this[offset + 1] << 16) |
1328
+ (this[offset + 2] << 8) |
1329
+ (this[offset + 3])
1330
+ };
1331
+
1332
+ Buffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {
1333
+ offset = offset >>> 0;
1334
+ validateNumber(offset, 'offset');
1335
+ const first = this[offset];
1336
+ const last = this[offset + 7];
1337
+ if (first === undefined || last === undefined) {
1338
+ boundsError(offset, this.length - 8);
1339
+ }
1340
+
1341
+ const val = this[offset + 4] +
1342
+ this[offset + 5] * 2 ** 8 +
1343
+ this[offset + 6] * 2 ** 16 +
1344
+ (last << 24); // Overflow
1345
+
1346
+ return (BigInt(val) << BigInt(32)) +
1347
+ BigInt(first +
1348
+ this[++offset] * 2 ** 8 +
1349
+ this[++offset] * 2 ** 16 +
1350
+ this[++offset] * 2 ** 24)
1351
+ });
1352
+
1353
+ Buffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {
1354
+ offset = offset >>> 0;
1355
+ validateNumber(offset, 'offset');
1356
+ const first = this[offset];
1357
+ const last = this[offset + 7];
1358
+ if (first === undefined || last === undefined) {
1359
+ boundsError(offset, this.length - 8);
1360
+ }
1361
+
1362
+ const val = (first << 24) + // Overflow
1363
+ this[++offset] * 2 ** 16 +
1364
+ this[++offset] * 2 ** 8 +
1365
+ this[++offset];
1366
+
1367
+ return (BigInt(val) << BigInt(32)) +
1368
+ BigInt(this[++offset] * 2 ** 24 +
1369
+ this[++offset] * 2 ** 16 +
1370
+ this[++offset] * 2 ** 8 +
1371
+ last)
1372
+ });
1373
+
1374
+ Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
1375
+ offset = offset >>> 0;
1376
+ if (!noAssert) checkOffset(offset, 4, this.length);
1377
+ return ieee754$1.read(this, offset, true, 23, 4)
1378
+ };
1379
+
1380
+ Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
1381
+ offset = offset >>> 0;
1382
+ if (!noAssert) checkOffset(offset, 4, this.length);
1383
+ return ieee754$1.read(this, offset, false, 23, 4)
1384
+ };
1385
+
1386
+ Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
1387
+ offset = offset >>> 0;
1388
+ if (!noAssert) checkOffset(offset, 8, this.length);
1389
+ return ieee754$1.read(this, offset, true, 52, 8)
1390
+ };
1391
+
1392
+ Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
1393
+ offset = offset >>> 0;
1394
+ if (!noAssert) checkOffset(offset, 8, this.length);
1395
+ return ieee754$1.read(this, offset, false, 52, 8)
1396
+ };
1397
+
1398
+ function checkInt (buf, value, offset, ext, max, min) {
1399
+ if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
1400
+ if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
1401
+ if (offset + ext > buf.length) throw new RangeError('Index out of range')
1402
+ }
1403
+
1404
+ Buffer.prototype.writeUintLE =
1405
+ Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
1406
+ value = +value;
1407
+ offset = offset >>> 0;
1408
+ byteLength = byteLength >>> 0;
1409
+ if (!noAssert) {
1410
+ const maxBytes = Math.pow(2, 8 * byteLength) - 1;
1411
+ checkInt(this, value, offset, byteLength, maxBytes, 0);
1412
+ }
1413
+
1414
+ let mul = 1;
1415
+ let i = 0;
1416
+ this[offset] = value & 0xFF;
1417
+ while (++i < byteLength && (mul *= 0x100)) {
1418
+ this[offset + i] = (value / mul) & 0xFF;
1419
+ }
1420
+
1421
+ return offset + byteLength
1422
+ };
1423
+
1424
+ Buffer.prototype.writeUintBE =
1425
+ Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
1426
+ value = +value;
1427
+ offset = offset >>> 0;
1428
+ byteLength = byteLength >>> 0;
1429
+ if (!noAssert) {
1430
+ const maxBytes = Math.pow(2, 8 * byteLength) - 1;
1431
+ checkInt(this, value, offset, byteLength, maxBytes, 0);
1432
+ }
1433
+
1434
+ let i = byteLength - 1;
1435
+ let mul = 1;
1436
+ this[offset + i] = value & 0xFF;
1437
+ while (--i >= 0 && (mul *= 0x100)) {
1438
+ this[offset + i] = (value / mul) & 0xFF;
1439
+ }
1440
+
1441
+ return offset + byteLength
1442
+ };
1443
+
1444
+ Buffer.prototype.writeUint8 =
1445
+ Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
1446
+ value = +value;
1447
+ offset = offset >>> 0;
1448
+ if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0);
1449
+ this[offset] = (value & 0xff);
1450
+ return offset + 1
1451
+ };
1452
+
1453
+ Buffer.prototype.writeUint16LE =
1454
+ Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
1455
+ value = +value;
1456
+ offset = offset >>> 0;
1457
+ if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);
1458
+ this[offset] = (value & 0xff);
1459
+ this[offset + 1] = (value >>> 8);
1460
+ return offset + 2
1461
+ };
1462
+
1463
+ Buffer.prototype.writeUint16BE =
1464
+ Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
1465
+ value = +value;
1466
+ offset = offset >>> 0;
1467
+ if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);
1468
+ this[offset] = (value >>> 8);
1469
+ this[offset + 1] = (value & 0xff);
1470
+ return offset + 2
1471
+ };
1472
+
1473
+ Buffer.prototype.writeUint32LE =
1474
+ Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
1475
+ value = +value;
1476
+ offset = offset >>> 0;
1477
+ if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);
1478
+ this[offset + 3] = (value >>> 24);
1479
+ this[offset + 2] = (value >>> 16);
1480
+ this[offset + 1] = (value >>> 8);
1481
+ this[offset] = (value & 0xff);
1482
+ return offset + 4
1483
+ };
1484
+
1485
+ Buffer.prototype.writeUint32BE =
1486
+ Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
1487
+ value = +value;
1488
+ offset = offset >>> 0;
1489
+ if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);
1490
+ this[offset] = (value >>> 24);
1491
+ this[offset + 1] = (value >>> 16);
1492
+ this[offset + 2] = (value >>> 8);
1493
+ this[offset + 3] = (value & 0xff);
1494
+ return offset + 4
1495
+ };
1496
+
1497
+ function wrtBigUInt64LE (buf, value, offset, min, max) {
1498
+ checkIntBI(value, min, max, buf, offset, 7);
1499
+
1500
+ let lo = Number(value & BigInt(0xffffffff));
1501
+ buf[offset++] = lo;
1502
+ lo = lo >> 8;
1503
+ buf[offset++] = lo;
1504
+ lo = lo >> 8;
1505
+ buf[offset++] = lo;
1506
+ lo = lo >> 8;
1507
+ buf[offset++] = lo;
1508
+ let hi = Number(value >> BigInt(32) & BigInt(0xffffffff));
1509
+ buf[offset++] = hi;
1510
+ hi = hi >> 8;
1511
+ buf[offset++] = hi;
1512
+ hi = hi >> 8;
1513
+ buf[offset++] = hi;
1514
+ hi = hi >> 8;
1515
+ buf[offset++] = hi;
1516
+ return offset
1517
+ }
1518
+
1519
+ function wrtBigUInt64BE (buf, value, offset, min, max) {
1520
+ checkIntBI(value, min, max, buf, offset, 7);
1521
+
1522
+ let lo = Number(value & BigInt(0xffffffff));
1523
+ buf[offset + 7] = lo;
1524
+ lo = lo >> 8;
1525
+ buf[offset + 6] = lo;
1526
+ lo = lo >> 8;
1527
+ buf[offset + 5] = lo;
1528
+ lo = lo >> 8;
1529
+ buf[offset + 4] = lo;
1530
+ let hi = Number(value >> BigInt(32) & BigInt(0xffffffff));
1531
+ buf[offset + 3] = hi;
1532
+ hi = hi >> 8;
1533
+ buf[offset + 2] = hi;
1534
+ hi = hi >> 8;
1535
+ buf[offset + 1] = hi;
1536
+ hi = hi >> 8;
1537
+ buf[offset] = hi;
1538
+ return offset + 8
1539
+ }
1540
+
1541
+ Buffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {
1542
+ return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))
1543
+ });
1544
+
1545
+ Buffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {
1546
+ return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))
1547
+ });
1548
+
1549
+ Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
1550
+ value = +value;
1551
+ offset = offset >>> 0;
1552
+ if (!noAssert) {
1553
+ const limit = Math.pow(2, (8 * byteLength) - 1);
1554
+
1555
+ checkInt(this, value, offset, byteLength, limit - 1, -limit);
1556
+ }
1557
+
1558
+ let i = 0;
1559
+ let mul = 1;
1560
+ let sub = 0;
1561
+ this[offset] = value & 0xFF;
1562
+ while (++i < byteLength && (mul *= 0x100)) {
1563
+ if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
1564
+ sub = 1;
1565
+ }
1566
+ this[offset + i] = ((value / mul) >> 0) - sub & 0xFF;
1567
+ }
1568
+
1569
+ return offset + byteLength
1570
+ };
1571
+
1572
+ Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
1573
+ value = +value;
1574
+ offset = offset >>> 0;
1575
+ if (!noAssert) {
1576
+ const limit = Math.pow(2, (8 * byteLength) - 1);
1577
+
1578
+ checkInt(this, value, offset, byteLength, limit - 1, -limit);
1579
+ }
1580
+
1581
+ let i = byteLength - 1;
1582
+ let mul = 1;
1583
+ let sub = 0;
1584
+ this[offset + i] = value & 0xFF;
1585
+ while (--i >= 0 && (mul *= 0x100)) {
1586
+ if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
1587
+ sub = 1;
1588
+ }
1589
+ this[offset + i] = ((value / mul) >> 0) - sub & 0xFF;
1590
+ }
1591
+
1592
+ return offset + byteLength
1593
+ };
1594
+
1595
+ Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
1596
+ value = +value;
1597
+ offset = offset >>> 0;
1598
+ if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -128);
1599
+ if (value < 0) value = 0xff + value + 1;
1600
+ this[offset] = (value & 0xff);
1601
+ return offset + 1
1602
+ };
1603
+
1604
+ Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
1605
+ value = +value;
1606
+ offset = offset >>> 0;
1607
+ if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -32768);
1608
+ this[offset] = (value & 0xff);
1609
+ this[offset + 1] = (value >>> 8);
1610
+ return offset + 2
1611
+ };
1612
+
1613
+ Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
1614
+ value = +value;
1615
+ offset = offset >>> 0;
1616
+ if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -32768);
1617
+ this[offset] = (value >>> 8);
1618
+ this[offset + 1] = (value & 0xff);
1619
+ return offset + 2
1620
+ };
1621
+
1622
+ Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
1623
+ value = +value;
1624
+ offset = offset >>> 0;
1625
+ if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -2147483648);
1626
+ this[offset] = (value & 0xff);
1627
+ this[offset + 1] = (value >>> 8);
1628
+ this[offset + 2] = (value >>> 16);
1629
+ this[offset + 3] = (value >>> 24);
1630
+ return offset + 4
1631
+ };
1632
+
1633
+ Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
1634
+ value = +value;
1635
+ offset = offset >>> 0;
1636
+ if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -2147483648);
1637
+ if (value < 0) value = 0xffffffff + value + 1;
1638
+ this[offset] = (value >>> 24);
1639
+ this[offset + 1] = (value >>> 16);
1640
+ this[offset + 2] = (value >>> 8);
1641
+ this[offset + 3] = (value & 0xff);
1642
+ return offset + 4
1643
+ };
1644
+
1645
+ Buffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {
1646
+ return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))
1647
+ });
1648
+
1649
+ Buffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {
1650
+ return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))
1651
+ });
1652
+
1653
+ function checkIEEE754 (buf, value, offset, ext, max, min) {
1654
+ if (offset + ext > buf.length) throw new RangeError('Index out of range')
1655
+ if (offset < 0) throw new RangeError('Index out of range')
1656
+ }
1657
+
1658
+ function writeFloat (buf, value, offset, littleEndian, noAssert) {
1659
+ value = +value;
1660
+ offset = offset >>> 0;
1661
+ if (!noAssert) {
1662
+ checkIEEE754(buf, value, offset, 4);
1663
+ }
1664
+ ieee754$1.write(buf, value, offset, littleEndian, 23, 4);
1665
+ return offset + 4
1666
+ }
1667
+
1668
+ Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
1669
+ return writeFloat(this, value, offset, true, noAssert)
1670
+ };
1671
+
1672
+ Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
1673
+ return writeFloat(this, value, offset, false, noAssert)
1674
+ };
1675
+
1676
+ function writeDouble (buf, value, offset, littleEndian, noAssert) {
1677
+ value = +value;
1678
+ offset = offset >>> 0;
1679
+ if (!noAssert) {
1680
+ checkIEEE754(buf, value, offset, 8);
1681
+ }
1682
+ ieee754$1.write(buf, value, offset, littleEndian, 52, 8);
1683
+ return offset + 8
1684
+ }
1685
+
1686
+ Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
1687
+ return writeDouble(this, value, offset, true, noAssert)
1688
+ };
1689
+
1690
+ Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
1691
+ return writeDouble(this, value, offset, false, noAssert)
1692
+ };
1693
+
1694
+ // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
1695
+ Buffer.prototype.copy = function copy (target, targetStart, start, end) {
1696
+ if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')
1697
+ if (!start) start = 0;
1698
+ if (!end && end !== 0) end = this.length;
1699
+ if (targetStart >= target.length) targetStart = target.length;
1700
+ if (!targetStart) targetStart = 0;
1701
+ if (end > 0 && end < start) end = start;
1702
+
1703
+ // Copy 0 bytes; we're done
1704
+ if (end === start) return 0
1705
+ if (target.length === 0 || this.length === 0) return 0
1706
+
1707
+ // Fatal error conditions
1708
+ if (targetStart < 0) {
1709
+ throw new RangeError('targetStart out of bounds')
1710
+ }
1711
+ if (start < 0 || start >= this.length) throw new RangeError('Index out of range')
1712
+ if (end < 0) throw new RangeError('sourceEnd out of bounds')
1713
+
1714
+ // Are we oob?
1715
+ if (end > this.length) end = this.length;
1716
+ if (target.length - targetStart < end - start) {
1717
+ end = target.length - targetStart + start;
1718
+ }
1719
+
1720
+ const len = end - start;
1721
+
1722
+ if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {
1723
+ // Use built-in when available, missing from IE11
1724
+ this.copyWithin(targetStart, start, end);
1725
+ } else {
1726
+ Uint8Array.prototype.set.call(
1727
+ target,
1728
+ this.subarray(start, end),
1729
+ targetStart
1730
+ );
1731
+ }
1732
+
1733
+ return len
1734
+ };
1735
+
1736
+ // Usage:
1737
+ // buffer.fill(number[, offset[, end]])
1738
+ // buffer.fill(buffer[, offset[, end]])
1739
+ // buffer.fill(string[, offset[, end]][, encoding])
1740
+ Buffer.prototype.fill = function fill (val, start, end, encoding) {
1741
+ // Handle string cases:
1742
+ if (typeof val === 'string') {
1743
+ if (typeof start === 'string') {
1744
+ encoding = start;
1745
+ start = 0;
1746
+ end = this.length;
1747
+ } else if (typeof end === 'string') {
1748
+ encoding = end;
1749
+ end = this.length;
1750
+ }
1751
+ if (encoding !== undefined && typeof encoding !== 'string') {
1752
+ throw new TypeError('encoding must be a string')
1753
+ }
1754
+ if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
1755
+ throw new TypeError('Unknown encoding: ' + encoding)
1756
+ }
1757
+ if (val.length === 1) {
1758
+ const code = val.charCodeAt(0);
1759
+ if ((encoding === 'utf8' && code < 128) ||
1760
+ encoding === 'latin1') {
1761
+ // Fast path: If `val` fits into a single byte, use that numeric value.
1762
+ val = code;
1763
+ }
1764
+ }
1765
+ } else if (typeof val === 'number') {
1766
+ val = val & 255;
1767
+ } else if (typeof val === 'boolean') {
1768
+ val = Number(val);
1769
+ }
1770
+
1771
+ // Invalid ranges are not set to a default, so can range check early.
1772
+ if (start < 0 || this.length < start || this.length < end) {
1773
+ throw new RangeError('Out of range index')
1774
+ }
1775
+
1776
+ if (end <= start) {
1777
+ return this
1778
+ }
1779
+
1780
+ start = start >>> 0;
1781
+ end = end === undefined ? this.length : end >>> 0;
1782
+
1783
+ if (!val) val = 0;
1784
+
1785
+ let i;
1786
+ if (typeof val === 'number') {
1787
+ for (i = start; i < end; ++i) {
1788
+ this[i] = val;
1789
+ }
1790
+ } else {
1791
+ const bytes = Buffer.isBuffer(val)
1792
+ ? val
1793
+ : Buffer.from(val, encoding);
1794
+ const len = bytes.length;
1795
+ if (len === 0) {
1796
+ throw new TypeError('The value "' + val +
1797
+ '" is invalid for argument "value"')
1798
+ }
1799
+ for (i = 0; i < end - start; ++i) {
1800
+ this[i + start] = bytes[i % len];
1801
+ }
1802
+ }
1803
+
1804
+ return this
1805
+ };
1806
+
1807
+ // CUSTOM ERRORS
1808
+ // =============
1809
+
1810
+ // Simplified versions from Node, changed for Buffer-only usage
1811
+ const errors = {};
1812
+ function E (sym, getMessage, Base) {
1813
+ errors[sym] = class NodeError extends Base {
1814
+ constructor () {
1815
+ super();
1816
+
1817
+ Object.defineProperty(this, 'message', {
1818
+ value: getMessage.apply(this, arguments),
1819
+ writable: true,
1820
+ configurable: true
1821
+ });
1822
+
1823
+ // Add the error code to the name to include it in the stack trace.
1824
+ this.name = `${this.name} [${sym}]`;
1825
+ // Access the stack to generate the error message including the error code
1826
+ // from the name.
1827
+ this.stack; // eslint-disable-line no-unused-expressions
1828
+ // Reset the name to the actual name.
1829
+ delete this.name;
1830
+ }
1831
+
1832
+ get code () {
1833
+ return sym
1834
+ }
1835
+
1836
+ set code (value) {
1837
+ Object.defineProperty(this, 'code', {
1838
+ configurable: true,
1839
+ enumerable: true,
1840
+ value,
1841
+ writable: true
1842
+ });
1843
+ }
1844
+
1845
+ toString () {
1846
+ return `${this.name} [${sym}]: ${this.message}`
1847
+ }
1848
+ };
1849
+ }
1850
+
1851
+ E('ERR_BUFFER_OUT_OF_BOUNDS',
1852
+ function (name) {
1853
+ if (name) {
1854
+ return `${name} is outside of buffer bounds`
1855
+ }
1856
+
1857
+ return 'Attempt to access memory outside buffer bounds'
1858
+ }, RangeError);
1859
+ E('ERR_INVALID_ARG_TYPE',
1860
+ function (name, actual) {
1861
+ return `The "${name}" argument must be of type number. Received type ${typeof actual}`
1862
+ }, TypeError);
1863
+ E('ERR_OUT_OF_RANGE',
1864
+ function (str, range, input) {
1865
+ let msg = `The value of "${str}" is out of range.`;
1866
+ let received = input;
1867
+ if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {
1868
+ received = addNumericalSeparator(String(input));
1869
+ } else if (typeof input === 'bigint') {
1870
+ received = String(input);
1871
+ if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {
1872
+ received = addNumericalSeparator(received);
1873
+ }
1874
+ received += 'n';
1875
+ }
1876
+ msg += ` It must be ${range}. Received ${received}`;
1877
+ return msg
1878
+ }, RangeError);
1879
+
1880
+ function addNumericalSeparator (val) {
1881
+ let res = '';
1882
+ let i = val.length;
1883
+ const start = val[0] === '-' ? 1 : 0;
1884
+ for (; i >= start + 4; i -= 3) {
1885
+ res = `_${val.slice(i - 3, i)}${res}`;
1886
+ }
1887
+ return `${val.slice(0, i)}${res}`
1888
+ }
1889
+
1890
+ // CHECK FUNCTIONS
1891
+ // ===============
1892
+
1893
+ function checkBounds (buf, offset, byteLength) {
1894
+ validateNumber(offset, 'offset');
1895
+ if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {
1896
+ boundsError(offset, buf.length - (byteLength + 1));
1897
+ }
1898
+ }
1899
+
1900
+ function checkIntBI (value, min, max, buf, offset, byteLength) {
1901
+ if (value > max || value < min) {
1902
+ const n = typeof min === 'bigint' ? 'n' : '';
1903
+ let range;
1904
+ {
1905
+ if (min === 0 || min === BigInt(0)) {
1906
+ range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`;
1907
+ } else {
1908
+ range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +
1909
+ `${(byteLength + 1) * 8 - 1}${n}`;
1910
+ }
1911
+ }
1912
+ throw new errors.ERR_OUT_OF_RANGE('value', range, value)
1913
+ }
1914
+ checkBounds(buf, offset, byteLength);
1915
+ }
1916
+
1917
+ function validateNumber (value, name) {
1918
+ if (typeof value !== 'number') {
1919
+ throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)
1920
+ }
1921
+ }
1922
+
1923
+ function boundsError (value, length, type) {
1924
+ if (Math.floor(value) !== value) {
1925
+ validateNumber(value, type);
1926
+ throw new errors.ERR_OUT_OF_RANGE('offset', 'an integer', value)
1927
+ }
1928
+
1929
+ if (length < 0) {
1930
+ throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()
1931
+ }
1932
+
1933
+ throw new errors.ERR_OUT_OF_RANGE('offset',
1934
+ `>= ${0} and <= ${length}`,
1935
+ value)
1936
+ }
1937
+
1938
+ // HELPER FUNCTIONS
1939
+ // ================
1940
+
1941
+ const INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g;
1942
+
1943
+ function base64clean (str) {
1944
+ // Node takes equal signs as end of the Base64 encoding
1945
+ str = str.split('=')[0];
1946
+ // Node strips out invalid characters like \n and \t from the string, base64-js does not
1947
+ str = str.trim().replace(INVALID_BASE64_RE, '');
1948
+ // Node converts strings with length < 2 to ''
1949
+ if (str.length < 2) return ''
1950
+ // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
1951
+ while (str.length % 4 !== 0) {
1952
+ str = str + '=';
1953
+ }
1954
+ return str
1955
+ }
1956
+
1957
+ function utf8ToBytes (string, units) {
1958
+ units = units || Infinity;
1959
+ let codePoint;
1960
+ const length = string.length;
1961
+ let leadSurrogate = null;
1962
+ const bytes = [];
1963
+
1964
+ for (let i = 0; i < length; ++i) {
1965
+ codePoint = string.charCodeAt(i);
1966
+
1967
+ // is surrogate component
1968
+ if (codePoint > 0xD7FF && codePoint < 0xE000) {
1969
+ // last char was a lead
1970
+ if (!leadSurrogate) {
1971
+ // no lead yet
1972
+ if (codePoint > 0xDBFF) {
1973
+ // unexpected trail
1974
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
1975
+ continue
1976
+ } else if (i + 1 === length) {
1977
+ // unpaired lead
1978
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
1979
+ continue
1980
+ }
1981
+
1982
+ // valid lead
1983
+ leadSurrogate = codePoint;
1984
+
1985
+ continue
1986
+ }
1987
+
1988
+ // 2 leads in a row
1989
+ if (codePoint < 0xDC00) {
1990
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
1991
+ leadSurrogate = codePoint;
1992
+ continue
1993
+ }
1994
+
1995
+ // valid surrogate pair
1996
+ codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000;
1997
+ } else if (leadSurrogate) {
1998
+ // valid bmp char, but last char was a lead
1999
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
2000
+ }
2001
+
2002
+ leadSurrogate = null;
2003
+
2004
+ // encode utf8
2005
+ if (codePoint < 0x80) {
2006
+ if ((units -= 1) < 0) break
2007
+ bytes.push(codePoint);
2008
+ } else if (codePoint < 0x800) {
2009
+ if ((units -= 2) < 0) break
2010
+ bytes.push(
2011
+ codePoint >> 0x6 | 0xC0,
2012
+ codePoint & 0x3F | 0x80
2013
+ );
2014
+ } else if (codePoint < 0x10000) {
2015
+ if ((units -= 3) < 0) break
2016
+ bytes.push(
2017
+ codePoint >> 0xC | 0xE0,
2018
+ codePoint >> 0x6 & 0x3F | 0x80,
2019
+ codePoint & 0x3F | 0x80
2020
+ );
2021
+ } else if (codePoint < 0x110000) {
2022
+ if ((units -= 4) < 0) break
2023
+ bytes.push(
2024
+ codePoint >> 0x12 | 0xF0,
2025
+ codePoint >> 0xC & 0x3F | 0x80,
2026
+ codePoint >> 0x6 & 0x3F | 0x80,
2027
+ codePoint & 0x3F | 0x80
2028
+ );
2029
+ } else {
2030
+ throw new Error('Invalid code point')
2031
+ }
2032
+ }
2033
+
2034
+ return bytes
2035
+ }
2036
+
2037
+ function asciiToBytes (str) {
2038
+ const byteArray = [];
2039
+ for (let i = 0; i < str.length; ++i) {
2040
+ // Node's code seems to be doing this and not & 0x7F..
2041
+ byteArray.push(str.charCodeAt(i) & 0xFF);
2042
+ }
2043
+ return byteArray
2044
+ }
2045
+
2046
+ function utf16leToBytes (str, units) {
2047
+ let c, hi, lo;
2048
+ const byteArray = [];
2049
+ for (let i = 0; i < str.length; ++i) {
2050
+ if ((units -= 2) < 0) break
2051
+
2052
+ c = str.charCodeAt(i);
2053
+ hi = c >> 8;
2054
+ lo = c % 256;
2055
+ byteArray.push(lo);
2056
+ byteArray.push(hi);
2057
+ }
2058
+
2059
+ return byteArray
2060
+ }
2061
+
2062
+ function base64ToBytes (str) {
2063
+ return base64.toByteArray(base64clean(str))
2064
+ }
2065
+
2066
+ function blitBuffer (src, dst, offset, length) {
2067
+ let i;
2068
+ for (i = 0; i < length; ++i) {
2069
+ if ((i + offset >= dst.length) || (i >= src.length)) break
2070
+ dst[i + offset] = src[i];
2071
+ }
2072
+ return i
2073
+ }
2074
+
2075
+ // ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass
2076
+ // the `instanceof` check but they should be treated as of that type.
2077
+ // See: https://github.com/feross/buffer/issues/166
2078
+ function isInstance (obj, type) {
2079
+ return obj instanceof type ||
2080
+ (obj != null && obj.constructor != null && obj.constructor.name != null &&
2081
+ obj.constructor.name === type.name)
2082
+ }
2083
+ function numberIsNaN (obj) {
2084
+ // For IE11 support
2085
+ return obj !== obj // eslint-disable-line no-self-compare
2086
+ }
2087
+
2088
+ // Create lookup table for `toString('hex')`
2089
+ // See: https://github.com/feross/buffer/issues/219
2090
+ const hexSliceLookupTable = (function () {
2091
+ const alphabet = '0123456789abcdef';
2092
+ const table = new Array(256);
2093
+ for (let i = 0; i < 16; ++i) {
2094
+ const i16 = i * 16;
2095
+ for (let j = 0; j < 16; ++j) {
2096
+ table[i16 + j] = alphabet[i] + alphabet[j];
2097
+ }
2098
+ }
2099
+ return table
2100
+ })();
2101
+
2102
+ // Return not function with Error if BigInt not supported
2103
+ function defineBigIntMethod (fn) {
2104
+ return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn
2105
+ }
2106
+
2107
+ function BufferBigIntNotDefined () {
2108
+ throw new Error('BigInt not supported')
2109
+ }
2110
+ } (buffer));
2111
+ //# sourceMappingURL=index.js.map