@n1xyz/wallet-widget 0.0.34 → 0.0.35-alpha.1

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 (627) hide show
  1. package/dist/bridge-assist/cctp-solana.d.ts +33 -0
  2. package/dist/bridge-assist/cctp-solana.js +392 -0
  3. package/dist/bridge-assist/cctp-solana.js.map +1 -0
  4. package/dist/main.css +1 -2
  5. package/dist/src/adapters/evm.d.ts +39 -0
  6. package/dist/src/adapters/evm.js +338 -0
  7. package/dist/src/adapters/evm.js.map +1 -0
  8. package/dist/src/adapters/factory.d.ts +37 -0
  9. package/dist/src/adapters/factory.js +82 -0
  10. package/dist/src/adapters/factory.js.map +1 -0
  11. package/dist/src/adapters/index.d.ts +33 -0
  12. package/dist/src/adapters/index.js +36 -0
  13. package/dist/src/adapters/index.js.map +1 -0
  14. package/dist/src/adapters/solana.d.ts +37 -0
  15. package/dist/src/adapters/solana.js +359 -0
  16. package/dist/src/adapters/solana.js.map +1 -0
  17. package/dist/src/adapters/types.d.ts +160 -0
  18. package/dist/src/adapters/types.js +20 -0
  19. package/dist/src/adapters/types.js.map +1 -0
  20. package/dist/src/animations/N1Loader.js.map +1 -0
  21. package/dist/src/animations/N1Loader.json +1 -0
  22. package/dist/src/animations/Processing.js.map +1 -0
  23. package/dist/src/animations/Processing.json +1 -0
  24. package/dist/{components → src/components}/LoadingFallback.d.ts +3 -0
  25. package/dist/{components → src/components}/LoadingFallback.js +3 -0
  26. package/dist/src/components/LoadingFallback.js.map +1 -0
  27. package/dist/{components → src/components}/Logo.d.ts +4 -0
  28. package/dist/{components → src/components}/Logo.js +4 -0
  29. package/dist/src/components/Logo.js.map +1 -0
  30. package/dist/src/components/N1ConnectButton.d.ts +13 -0
  31. package/dist/src/components/N1ConnectButton.js +66 -0
  32. package/dist/src/components/N1ConnectButton.js.map +1 -0
  33. package/dist/src/components/logos/ArbitrumLogo.js.map +1 -0
  34. package/dist/src/components/logos/BaseLogo.js +6 -0
  35. package/dist/src/components/logos/BaseLogo.js.map +1 -0
  36. package/dist/src/components/logos/BeraLogo.js.map +1 -0
  37. package/dist/src/components/logos/BitcoinLogo.js.map +1 -0
  38. package/dist/src/components/logos/EthereumLogo.js.map +1 -0
  39. package/dist/{components → src/components}/logos/HyperliquidLogo.js +1 -1
  40. package/dist/src/components/logos/HyperliquidLogo.js.map +1 -0
  41. package/dist/src/components/logos/OptimismLogo.js.map +1 -0
  42. package/dist/src/components/logos/SolanaLogo.js.map +1 -0
  43. package/dist/src/components/logos/ZeroOneLogo.js.map +1 -0
  44. package/dist/src/components/logos/index.js.map +1 -0
  45. package/dist/src/config/chains.d.ts +18 -0
  46. package/dist/src/config/chains.js +58 -0
  47. package/dist/src/config/chains.js.map +1 -0
  48. package/dist/src/config/dynamic.js +18 -0
  49. package/dist/src/config/dynamic.js.map +1 -0
  50. package/dist/src/config/solana.js.map +1 -0
  51. package/dist/src/config/turnkey.d.ts +2 -0
  52. package/dist/{config → src/config}/turnkey.js +9 -12
  53. package/dist/src/config/turnkey.js.map +1 -0
  54. package/dist/src/context/n1-wallet-context.js.map +1 -0
  55. package/dist/src/errors/types.d.ts +72 -0
  56. package/dist/src/errors/types.js +140 -0
  57. package/dist/src/errors/types.js.map +1 -0
  58. package/dist/{features → src/features}/onboarding-flow/N1WalletModal.js +44 -29
  59. package/dist/src/features/onboarding-flow/N1WalletModal.js.map +1 -0
  60. package/dist/{features → src/features}/onboarding-flow/OnboardingFlow.d.ts +2 -1
  61. package/dist/{features → src/features}/onboarding-flow/OnboardingFlow.js +54 -8
  62. package/dist/src/features/onboarding-flow/OnboardingFlow.js.map +1 -0
  63. package/dist/src/features/onboarding-flow/bridge-assist/client.d.ts +42 -0
  64. package/dist/src/features/onboarding-flow/bridge-assist/client.js +268 -0
  65. package/dist/src/features/onboarding-flow/bridge-assist/client.js.map +1 -0
  66. package/dist/src/features/onboarding-flow/bridge-assist/config.d.ts +4 -0
  67. package/dist/src/features/onboarding-flow/bridge-assist/config.js +11 -0
  68. package/dist/src/features/onboarding-flow/bridge-assist/config.js.map +1 -0
  69. package/dist/src/features/onboarding-flow/bridge-assist/index.d.ts +1 -0
  70. package/dist/src/features/onboarding-flow/bridge-assist/index.js +2 -0
  71. package/dist/src/features/onboarding-flow/bridge-assist/index.js.map +1 -0
  72. package/dist/src/features/onboarding-flow/bridge-assist/types.d.ts +5 -0
  73. package/dist/src/features/onboarding-flow/bridge-assist/types.js +28 -0
  74. package/dist/src/features/onboarding-flow/bridge-assist/types.js.map +1 -0
  75. package/dist/src/features/onboarding-flow/cctp/bridgeKitClient.d.ts +35 -0
  76. package/dist/src/features/onboarding-flow/cctp/bridgeKitClient.js +391 -0
  77. package/dist/src/features/onboarding-flow/cctp/bridgeKitClient.js.map +1 -0
  78. package/dist/src/features/onboarding-flow/cctp/clientFactory.d.ts +6 -0
  79. package/dist/src/features/onboarding-flow/cctp/clientFactory.js +9 -0
  80. package/dist/src/features/onboarding-flow/cctp/clientFactory.js.map +1 -0
  81. package/dist/src/features/onboarding-flow/cctp/config.d.ts +16 -0
  82. package/dist/src/features/onboarding-flow/cctp/config.js +55 -0
  83. package/dist/src/features/onboarding-flow/cctp/config.js.map +1 -0
  84. package/dist/src/features/onboarding-flow/cctp/mockCctpClient.d.ts +11 -0
  85. package/dist/src/features/onboarding-flow/cctp/mockCctpClient.js +85 -0
  86. package/dist/src/features/onboarding-flow/cctp/mockCctpClient.js.map +1 -0
  87. package/dist/src/features/onboarding-flow/cctp/solanaClaim.d.ts +1 -0
  88. package/dist/src/features/onboarding-flow/cctp/solanaClaim.js +2 -0
  89. package/dist/src/features/onboarding-flow/cctp/solanaClaim.js.map +1 -0
  90. package/dist/src/features/onboarding-flow/cctp/types.d.ts +50 -0
  91. package/dist/src/features/onboarding-flow/cctp/types.js +2 -0
  92. package/dist/src/features/onboarding-flow/cctp/types.js.map +1 -0
  93. package/dist/{features → src/features}/onboarding-flow/components/ChainButton.d.ts +5 -2
  94. package/dist/src/features/onboarding-flow/components/ChainButton.js +14 -0
  95. package/dist/src/features/onboarding-flow/components/ChainButton.js.map +1 -0
  96. package/dist/{features → src/features}/onboarding-flow/components/Header.d.ts +2 -2
  97. package/dist/src/features/onboarding-flow/components/Header.js +69 -0
  98. package/dist/src/features/onboarding-flow/components/Header.js.map +1 -0
  99. package/dist/src/features/onboarding-flow/components/ImageWithFallback.js.map +1 -0
  100. package/dist/{features → src/features}/onboarding-flow/components/TransactionTable.d.ts +5 -0
  101. package/dist/{features → src/features}/onboarding-flow/components/TransactionTable.js +8 -3
  102. package/dist/src/features/onboarding-flow/components/TransactionTable.js.map +1 -0
  103. package/dist/{features → src/features}/onboarding-flow/components/WaitingMessage.d.ts +4 -0
  104. package/dist/src/features/onboarding-flow/components/WaitingMessage.js.map +1 -0
  105. package/dist/src/features/onboarding-flow/components/index.js.map +1 -0
  106. package/dist/src/features/onboarding-flow/errors/depositError.d.ts +36 -0
  107. package/dist/src/features/onboarding-flow/errors/depositError.js +134 -0
  108. package/dist/src/features/onboarding-flow/errors/depositError.js.map +1 -0
  109. package/dist/src/features/onboarding-flow/hooks/useBridgeDeposit.d.ts +35 -0
  110. package/dist/src/features/onboarding-flow/hooks/useBridgeDeposit.js +585 -0
  111. package/dist/src/features/onboarding-flow/hooks/useBridgeDeposit.js.map +1 -0
  112. package/dist/src/features/onboarding-flow/hooks/useDepositAuth.d.ts +6 -0
  113. package/dist/src/features/onboarding-flow/hooks/useDepositAuth.js +141 -0
  114. package/dist/src/features/onboarding-flow/hooks/useDepositAuth.js.map +1 -0
  115. package/dist/src/features/onboarding-flow/hooks/useDepositHydration.d.ts +15 -0
  116. package/dist/src/features/onboarding-flow/hooks/useDepositHydration.js +83 -0
  117. package/dist/src/features/onboarding-flow/hooks/useDepositHydration.js.map +1 -0
  118. package/dist/src/features/onboarding-flow/hooks/usePendingDepositState.d.ts +6 -0
  119. package/dist/src/features/onboarding-flow/hooks/usePendingDepositState.js +45 -0
  120. package/dist/src/features/onboarding-flow/hooks/usePendingDepositState.js.map +1 -0
  121. package/dist/src/features/onboarding-flow/hooks/useSolanaDeposit.d.ts +13 -0
  122. package/dist/src/features/onboarding-flow/hooks/useSolanaDeposit.js +161 -0
  123. package/dist/src/features/onboarding-flow/hooks/useSolanaDeposit.js.map +1 -0
  124. package/dist/src/features/onboarding-flow/index.js.map +1 -0
  125. package/dist/{features → src/features}/onboarding-flow/providers/DepositFlowProvider.d.ts +10 -3
  126. package/dist/src/features/onboarding-flow/providers/DepositFlowProvider.js +762 -0
  127. package/dist/src/features/onboarding-flow/providers/DepositFlowProvider.js.map +1 -0
  128. package/dist/{features → src/features}/onboarding-flow/providers/OnboardingStateProvider.d.ts +5 -0
  129. package/dist/src/features/onboarding-flow/providers/OnboardingStateProvider.js +399 -0
  130. package/dist/src/features/onboarding-flow/providers/OnboardingStateProvider.js.map +1 -0
  131. package/dist/{features → src/features}/onboarding-flow/providers/StateProvider.d.ts +2 -2
  132. package/dist/{features → src/features}/onboarding-flow/providers/StateProvider.js +2 -2
  133. package/dist/src/features/onboarding-flow/providers/StateProvider.js.map +1 -0
  134. package/dist/{features → src/features}/onboarding-flow/providers/WalletConnectionProvider.d.ts +8 -0
  135. package/dist/src/features/onboarding-flow/providers/WalletConnectionProvider.js +938 -0
  136. package/dist/src/features/onboarding-flow/providers/WalletConnectionProvider.js.map +1 -0
  137. package/dist/{features → src/features}/onboarding-flow/providers/debug.js +5 -1
  138. package/dist/src/features/onboarding-flow/providers/debug.js.map +1 -0
  139. package/dist/src/features/onboarding-flow/providers/index.js.map +1 -0
  140. package/dist/{features → src/features}/onboarding-flow/providers/onboardingStateMachine.d.ts +28 -1
  141. package/dist/{features → src/features}/onboarding-flow/providers/onboardingStateMachine.js +38 -4
  142. package/dist/src/features/onboarding-flow/providers/onboardingStateMachine.js.map +1 -0
  143. package/dist/src/features/onboarding-flow/screens/00-EntrySelectionScreen.d.ts +4 -0
  144. package/dist/src/features/onboarding-flow/screens/00-EntrySelectionScreen.js +32 -0
  145. package/dist/src/features/onboarding-flow/screens/00-EntrySelectionScreen.js.map +1 -0
  146. package/dist/src/features/onboarding-flow/screens/01-ConnectWalletScreen.d.ts +5 -0
  147. package/dist/{features → src/features}/onboarding-flow/screens/01-ConnectWalletScreen.js +5 -0
  148. package/dist/src/features/onboarding-flow/screens/01-ConnectWalletScreen.js.map +1 -0
  149. package/dist/{features → src/features}/onboarding-flow/screens/02-TurnkeyAuthScreen.js +8 -1
  150. package/dist/src/features/onboarding-flow/screens/02-TurnkeyAuthScreen.js.map +1 -0
  151. package/dist/{features → src/features}/onboarding-flow/screens/03-TurnkeyPreparingScreen.js +8 -1
  152. package/dist/src/features/onboarding-flow/screens/03-TurnkeyPreparingScreen.js.map +1 -0
  153. package/dist/{features → src/features}/onboarding-flow/screens/04-ChainSelectionScreen.d.ts +11 -11
  154. package/dist/{features → src/features}/onboarding-flow/screens/04-ChainSelectionScreen.js +59 -29
  155. package/dist/src/features/onboarding-flow/screens/04-ChainSelectionScreen.js.map +1 -0
  156. package/dist/src/features/onboarding-flow/screens/05-AmountInputScreen.d.ts +11 -0
  157. package/dist/src/features/onboarding-flow/screens/05-AmountInputScreen.js +585 -0
  158. package/dist/src/features/onboarding-flow/screens/05-AmountInputScreen.js.map +1 -0
  159. package/dist/{features → src/features}/onboarding-flow/screens/06-DepositProgressScreen.d.ts +5 -0
  160. package/dist/src/features/onboarding-flow/screens/06-DepositProgressScreen.js +367 -0
  161. package/dist/src/features/onboarding-flow/screens/06-DepositProgressScreen.js.map +1 -0
  162. package/dist/src/features/onboarding-flow/screens/07-DepositSuccessScreen.d.ts +6 -0
  163. package/dist/{features → src/features}/onboarding-flow/screens/07-DepositSuccessScreen.js +11 -5
  164. package/dist/src/features/onboarding-flow/screens/07-DepositSuccessScreen.js.map +1 -0
  165. package/dist/src/features/onboarding-flow/screens/08-AuthLoadingScreen.d.ts +5 -0
  166. package/dist/{features → src/features}/onboarding-flow/screens/08-AuthLoadingScreen.js +5 -1
  167. package/dist/src/features/onboarding-flow/screens/08-AuthLoadingScreen.js.map +1 -0
  168. package/dist/src/features/onboarding-flow/screens/09-ErrorScreen.d.ts +5 -0
  169. package/dist/src/features/onboarding-flow/screens/09-ErrorScreen.js +43 -0
  170. package/dist/src/features/onboarding-flow/screens/09-ErrorScreen.js.map +1 -0
  171. package/dist/src/features/onboarding-flow/screens/index.d.ts +10 -0
  172. package/dist/src/features/onboarding-flow/screens/index.js +11 -0
  173. package/dist/src/features/onboarding-flow/screens/index.js.map +1 -0
  174. package/dist/src/features/onboarding-flow/turnkey/turnkeySessionMachine.d.ts +1 -0
  175. package/dist/src/features/onboarding-flow/turnkey/turnkeySessionMachine.js +2 -0
  176. package/dist/src/features/onboarding-flow/turnkey/turnkeySessionMachine.js.map +1 -0
  177. package/dist/{features → src/features}/onboarding-flow/types.d.ts +38 -11
  178. package/dist/{features → src/features}/onboarding-flow/types.js +5 -0
  179. package/dist/src/features/onboarding-flow/types.js.map +1 -0
  180. package/dist/src/features/onboarding-flow/utils/bridgeUtils.d.ts +6 -0
  181. package/dist/src/features/onboarding-flow/utils/bridgeUtils.js +34 -0
  182. package/dist/src/features/onboarding-flow/utils/bridgeUtils.js.map +1 -0
  183. package/dist/src/features/onboarding-flow/utils/deposit/attestationUtils.d.ts +29 -0
  184. package/dist/src/features/onboarding-flow/utils/deposit/attestationUtils.js +82 -0
  185. package/dist/src/features/onboarding-flow/utils/deposit/attestationUtils.js.map +1 -0
  186. package/dist/src/features/onboarding-flow/utils/deposit/bridgeUtils.d.ts +5 -0
  187. package/dist/src/features/onboarding-flow/utils/deposit/bridgeUtils.js +10 -0
  188. package/dist/src/features/onboarding-flow/utils/deposit/bridgeUtils.js.map +1 -0
  189. package/dist/src/features/onboarding-flow/utils/deposit/claimConfirmation.d.ts +14 -0
  190. package/dist/src/features/onboarding-flow/utils/deposit/claimConfirmation.js +94 -0
  191. package/dist/src/features/onboarding-flow/utils/deposit/claimConfirmation.js.map +1 -0
  192. package/dist/src/features/onboarding-flow/utils/deposit/claimSubmission.d.ts +25 -0
  193. package/dist/src/features/onboarding-flow/utils/deposit/claimSubmission.js +212 -0
  194. package/dist/src/features/onboarding-flow/utils/deposit/claimSubmission.js.map +1 -0
  195. package/dist/src/features/onboarding-flow/utils/deposit/depositPolling.d.ts +37 -0
  196. package/dist/src/features/onboarding-flow/utils/deposit/depositPolling.js +199 -0
  197. package/dist/src/features/onboarding-flow/utils/deposit/depositPolling.js.map +1 -0
  198. package/dist/src/features/onboarding-flow/utils/deposit/evmTxInterceptor.d.ts +27 -0
  199. package/dist/src/features/onboarding-flow/utils/deposit/evmTxInterceptor.js +149 -0
  200. package/dist/src/features/onboarding-flow/utils/deposit/evmTxInterceptor.js.map +1 -0
  201. package/dist/src/features/onboarding-flow/utils/deposit/nonceUtils.d.ts +5 -0
  202. package/dist/src/features/onboarding-flow/utils/deposit/nonceUtils.js +121 -0
  203. package/dist/src/features/onboarding-flow/utils/deposit/nonceUtils.js.map +1 -0
  204. package/dist/{features/onboarding-flow/utils/transaction.d.ts → src/features/onboarding-flow/utils/deposit/solanaDepositTransaction.d.ts} +3 -3
  205. package/dist/src/features/onboarding-flow/utils/deposit/solanaDepositTransaction.js +8 -0
  206. package/dist/src/features/onboarding-flow/utils/deposit/solanaDepositTransaction.js.map +1 -0
  207. package/dist/src/features/onboarding-flow/utils/deposit/solanaUtils.d.ts +12 -0
  208. package/dist/src/features/onboarding-flow/utils/deposit/solanaUtils.js +150 -0
  209. package/dist/src/features/onboarding-flow/utils/deposit/solanaUtils.js.map +1 -0
  210. package/dist/src/features/onboarding-flow/utils/deposit/storage.d.ts +52 -0
  211. package/dist/src/features/onboarding-flow/utils/deposit/storage.js +243 -0
  212. package/dist/src/features/onboarding-flow/utils/deposit/storage.js.map +1 -0
  213. package/dist/src/features/onboarding-flow/utils/deposit/walletUtils.d.ts +36 -0
  214. package/dist/src/features/onboarding-flow/utils/deposit/walletUtils.js +304 -0
  215. package/dist/src/features/onboarding-flow/utils/deposit/walletUtils.js.map +1 -0
  216. package/dist/src/features/onboarding-flow/utils/depositPolling.d.ts +1 -0
  217. package/dist/src/features/onboarding-flow/utils/depositPolling.js +3 -0
  218. package/dist/src/features/onboarding-flow/utils/depositPolling.js.map +1 -0
  219. package/dist/src/features/onboarding-flow/utils/explorerUrl.d.ts +14 -0
  220. package/dist/src/features/onboarding-flow/utils/explorerUrl.js +44 -0
  221. package/dist/src/features/onboarding-flow/utils/explorerUrl.js.map +1 -0
  222. package/dist/src/features/onboarding-flow/utils/nordUtils.d.ts +8 -0
  223. package/dist/{features/onboarding-flow/utils/nordUser.js → src/features/onboarding-flow/utils/nordUtils.js} +14 -1
  224. package/dist/src/features/onboarding-flow/utils/nordUtils.js.map +1 -0
  225. package/dist/src/features/onboarding-flow/utils/pendingDepositCookie.d.ts +13 -0
  226. package/dist/src/features/onboarding-flow/utils/pendingDepositCookie.js +15 -0
  227. package/dist/src/features/onboarding-flow/utils/pendingDepositCookie.js.map +1 -0
  228. package/dist/src/features/onboarding-flow/utils/pendingDepositStorage.d.ts +15 -0
  229. package/dist/src/features/onboarding-flow/utils/pendingDepositStorage.js +94 -0
  230. package/dist/src/features/onboarding-flow/utils/pendingDepositStorage.js.map +1 -0
  231. package/dist/{features → src/features}/onboarding-flow/utils/utils.d.ts +9 -2
  232. package/dist/{features → src/features}/onboarding-flow/utils/utils.js +9 -4
  233. package/dist/src/features/onboarding-flow/utils/utils.js.map +1 -0
  234. package/dist/src/features/onboarding-flow/utils/withImageFallback.d.ts +6 -0
  235. package/dist/{features → src/features}/onboarding-flow/utils/withImageFallback.js +2 -3
  236. package/dist/src/features/onboarding-flow/utils/withImageFallback.js.map +1 -0
  237. package/dist/src/hooks/index.js.map +1 -0
  238. package/dist/src/hooks/useN1Wallet.d.ts +12 -0
  239. package/dist/{hooks → src/hooks}/useN1Wallet.js +10 -0
  240. package/dist/src/hooks/useN1Wallet.js.map +1 -0
  241. package/dist/src/hooks/useNordUserInitialization.d.ts +12 -0
  242. package/dist/{hooks → src/hooks}/useNordUserInitialization.js +74 -33
  243. package/dist/src/hooks/useNordUserInitialization.js.map +1 -0
  244. package/dist/src/index.d.ts +9 -0
  245. package/dist/src/index.js +16 -0
  246. package/dist/src/index.js.map +1 -0
  247. package/dist/src/providers/LazyWalletProvider.d.ts +4 -0
  248. package/dist/src/providers/LazyWalletProvider.js +404 -0
  249. package/dist/src/providers/LazyWalletProvider.js.map +1 -0
  250. package/dist/src/providers/N1WalletProvider/ContextBridge.d.ts +28 -0
  251. package/dist/src/providers/N1WalletProvider/ContextBridge.js +273 -0
  252. package/dist/src/providers/N1WalletProvider/ContextBridge.js.map +1 -0
  253. package/dist/src/providers/N1WalletProvider/ModalProvider.d.ts +113 -0
  254. package/dist/src/providers/N1WalletProvider/ModalProvider.js +319 -0
  255. package/dist/src/providers/N1WalletProvider/ModalProvider.js.map +1 -0
  256. package/dist/src/providers/N1WalletProvider/NetworkProvider.d.ts +88 -0
  257. package/dist/src/providers/N1WalletProvider/NetworkProvider.js +252 -0
  258. package/dist/src/providers/N1WalletProvider/NetworkProvider.js.map +1 -0
  259. package/dist/src/providers/N1WalletProvider/SessionProvider.d.ts +71 -0
  260. package/dist/src/providers/N1WalletProvider/SessionProvider.js +187 -0
  261. package/dist/src/providers/N1WalletProvider/SessionProvider.js.map +1 -0
  262. package/dist/src/providers/N1WalletProvider/SigningProvider.d.ts +58 -0
  263. package/dist/src/providers/N1WalletProvider/SigningProvider.js +134 -0
  264. package/dist/src/providers/N1WalletProvider/SigningProvider.js.map +1 -0
  265. package/dist/src/providers/N1WalletProvider/ThemingProvider.d.ts +50 -0
  266. package/dist/src/providers/N1WalletProvider/ThemingProvider.js +102 -0
  267. package/dist/src/providers/N1WalletProvider/ThemingProvider.js.map +1 -0
  268. package/dist/src/providers/N1WalletProvider/index.d.ts +21 -0
  269. package/dist/src/providers/N1WalletProvider/index.js +27 -0
  270. package/dist/src/providers/N1WalletProvider/index.js.map +1 -0
  271. package/dist/src/providers/N1WalletProvider.d.ts +17 -0
  272. package/dist/src/providers/N1WalletProvider.js +102 -0
  273. package/dist/src/providers/N1WalletProvider.js.map +1 -0
  274. package/dist/{providers → src/providers}/ShadowRootWrapper.d.ts +4 -0
  275. package/dist/{providers → src/providers}/ShadowRootWrapper.js +4 -0
  276. package/dist/src/providers/ShadowRootWrapper.js.map +1 -0
  277. package/dist/{providers → src/providers}/WalletErrorBoundary.d.ts +7 -2
  278. package/dist/{providers → src/providers}/WalletErrorBoundary.js +5 -1
  279. package/dist/src/providers/WalletErrorBoundary.js.map +1 -0
  280. package/dist/src/services/bootstrap/DepositRecoveryService.d.ts +64 -0
  281. package/dist/src/services/bootstrap/DepositRecoveryService.js +245 -0
  282. package/dist/src/services/bootstrap/DepositRecoveryService.js.map +1 -0
  283. package/dist/src/services/bootstrap/DynamicSdkService.d.ts +62 -0
  284. package/dist/src/services/bootstrap/DynamicSdkService.js +335 -0
  285. package/dist/src/services/bootstrap/DynamicSdkService.js.map +1 -0
  286. package/dist/src/services/bootstrap/SessionBootstrapService.d.ts +78 -0
  287. package/dist/src/services/bootstrap/SessionBootstrapService.js +280 -0
  288. package/dist/src/services/bootstrap/SessionBootstrapService.js.map +1 -0
  289. package/dist/src/services/bootstrap/TurnkeyBootstrapService.d.ts +92 -0
  290. package/dist/src/services/bootstrap/TurnkeyBootstrapService.js +253 -0
  291. package/dist/src/services/bootstrap/TurnkeyBootstrapService.js.map +1 -0
  292. package/dist/src/services/bootstrap/index.d.ts +13 -0
  293. package/dist/src/services/bootstrap/index.js +16 -0
  294. package/dist/src/services/bootstrap/index.js.map +1 -0
  295. package/dist/src/services/bootstrap/types.d.ts +92 -0
  296. package/dist/src/services/bootstrap/types.js +7 -0
  297. package/dist/src/services/bootstrap/types.js.map +1 -0
  298. package/dist/src/services/storage/StorageService.d.ts +98 -0
  299. package/dist/src/services/storage/StorageService.js +360 -0
  300. package/dist/src/services/storage/StorageService.js.map +1 -0
  301. package/dist/src/services/storage/index.d.ts +9 -0
  302. package/dist/src/services/storage/index.js +10 -0
  303. package/dist/src/services/storage/index.js.map +1 -0
  304. package/dist/src/services/storage/keys.d.ts +28 -0
  305. package/dist/src/services/storage/keys.js +45 -0
  306. package/dist/src/services/storage/keys.js.map +1 -0
  307. package/dist/src/services/storage/types.d.ts +73 -0
  308. package/dist/src/services/storage/types.js +23 -0
  309. package/dist/src/services/storage/types.js.map +1 -0
  310. package/dist/src/store/index.d.ts +8 -0
  311. package/dist/src/store/index.js +24 -0
  312. package/dist/src/store/index.js.map +1 -0
  313. package/dist/src/store/selectors.d.ts +105 -0
  314. package/dist/src/store/selectors.js +183 -0
  315. package/dist/src/store/selectors.js.map +1 -0
  316. package/dist/src/store/slices/bootstrapSlice.d.ts +64 -0
  317. package/dist/src/store/slices/bootstrapSlice.js +78 -0
  318. package/dist/src/store/slices/bootstrapSlice.js.map +1 -0
  319. package/dist/src/store/slices/configSlice.d.ts +7 -0
  320. package/dist/src/store/slices/configSlice.js +14 -0
  321. package/dist/src/store/slices/configSlice.js.map +1 -0
  322. package/dist/src/store/slices/index.d.ts +10 -0
  323. package/dist/src/store/slices/index.js +10 -0
  324. package/dist/src/store/slices/index.js.map +1 -0
  325. package/dist/src/store/slices/sessionSlice.d.ts +7 -0
  326. package/dist/src/store/slices/sessionSlice.js +17 -0
  327. package/dist/src/store/slices/sessionSlice.js.map +1 -0
  328. package/dist/src/store/slices/signingSlice.d.ts +7 -0
  329. package/dist/src/store/slices/signingSlice.js +14 -0
  330. package/dist/src/store/slices/signingSlice.js.map +1 -0
  331. package/dist/src/store/slices/uiSlice.d.ts +9 -0
  332. package/dist/src/store/slices/uiSlice.js +25 -0
  333. package/dist/src/store/slices/uiSlice.js.map +1 -0
  334. package/dist/src/store/slices/walletSlice.d.ts +7 -0
  335. package/dist/src/store/slices/walletSlice.js +21 -0
  336. package/dist/src/store/slices/walletSlice.js.map +1 -0
  337. package/dist/src/store/store.d.ts +50 -0
  338. package/dist/src/store/store.js +259 -0
  339. package/dist/src/store/store.js.map +1 -0
  340. package/dist/src/store/subscriptions/depositPersistence.d.ts +32 -0
  341. package/dist/src/store/subscriptions/depositPersistence.js +106 -0
  342. package/dist/src/store/subscriptions/depositPersistence.js.map +1 -0
  343. package/dist/src/store/subscriptions/index.d.ts +34 -0
  344. package/dist/src/store/subscriptions/index.js +73 -0
  345. package/dist/src/store/subscriptions/index.js.map +1 -0
  346. package/dist/src/store/subscriptions/turnkeyPersistence.d.ts +42 -0
  347. package/dist/src/store/subscriptions/turnkeyPersistence.js +127 -0
  348. package/dist/src/store/subscriptions/turnkeyPersistence.js.map +1 -0
  349. package/dist/src/store/types.d.ts +166 -0
  350. package/dist/src/store/types.js +7 -0
  351. package/dist/src/store/types.js.map +1 -0
  352. package/dist/src/styles/cdn-fonts.d.ts +12 -0
  353. package/dist/src/styles/cdn-fonts.js +63 -0
  354. package/dist/src/styles/cdn-fonts.js.map +1 -0
  355. package/dist/src/styles/embedded-main-css.d.ts +2 -0
  356. package/dist/src/styles/embedded-main-css.js +3 -0
  357. package/dist/src/styles/embedded-main-css.js.map +1 -0
  358. package/dist/src/turnkey/TurnkeyProvider.d.ts +21 -0
  359. package/dist/src/turnkey/TurnkeyProvider.js +695 -0
  360. package/dist/src/turnkey/TurnkeyProvider.js.map +1 -0
  361. package/dist/src/turnkey/createTurnkeyWallet.d.ts +39 -0
  362. package/dist/src/turnkey/createTurnkeyWallet.js +319 -0
  363. package/dist/src/turnkey/createTurnkeyWallet.js.map +1 -0
  364. package/dist/src/turnkey/createWalletProvider.d.ts +8 -0
  365. package/dist/src/turnkey/createWalletProvider.js +286 -0
  366. package/dist/src/turnkey/createWalletProvider.js.map +1 -0
  367. package/dist/src/turnkey/index.d.ts +3 -0
  368. package/dist/src/turnkey/index.js +3 -0
  369. package/dist/src/turnkey/index.js.map +1 -0
  370. package/dist/src/turnkey/turnkeySessionMachine.d.ts +39 -0
  371. package/dist/src/turnkey/turnkeySessionMachine.js +77 -0
  372. package/dist/src/turnkey/turnkeySessionMachine.js.map +1 -0
  373. package/dist/src/turnkey/turnkeySessionStorage.d.ts +48 -0
  374. package/dist/src/turnkey/turnkeySessionStorage.js +183 -0
  375. package/dist/src/turnkey/turnkeySessionStorage.js.map +1 -0
  376. package/dist/{turnkey → src/turnkey}/types.d.ts +21 -8
  377. package/dist/src/turnkey/types.js +12 -0
  378. package/dist/src/turnkey/types.js.map +1 -0
  379. package/dist/{types → src/types}/wallet.d.ts +39 -13
  380. package/dist/src/types/wallet.js.map +1 -0
  381. package/dist/src/utils/address.d.ts +130 -0
  382. package/dist/src/utils/address.js +274 -0
  383. package/dist/src/utils/address.js.map +1 -0
  384. package/dist/src/utils/chain.d.ts +89 -0
  385. package/dist/src/utils/chain.js +282 -0
  386. package/dist/src/utils/chain.js.map +1 -0
  387. package/dist/{utils → src/utils}/ed25519.d.ts +0 -2
  388. package/dist/{utils → src/utils}/ed25519.js +4 -19
  389. package/dist/src/utils/ed25519.js.map +1 -0
  390. package/dist/src/utils/errors.d.ts +68 -0
  391. package/dist/src/utils/errors.js +190 -0
  392. package/dist/src/utils/errors.js.map +1 -0
  393. package/dist/src/utils/events.d.ts +124 -0
  394. package/dist/src/utils/events.js +155 -0
  395. package/dist/src/utils/events.js.map +1 -0
  396. package/dist/src/utils/formatAmount.d.ts +4 -0
  397. package/dist/src/utils/formatAmount.js +9 -0
  398. package/dist/src/utils/formatAmount.js.map +1 -0
  399. package/dist/src/utils/logger.d.ts +45 -0
  400. package/dist/{utils → src/utils}/logger.js +68 -2
  401. package/dist/src/utils/logger.js.map +1 -0
  402. package/dist/src/utils/shortenString.d.ts +5 -0
  403. package/dist/src/utils/shortenString.js +16 -0
  404. package/dist/src/utils/shortenString.js.map +1 -0
  405. package/package.json +37 -15
  406. package/dist/animations/N1Loader.js.map +0 -1
  407. package/dist/animations/Processing.js.map +0 -1
  408. package/dist/components/LoadingFallback.js.map +0 -1
  409. package/dist/components/Logo.js.map +0 -1
  410. package/dist/components/N1ConnectButton.d.ts +0 -5
  411. package/dist/components/N1ConnectButton.js +0 -49
  412. package/dist/components/N1ConnectButton.js.map +0 -1
  413. package/dist/components/logos/ArbitrumLogo.js.map +0 -1
  414. package/dist/components/logos/BaseLogo.js +0 -6
  415. package/dist/components/logos/BaseLogo.js.map +0 -1
  416. package/dist/components/logos/BeraLogo.js.map +0 -1
  417. package/dist/components/logos/BitcoinLogo.js.map +0 -1
  418. package/dist/components/logos/EthereumLogo.js.map +0 -1
  419. package/dist/components/logos/HyperliquidLogo.js.map +0 -1
  420. package/dist/components/logos/OptimismLogo.js.map +0 -1
  421. package/dist/components/logos/SolanaLogo.js.map +0 -1
  422. package/dist/components/logos/ZeroOneLogo.js.map +0 -1
  423. package/dist/components/logos/index.js.map +0 -1
  424. package/dist/config/chains.d.ts +0 -0
  425. package/dist/config/chains.js +0 -2
  426. package/dist/config/chains.js.map +0 -1
  427. package/dist/config/dynamic.js +0 -13
  428. package/dist/config/dynamic.js.map +0 -1
  429. package/dist/config/solana.js.map +0 -1
  430. package/dist/config/turnkey.d.ts +0 -2
  431. package/dist/config/turnkey.js.map +0 -1
  432. package/dist/config.d.ts +0 -2
  433. package/dist/config.js +0 -3
  434. package/dist/config.js.map +0 -1
  435. package/dist/context/n1-wallet-context.js.map +0 -1
  436. package/dist/errors/types.d.ts +0 -25
  437. package/dist/errors/types.js +0 -77
  438. package/dist/errors/types.js.map +0 -1
  439. package/dist/features/onboarding-flow/N1WalletModal.js.map +0 -1
  440. package/dist/features/onboarding-flow/OnboardingFlow.js.map +0 -1
  441. package/dist/features/onboarding-flow/components/ChainButton.js +0 -21
  442. package/dist/features/onboarding-flow/components/ChainButton.js.map +0 -1
  443. package/dist/features/onboarding-flow/components/Header.js +0 -45
  444. package/dist/features/onboarding-flow/components/Header.js.map +0 -1
  445. package/dist/features/onboarding-flow/components/ImageWithFallback.js.map +0 -1
  446. package/dist/features/onboarding-flow/components/TransactionTable.js.map +0 -1
  447. package/dist/features/onboarding-flow/components/WaitingMessage.js.map +0 -1
  448. package/dist/features/onboarding-flow/components/index.js.map +0 -1
  449. package/dist/features/onboarding-flow/index.js.map +0 -1
  450. package/dist/features/onboarding-flow/providers/DepositFlowProvider.js +0 -525
  451. package/dist/features/onboarding-flow/providers/DepositFlowProvider.js.map +0 -1
  452. package/dist/features/onboarding-flow/providers/OnboardingStateProvider.js +0 -185
  453. package/dist/features/onboarding-flow/providers/OnboardingStateProvider.js.map +0 -1
  454. package/dist/features/onboarding-flow/providers/StateProvider.js.map +0 -1
  455. package/dist/features/onboarding-flow/providers/WalletConnectionProvider.js +0 -394
  456. package/dist/features/onboarding-flow/providers/WalletConnectionProvider.js.map +0 -1
  457. package/dist/features/onboarding-flow/providers/debug.js.map +0 -1
  458. package/dist/features/onboarding-flow/providers/index.js.map +0 -1
  459. package/dist/features/onboarding-flow/providers/onboardingStateMachine.js.map +0 -1
  460. package/dist/features/onboarding-flow/screens/01-ConnectWalletScreen.d.ts +0 -1
  461. package/dist/features/onboarding-flow/screens/01-ConnectWalletScreen.js.map +0 -1
  462. package/dist/features/onboarding-flow/screens/02-ChainSelectionScreen.d.ts +0 -31
  463. package/dist/features/onboarding-flow/screens/02-ChainSelectionScreen.js +0 -100
  464. package/dist/features/onboarding-flow/screens/02-ChainSelectionScreen.js.map +0 -1
  465. package/dist/features/onboarding-flow/screens/02-TurnkeyAuthScreen.js.map +0 -1
  466. package/dist/features/onboarding-flow/screens/03-AmountInputScreen.d.ts +0 -6
  467. package/dist/features/onboarding-flow/screens/03-AmountInputScreen.js +0 -360
  468. package/dist/features/onboarding-flow/screens/03-AmountInputScreen.js.map +0 -1
  469. package/dist/features/onboarding-flow/screens/03-TurnkeyPreparingScreen.js.map +0 -1
  470. package/dist/features/onboarding-flow/screens/04-ChainSelectionScreen.js.map +0 -1
  471. package/dist/features/onboarding-flow/screens/04-DepositProgressScreen.d.ts +0 -3
  472. package/dist/features/onboarding-flow/screens/04-DepositProgressScreen.js +0 -31
  473. package/dist/features/onboarding-flow/screens/04-DepositProgressScreen.js.map +0 -1
  474. package/dist/features/onboarding-flow/screens/05-AmountInputScreen.d.ts +0 -6
  475. package/dist/features/onboarding-flow/screens/05-AmountInputScreen.js +0 -360
  476. package/dist/features/onboarding-flow/screens/05-AmountInputScreen.js.map +0 -1
  477. package/dist/features/onboarding-flow/screens/05-DepositSuccessScreen.d.ts +0 -1
  478. package/dist/features/onboarding-flow/screens/05-DepositSuccessScreen.js +0 -136
  479. package/dist/features/onboarding-flow/screens/05-DepositSuccessScreen.js.map +0 -1
  480. package/dist/features/onboarding-flow/screens/06-AuthLoadingScreen.d.ts +0 -1
  481. package/dist/features/onboarding-flow/screens/06-AuthLoadingScreen.js +0 -31
  482. package/dist/features/onboarding-flow/screens/06-AuthLoadingScreen.js.map +0 -1
  483. package/dist/features/onboarding-flow/screens/06-DepositProgressScreen.js +0 -31
  484. package/dist/features/onboarding-flow/screens/06-DepositProgressScreen.js.map +0 -1
  485. package/dist/features/onboarding-flow/screens/07-DepositSuccessScreen.d.ts +0 -1
  486. package/dist/features/onboarding-flow/screens/07-DepositSuccessScreen.js.map +0 -1
  487. package/dist/features/onboarding-flow/screens/07-ErrorScreen.d.ts +0 -1
  488. package/dist/features/onboarding-flow/screens/07-ErrorScreen.js +0 -14
  489. package/dist/features/onboarding-flow/screens/07-ErrorScreen.js.map +0 -1
  490. package/dist/features/onboarding-flow/screens/08-AuthLoadingScreen.d.ts +0 -1
  491. package/dist/features/onboarding-flow/screens/08-AuthLoadingScreen.js.map +0 -1
  492. package/dist/features/onboarding-flow/screens/08-TurnkeyAuthScreen.d.ts +0 -1
  493. package/dist/features/onboarding-flow/screens/08-TurnkeyAuthScreen.js +0 -18
  494. package/dist/features/onboarding-flow/screens/08-TurnkeyAuthScreen.js.map +0 -1
  495. package/dist/features/onboarding-flow/screens/09-ErrorScreen.d.ts +0 -1
  496. package/dist/features/onboarding-flow/screens/09-ErrorScreen.js +0 -14
  497. package/dist/features/onboarding-flow/screens/09-ErrorScreen.js.map +0 -1
  498. package/dist/features/onboarding-flow/screens/09-TurnkeyPreparingScreen.d.ts +0 -1
  499. package/dist/features/onboarding-flow/screens/09-TurnkeyPreparingScreen.js +0 -18
  500. package/dist/features/onboarding-flow/screens/09-TurnkeyPreparingScreen.js.map +0 -1
  501. package/dist/features/onboarding-flow/screens/TurnkeyAuthScreen.d.ts +0 -1
  502. package/dist/features/onboarding-flow/screens/TurnkeyAuthScreen.js +0 -18
  503. package/dist/features/onboarding-flow/screens/TurnkeyAuthScreen.js.map +0 -1
  504. package/dist/features/onboarding-flow/screens/TurnkeyPreparingScreen.d.ts +0 -1
  505. package/dist/features/onboarding-flow/screens/TurnkeyPreparingScreen.js +0 -18
  506. package/dist/features/onboarding-flow/screens/TurnkeyPreparingScreen.js.map +0 -1
  507. package/dist/features/onboarding-flow/screens/index.d.ts +0 -7
  508. package/dist/features/onboarding-flow/screens/index.js +0 -8
  509. package/dist/features/onboarding-flow/screens/index.js.map +0 -1
  510. package/dist/features/onboarding-flow/types.js.map +0 -1
  511. package/dist/features/onboarding-flow/utils/depositStorage.d.ts +0 -4
  512. package/dist/features/onboarding-flow/utils/depositStorage.js +0 -48
  513. package/dist/features/onboarding-flow/utils/depositStorage.js.map +0 -1
  514. package/dist/features/onboarding-flow/utils/imageUtils.d.ts +0 -21
  515. package/dist/features/onboarding-flow/utils/imageUtils.js +0 -110
  516. package/dist/features/onboarding-flow/utils/imageUtils.js.map +0 -1
  517. package/dist/features/onboarding-flow/utils/nordUser.d.ts +0 -1
  518. package/dist/features/onboarding-flow/utils/nordUser.js.map +0 -1
  519. package/dist/features/onboarding-flow/utils/nordUtils.d.ts +0 -40
  520. package/dist/features/onboarding-flow/utils/nordUtils.js +0 -64
  521. package/dist/features/onboarding-flow/utils/nordUtils.js.map +0 -1
  522. package/dist/features/onboarding-flow/utils/session.d.ts +0 -17
  523. package/dist/features/onboarding-flow/utils/session.js +0 -69
  524. package/dist/features/onboarding-flow/utils/session.js.map +0 -1
  525. package/dist/features/onboarding-flow/utils/transaction.js +0 -8
  526. package/dist/features/onboarding-flow/utils/transaction.js.map +0 -1
  527. package/dist/features/onboarding-flow/utils/utils.js.map +0 -1
  528. package/dist/features/onboarding-flow/utils/withImageFallback.d.ts +0 -7
  529. package/dist/features/onboarding-flow/utils/withImageFallback.js.map +0 -1
  530. package/dist/features/turnkey/createTurnkeyWallet.d.ts +0 -25
  531. package/dist/features/turnkey/createTurnkeyWallet.js +0 -119
  532. package/dist/features/turnkey/createTurnkeyWallet.js.map +0 -1
  533. package/dist/hooks/index.js.map +0 -1
  534. package/dist/hooks/useN1Wallet.d.ts +0 -2
  535. package/dist/hooks/useN1Wallet.js.map +0 -1
  536. package/dist/hooks/useNordUserInitialization.d.ts +0 -1
  537. package/dist/hooks/useNordUserInitialization.js.map +0 -1
  538. package/dist/index.d.ts +0 -7
  539. package/dist/index.js +0 -8
  540. package/dist/index.js.map +0 -1
  541. package/dist/polyfills/windowEthereumGuard.d.ts +0 -6
  542. package/dist/polyfills/windowEthereumGuard.js +0 -28
  543. package/dist/polyfills/windowEthereumGuard.js.map +0 -1
  544. package/dist/providers/LazyWalletProvider.d.ts +0 -1
  545. package/dist/providers/LazyWalletProvider.js +0 -230
  546. package/dist/providers/LazyWalletProvider.js.map +0 -1
  547. package/dist/providers/N1WalletProvider.d.ts +0 -3
  548. package/dist/providers/N1WalletProvider.js +0 -267
  549. package/dist/providers/N1WalletProvider.js.map +0 -1
  550. package/dist/providers/ShadowRootWrapper.js.map +0 -1
  551. package/dist/providers/TurnkeyProviderBridge.d.ts +0 -7
  552. package/dist/providers/TurnkeyProviderBridge.js +0 -20
  553. package/dist/providers/TurnkeyProviderBridge.js.map +0 -1
  554. package/dist/providers/WalletErrorBoundary.js.map +0 -1
  555. package/dist/styles/embedded-main-css.d.ts +0 -2
  556. package/dist/styles/embedded-main-css.js +0 -3
  557. package/dist/styles/embedded-main-css.js.map +0 -1
  558. package/dist/turnkey/TurnkeyProvider.d.ts +0 -9
  559. package/dist/turnkey/TurnkeyProvider.js +0 -378
  560. package/dist/turnkey/TurnkeyProvider.js.map +0 -1
  561. package/dist/turnkey/createWalletProvider.d.ts +0 -3
  562. package/dist/turnkey/createWalletProvider.js +0 -180
  563. package/dist/turnkey/createWalletProvider.js.map +0 -1
  564. package/dist/turnkey/index.d.ts +0 -3
  565. package/dist/turnkey/index.js +0 -3
  566. package/dist/turnkey/index.js.map +0 -1
  567. package/dist/turnkey/types.js +0 -8
  568. package/dist/turnkey/types.js.map +0 -1
  569. package/dist/types/wallet.js.map +0 -1
  570. package/dist/utils/ed25519.js.map +0 -1
  571. package/dist/utils/getPseudoName.d.ts +0 -1
  572. package/dist/utils/getPseudoName.js +0 -5826
  573. package/dist/utils/getPseudoName.js.map +0 -1
  574. package/dist/utils/logger.d.ts +0 -21
  575. package/dist/utils/logger.js.map +0 -1
  576. package/dist/utils/shortenString.d.ts +0 -2
  577. package/dist/utils/shortenString.js +0 -9
  578. package/dist/utils/shortenString.js.map +0 -1
  579. package/dist/utils/turnkeySessionStorage.d.ts +0 -3
  580. package/dist/utils/turnkeySessionStorage.js +0 -33
  581. package/dist/utils/turnkeySessionStorage.js.map +0 -1
  582. package/dist/utils/words.d.ts +0 -9
  583. package/dist/utils/words.js +0 -93572
  584. package/dist/utils/words.js.map +0 -1
  585. /package/dist/{animations → src/animations}/N1Loader.d.ts +0 -0
  586. /package/dist/{animations → src/animations}/N1Loader.js +0 -0
  587. /package/dist/{animations → src/animations}/Processing.d.ts +0 -0
  588. /package/dist/{animations → src/animations}/Processing.js +0 -0
  589. /package/dist/{components → src/components}/logos/ArbitrumLogo.d.ts +0 -0
  590. /package/dist/{components → src/components}/logos/ArbitrumLogo.js +0 -0
  591. /package/dist/{components → src/components}/logos/BaseLogo.d.ts +0 -0
  592. /package/dist/{components → src/components}/logos/BeraLogo.d.ts +0 -0
  593. /package/dist/{components → src/components}/logos/BeraLogo.js +0 -0
  594. /package/dist/{components → src/components}/logos/BitcoinLogo.d.ts +0 -0
  595. /package/dist/{components → src/components}/logos/BitcoinLogo.js +0 -0
  596. /package/dist/{components → src/components}/logos/EthereumLogo.d.ts +0 -0
  597. /package/dist/{components → src/components}/logos/EthereumLogo.js +0 -0
  598. /package/dist/{components → src/components}/logos/HyperliquidLogo.d.ts +0 -0
  599. /package/dist/{components → src/components}/logos/OptimismLogo.d.ts +0 -0
  600. /package/dist/{components → src/components}/logos/OptimismLogo.js +0 -0
  601. /package/dist/{components → src/components}/logos/SolanaLogo.d.ts +0 -0
  602. /package/dist/{components → src/components}/logos/SolanaLogo.js +0 -0
  603. /package/dist/{components → src/components}/logos/ZeroOneLogo.d.ts +0 -0
  604. /package/dist/{components → src/components}/logos/ZeroOneLogo.js +0 -0
  605. /package/dist/{components → src/components}/logos/index.d.ts +0 -0
  606. /package/dist/{components → src/components}/logos/index.js +0 -0
  607. /package/dist/{config → src/config}/dynamic.d.ts +0 -0
  608. /package/dist/{config → src/config}/solana.d.ts +0 -0
  609. /package/dist/{config → src/config}/solana.js +0 -0
  610. /package/dist/{context → src/context}/n1-wallet-context.d.ts +0 -0
  611. /package/dist/{context → src/context}/n1-wallet-context.js +0 -0
  612. /package/dist/{features → src/features}/onboarding-flow/N1WalletModal.d.ts +0 -0
  613. /package/dist/{features → src/features}/onboarding-flow/components/ImageWithFallback.d.ts +0 -0
  614. /package/dist/{features → src/features}/onboarding-flow/components/ImageWithFallback.js +0 -0
  615. /package/dist/{features → src/features}/onboarding-flow/components/WaitingMessage.js +0 -0
  616. /package/dist/{features → src/features}/onboarding-flow/components/index.d.ts +0 -0
  617. /package/dist/{features → src/features}/onboarding-flow/components/index.js +0 -0
  618. /package/dist/{features → src/features}/onboarding-flow/index.d.ts +0 -0
  619. /package/dist/{features → src/features}/onboarding-flow/index.js +0 -0
  620. /package/dist/{features → src/features}/onboarding-flow/providers/debug.d.ts +0 -0
  621. /package/dist/{features → src/features}/onboarding-flow/providers/index.d.ts +0 -0
  622. /package/dist/{features → src/features}/onboarding-flow/providers/index.js +0 -0
  623. /package/dist/{features → src/features}/onboarding-flow/screens/02-TurnkeyAuthScreen.d.ts +0 -0
  624. /package/dist/{features → src/features}/onboarding-flow/screens/03-TurnkeyPreparingScreen.d.ts +0 -0
  625. /package/dist/{hooks → src/hooks}/index.d.ts +0 -0
  626. /package/dist/{hooks → src/hooks}/index.js +0 -0
  627. /package/dist/{types → src/types}/wallet.js +0 -0
@@ -0,0 +1,160 @@
1
+ /**
2
+ * Type definitions for unified wallet adapters.
3
+ * Provides a consistent interface across Solana and EVM wallets.
4
+ */
5
+ import type { PublicKey, Transaction, VersionedTransaction } from '@solana/web3.js';
6
+ import type { Chain as ViemChain } from 'viem';
7
+ import type { NetworkType, ChainInfo } from '../utils/chain';
8
+ /**
9
+ * Possible states for a wallet adapter.
10
+ */
11
+ export type WalletAdapterState = 'disconnected' | 'connecting' | 'connected' | 'error';
12
+ /**
13
+ * Error from wallet operations.
14
+ */
15
+ export interface WalletAdapterError {
16
+ code: string;
17
+ message: string;
18
+ cause?: unknown;
19
+ }
20
+ /**
21
+ * Base interface for all wallet adapters.
22
+ * Provides common functionality across Solana and EVM wallets.
23
+ */
24
+ export interface WalletAdapter {
25
+ /** The network type (solana or evm) */
26
+ readonly network: NetworkType;
27
+ /** The wallet address (null if not connected) */
28
+ readonly address: string | null;
29
+ /** Whether the wallet is currently connected */
30
+ readonly isConnected: boolean;
31
+ /** Current connection state */
32
+ readonly state: WalletAdapterState;
33
+ /** Chain information (null if not connected or unknown) */
34
+ readonly chain: ChainInfo | null;
35
+ /** Name of the wallet (e.g., "Phantom", "MetaMask") */
36
+ readonly walletName: string | null;
37
+ /**
38
+ * Signs a message with the wallet.
39
+ * @param message - The message to sign (string or bytes)
40
+ * @returns The signature as a Uint8Array
41
+ */
42
+ signMessage(message: string | Uint8Array): Promise<Uint8Array>;
43
+ /**
44
+ * Disconnects the wallet.
45
+ */
46
+ disconnect(): Promise<void>;
47
+ /**
48
+ * Returns the raw underlying wallet object.
49
+ * Use with caution - prefer the typed interface methods.
50
+ */
51
+ getRawWallet(): unknown;
52
+ }
53
+ /**
54
+ * Solana-specific wallet adapter interface.
55
+ */
56
+ export interface SolanaWalletAdapter extends WalletAdapter {
57
+ readonly network: 'solana';
58
+ /**
59
+ * Gets the wallet's public key.
60
+ * @returns PublicKey object
61
+ */
62
+ getPublicKey(): PublicKey | null;
63
+ /**
64
+ * Signs a transaction.
65
+ * @param transaction - The transaction to sign
66
+ * @returns The signed transaction
67
+ */
68
+ signTransaction<T extends Transaction | VersionedTransaction>(transaction: T): Promise<T>;
69
+ /**
70
+ * Signs multiple transactions.
71
+ * @param transactions - The transactions to sign
72
+ * @returns The signed transactions
73
+ */
74
+ signAllTransactions<T extends Transaction | VersionedTransaction>(transactions: T[]): Promise<T[]>;
75
+ /**
76
+ * Checks if the wallet is a Ledger hardware wallet.
77
+ * Important for transaction size limits.
78
+ */
79
+ isLedger(): Promise<boolean>;
80
+ /**
81
+ * Gets the signer for use with SDKs that need it.
82
+ */
83
+ getSigner(): Promise<{
84
+ publicKey: PublicKey;
85
+ signTransaction: <T extends Transaction | VersionedTransaction>(tx: T) => Promise<T>;
86
+ signAllTransactions: <T extends Transaction | VersionedTransaction>(txs: T[]) => Promise<T[]>;
87
+ signMessage: (message: Uint8Array) => Promise<Uint8Array>;
88
+ }>;
89
+ }
90
+ /**
91
+ * EIP-1193 provider interface (subset needed for wallet operations).
92
+ */
93
+ export interface EIP1193Provider {
94
+ request: (args: {
95
+ method: string;
96
+ params?: unknown[];
97
+ }) => Promise<unknown>;
98
+ on?: (event: string, handler: (...args: unknown[]) => void) => void;
99
+ removeListener?: (event: string, handler: (...args: unknown[]) => void) => void;
100
+ }
101
+ /**
102
+ * EVM-specific wallet adapter interface.
103
+ */
104
+ export interface EVMWalletAdapter extends WalletAdapter {
105
+ readonly network: 'evm';
106
+ /** The current chain ID (null if not connected). May be cached. */
107
+ readonly chainId: number | null;
108
+ /**
109
+ * Gets the current chain ID from the provider.
110
+ * More reliable than the cached chainId property - use this when
111
+ * you need the live value (e.g., before switching networks).
112
+ * @returns The current chain ID or null
113
+ */
114
+ getCurrentChainId(): Promise<number | null>;
115
+ /**
116
+ * Switches to a different chain.
117
+ * @param chainId - The target chain ID
118
+ */
119
+ switchChain(chainId: number): Promise<void>;
120
+ /**
121
+ * Gets the EIP-1193 provider.
122
+ * @returns Provider for direct RPC calls
123
+ */
124
+ getProvider(): Promise<EIP1193Provider>;
125
+ /**
126
+ * Gets a viem WalletClient.
127
+ * @param chain - Optional chain to use
128
+ * @returns WalletClient for viem operations
129
+ */
130
+ getWalletClient(chain?: ViemChain): Promise<unknown>;
131
+ /**
132
+ * Signs typed data (EIP-712).
133
+ * @param data - The typed data to sign
134
+ * @returns The signature as a hex string
135
+ */
136
+ signTypedData(data: unknown): Promise<string>;
137
+ }
138
+ /**
139
+ * Type guard to check if an adapter is a Solana adapter.
140
+ */
141
+ export declare function isSolanaAdapter(adapter: WalletAdapter): adapter is SolanaWalletAdapter;
142
+ /**
143
+ * Type guard to check if an adapter is an EVM adapter.
144
+ */
145
+ export declare function isEVMAdapter(adapter: WalletAdapter): adapter is EVMWalletAdapter;
146
+ /**
147
+ * Options for creating a wallet adapter.
148
+ */
149
+ export interface CreateAdapterOptions {
150
+ /** The network type */
151
+ network: NetworkType;
152
+ /** The raw wallet object from Dynamic SDK */
153
+ wallet: unknown;
154
+ /** Optional chain info */
155
+ chain?: ChainInfo;
156
+ }
157
+ /**
158
+ * Factory function type for creating adapters.
159
+ */
160
+ export type WalletAdapterFactory = (options: CreateAdapterOptions) => WalletAdapter;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Type definitions for unified wallet adapters.
3
+ * Provides a consistent interface across Solana and EVM wallets.
4
+ */
5
+ // ---------------------------------------------------------------------------
6
+ // Type Guards
7
+ // ---------------------------------------------------------------------------
8
+ /**
9
+ * Type guard to check if an adapter is a Solana adapter.
10
+ */
11
+ export function isSolanaAdapter(adapter) {
12
+ return adapter.network === 'solana';
13
+ }
14
+ /**
15
+ * Type guard to check if an adapter is an EVM adapter.
16
+ */
17
+ export function isEVMAdapter(adapter) {
18
+ return adapter.network === 'evm';
19
+ }
20
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/adapters/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA8KH,8EAA8E;AAC9E,cAAc;AACd,8EAA8E;AAE9E;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,OAAsB;IACpD,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,CAAC;AACtC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,OAAsB;IACjD,OAAO,OAAO,CAAC,OAAO,KAAK,KAAK,CAAC;AACnC,CAAC","sourcesContent":["/**\n * Type definitions for unified wallet adapters.\n * Provides a consistent interface across Solana and EVM wallets.\n */\n\nimport type { PublicKey, Transaction, VersionedTransaction } from '@solana/web3.js';\nimport type { Chain as ViemChain } from 'viem';\nimport type { NetworkType, ChainInfo } from '../utils/chain';\n\n// ---------------------------------------------------------------------------\n// Base Types\n// ---------------------------------------------------------------------------\n\n/**\n * Possible states for a wallet adapter.\n */\nexport type WalletAdapterState = 'disconnected' | 'connecting' | 'connected' | 'error';\n\n/**\n * Error from wallet operations.\n */\nexport interface WalletAdapterError {\n code: string;\n message: string;\n cause?: unknown;\n}\n\n// ---------------------------------------------------------------------------\n// Base Wallet Adapter Interface\n// ---------------------------------------------------------------------------\n\n/**\n * Base interface for all wallet adapters.\n * Provides common functionality across Solana and EVM wallets.\n */\nexport interface WalletAdapter {\n /** The network type (solana or evm) */\n readonly network: NetworkType;\n\n /** The wallet address (null if not connected) */\n readonly address: string | null;\n\n /** Whether the wallet is currently connected */\n readonly isConnected: boolean;\n\n /** Current connection state */\n readonly state: WalletAdapterState;\n\n /** Chain information (null if not connected or unknown) */\n readonly chain: ChainInfo | null;\n\n /** Name of the wallet (e.g., \"Phantom\", \"MetaMask\") */\n readonly walletName: string | null;\n\n /**\n * Signs a message with the wallet.\n * @param message - The message to sign (string or bytes)\n * @returns The signature as a Uint8Array\n */\n signMessage(message: string | Uint8Array): Promise<Uint8Array>;\n\n /**\n * Disconnects the wallet.\n */\n disconnect(): Promise<void>;\n\n /**\n * Returns the raw underlying wallet object.\n * Use with caution - prefer the typed interface methods.\n */\n getRawWallet(): unknown;\n}\n\n// ---------------------------------------------------------------------------\n// Solana Wallet Adapter\n// ---------------------------------------------------------------------------\n\n/**\n * Solana-specific wallet adapter interface.\n */\nexport interface SolanaWalletAdapter extends WalletAdapter {\n readonly network: 'solana';\n\n /**\n * Gets the wallet's public key.\n * @returns PublicKey object\n */\n getPublicKey(): PublicKey | null;\n\n /**\n * Signs a transaction.\n * @param transaction - The transaction to sign\n * @returns The signed transaction\n */\n signTransaction<T extends Transaction | VersionedTransaction>(transaction: T): Promise<T>;\n\n /**\n * Signs multiple transactions.\n * @param transactions - The transactions to sign\n * @returns The signed transactions\n */\n signAllTransactions<T extends Transaction | VersionedTransaction>(transactions: T[]): Promise<T[]>;\n\n /**\n * Checks if the wallet is a Ledger hardware wallet.\n * Important for transaction size limits.\n */\n isLedger(): Promise<boolean>;\n\n /**\n * Gets the signer for use with SDKs that need it.\n */\n getSigner(): Promise<{\n publicKey: PublicKey;\n signTransaction: <T extends Transaction | VersionedTransaction>(tx: T) => Promise<T>;\n signAllTransactions: <T extends Transaction | VersionedTransaction>(txs: T[]) => Promise<T[]>;\n signMessage: (message: Uint8Array) => Promise<Uint8Array>;\n }>;\n}\n\n// ---------------------------------------------------------------------------\n// EVM Wallet Adapter\n// ---------------------------------------------------------------------------\n\n/**\n * EIP-1193 provider interface (subset needed for wallet operations).\n */\nexport interface EIP1193Provider {\n request: (args: { method: string; params?: unknown[] }) => Promise<unknown>;\n on?: (event: string, handler: (...args: unknown[]) => void) => void;\n removeListener?: (event: string, handler: (...args: unknown[]) => void) => void;\n}\n\n/**\n * EVM-specific wallet adapter interface.\n */\nexport interface EVMWalletAdapter extends WalletAdapter {\n readonly network: 'evm';\n\n /** The current chain ID (null if not connected). May be cached. */\n readonly chainId: number | null;\n\n /**\n * Gets the current chain ID from the provider.\n * More reliable than the cached chainId property - use this when\n * you need the live value (e.g., before switching networks).\n * @returns The current chain ID or null\n */\n getCurrentChainId(): Promise<number | null>;\n\n /**\n * Switches to a different chain.\n * @param chainId - The target chain ID\n */\n switchChain(chainId: number): Promise<void>;\n\n /**\n * Gets the EIP-1193 provider.\n * @returns Provider for direct RPC calls\n */\n getProvider(): Promise<EIP1193Provider>;\n\n /**\n * Gets a viem WalletClient.\n * @param chain - Optional chain to use\n * @returns WalletClient for viem operations\n */\n getWalletClient(chain?: ViemChain): Promise<unknown>;\n\n /**\n * Signs typed data (EIP-712).\n * @param data - The typed data to sign\n * @returns The signature as a hex string\n */\n signTypedData(data: unknown): Promise<string>;\n}\n\n// ---------------------------------------------------------------------------\n// Type Guards\n// ---------------------------------------------------------------------------\n\n/**\n * Type guard to check if an adapter is a Solana adapter.\n */\nexport function isSolanaAdapter(adapter: WalletAdapter): adapter is SolanaWalletAdapter {\n return adapter.network === 'solana';\n}\n\n/**\n * Type guard to check if an adapter is an EVM adapter.\n */\nexport function isEVMAdapter(adapter: WalletAdapter): adapter is EVMWalletAdapter {\n return adapter.network === 'evm';\n}\n\n// ---------------------------------------------------------------------------\n// Factory Types\n// ---------------------------------------------------------------------------\n\n/**\n * Options for creating a wallet adapter.\n */\nexport interface CreateAdapterOptions {\n /** The network type */\n network: NetworkType;\n /** The raw wallet object from Dynamic SDK */\n wallet: unknown;\n /** Optional chain info */\n chain?: ChainInfo;\n}\n\n/**\n * Factory function type for creating adapters.\n */\nexport type WalletAdapterFactory = (options: CreateAdapterOptions) => WalletAdapter;\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"N1Loader.js","sourceRoot":"","sources":["../../../src/animations/N1Loader.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAGb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAS5C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAQT;IAPvB,IAAA,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EACf,aAAS,EAAT,KAAK,mBAAG,CAAC,KAAA,EACT,SAAS,eAAA,EACT,KAAK,WAAA,EACF,IAAI,cAPyB,2DAQjC,CADQ;IAEP,IAAM,SAAS,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IACtD,IAAM,cAAc,cAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,IACT,KAAK,CACT,CAAC;IAEF,SAAS,CAAC;QACR,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,uBAAK,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,IAAM,IAAI,cACxD,KAAC,MAAM,IACL,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GACxC,IACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\nimport type { CSSProperties, HTMLAttributes } from 'react';\nimport { useEffect, useRef } from 'react';\nimport Lottie, { type LottieRefCurrentProps } from 'lottie-react';\n\nimport animationData from './N1Loader.json';\n\nexport interface N1LoaderAnimationProps extends HTMLAttributes<HTMLDivElement> {\n size?: number;\n loop?: boolean;\n autoplay?: boolean;\n speed?: number;\n}\n\n/**\n * N1 loader rendered via the original Lottie JSON animation.\n */\nexport function N1LoaderAnimation({\n size = 96,\n loop = true,\n autoplay = true,\n speed = 1,\n className,\n style,\n ...rest\n}: N1LoaderAnimationProps) {\n const lottieRef = useRef<LottieRefCurrentProps>(null);\n const containerStyle: CSSProperties = {\n width: size,\n height: size,\n ...style,\n };\n\n useEffect(() => {\n if (lottieRef.current) {\n lottieRef.current.setSpeed(speed);\n }\n }, [speed]);\n\n return (\n <div className={className} style={containerStyle} {...rest}>\n <Lottie\n lottieRef={lottieRef}\n animationData={animationData}\n loop={loop}\n autoplay={autoplay}\n style={{ width: '100%', height: '100%' }}\n />\n </div>\n );\n}\n"]}
@@ -0,0 +1 @@
1
+ { "v": "5.12.1", "fr": 60, "ip": 0, "op": 300, "w": 156, "h": 156, "nm": "N1 Loader", "ddd": 0, "assets": [{ "id": "comp_0", "nm": "Frame 147", "fr": 60, "layers": [{ "ddd": 0, "ind": 1, "ty": 0, "nm": "Frame 159", "refId": "comp_1", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [42, 42, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [42, 42, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "w": 84, "h": 84, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 2, "ty": 4, "nm": "Frame 147", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [42, 42, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ty": "rc", "d": 1, "s": { "a": 0, "k": [28, 28], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "r": { "a": 0, "k": 4, "ix": 4 }, "nm": "Rectangle Path 1", "mn": "ADBE Vector Shape - Rect", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Frame 147", "np": 1, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }] }, { "id": "comp_1", "nm": "Frame 159", "fr": 60, "layers": [{ "ddd": 0, "ind": 1, "ty": 3, "nm": "▽ Group", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [41.547, 41.25, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [24.453, 12.96, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 2, "ty": 3, "nm": "▽ Layer_1", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [24.453, 12.96, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [24.453, 12.96, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 3, "ty": 3, "nm": "▽ Layer_2", "parent": 2, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [24.453, 12.96, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [24.453, 12.96, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 4, "ty": 3, "nm": "▽ Layer_1-2", "parent": 3, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [24.453, 12.96, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [24.453, 12.96, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 5, "ty": 4, "nm": "Vector", "parent": 4, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [45.852, 12.96, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[-1.018, 4.32], [-1.018, -2.278], [1.018, -4.32], [1.018, -3.344], [1.018, -2.278], [1.018, 4.32]], "c": true }, "ix": 2 }, "nm": "Path 1", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Vector", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 6, "ty": 4, "nm": "Vector", "parent": 4, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [18.831, 12.96, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[-4.241, -4.32], [-2.335, -4.32], [-0.299, -2.278], [6.277, 4.32], [3.398, 4.32], [-3.178, -2.278], [-4.241, -2.278], [-4.241, 4.32], [-6.277, 4.32], [-6.277, -2.278]], "c": true }, "ix": 2 }, "nm": "Path 1", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Vector", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 7, "ty": 4, "nm": "Vector", "parent": 4, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [34.608, 3.063, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0]], "v": [[1.018, -1.021], [-1.018, -1.021], [-1.018, 1.021], [1.018, 1.021]], "c": true }, "ix": 2 }, "nm": "Path 1", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Vector", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 8, "ty": 4, "nm": "Rectangle 2", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [42, 42, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ty": "rc", "d": 1, "s": { "a": 0, "k": [28, 28], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "r": { "a": 0, "k": 29, "ix": 4 }, "nm": "Rectangle Path 1", "mn": "ADBE Vector Shape - Rect", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [0.10478515923, 0.10478515923, 0.10478515923, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Rectangle 2", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 9, "ty": 4, "nm": "Frame 159", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [42, 42, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ty": "rc", "d": 1, "s": { "a": 0, "k": [28, 28], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 4 }, "nm": "Rectangle Path 1", "mn": "ADBE Vector Shape - Rect", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Frame 159", "np": 1, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }] }], "layers": [{ "ddd": 0, "ind": 1, "ty": 3, "nm": "▽ Group 155", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [78, 78, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [72, 72, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 2, "ty": 4, "nm": "Ellipse 64", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [72, 72, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [48, 48], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "st", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 3 }, "o": { "a": 0, "k": 100, "ix": 4 }, "w": { "a": 0, "k": 1, "ix": 5 }, "lc": 1, "lj": 1, "ml": 4, "bm": 0, "nm": "Stroke 1", "mn": "ADBE Vector Graphic - Stroke", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 64", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 3, "ty": 4, "nm": "Ellipse 63", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [72, 72, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [38, 38], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "st", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 3 }, "o": { "a": 0, "k": 100, "ix": 4 }, "w": { "a": 0, "k": 1, "ix": 5 }, "lc": 1, "lj": 1, "ml": 4, "bm": 0, "nm": "Stroke 1", "mn": "ADBE Vector Graphic - Stroke", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 63", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 4, "ty": 4, "nm": "Ellipse 60", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 1, "k": [{ "i": { "x": [0.41], "y": [1] }, "o": { "x": [0.59], "y": [0] }, "t": 0, "s": [0] }, { "t": 299, "s": [360] }], "ix": 10 }, "p": { "a": 0, "k": [71.996, 71.985, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [49.543, -52.444, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [4, 4], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 60", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 5, "ty": 3, "nm": "▽ Group 152", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [72, 72, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [42, 42, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 6, "ty": 0, "nm": "Frame 147", "parent": 5, "refId": "comp_0", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [42, 42, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [42, 42, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "w": 84, "h": 84, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 7, "ty": 4, "nm": "Ellipse 62", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 1, "k": [{ "i": { "x": [0.41], "y": [1] }, "o": { "x": [0.59], "y": [0] }, "t": 0, "s": [0] }, { "t": 299, "s": [360] }], "ix": 10 }, "p": { "a": 0, "k": [71.993, 71.997, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [-39.007, 60.458, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [4, 4], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 62", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 8, "ty": 4, "nm": "Ellipse 65", "parent": 3, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 1, "k": [{ "i": { "x": [0.41], "y": [1] }, "o": { "x": [0.59], "y": [0] }, "t": 0, "s": [0] }, { "t": 299, "s": [-360] }], "ix": 10 }, "p": { "a": 0, "k": [0.007, -0.007, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [-43.207, -36.721, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [4, 4], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 65", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }], "markers": [], "props": {} }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Processing.js","sourceRoot":"","sources":["../../../src/animations/Processing.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAGb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAS9C;;GAEG;AACH,MAAM,UAAU,mBAAmB,CAAC,EAQT;IAPzB,IAAA,YAAU,EAAV,IAAI,mBAAG,GAAG,KAAA,EACV,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EACf,aAAS,EAAT,KAAK,mBAAG,CAAC,KAAA,EACT,SAAS,eAAA,EACT,KAAK,WAAA,EACF,IAAI,cAP2B,2DAQnC,CADQ;IAEP,IAAM,SAAS,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IACtD,IAAM,cAAc,cAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,IACT,KAAK,CACT,CAAC;IAEF,SAAS,CAAC;QACR,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,uBAAK,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,IAAM,IAAI,cACxD,KAAC,MAAM,IACL,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GACxC,IACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\nimport type { CSSProperties, HTMLAttributes } from 'react';\nimport { useEffect, useRef } from 'react';\nimport Lottie, { type LottieRefCurrentProps } from 'lottie-react';\n\nimport animationData from './Processing.json';\n\nexport interface ProcessingAnimationProps extends HTMLAttributes<HTMLDivElement> {\n size?: number;\n loop?: boolean;\n autoplay?: boolean;\n speed?: number;\n}\n\n/**\n * Processing animation powered by the original Lottie JSON asset.\n */\nexport function ProcessingAnimation({\n size = 120,\n loop = true,\n autoplay = true,\n speed = 1,\n className,\n style,\n ...rest\n}: ProcessingAnimationProps) {\n const lottieRef = useRef<LottieRefCurrentProps>(null);\n const containerStyle: CSSProperties = {\n width: size,\n height: size,\n ...style,\n };\n\n useEffect(() => {\n if (lottieRef.current) {\n lottieRef.current.setSpeed(speed);\n }\n }, [speed]);\n\n return (\n <div className={className} style={containerStyle} {...rest}>\n <Lottie\n lottieRef={lottieRef}\n animationData={animationData}\n loop={loop}\n autoplay={autoplay}\n style={{ width: '100%', height: '100%' }}\n />\n </div>\n );\n}\n"]}
@@ -0,0 +1 @@
1
+ { "v": "5.12.1", "fr": 60, "ip": 0, "op": 170, "w": 98, "h": 16, "nm": "Processing 3", "ddd": 0, "assets": [], "layers": [{ "ddd": 0, "ind": 1, "ty": 4, "nm": "Ellipse 58", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [91, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 60, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 80, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 100, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 130, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 150, "s": [190, 190, 100] }, { "t": 170, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 58", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 2, "ty": 4, "nm": "Ellipse 62", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [77, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 50, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 70, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 90, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 120, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 140, "s": [190, 190, 100] }, { "t": 160, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 55", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 3, "ty": 4, "nm": "Ellipse 61", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [63, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 40, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 60, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 80, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 110, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 130, "s": [190, 190, 100] }, { "t": 150, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 55", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 4, "ty": 4, "nm": "Ellipse 60", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [49, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 30, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 50, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 70, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 100, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 120, "s": [190, 190, 100] }, { "t": 140, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 55", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 5, "ty": 4, "nm": "Ellipse 55", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [35, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 20, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 40, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 60, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 90, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 110, "s": [190, 190, 100] }, { "t": 130, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 55", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 6, "ty": 4, "nm": "Ellipse 59", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [21, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 10, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 30, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 50, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 80, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 100, "s": [190, 190, 100] }, { "t": 120, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 59", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 7, "ty": 4, "nm": "Ellipse 53", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [7, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 0, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 20, "s": [190, 190, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 40, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 70, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 90, "s": [190, 190, 100] }, { "t": 110, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 53", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }], "markers": [], "props": {} }
@@ -1,2 +1,5 @@
1
1
  import React from 'react';
2
+ /**
3
+ * Simple loading spinner fallback for Suspense boundaries.
4
+ */
2
5
  export declare const LoadingFallback: React.FC;
@@ -1,3 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ * Simple loading spinner fallback for Suspense boundaries.
4
+ */
2
5
  export var LoadingFallback = function () { return (_jsx("div", { className: "flex items-center justify-center w-full h-full", children: _jsx("div", { className: "n1-ww-animate-spin-slow rounded-full h-8 w-8 border-b-2 border-n1-ww-border" }) })); };
3
6
  //# sourceMappingURL=LoadingFallback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingFallback.js","sourceRoot":"","sources":["../../../src/components/LoadingFallback.tsx"],"names":[],"mappings":";AAEA;;GAEG;AACH,MAAM,CAAC,IAAM,eAAe,GAAa,cAAM,OAAA,CAC7C,cAAK,SAAS,EAAC,gDAAgD,YAC7D,cAAK,SAAS,EAAC,6EAA6E,GAAO,GAC/F,CACP,EAJ8C,CAI9C,CAAC","sourcesContent":["import React from 'react';\n\n/**\n * Simple loading spinner fallback for Suspense boundaries.\n */\nexport const LoadingFallback: React.FC = () => (\n <div className=\"flex items-center justify-center w-full h-full\">\n <div className=\"n1-ww-animate-spin-slow rounded-full h-8 w-8 border-b-2 border-n1-ww-border\"></div>\n </div>\n);\n"]}
@@ -4,5 +4,9 @@ interface LogoProps {
4
4
  fillOpacity?: number;
5
5
  className?: string;
6
6
  }
7
+ /**
8
+ * N1 logo component with configurable size, outline mode, and fill opacity.
9
+ * Maintains SVG aspect ratio automatically.
10
+ */
7
11
  export default function Logo({ size, outlined, fillOpacity, className, }: LogoProps): import("react/jsx-runtime").JSX.Element;
8
12
  export {};
@@ -1,5 +1,9 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ /**
4
+ * N1 logo component with configurable size, outline mode, and fill opacity.
5
+ * Maintains SVG aspect ratio automatically.
6
+ */
3
7
  export default function Logo(_a) {
4
8
  var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.outlined, outlined = _c === void 0 ? false : _c, _d = _a.fillOpacity, fillOpacity = _d === void 0 ? 1 : _d, className = _a.className;
5
9
  // Calculate width based on the SVG's aspect ratio (1347.5/838)
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/components/Logo.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAUb;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAKjB;QAJV,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,gBAAgB,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAChB,mBAAe,EAAf,WAAW,mBAAG,CAAC,KAAA,EACf,SAAS,eAAA;IAET,+DAA+D;IAC/D,IAAM,KAAK,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC;IACpC,IAAM,gBAAgB,GAAG,SAAS;QAChC,CAAC,CAAC,yBAAkB,SAAS,CAAE;QAC/B,CAAC,CAAC,2BAA2B,CAAC;IAEhC,OAAO,CACL,cACE,SAAS,EAAE,gBAAgB,EAC3B,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,UAAG,KAAK,OAAI,EAAE,YAE5C,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,gBAAgB,EACxB,SAAS,EAAC,eAAe,EACzB,mBAAmB,EAAC,eAAe,YAEnC,wBACE,aAAG,EAAE,EAAC,SAAS,aACb,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,QAAQ,IAAI,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO;oCAC5D,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,cAAc;oCACxC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW;oCACvC,UAAU,EACR,QAAQ,IAAI,WAAW,KAAK,CAAC;wCAC3B,CAAC,CAAC,iDAAiD;wCACnD,CAAC,CAAC,SAAS;iCAChB,EACD,CAAC,EAAC,0CAA0C,GAC5C,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,QAAQ,IAAI,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO;oCAC5D,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,cAAc;oCACxC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW;oCACvC,UAAU,EACR,QAAQ,IAAI,WAAW,KAAK,CAAC;wCAC3B,CAAC,CAAC,iDAAiD;wCACnD,CAAC,CAAC,SAAS;iCAChB,EACD,CAAC,EAAC,uGAAuG,GACzG,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,QAAQ,IAAI,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO;oCAC5D,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,cAAc;oCACxC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW;oCACvC,UAAU,EACR,QAAQ,IAAI,WAAW,KAAK,CAAC;wCAC3B,CAAC,CAAC,iDAAiD;wCACnD,CAAC,CAAC,SAAS;iCAChB,EACD,CAAC,EAAC,iDAAiD,GACnD,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,QAAQ,IAAI,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO;oCAC5D,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,cAAc;oCACxC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW;oCACvC,UAAU,EACR,QAAQ,IAAI,WAAW,KAAK,CAAC;wCAC3B,CAAC,CAAC,iDAAiD;wCACnD,CAAC,CAAC,SAAS;iCAChB,EACD,CAAC,EAAC,OAAO,EACT,CAAC,EAAC,OAAO,EACT,KAAK,EAAC,OAAO,EACb,MAAM,EAAC,OAAO,GACd,EACF,kBACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,QAAQ,IAAI,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO;oCAC5D,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,cAAc;oCACxC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW;oCACvC,UAAU,EACR,QAAQ,IAAI,WAAW,KAAK,CAAC;wCAC3B,CAAC,CAAC,iDAAiD;wCACnD,CAAC,CAAC,SAAS;iCAChB,EACD,MAAM,EAAC,mIAAmI,GAC1I,EACF,kBACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,QAAQ,IAAI,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO;oCAC5D,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,cAAc;oCACxC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW;oCACvC,UAAU,EACR,QAAQ,IAAI,WAAW,KAAK,CAAC;wCAC3B,CAAC,CAAC,iDAAiD;wCACnD,CAAC,CAAC,SAAS;iCAChB,EACD,MAAM,EAAC,4FAA4F,GACnG,IACA,EACJ,aAAG,EAAE,EAAC,WAAW,aACf,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,KAAK,EACR,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,MAAM,GACT,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,OAAO,EACV,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,EACF,eACE,KAAK,EAAE;oCACL,MAAM,EAAE,cAAc;oCACtB,gBAAgB,EAAE,EAAE;oCACpB,WAAW,EAAE,OAAO;iCACrB,EACD,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,QAAQ,EACX,EAAE,EAAC,QAAQ,GACX,IACA,IACF,GACA,GACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\n\ninterface LogoProps {\n size?: number;\n outlined?: boolean;\n fillOpacity?: number;\n className?: string;\n}\n\n/**\n * N1 logo component with configurable size, outline mode, and fill opacity.\n * Maintains SVG aspect ratio automatically.\n */\nexport default function Logo({\n size = 24,\n outlined = false,\n fillOpacity = 1,\n className,\n}: LogoProps) {\n // Calculate width based on the SVG's aspect ratio (1347.5/838)\n const width = size * (1347.5 / 838);\n const wrapperClassName = className\n ? `cursor-pointer ${className}`\n : 'cursor-pointer text-white';\n\n return (\n <div\n className={wrapperClassName}\n style={{ height: size, width: `${width}px` }}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n version=\"1.1\"\n viewBox=\"0 0 1347.5 838\"\n className=\"h-full w-full\"\n preserveAspectRatio=\"xMidYMid meet\"\n >\n <g>\n <g id=\"Layer_1\">\n <path\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n d=\"M965.4,1497.9h-133.8v133.8h133.8v-133.8Z\"\n />\n <path\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n d=\"M394.9,1497.9h-126.3l-134.9,134.9v435.7h134.9v-435.7h70.4l435.7,435.7h190.7l-435.7-435.7-134.9-134.9Z\"\n />\n <path\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n d=\"M1078.9,1632.8v435.7h134.9v-570.5l-134.9,134.9Z\"\n />\n <rect\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n x=\"831.7\"\n y=\"133.8\"\n width=\"133.8\"\n height=\"133.8\"\n />\n <polygon\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n points=\"394.9 133.8 268.6 133.8 133.8 268.6 133.8 704.3 268.6 704.3 268.6 268.6 339 268.6 774.7 704.3 965.4 704.3 529.8 268.6 394.9 133.8\"\n />\n <polygon\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: outlined || fillOpacity !== 1 ? '2px' : '0.5px',\n fill: outlined ? 'none' : 'currentColor',\n fillOpacity: outlined ? 0 : fillOpacity,\n transition:\n outlined || fillOpacity !== 1\n ? 'fill-opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1)'\n : undefined,\n }}\n points=\"1078.9 268.6 1078.9 704.3 1213.8 704.3 1213.8 268.6 1213.8 198.2 1213.8 133.8 1078.9 268.6\"\n />\n </g>\n <g id=\"Gridlines\">\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"965.4\"\n y1=\"1232\"\n x2=\"965.4\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"1631.7\"\n x2=\"1707.2\"\n y2=\"1631.7\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"831.7\"\n y1=\"1232\"\n x2=\"831.7\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"129\"\n y1=\"1232\"\n x2=\"1231.2\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-61.7\"\n y1=\"1232\"\n x2=\"1040.5\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"1632.8\"\n x2=\"1707.2\"\n y2=\"1632.8\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"268.6\"\n y1=\"1232\"\n x2=\"268.6\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"133.8\"\n y1=\"1232\"\n x2=\"133.8\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"534.5\"\n y1=\"1232\"\n x2=\"-359.4\"\n y2=\"2126\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"1497.9\"\n x2=\"1707.2\"\n y2=\"1497.9\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"1479.7\"\n y1=\"1232\"\n x2=\"377.4\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"1213.8\"\n y1=\"1232\"\n x2=\"1213.8\"\n y2=\"2334.3\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"-359.4\"\n y1=\"2068.5\"\n x2=\"1707.2\"\n y2=\"2068.5\"\n />\n <line\n style={{\n stroke: 'currentColor',\n strokeMiterlimit: 10,\n strokeWidth: '0.5px',\n }}\n x1=\"1078.9\"\n y1=\"1232\"\n x2=\"1078.9\"\n y2=\"2334.3\"\n />\n </g>\n </g>\n </svg>\n </div>\n );\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ /**
3
+ * Public connect button component for integrating the wallet widget.
4
+ * Shows connection status, handles click events, and defers opening until SDK is ready.
5
+ *
6
+ * Uses the modal state machine:
7
+ * - openModal(): opens the modal (handles cooldown, SDK readiness internally)
8
+ * - isClosing: true when modal is in closing animation
9
+ */
10
+ export declare function N1ConnectButton(_props: {
11
+ label: string;
12
+ children?: React.ReactNode;
13
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,66 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import BlockiesSvg from 'blockies-react-svg';
3
+ import { useEffect, useState } from 'react';
4
+ import { useNetwork } from '../providers/N1WalletProvider/NetworkProvider';
5
+ import { useSession } from '../providers/N1WalletProvider/SessionProvider';
6
+ import { useModal } from '../providers/N1WalletProvider/ModalProvider';
7
+ import { ShadowRootWrapper } from '../providers/ShadowRootWrapper';
8
+ import mainCss from '../styles/embedded-main-css';
9
+ import { logger } from '../utils/logger';
10
+ /**
11
+ * Public connect button component for integrating the wallet widget.
12
+ * Shows connection status, handles click events, and defers opening until SDK is ready.
13
+ *
14
+ * Uses the modal state machine:
15
+ * - openModal(): opens the modal (handles cooldown, SDK readiness internally)
16
+ * - isClosing: true when modal is in closing animation
17
+ */
18
+ export function N1ConnectButton(_props) {
19
+ // Use new providers instead of legacy context
20
+ var solanaAddress = useNetwork().solanaAddress;
21
+ var _a = useSession(), isConnected = _a.isConnected, loading = _a.loading;
22
+ var _b = useModal(), openModal = _b.openModal, isClosing = _b.isClosing;
23
+ var _c = useState(false), toOpen = _c[0], setToOpen = _c[1];
24
+ var addressText = isConnected && solanaAddress
25
+ ? "".concat(solanaAddress.substring(0, 6), "...").concat(solanaAddress.slice(-4))
26
+ : '';
27
+ // Deferred open when loading completes
28
+ useEffect(function () {
29
+ if (!loading && toOpen) {
30
+ openModal();
31
+ setToOpen(false);
32
+ }
33
+ }, [loading, toOpen, openModal]);
34
+ var buttonClass = 'n1-ww-connect-button';
35
+ var injectedCss = '';
36
+ var renderLabel = function () {
37
+ if (loading && !isConnected)
38
+ return 'Connecting...';
39
+ if (!isConnected)
40
+ return _props.label || 'Connect';
41
+ return addressText;
42
+ };
43
+ /**
44
+ * Handles button clicks with guards:
45
+ * - Ignores clicks during modal close animation
46
+ * - Defers opening until loading completes
47
+ * - No-op if already connected
48
+ */
49
+ var handleClick = function () {
50
+ if (isClosing) {
51
+ logger.debug('[N1ConnectButton] click ignored; modal closing');
52
+ return;
53
+ }
54
+ if (loading && !isConnected) {
55
+ setToOpen(true);
56
+ logger.debug('[N1ConnectButton] deferring open until loading completes');
57
+ return;
58
+ }
59
+ if (isConnected)
60
+ return;
61
+ logger.debug('[N1ConnectButton] opening modal via connect button');
62
+ openModal();
63
+ };
64
+ return (_jsx(ShadowRootWrapper, { injectedCss: mainCss + injectedCss, children: _jsx("div", { className: "n1-wallet-widget dark", children: _jsxs("button", { type: "button", className: buttonClass, onClick: handleClick, "aria-busy": loading && !isConnected, children: [isConnected && solanaAddress && (_jsx("span", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-white", children: _jsx(BlockiesSvg, { address: solanaAddress, className: "h-4 w-4 rounded-full" }) })), _jsx("span", { children: renderLabel() })] }) }) }));
65
+ }
66
+ //# sourceMappingURL=N1ConnectButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"N1ConnectButton.js","sourceRoot":"","sources":["../../../src/components/N1ConnectButton.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,6CAA6C,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,OAAO,MAAM,6BAA6B,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC;;;;;;;GAOG;AACH,MAAM,UAAU,eAAe,CAAC,MAG/B;IACC,8CAA8C;IACtC,IAAA,aAAa,GAAK,UAAU,EAAE,cAAjB,CAAkB;IACjC,IAAA,KAA2B,UAAU,EAAE,EAArC,WAAW,iBAAA,EAAE,OAAO,aAAiB,CAAC;IACxC,IAAA,KAA2B,QAAQ,EAAE,EAAnC,SAAS,eAAA,EAAE,SAAS,eAAe,CAAC;IAEtC,IAAA,KAAsB,QAAQ,CAAC,KAAK,CAAC,EAApC,MAAM,QAAA,EAAE,SAAS,QAAmB,CAAC;IAC5C,IAAM,WAAW,GAAG,WAAW,IAAI,aAAa;QAC9C,CAAC,CAAC,UAAG,aAAa,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,gBAAM,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAE;QACjE,CAAC,CAAC,EAAE,CAAC;IAEP,uCAAuC;IACvC,SAAS,CAAC;QACR,IAAI,CAAC,OAAO,IAAI,MAAM,EAAE,CAAC;YACvB,SAAS,EAAE,CAAC;YACZ,SAAS,CAAC,KAAK,CAAC,CAAC;QACnB,CAAC;IACH,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;IAEjC,IAAM,WAAW,GAAG,sBAAsB,CAAC;IAE3C,IAAM,WAAW,GAAG,EAAE,CAAC;IAEvB,IAAM,WAAW,GAAG;QAClB,IAAI,OAAO,IAAI,CAAC,WAAW;YAAE,OAAO,eAAe,CAAC;QACpD,IAAI,CAAC,WAAW;YAAE,OAAO,MAAM,CAAC,KAAK,IAAI,SAAS,CAAC;QACnD,OAAO,WAAW,CAAC;IACrB,CAAC,CAAC;IAEF;;;;;OAKG;IACH,IAAM,WAAW,GAAG;QAClB,IAAI,SAAS,EAAE,CAAC;YACd,MAAM,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAAC;YAC/D,OAAO;QACT,CAAC;QAED,IAAI,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;YAC5B,SAAS,CAAC,IAAI,CAAC,CAAC;YAChB,MAAM,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;YACzE,OAAO;QACT,CAAC;QAED,IAAI,WAAW;YAAE,OAAO;QAExB,MAAM,CAAC,KAAK,CAAC,oDAAoD,CAAC,CAAC;QACnE,SAAS,EAAE,CAAC;IACd,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,iBAAiB,IAAC,WAAW,EAAE,OAAO,GAAG,WAAW,YACnD,cAAK,SAAS,EAAC,uBAAuB,YACpC,kBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,WAAW,EACtB,OAAO,EAAE,WAAW,eACT,OAAO,IAAI,CAAC,WAAW,aAEjC,WAAW,IAAI,aAAa,IAAI,CAC/B,eAAM,SAAS,EAAC,gEAAgE,YAC9E,KAAC,WAAW,IACV,OAAO,EAAE,aAAa,EACtB,SAAS,EAAC,sBAAsB,GAChC,GACG,CACR,EACD,yBAAO,WAAW,EAAE,GAAQ,IACrB,GACL,GACY,CACrB,CAAC;AACJ,CAAC","sourcesContent":["import BlockiesSvg from 'blockies-react-svg';\nimport React, { useEffect, useState } from 'react';\nimport { useNetwork } from '../providers/N1WalletProvider/NetworkProvider';\nimport { useSession } from '../providers/N1WalletProvider/SessionProvider';\nimport { useModal } from '../providers/N1WalletProvider/ModalProvider';\nimport { ShadowRootWrapper } from '../providers/ShadowRootWrapper';\nimport mainCss from '../styles/embedded-main-css';\nimport { logger } from '../utils/logger';\n\n/**\n * Public connect button component for integrating the wallet widget.\n * Shows connection status, handles click events, and defers opening until SDK is ready.\n *\n * Uses the modal state machine:\n * - openModal(): opens the modal (handles cooldown, SDK readiness internally)\n * - isClosing: true when modal is in closing animation\n */\nexport function N1ConnectButton(_props: {\n label: string;\n children?: React.ReactNode;\n}) {\n // Use new providers instead of legacy context\n const { solanaAddress } = useNetwork();\n const { isConnected, loading } = useSession();\n const { openModal, isClosing } = useModal();\n\n const [toOpen, setToOpen] = useState(false);\n const addressText = isConnected && solanaAddress\n ? `${solanaAddress.substring(0, 6)}...${solanaAddress.slice(-4)}`\n : '';\n\n // Deferred open when loading completes\n useEffect(() => {\n if (!loading && toOpen) {\n openModal();\n setToOpen(false);\n }\n }, [loading, toOpen, openModal]);\n\n const buttonClass = 'n1-ww-connect-button';\n\n const injectedCss = '';\n\n const renderLabel = () => {\n if (loading && !isConnected) return 'Connecting...';\n if (!isConnected) return _props.label || 'Connect';\n return addressText;\n };\n\n /**\n * Handles button clicks with guards:\n * - Ignores clicks during modal close animation\n * - Defers opening until loading completes\n * - No-op if already connected\n */\n const handleClick = () => {\n if (isClosing) {\n logger.debug('[N1ConnectButton] click ignored; modal closing');\n return;\n }\n\n if (loading && !isConnected) {\n setToOpen(true);\n logger.debug('[N1ConnectButton] deferring open until loading completes');\n return;\n }\n\n if (isConnected) return;\n\n logger.debug('[N1ConnectButton] opening modal via connect button');\n openModal();\n };\n\n return (\n <ShadowRootWrapper injectedCss={mainCss + injectedCss}>\n <div className=\"n1-wallet-widget dark\">\n <button\n type=\"button\"\n className={buttonClass}\n onClick={handleClick}\n aria-busy={loading && !isConnected}\n >\n {isConnected && solanaAddress && (\n <span className=\"flex h-5 w-5 items-center justify-center rounded-full bg-white\">\n <BlockiesSvg\n address={solanaAddress}\n className=\"h-4 w-4 rounded-full\"\n />\n </span>\n )}\n <span>{renderLabel()}</span>\n </button>\n </div>\n </ShadowRootWrapper>\n );\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArbitrumLogo.js","sourceRoot":"","sources":["../../../../src/components/logos/ArbitrumLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,YAAY,GAAgC,UAAC,EAIzD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,cACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,eAAe,EACvB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,YAElC,wBACE,eAAM,SAAS,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,GAAG,EAC/D,sBACE,wBACE,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,8LACkF,GACpF,EACF,sBACE,wBACE,sBACE,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,4FAA4F,GAC9F,GACA,EACJ,sBACE,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,kFAAkF,GACpF,GACA,IACF,GACF,EACJ,sBACE,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,ubAGuD,GACzD,GACA,EACJ,kBACE,IAAI,EAAC,SAAS,EACd,MAAM,EAAC,qCAAqC,GAC5C,EACF,wBACE,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,qFAAqF,GACvF,EACF,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,iFAAiF,GACnF,IACA,IACF,GACF,IACF,GACA,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface ArbitrumLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const ArbitrumLogo: React.FC<ArbitrumLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 2500 2500\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g>\n <rect className=\"st0\" width=\"2500\" height=\"2500\" fill=\"none\" />\n <g>\n <g>\n <path\n fill=\"#213147\"\n d=\"M226,760v980c0,63,33,120,88,152l849,490c54,31,121,31,175,0l849-490c54-31,88-89,88-152V760\n c0-63-33-120-88-152l-849-490c-54-31-121-31-175,0L314,608c-54,31-87,89-87,152H226z\"\n />\n <g>\n <g>\n <g>\n <path\n fill=\"#12AAFF\"\n d=\"M1435,1440l-121,332c-3,9-3,19,0,29l208,571l241-139l-289-793C1467,1422,1442,1422,1435,1440z\"\n />\n </g>\n <g>\n <path\n fill=\"#12AAFF\"\n d=\"M1678,882c-7-18-32-18-39,0l-121,332c-3,9-3,19,0,29l341,935l241-139L1678,883V882z\"\n />\n </g>\n </g>\n </g>\n <g>\n <path\n fill=\"#9DCCED\"\n d=\"M1250,155c6,0,12,2,17,5l918,530c11,6,17,18,17,30v1060c0,12-7,24-17,30l-918,530c-5,3-11,5-17,5\n s-12-2-17-5l-918-530c-11-6-17-18-17-30V719c0-12,7-24,17-30l918-530c5-3,11-5,17-5l0,0V155z M1250,0c-33,0-65,8-95,25L237,555\n c-59,34-95,96-95,164v1060c0,68,36,130,95,164l918,530c29,17,62,25,95,25s65-8,95-25l918-530c59-34,95-96,95-164V719\n c0-68-36-130-95-164L1344,25c-29-17-62-25-95-25l0,0H1250z\"\n />\n </g>\n <polygon\n fill=\"#213147\"\n points=\"642,2179 727,1947 897,2088 738,2234\"\n />\n <g>\n <path\n fill=\"#FFFFFF\"\n d=\"M1172,644H939c-17,0-33,11-39,27L401,2039l241,139l550-1507c5-14-5-28-19-28L1172,644z\"\n />\n <path\n fill=\"#FFFFFF\"\n d=\"M1580,644h-233c-17,0-33,11-39,27L738,2233l241,139l620-1701c5-14-5-28-19-28V644z\"\n />\n </g>\n </g>\n </g>\n </g>\n </svg>\n );\n};\n"]}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ export var BaseLogo = function (_a) {
3
+ var _b = _a.width, width = _b === void 0 ? 48 : _b, _c = _a.height, height = _c === void 0 ? 48 : _c, _d = _a.className, className = _d === void 0 ? '' : _d;
4
+ return (_jsx("svg", { width: width, height: height, viewBox: "0 0 2500 2500", className: className, xmlns: "http://www.w3.org/2000/svg", children: _jsx("g", { id: "Layer_1", children: _jsx("path", { fill: "white", d: "M1247.8,2500c691.6,0,1252.2-559.6,1252.2-1250C2500,559.6,1939.4,0,1247.8,0C591.7,0,53.5,503.8,0,1144.9h1655.1v210.2H0 C53.5,1996.2,591.7,2500,1247.8,2500z" }) }) }));
5
+ };
6
+ //# sourceMappingURL=BaseLogo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseLogo.js","sourceRoot":"","sources":["../../../../src/components/logos/BaseLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,QAAQ,GAA4B,UAAC,EAIjD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,cACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,eAAe,EACvB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,YAElC,YAAG,EAAE,EAAC,SAAS,YACb,eAAM,IAAI,EAAC,OAAO,EAAC,CAAC,EAAC,8JAA8J,GAAE,GACnL,GACA,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface BaseLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const BaseLogo: React.FC<BaseLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 2500 2500\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g id=\"Layer_1\">\n <path fill=\"white\" d=\"M1247.8,2500c691.6,0,1252.2-559.6,1252.2-1250C2500,559.6,1939.4,0,1247.8,0C591.7,0,53.5,503.8,0,1144.9h1655.1v210.2H0 C53.5,1996.2,591.7,2500,1247.8,2500z\"/>\n </g>\n </svg>\n );\n};\n\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BeraLogo.js","sourceRoot":"","sources":["../../../../src/components/logos/BeraLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,QAAQ,GAA4B,UAAC,EAIjD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,eACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,WAAW,EACnB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,aAElC,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,GAAG,EAChD,eACE,CAAC,EAAC,iJAAiJ,EACnJ,IAAI,EAAC,SAAS,GACd,EACF,eACE,CAAC,EAAC,uJAAuJ,EACzJ,IAAI,EAAC,SAAS,GACd,EACF,eACE,CAAC,EAAC,eAAe,EACjB,MAAM,EAAC,SAAS,EAChB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,GACrB,IACE,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface BeraLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const BeraLogo: React.FC<BeraLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 24 24\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"12\" fill=\"#000000\" />\n <path\n d=\"M7.5 7.5C7.5 6.67157 8.17157 6 9 6H15C15.8284 6 16.5 6.67157 16.5 7.5V9C16.5 9.82843 15.8284 10.5 15 10.5H9C8.17157 10.5 7.5 9.82843 7.5 9V7.5Z\"\n fill=\"#FFD700\"\n />\n <path\n d=\"M7.5 15C7.5 14.1716 8.17157 13.5 9 13.5H15C15.8284 13.5 16.5 14.1716 16.5 15V16.5C16.5 17.3284 15.8284 18 15 18H9C8.17157 18 7.5 17.3284 7.5 16.5V15Z\"\n fill=\"#FFD700\"\n />\n <path\n d=\"M12 10.5V13.5\"\n stroke=\"#FFD700\"\n strokeWidth=\"1.5\"\n strokeLinecap=\"round\"\n />\n </svg>\n );\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BitcoinLogo.js","sourceRoot":"","sources":["../../../../src/components/logos/BitcoinLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,WAAW,GAA+B,UAAC,EAIvD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,cACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,qBAAqB,EAC7B,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,YAElC,wBACE,eACE,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,kOAAkO,GACpO,EACF,eACE,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,mjCAAmjC,GACrjC,IACA,GACA,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface BitcoinLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const BitcoinLogo: React.FC<BitcoinLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 4091.27 4091.73\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g>\n <path\n fill=\"#F7931A\"\n fillRule=\"nonzero\"\n d=\"M4030.06 2540.77c-273.24,1096.01 -1383.32,1763.02 -2479.46,1489.71 -1095.68,-273.24 -1762.69,-1383.39 -1489.33,-2479.31 273.12,-1096.13 1383.2,-1763.19 2479,-1489.95 1096.06,273.24 1763.03,1383.51 1489.76,2479.57l0.02 -0.02z\"\n />\n <path\n fill=\"white\"\n fillRule=\"nonzero\"\n d=\"M2947.77 1754.38c40.72,-272.26 -166.56,-418.61 -450,-516.24l91.95 -368.8 -224.5 -55.94 -89.51 359.09c-59.02,-14.72 -119.63,-28.59 -179.87,-42.34l90.16 -361.46 -224.36 -55.94 -92 368.68c-48.84,-11.12 -96.81,-22.11 -143.35,-33.69l0.26 -1.16 -309.59 -77.31 -59.72 239.78c0,0 166.56,38.18 163.05,40.53 90.91,22.69 107.35,82.87 104.62,130.57l-104.74 420.15c6.26,1.59 14.38,3.89 23.34,7.49 -7.49,-1.86 -15.46,-3.89 -23.73,-5.87l-146.81 588.57c-11.11,27.62 -39.31,69.07 -102.87,53.33 2.25,3.26 -163.17,-40.72 -163.17,-40.72l-111.46 256.98 292.15 72.83c54.35,13.63 107.61,27.89 160.06,41.3l-92.9 373.03 224.24 55.94 92 -369.07c61.26,16.63 120.71,31.97 178.91,46.43l-91.69 367.33 224.51 55.94 92.89 -372.33c382.82,72.45 670.67,43.24 791.83,-303.02 97.63,-278.78 -4.86,-439.58 -206.26,-544.44 146.69,-33.83 257.18,-130.31 286.64,-329.61l-0.07 -0.05zm-512.93 719.26c-69.38,278.78 -538.76,128.08 -690.94,90.29l123.28 -494.2c152.17,37.99 640.17,113.17 567.67,403.91zm69.43 -723.3c-63.29,253.58 -453.96,124.75 -580.69,93.16l111.77 -448.21c126.73,31.59 534.85,90.55 468.94,355.05l-0.02 0z\"\n />\n </g>\n </svg>\n );\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EthereumLogo.js","sourceRoot":"","sources":["../../../../src/components/logos/EthereumLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,YAAY,GAAgC,UAAC,EAIzD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,cACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,YAElC,wBACE,kBACE,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAC,+DAA+D,GACtE,EACF,kBACE,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAC,gDAAgD,GACvD,EACF,kBACE,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAC,yEAAyE,GAChF,EACF,kBACE,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAC,wCAAwC,GAC/C,EACF,kBACE,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAC,2CAA2C,GAClD,EACF,kBACE,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAC,sCAAsC,GAC7C,IACA,GACA,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface EthereumLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const EthereumLogo: React.FC<EthereumLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 784.37 1277.39\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g>\n <polygon\n fill=\"#343434\"\n fillRule=\"nonzero\"\n points=\"392.07,0 383.5,29.11 383.5,873.74 392.07,882.29 784.13,650.54\"\n />\n <polygon\n fill=\"#8C8C8C\"\n fillRule=\"nonzero\"\n points=\"392.07,0 -0,650.54 392.07,882.29 392.07,472.33\"\n />\n <polygon\n fill=\"#3C3C3B\"\n fillRule=\"nonzero\"\n points=\"392.07,956.52 387.24,962.41 387.24,1263.28 392.07,1277.38 784.37,724.89\"\n />\n <polygon\n fill=\"#8C8C8C\"\n fillRule=\"nonzero\"\n points=\"392.07,1277.38 392.07,956.52 -0,724.89\"\n />\n <polygon\n fill=\"#141414\"\n fillRule=\"nonzero\"\n points=\"392.07,882.29 784.13,650.54 392.07,472.33\"\n />\n <polygon\n fill=\"#393939\"\n fillRule=\"nonzero\"\n points=\"0,650.54 392.07,882.29 392.07,472.33\"\n />\n </g>\n </svg>\n );\n};\n"]}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  export var HyperliquidLogo = function (_a) {
3
3
  var _b = _a.width, width = _b === void 0 ? 48 : _b, _c = _a.height, height = _c === void 0 ? 48 : _c, _d = _a.className, className = _d === void 0 ? '' : _d;
4
- return (_jsxs("svg", { width: width, height: height, viewBox: "3 0 28 28", className: className, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("g", { clipPath: "url(#clip0_975_1209)", children: _jsx("path", { d: "M31.8056 11.727C31.8346 14.3384 31.2881 16.8337 30.2146 19.2178C28.6816 22.6126 25.0063 25.3885 21.6501 22.4337C18.913 20.0254 18.4052 15.1363 14.3044 14.4206C8.87845 13.7629 8.74788 20.0544 5.20315 20.7653C1.2522 21.5681 -0.0583338 14.9235 -0.000302664 11.9059C0.0577284 8.88828 0.860492 4.64717 4.294 4.64717C8.24495 4.64717 8.51092 10.6292 13.5258 10.3052C18.4923 9.96669 18.5793 3.74285 21.8242 1.07826C24.6242 -1.22364 27.9175 0.464096 29.5665 3.23508C31.0947 5.79812 31.7669 8.80606 31.8007 11.727H31.8056Z", fill: "#072723" }) }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_975_1209", children: _jsx("rect", { width: "32", height: "24", fill: "white" }) }) })] }));
4
+ return (_jsxs("svg", { width: width, height: height, viewBox: "0 0 32 28", className: className, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("g", { clipPath: "url(#clip0_975_1209)", children: _jsx("path", { d: "M31.8056 11.727C31.8346 14.3384 31.2881 16.8337 30.2146 19.2178C28.6816 22.6126 25.0063 25.3885 21.6501 22.4337C18.913 20.0254 18.4052 15.1363 14.3044 14.4206C8.87845 13.7629 8.74788 20.0544 5.20315 20.7653C1.2522 21.5681 -0.0583338 14.9235 -0.000302664 11.9059C0.0577284 8.88828 0.860492 4.64717 4.294 4.64717C8.24495 4.64717 8.51092 10.6292 13.5258 10.3052C18.4923 9.96669 18.5793 3.74285 21.8242 1.07826C24.6242 -1.22364 27.9175 0.464096 29.5665 3.23508C31.0947 5.79812 31.7669 8.80606 31.8007 11.727H31.8056Z", fill: "#072723" }) }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_975_1209", children: _jsx("rect", { width: "32", height: "24", fill: "white" }) }) })] }));
5
5
  };
6
6
  //# sourceMappingURL=HyperliquidLogo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HyperliquidLogo.js","sourceRoot":"","sources":["../../../../src/components/logos/HyperliquidLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,eAAe,GAAmC,UAAC,EAI/D;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,eACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,WAAW,EACnB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,aAElC,YAAG,QAAQ,EAAC,sBAAsB,YAChC,eACE,CAAC,EAAC,kgBAAkgB,EACpgB,IAAI,EAAC,SAAS,GACd,GACA,EACJ,yBACE,mBAAU,EAAE,EAAC,gBAAgB,YAC3B,eAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,OAAO,GAAG,GACnC,GACN,IACH,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface HyperliquidLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const HyperliquidLogo: React.FC<HyperliquidLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 32 28\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clipPath=\"url(#clip0_975_1209)\">\n <path\n d=\"M31.8056 11.727C31.8346 14.3384 31.2881 16.8337 30.2146 19.2178C28.6816 22.6126 25.0063 25.3885 21.6501 22.4337C18.913 20.0254 18.4052 15.1363 14.3044 14.4206C8.87845 13.7629 8.74788 20.0544 5.20315 20.7653C1.2522 21.5681 -0.0583338 14.9235 -0.000302664 11.9059C0.0577284 8.88828 0.860492 4.64717 4.294 4.64717C8.24495 4.64717 8.51092 10.6292 13.5258 10.3052C18.4923 9.96669 18.5793 3.74285 21.8242 1.07826C24.6242 -1.22364 27.9175 0.464096 29.5665 3.23508C31.0947 5.79812 31.7669 8.80606 31.8007 11.727H31.8056Z\"\n fill=\"#072723\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_975_1209\">\n <rect width=\"32\" height=\"24\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n );\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OptimismLogo.js","sourceRoot":"","sources":["../../../../src/components/logos/OptimismLogo.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,IAAM,YAAY,GAAgC,UAAC,EAIzD;QAHC,aAAU,EAAV,KAAK,mBAAG,EAAE,KAAA,EACV,cAAW,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEd,OAAO,CACL,eACE,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAC,aAAa,EACrB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,4BAA4B,aAElC,iBAAQ,IAAI,EAAC,SAAS,EAAC,EAAE,EAAC,KAAK,EAAC,EAAE,EAAC,KAAK,EAAC,CAAC,EAAC,KAAK,GAAG,EACnD,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,2oBAK6D,GAC/D,EACF,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,ufAIM,GACR,IACE,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\ninterface OptimismLogoProps {\n width?: number;\n height?: number;\n className?: string;\n}\n\nexport const OptimismLogo: React.FC<OptimismLogoProps> = ({\n width = 48,\n height = 48,\n className = '',\n}) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 500 500\"\n className={className}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle fill=\"#FF0420\" cx=\"250\" cy=\"250\" r=\"250\" />\n <path\n fill=\"#FFFFFF\"\n d=\"M177.1,316.4c-14.9,0-27.1-3.5-36.6-10.5c-9.4-7.1-14.1-17.3-14.1-30.4c0-2.8,0.3-6.1,0.9-10.1\n c1.6-9,3.9-19.8,6.9-32.5c8.5-34.4,30.5-51.6,65.9-51.6c9.6,0,18.3,1.6,25.9,4.9c7.6,3.1,13.6,7.9,18,14.3\n c4.4,6.3,6.6,13.8,6.6,22.5c0,2.6-0.3,5.9-0.9,9.9c-1.9,11.1-4.1,22-6.8,32.5c-4.4,17.1-11.9,30-22.7,38.5\n C209.5,312.3,195.1,316.4,177.1,316.4z M179.8,289.4c7,0,12.9-2.1,17.8-6.2c5-4.1,8.6-10.4,10.7-19c2.9-11.8,5.1-22,6.6-30.8\n c0.5-2.6,0.8-5.3,0.8-8.1c0-11.4-5.9-17.1-17.8-17.1c-7,0-13,2.1-18,6.2c-4.9,4.1-8.4,10.4-10.5,19c-2.3,8.4-4.5,18.6-6.8,30.8\n c-0.5,2.5-0.8,5.1-0.8,7.9C161.7,283.7,167.8,289.4,179.8,289.4z\"\n />\n <path\n fill=\"#FFFFFF\"\n d=\"M259.3,314.6c-1.4,0-2.4-0.4-3.2-1.3c-0.6-1-0.8-2.1-0.6-3.4l25.9-122c0.2-1.4,0.9-2.5,2.1-3.4\n c1.1-0.9,2.3-1.3,3.6-1.3H337c13.9,0,25,2.9,33.4,8.6c8.5,5.8,12.8,14.1,12.8,25c0,3.1-0.4,6.4-1.1,9.8c-3.1,14.4-9.4,25-19,31.9\n c-9.4,6.9-22.3,10.3-38.7,10.3h-25.3l-8.6,41.1c-0.3,1.4-0.9,2.5-2.1,3.4c-1.1,0.9-2.3,1.3-3.6,1.3H259.3z M325.7,242.9\n c5.3,0,9.8-1.4,13.7-4.3c4-2.9,6.6-7,7.9-12.4c0.4-2.1,0.6-4,0.6-5.6c0-3.6-1.1-6.4-3.2-8.3c-2.1-2-5.8-3-10.9-3h-22.5l-7.1,33.6\n H325.7z\"\n />\n </svg>\n );\n};\n"]}