@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,2685 @@
1
+ import { Color } from '../../../@kurkle/color/dist/color.esm.js';
2
+
3
+ /*!
4
+ * Chart.js v4.5.0
5
+ * https://www.chartjs.org
6
+ * (c) 2025 Chart.js Contributors
7
+ * Released under the MIT License
8
+ */
9
+
10
+ /**
11
+ * @namespace Chart.helpers
12
+ */ /**
13
+ * An empty function that can be used, for example, for optional callback.
14
+ */ function noop() {
15
+ /* noop */ }
16
+ /**
17
+ * Returns a unique id, sequentially generated from a global variable.
18
+ */ const uid = (()=>{
19
+ let id = 0;
20
+ return ()=>id++;
21
+ })();
22
+ /**
23
+ * Returns true if `value` is neither null nor undefined, else returns false.
24
+ * @param value - The value to test.
25
+ * @since 2.7.0
26
+ */ function isNullOrUndef(value) {
27
+ return value === null || value === undefined;
28
+ }
29
+ /**
30
+ * Returns true if `value` is an array (including typed arrays), else returns false.
31
+ * @param value - The value to test.
32
+ * @function
33
+ */ function isArray(value) {
34
+ if (Array.isArray && Array.isArray(value)) {
35
+ return true;
36
+ }
37
+ const type = Object.prototype.toString.call(value);
38
+ if (type.slice(0, 7) === '[object' && type.slice(-6) === 'Array]') {
39
+ return true;
40
+ }
41
+ return false;
42
+ }
43
+ /**
44
+ * Returns true if `value` is an object (excluding null), else returns false.
45
+ * @param value - The value to test.
46
+ * @since 2.7.0
47
+ */ function isObject(value) {
48
+ return value !== null && Object.prototype.toString.call(value) === '[object Object]';
49
+ }
50
+ /**
51
+ * Returns true if `value` is a finite number, else returns false
52
+ * @param value - The value to test.
53
+ */ function isNumberFinite(value) {
54
+ return (typeof value === 'number' || value instanceof Number) && isFinite(+value);
55
+ }
56
+ /**
57
+ * Returns `value` if finite, else returns `defaultValue`.
58
+ * @param value - The value to return if defined.
59
+ * @param defaultValue - The value to return if `value` is not finite.
60
+ */ function finiteOrDefault(value, defaultValue) {
61
+ return isNumberFinite(value) ? value : defaultValue;
62
+ }
63
+ /**
64
+ * Returns `value` if defined, else returns `defaultValue`.
65
+ * @param value - The value to return if defined.
66
+ * @param defaultValue - The value to return if `value` is undefined.
67
+ */ function valueOrDefault(value, defaultValue) {
68
+ return typeof value === 'undefined' ? defaultValue : value;
69
+ }
70
+ const toDimension = (value, dimension)=>typeof value === 'string' && value.endsWith('%') ? parseFloat(value) / 100 * dimension : +value;
71
+ /**
72
+ * Calls `fn` with the given `args` in the scope defined by `thisArg` and returns the
73
+ * value returned by `fn`. If `fn` is not a function, this method returns undefined.
74
+ * @param fn - The function to call.
75
+ * @param args - The arguments with which `fn` should be called.
76
+ * @param [thisArg] - The value of `this` provided for the call to `fn`.
77
+ */ function callback(fn, args, thisArg) {
78
+ if (fn && typeof fn.call === 'function') {
79
+ return fn.apply(thisArg, args);
80
+ }
81
+ }
82
+ function each(loopable, fn, thisArg, reverse) {
83
+ let i, len, keys;
84
+ if (isArray(loopable)) {
85
+ len = loopable.length;
86
+ {
87
+ for(i = 0; i < len; i++){
88
+ fn.call(thisArg, loopable[i], i);
89
+ }
90
+ }
91
+ } else if (isObject(loopable)) {
92
+ keys = Object.keys(loopable);
93
+ len = keys.length;
94
+ for(i = 0; i < len; i++){
95
+ fn.call(thisArg, loopable[keys[i]], keys[i]);
96
+ }
97
+ }
98
+ }
99
+ /**
100
+ * Returns true if the `a0` and `a1` arrays have the same content, else returns false.
101
+ * @param a0 - The array to compare
102
+ * @param a1 - The array to compare
103
+ * @private
104
+ */ function _elementsEqual(a0, a1) {
105
+ let i, ilen, v0, v1;
106
+ if (!a0 || !a1 || a0.length !== a1.length) {
107
+ return false;
108
+ }
109
+ for(i = 0, ilen = a0.length; i < ilen; ++i){
110
+ v0 = a0[i];
111
+ v1 = a1[i];
112
+ if (v0.datasetIndex !== v1.datasetIndex || v0.index !== v1.index) {
113
+ return false;
114
+ }
115
+ }
116
+ return true;
117
+ }
118
+ /**
119
+ * Returns a deep copy of `source` without keeping references on objects and arrays.
120
+ * @param source - The value to clone.
121
+ */ function clone(source) {
122
+ if (isArray(source)) {
123
+ return source.map(clone);
124
+ }
125
+ if (isObject(source)) {
126
+ const target = Object.create(null);
127
+ const keys = Object.keys(source);
128
+ const klen = keys.length;
129
+ let k = 0;
130
+ for(; k < klen; ++k){
131
+ target[keys[k]] = clone(source[keys[k]]);
132
+ }
133
+ return target;
134
+ }
135
+ return source;
136
+ }
137
+ function isValidKey(key) {
138
+ return [
139
+ '__proto__',
140
+ 'prototype',
141
+ 'constructor'
142
+ ].indexOf(key) === -1;
143
+ }
144
+ /**
145
+ * The default merger when Chart.helpers.merge is called without merger option.
146
+ * Note(SB): also used by mergeConfig and mergeScaleConfig as fallback.
147
+ * @private
148
+ */ function _merger(key, target, source, options) {
149
+ if (!isValidKey(key)) {
150
+ return;
151
+ }
152
+ const tval = target[key];
153
+ const sval = source[key];
154
+ if (isObject(tval) && isObject(sval)) {
155
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
156
+ merge(tval, sval, options);
157
+ } else {
158
+ target[key] = clone(sval);
159
+ }
160
+ }
161
+ function merge(target, source, options) {
162
+ const sources = isArray(source) ? source : [
163
+ source
164
+ ];
165
+ const ilen = sources.length;
166
+ if (!isObject(target)) {
167
+ return target;
168
+ }
169
+ options = options || {};
170
+ const merger = options.merger || _merger;
171
+ let current;
172
+ for(let i = 0; i < ilen; ++i){
173
+ current = sources[i];
174
+ if (!isObject(current)) {
175
+ continue;
176
+ }
177
+ const keys = Object.keys(current);
178
+ for(let k = 0, klen = keys.length; k < klen; ++k){
179
+ merger(keys[k], target, current, options);
180
+ }
181
+ }
182
+ return target;
183
+ }
184
+ function mergeIf(target, source) {
185
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
186
+ return merge(target, source, {
187
+ merger: _mergerIf
188
+ });
189
+ }
190
+ /**
191
+ * Merges source[key] in target[key] only if target[key] is undefined.
192
+ * @private
193
+ */ function _mergerIf(key, target, source) {
194
+ if (!isValidKey(key)) {
195
+ return;
196
+ }
197
+ const tval = target[key];
198
+ const sval = source[key];
199
+ if (isObject(tval) && isObject(sval)) {
200
+ mergeIf(tval, sval);
201
+ } else if (!Object.prototype.hasOwnProperty.call(target, key)) {
202
+ target[key] = clone(sval);
203
+ }
204
+ }
205
+ // resolveObjectKey resolver cache
206
+ const keyResolvers = {
207
+ // Chart.helpers.core resolveObjectKey should resolve empty key to root object
208
+ '': (v)=>v,
209
+ // default resolvers
210
+ x: (o)=>o.x,
211
+ y: (o)=>o.y
212
+ };
213
+ /**
214
+ * @private
215
+ */ function _splitKey(key) {
216
+ const parts = key.split('.');
217
+ const keys = [];
218
+ let tmp = '';
219
+ for (const part of parts){
220
+ tmp += part;
221
+ if (tmp.endsWith('\\')) {
222
+ tmp = tmp.slice(0, -1) + '.';
223
+ } else {
224
+ keys.push(tmp);
225
+ tmp = '';
226
+ }
227
+ }
228
+ return keys;
229
+ }
230
+ function _getKeyResolver(key) {
231
+ const keys = _splitKey(key);
232
+ return (obj)=>{
233
+ for (const k of keys){
234
+ if (k === '') {
235
+ break;
236
+ }
237
+ obj = obj && obj[k];
238
+ }
239
+ return obj;
240
+ };
241
+ }
242
+ function resolveObjectKey(obj, key) {
243
+ const resolver = keyResolvers[key] || (keyResolvers[key] = _getKeyResolver(key));
244
+ return resolver(obj);
245
+ }
246
+ /**
247
+ * @private
248
+ */ function _capitalize(str) {
249
+ return str.charAt(0).toUpperCase() + str.slice(1);
250
+ }
251
+ const defined = (value)=>typeof value !== 'undefined';
252
+ const isFunction = (value)=>typeof value === 'function';
253
+ // Adapted from https://stackoverflow.com/questions/31128855/comparing-ecma6-sets-for-equality#31129384
254
+ const setsEqual = (a, b)=>{
255
+ if (a.size !== b.size) {
256
+ return false;
257
+ }
258
+ for (const item of a){
259
+ if (!b.has(item)) {
260
+ return false;
261
+ }
262
+ }
263
+ return true;
264
+ };
265
+ /**
266
+ * @param e - The event
267
+ * @private
268
+ */ function _isClickEvent(e) {
269
+ return e.type === 'mouseup' || e.type === 'click' || e.type === 'contextmenu';
270
+ }
271
+
272
+ /**
273
+ * @alias Chart.helpers.math
274
+ * @namespace
275
+ */ const PI = Math.PI;
276
+ const TAU = 2 * PI;
277
+ const PITAU = TAU + PI;
278
+ const INFINITY = Number.POSITIVE_INFINITY;
279
+ const RAD_PER_DEG = PI / 180;
280
+ const HALF_PI = PI / 2;
281
+ const QUARTER_PI = PI / 4;
282
+ const TWO_THIRDS_PI = PI * 2 / 3;
283
+ const log10 = Math.log10;
284
+ const sign = Math.sign;
285
+ function almostEquals(x, y, epsilon) {
286
+ return Math.abs(x - y) < epsilon;
287
+ }
288
+ /**
289
+ * Implementation of the nice number algorithm used in determining where axis labels will go
290
+ */ function niceNum(range) {
291
+ const roundedRange = Math.round(range);
292
+ range = almostEquals(range, roundedRange, range / 1000) ? roundedRange : range;
293
+ const niceRange = Math.pow(10, Math.floor(log10(range)));
294
+ const fraction = range / niceRange;
295
+ const niceFraction = fraction <= 1 ? 1 : fraction <= 2 ? 2 : fraction <= 5 ? 5 : 10;
296
+ return niceFraction * niceRange;
297
+ }
298
+ /**
299
+ * Returns an array of factors sorted from 1 to sqrt(value)
300
+ * @private
301
+ */ function _factorize(value) {
302
+ const result = [];
303
+ const sqrt = Math.sqrt(value);
304
+ let i;
305
+ for(i = 1; i < sqrt; i++){
306
+ if (value % i === 0) {
307
+ result.push(i);
308
+ result.push(value / i);
309
+ }
310
+ }
311
+ if (sqrt === (sqrt | 0)) {
312
+ result.push(sqrt);
313
+ }
314
+ result.sort((a, b)=>a - b).pop();
315
+ return result;
316
+ }
317
+ /**
318
+ * Verifies that attempting to coerce n to string or number won't throw a TypeError.
319
+ */ function isNonPrimitive(n) {
320
+ return typeof n === 'symbol' || typeof n === 'object' && n !== null && !(Symbol.toPrimitive in n || 'toString' in n || 'valueOf' in n);
321
+ }
322
+ function isNumber(n) {
323
+ return !isNonPrimitive(n) && !isNaN(parseFloat(n)) && isFinite(n);
324
+ }
325
+ function almostWhole(x, epsilon) {
326
+ const rounded = Math.round(x);
327
+ return rounded - epsilon <= x && rounded + epsilon >= x;
328
+ }
329
+ /**
330
+ * @private
331
+ */ function _setMinAndMaxByKey(array, target, property) {
332
+ let i, ilen, value;
333
+ for(i = 0, ilen = array.length; i < ilen; i++){
334
+ value = array[i][property];
335
+ if (!isNaN(value)) {
336
+ target.min = Math.min(target.min, value);
337
+ target.max = Math.max(target.max, value);
338
+ }
339
+ }
340
+ }
341
+ function toRadians(degrees) {
342
+ return degrees * (PI / 180);
343
+ }
344
+ function toDegrees(radians) {
345
+ return radians * (180 / PI);
346
+ }
347
+ /**
348
+ * Returns the number of decimal places
349
+ * i.e. the number of digits after the decimal point, of the value of this Number.
350
+ * @param x - A number.
351
+ * @returns The number of decimal places.
352
+ * @private
353
+ */ function _decimalPlaces(x) {
354
+ if (!isNumberFinite(x)) {
355
+ return;
356
+ }
357
+ let e = 1;
358
+ let p = 0;
359
+ while(Math.round(x * e) / e !== x){
360
+ e *= 10;
361
+ p++;
362
+ }
363
+ return p;
364
+ }
365
+ // Gets the angle from vertical upright to the point about a centre.
366
+ function getAngleFromPoint(centrePoint, anglePoint) {
367
+ const distanceFromXCenter = anglePoint.x - centrePoint.x;
368
+ const distanceFromYCenter = anglePoint.y - centrePoint.y;
369
+ const radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);
370
+ let angle = Math.atan2(distanceFromYCenter, distanceFromXCenter);
371
+ if (angle < -0.5 * PI) {
372
+ angle += TAU; // make sure the returned angle is in the range of (-PI/2, 3PI/2]
373
+ }
374
+ return {
375
+ angle,
376
+ distance: radialDistanceFromCenter
377
+ };
378
+ }
379
+ function distanceBetweenPoints(pt1, pt2) {
380
+ return Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2));
381
+ }
382
+ /**
383
+ * Shortest distance between angles, in either direction.
384
+ * @private
385
+ */ function _angleDiff(a, b) {
386
+ return (a - b + PITAU) % TAU - PI;
387
+ }
388
+ /**
389
+ * Normalize angle to be between 0 and 2*PI
390
+ * @private
391
+ */ function _normalizeAngle(a) {
392
+ return (a % TAU + TAU) % TAU;
393
+ }
394
+ /**
395
+ * @private
396
+ */ function _angleBetween(angle, start, end, sameAngleIsFullCircle) {
397
+ const a = _normalizeAngle(angle);
398
+ const s = _normalizeAngle(start);
399
+ const e = _normalizeAngle(end);
400
+ const angleToStart = _normalizeAngle(s - a);
401
+ const angleToEnd = _normalizeAngle(e - a);
402
+ const startToAngle = _normalizeAngle(a - s);
403
+ const endToAngle = _normalizeAngle(a - e);
404
+ return a === s || a === e || sameAngleIsFullCircle && s === e || angleToStart > angleToEnd && startToAngle < endToAngle;
405
+ }
406
+ /**
407
+ * Limit `value` between `min` and `max`
408
+ * @param value
409
+ * @param min
410
+ * @param max
411
+ * @private
412
+ */ function _limitValue(value, min, max) {
413
+ return Math.max(min, Math.min(max, value));
414
+ }
415
+ /**
416
+ * @param {number} value
417
+ * @private
418
+ */ function _int16Range(value) {
419
+ return _limitValue(value, -32768, 32767);
420
+ }
421
+ /**
422
+ * @param value
423
+ * @param start
424
+ * @param end
425
+ * @param [epsilon]
426
+ * @private
427
+ */ function _isBetween(value, start, end, epsilon = 1e-6) {
428
+ return value >= Math.min(start, end) - epsilon && value <= Math.max(start, end) + epsilon;
429
+ }
430
+
431
+ function _lookup(table, value, cmp) {
432
+ cmp = cmp || ((index)=>table[index] < value);
433
+ let hi = table.length - 1;
434
+ let lo = 0;
435
+ let mid;
436
+ while(hi - lo > 1){
437
+ mid = lo + hi >> 1;
438
+ if (cmp(mid)) {
439
+ lo = mid;
440
+ } else {
441
+ hi = mid;
442
+ }
443
+ }
444
+ return {
445
+ lo,
446
+ hi
447
+ };
448
+ }
449
+ /**
450
+ * Binary search
451
+ * @param table - the table search. must be sorted!
452
+ * @param key - property name for the value in each entry
453
+ * @param value - value to find
454
+ * @param last - lookup last index
455
+ * @private
456
+ */ const _lookupByKey = (table, key, value, last)=>_lookup(table, value, last ? (index)=>{
457
+ const ti = table[index][key];
458
+ return ti < value || ti === value && table[index + 1][key] === value;
459
+ } : (index)=>table[index][key] < value);
460
+ /**
461
+ * Reverse binary search
462
+ * @param table - the table search. must be sorted!
463
+ * @param key - property name for the value in each entry
464
+ * @param value - value to find
465
+ * @private
466
+ */ const _rlookupByKey = (table, key, value)=>_lookup(table, value, (index)=>table[index][key] >= value);
467
+ /**
468
+ * Return subset of `values` between `min` and `max` inclusive.
469
+ * Values are assumed to be in sorted order.
470
+ * @param values - sorted array of values
471
+ * @param min - min value
472
+ * @param max - max value
473
+ */ function _filterBetween(values, min, max) {
474
+ let start = 0;
475
+ let end = values.length;
476
+ while(start < end && values[start] < min){
477
+ start++;
478
+ }
479
+ while(end > start && values[end - 1] > max){
480
+ end--;
481
+ }
482
+ return start > 0 || end < values.length ? values.slice(start, end) : values;
483
+ }
484
+ const arrayEvents = [
485
+ 'push',
486
+ 'pop',
487
+ 'shift',
488
+ 'splice',
489
+ 'unshift'
490
+ ];
491
+ function listenArrayEvents(array, listener) {
492
+ if (array._chartjs) {
493
+ array._chartjs.listeners.push(listener);
494
+ return;
495
+ }
496
+ Object.defineProperty(array, '_chartjs', {
497
+ configurable: true,
498
+ enumerable: false,
499
+ value: {
500
+ listeners: [
501
+ listener
502
+ ]
503
+ }
504
+ });
505
+ arrayEvents.forEach((key)=>{
506
+ const method = '_onData' + _capitalize(key);
507
+ const base = array[key];
508
+ Object.defineProperty(array, key, {
509
+ configurable: true,
510
+ enumerable: false,
511
+ value (...args) {
512
+ const res = base.apply(this, args);
513
+ array._chartjs.listeners.forEach((object)=>{
514
+ if (typeof object[method] === 'function') {
515
+ object[method](...args);
516
+ }
517
+ });
518
+ return res;
519
+ }
520
+ });
521
+ });
522
+ }
523
+ function unlistenArrayEvents(array, listener) {
524
+ const stub = array._chartjs;
525
+ if (!stub) {
526
+ return;
527
+ }
528
+ const listeners = stub.listeners;
529
+ const index = listeners.indexOf(listener);
530
+ if (index !== -1) {
531
+ listeners.splice(index, 1);
532
+ }
533
+ if (listeners.length > 0) {
534
+ return;
535
+ }
536
+ arrayEvents.forEach((key)=>{
537
+ delete array[key];
538
+ });
539
+ delete array._chartjs;
540
+ }
541
+ /**
542
+ * @param items
543
+ */ function _arrayUnique(items) {
544
+ const set = new Set(items);
545
+ if (set.size === items.length) {
546
+ return items;
547
+ }
548
+ return Array.from(set);
549
+ }
550
+ /**
551
+ * Request animation polyfill
552
+ */ const requestAnimFrame = function() {
553
+ if (typeof window === 'undefined') {
554
+ return function(callback) {
555
+ return callback();
556
+ };
557
+ }
558
+ return window.requestAnimationFrame;
559
+ }();
560
+ /**
561
+ * Throttles calling `fn` once per animation frame
562
+ * Latest arguments are used on the actual call
563
+ */ function throttled(fn, thisArg) {
564
+ let argsToUse = [];
565
+ let ticking = false;
566
+ return function(...args) {
567
+ // Save the args for use later
568
+ argsToUse = args;
569
+ if (!ticking) {
570
+ ticking = true;
571
+ requestAnimFrame.call(window, ()=>{
572
+ ticking = false;
573
+ fn.apply(thisArg, argsToUse);
574
+ });
575
+ }
576
+ };
577
+ }
578
+ /**
579
+ * Debounces calling `fn` for `delay` ms
580
+ */ function debounce(fn, delay) {
581
+ let timeout;
582
+ return function(...args) {
583
+ if (delay) {
584
+ clearTimeout(timeout);
585
+ timeout = setTimeout(fn, delay, args);
586
+ } else {
587
+ fn.apply(this, args);
588
+ }
589
+ return delay;
590
+ };
591
+ }
592
+ /**
593
+ * Converts 'start' to 'left', 'end' to 'right' and others to 'center'
594
+ * @private
595
+ */ const _toLeftRightCenter = (align)=>align === 'start' ? 'left' : align === 'end' ? 'right' : 'center';
596
+ /**
597
+ * Returns `start`, `end` or `(start + end) / 2` depending on `align`. Defaults to `center`
598
+ * @private
599
+ */ const _alignStartEnd = (align, start, end)=>align === 'start' ? start : align === 'end' ? end : (start + end) / 2;
600
+ /**
601
+ * Returns `left`, `right` or `(left + right) / 2` depending on `align`. Defaults to `left`
602
+ * @private
603
+ */ const _textX = (align, left, right, rtl)=>{
604
+ const check = rtl ? 'left' : 'right';
605
+ return align === check ? right : align === 'center' ? (left + right) / 2 : left;
606
+ };
607
+ /**
608
+ * Return start and count of visible points.
609
+ * @private
610
+ */ function _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled) {
611
+ const pointCount = points.length;
612
+ let start = 0;
613
+ let count = pointCount;
614
+ if (meta._sorted) {
615
+ const { iScale , vScale , _parsed } = meta;
616
+ const spanGaps = meta.dataset ? meta.dataset.options ? meta.dataset.options.spanGaps : null : null;
617
+ const axis = iScale.axis;
618
+ const { min , max , minDefined , maxDefined } = iScale.getUserBounds();
619
+ if (minDefined) {
620
+ start = Math.min(// @ts-expect-error Need to type _parsed
621
+ _lookupByKey(_parsed, axis, min).lo, // @ts-expect-error Need to fix types on _lookupByKey
622
+ animationsDisabled ? pointCount : _lookupByKey(points, axis, iScale.getPixelForValue(min)).lo);
623
+ if (spanGaps) {
624
+ const distanceToDefinedLo = _parsed.slice(0, start + 1).reverse().findIndex((point)=>!isNullOrUndef(point[vScale.axis]));
625
+ start -= Math.max(0, distanceToDefinedLo);
626
+ }
627
+ start = _limitValue(start, 0, pointCount - 1);
628
+ }
629
+ if (maxDefined) {
630
+ let end = Math.max(// @ts-expect-error Need to type _parsed
631
+ _lookupByKey(_parsed, iScale.axis, max, true).hi + 1, // @ts-expect-error Need to fix types on _lookupByKey
632
+ animationsDisabled ? 0 : _lookupByKey(points, axis, iScale.getPixelForValue(max), true).hi + 1);
633
+ if (spanGaps) {
634
+ const distanceToDefinedHi = _parsed.slice(end - 1).findIndex((point)=>!isNullOrUndef(point[vScale.axis]));
635
+ end += Math.max(0, distanceToDefinedHi);
636
+ }
637
+ count = _limitValue(end, start, pointCount) - start;
638
+ } else {
639
+ count = pointCount - start;
640
+ }
641
+ }
642
+ return {
643
+ start,
644
+ count
645
+ };
646
+ }
647
+ /**
648
+ * Checks if the scale ranges have changed.
649
+ * @param {object} meta - dataset meta.
650
+ * @returns {boolean}
651
+ * @private
652
+ */ function _scaleRangesChanged(meta) {
653
+ const { xScale , yScale , _scaleRanges } = meta;
654
+ const newRanges = {
655
+ xmin: xScale.min,
656
+ xmax: xScale.max,
657
+ ymin: yScale.min,
658
+ ymax: yScale.max
659
+ };
660
+ if (!_scaleRanges) {
661
+ meta._scaleRanges = newRanges;
662
+ return true;
663
+ }
664
+ const changed = _scaleRanges.xmin !== xScale.min || _scaleRanges.xmax !== xScale.max || _scaleRanges.ymin !== yScale.min || _scaleRanges.ymax !== yScale.max;
665
+ Object.assign(_scaleRanges, newRanges);
666
+ return changed;
667
+ }
668
+
669
+ const atEdge = (t)=>t === 0 || t === 1;
670
+ const elasticIn = (t, s, p)=>-(Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * TAU / p));
671
+ const elasticOut = (t, s, p)=>Math.pow(2, -10 * t) * Math.sin((t - s) * TAU / p) + 1;
672
+ /**
673
+ * Easing functions adapted from Robert Penner's easing equations.
674
+ * @namespace Chart.helpers.easing.effects
675
+ * @see http://www.robertpenner.com/easing/
676
+ */ const effects = {
677
+ linear: (t)=>t,
678
+ easeInQuad: (t)=>t * t,
679
+ easeOutQuad: (t)=>-t * (t - 2),
680
+ easeInOutQuad: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t : -0.5 * (--t * (t - 2) - 1),
681
+ easeInCubic: (t)=>t * t * t,
682
+ easeOutCubic: (t)=>(t -= 1) * t * t + 1,
683
+ easeInOutCubic: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t * t : 0.5 * ((t -= 2) * t * t + 2),
684
+ easeInQuart: (t)=>t * t * t * t,
685
+ easeOutQuart: (t)=>-((t -= 1) * t * t * t - 1),
686
+ easeInOutQuart: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t * t * t : -0.5 * ((t -= 2) * t * t * t - 2),
687
+ easeInQuint: (t)=>t * t * t * t * t,
688
+ easeOutQuint: (t)=>(t -= 1) * t * t * t * t + 1,
689
+ easeInOutQuint: (t)=>(t /= 0.5) < 1 ? 0.5 * t * t * t * t * t : 0.5 * ((t -= 2) * t * t * t * t + 2),
690
+ easeInSine: (t)=>-Math.cos(t * HALF_PI) + 1,
691
+ easeOutSine: (t)=>Math.sin(t * HALF_PI),
692
+ easeInOutSine: (t)=>-0.5 * (Math.cos(PI * t) - 1),
693
+ easeInExpo: (t)=>t === 0 ? 0 : Math.pow(2, 10 * (t - 1)),
694
+ easeOutExpo: (t)=>t === 1 ? 1 : -Math.pow(2, -10 * t) + 1,
695
+ easeInOutExpo: (t)=>atEdge(t) ? t : t < 0.5 ? 0.5 * Math.pow(2, 10 * (t * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (t * 2 - 1)) + 2),
696
+ easeInCirc: (t)=>t >= 1 ? t : -(Math.sqrt(1 - t * t) - 1),
697
+ easeOutCirc: (t)=>Math.sqrt(1 - (t -= 1) * t),
698
+ easeInOutCirc: (t)=>(t /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - t * t) - 1) : 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1),
699
+ easeInElastic: (t)=>atEdge(t) ? t : elasticIn(t, 0.075, 0.3),
700
+ easeOutElastic: (t)=>atEdge(t) ? t : elasticOut(t, 0.075, 0.3),
701
+ easeInOutElastic (t) {
702
+ const s = 0.1125;
703
+ const p = 0.45;
704
+ return atEdge(t) ? t : t < 0.5 ? 0.5 * elasticIn(t * 2, s, p) : 0.5 + 0.5 * elasticOut(t * 2 - 1, s, p);
705
+ },
706
+ easeInBack (t) {
707
+ const s = 1.70158;
708
+ return t * t * ((s + 1) * t - s);
709
+ },
710
+ easeOutBack (t) {
711
+ const s = 1.70158;
712
+ return (t -= 1) * t * ((s + 1) * t + s) + 1;
713
+ },
714
+ easeInOutBack (t) {
715
+ let s = 1.70158;
716
+ if ((t /= 0.5) < 1) {
717
+ return 0.5 * (t * t * (((s *= 1.525) + 1) * t - s));
718
+ }
719
+ return 0.5 * ((t -= 2) * t * (((s *= 1.525) + 1) * t + s) + 2);
720
+ },
721
+ easeInBounce: (t)=>1 - effects.easeOutBounce(1 - t),
722
+ easeOutBounce (t) {
723
+ const m = 7.5625;
724
+ const d = 2.75;
725
+ if (t < 1 / d) {
726
+ return m * t * t;
727
+ }
728
+ if (t < 2 / d) {
729
+ return m * (t -= 1.5 / d) * t + 0.75;
730
+ }
731
+ if (t < 2.5 / d) {
732
+ return m * (t -= 2.25 / d) * t + 0.9375;
733
+ }
734
+ return m * (t -= 2.625 / d) * t + 0.984375;
735
+ },
736
+ easeInOutBounce: (t)=>t < 0.5 ? effects.easeInBounce(t * 2) * 0.5 : effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5
737
+ };
738
+
739
+ function isPatternOrGradient(value) {
740
+ if (value && typeof value === 'object') {
741
+ const type = value.toString();
742
+ return type === '[object CanvasPattern]' || type === '[object CanvasGradient]';
743
+ }
744
+ return false;
745
+ }
746
+ function color(value) {
747
+ return isPatternOrGradient(value) ? value : new Color(value);
748
+ }
749
+ function getHoverColor(value) {
750
+ return isPatternOrGradient(value) ? value : new Color(value).saturate(0.5).darken(0.1).hexString();
751
+ }
752
+
753
+ const numbers = [
754
+ 'x',
755
+ 'y',
756
+ 'borderWidth',
757
+ 'radius',
758
+ 'tension'
759
+ ];
760
+ const colors = [
761
+ 'color',
762
+ 'borderColor',
763
+ 'backgroundColor'
764
+ ];
765
+ function applyAnimationsDefaults(defaults) {
766
+ defaults.set('animation', {
767
+ delay: undefined,
768
+ duration: 1000,
769
+ easing: 'easeOutQuart',
770
+ fn: undefined,
771
+ from: undefined,
772
+ loop: undefined,
773
+ to: undefined,
774
+ type: undefined
775
+ });
776
+ defaults.describe('animation', {
777
+ _fallback: false,
778
+ _indexable: false,
779
+ _scriptable: (name)=>name !== 'onProgress' && name !== 'onComplete' && name !== 'fn'
780
+ });
781
+ defaults.set('animations', {
782
+ colors: {
783
+ type: 'color',
784
+ properties: colors
785
+ },
786
+ numbers: {
787
+ type: 'number',
788
+ properties: numbers
789
+ }
790
+ });
791
+ defaults.describe('animations', {
792
+ _fallback: 'animation'
793
+ });
794
+ defaults.set('transitions', {
795
+ active: {
796
+ animation: {
797
+ duration: 400
798
+ }
799
+ },
800
+ resize: {
801
+ animation: {
802
+ duration: 0
803
+ }
804
+ },
805
+ show: {
806
+ animations: {
807
+ colors: {
808
+ from: 'transparent'
809
+ },
810
+ visible: {
811
+ type: 'boolean',
812
+ duration: 0
813
+ }
814
+ }
815
+ },
816
+ hide: {
817
+ animations: {
818
+ colors: {
819
+ to: 'transparent'
820
+ },
821
+ visible: {
822
+ type: 'boolean',
823
+ easing: 'linear',
824
+ fn: (v)=>v | 0
825
+ }
826
+ }
827
+ }
828
+ });
829
+ }
830
+
831
+ function applyLayoutsDefaults(defaults) {
832
+ defaults.set('layout', {
833
+ autoPadding: true,
834
+ padding: {
835
+ top: 0,
836
+ right: 0,
837
+ bottom: 0,
838
+ left: 0
839
+ }
840
+ });
841
+ }
842
+
843
+ const intlCache = new Map();
844
+ function getNumberFormat(locale, options) {
845
+ options = options || {};
846
+ const cacheKey = locale + JSON.stringify(options);
847
+ let formatter = intlCache.get(cacheKey);
848
+ if (!formatter) {
849
+ formatter = new Intl.NumberFormat(locale, options);
850
+ intlCache.set(cacheKey, formatter);
851
+ }
852
+ return formatter;
853
+ }
854
+ function formatNumber(num, locale, options) {
855
+ return getNumberFormat(locale, options).format(num);
856
+ }
857
+
858
+ const formatters = {
859
+ values (value) {
860
+ return isArray(value) ? value : '' + value;
861
+ },
862
+ numeric (tickValue, index, ticks) {
863
+ if (tickValue === 0) {
864
+ return '0';
865
+ }
866
+ const locale = this.chart.options.locale;
867
+ let notation;
868
+ let delta = tickValue;
869
+ if (ticks.length > 1) {
870
+ const maxTick = Math.max(Math.abs(ticks[0].value), Math.abs(ticks[ticks.length - 1].value));
871
+ if (maxTick < 1e-4 || maxTick > 1e+15) {
872
+ notation = 'scientific';
873
+ }
874
+ delta = calculateDelta(tickValue, ticks);
875
+ }
876
+ const logDelta = log10(Math.abs(delta));
877
+ const numDecimal = isNaN(logDelta) ? 1 : Math.max(Math.min(-1 * Math.floor(logDelta), 20), 0);
878
+ const options = {
879
+ notation,
880
+ minimumFractionDigits: numDecimal,
881
+ maximumFractionDigits: numDecimal
882
+ };
883
+ Object.assign(options, this.options.ticks.format);
884
+ return formatNumber(tickValue, locale, options);
885
+ }};
886
+ function calculateDelta(tickValue, ticks) {
887
+ let delta = ticks.length > 3 ? ticks[2].value - ticks[1].value : ticks[1].value - ticks[0].value;
888
+ if (Math.abs(delta) >= 1 && tickValue !== Math.floor(tickValue)) {
889
+ delta = tickValue - Math.floor(tickValue);
890
+ }
891
+ return delta;
892
+ }
893
+ var Ticks = {
894
+ formatters
895
+ };
896
+
897
+ function applyScaleDefaults(defaults) {
898
+ defaults.set('scale', {
899
+ display: true,
900
+ offset: false,
901
+ reverse: false,
902
+ beginAtZero: false,
903
+ bounds: 'ticks',
904
+ clip: true,
905
+ grace: 0,
906
+ grid: {
907
+ display: true,
908
+ lineWidth: 1,
909
+ drawOnChartArea: true,
910
+ drawTicks: true,
911
+ tickLength: 8,
912
+ tickWidth: (_ctx, options)=>options.lineWidth,
913
+ tickColor: (_ctx, options)=>options.color,
914
+ offset: false
915
+ },
916
+ border: {
917
+ display: true,
918
+ dash: [],
919
+ dashOffset: 0.0,
920
+ width: 1
921
+ },
922
+ title: {
923
+ display: false,
924
+ text: '',
925
+ padding: {
926
+ top: 4,
927
+ bottom: 4
928
+ }
929
+ },
930
+ ticks: {
931
+ minRotation: 0,
932
+ maxRotation: 50,
933
+ mirror: false,
934
+ textStrokeWidth: 0,
935
+ textStrokeColor: '',
936
+ padding: 3,
937
+ display: true,
938
+ autoSkip: true,
939
+ autoSkipPadding: 3,
940
+ labelOffset: 0,
941
+ callback: Ticks.formatters.values,
942
+ minor: {},
943
+ major: {},
944
+ align: 'center',
945
+ crossAlign: 'near',
946
+ showLabelBackdrop: false,
947
+ backdropColor: 'rgba(255, 255, 255, 0.75)',
948
+ backdropPadding: 2
949
+ }
950
+ });
951
+ defaults.route('scale.ticks', 'color', '', 'color');
952
+ defaults.route('scale.grid', 'color', '', 'borderColor');
953
+ defaults.route('scale.border', 'color', '', 'borderColor');
954
+ defaults.route('scale.title', 'color', '', 'color');
955
+ defaults.describe('scale', {
956
+ _fallback: false,
957
+ _scriptable: (name)=>!name.startsWith('before') && !name.startsWith('after') && name !== 'callback' && name !== 'parser',
958
+ _indexable: (name)=>name !== 'borderDash' && name !== 'tickBorderDash' && name !== 'dash'
959
+ });
960
+ defaults.describe('scales', {
961
+ _fallback: 'scale'
962
+ });
963
+ defaults.describe('scale.ticks', {
964
+ _scriptable: (name)=>name !== 'backdropPadding' && name !== 'callback',
965
+ _indexable: (name)=>name !== 'backdropPadding'
966
+ });
967
+ }
968
+
969
+ const overrides = Object.create(null);
970
+ const descriptors = Object.create(null);
971
+ function getScope$1(node, key) {
972
+ if (!key) {
973
+ return node;
974
+ }
975
+ const keys = key.split('.');
976
+ for(let i = 0, n = keys.length; i < n; ++i){
977
+ const k = keys[i];
978
+ node = node[k] || (node[k] = Object.create(null));
979
+ }
980
+ return node;
981
+ }
982
+ function set(root, scope, values) {
983
+ if (typeof scope === 'string') {
984
+ return merge(getScope$1(root, scope), values);
985
+ }
986
+ return merge(getScope$1(root, ''), scope);
987
+ }
988
+ class Defaults {
989
+ constructor(_descriptors, _appliers){
990
+ this.animation = undefined;
991
+ this.backgroundColor = 'rgba(0,0,0,0.1)';
992
+ this.borderColor = 'rgba(0,0,0,0.1)';
993
+ this.color = '#666';
994
+ this.datasets = {};
995
+ this.devicePixelRatio = (context)=>context.chart.platform.getDevicePixelRatio();
996
+ this.elements = {};
997
+ this.events = [
998
+ 'mousemove',
999
+ 'mouseout',
1000
+ 'click',
1001
+ 'touchstart',
1002
+ 'touchmove'
1003
+ ];
1004
+ this.font = {
1005
+ family: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
1006
+ size: 12,
1007
+ style: 'normal',
1008
+ lineHeight: 1.2,
1009
+ weight: null
1010
+ };
1011
+ this.hover = {};
1012
+ this.hoverBackgroundColor = (ctx, options)=>getHoverColor(options.backgroundColor);
1013
+ this.hoverBorderColor = (ctx, options)=>getHoverColor(options.borderColor);
1014
+ this.hoverColor = (ctx, options)=>getHoverColor(options.color);
1015
+ this.indexAxis = 'x';
1016
+ this.interaction = {
1017
+ mode: 'nearest',
1018
+ intersect: true,
1019
+ includeInvisible: false
1020
+ };
1021
+ this.maintainAspectRatio = true;
1022
+ this.onHover = null;
1023
+ this.onClick = null;
1024
+ this.parsing = true;
1025
+ this.plugins = {};
1026
+ this.responsive = true;
1027
+ this.scale = undefined;
1028
+ this.scales = {};
1029
+ this.showLine = true;
1030
+ this.drawActiveElementsOnTop = true;
1031
+ this.describe(_descriptors);
1032
+ this.apply(_appliers);
1033
+ }
1034
+ set(scope, values) {
1035
+ return set(this, scope, values);
1036
+ }
1037
+ get(scope) {
1038
+ return getScope$1(this, scope);
1039
+ }
1040
+ describe(scope, values) {
1041
+ return set(descriptors, scope, values);
1042
+ }
1043
+ override(scope, values) {
1044
+ return set(overrides, scope, values);
1045
+ }
1046
+ route(scope, name, targetScope, targetName) {
1047
+ const scopeObject = getScope$1(this, scope);
1048
+ const targetScopeObject = getScope$1(this, targetScope);
1049
+ const privateName = '_' + name;
1050
+ Object.defineProperties(scopeObject, {
1051
+ [privateName]: {
1052
+ value: scopeObject[name],
1053
+ writable: true
1054
+ },
1055
+ [name]: {
1056
+ enumerable: true,
1057
+ get () {
1058
+ const local = this[privateName];
1059
+ const target = targetScopeObject[targetName];
1060
+ if (isObject(local)) {
1061
+ return Object.assign({}, target, local);
1062
+ }
1063
+ return valueOrDefault(local, target);
1064
+ },
1065
+ set (value) {
1066
+ this[privateName] = value;
1067
+ }
1068
+ }
1069
+ });
1070
+ }
1071
+ apply(appliers) {
1072
+ appliers.forEach((apply)=>apply(this));
1073
+ }
1074
+ }
1075
+ var defaults = /* #__PURE__ */ new Defaults({
1076
+ _scriptable: (name)=>!name.startsWith('on'),
1077
+ _indexable: (name)=>name !== 'events',
1078
+ hover: {
1079
+ _fallback: 'interaction'
1080
+ },
1081
+ interaction: {
1082
+ _scriptable: false,
1083
+ _indexable: false
1084
+ }
1085
+ }, [
1086
+ applyAnimationsDefaults,
1087
+ applyLayoutsDefaults,
1088
+ applyScaleDefaults
1089
+ ]);
1090
+
1091
+ /**
1092
+ * Converts the given font object into a CSS font string.
1093
+ * @param font - A font object.
1094
+ * @return The CSS font string. See https://developer.mozilla.org/en-US/docs/Web/CSS/font
1095
+ * @private
1096
+ */ function toFontString(font) {
1097
+ if (!font || isNullOrUndef(font.size) || isNullOrUndef(font.family)) {
1098
+ return null;
1099
+ }
1100
+ return (font.style ? font.style + ' ' : '') + (font.weight ? font.weight + ' ' : '') + font.size + 'px ' + font.family;
1101
+ }
1102
+ /**
1103
+ * @private
1104
+ */ function _measureText(ctx, data, gc, longest, string) {
1105
+ let textWidth = data[string];
1106
+ if (!textWidth) {
1107
+ textWidth = data[string] = ctx.measureText(string).width;
1108
+ gc.push(string);
1109
+ }
1110
+ if (textWidth > longest) {
1111
+ longest = textWidth;
1112
+ }
1113
+ return longest;
1114
+ }
1115
+ /**
1116
+ * Returns the aligned pixel value to avoid anti-aliasing blur
1117
+ * @param chart - The chart instance.
1118
+ * @param pixel - A pixel value.
1119
+ * @param width - The width of the element.
1120
+ * @returns The aligned pixel value.
1121
+ * @private
1122
+ */ function _alignPixel(chart, pixel, width) {
1123
+ const devicePixelRatio = chart.currentDevicePixelRatio;
1124
+ const halfWidth = width !== 0 ? Math.max(width / 2, 0.5) : 0;
1125
+ return Math.round((pixel - halfWidth) * devicePixelRatio) / devicePixelRatio + halfWidth;
1126
+ }
1127
+ /**
1128
+ * Clears the entire canvas.
1129
+ */ function clearCanvas(canvas, ctx) {
1130
+ if (!ctx && !canvas) {
1131
+ return;
1132
+ }
1133
+ ctx = ctx || canvas.getContext('2d');
1134
+ ctx.save();
1135
+ // canvas.width and canvas.height do not consider the canvas transform,
1136
+ // while clearRect does
1137
+ ctx.resetTransform();
1138
+ ctx.clearRect(0, 0, canvas.width, canvas.height);
1139
+ ctx.restore();
1140
+ }
1141
+ function drawPoint(ctx, options, x, y) {
1142
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
1143
+ drawPointLegend(ctx, options, x, y, null);
1144
+ }
1145
+ // eslint-disable-next-line complexity
1146
+ function drawPointLegend(ctx, options, x, y, w) {
1147
+ let type, xOffset, yOffset, size, cornerRadius, width, xOffsetW, yOffsetW;
1148
+ const style = options.pointStyle;
1149
+ const rotation = options.rotation;
1150
+ const radius = options.radius;
1151
+ let rad = (rotation || 0) * RAD_PER_DEG;
1152
+ if (style && typeof style === 'object') {
1153
+ type = style.toString();
1154
+ if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {
1155
+ ctx.save();
1156
+ ctx.translate(x, y);
1157
+ ctx.rotate(rad);
1158
+ ctx.drawImage(style, -style.width / 2, -style.height / 2, style.width, style.height);
1159
+ ctx.restore();
1160
+ return;
1161
+ }
1162
+ }
1163
+ if (isNaN(radius) || radius <= 0) {
1164
+ return;
1165
+ }
1166
+ ctx.beginPath();
1167
+ switch(style){
1168
+ // Default includes circle
1169
+ default:
1170
+ if (w) {
1171
+ ctx.ellipse(x, y, w / 2, radius, 0, 0, TAU);
1172
+ } else {
1173
+ ctx.arc(x, y, radius, 0, TAU);
1174
+ }
1175
+ ctx.closePath();
1176
+ break;
1177
+ case 'triangle':
1178
+ width = w ? w / 2 : radius;
1179
+ ctx.moveTo(x + Math.sin(rad) * width, y - Math.cos(rad) * radius);
1180
+ rad += TWO_THIRDS_PI;
1181
+ ctx.lineTo(x + Math.sin(rad) * width, y - Math.cos(rad) * radius);
1182
+ rad += TWO_THIRDS_PI;
1183
+ ctx.lineTo(x + Math.sin(rad) * width, y - Math.cos(rad) * radius);
1184
+ ctx.closePath();
1185
+ break;
1186
+ case 'rectRounded':
1187
+ // NOTE: the rounded rect implementation changed to use `arc` instead of
1188
+ // `quadraticCurveTo` since it generates better results when rect is
1189
+ // almost a circle. 0.516 (instead of 0.5) produces results with visually
1190
+ // closer proportion to the previous impl and it is inscribed in the
1191
+ // circle with `radius`. For more details, see the following PRs:
1192
+ // https://github.com/chartjs/Chart.js/issues/5597
1193
+ // https://github.com/chartjs/Chart.js/issues/5858
1194
+ cornerRadius = radius * 0.516;
1195
+ size = radius - cornerRadius;
1196
+ xOffset = Math.cos(rad + QUARTER_PI) * size;
1197
+ xOffsetW = Math.cos(rad + QUARTER_PI) * (w ? w / 2 - cornerRadius : size);
1198
+ yOffset = Math.sin(rad + QUARTER_PI) * size;
1199
+ yOffsetW = Math.sin(rad + QUARTER_PI) * (w ? w / 2 - cornerRadius : size);
1200
+ ctx.arc(x - xOffsetW, y - yOffset, cornerRadius, rad - PI, rad - HALF_PI);
1201
+ ctx.arc(x + yOffsetW, y - xOffset, cornerRadius, rad - HALF_PI, rad);
1202
+ ctx.arc(x + xOffsetW, y + yOffset, cornerRadius, rad, rad + HALF_PI);
1203
+ ctx.arc(x - yOffsetW, y + xOffset, cornerRadius, rad + HALF_PI, rad + PI);
1204
+ ctx.closePath();
1205
+ break;
1206
+ case 'rect':
1207
+ if (!rotation) {
1208
+ size = Math.SQRT1_2 * radius;
1209
+ width = w ? w / 2 : size;
1210
+ ctx.rect(x - width, y - size, 2 * width, 2 * size);
1211
+ break;
1212
+ }
1213
+ rad += QUARTER_PI;
1214
+ /* falls through */ case 'rectRot':
1215
+ xOffsetW = Math.cos(rad) * (w ? w / 2 : radius);
1216
+ xOffset = Math.cos(rad) * radius;
1217
+ yOffset = Math.sin(rad) * radius;
1218
+ yOffsetW = Math.sin(rad) * (w ? w / 2 : radius);
1219
+ ctx.moveTo(x - xOffsetW, y - yOffset);
1220
+ ctx.lineTo(x + yOffsetW, y - xOffset);
1221
+ ctx.lineTo(x + xOffsetW, y + yOffset);
1222
+ ctx.lineTo(x - yOffsetW, y + xOffset);
1223
+ ctx.closePath();
1224
+ break;
1225
+ case 'crossRot':
1226
+ rad += QUARTER_PI;
1227
+ /* falls through */ case 'cross':
1228
+ xOffsetW = Math.cos(rad) * (w ? w / 2 : radius);
1229
+ xOffset = Math.cos(rad) * radius;
1230
+ yOffset = Math.sin(rad) * radius;
1231
+ yOffsetW = Math.sin(rad) * (w ? w / 2 : radius);
1232
+ ctx.moveTo(x - xOffsetW, y - yOffset);
1233
+ ctx.lineTo(x + xOffsetW, y + yOffset);
1234
+ ctx.moveTo(x + yOffsetW, y - xOffset);
1235
+ ctx.lineTo(x - yOffsetW, y + xOffset);
1236
+ break;
1237
+ case 'star':
1238
+ xOffsetW = Math.cos(rad) * (w ? w / 2 : radius);
1239
+ xOffset = Math.cos(rad) * radius;
1240
+ yOffset = Math.sin(rad) * radius;
1241
+ yOffsetW = Math.sin(rad) * (w ? w / 2 : radius);
1242
+ ctx.moveTo(x - xOffsetW, y - yOffset);
1243
+ ctx.lineTo(x + xOffsetW, y + yOffset);
1244
+ ctx.moveTo(x + yOffsetW, y - xOffset);
1245
+ ctx.lineTo(x - yOffsetW, y + xOffset);
1246
+ rad += QUARTER_PI;
1247
+ xOffsetW = Math.cos(rad) * (w ? w / 2 : radius);
1248
+ xOffset = Math.cos(rad) * radius;
1249
+ yOffset = Math.sin(rad) * radius;
1250
+ yOffsetW = Math.sin(rad) * (w ? w / 2 : radius);
1251
+ ctx.moveTo(x - xOffsetW, y - yOffset);
1252
+ ctx.lineTo(x + xOffsetW, y + yOffset);
1253
+ ctx.moveTo(x + yOffsetW, y - xOffset);
1254
+ ctx.lineTo(x - yOffsetW, y + xOffset);
1255
+ break;
1256
+ case 'line':
1257
+ xOffset = w ? w / 2 : Math.cos(rad) * radius;
1258
+ yOffset = Math.sin(rad) * radius;
1259
+ ctx.moveTo(x - xOffset, y - yOffset);
1260
+ ctx.lineTo(x + xOffset, y + yOffset);
1261
+ break;
1262
+ case 'dash':
1263
+ ctx.moveTo(x, y);
1264
+ ctx.lineTo(x + Math.cos(rad) * (w ? w / 2 : radius), y + Math.sin(rad) * radius);
1265
+ break;
1266
+ case false:
1267
+ ctx.closePath();
1268
+ break;
1269
+ }
1270
+ ctx.fill();
1271
+ if (options.borderWidth > 0) {
1272
+ ctx.stroke();
1273
+ }
1274
+ }
1275
+ /**
1276
+ * Returns true if the point is inside the rectangle
1277
+ * @param point - The point to test
1278
+ * @param area - The rectangle
1279
+ * @param margin - allowed margin
1280
+ * @private
1281
+ */ function _isPointInArea(point, area, margin) {
1282
+ margin = margin || 0.5; // margin - default is to match rounded decimals
1283
+ return !area || point && point.x > area.left - margin && point.x < area.right + margin && point.y > area.top - margin && point.y < area.bottom + margin;
1284
+ }
1285
+ function clipArea(ctx, area) {
1286
+ ctx.save();
1287
+ ctx.beginPath();
1288
+ ctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top);
1289
+ ctx.clip();
1290
+ }
1291
+ function unclipArea(ctx) {
1292
+ ctx.restore();
1293
+ }
1294
+ /**
1295
+ * @private
1296
+ */ function _steppedLineTo(ctx, previous, target, flip, mode) {
1297
+ if (!previous) {
1298
+ return ctx.lineTo(target.x, target.y);
1299
+ }
1300
+ if (mode === 'middle') {
1301
+ const midpoint = (previous.x + target.x) / 2.0;
1302
+ ctx.lineTo(midpoint, previous.y);
1303
+ ctx.lineTo(midpoint, target.y);
1304
+ } else if (mode === 'after' !== !!flip) {
1305
+ ctx.lineTo(previous.x, target.y);
1306
+ } else {
1307
+ ctx.lineTo(target.x, previous.y);
1308
+ }
1309
+ ctx.lineTo(target.x, target.y);
1310
+ }
1311
+ /**
1312
+ * @private
1313
+ */ function _bezierCurveTo(ctx, previous, target, flip) {
1314
+ if (!previous) {
1315
+ return ctx.lineTo(target.x, target.y);
1316
+ }
1317
+ ctx.bezierCurveTo(flip ? previous.cp1x : previous.cp2x, flip ? previous.cp1y : previous.cp2y, flip ? target.cp2x : target.cp1x, flip ? target.cp2y : target.cp1y, target.x, target.y);
1318
+ }
1319
+ function setRenderOpts(ctx, opts) {
1320
+ if (opts.translation) {
1321
+ ctx.translate(opts.translation[0], opts.translation[1]);
1322
+ }
1323
+ if (!isNullOrUndef(opts.rotation)) {
1324
+ ctx.rotate(opts.rotation);
1325
+ }
1326
+ if (opts.color) {
1327
+ ctx.fillStyle = opts.color;
1328
+ }
1329
+ if (opts.textAlign) {
1330
+ ctx.textAlign = opts.textAlign;
1331
+ }
1332
+ if (opts.textBaseline) {
1333
+ ctx.textBaseline = opts.textBaseline;
1334
+ }
1335
+ }
1336
+ function decorateText(ctx, x, y, line, opts) {
1337
+ if (opts.strikethrough || opts.underline) {
1338
+ /**
1339
+ * Now that IE11 support has been dropped, we can use more
1340
+ * of the TextMetrics object. The actual bounding boxes
1341
+ * are unflagged in Chrome, Firefox, Edge, and Safari so they
1342
+ * can be safely used.
1343
+ * See https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics#Browser_compatibility
1344
+ */ const metrics = ctx.measureText(line);
1345
+ const left = x - metrics.actualBoundingBoxLeft;
1346
+ const right = x + metrics.actualBoundingBoxRight;
1347
+ const top = y - metrics.actualBoundingBoxAscent;
1348
+ const bottom = y + metrics.actualBoundingBoxDescent;
1349
+ const yDecoration = opts.strikethrough ? (top + bottom) / 2 : bottom;
1350
+ ctx.strokeStyle = ctx.fillStyle;
1351
+ ctx.beginPath();
1352
+ ctx.lineWidth = opts.decorationWidth || 2;
1353
+ ctx.moveTo(left, yDecoration);
1354
+ ctx.lineTo(right, yDecoration);
1355
+ ctx.stroke();
1356
+ }
1357
+ }
1358
+ function drawBackdrop(ctx, opts) {
1359
+ const oldColor = ctx.fillStyle;
1360
+ ctx.fillStyle = opts.color;
1361
+ ctx.fillRect(opts.left, opts.top, opts.width, opts.height);
1362
+ ctx.fillStyle = oldColor;
1363
+ }
1364
+ /**
1365
+ * Render text onto the canvas
1366
+ */ function renderText(ctx, text, x, y, font, opts = {}) {
1367
+ const lines = isArray(text) ? text : [
1368
+ text
1369
+ ];
1370
+ const stroke = opts.strokeWidth > 0 && opts.strokeColor !== '';
1371
+ let i, line;
1372
+ ctx.save();
1373
+ ctx.font = font.string;
1374
+ setRenderOpts(ctx, opts);
1375
+ for(i = 0; i < lines.length; ++i){
1376
+ line = lines[i];
1377
+ if (opts.backdrop) {
1378
+ drawBackdrop(ctx, opts.backdrop);
1379
+ }
1380
+ if (stroke) {
1381
+ if (opts.strokeColor) {
1382
+ ctx.strokeStyle = opts.strokeColor;
1383
+ }
1384
+ if (!isNullOrUndef(opts.strokeWidth)) {
1385
+ ctx.lineWidth = opts.strokeWidth;
1386
+ }
1387
+ ctx.strokeText(line, x, y, opts.maxWidth);
1388
+ }
1389
+ ctx.fillText(line, x, y, opts.maxWidth);
1390
+ decorateText(ctx, x, y, line, opts);
1391
+ y += Number(font.lineHeight);
1392
+ }
1393
+ ctx.restore();
1394
+ }
1395
+ /**
1396
+ * Add a path of a rectangle with rounded corners to the current sub-path
1397
+ * @param ctx - Context
1398
+ * @param rect - Bounding rect
1399
+ */ function addRoundedRectPath(ctx, rect) {
1400
+ const { x , y , w , h , radius } = rect;
1401
+ // top left arc
1402
+ ctx.arc(x + radius.topLeft, y + radius.topLeft, radius.topLeft, 1.5 * PI, PI, true);
1403
+ // line from top left to bottom left
1404
+ ctx.lineTo(x, y + h - radius.bottomLeft);
1405
+ // bottom left arc
1406
+ ctx.arc(x + radius.bottomLeft, y + h - radius.bottomLeft, radius.bottomLeft, PI, HALF_PI, true);
1407
+ // line from bottom left to bottom right
1408
+ ctx.lineTo(x + w - radius.bottomRight, y + h);
1409
+ // bottom right arc
1410
+ ctx.arc(x + w - radius.bottomRight, y + h - radius.bottomRight, radius.bottomRight, HALF_PI, 0, true);
1411
+ // line from bottom right to top right
1412
+ ctx.lineTo(x + w, y + radius.topRight);
1413
+ // top right arc
1414
+ ctx.arc(x + w - radius.topRight, y + radius.topRight, radius.topRight, 0, -HALF_PI, true);
1415
+ // line from top right to top left
1416
+ ctx.lineTo(x + radius.topLeft, y);
1417
+ }
1418
+
1419
+ const LINE_HEIGHT = /^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/;
1420
+ const FONT_STYLE = /^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;
1421
+ /**
1422
+ * @alias Chart.helpers.options
1423
+ * @namespace
1424
+ */ /**
1425
+ * Converts the given line height `value` in pixels for a specific font `size`.
1426
+ * @param value - The lineHeight to parse (eg. 1.6, '14px', '75%', '1.6em').
1427
+ * @param size - The font size (in pixels) used to resolve relative `value`.
1428
+ * @returns The effective line height in pixels (size * 1.2 if value is invalid).
1429
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/line-height
1430
+ * @since 2.7.0
1431
+ */ function toLineHeight(value, size) {
1432
+ const matches = ('' + value).match(LINE_HEIGHT);
1433
+ if (!matches || matches[1] === 'normal') {
1434
+ return size * 1.2;
1435
+ }
1436
+ value = +matches[2];
1437
+ switch(matches[3]){
1438
+ case 'px':
1439
+ return value;
1440
+ case '%':
1441
+ value /= 100;
1442
+ break;
1443
+ }
1444
+ return size * value;
1445
+ }
1446
+ const numberOrZero = (v)=>+v || 0;
1447
+ function _readValueToProps(value, props) {
1448
+ const ret = {};
1449
+ const objProps = isObject(props);
1450
+ const keys = objProps ? Object.keys(props) : props;
1451
+ const read = isObject(value) ? objProps ? (prop)=>valueOrDefault(value[prop], value[props[prop]]) : (prop)=>value[prop] : ()=>value;
1452
+ for (const prop of keys){
1453
+ ret[prop] = numberOrZero(read(prop));
1454
+ }
1455
+ return ret;
1456
+ }
1457
+ /**
1458
+ * Converts the given value into a TRBL object.
1459
+ * @param value - If a number, set the value to all TRBL component,
1460
+ * else, if an object, use defined properties and sets undefined ones to 0.
1461
+ * x / y are shorthands for same value for left/right and top/bottom.
1462
+ * @returns The padding values (top, right, bottom, left)
1463
+ * @since 3.0.0
1464
+ */ function toTRBL(value) {
1465
+ return _readValueToProps(value, {
1466
+ top: 'y',
1467
+ right: 'x',
1468
+ bottom: 'y',
1469
+ left: 'x'
1470
+ });
1471
+ }
1472
+ /**
1473
+ * Converts the given value into a TRBL corners object (similar with css border-radius).
1474
+ * @param value - If a number, set the value to all TRBL corner components,
1475
+ * else, if an object, use defined properties and sets undefined ones to 0.
1476
+ * @returns The TRBL corner values (topLeft, topRight, bottomLeft, bottomRight)
1477
+ * @since 3.0.0
1478
+ */ function toTRBLCorners(value) {
1479
+ return _readValueToProps(value, [
1480
+ 'topLeft',
1481
+ 'topRight',
1482
+ 'bottomLeft',
1483
+ 'bottomRight'
1484
+ ]);
1485
+ }
1486
+ /**
1487
+ * Converts the given value into a padding object with pre-computed width/height.
1488
+ * @param value - If a number, set the value to all TRBL component,
1489
+ * else, if an object, use defined properties and sets undefined ones to 0.
1490
+ * x / y are shorthands for same value for left/right and top/bottom.
1491
+ * @returns The padding values (top, right, bottom, left, width, height)
1492
+ * @since 2.7.0
1493
+ */ function toPadding(value) {
1494
+ const obj = toTRBL(value);
1495
+ obj.width = obj.left + obj.right;
1496
+ obj.height = obj.top + obj.bottom;
1497
+ return obj;
1498
+ }
1499
+ /**
1500
+ * Parses font options and returns the font object.
1501
+ * @param options - A object that contains font options to be parsed.
1502
+ * @param fallback - A object that contains fallback font options.
1503
+ * @return The font object.
1504
+ * @private
1505
+ */ function toFont(options, fallback) {
1506
+ options = options || {};
1507
+ fallback = fallback || defaults.font;
1508
+ let size = valueOrDefault(options.size, fallback.size);
1509
+ if (typeof size === 'string') {
1510
+ size = parseInt(size, 10);
1511
+ }
1512
+ let style = valueOrDefault(options.style, fallback.style);
1513
+ if (style && !('' + style).match(FONT_STYLE)) {
1514
+ console.warn('Invalid font style specified: "' + style + '"');
1515
+ style = undefined;
1516
+ }
1517
+ const font = {
1518
+ family: valueOrDefault(options.family, fallback.family),
1519
+ lineHeight: toLineHeight(valueOrDefault(options.lineHeight, fallback.lineHeight), size),
1520
+ size,
1521
+ style,
1522
+ weight: valueOrDefault(options.weight, fallback.weight),
1523
+ string: ''
1524
+ };
1525
+ font.string = toFontString(font);
1526
+ return font;
1527
+ }
1528
+ /**
1529
+ * Evaluates the given `inputs` sequentially and returns the first defined value.
1530
+ * @param inputs - An array of values, falling back to the last value.
1531
+ * @param context - If defined and the current value is a function, the value
1532
+ * is called with `context` as first argument and the result becomes the new input.
1533
+ * @param index - If defined and the current value is an array, the value
1534
+ * at `index` become the new input.
1535
+ * @param info - object to return information about resolution in
1536
+ * @param info.cacheable - Will be set to `false` if option is not cacheable.
1537
+ * @since 2.7.0
1538
+ */ function resolve(inputs, context, index, info) {
1539
+ let i, ilen, value;
1540
+ for(i = 0, ilen = inputs.length; i < ilen; ++i){
1541
+ value = inputs[i];
1542
+ if (value === undefined) {
1543
+ continue;
1544
+ }
1545
+ if (value !== undefined) {
1546
+ return value;
1547
+ }
1548
+ }
1549
+ }
1550
+ /**
1551
+ * @param minmax
1552
+ * @param grace
1553
+ * @param beginAtZero
1554
+ * @private
1555
+ */ function _addGrace(minmax, grace, beginAtZero) {
1556
+ const { min , max } = minmax;
1557
+ const change = toDimension(grace, (max - min) / 2);
1558
+ const keepZero = (value, add)=>beginAtZero && value === 0 ? 0 : value + add;
1559
+ return {
1560
+ min: keepZero(min, -Math.abs(change)),
1561
+ max: keepZero(max, change)
1562
+ };
1563
+ }
1564
+ function createContext(parentContext, context) {
1565
+ return Object.assign(Object.create(parentContext), context);
1566
+ }
1567
+
1568
+ /**
1569
+ * Creates a Proxy for resolving raw values for options.
1570
+ * @param scopes - The option scopes to look for values, in resolution order
1571
+ * @param prefixes - The prefixes for values, in resolution order.
1572
+ * @param rootScopes - The root option scopes
1573
+ * @param fallback - Parent scopes fallback
1574
+ * @param getTarget - callback for getting the target for changed values
1575
+ * @returns Proxy
1576
+ * @private
1577
+ */ function _createResolver(scopes, prefixes = [
1578
+ ''
1579
+ ], rootScopes, fallback, getTarget = ()=>scopes[0]) {
1580
+ const finalRootScopes = rootScopes || scopes;
1581
+ if (typeof fallback === 'undefined') {
1582
+ fallback = _resolve('_fallback', scopes);
1583
+ }
1584
+ const cache = {
1585
+ [Symbol.toStringTag]: 'Object',
1586
+ _cacheable: true,
1587
+ _scopes: scopes,
1588
+ _rootScopes: finalRootScopes,
1589
+ _fallback: fallback,
1590
+ _getTarget: getTarget,
1591
+ override: (scope)=>_createResolver([
1592
+ scope,
1593
+ ...scopes
1594
+ ], prefixes, finalRootScopes, fallback)
1595
+ };
1596
+ return new Proxy(cache, {
1597
+ /**
1598
+ * A trap for the delete operator.
1599
+ */ deleteProperty (target, prop) {
1600
+ delete target[prop]; // remove from cache
1601
+ delete target._keys; // remove cached keys
1602
+ delete scopes[0][prop]; // remove from top level scope
1603
+ return true;
1604
+ },
1605
+ /**
1606
+ * A trap for getting property values.
1607
+ */ get (target, prop) {
1608
+ return _cached(target, prop, ()=>_resolveWithPrefixes(prop, prefixes, scopes, target));
1609
+ },
1610
+ /**
1611
+ * A trap for Object.getOwnPropertyDescriptor.
1612
+ * Also used by Object.hasOwnProperty.
1613
+ */ getOwnPropertyDescriptor (target, prop) {
1614
+ return Reflect.getOwnPropertyDescriptor(target._scopes[0], prop);
1615
+ },
1616
+ /**
1617
+ * A trap for Object.getPrototypeOf.
1618
+ */ getPrototypeOf () {
1619
+ return Reflect.getPrototypeOf(scopes[0]);
1620
+ },
1621
+ /**
1622
+ * A trap for the in operator.
1623
+ */ has (target, prop) {
1624
+ return getKeysFromAllScopes(target).includes(prop);
1625
+ },
1626
+ /**
1627
+ * A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols.
1628
+ */ ownKeys (target) {
1629
+ return getKeysFromAllScopes(target);
1630
+ },
1631
+ /**
1632
+ * A trap for setting property values.
1633
+ */ set (target, prop, value) {
1634
+ const storage = target._storage || (target._storage = getTarget());
1635
+ target[prop] = storage[prop] = value; // set to top level scope + cache
1636
+ delete target._keys; // remove cached keys
1637
+ return true;
1638
+ }
1639
+ });
1640
+ }
1641
+ /**
1642
+ * Returns an Proxy for resolving option values with context.
1643
+ * @param proxy - The Proxy returned by `_createResolver`
1644
+ * @param context - Context object for scriptable/indexable options
1645
+ * @param subProxy - The proxy provided for scriptable options
1646
+ * @param descriptorDefaults - Defaults for descriptors
1647
+ * @private
1648
+ */ function _attachContext(proxy, context, subProxy, descriptorDefaults) {
1649
+ const cache = {
1650
+ _cacheable: false,
1651
+ _proxy: proxy,
1652
+ _context: context,
1653
+ _subProxy: subProxy,
1654
+ _stack: new Set(),
1655
+ _descriptors: _descriptors(proxy, descriptorDefaults),
1656
+ setContext: (ctx)=>_attachContext(proxy, ctx, subProxy, descriptorDefaults),
1657
+ override: (scope)=>_attachContext(proxy.override(scope), context, subProxy, descriptorDefaults)
1658
+ };
1659
+ return new Proxy(cache, {
1660
+ /**
1661
+ * A trap for the delete operator.
1662
+ */ deleteProperty (target, prop) {
1663
+ delete target[prop]; // remove from cache
1664
+ delete proxy[prop]; // remove from proxy
1665
+ return true;
1666
+ },
1667
+ /**
1668
+ * A trap for getting property values.
1669
+ */ get (target, prop, receiver) {
1670
+ return _cached(target, prop, ()=>_resolveWithContext(target, prop, receiver));
1671
+ },
1672
+ /**
1673
+ * A trap for Object.getOwnPropertyDescriptor.
1674
+ * Also used by Object.hasOwnProperty.
1675
+ */ getOwnPropertyDescriptor (target, prop) {
1676
+ return target._descriptors.allKeys ? Reflect.has(proxy, prop) ? {
1677
+ enumerable: true,
1678
+ configurable: true
1679
+ } : undefined : Reflect.getOwnPropertyDescriptor(proxy, prop);
1680
+ },
1681
+ /**
1682
+ * A trap for Object.getPrototypeOf.
1683
+ */ getPrototypeOf () {
1684
+ return Reflect.getPrototypeOf(proxy);
1685
+ },
1686
+ /**
1687
+ * A trap for the in operator.
1688
+ */ has (target, prop) {
1689
+ return Reflect.has(proxy, prop);
1690
+ },
1691
+ /**
1692
+ * A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols.
1693
+ */ ownKeys () {
1694
+ return Reflect.ownKeys(proxy);
1695
+ },
1696
+ /**
1697
+ * A trap for setting property values.
1698
+ */ set (target, prop, value) {
1699
+ proxy[prop] = value; // set to proxy
1700
+ delete target[prop]; // remove from cache
1701
+ return true;
1702
+ }
1703
+ });
1704
+ }
1705
+ /**
1706
+ * @private
1707
+ */ function _descriptors(proxy, defaults = {
1708
+ scriptable: true,
1709
+ indexable: true
1710
+ }) {
1711
+ const { _scriptable =defaults.scriptable , _indexable =defaults.indexable , _allKeys =defaults.allKeys } = proxy;
1712
+ return {
1713
+ allKeys: _allKeys,
1714
+ scriptable: _scriptable,
1715
+ indexable: _indexable,
1716
+ isScriptable: isFunction(_scriptable) ? _scriptable : ()=>_scriptable,
1717
+ isIndexable: isFunction(_indexable) ? _indexable : ()=>_indexable
1718
+ };
1719
+ }
1720
+ const readKey = (prefix, name)=>prefix ? prefix + _capitalize(name) : name;
1721
+ const needsSubResolver = (prop, value)=>isObject(value) && prop !== 'adapters' && (Object.getPrototypeOf(value) === null || value.constructor === Object);
1722
+ function _cached(target, prop, resolve) {
1723
+ if (Object.prototype.hasOwnProperty.call(target, prop) || prop === 'constructor') {
1724
+ return target[prop];
1725
+ }
1726
+ const value = resolve();
1727
+ // cache the resolved value
1728
+ target[prop] = value;
1729
+ return value;
1730
+ }
1731
+ function _resolveWithContext(target, prop, receiver) {
1732
+ const { _proxy , _context , _subProxy , _descriptors: descriptors } = target;
1733
+ let value = _proxy[prop]; // resolve from proxy
1734
+ // resolve with context
1735
+ if (isFunction(value) && descriptors.isScriptable(prop)) {
1736
+ value = _resolveScriptable(prop, value, target, receiver);
1737
+ }
1738
+ if (isArray(value) && value.length) {
1739
+ value = _resolveArray(prop, value, target, descriptors.isIndexable);
1740
+ }
1741
+ if (needsSubResolver(prop, value)) {
1742
+ // if the resolved value is an object, create a sub resolver for it
1743
+ value = _attachContext(value, _context, _subProxy && _subProxy[prop], descriptors);
1744
+ }
1745
+ return value;
1746
+ }
1747
+ function _resolveScriptable(prop, getValue, target, receiver) {
1748
+ const { _proxy , _context , _subProxy , _stack } = target;
1749
+ if (_stack.has(prop)) {
1750
+ throw new Error('Recursion detected: ' + Array.from(_stack).join('->') + '->' + prop);
1751
+ }
1752
+ _stack.add(prop);
1753
+ let value = getValue(_context, _subProxy || receiver);
1754
+ _stack.delete(prop);
1755
+ if (needsSubResolver(prop, value)) {
1756
+ // When scriptable option returns an object, create a resolver on that.
1757
+ value = createSubResolver(_proxy._scopes, _proxy, prop, value);
1758
+ }
1759
+ return value;
1760
+ }
1761
+ function _resolveArray(prop, value, target, isIndexable) {
1762
+ const { _proxy , _context , _subProxy , _descriptors: descriptors } = target;
1763
+ if (typeof _context.index !== 'undefined' && isIndexable(prop)) {
1764
+ return value[_context.index % value.length];
1765
+ } else if (isObject(value[0])) {
1766
+ // Array of objects, return array or resolvers
1767
+ const arr = value;
1768
+ const scopes = _proxy._scopes.filter((s)=>s !== arr);
1769
+ value = [];
1770
+ for (const item of arr){
1771
+ const resolver = createSubResolver(scopes, _proxy, prop, item);
1772
+ value.push(_attachContext(resolver, _context, _subProxy && _subProxy[prop], descriptors));
1773
+ }
1774
+ }
1775
+ return value;
1776
+ }
1777
+ function resolveFallback(fallback, prop, value) {
1778
+ return isFunction(fallback) ? fallback(prop, value) : fallback;
1779
+ }
1780
+ const getScope = (key, parent)=>key === true ? parent : typeof key === 'string' ? resolveObjectKey(parent, key) : undefined;
1781
+ function addScopes(set, parentScopes, key, parentFallback, value) {
1782
+ for (const parent of parentScopes){
1783
+ const scope = getScope(key, parent);
1784
+ if (scope) {
1785
+ set.add(scope);
1786
+ const fallback = resolveFallback(scope._fallback, key, value);
1787
+ if (typeof fallback !== 'undefined' && fallback !== key && fallback !== parentFallback) {
1788
+ // When we reach the descriptor that defines a new _fallback, return that.
1789
+ // The fallback will resume to that new scope.
1790
+ return fallback;
1791
+ }
1792
+ } else if (scope === false && typeof parentFallback !== 'undefined' && key !== parentFallback) {
1793
+ // Fallback to `false` results to `false`, when falling back to different key.
1794
+ // For example `interaction` from `hover` or `plugins.tooltip` and `animation` from `animations`
1795
+ return null;
1796
+ }
1797
+ }
1798
+ return false;
1799
+ }
1800
+ function createSubResolver(parentScopes, resolver, prop, value) {
1801
+ const rootScopes = resolver._rootScopes;
1802
+ const fallback = resolveFallback(resolver._fallback, prop, value);
1803
+ const allScopes = [
1804
+ ...parentScopes,
1805
+ ...rootScopes
1806
+ ];
1807
+ const set = new Set();
1808
+ set.add(value);
1809
+ let key = addScopesFromKey(set, allScopes, prop, fallback || prop, value);
1810
+ if (key === null) {
1811
+ return false;
1812
+ }
1813
+ if (typeof fallback !== 'undefined' && fallback !== prop) {
1814
+ key = addScopesFromKey(set, allScopes, fallback, key, value);
1815
+ if (key === null) {
1816
+ return false;
1817
+ }
1818
+ }
1819
+ return _createResolver(Array.from(set), [
1820
+ ''
1821
+ ], rootScopes, fallback, ()=>subGetTarget(resolver, prop, value));
1822
+ }
1823
+ function addScopesFromKey(set, allScopes, key, fallback, item) {
1824
+ while(key){
1825
+ key = addScopes(set, allScopes, key, fallback, item);
1826
+ }
1827
+ return key;
1828
+ }
1829
+ function subGetTarget(resolver, prop, value) {
1830
+ const parent = resolver._getTarget();
1831
+ if (!(prop in parent)) {
1832
+ parent[prop] = {};
1833
+ }
1834
+ const target = parent[prop];
1835
+ if (isArray(target) && isObject(value)) {
1836
+ // For array of objects, the object is used to store updated values
1837
+ return value;
1838
+ }
1839
+ return target || {};
1840
+ }
1841
+ function _resolveWithPrefixes(prop, prefixes, scopes, proxy) {
1842
+ let value;
1843
+ for (const prefix of prefixes){
1844
+ value = _resolve(readKey(prefix, prop), scopes);
1845
+ if (typeof value !== 'undefined') {
1846
+ return needsSubResolver(prop, value) ? createSubResolver(scopes, proxy, prop, value) : value;
1847
+ }
1848
+ }
1849
+ }
1850
+ function _resolve(key, scopes) {
1851
+ for (const scope of scopes){
1852
+ if (!scope) {
1853
+ continue;
1854
+ }
1855
+ const value = scope[key];
1856
+ if (typeof value !== 'undefined') {
1857
+ return value;
1858
+ }
1859
+ }
1860
+ }
1861
+ function getKeysFromAllScopes(target) {
1862
+ let keys = target._keys;
1863
+ if (!keys) {
1864
+ keys = target._keys = resolveKeysFromAllScopes(target._scopes);
1865
+ }
1866
+ return keys;
1867
+ }
1868
+ function resolveKeysFromAllScopes(scopes) {
1869
+ const set = new Set();
1870
+ for (const scope of scopes){
1871
+ for (const key of Object.keys(scope).filter((k)=>!k.startsWith('_'))){
1872
+ set.add(key);
1873
+ }
1874
+ }
1875
+ return Array.from(set);
1876
+ }
1877
+
1878
+ const EPSILON = Number.EPSILON || 1e-14;
1879
+ const getPoint = (points, i)=>i < points.length && !points[i].skip && points[i];
1880
+ const getValueAxis = (indexAxis)=>indexAxis === 'x' ? 'y' : 'x';
1881
+ function splineCurve(firstPoint, middlePoint, afterPoint, t) {
1882
+ // Props to Rob Spencer at scaled innovation for his post on splining between points
1883
+ // http://scaledinnovation.com/analytics/splines/aboutSplines.html
1884
+ // This function must also respect "skipped" points
1885
+ const previous = firstPoint.skip ? middlePoint : firstPoint;
1886
+ const current = middlePoint;
1887
+ const next = afterPoint.skip ? middlePoint : afterPoint;
1888
+ const d01 = distanceBetweenPoints(current, previous);
1889
+ const d12 = distanceBetweenPoints(next, current);
1890
+ let s01 = d01 / (d01 + d12);
1891
+ let s12 = d12 / (d01 + d12);
1892
+ // If all points are the same, s01 & s02 will be inf
1893
+ s01 = isNaN(s01) ? 0 : s01;
1894
+ s12 = isNaN(s12) ? 0 : s12;
1895
+ const fa = t * s01; // scaling factor for triangle Ta
1896
+ const fb = t * s12;
1897
+ return {
1898
+ previous: {
1899
+ x: current.x - fa * (next.x - previous.x),
1900
+ y: current.y - fa * (next.y - previous.y)
1901
+ },
1902
+ next: {
1903
+ x: current.x + fb * (next.x - previous.x),
1904
+ y: current.y + fb * (next.y - previous.y)
1905
+ }
1906
+ };
1907
+ }
1908
+ /**
1909
+ * Adjust tangents to ensure monotonic properties
1910
+ */ function monotoneAdjust(points, deltaK, mK) {
1911
+ const pointsLen = points.length;
1912
+ let alphaK, betaK, tauK, squaredMagnitude, pointCurrent;
1913
+ let pointAfter = getPoint(points, 0);
1914
+ for(let i = 0; i < pointsLen - 1; ++i){
1915
+ pointCurrent = pointAfter;
1916
+ pointAfter = getPoint(points, i + 1);
1917
+ if (!pointCurrent || !pointAfter) {
1918
+ continue;
1919
+ }
1920
+ if (almostEquals(deltaK[i], 0, EPSILON)) {
1921
+ mK[i] = mK[i + 1] = 0;
1922
+ continue;
1923
+ }
1924
+ alphaK = mK[i] / deltaK[i];
1925
+ betaK = mK[i + 1] / deltaK[i];
1926
+ squaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2);
1927
+ if (squaredMagnitude <= 9) {
1928
+ continue;
1929
+ }
1930
+ tauK = 3 / Math.sqrt(squaredMagnitude);
1931
+ mK[i] = alphaK * tauK * deltaK[i];
1932
+ mK[i + 1] = betaK * tauK * deltaK[i];
1933
+ }
1934
+ }
1935
+ function monotoneCompute(points, mK, indexAxis = 'x') {
1936
+ const valueAxis = getValueAxis(indexAxis);
1937
+ const pointsLen = points.length;
1938
+ let delta, pointBefore, pointCurrent;
1939
+ let pointAfter = getPoint(points, 0);
1940
+ for(let i = 0; i < pointsLen; ++i){
1941
+ pointBefore = pointCurrent;
1942
+ pointCurrent = pointAfter;
1943
+ pointAfter = getPoint(points, i + 1);
1944
+ if (!pointCurrent) {
1945
+ continue;
1946
+ }
1947
+ const iPixel = pointCurrent[indexAxis];
1948
+ const vPixel = pointCurrent[valueAxis];
1949
+ if (pointBefore) {
1950
+ delta = (iPixel - pointBefore[indexAxis]) / 3;
1951
+ pointCurrent[`cp1${indexAxis}`] = iPixel - delta;
1952
+ pointCurrent[`cp1${valueAxis}`] = vPixel - delta * mK[i];
1953
+ }
1954
+ if (pointAfter) {
1955
+ delta = (pointAfter[indexAxis] - iPixel) / 3;
1956
+ pointCurrent[`cp2${indexAxis}`] = iPixel + delta;
1957
+ pointCurrent[`cp2${valueAxis}`] = vPixel + delta * mK[i];
1958
+ }
1959
+ }
1960
+ }
1961
+ /**
1962
+ * This function calculates Bézier control points in a similar way than |splineCurve|,
1963
+ * but preserves monotonicity of the provided data and ensures no local extremums are added
1964
+ * between the dataset discrete points due to the interpolation.
1965
+ * See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation
1966
+ */ function splineCurveMonotone(points, indexAxis = 'x') {
1967
+ const valueAxis = getValueAxis(indexAxis);
1968
+ const pointsLen = points.length;
1969
+ const deltaK = Array(pointsLen).fill(0);
1970
+ const mK = Array(pointsLen);
1971
+ // Calculate slopes (deltaK) and initialize tangents (mK)
1972
+ let i, pointBefore, pointCurrent;
1973
+ let pointAfter = getPoint(points, 0);
1974
+ for(i = 0; i < pointsLen; ++i){
1975
+ pointBefore = pointCurrent;
1976
+ pointCurrent = pointAfter;
1977
+ pointAfter = getPoint(points, i + 1);
1978
+ if (!pointCurrent) {
1979
+ continue;
1980
+ }
1981
+ if (pointAfter) {
1982
+ const slopeDelta = pointAfter[indexAxis] - pointCurrent[indexAxis];
1983
+ // In the case of two points that appear at the same x pixel, slopeDeltaX is 0
1984
+ deltaK[i] = slopeDelta !== 0 ? (pointAfter[valueAxis] - pointCurrent[valueAxis]) / slopeDelta : 0;
1985
+ }
1986
+ mK[i] = !pointBefore ? deltaK[i] : !pointAfter ? deltaK[i - 1] : sign(deltaK[i - 1]) !== sign(deltaK[i]) ? 0 : (deltaK[i - 1] + deltaK[i]) / 2;
1987
+ }
1988
+ monotoneAdjust(points, deltaK, mK);
1989
+ monotoneCompute(points, mK, indexAxis);
1990
+ }
1991
+ function capControlPoint(pt, min, max) {
1992
+ return Math.max(Math.min(pt, max), min);
1993
+ }
1994
+ function capBezierPoints(points, area) {
1995
+ let i, ilen, point, inArea, inAreaPrev;
1996
+ let inAreaNext = _isPointInArea(points[0], area);
1997
+ for(i = 0, ilen = points.length; i < ilen; ++i){
1998
+ inAreaPrev = inArea;
1999
+ inArea = inAreaNext;
2000
+ inAreaNext = i < ilen - 1 && _isPointInArea(points[i + 1], area);
2001
+ if (!inArea) {
2002
+ continue;
2003
+ }
2004
+ point = points[i];
2005
+ if (inAreaPrev) {
2006
+ point.cp1x = capControlPoint(point.cp1x, area.left, area.right);
2007
+ point.cp1y = capControlPoint(point.cp1y, area.top, area.bottom);
2008
+ }
2009
+ if (inAreaNext) {
2010
+ point.cp2x = capControlPoint(point.cp2x, area.left, area.right);
2011
+ point.cp2y = capControlPoint(point.cp2y, area.top, area.bottom);
2012
+ }
2013
+ }
2014
+ }
2015
+ /**
2016
+ * @private
2017
+ */ function _updateBezierControlPoints(points, options, area, loop, indexAxis) {
2018
+ let i, ilen, point, controlPoints;
2019
+ // Only consider points that are drawn in case the spanGaps option is used
2020
+ if (options.spanGaps) {
2021
+ points = points.filter((pt)=>!pt.skip);
2022
+ }
2023
+ if (options.cubicInterpolationMode === 'monotone') {
2024
+ splineCurveMonotone(points, indexAxis);
2025
+ } else {
2026
+ let prev = loop ? points[points.length - 1] : points[0];
2027
+ for(i = 0, ilen = points.length; i < ilen; ++i){
2028
+ point = points[i];
2029
+ controlPoints = splineCurve(prev, point, points[Math.min(i + 1, ilen - (loop ? 0 : 1)) % ilen], options.tension);
2030
+ point.cp1x = controlPoints.previous.x;
2031
+ point.cp1y = controlPoints.previous.y;
2032
+ point.cp2x = controlPoints.next.x;
2033
+ point.cp2y = controlPoints.next.y;
2034
+ prev = point;
2035
+ }
2036
+ }
2037
+ if (options.capBezierPoints) {
2038
+ capBezierPoints(points, area);
2039
+ }
2040
+ }
2041
+
2042
+ /**
2043
+ * @private
2044
+ */ function _isDomSupported() {
2045
+ return typeof window !== 'undefined' && typeof document !== 'undefined';
2046
+ }
2047
+ /**
2048
+ * @private
2049
+ */ function _getParentNode(domNode) {
2050
+ let parent = domNode.parentNode;
2051
+ if (parent && parent.toString() === '[object ShadowRoot]') {
2052
+ parent = parent.host;
2053
+ }
2054
+ return parent;
2055
+ }
2056
+ /**
2057
+ * convert max-width/max-height values that may be percentages into a number
2058
+ * @private
2059
+ */ function parseMaxStyle(styleValue, node, parentProperty) {
2060
+ let valueInPixels;
2061
+ if (typeof styleValue === 'string') {
2062
+ valueInPixels = parseInt(styleValue, 10);
2063
+ if (styleValue.indexOf('%') !== -1) {
2064
+ // percentage * size in dimension
2065
+ valueInPixels = valueInPixels / 100 * node.parentNode[parentProperty];
2066
+ }
2067
+ } else {
2068
+ valueInPixels = styleValue;
2069
+ }
2070
+ return valueInPixels;
2071
+ }
2072
+ const getComputedStyle = (element)=>element.ownerDocument.defaultView.getComputedStyle(element, null);
2073
+ function getStyle(el, property) {
2074
+ return getComputedStyle(el).getPropertyValue(property);
2075
+ }
2076
+ const positions = [
2077
+ 'top',
2078
+ 'right',
2079
+ 'bottom',
2080
+ 'left'
2081
+ ];
2082
+ function getPositionedStyle(styles, style, suffix) {
2083
+ const result = {};
2084
+ suffix = suffix ? '-' + suffix : '';
2085
+ for(let i = 0; i < 4; i++){
2086
+ const pos = positions[i];
2087
+ result[pos] = parseFloat(styles[style + '-' + pos + suffix]) || 0;
2088
+ }
2089
+ result.width = result.left + result.right;
2090
+ result.height = result.top + result.bottom;
2091
+ return result;
2092
+ }
2093
+ const useOffsetPos = (x, y, target)=>(x > 0 || y > 0) && (!target || !target.shadowRoot);
2094
+ /**
2095
+ * @param e
2096
+ * @param canvas
2097
+ * @returns Canvas position
2098
+ */ function getCanvasPosition(e, canvas) {
2099
+ const touches = e.touches;
2100
+ const source = touches && touches.length ? touches[0] : e;
2101
+ const { offsetX , offsetY } = source;
2102
+ let box = false;
2103
+ let x, y;
2104
+ if (useOffsetPos(offsetX, offsetY, e.target)) {
2105
+ x = offsetX;
2106
+ y = offsetY;
2107
+ } else {
2108
+ const rect = canvas.getBoundingClientRect();
2109
+ x = source.clientX - rect.left;
2110
+ y = source.clientY - rect.top;
2111
+ box = true;
2112
+ }
2113
+ return {
2114
+ x,
2115
+ y,
2116
+ box
2117
+ };
2118
+ }
2119
+ /**
2120
+ * Gets an event's x, y coordinates, relative to the chart area
2121
+ * @param event
2122
+ * @param chart
2123
+ * @returns x and y coordinates of the event
2124
+ */ function getRelativePosition(event, chart) {
2125
+ if ('native' in event) {
2126
+ return event;
2127
+ }
2128
+ const { canvas , currentDevicePixelRatio } = chart;
2129
+ const style = getComputedStyle(canvas);
2130
+ const borderBox = style.boxSizing === 'border-box';
2131
+ const paddings = getPositionedStyle(style, 'padding');
2132
+ const borders = getPositionedStyle(style, 'border', 'width');
2133
+ const { x , y , box } = getCanvasPosition(event, canvas);
2134
+ const xOffset = paddings.left + (box && borders.left);
2135
+ const yOffset = paddings.top + (box && borders.top);
2136
+ let { width , height } = chart;
2137
+ if (borderBox) {
2138
+ width -= paddings.width + borders.width;
2139
+ height -= paddings.height + borders.height;
2140
+ }
2141
+ return {
2142
+ x: Math.round((x - xOffset) / width * canvas.width / currentDevicePixelRatio),
2143
+ y: Math.round((y - yOffset) / height * canvas.height / currentDevicePixelRatio)
2144
+ };
2145
+ }
2146
+ function getContainerSize(canvas, width, height) {
2147
+ let maxWidth, maxHeight;
2148
+ if (width === undefined || height === undefined) {
2149
+ const container = canvas && _getParentNode(canvas);
2150
+ if (!container) {
2151
+ width = canvas.clientWidth;
2152
+ height = canvas.clientHeight;
2153
+ } else {
2154
+ const rect = container.getBoundingClientRect(); // this is the border box of the container
2155
+ const containerStyle = getComputedStyle(container);
2156
+ const containerBorder = getPositionedStyle(containerStyle, 'border', 'width');
2157
+ const containerPadding = getPositionedStyle(containerStyle, 'padding');
2158
+ width = rect.width - containerPadding.width - containerBorder.width;
2159
+ height = rect.height - containerPadding.height - containerBorder.height;
2160
+ maxWidth = parseMaxStyle(containerStyle.maxWidth, container, 'clientWidth');
2161
+ maxHeight = parseMaxStyle(containerStyle.maxHeight, container, 'clientHeight');
2162
+ }
2163
+ }
2164
+ return {
2165
+ width,
2166
+ height,
2167
+ maxWidth: maxWidth || INFINITY,
2168
+ maxHeight: maxHeight || INFINITY
2169
+ };
2170
+ }
2171
+ const round1 = (v)=>Math.round(v * 10) / 10;
2172
+ // eslint-disable-next-line complexity
2173
+ function getMaximumSize(canvas, bbWidth, bbHeight, aspectRatio) {
2174
+ const style = getComputedStyle(canvas);
2175
+ const margins = getPositionedStyle(style, 'margin');
2176
+ const maxWidth = parseMaxStyle(style.maxWidth, canvas, 'clientWidth') || INFINITY;
2177
+ const maxHeight = parseMaxStyle(style.maxHeight, canvas, 'clientHeight') || INFINITY;
2178
+ const containerSize = getContainerSize(canvas, bbWidth, bbHeight);
2179
+ let { width , height } = containerSize;
2180
+ if (style.boxSizing === 'content-box') {
2181
+ const borders = getPositionedStyle(style, 'border', 'width');
2182
+ const paddings = getPositionedStyle(style, 'padding');
2183
+ width -= paddings.width + borders.width;
2184
+ height -= paddings.height + borders.height;
2185
+ }
2186
+ width = Math.max(0, width - margins.width);
2187
+ height = Math.max(0, aspectRatio ? width / aspectRatio : height - margins.height);
2188
+ width = round1(Math.min(width, maxWidth, containerSize.maxWidth));
2189
+ height = round1(Math.min(height, maxHeight, containerSize.maxHeight));
2190
+ if (width && !height) {
2191
+ // https://github.com/chartjs/Chart.js/issues/4659
2192
+ // If the canvas has width, but no height, default to aspectRatio of 2 (canvas default)
2193
+ height = round1(width / 2);
2194
+ }
2195
+ const maintainHeight = bbWidth !== undefined || bbHeight !== undefined;
2196
+ if (maintainHeight && aspectRatio && containerSize.height && height > containerSize.height) {
2197
+ height = containerSize.height;
2198
+ width = round1(Math.floor(height * aspectRatio));
2199
+ }
2200
+ return {
2201
+ width,
2202
+ height
2203
+ };
2204
+ }
2205
+ /**
2206
+ * @param chart
2207
+ * @param forceRatio
2208
+ * @param forceStyle
2209
+ * @returns True if the canvas context size or transformation has changed.
2210
+ */ function retinaScale(chart, forceRatio, forceStyle) {
2211
+ const pixelRatio = forceRatio || 1;
2212
+ const deviceHeight = Math.floor(chart.height * pixelRatio);
2213
+ const deviceWidth = Math.floor(chart.width * pixelRatio);
2214
+ chart.height = Math.floor(chart.height);
2215
+ chart.width = Math.floor(chart.width);
2216
+ const canvas = chart.canvas;
2217
+ // If no style has been set on the canvas, the render size is used as display size,
2218
+ // making the chart visually bigger, so let's enforce it to the "correct" values.
2219
+ // See https://github.com/chartjs/Chart.js/issues/3575
2220
+ if (canvas.style && (forceStyle || !canvas.style.height && !canvas.style.width)) {
2221
+ canvas.style.height = `${chart.height}px`;
2222
+ canvas.style.width = `${chart.width}px`;
2223
+ }
2224
+ if (chart.currentDevicePixelRatio !== pixelRatio || canvas.height !== deviceHeight || canvas.width !== deviceWidth) {
2225
+ chart.currentDevicePixelRatio = pixelRatio;
2226
+ canvas.height = deviceHeight;
2227
+ canvas.width = deviceWidth;
2228
+ chart.ctx.setTransform(pixelRatio, 0, 0, pixelRatio, 0, 0);
2229
+ return true;
2230
+ }
2231
+ return false;
2232
+ }
2233
+ /**
2234
+ * Detects support for options object argument in addEventListener.
2235
+ * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support
2236
+ * @private
2237
+ */ const supportsEventListenerOptions = function() {
2238
+ let passiveSupported = false;
2239
+ try {
2240
+ const options = {
2241
+ get passive () {
2242
+ passiveSupported = true;
2243
+ return false;
2244
+ }
2245
+ };
2246
+ if (_isDomSupported()) {
2247
+ window.addEventListener('test', null, options);
2248
+ window.removeEventListener('test', null, options);
2249
+ }
2250
+ } catch (e) {
2251
+ // continue regardless of error
2252
+ }
2253
+ return passiveSupported;
2254
+ }();
2255
+ /**
2256
+ * The "used" size is the final value of a dimension property after all calculations have
2257
+ * been performed. This method uses the computed style of `element` but returns undefined
2258
+ * if the computed style is not expressed in pixels. That can happen in some cases where
2259
+ * `element` has a size relative to its parent and this last one is not yet displayed,
2260
+ * for example because of `display: none` on a parent node.
2261
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value
2262
+ * @returns Size in pixels or undefined if unknown.
2263
+ */ function readUsedSize(element, property) {
2264
+ const value = getStyle(element, property);
2265
+ const matches = value && value.match(/^(\d+)(\.\d+)?px$/);
2266
+ return matches ? +matches[1] : undefined;
2267
+ }
2268
+
2269
+ /**
2270
+ * @private
2271
+ */ function _pointInLine(p1, p2, t, mode) {
2272
+ return {
2273
+ x: p1.x + t * (p2.x - p1.x),
2274
+ y: p1.y + t * (p2.y - p1.y)
2275
+ };
2276
+ }
2277
+ /**
2278
+ * @private
2279
+ */ function _steppedInterpolation(p1, p2, t, mode) {
2280
+ return {
2281
+ x: p1.x + t * (p2.x - p1.x),
2282
+ y: mode === 'middle' ? t < 0.5 ? p1.y : p2.y : mode === 'after' ? t < 1 ? p1.y : p2.y : t > 0 ? p2.y : p1.y
2283
+ };
2284
+ }
2285
+ /**
2286
+ * @private
2287
+ */ function _bezierInterpolation(p1, p2, t, mode) {
2288
+ const cp1 = {
2289
+ x: p1.cp2x,
2290
+ y: p1.cp2y
2291
+ };
2292
+ const cp2 = {
2293
+ x: p2.cp1x,
2294
+ y: p2.cp1y
2295
+ };
2296
+ const a = _pointInLine(p1, cp1, t);
2297
+ const b = _pointInLine(cp1, cp2, t);
2298
+ const c = _pointInLine(cp2, p2, t);
2299
+ const d = _pointInLine(a, b, t);
2300
+ const e = _pointInLine(b, c, t);
2301
+ return _pointInLine(d, e, t);
2302
+ }
2303
+
2304
+ const getRightToLeftAdapter = function(rectX, width) {
2305
+ return {
2306
+ x (x) {
2307
+ return rectX + rectX + width - x;
2308
+ },
2309
+ setWidth (w) {
2310
+ width = w;
2311
+ },
2312
+ textAlign (align) {
2313
+ if (align === 'center') {
2314
+ return align;
2315
+ }
2316
+ return align === 'right' ? 'left' : 'right';
2317
+ },
2318
+ xPlus (x, value) {
2319
+ return x - value;
2320
+ },
2321
+ leftForLtr (x, itemWidth) {
2322
+ return x - itemWidth;
2323
+ }
2324
+ };
2325
+ };
2326
+ const getLeftToRightAdapter = function() {
2327
+ return {
2328
+ x (x) {
2329
+ return x;
2330
+ },
2331
+ setWidth (w) {},
2332
+ textAlign (align) {
2333
+ return align;
2334
+ },
2335
+ xPlus (x, value) {
2336
+ return x + value;
2337
+ },
2338
+ leftForLtr (x, _itemWidth) {
2339
+ return x;
2340
+ }
2341
+ };
2342
+ };
2343
+ function getRtlAdapter(rtl, rectX, width) {
2344
+ return rtl ? getRightToLeftAdapter(rectX, width) : getLeftToRightAdapter();
2345
+ }
2346
+ function overrideTextDirection(ctx, direction) {
2347
+ let style, original;
2348
+ if (direction === 'ltr' || direction === 'rtl') {
2349
+ style = ctx.canvas.style;
2350
+ original = [
2351
+ style.getPropertyValue('direction'),
2352
+ style.getPropertyPriority('direction')
2353
+ ];
2354
+ style.setProperty('direction', direction, 'important');
2355
+ ctx.prevTextDirection = original;
2356
+ }
2357
+ }
2358
+ function restoreTextDirection(ctx, original) {
2359
+ if (original !== undefined) {
2360
+ delete ctx.prevTextDirection;
2361
+ ctx.canvas.style.setProperty('direction', original[0], original[1]);
2362
+ }
2363
+ }
2364
+
2365
+ function propertyFn(property) {
2366
+ if (property === 'angle') {
2367
+ return {
2368
+ between: _angleBetween,
2369
+ compare: _angleDiff,
2370
+ normalize: _normalizeAngle
2371
+ };
2372
+ }
2373
+ return {
2374
+ between: _isBetween,
2375
+ compare: (a, b)=>a - b,
2376
+ normalize: (x)=>x
2377
+ };
2378
+ }
2379
+ function normalizeSegment({ start , end , count , loop , style }) {
2380
+ return {
2381
+ start: start % count,
2382
+ end: end % count,
2383
+ loop: loop && (end - start + 1) % count === 0,
2384
+ style
2385
+ };
2386
+ }
2387
+ function getSegment(segment, points, bounds) {
2388
+ const { property , start: startBound , end: endBound } = bounds;
2389
+ const { between , normalize } = propertyFn(property);
2390
+ const count = points.length;
2391
+ let { start , end , loop } = segment;
2392
+ let i, ilen;
2393
+ if (loop) {
2394
+ start += count;
2395
+ end += count;
2396
+ for(i = 0, ilen = count; i < ilen; ++i){
2397
+ if (!between(normalize(points[start % count][property]), startBound, endBound)) {
2398
+ break;
2399
+ }
2400
+ start--;
2401
+ end--;
2402
+ }
2403
+ start %= count;
2404
+ end %= count;
2405
+ }
2406
+ if (end < start) {
2407
+ end += count;
2408
+ }
2409
+ return {
2410
+ start,
2411
+ end,
2412
+ loop,
2413
+ style: segment.style
2414
+ };
2415
+ }
2416
+ function _boundSegment(segment, points, bounds) {
2417
+ if (!bounds) {
2418
+ return [
2419
+ segment
2420
+ ];
2421
+ }
2422
+ const { property , start: startBound , end: endBound } = bounds;
2423
+ const count = points.length;
2424
+ const { compare , between , normalize } = propertyFn(property);
2425
+ const { start , end , loop , style } = getSegment(segment, points, bounds);
2426
+ const result = [];
2427
+ let inside = false;
2428
+ let subStart = null;
2429
+ let value, point, prevValue;
2430
+ const startIsBefore = ()=>between(startBound, prevValue, value) && compare(startBound, prevValue) !== 0;
2431
+ const endIsBefore = ()=>compare(endBound, value) === 0 || between(endBound, prevValue, value);
2432
+ const shouldStart = ()=>inside || startIsBefore();
2433
+ const shouldStop = ()=>!inside || endIsBefore();
2434
+ for(let i = start, prev = start; i <= end; ++i){
2435
+ point = points[i % count];
2436
+ if (point.skip) {
2437
+ continue;
2438
+ }
2439
+ value = normalize(point[property]);
2440
+ if (value === prevValue) {
2441
+ continue;
2442
+ }
2443
+ inside = between(value, startBound, endBound);
2444
+ if (subStart === null && shouldStart()) {
2445
+ subStart = compare(value, startBound) === 0 ? i : prev;
2446
+ }
2447
+ if (subStart !== null && shouldStop()) {
2448
+ result.push(normalizeSegment({
2449
+ start: subStart,
2450
+ end: i,
2451
+ loop,
2452
+ count,
2453
+ style
2454
+ }));
2455
+ subStart = null;
2456
+ }
2457
+ prev = i;
2458
+ prevValue = value;
2459
+ }
2460
+ if (subStart !== null) {
2461
+ result.push(normalizeSegment({
2462
+ start: subStart,
2463
+ end,
2464
+ loop,
2465
+ count,
2466
+ style
2467
+ }));
2468
+ }
2469
+ return result;
2470
+ }
2471
+ function _boundSegments(line, bounds) {
2472
+ const result = [];
2473
+ const segments = line.segments;
2474
+ for(let i = 0; i < segments.length; i++){
2475
+ const sub = _boundSegment(segments[i], line.points, bounds);
2476
+ if (sub.length) {
2477
+ result.push(...sub);
2478
+ }
2479
+ }
2480
+ return result;
2481
+ }
2482
+ function findStartAndEnd(points, count, loop, spanGaps) {
2483
+ let start = 0;
2484
+ let end = count - 1;
2485
+ if (loop && !spanGaps) {
2486
+ while(start < count && !points[start].skip){
2487
+ start++;
2488
+ }
2489
+ }
2490
+ while(start < count && points[start].skip){
2491
+ start++;
2492
+ }
2493
+ start %= count;
2494
+ if (loop) {
2495
+ end += start;
2496
+ }
2497
+ while(end > start && points[end % count].skip){
2498
+ end--;
2499
+ }
2500
+ end %= count;
2501
+ return {
2502
+ start,
2503
+ end
2504
+ };
2505
+ }
2506
+ function solidSegments(points, start, max, loop) {
2507
+ const count = points.length;
2508
+ const result = [];
2509
+ let last = start;
2510
+ let prev = points[start];
2511
+ let end;
2512
+ for(end = start + 1; end <= max; ++end){
2513
+ const cur = points[end % count];
2514
+ if (cur.skip || cur.stop) {
2515
+ if (!prev.skip) {
2516
+ loop = false;
2517
+ result.push({
2518
+ start: start % count,
2519
+ end: (end - 1) % count,
2520
+ loop
2521
+ });
2522
+ start = last = cur.stop ? end : null;
2523
+ }
2524
+ } else {
2525
+ last = end;
2526
+ if (prev.skip) {
2527
+ start = end;
2528
+ }
2529
+ }
2530
+ prev = cur;
2531
+ }
2532
+ if (last !== null) {
2533
+ result.push({
2534
+ start: start % count,
2535
+ end: last % count,
2536
+ loop
2537
+ });
2538
+ }
2539
+ return result;
2540
+ }
2541
+ function _computeSegments(line, segmentOptions) {
2542
+ const points = line.points;
2543
+ const spanGaps = line.options.spanGaps;
2544
+ const count = points.length;
2545
+ if (!count) {
2546
+ return [];
2547
+ }
2548
+ const loop = !!line._loop;
2549
+ const { start , end } = findStartAndEnd(points, count, loop, spanGaps);
2550
+ if (spanGaps === true) {
2551
+ return splitByStyles(line, [
2552
+ {
2553
+ start,
2554
+ end,
2555
+ loop
2556
+ }
2557
+ ], points, segmentOptions);
2558
+ }
2559
+ const max = end < start ? end + count : end;
2560
+ const completeLoop = !!line._fullLoop && start === 0 && end === count - 1;
2561
+ return splitByStyles(line, solidSegments(points, start, max, completeLoop), points, segmentOptions);
2562
+ }
2563
+ function splitByStyles(line, segments, points, segmentOptions) {
2564
+ if (!segmentOptions || !segmentOptions.setContext || !points) {
2565
+ return segments;
2566
+ }
2567
+ return doSplitByStyles(line, segments, points, segmentOptions);
2568
+ }
2569
+ function doSplitByStyles(line, segments, points, segmentOptions) {
2570
+ const chartContext = line._chart.getContext();
2571
+ const baseStyle = readStyle(line.options);
2572
+ const { _datasetIndex: datasetIndex , options: { spanGaps } } = line;
2573
+ const count = points.length;
2574
+ const result = [];
2575
+ let prevStyle = baseStyle;
2576
+ let start = segments[0].start;
2577
+ let i = start;
2578
+ function addStyle(s, e, l, st) {
2579
+ const dir = spanGaps ? -1 : 1;
2580
+ if (s === e) {
2581
+ return;
2582
+ }
2583
+ s += count;
2584
+ while(points[s % count].skip){
2585
+ s -= dir;
2586
+ }
2587
+ while(points[e % count].skip){
2588
+ e += dir;
2589
+ }
2590
+ if (s % count !== e % count) {
2591
+ result.push({
2592
+ start: s % count,
2593
+ end: e % count,
2594
+ loop: l,
2595
+ style: st
2596
+ });
2597
+ prevStyle = st;
2598
+ start = e % count;
2599
+ }
2600
+ }
2601
+ for (const segment of segments){
2602
+ start = spanGaps ? start : segment.start;
2603
+ let prev = points[start % count];
2604
+ let style;
2605
+ for(i = start + 1; i <= segment.end; i++){
2606
+ const pt = points[i % count];
2607
+ style = readStyle(segmentOptions.setContext(createContext(chartContext, {
2608
+ type: 'segment',
2609
+ p0: prev,
2610
+ p1: pt,
2611
+ p0DataIndex: (i - 1) % count,
2612
+ p1DataIndex: i % count,
2613
+ datasetIndex
2614
+ })));
2615
+ if (styleChanged(style, prevStyle)) {
2616
+ addStyle(start, i - 1, segment.loop, prevStyle);
2617
+ }
2618
+ prev = pt;
2619
+ prevStyle = style;
2620
+ }
2621
+ if (start < i - 1) {
2622
+ addStyle(start, i - 1, segment.loop, prevStyle);
2623
+ }
2624
+ }
2625
+ return result;
2626
+ }
2627
+ function readStyle(options) {
2628
+ return {
2629
+ backgroundColor: options.backgroundColor,
2630
+ borderCapStyle: options.borderCapStyle,
2631
+ borderDash: options.borderDash,
2632
+ borderDashOffset: options.borderDashOffset,
2633
+ borderJoinStyle: options.borderJoinStyle,
2634
+ borderWidth: options.borderWidth,
2635
+ borderColor: options.borderColor
2636
+ };
2637
+ }
2638
+ function styleChanged(style, prevStyle) {
2639
+ if (!prevStyle) {
2640
+ return false;
2641
+ }
2642
+ const cache = [];
2643
+ const replacer = function(key, value) {
2644
+ if (!isPatternOrGradient(value)) {
2645
+ return value;
2646
+ }
2647
+ if (!cache.includes(value)) {
2648
+ cache.push(value);
2649
+ }
2650
+ return cache.indexOf(value);
2651
+ };
2652
+ return JSON.stringify(style, replacer) !== JSON.stringify(prevStyle, replacer);
2653
+ }
2654
+
2655
+ function getSizeForArea(scale, chartArea, field) {
2656
+ return scale.options.clip ? scale[field] : chartArea[field];
2657
+ }
2658
+ function getDatasetArea(meta, chartArea) {
2659
+ const { xScale , yScale } = meta;
2660
+ if (xScale && yScale) {
2661
+ return {
2662
+ left: getSizeForArea(xScale, chartArea, 'left'),
2663
+ right: getSizeForArea(xScale, chartArea, 'right'),
2664
+ top: getSizeForArea(yScale, chartArea, 'top'),
2665
+ bottom: getSizeForArea(yScale, chartArea, 'bottom')
2666
+ };
2667
+ }
2668
+ return chartArea;
2669
+ }
2670
+ function getDatasetClipArea(chart, meta) {
2671
+ const clip = meta._clip;
2672
+ if (clip.disabled) {
2673
+ return false;
2674
+ }
2675
+ const area = getDatasetArea(meta, chart.chartArea);
2676
+ return {
2677
+ left: clip.left === false ? 0 : area.left - (clip.left === true ? 0 : clip.left),
2678
+ right: clip.right === false ? chart.width : area.right + (clip.right === true ? 0 : clip.right),
2679
+ top: clip.top === false ? 0 : area.top - (clip.top === true ? 0 : clip.top),
2680
+ bottom: clip.bottom === false ? chart.height : area.bottom + (clip.bottom === true ? 0 : clip.bottom)
2681
+ };
2682
+ }
2683
+
2684
+ export { unclipArea as $, _rlookupByKey as A, _lookupByKey as B, _isPointInArea as C, getAngleFromPoint as D, toPadding as E, each as F, getMaximumSize as G, HALF_PI as H, _getParentNode as I, readUsedSize as J, supportsEventListenerOptions as K, throttled as L, _isDomSupported as M, _factorize as N, finiteOrDefault as O, PI as P, callback as Q, _addGrace as R, _limitValue as S, TAU as T, toDegrees as U, _measureText as V, _int16Range as W, _alignPixel as X, clipArea as Y, renderText as Z, _arrayUnique as _, resolve as a, getStyle as a$, toFont as a0, _toLeftRightCenter as a1, _alignStartEnd as a2, overrides as a3, merge as a4, _capitalize as a5, descriptors as a6, isFunction as a7, _attachContext as a8, _createResolver as a9, getRtlAdapter as aA, overrideTextDirection as aB, _textX as aC, restoreTextDirection as aD, drawPointLegend as aE, distanceBetweenPoints as aF, noop as aG, _setMinAndMaxByKey as aH, niceNum as aI, almostWhole as aJ, almostEquals as aK, _decimalPlaces as aL, Ticks as aM, log10 as aN, _filterBetween as aP, _lookup as aQ, isPatternOrGradient as aR, getHoverColor as aS, clone as aT, _merger as aU, _mergerIf as aV, _splitKey as aX, toFontString as aY, splineCurve as aZ, splineCurveMonotone as a_, _descriptors as aa, mergeIf as ab, uid as ac, debounce as ad, retinaScale as ae, clearCanvas as af, setsEqual as ag, getDatasetClipArea as ah, _elementsEqual as ai, _isClickEvent as aj, _isBetween as ak, _normalizeAngle as al, _readValueToProps as am, _updateBezierControlPoints as an, _computeSegments as ao, _boundSegments as ap, _steppedInterpolation as aq, _bezierInterpolation as ar, _pointInLine as as, _steppedLineTo as at, _bezierCurveTo as au, drawPoint as av, addRoundedRectPath as aw, toTRBL as ax, toTRBLCorners as ay, _boundSegment as az, isArray as b, toLineHeight as b1, PITAU as b2, INFINITY as b3, RAD_PER_DEG as b4, QUARTER_PI as b5, TWO_THIRDS_PI as b6, _angleDiff as b7, color as c, defaults as d, effects as e, resolveObjectKey as f, isNumberFinite as g, defined as h, isObject as i, createContext as j, isNullOrUndef as k, listenArrayEvents as l, toDimension as n, formatNumber as o, _angleBetween as p, _getStartAndCountOfVisiblePoints as q, requestAnimFrame as r, sign as s, toRadians as t, unlistenArrayEvents as u, valueOrDefault as v, _scaleRangesChanged as w, isNumber as x, getRelativePosition as z };
2685
+ //# sourceMappingURL=helpers.dataset.js.map