@crossmint/client-sdk-react-ui 1.9.3 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (759) hide show
  1. package/dist/chunk-2LTCJUPK.cjs +31 -0
  2. package/dist/chunk-2LTCJUPK.cjs.map +1 -0
  3. package/dist/chunk-2QB7GW4K.cjs +64 -0
  4. package/dist/chunk-2QB7GW4K.cjs.map +1 -0
  5. package/dist/chunk-2T2VCED7.js +17 -0
  6. package/dist/chunk-2T2VCED7.js.map +1 -0
  7. package/dist/chunk-33WZFL2D.js +80 -0
  8. package/dist/chunk-33WZFL2D.js.map +1 -0
  9. package/dist/chunk-35RV5AOT.cjs +70 -0
  10. package/dist/chunk-35RV5AOT.cjs.map +1 -0
  11. package/dist/chunk-3J6CUUWT.js +50 -0
  12. package/dist/chunk-3J6CUUWT.js.map +1 -0
  13. package/dist/chunk-3KR4GYLF.js +26 -0
  14. package/dist/chunk-3KR4GYLF.js.map +1 -0
  15. package/dist/chunk-3RXUFZTR.cjs +14 -0
  16. package/dist/chunk-3RXUFZTR.cjs.map +1 -0
  17. package/dist/chunk-43P7QWBK.cjs +17 -0
  18. package/dist/chunk-43P7QWBK.cjs.map +1 -0
  19. package/dist/chunk-46UDUOKJ.cjs +10 -0
  20. package/dist/chunk-46UDUOKJ.cjs.map +1 -0
  21. package/dist/chunk-4DAZAO6Y.cjs +59 -0
  22. package/dist/chunk-4DAZAO6Y.cjs.map +1 -0
  23. package/dist/chunk-5JAEV6YP.js +81 -0
  24. package/dist/chunk-5JAEV6YP.js.map +1 -0
  25. package/dist/chunk-5KK3YQWD.cjs +1 -0
  26. package/dist/chunk-5KK3YQWD.cjs.map +1 -0
  27. package/dist/chunk-5RX5WFEW.cjs +11 -0
  28. package/dist/chunk-5RX5WFEW.cjs.map +1 -0
  29. package/dist/chunk-5S4VO6RB.cjs +55 -0
  30. package/dist/chunk-5S4VO6RB.cjs.map +1 -0
  31. package/dist/chunk-5VZNJ4VT.js +36 -0
  32. package/dist/chunk-5VZNJ4VT.js.map +1 -0
  33. package/dist/chunk-657ZCQSH.cjs +31 -0
  34. package/dist/chunk-657ZCQSH.cjs.map +1 -0
  35. package/dist/chunk-6DNBJVR5.js +64 -0
  36. package/dist/chunk-6DNBJVR5.js.map +1 -0
  37. package/dist/chunk-6LO4NSRH.cjs +21 -0
  38. package/dist/chunk-6LO4NSRH.cjs.map +1 -0
  39. package/dist/chunk-7KIY6DLW.js +28 -0
  40. package/dist/chunk-7KIY6DLW.js.map +1 -0
  41. package/dist/chunk-7SBZ6OIH.js +1 -0
  42. package/dist/chunk-7SBZ6OIH.js.map +1 -0
  43. package/dist/chunk-A2JCJ2OV.cjs +119 -0
  44. package/dist/chunk-A2JCJ2OV.cjs.map +1 -0
  45. package/dist/chunk-A7J4DAE7.js +16 -0
  46. package/dist/chunk-A7J4DAE7.js.map +1 -0
  47. package/dist/chunk-ATHR4S2P.js +48 -0
  48. package/dist/chunk-ATHR4S2P.js.map +1 -0
  49. package/dist/chunk-AUEQQ4D3.js +119 -0
  50. package/dist/chunk-AUEQQ4D3.js.map +1 -0
  51. package/dist/chunk-AXZLLRBU.cjs +26 -0
  52. package/dist/chunk-AXZLLRBU.cjs.map +1 -0
  53. package/dist/chunk-B7LYPQ4K.cjs +38 -0
  54. package/dist/chunk-B7LYPQ4K.cjs.map +1 -0
  55. package/dist/chunk-BE2ZLB3L.cjs +19 -0
  56. package/dist/chunk-BE2ZLB3L.cjs.map +1 -0
  57. package/dist/chunk-BJIMCGIQ.js +22 -0
  58. package/dist/chunk-BJIMCGIQ.js.map +1 -0
  59. package/dist/chunk-BKVDVDKX.cjs +1 -0
  60. package/dist/chunk-BKVDVDKX.cjs.map +1 -0
  61. package/dist/chunk-BYRVAFBZ.cjs +52 -0
  62. package/dist/chunk-BYRVAFBZ.cjs.map +1 -0
  63. package/dist/chunk-C2VARNXL.js +70 -0
  64. package/dist/chunk-C2VARNXL.js.map +1 -0
  65. package/dist/chunk-CIZ2K2TA.cjs +81 -0
  66. package/dist/chunk-CIZ2K2TA.cjs.map +1 -0
  67. package/dist/chunk-CPYPI45H.js +98 -0
  68. package/dist/chunk-CPYPI45H.js.map +1 -0
  69. package/dist/chunk-CRTRMMJ7.js +59 -0
  70. package/dist/chunk-CRTRMMJ7.js.map +1 -0
  71. package/dist/chunk-CUODMU27.js +1265 -0
  72. package/dist/chunk-CUODMU27.js.map +1 -0
  73. package/dist/chunk-CYUTXV7Z.js +17 -0
  74. package/dist/chunk-CYUTXV7Z.js.map +1 -0
  75. package/dist/chunk-DJ32OEWG.cjs +54 -0
  76. package/dist/chunk-DJ32OEWG.cjs.map +1 -0
  77. package/dist/chunk-DZ5MGN25.js +147 -0
  78. package/dist/chunk-DZ5MGN25.js.map +1 -0
  79. package/dist/chunk-E3BR6DXY.js +153 -0
  80. package/dist/chunk-E3BR6DXY.js.map +1 -0
  81. package/dist/chunk-ENCR5SUW.cjs +51 -0
  82. package/dist/chunk-ENCR5SUW.cjs.map +1 -0
  83. package/dist/chunk-EOWJ7775.js +18 -0
  84. package/dist/chunk-EOWJ7775.js.map +1 -0
  85. package/dist/chunk-EVL7VEPX.js +14 -0
  86. package/dist/chunk-EVL7VEPX.js.map +1 -0
  87. package/dist/chunk-FH7TEEZR.js +52 -0
  88. package/dist/chunk-FH7TEEZR.js.map +1 -0
  89. package/dist/chunk-FKIMKZ4Y.js +17 -0
  90. package/dist/chunk-FKIMKZ4Y.js.map +1 -0
  91. package/dist/chunk-FOCUIKYH.cjs +1265 -0
  92. package/dist/chunk-FOCUIKYH.cjs.map +1 -0
  93. package/dist/chunk-GY6G3ZC2.cjs +41 -0
  94. package/dist/chunk-GY6G3ZC2.cjs.map +1 -0
  95. package/dist/chunk-GZRGZKN6.js +31 -0
  96. package/dist/chunk-GZRGZKN6.js.map +1 -0
  97. package/dist/chunk-H4F7UVPT.js +34 -0
  98. package/dist/chunk-H4F7UVPT.js.map +1 -0
  99. package/dist/chunk-HATQVB6H.js +19 -0
  100. package/dist/chunk-HATQVB6H.js.map +1 -0
  101. package/dist/chunk-HCW4RO2O.cjs +29 -0
  102. package/dist/chunk-HCW4RO2O.cjs.map +1 -0
  103. package/dist/chunk-HPOZ6I54.cjs +44 -0
  104. package/dist/chunk-HPOZ6I54.cjs.map +1 -0
  105. package/dist/chunk-I63FQCIV.js +189 -0
  106. package/dist/chunk-I63FQCIV.js.map +1 -0
  107. package/dist/chunk-IP4HQL5I.cjs +147 -0
  108. package/dist/chunk-IP4HQL5I.cjs.map +1 -0
  109. package/dist/chunk-IQPA3QOV.js +27 -0
  110. package/dist/chunk-IQPA3QOV.js.map +1 -0
  111. package/dist/chunk-IVNGVLGR.cjs +153 -0
  112. package/dist/chunk-IVNGVLGR.cjs.map +1 -0
  113. package/dist/chunk-KAXBBO66.cjs +30 -0
  114. package/dist/chunk-KAXBBO66.cjs.map +1 -0
  115. package/dist/chunk-KEKBOJCF.cjs +50 -0
  116. package/dist/chunk-KEKBOJCF.cjs.map +1 -0
  117. package/dist/chunk-KLWDDALZ.cjs +14 -0
  118. package/dist/chunk-KLWDDALZ.cjs.map +1 -0
  119. package/dist/chunk-KNOUJZN5.cjs +32 -0
  120. package/dist/chunk-KNOUJZN5.cjs.map +1 -0
  121. package/dist/chunk-L3FKENHU.js +14 -0
  122. package/dist/chunk-L3FKENHU.js.map +1 -0
  123. package/dist/chunk-LKO5WR7D.js +64 -0
  124. package/dist/chunk-LKO5WR7D.js.map +1 -0
  125. package/dist/chunk-MH37OJT2.cjs +80 -0
  126. package/dist/chunk-MH37OJT2.cjs.map +1 -0
  127. package/dist/chunk-MJHLKJ6X.cjs +212 -0
  128. package/dist/chunk-MJHLKJ6X.cjs.map +1 -0
  129. package/dist/chunk-MUS7DUPS.cjs +98 -0
  130. package/dist/chunk-MUS7DUPS.cjs.map +1 -0
  131. package/dist/chunk-NMXFWIFA.js +133 -0
  132. package/dist/chunk-NMXFWIFA.js.map +1 -0
  133. package/dist/chunk-ODH26VGS.js +50 -0
  134. package/dist/chunk-ODH26VGS.js.map +1 -0
  135. package/dist/chunk-OPIHF55A.cjs +50 -0
  136. package/dist/chunk-OPIHF55A.cjs.map +1 -0
  137. package/dist/chunk-OZS4WEKF.js +55 -0
  138. package/dist/chunk-OZS4WEKF.js.map +1 -0
  139. package/dist/chunk-PBSL6JOF.cjs +17 -0
  140. package/dist/chunk-PBSL6JOF.cjs.map +1 -0
  141. package/dist/chunk-PHCGCJSA.js +107 -0
  142. package/dist/chunk-PHCGCJSA.js.map +1 -0
  143. package/dist/chunk-Q3M4UH5U.cjs +48 -0
  144. package/dist/chunk-Q3M4UH5U.cjs.map +1 -0
  145. package/dist/chunk-QDKAU3H2.js +31 -0
  146. package/dist/chunk-QDKAU3H2.js.map +1 -0
  147. package/dist/chunk-QFQWKKVU.js +11 -0
  148. package/dist/chunk-QFQWKKVU.js.map +1 -0
  149. package/dist/chunk-QJ44PL7L.js +41 -0
  150. package/dist/chunk-QJ44PL7L.js.map +1 -0
  151. package/dist/chunk-QK5J7FD3.cjs +11 -0
  152. package/dist/chunk-QK5J7FD3.cjs.map +1 -0
  153. package/dist/chunk-QQXBYOKA.cjs +16 -0
  154. package/dist/chunk-QQXBYOKA.cjs.map +1 -0
  155. package/dist/chunk-QT7UEJZG.cjs +133 -0
  156. package/dist/chunk-QT7UEJZG.cjs.map +1 -0
  157. package/dist/chunk-QTL5I5C2.js +38 -0
  158. package/dist/chunk-QTL5I5C2.js.map +1 -0
  159. package/dist/chunk-R6IL3WOE.cjs +31 -0
  160. package/dist/chunk-R6IL3WOE.cjs.map +1 -0
  161. package/dist/chunk-REUYMHNW.cjs +136 -0
  162. package/dist/chunk-REUYMHNW.cjs.map +1 -0
  163. package/dist/chunk-RWS44QDX.js +31 -0
  164. package/dist/chunk-RWS44QDX.js.map +1 -0
  165. package/dist/chunk-RZPQIRIY.js +11 -0
  166. package/dist/chunk-RZPQIRIY.js.map +1 -0
  167. package/dist/chunk-RZT2J42J.js +29 -0
  168. package/dist/chunk-RZT2J42J.js.map +1 -0
  169. package/dist/chunk-SBA6FMFT.cjs +18 -0
  170. package/dist/chunk-SBA6FMFT.cjs.map +1 -0
  171. package/dist/chunk-SZA3XDJ5.cjs +1 -0
  172. package/dist/chunk-SZA3XDJ5.cjs.map +1 -0
  173. package/dist/chunk-U2D3L4DZ.cjs +17 -0
  174. package/dist/chunk-U2D3L4DZ.cjs.map +1 -0
  175. package/dist/chunk-U5EONMPH.js +30 -0
  176. package/dist/chunk-U5EONMPH.js.map +1 -0
  177. package/dist/chunk-UASNCH3A.cjs +27 -0
  178. package/dist/chunk-UASNCH3A.cjs.map +1 -0
  179. package/dist/chunk-UC3GWTEN.js +136 -0
  180. package/dist/chunk-UC3GWTEN.js.map +1 -0
  181. package/dist/chunk-UCQ5VAPT.cjs +36 -0
  182. package/dist/chunk-UCQ5VAPT.cjs.map +1 -0
  183. package/dist/chunk-UQAKJ4T7.cjs +29 -0
  184. package/dist/chunk-UQAKJ4T7.cjs.map +1 -0
  185. package/dist/chunk-URKPLEPV.cjs +189 -0
  186. package/dist/chunk-URKPLEPV.cjs.map +1 -0
  187. package/dist/chunk-VWRC3IFZ.cjs +22 -0
  188. package/dist/chunk-VWRC3IFZ.cjs.map +1 -0
  189. package/dist/chunk-VZIXXIU5.js +32 -0
  190. package/dist/chunk-VZIXXIU5.js.map +1 -0
  191. package/dist/chunk-WK5RAFJ3.js +54 -0
  192. package/dist/chunk-WK5RAFJ3.js.map +1 -0
  193. package/dist/chunk-XDJ6F7N4.cjs +107 -0
  194. package/dist/chunk-XDJ6F7N4.cjs.map +1 -0
  195. package/dist/chunk-XEZF7G64.js +212 -0
  196. package/dist/chunk-XEZF7G64.js.map +1 -0
  197. package/dist/chunk-XXJ7LQ44.js +1 -0
  198. package/dist/chunk-XXJ7LQ44.js.map +1 -0
  199. package/dist/chunk-XYMYRPVT.js +1 -0
  200. package/dist/chunk-XYMYRPVT.js.map +1 -0
  201. package/dist/chunk-YB66RCZP.js +10 -0
  202. package/dist/chunk-YB66RCZP.js.map +1 -0
  203. package/dist/chunk-YE55IKBP.cjs +34 -0
  204. package/dist/chunk-YE55IKBP.cjs.map +1 -0
  205. package/dist/chunk-YWVQCHQF.js +51 -0
  206. package/dist/chunk-YWVQCHQF.js.map +1 -0
  207. package/dist/chunk-ZCYU7QA6.cjs +64 -0
  208. package/dist/chunk-ZCYU7QA6.cjs.map +1 -0
  209. package/dist/chunk-ZDQGQY7Z.js +29 -0
  210. package/dist/chunk-ZDQGQY7Z.js.map +1 -0
  211. package/dist/chunk-ZIHCLVCD.js +44 -0
  212. package/dist/chunk-ZIHCLVCD.js.map +1 -0
  213. package/dist/chunk-ZMSST6ZZ.cjs +28 -0
  214. package/dist/chunk-ZMSST6ZZ.cjs.map +1 -0
  215. package/dist/chunk-ZUIS3FET.js +21 -0
  216. package/dist/chunk-ZUIS3FET.js.map +1 -0
  217. package/dist/components/CrossmintNFTCollectionView.cjs +9 -1
  218. package/dist/components/CrossmintNFTCollectionView.cjs.map +1 -0
  219. package/dist/components/CrossmintNFTCollectionView.js +9 -1
  220. package/dist/components/CrossmintNFTCollectionView.js.map +1 -0
  221. package/dist/components/CrossmintNFTDetail.cjs +9 -1
  222. package/dist/components/CrossmintNFTDetail.cjs.map +1 -0
  223. package/dist/components/CrossmintNFTDetail.js +9 -1
  224. package/dist/components/CrossmintNFTDetail.js.map +1 -0
  225. package/dist/components/auth/AuthForm.cjs +37 -1
  226. package/dist/components/auth/AuthForm.cjs.map +1 -0
  227. package/dist/components/auth/AuthForm.js +37 -1
  228. package/dist/components/auth/AuthForm.js.map +1 -0
  229. package/dist/components/auth/AuthFormBackButton.cjs +10 -1
  230. package/dist/components/auth/AuthFormBackButton.cjs.map +1 -0
  231. package/dist/components/auth/AuthFormBackButton.js +10 -1
  232. package/dist/components/auth/AuthFormBackButton.js.map +1 -0
  233. package/dist/components/auth/AuthFormDialog.cjs +37 -1
  234. package/dist/components/auth/AuthFormDialog.cjs.map +1 -0
  235. package/dist/components/auth/AuthFormDialog.js +37 -1
  236. package/dist/components/auth/AuthFormDialog.js.map +1 -0
  237. package/dist/components/auth/EmbeddedAuthForm.cjs +38 -1
  238. package/dist/components/auth/EmbeddedAuthForm.cjs.map +1 -0
  239. package/dist/components/auth/EmbeddedAuthForm.js +38 -1
  240. package/dist/components/auth/EmbeddedAuthForm.js.map +1 -0
  241. package/dist/components/auth/PasskeyPrompt.cjs +14 -1
  242. package/dist/components/auth/PasskeyPrompt.cjs.map +1 -0
  243. package/dist/components/auth/PasskeyPrompt.js +14 -1
  244. package/dist/components/auth/PasskeyPrompt.js.map +1 -0
  245. package/dist/components/auth/methods/email/EmailAuthFlow.cjs +37 -1
  246. package/dist/components/auth/methods/email/EmailAuthFlow.cjs.map +1 -0
  247. package/dist/components/auth/methods/email/EmailAuthFlow.js +37 -1
  248. package/dist/components/auth/methods/email/EmailAuthFlow.js.map +1 -0
  249. package/dist/components/auth/methods/email/EmailOTPInput.cjs +39 -1
  250. package/dist/components/auth/methods/email/EmailOTPInput.cjs.map +1 -0
  251. package/dist/components/auth/methods/email/EmailOTPInput.js +39 -1
  252. package/dist/components/auth/methods/email/EmailOTPInput.js.map +1 -0
  253. package/dist/components/auth/methods/email/EmailSignIn.cjs +37 -1
  254. package/dist/components/auth/methods/email/EmailSignIn.cjs.map +1 -0
  255. package/dist/components/auth/methods/email/EmailSignIn.js +37 -1
  256. package/dist/components/auth/methods/email/EmailSignIn.js.map +1 -0
  257. package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +37 -1
  258. package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs.map +1 -0
  259. package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +37 -1
  260. package/dist/components/auth/methods/farcaster/FarcasterSignIn.js.map +1 -0
  261. package/dist/components/auth/methods/google/GoogleSignIn.cjs +37 -1
  262. package/dist/components/auth/methods/google/GoogleSignIn.cjs.map +1 -0
  263. package/dist/components/auth/methods/google/GoogleSignIn.js +37 -1
  264. package/dist/components/auth/methods/google/GoogleSignIn.js.map +1 -0
  265. package/dist/components/auth/methods/web3/Web3AuthFlow.cjs +37 -0
  266. package/dist/components/auth/methods/web3/Web3AuthFlow.cjs.map +1 -0
  267. package/dist/components/auth/methods/web3/Web3AuthFlow.d.cts +5 -0
  268. package/dist/components/auth/methods/web3/Web3AuthFlow.d.ts +5 -0
  269. package/dist/components/auth/methods/web3/Web3AuthFlow.js +37 -0
  270. package/dist/components/auth/methods/web3/Web3AuthFlow.js.map +1 -0
  271. package/dist/components/auth/methods/web3/Web3AuthWrapper.cjs +37 -0
  272. package/dist/components/auth/methods/web3/Web3AuthWrapper.cjs.map +1 -0
  273. package/dist/components/auth/methods/web3/Web3AuthWrapper.d.cts +10 -0
  274. package/dist/components/auth/methods/web3/Web3AuthWrapper.d.ts +10 -0
  275. package/dist/components/auth/methods/web3/Web3AuthWrapper.js +37 -0
  276. package/dist/components/auth/methods/web3/Web3AuthWrapper.js.map +1 -0
  277. package/dist/components/auth/methods/web3/Web3ConnectButton.cjs +11 -0
  278. package/dist/components/auth/methods/web3/Web3ConnectButton.cjs.map +1 -0
  279. package/dist/components/auth/methods/web3/Web3ConnectButton.d.cts +13 -0
  280. package/dist/components/auth/methods/web3/Web3ConnectButton.d.ts +13 -0
  281. package/dist/components/auth/methods/web3/Web3ConnectButton.js +11 -0
  282. package/dist/components/auth/methods/web3/Web3ConnectButton.js.map +1 -0
  283. package/dist/components/auth/methods/web3/Web3Connectors.cjs +37 -0
  284. package/dist/components/auth/methods/web3/Web3Connectors.cjs.map +1 -0
  285. package/dist/components/auth/methods/web3/Web3Connectors.d.cts +5 -0
  286. package/dist/components/auth/methods/web3/Web3Connectors.d.ts +5 -0
  287. package/dist/components/auth/methods/web3/Web3Connectors.js +37 -0
  288. package/dist/components/auth/methods/web3/Web3Connectors.js.map +1 -0
  289. package/dist/components/auth/methods/web3/Web3ProviderButton.cjs +9 -0
  290. package/dist/components/auth/methods/web3/Web3ProviderButton.cjs.map +1 -0
  291. package/dist/components/auth/methods/web3/Web3ProviderButton.d.cts +11 -0
  292. package/dist/components/auth/methods/web3/Web3ProviderButton.d.ts +11 -0
  293. package/dist/components/auth/methods/web3/Web3ProviderButton.js +9 -0
  294. package/dist/components/auth/methods/web3/Web3ProviderButton.js.map +1 -0
  295. package/dist/components/auth/methods/web3/Web3SignIn.cjs +37 -0
  296. package/dist/components/auth/methods/web3/Web3SignIn.cjs.map +1 -0
  297. package/dist/components/auth/methods/web3/Web3SignIn.d.cts +5 -0
  298. package/dist/components/auth/methods/web3/Web3SignIn.d.ts +5 -0
  299. package/dist/components/auth/methods/web3/Web3SignIn.js +37 -0
  300. package/dist/components/auth/methods/web3/Web3SignIn.js.map +1 -0
  301. package/dist/components/common/Dialog.cjs +26 -1
  302. package/dist/components/common/Dialog.cjs.map +1 -0
  303. package/dist/components/common/Dialog.d.cts +1 -2
  304. package/dist/components/common/Dialog.d.ts +1 -2
  305. package/dist/components/common/Dialog.js +26 -1
  306. package/dist/components/common/Dialog.js.map +1 -0
  307. package/dist/components/common/Divider.cjs +37 -1
  308. package/dist/components/common/Divider.cjs.map +1 -0
  309. package/dist/components/common/Divider.js +37 -1
  310. package/dist/components/common/Divider.js.map +1 -0
  311. package/dist/components/common/InputOTP.cjs +14 -1
  312. package/dist/components/common/InputOTP.cjs.map +1 -0
  313. package/dist/components/common/InputOTP.d.cts +5 -27
  314. package/dist/components/common/InputOTP.d.ts +5 -27
  315. package/dist/components/common/InputOTP.js +14 -1
  316. package/dist/components/common/InputOTP.js.map +1 -0
  317. package/dist/components/common/PoweredByCrossmint.cjs +10 -1
  318. package/dist/components/common/PoweredByCrossmint.cjs.map +1 -0
  319. package/dist/components/common/PoweredByCrossmint.js +10 -1
  320. package/dist/components/common/PoweredByCrossmint.js.map +1 -0
  321. package/dist/components/common/Spinner.cjs +9 -1
  322. package/dist/components/common/Spinner.cjs.map +1 -0
  323. package/dist/components/common/Spinner.js +9 -1
  324. package/dist/components/common/Spinner.js.map +1 -0
  325. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.cjs +8 -1
  326. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.cjs.map +1 -0
  327. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.js +8 -1
  328. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.js.map +1 -0
  329. package/dist/components/embed/EmbeddedCheckoutIFrame.cjs +8 -1
  330. package/dist/components/embed/EmbeddedCheckoutIFrame.cjs.map +1 -0
  331. package/dist/components/embed/EmbeddedCheckoutIFrame.js +8 -1
  332. package/dist/components/embed/EmbeddedCheckoutIFrame.js.map +1 -0
  333. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.cjs +11 -1
  334. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.cjs.map +1 -0
  335. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.js +11 -1
  336. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.js.map +1 -0
  337. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.cjs +10 -1
  338. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.cjs.map +1 -0
  339. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.js +10 -1
  340. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.js.map +1 -0
  341. package/dist/components/embed/fiat/FiatEmbeddedCheckout.cjs +11 -1
  342. package/dist/components/embed/fiat/FiatEmbeddedCheckout.cjs.map +1 -0
  343. package/dist/components/embed/fiat/FiatEmbeddedCheckout.js +11 -1
  344. package/dist/components/embed/fiat/FiatEmbeddedCheckout.js.map +1 -0
  345. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.cjs +10 -1
  346. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.cjs.map +1 -0
  347. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.js +10 -1
  348. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.js.map +1 -0
  349. package/dist/components/embed/fiat/FiatPaymentElement_OLD.cjs +75 -1
  350. package/dist/components/embed/fiat/FiatPaymentElement_OLD.cjs.map +1 -0
  351. package/dist/components/embed/fiat/FiatPaymentElement_OLD.js +75 -1
  352. package/dist/components/embed/fiat/FiatPaymentElement_OLD.js.map +1 -0
  353. package/dist/components/embed/index.cjs +14 -1
  354. package/dist/components/embed/index.cjs.map +1 -0
  355. package/dist/components/embed/index.js +14 -1
  356. package/dist/components/embed/index.js.map +1 -0
  357. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +44 -1
  358. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs.map +1 -0
  359. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +44 -1
  360. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js.map +1 -0
  361. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +43 -1
  362. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs.map +1 -0
  363. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +43 -1
  364. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js.map +1 -0
  365. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs +12 -1
  366. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs.map +1 -0
  367. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js +12 -1
  368. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js.map +1 -0
  369. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.cjs +8 -1
  370. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.cjs.map +1 -0
  371. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.js +8 -1
  372. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.js.map +1 -0
  373. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs +10 -1
  374. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs.map +1 -0
  375. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js +10 -1
  376. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js.map +1 -0
  377. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.cjs +8 -1
  378. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.cjs.map +1 -0
  379. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.js +8 -1
  380. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.js.map +1 -0
  381. package/dist/components/embed/v3/index.cjs +45 -1
  382. package/dist/components/embed/v3/index.cjs.map +1 -0
  383. package/dist/components/embed/v3/index.js +45 -1
  384. package/dist/components/embed/v3/index.js.map +1 -0
  385. package/dist/components/hosted/CrossmintPayButton.cjs +11 -1
  386. package/dist/components/hosted/CrossmintPayButton.cjs.map +1 -0
  387. package/dist/components/hosted/CrossmintPayButton.js +11 -1
  388. package/dist/components/hosted/CrossmintPayButton.js.map +1 -0
  389. package/dist/components/hosted/index.cjs +12 -1
  390. package/dist/components/hosted/index.cjs.map +1 -0
  391. package/dist/components/hosted/index.js +12 -1
  392. package/dist/components/hosted/index.js.map +1 -0
  393. package/dist/components/hosted/styles.cjs +10 -1
  394. package/dist/components/hosted/styles.cjs.map +1 -0
  395. package/dist/components/hosted/styles.js +10 -1
  396. package/dist/components/hosted/styles.js.map +1 -0
  397. package/dist/components/index.cjs +75 -1
  398. package/dist/components/index.cjs.map +1 -0
  399. package/dist/components/index.js +75 -1
  400. package/dist/components/index.js.map +1 -0
  401. package/dist/consts/version.cjs +8 -1
  402. package/dist/consts/version.cjs.map +1 -0
  403. package/dist/consts/version.js +8 -1
  404. package/dist/consts/version.js.map +1 -0
  405. package/dist/hooks/index.cjs +49 -1
  406. package/dist/hooks/index.cjs.map +1 -0
  407. package/dist/hooks/index.d.cts +3 -2
  408. package/dist/hooks/index.d.ts +3 -2
  409. package/dist/hooks/index.js +49 -1
  410. package/dist/hooks/index.js.map +1 -0
  411. package/dist/hooks/useAuth.cjs +37 -1
  412. package/dist/hooks/useAuth.cjs.map +1 -0
  413. package/dist/hooks/useAuth.d.cts +8 -10
  414. package/dist/hooks/useAuth.d.ts +8 -10
  415. package/dist/hooks/useAuth.js +37 -1
  416. package/dist/hooks/useAuth.js.map +1 -0
  417. package/dist/hooks/useCrossmint.cjs +10 -1
  418. package/dist/hooks/useCrossmint.cjs.map +1 -0
  419. package/dist/hooks/useCrossmint.d.cts +0 -1
  420. package/dist/hooks/useCrossmint.d.ts +0 -1
  421. package/dist/hooks/useCrossmint.js +10 -1
  422. package/dist/hooks/useCrossmint.js.map +1 -0
  423. package/dist/hooks/useCrossmintAuth.cjs +37 -0
  424. package/dist/hooks/useCrossmintAuth.cjs.map +1 -0
  425. package/dist/hooks/useCrossmintAuth.d.cts +11 -0
  426. package/dist/hooks/useCrossmintAuth.d.ts +11 -0
  427. package/dist/hooks/useCrossmintAuth.js +37 -0
  428. package/dist/hooks/useCrossmintAuth.js.map +1 -0
  429. package/dist/hooks/useCrossmintCheckout.cjs +13 -1
  430. package/dist/hooks/useCrossmintCheckout.cjs.map +1 -0
  431. package/dist/hooks/useCrossmintCheckout.d.cts +2 -1
  432. package/dist/hooks/useCrossmintCheckout.d.ts +2 -1
  433. package/dist/hooks/useCrossmintCheckout.js +13 -1
  434. package/dist/hooks/useCrossmintCheckout.js.map +1 -0
  435. package/dist/hooks/useDeepEffect.cjs +8 -1
  436. package/dist/hooks/useDeepEffect.cjs.map +1 -0
  437. package/dist/hooks/useDeepEffect.js +8 -1
  438. package/dist/hooks/useDeepEffect.js.map +1 -0
  439. package/dist/hooks/useEnvironment.cjs +8 -1
  440. package/dist/hooks/useEnvironment.cjs.map +1 -0
  441. package/dist/hooks/useEnvironment.js +8 -1
  442. package/dist/hooks/useEnvironment.js.map +1 -0
  443. package/dist/hooks/useOAuthWindowListener.cjs +37 -1
  444. package/dist/hooks/useOAuthWindowListener.cjs.map +1 -0
  445. package/dist/hooks/useOAuthWindowListener.d.cts +2 -6
  446. package/dist/hooks/useOAuthWindowListener.d.ts +2 -6
  447. package/dist/hooks/useOAuthWindowListener.js +37 -1
  448. package/dist/hooks/useOAuthWindowListener.js.map +1 -0
  449. package/dist/hooks/useWallet.cjs +37 -1
  450. package/dist/hooks/useWallet.cjs.map +1 -0
  451. package/dist/hooks/useWallet.js +37 -1
  452. package/dist/hooks/useWallet.js.map +1 -0
  453. package/dist/icons/alert.cjs +8 -1
  454. package/dist/icons/alert.cjs.map +1 -0
  455. package/dist/icons/alert.js +8 -1
  456. package/dist/icons/alert.js.map +1 -0
  457. package/dist/icons/base64Icons.cjs +12 -0
  458. package/dist/icons/base64Icons.cjs.map +1 -0
  459. package/dist/icons/base64Icons.d.cts +5 -0
  460. package/dist/icons/base64Icons.d.ts +5 -0
  461. package/dist/icons/base64Icons.js +12 -0
  462. package/dist/icons/base64Icons.js.map +1 -0
  463. package/dist/icons/chevronRight.cjs +8 -0
  464. package/dist/icons/chevronRight.cjs.map +1 -0
  465. package/dist/icons/chevronRight.d.cts +9 -0
  466. package/dist/icons/chevronRight.d.ts +9 -0
  467. package/dist/icons/chevronRight.js +8 -0
  468. package/dist/icons/chevronRight.js.map +1 -0
  469. package/dist/icons/discord.cjs +29 -1
  470. package/dist/icons/discord.cjs.map +1 -0
  471. package/dist/icons/discord.js +29 -1
  472. package/dist/icons/discord.js.map +1 -0
  473. package/dist/icons/emailOTP.cjs +8 -1
  474. package/dist/icons/emailOTP.cjs.map +1 -0
  475. package/dist/icons/emailOTP.js +8 -1
  476. package/dist/icons/emailOTP.js.map +1 -0
  477. package/dist/icons/farcaster.cjs +8 -1
  478. package/dist/icons/farcaster.cjs.map +1 -0
  479. package/dist/icons/farcaster.js +8 -1
  480. package/dist/icons/farcaster.js.map +1 -0
  481. package/dist/icons/fingerprint.cjs +8 -1
  482. package/dist/icons/fingerprint.cjs.map +1 -0
  483. package/dist/icons/fingerprint.js +8 -1
  484. package/dist/icons/fingerprint.js.map +1 -0
  485. package/dist/icons/google.cjs +8 -1
  486. package/dist/icons/google.cjs.map +1 -0
  487. package/dist/icons/google.js +8 -1
  488. package/dist/icons/google.js.map +1 -0
  489. package/dist/icons/leftArrow.cjs +8 -1
  490. package/dist/icons/leftArrow.cjs.map +1 -0
  491. package/dist/icons/leftArrow.js +8 -1
  492. package/dist/icons/leftArrow.js.map +1 -0
  493. package/dist/icons/passkey.cjs +8 -1
  494. package/dist/icons/passkey.cjs.map +1 -0
  495. package/dist/icons/passkey.js +8 -1
  496. package/dist/icons/passkey.js.map +1 -0
  497. package/dist/icons/passkeyPromptLogo.cjs +8 -1
  498. package/dist/icons/passkeyPromptLogo.cjs.map +1 -0
  499. package/dist/icons/passkeyPromptLogo.js +8 -1
  500. package/dist/icons/passkeyPromptLogo.js.map +1 -0
  501. package/dist/icons/poweredByLeaf.cjs +8 -1
  502. package/dist/icons/poweredByLeaf.cjs.map +1 -0
  503. package/dist/icons/poweredByLeaf.d.cts +1 -2
  504. package/dist/icons/poweredByLeaf.d.ts +1 -2
  505. package/dist/icons/poweredByLeaf.js +8 -1
  506. package/dist/icons/poweredByLeaf.js.map +1 -0
  507. package/dist/icons/wallet.cjs +8 -0
  508. package/dist/icons/wallet.cjs.map +1 -0
  509. package/dist/icons/wallet.d.cts +9 -0
  510. package/dist/icons/wallet.d.ts +9 -0
  511. package/dist/icons/wallet.js +8 -0
  512. package/dist/icons/wallet.js.map +1 -0
  513. package/dist/icons/x.cjs +29 -1
  514. package/dist/icons/x.cjs.map +1 -0
  515. package/dist/icons/x.js +29 -1
  516. package/dist/icons/x.js.map +1 -0
  517. package/dist/index.cjs +131 -1
  518. package/dist/index.cjs.map +1 -0
  519. package/dist/index.d.cts +2 -3
  520. package/dist/index.d.ts +2 -3
  521. package/dist/index.js +131 -1
  522. package/dist/index.js.map +1 -0
  523. package/dist/providers/CrossmintAuthProvider.cjs +39 -1
  524. package/dist/providers/CrossmintAuthProvider.cjs.map +1 -0
  525. package/dist/providers/CrossmintAuthProvider.d.cts +9 -6
  526. package/dist/providers/CrossmintAuthProvider.d.ts +9 -6
  527. package/dist/providers/CrossmintAuthProvider.js +39 -1
  528. package/dist/providers/CrossmintAuthProvider.js.map +1 -0
  529. package/dist/providers/CrossmintWalletProvider.cjs +39 -1
  530. package/dist/providers/CrossmintWalletProvider.cjs.map +1 -0
  531. package/dist/providers/CrossmintWalletProvider.js +39 -1
  532. package/dist/providers/CrossmintWalletProvider.js.map +1 -0
  533. package/dist/providers/TwindProvider.cjs +9 -1
  534. package/dist/providers/TwindProvider.cjs.map +1 -0
  535. package/dist/providers/TwindProvider.js +9 -1
  536. package/dist/providers/TwindProvider.js.map +1 -0
  537. package/dist/providers/auth/AuthFormProvider.cjs +39 -1
  538. package/dist/providers/auth/AuthFormProvider.cjs.map +1 -0
  539. package/dist/providers/auth/AuthFormProvider.d.cts +7 -9
  540. package/dist/providers/auth/AuthFormProvider.d.ts +7 -9
  541. package/dist/providers/auth/AuthFormProvider.js +39 -1
  542. package/dist/providers/auth/AuthFormProvider.js.map +1 -0
  543. package/dist/providers/auth/FarcasterProvider.cjs +8 -1
  544. package/dist/providers/auth/FarcasterProvider.cjs.map +1 -0
  545. package/dist/providers/auth/FarcasterProvider.js +8 -1
  546. package/dist/providers/auth/FarcasterProvider.js.map +1 -0
  547. package/dist/providers/auth/web3/WagmiAuthProvider.cjs +8 -0
  548. package/dist/providers/auth/web3/WagmiAuthProvider.cjs.map +1 -0
  549. package/dist/providers/auth/web3/WagmiAuthProvider.d.cts +8 -0
  550. package/dist/providers/auth/web3/WagmiAuthProvider.d.ts +8 -0
  551. package/dist/providers/auth/web3/WagmiAuthProvider.js +8 -0
  552. package/dist/providers/auth/web3/WagmiAuthProvider.js.map +1 -0
  553. package/dist/providers/index.cjs +43 -1
  554. package/dist/providers/index.cjs.map +1 -0
  555. package/dist/providers/index.d.cts +2 -1
  556. package/dist/providers/index.d.ts +2 -1
  557. package/dist/providers/index.js +43 -1
  558. package/dist/providers/index.js.map +1 -0
  559. package/dist/testUtils.cjs +8 -1
  560. package/dist/testUtils.cjs.map +1 -0
  561. package/dist/testUtils.d.cts +1 -2
  562. package/dist/testUtils.d.ts +1 -2
  563. package/dist/testUtils.js +8 -1
  564. package/dist/testUtils.js.map +1 -0
  565. package/dist/twind.config.cjs +8 -1
  566. package/dist/twind.config.cjs.map +1 -0
  567. package/dist/twind.config.d.cts +0 -3
  568. package/dist/twind.config.d.ts +0 -3
  569. package/dist/twind.config.js +8 -1
  570. package/dist/twind.config.js.map +1 -0
  571. package/dist/types/auth.cjs +1 -1
  572. package/dist/types/auth.cjs.map +1 -0
  573. package/dist/types/auth.js +1 -0
  574. package/dist/types/auth.js.map +1 -0
  575. package/dist/utils/classNames.cjs +8 -1
  576. package/dist/utils/classNames.cjs.map +1 -0
  577. package/dist/utils/classNames.js +8 -1
  578. package/dist/utils/classNames.js.map +1 -0
  579. package/dist/utils/createCrossmintApiClient.cjs +9 -1
  580. package/dist/utils/createCrossmintApiClient.cjs.map +1 -0
  581. package/dist/utils/createCrossmintApiClient.js +9 -1
  582. package/dist/utils/createCrossmintApiClient.js.map +1 -0
  583. package/package.json +21 -15
  584. package/src/components/auth/AuthForm.tsx +10 -5
  585. package/src/components/auth/AuthFormBackButton.tsx +1 -5
  586. package/src/components/auth/AuthFormDialog.tsx +7 -2
  587. package/src/components/auth/methods/email/EmailOTPInput.tsx +13 -14
  588. package/src/components/auth/methods/email/EmailSignIn.tsx +15 -19
  589. package/src/components/auth/methods/farcaster/FarcasterSignIn.tsx +10 -14
  590. package/src/components/auth/methods/google/GoogleSignIn.tsx +7 -16
  591. package/src/components/auth/methods/web3/Web3AuthFlow.tsx +17 -0
  592. package/src/components/auth/methods/web3/Web3AuthWrapper.tsx +87 -0
  593. package/src/components/auth/methods/web3/Web3ConnectButton.tsx +62 -0
  594. package/src/components/auth/methods/web3/Web3Connectors.tsx +91 -0
  595. package/src/components/auth/methods/web3/Web3ProviderButton.tsx +38 -0
  596. package/src/components/auth/methods/web3/Web3SignIn.tsx +41 -0
  597. package/src/components/common/Dialog.tsx +10 -29
  598. package/src/components/common/Divider.tsx +1 -1
  599. package/src/components/common/InputOTP.tsx +9 -4
  600. package/src/components/common/PoweredByCrossmint.tsx +3 -10
  601. package/src/components/embed/v3/EmbeddedCheckoutV3IFrame.tsx +3 -1
  602. package/src/hooks/index.ts +0 -1
  603. package/src/hooks/useAuth.ts +2 -2
  604. package/src/hooks/useCrossmint.test.tsx +4 -33
  605. package/src/hooks/useCrossmint.tsx +1 -12
  606. package/src/hooks/useCrossmintAuth.ts +12 -0
  607. package/src/hooks/useCrossmintCheckout.tsx +7 -5
  608. package/src/hooks/useOAuthWindowListener.ts +4 -10
  609. package/src/icons/base64Icons.ts +8 -0
  610. package/src/icons/chevronRight.tsx +21 -0
  611. package/src/icons/poweredByLeaf.tsx +81 -80
  612. package/src/icons/wallet.tsx +23 -0
  613. package/src/providers/CrossmintAuthProvider.test.tsx +72 -87
  614. package/src/providers/CrossmintAuthProvider.tsx +52 -49
  615. package/src/providers/CrossmintWalletProvider.test.tsx +15 -9
  616. package/src/providers/auth/AuthFormProvider.test.tsx +61 -19
  617. package/src/providers/auth/AuthFormProvider.tsx +52 -60
  618. package/src/providers/auth/web3/WagmiAuthProvider.tsx +56 -0
  619. package/src/testUtils.ts +0 -4
  620. package/src/twind.config.ts +12 -5
  621. package/dist/chunk-22TFOKGT.js +0 -1
  622. package/dist/chunk-265BME7Y.cjs +0 -1
  623. package/dist/chunk-2POV64LQ.js +0 -1
  624. package/dist/chunk-2TVTJ6GV.js +0 -1
  625. package/dist/chunk-2VQLMU5A.cjs +0 -1
  626. package/dist/chunk-2WSEHVNP.cjs +0 -1
  627. package/dist/chunk-3BUVHV54.js +0 -0
  628. package/dist/chunk-3JUSQ2QE.cjs +0 -1
  629. package/dist/chunk-47YB6ECI.cjs +0 -1
  630. package/dist/chunk-4IHRWQWT.js +0 -1
  631. package/dist/chunk-4ITU7JF2.js +0 -1
  632. package/dist/chunk-5DCSVXPM.js +0 -1
  633. package/dist/chunk-5IFQJPBE.cjs +0 -1
  634. package/dist/chunk-63OMZNLN.js +0 -1
  635. package/dist/chunk-6GZGVNLH.cjs +0 -1
  636. package/dist/chunk-6IWCD2YY.cjs +0 -1
  637. package/dist/chunk-72MMCJ2E.js +0 -0
  638. package/dist/chunk-72P3JMXX.js +0 -1
  639. package/dist/chunk-77PBG2JJ.js +0 -1
  640. package/dist/chunk-7CPFUVAV.js +0 -1
  641. package/dist/chunk-7HSC6Q3U.js +0 -1
  642. package/dist/chunk-7M23WP3P.js +0 -1
  643. package/dist/chunk-7MUBJ5DE.cjs +0 -1
  644. package/dist/chunk-7MYTZUEK.js +0 -1
  645. package/dist/chunk-7WTGDAJW.js +0 -1
  646. package/dist/chunk-7YJMOHOO.js +0 -1
  647. package/dist/chunk-7Z2T6P5L.cjs +0 -1
  648. package/dist/chunk-A3QHXPHD.js +0 -1
  649. package/dist/chunk-AMP2ZDXD.cjs +0 -1
  650. package/dist/chunk-ASU2E6GU.js +0 -1
  651. package/dist/chunk-B7GHWWM6.cjs +0 -1
  652. package/dist/chunk-BHJ5JTA2.js +0 -1
  653. package/dist/chunk-BR77Q3PK.cjs +0 -1
  654. package/dist/chunk-C3JRTLQP.js +0 -1
  655. package/dist/chunk-D3255LVM.cjs +0 -1
  656. package/dist/chunk-DCG56C7R.cjs +0 -1
  657. package/dist/chunk-DGZQUCSD.js +0 -1
  658. package/dist/chunk-E4TBJMOO.js +0 -1
  659. package/dist/chunk-E75QRQ6Q.js +0 -1
  660. package/dist/chunk-E7T2NBUP.cjs +0 -1
  661. package/dist/chunk-EK4Y233O.js +0 -1
  662. package/dist/chunk-EUXGP4IN.cjs +0 -1
  663. package/dist/chunk-EVADF7QA.js +0 -1
  664. package/dist/chunk-FFIN4TCT.cjs +0 -1
  665. package/dist/chunk-FON43I6G.cjs +0 -1
  666. package/dist/chunk-FYYNH6VT.js +0 -1
  667. package/dist/chunk-G6WJLBM7.js +0 -1
  668. package/dist/chunk-GJTS3VOX.cjs +0 -1
  669. package/dist/chunk-HFIIBQLK.js +0 -1
  670. package/dist/chunk-HHQZJJKE.js +0 -1
  671. package/dist/chunk-HWGRWJUT.cjs +0 -1
  672. package/dist/chunk-HYI4R74V.cjs +0 -1
  673. package/dist/chunk-I4GMMHQR.cjs +0 -1
  674. package/dist/chunk-IAJBYU5C.js +0 -1
  675. package/dist/chunk-IKY4YQDO.js +0 -1
  676. package/dist/chunk-IMV35JZB.cjs +0 -1
  677. package/dist/chunk-JGM3G5E2.js +0 -1
  678. package/dist/chunk-JSNLFGET.js +0 -1
  679. package/dist/chunk-JSNUJJQJ.js +0 -1
  680. package/dist/chunk-KY4UBKAO.cjs +0 -1
  681. package/dist/chunk-LF6WLVWL.js +0 -1
  682. package/dist/chunk-LZ5XEFKY.cjs +0 -1
  683. package/dist/chunk-MC3WZMO2.cjs +0 -1
  684. package/dist/chunk-MJMMQJVO.cjs +0 -1
  685. package/dist/chunk-N4QVZLJB.js +0 -1
  686. package/dist/chunk-NBJIJZGO.js +0 -1
  687. package/dist/chunk-NETRNZFY.js +0 -1
  688. package/dist/chunk-NFLGT52C.cjs +0 -1
  689. package/dist/chunk-NRN4WNQL.cjs +0 -1
  690. package/dist/chunk-NTIINLZM.cjs +0 -1
  691. package/dist/chunk-NY7SDPXG.js +0 -1
  692. package/dist/chunk-NZQIZ4ZY.cjs +0 -1
  693. package/dist/chunk-O5J2ZIJ6.cjs +0 -1
  694. package/dist/chunk-OEAPYLBR.cjs +0 -1
  695. package/dist/chunk-OOLXYAO7.js +0 -1
  696. package/dist/chunk-OVBCANGC.cjs +0 -1
  697. package/dist/chunk-PNUQCT4M.cjs +0 -1
  698. package/dist/chunk-PXDN3KFO.js +0 -1
  699. package/dist/chunk-QASKWI5Y.js +0 -1
  700. package/dist/chunk-QDOP7HRG.js +0 -1
  701. package/dist/chunk-QP4CMLMG.cjs +0 -1
  702. package/dist/chunk-QYQERFYL.cjs +0 -1
  703. package/dist/chunk-QZZXNJMU.js +0 -1
  704. package/dist/chunk-RGOIGFPQ.cjs +0 -1
  705. package/dist/chunk-RJGOALQ6.cjs +0 -1
  706. package/dist/chunk-RUQHINLO.js +0 -1
  707. package/dist/chunk-RYQRCUKB.js +0 -1
  708. package/dist/chunk-S73E6EBO.cjs +0 -1
  709. package/dist/chunk-SC5LQJBG.cjs +0 -1
  710. package/dist/chunk-SFDQPSSP.js +0 -1
  711. package/dist/chunk-SJFJI2OT.cjs +0 -1
  712. package/dist/chunk-SKRQKK2T.cjs +0 -1
  713. package/dist/chunk-SRQAQHYK.cjs +0 -1
  714. package/dist/chunk-SSWWXH5O.cjs +0 -1
  715. package/dist/chunk-SYDMK3TQ.js +0 -1
  716. package/dist/chunk-T422SK4C.cjs +0 -1
  717. package/dist/chunk-T5PSAJ3R.cjs +0 -1
  718. package/dist/chunk-TM7WDKYR.cjs +0 -1
  719. package/dist/chunk-TNCETEEL.js +0 -1
  720. package/dist/chunk-U6FTIAJO.js +0 -1
  721. package/dist/chunk-U7JNW7VQ.js +0 -1
  722. package/dist/chunk-UAFW3OWA.js +0 -1
  723. package/dist/chunk-UI2RH2CP.js +0 -1
  724. package/dist/chunk-UOHM5SBY.cjs +0 -1
  725. package/dist/chunk-UX6T7EAP.js +0 -1
  726. package/dist/chunk-V2YSOSYZ.cjs +0 -1
  727. package/dist/chunk-V4LKDMLV.js +0 -1
  728. package/dist/chunk-VI6TW7JT.cjs +0 -1
  729. package/dist/chunk-VIJFGMUH.js +0 -1
  730. package/dist/chunk-VWBAHXIO.cjs +0 -1
  731. package/dist/chunk-W4UPIFFS.cjs +0 -1
  732. package/dist/chunk-WABJHG6B.cjs +0 -1
  733. package/dist/chunk-WARJE3L2.cjs +0 -1
  734. package/dist/chunk-WF3RK7VH.js +0 -1
  735. package/dist/chunk-X5BBXO27.cjs +0 -1
  736. package/dist/chunk-XIVIIEY5.js +0 -1
  737. package/dist/chunk-XMNGTV3F.cjs +0 -1
  738. package/dist/chunk-Y5RJUIQB.cjs +0 -1
  739. package/dist/chunk-YKC4ST2J.js +0 -1
  740. package/dist/chunk-YLAJFXWZ.js +0 -0
  741. package/dist/chunk-YVTAV6EU.cjs +0 -1
  742. package/dist/chunk-Z2FGFHRQ.cjs +0 -1
  743. package/dist/hooks/useAuthSignIn.cjs +0 -1
  744. package/dist/hooks/useAuthSignIn.d.cts +0 -21
  745. package/dist/hooks/useAuthSignIn.d.ts +0 -21
  746. package/dist/hooks/useAuthSignIn.js +0 -1
  747. package/dist/hooks/useRefreshToken.cjs +0 -1
  748. package/dist/hooks/useRefreshToken.d.cts +0 -11
  749. package/dist/hooks/useRefreshToken.d.ts +0 -11
  750. package/dist/hooks/useRefreshToken.js +0 -1
  751. package/dist/utils/authCookies.cjs +0 -1
  752. package/dist/utils/authCookies.d.cts +0 -5
  753. package/dist/utils/authCookies.d.ts +0 -5
  754. package/dist/utils/authCookies.js +0 -1
  755. package/src/hooks/useAuthSignIn.ts +0 -117
  756. package/src/hooks/useRefreshToken.test.ts +0 -155
  757. package/src/hooks/useRefreshToken.ts +0 -68
  758. package/src/utils/authCookies.test.ts +0 -41
  759. package/src/utils/authCookies.ts +0 -13
@@ -0,0 +1,22 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk46UDUOKJcjs = require('./chunk-46UDUOKJ.cjs');
4
+
5
+ // src/utils/createCrossmintApiClient.ts
6
+ var _commonsdkbase = require('@crossmint/common-sdk-base');
7
+ function createCrossmintApiClient(crossmint, apiKeyExpectations) {
8
+ return new (0, _commonsdkbase.CrossmintApiClient)(crossmint, {
9
+ internalConfig: {
10
+ sdkMetadata: {
11
+ name: "@crossmint/client-sdk-react-ui",
12
+ version: _chunk46UDUOKJcjs.LIB_VERSION
13
+ },
14
+ apiKeyExpectations
15
+ }
16
+ });
17
+ }
18
+
19
+
20
+
21
+ exports.createCrossmintApiClient = createCrossmintApiClient;
22
+ //# sourceMappingURL=chunk-VWRC3IFZ.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/utils/createCrossmintApiClient.ts"],"names":[],"mappings":";;;;;AACA,SAAyB,0BAAiE;AAEnF,SAAS,yBACZ,WACA,oBACF;AACE,SAAO,IAAI,mBAAmB,WAAW;AAAA,IACrC,gBAAgB;AAAA,MACZ,aAAa;AAAA,QACT,MAAM;AAAA,QACN,SAAS;AAAA,MACb;AAAA,MACA;AAAA,IACJ;AAAA,EACJ,CAAC;AACL","sourcesContent":["import { LIB_VERSION } from \"@/consts/version\";\nimport { type Crossmint, CrossmintApiClient, type CrossmintApiClientInternalConfig } from \"@crossmint/common-sdk-base\";\n\nexport function createCrossmintApiClient(\n crossmint: Crossmint,\n apiKeyExpectations?: CrossmintApiClientInternalConfig[\"apiKeyExpectations\"]\n) {\n return new CrossmintApiClient(crossmint, {\n internalConfig: {\n sdkMetadata: {\n name: \"@crossmint/client-sdk-react-ui\",\n version: LIB_VERSION,\n },\n apiKeyExpectations,\n },\n });\n}\n"]}
@@ -0,0 +1,32 @@
1
+ // src/icons/wallet.tsx
2
+ import { jsx } from "react/jsx-runtime";
3
+ function WalletIcon({ className, style }) {
4
+ var _a;
5
+ return /* @__PURE__ */ jsx(
6
+ "svg",
7
+ {
8
+ className,
9
+ style,
10
+ width: "21",
11
+ height: "21",
12
+ viewBox: "0 0 21 21",
13
+ fill: "none",
14
+ xmlns: "http://www.w3.org/2000/svg",
15
+ children: /* @__PURE__ */ jsx(
16
+ "path",
17
+ {
18
+ d: "M15.0566 12.5H15.067M1.10156 3.5V17.5C1.10156 18.6046 2.02718 19.5 3.16898 19.5H17.6409C18.7827 19.5 19.7083 18.6046 19.7083 17.5V7.5C19.7083 6.39543 18.7827 5.5 17.6409 5.5L3.16898 5.5C2.02718 5.5 1.10156 4.60457 1.10156 3.5ZM1.10156 3.5C1.10156 2.39543 2.02718 1.5 3.16898 1.5H15.5735M15.5735 12.5C15.5735 12.7761 15.3421 13 15.0566 13C14.7712 13 14.5398 12.7761 14.5398 12.5C14.5398 12.2239 14.7712 12 15.0566 12C15.3421 12 15.5735 12.2239 15.5735 12.5Z",
19
+ stroke: (_a = style == null ? void 0 : style.color) != null ? _a : "black",
20
+ strokeWidth: "2",
21
+ strokeLinecap: "round",
22
+ strokeLinejoin: "round"
23
+ }
24
+ )
25
+ }
26
+ );
27
+ }
28
+
29
+ export {
30
+ WalletIcon
31
+ };
32
+ //# sourceMappingURL=chunk-VZIXXIU5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/icons/wallet.tsx"],"sourcesContent":["import type React from \"react\";\n\nexport function WalletIcon({ className, style }: { className?: string; style?: React.CSSProperties }) {\n return (\n <svg\n className={className}\n style={style}\n width=\"21\"\n height=\"21\"\n viewBox=\"0 0 21 21\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M15.0566 12.5H15.067M1.10156 3.5V17.5C1.10156 18.6046 2.02718 19.5 3.16898 19.5H17.6409C18.7827 19.5 19.7083 18.6046 19.7083 17.5V7.5C19.7083 6.39543 18.7827 5.5 17.6409 5.5L3.16898 5.5C2.02718 5.5 1.10156 4.60457 1.10156 3.5ZM1.10156 3.5C1.10156 2.39543 2.02718 1.5 3.16898 1.5H15.5735M15.5735 12.5C15.5735 12.7761 15.3421 13 15.0566 13C14.7712 13 14.5398 12.7761 14.5398 12.5C14.5398 12.2239 14.7712 12 15.0566 12C15.3421 12 15.5735 12.2239 15.5735 12.5Z\"\n stroke={style?.color ?? \"black\"}\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n}\n"],"mappings":";AAaY;AAXL,SAAS,WAAW,EAAE,WAAW,MAAM,GAAwD;AAFtG;AAGI,SACI;AAAA,IAAC;AAAA;AAAA,MACG;AAAA,MACA;AAAA,MACA,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MAEN;AAAA,QAAC;AAAA;AAAA,UACG,GAAE;AAAA,UACF,SAAQ,oCAAO,UAAP,YAAgB;AAAA,UACxB,aAAY;AAAA,UACZ,eAAc;AAAA,UACd,gBAAe;AAAA;AAAA,MACnB;AAAA;AAAA,EACJ;AAER;","names":[]}
@@ -0,0 +1,54 @@
1
+ import {
2
+ classNames
3
+ } from "./chunk-RZPQIRIY.js";
4
+ import {
5
+ __objRest,
6
+ __spreadProps,
7
+ __spreadValues
8
+ } from "./chunk-CRTRMMJ7.js";
9
+
10
+ // src/components/auth/methods/web3/Web3ProviderButton.tsx
11
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
+ function Web3ProviderButton(_a) {
13
+ var _b = _a, {
14
+ title,
15
+ appearance,
16
+ img
17
+ } = _b, props = __objRest(_b, [
18
+ "title",
19
+ "appearance",
20
+ "img"
21
+ ]);
22
+ var _a2, _b2, _c;
23
+ return /* @__PURE__ */ jsxs(
24
+ "button",
25
+ __spreadProps(__spreadValues({
26
+ className: classNames(
27
+ "relative flex text-base p-4 bg-cm-muted-primary text-cm-text-primary items-center w-full rounded-xl justify-center",
28
+ "transition-colors duration-200 ease-in-out",
29
+ "hover:bg-cm-hover focus:bg-cm-hover outline-none"
30
+ ),
31
+ style: {
32
+ borderRadius: appearance == null ? void 0 : appearance.borderRadius,
33
+ borderColor: (_a2 = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _a2.border,
34
+ backgroundColor: (_b2 = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _b2.buttonBackground
35
+ }
36
+ }, props), {
37
+ children: [
38
+ /* @__PURE__ */ jsxs(Fragment, { children: [
39
+ /* @__PURE__ */ jsx("img", { src: img, alt: title, className: "h-[25px] w-[25px] absolute left-[18px]" }),
40
+ /* @__PURE__ */ jsx("span", { className: "font-medium", style: { color: (_c = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _c.textPrimary }, children: title })
41
+ ] }),
42
+ /* @__PURE__ */ jsxs("span", { className: "sr-only", children: [
43
+ "Sign in with ",
44
+ title
45
+ ] })
46
+ ]
47
+ })
48
+ );
49
+ }
50
+
51
+ export {
52
+ Web3ProviderButton
53
+ };
54
+ //# sourceMappingURL=chunk-WK5RAFJ3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/auth/methods/web3/Web3ProviderButton.tsx"],"sourcesContent":["import type { UIConfig } from \"@crossmint/common-sdk-base\";\nimport type React from \"react\";\nimport { classNames } from \"../../../../utils/classNames\";\n\nexport function Web3ProviderButton({\n title,\n appearance,\n img,\n ...props\n}: {\n title: string;\n appearance?: UIConfig;\n img: string;\n} & React.ButtonHTMLAttributes<HTMLButtonElement>) {\n return (\n <button\n className={classNames(\n \"relative flex text-base p-4 bg-cm-muted-primary text-cm-text-primary items-center w-full rounded-xl justify-center\",\n \"transition-colors duration-200 ease-in-out\",\n \"hover:bg-cm-hover focus:bg-cm-hover outline-none\"\n )}\n style={{\n borderRadius: appearance?.borderRadius,\n borderColor: appearance?.colors?.border,\n backgroundColor: appearance?.colors?.buttonBackground,\n }}\n {...props}\n >\n <>\n <img src={img} alt={title} className=\"h-[25px] w-[25px] absolute left-[18px]\" />\n <span className=\"font-medium\" style={{ color: appearance?.colors?.textPrimary }}>\n {title}\n </span>\n </>\n <span className=\"sr-only\">Sign in with {title}</span>\n </button>\n );\n}\n"],"mappings":";;;;;;;;;;AA4BY,mBACI,KADJ;AAxBL,SAAS,mBAAmB,IASgB;AAThB,eAC/B;AAAA;AAAA,IACA;AAAA,IACA;AAAA,EAPJ,IAImC,IAI5B,kBAJ4B,IAI5B;AAAA,IAHH;AAAA,IACA;AAAA,IACA;AAAA;AAPJ,MAAAA,KAAAC,KAAA;AAcI,SACI;AAAA,IAAC;AAAA;AAAA,MACG,WAAW;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,MACJ;AAAA,MACA,OAAO;AAAA,QACH,cAAc,yCAAY;AAAA,QAC1B,cAAaD,MAAA,yCAAY,WAAZ,gBAAAA,IAAoB;AAAA,QACjC,kBAAiBC,MAAA,yCAAY,WAAZ,gBAAAA,IAAoB;AAAA,MACzC;AAAA,OACI,QAXP;AAAA,MAaG;AAAA,yCACI;AAAA,8BAAC,SAAI,KAAK,KAAK,KAAK,OAAO,WAAU,0CAAyC;AAAA,UAC9E,oBAAC,UAAK,WAAU,eAAc,OAAO,EAAE,QAAO,8CAAY,WAAZ,mBAAoB,YAAY,GACzE,iBACL;AAAA,WACJ;AAAA,QACA,qBAAC,UAAK,WAAU,WAAU;AAAA;AAAA,UAAc;AAAA,WAAM;AAAA;AAAA;AAAA,EAClD;AAER;","names":["_a","_b"]}
@@ -0,0 +1,107 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
+
3
+ var _chunk35RV5AOTcjs = require('./chunk-35RV5AOT.cjs');
4
+
5
+
6
+ var _chunkSBA6FMFTcjs = require('./chunk-SBA6FMFT.cjs');
7
+
8
+
9
+
10
+ var _chunk4DAZAO6Ycjs = require('./chunk-4DAZAO6Y.cjs');
11
+
12
+ // src/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.tsx
13
+ var _bs58 = require('bs58'); var _bs582 = _interopRequireDefault(_bs58);
14
+
15
+
16
+
17
+
18
+
19
+ var _clientsdkbase = require('@crossmint/client-sdk-base');
20
+ var _jsxruntime = require('react/jsx-runtime');
21
+ function CryptoEmbeddedCheckoutIFrame(props) {
22
+ const { emitInternalEvent } = _clientsdkbase.crossmintIFrameService.call(void 0, props);
23
+ const { signer, paymentMethod } = props;
24
+ function onInternalEvent(event) {
25
+ const { type, payload } = event;
26
+ if (type === _clientsdkbase.IncomingInternalEvents.CRYPTO_PAYMENT_INCOMING_TRANSACTION) {
27
+ const { serializedTransaction } = payload;
28
+ console.log("[Crossmint] Received incoming transaction", serializedTransaction);
29
+ handleIncomingTransaction(serializedTransaction);
30
+ }
31
+ if (type === _clientsdkbase.IncomingInternalEvents.CRYPTO_CHAIN_SWITCH) {
32
+ const { chain } = payload;
33
+ console.log("[Crossmint] Received change of chain", chain);
34
+ const handleChainSwitch = signer.handleChainSwitch;
35
+ if (handleChainSwitch == null) {
36
+ throw new Error("switchNetwork function should have been defined");
37
+ }
38
+ handleChainSwitch(chain);
39
+ }
40
+ }
41
+ function handleIncomingTransaction(serializedTransaction) {
42
+ return _chunk4DAZAO6Ycjs.__async.call(void 0, this, null, function* () {
43
+ try {
44
+ let txId;
45
+ switch (paymentMethod) {
46
+ case "SOL":
47
+ txId = yield handleSOLTransaction(signer, serializedTransaction);
48
+ break;
49
+ case "ETH":
50
+ txId = yield handleETHTransaction(signer, serializedTransaction);
51
+ break;
52
+ default:
53
+ throw new Error(`Unsupported payment method ${paymentMethod}`);
54
+ }
55
+ console.log("[Crossmint] Signed and sent transaction", txId);
56
+ emitInternalEvent({
57
+ type: _clientsdkbase.OutgoingInternalEvents.CRYPTO_PAYMENT_USER_ACCEPTED,
58
+ payload: {
59
+ txId
60
+ }
61
+ });
62
+ } catch (e) {
63
+ console.error("[Crossmint] Failed to sign and send transaction", e);
64
+ emitInternalEvent({
65
+ type: _clientsdkbase.OutgoingInternalEvents.CRYPTO_PAYMENT_USER_REJECTED,
66
+ payload: {}
67
+ });
68
+ }
69
+ });
70
+ }
71
+ function handleSOLTransaction(signer2, serializedTransaction) {
72
+ return _chunk4DAZAO6Ycjs.__async.call(void 0, this, null, function* () {
73
+ const { Transaction } = yield Promise.resolve().then(() => _interopRequireWildcard(require("@solana/web3.js")));
74
+ const transaction = Transaction.from(_bs582.default.decode(serializedTransaction));
75
+ console.log("[Crossmint] Deserialized SOL transaction", transaction);
76
+ return yield signer2.signAndSendTransaction(transaction);
77
+ });
78
+ }
79
+ function handleETHTransaction(signer2, serializedTransaction) {
80
+ return _chunk4DAZAO6Ycjs.__async.call(void 0, this, null, function* () {
81
+ const { parse: parseTransaction } = yield Promise.resolve().then(() => _interopRequireWildcard(require("@ethersproject/transactions")));
82
+ const transaction = parseTransaction(serializedTransaction);
83
+ console.log("[Crossmint] Deserialized ETH transaction", transaction);
84
+ return yield signer2.signAndSendTransaction(transaction);
85
+ });
86
+ }
87
+ _chunkSBA6FMFTcjs.useDeepEffect.call(void 0, () => {
88
+ emitInternalEvent({
89
+ type: "params-update",
90
+ payload: _clientsdkbase.embeddedCheckoutPropsToUpdatableParamsPayload.call(void 0, props)
91
+ });
92
+ }, [
93
+ props.signer.address,
94
+ props.recipient,
95
+ props.mintConfig,
96
+ props.locale,
97
+ props.currency,
98
+ props.whPassThroughArgs,
99
+ ..."chain" in props.signer ? [props.signer.chain] : []
100
+ ]);
101
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RV5AOTcjs.CrossmintEmbeddedCheckoutIFrame, _chunk4DAZAO6Ycjs.__spreadValues.call(void 0, { onInternalEvent }, props));
102
+ }
103
+
104
+
105
+
106
+ exports.CryptoEmbeddedCheckoutIFrame = CryptoEmbeddedCheckoutIFrame;
107
+ //# sourceMappingURL=chunk-XDJ6F7N4.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.tsx"],"names":["signer"],"mappings":";;;;;;;;;;;;AAAA,OAAO,UAAU;AAEjB;AAAA,EAII;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,OACG;AA+FI;AAzFI,SAAR,6BAA8C,OAA8C;AAC/F,QAAM,EAAE,kBAAkB,IAAI,uBAAuB,KAAK;AAE1D,QAAM,EAAE,QAAQ,cAAc,IAAI;AAElC,WAAS,gBAAgB,OAA8B;AACnD,UAAM,EAAE,MAAM,QAAQ,IAAI;AAE1B,QAAI,SAAS,uBAAuB,qCAAqC;AACrE,YAAM,EAAE,sBAAsB,IAAI;AAClC,cAAQ,IAAI,6CAA6C,qBAAqB;AAC9E,gCAA0B,qBAAqB;AAAA,IACnD;AAEA,QAAI,SAAS,uBAAuB,qBAAqB;AACrD,YAAM,EAAE,MAAM,IAAI;AAClB,cAAQ,IAAI,wCAAwC,KAAK;AAEzD,YAAM,oBAAqB,OAAqC;AAChE,UAAI,qBAAqB,MAAM;AAC3B,cAAM,IAAI,MAAM,iDAAiD;AAAA,MACrE;AACA,wBAAkB,KAAsC;AAAA,IAC5D;AAAA,EACJ;AAEA,WAAe,0BAA0B,uBAA+B;AAAA;AACpE,UAAI;AACA,YAAI;AACJ,gBAAQ,eAAe;AAAA,UACnB,KAAK;AACD,mBAAO,MAAM,qBAAqB,QAAQ,qBAAqB;AAC/D;AAAA,UACJ,KAAK;AACD,mBAAO,MAAM,qBAAqB,QAAQ,qBAAqB;AAC/D;AAAA,UACJ;AACI,kBAAM,IAAI,MAAM,8BAA8B,aAAa,EAAE;AAAA,QACrE;AAEA,gBAAQ,IAAI,2CAA2C,IAAI;AAC3D,0BAAkB;AAAA,UACd,MAAM,uBAAuB;AAAA,UAC7B,SAAS;AAAA,YACL;AAAA,UACJ;AAAA,QACJ,CAAC;AAAA,MACL,SAAS,GAAG;AACR,gBAAQ,MAAM,mDAAmD,CAAC;AAClE,0BAAkB;AAAA,UACd,MAAM,uBAAuB;AAAA,UAC7B,SAAS,CAAC;AAAA,QACd,CAAC;AAAA,MACL;AAAA,IACJ;AAAA;AAEA,WAAe,qBAAqBA,SAAmC,uBAA+B;AAAA;AAElG,YAAM,EAAE,YAAY,IAAI,MAAM,OAAO,iBAAiB;AACtD,YAAM,cAAc,YAAY,KAAK,KAAK,OAAO,qBAAqB,CAAC;AACvE,cAAQ,IAAI,4CAA4C,WAAW;AAEnE,aAAO,MAAMA,QAAO,uBAAuB,WAAW;AAAA,IAC1D;AAAA;AAEA,WAAe,qBAAqBA,SAAmC,uBAA+B;AAAA;AAElG,YAAM,EAAE,OAAO,iBAAiB,IAAI,MAAM,OAAO,6BAA6B;AAC9E,YAAM,cAAc,iBAAiB,qBAAqB;AAC1D,cAAQ,IAAI,4CAA4C,WAAW;AAEnE,aAAO,MAAMA,QAAO,uBAAuB,WAAW;AAAA,IAC1D;AAAA;AAEA,gBAAc,MAAM;AAChB,sBAAkB;AAAA,MACd,MAAM;AAAA,MACN,SAAS,8CAA8C,KAAK;AAAA,IAChE,CAAC;AAAA,EACL,GAAG;AAAA,IACC,MAAM,OAAO;AAAA,IACb,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,GAAI,WAAW,MAAM,SAAS,CAAC,MAAM,OAAO,KAAK,IAAI,CAAC;AAAA,EAC1D,CAAC;AAED,SAAO,oBAAC,kDAAgC,mBAAsC,MAAO;AACzF","sourcesContent":["import bs58 from \"bs58\";\n\nimport {\n type CryptoEmbeddedCheckoutPropsWithSigner,\n type ETHEmbeddedCheckoutSigner,\n type IncomingInternalEvent,\n IncomingInternalEvents,\n OutgoingInternalEvents,\n type SOLEmbeddedCheckoutSigner,\n crossmintIFrameService,\n embeddedCheckoutPropsToUpdatableParamsPayload,\n} from \"@crossmint/client-sdk-base\";\nimport type { EVMBlockchainIncludingTestnet } from \"@crossmint/common-sdk-base\";\n\nimport useDeepEffect from \"../../../hooks/useDeepEffect\";\nimport CrossmintEmbeddedCheckoutIFrame from \"../EmbeddedCheckoutIFrame\";\n\nexport default function CryptoEmbeddedCheckoutIFrame(props: CryptoEmbeddedCheckoutPropsWithSigner) {\n const { emitInternalEvent } = crossmintIFrameService(props);\n\n const { signer, paymentMethod } = props;\n\n function onInternalEvent(event: IncomingInternalEvent) {\n const { type, payload } = event;\n\n if (type === IncomingInternalEvents.CRYPTO_PAYMENT_INCOMING_TRANSACTION) {\n const { serializedTransaction } = payload;\n console.log(\"[Crossmint] Received incoming transaction\", serializedTransaction);\n handleIncomingTransaction(serializedTransaction);\n }\n\n if (type === IncomingInternalEvents.CRYPTO_CHAIN_SWITCH) {\n const { chain } = payload;\n console.log(\"[Crossmint] Received change of chain\", chain);\n\n const handleChainSwitch = (signer as ETHEmbeddedCheckoutSigner).handleChainSwitch;\n if (handleChainSwitch == null) {\n throw new Error(\"switchNetwork function should have been defined\");\n }\n handleChainSwitch(chain as EVMBlockchainIncludingTestnet);\n }\n }\n\n async function handleIncomingTransaction(serializedTransaction: string) {\n try {\n let txId: string;\n switch (paymentMethod) {\n case \"SOL\":\n txId = await handleSOLTransaction(signer, serializedTransaction);\n break;\n case \"ETH\":\n txId = await handleETHTransaction(signer, serializedTransaction);\n break;\n default:\n throw new Error(`Unsupported payment method ${paymentMethod}`);\n }\n\n console.log(\"[Crossmint] Signed and sent transaction\", txId);\n emitInternalEvent({\n type: OutgoingInternalEvents.CRYPTO_PAYMENT_USER_ACCEPTED,\n payload: {\n txId,\n },\n });\n } catch (e) {\n console.error(\"[Crossmint] Failed to sign and send transaction\", e);\n emitInternalEvent({\n type: OutgoingInternalEvents.CRYPTO_PAYMENT_USER_REJECTED,\n payload: {},\n });\n }\n }\n\n async function handleSOLTransaction(signer: SOLEmbeddedCheckoutSigner, serializedTransaction: string) {\n // @ts-ignore - Error becasue we dont use 'module' field in tsconfig, which is expected because we use tsup to compile\n const { Transaction } = await import(\"@solana/web3.js\");\n const transaction = Transaction.from(bs58.decode(serializedTransaction));\n console.log(\"[Crossmint] Deserialized SOL transaction\", transaction);\n\n return await signer.signAndSendTransaction(transaction);\n }\n\n async function handleETHTransaction(signer: ETHEmbeddedCheckoutSigner, serializedTransaction: string) {\n // @ts-ignore - Error becasue we dont use 'module' field in tsconfig, which is expected because we use tsup to compile\n const { parse: parseTransaction } = await import(\"@ethersproject/transactions\");\n const transaction = parseTransaction(serializedTransaction);\n console.log(\"[Crossmint] Deserialized ETH transaction\", transaction);\n\n return await signer.signAndSendTransaction(transaction);\n }\n\n useDeepEffect(() => {\n emitInternalEvent({\n type: \"params-update\",\n payload: embeddedCheckoutPropsToUpdatableParamsPayload(props),\n });\n }, [\n props.signer.address,\n props.recipient,\n props.mintConfig,\n props.locale,\n props.currency,\n props.whPassThroughArgs,\n ...(\"chain\" in props.signer ? [props.signer.chain] : []),\n ]);\n\n return <CrossmintEmbeddedCheckoutIFrame onInternalEvent={onInternalEvent} {...props} />;\n}\n"]}
@@ -0,0 +1,212 @@
1
+ import {
2
+ PoweredByCrossmint
3
+ } from "./chunk-FKIMKZ4Y.js";
4
+ import {
5
+ classNames
6
+ } from "./chunk-RZPQIRIY.js";
7
+ import {
8
+ PasskeyIcon
9
+ } from "./chunk-IQPA3QOV.js";
10
+ import {
11
+ PasskeyPromptLogo
12
+ } from "./chunk-CPYPI45H.js";
13
+ import {
14
+ FingerprintIcon
15
+ } from "./chunk-H4F7UVPT.js";
16
+
17
+ // src/components/auth/PasskeyPrompt.tsx
18
+ import { Button, Dialog, Transition } from "@headlessui/react";
19
+ import { Fragment } from "react";
20
+ import { Fragment as Fragment2, jsx, jsxs } from "react/jsx-runtime";
21
+ function PasskeyPromptCore({ title, content, primaryButton, secondaryAction, appearance }) {
22
+ var _a, _b, _c, _d, _e;
23
+ return /* @__PURE__ */ jsxs(
24
+ Dialog,
25
+ {
26
+ open: true,
27
+ onClose: () => {
28
+ },
29
+ className: classNames("fixed inset-0 z-20 flex items-center justify-center overflow-y-auto"),
30
+ children: [
31
+ /* @__PURE__ */ jsx(
32
+ Transition.Child,
33
+ {
34
+ as: Fragment,
35
+ enter: "ease-out duration-400",
36
+ enterFrom: "opacity-0",
37
+ enterTo: "opacity-100",
38
+ leave: "ease-in duration-400",
39
+ leaveFrom: "opacity-100",
40
+ leaveTo: "opacity-0",
41
+ children: /* @__PURE__ */ jsx(
42
+ "div",
43
+ {
44
+ className: classNames(
45
+ "fixed inset-0 bg-[rgba(139,151,151,0.2)] backdrop-blur-[2px] transition-opacity duration-300 ease-in-out -z-10"
46
+ )
47
+ }
48
+ )
49
+ }
50
+ ),
51
+ /* @__PURE__ */ jsx(
52
+ "div",
53
+ {
54
+ style: {
55
+ display: "flex",
56
+ flexDirection: "column",
57
+ alignItems: "center",
58
+ width: "100%",
59
+ maxWidth: "28rem",
60
+ borderRadius: "1rem",
61
+ boxShadow: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
62
+ zIndex: 30,
63
+ border: "1px solid",
64
+ backgroundColor: ((_a = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _a.background) || "white",
65
+ borderColor: ((_b = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _b.border) || "#D0D5DD"
66
+ },
67
+ onClick: (e) => e.stopPropagation(),
68
+ children: /* @__PURE__ */ jsxs("div", { className: "pt-12 pb-10 px-8", children: [
69
+ /* @__PURE__ */ jsx("div", { className: "flex justify-center left-1.5 relative", children: /* @__PURE__ */ jsx(PasskeyPromptLogo, { appearance }) }),
70
+ /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx(
71
+ "p",
72
+ {
73
+ style: {
74
+ fontSize: "1.125rem",
75
+ lineHeight: "1.75rem",
76
+ fontWeight: "bold",
77
+ color: ((_c = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _c.textPrimary) || "#20343E"
78
+ },
79
+ children: title
80
+ }
81
+ ) }),
82
+ /* @__PURE__ */ jsx("div", { className: "mt-4 mb-9", children: /* @__PURE__ */ jsx(
83
+ "div",
84
+ {
85
+ style: {
86
+ fontWeight: "normal",
87
+ color: ((_d = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _d.textSecondary) || "#67797F"
88
+ },
89
+ children: content
90
+ }
91
+ ) }),
92
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 justify-center", children: [
93
+ primaryButton,
94
+ secondaryAction
95
+ ] }),
96
+ /* @__PURE__ */ jsx("div", { className: "flex justify-center pt-4", children: /* @__PURE__ */ jsx(PoweredByCrossmint, { color: (_e = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _e.textSecondary }) })
97
+ ] })
98
+ }
99
+ )
100
+ ]
101
+ }
102
+ );
103
+ }
104
+ function PasskeyPrompt({ state, appearance }) {
105
+ var _a, _b;
106
+ switch (state.type) {
107
+ case "create-wallet":
108
+ return /* @__PURE__ */ jsx(
109
+ PasskeyPromptCore,
110
+ {
111
+ title: "Create Your Wallet",
112
+ appearance,
113
+ content: /* @__PURE__ */ jsxs(Fragment2, { children: [
114
+ /* @__PURE__ */ jsx("div", { className: "mb-4", children: "You're about to create a wallet." }),
115
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
116
+ /* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
117
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(PasskeyIcon, {}) }),
118
+ "Your wallet will be secured with a passkey"
119
+ ] }),
120
+ /* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
121
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(FingerprintIcon, {}) }),
122
+ "Your device will ask you for your fingerprint, face, or screen lock to set it up"
123
+ ] })
124
+ ] })
125
+ ] }),
126
+ primaryButton: /* @__PURE__ */ jsx(Button, { style: primaryButtonStyles(appearance), onClick: state.primaryActionOnClick, children: "Create Wallet" })
127
+ }
128
+ );
129
+ case "create-wallet-error":
130
+ return /* @__PURE__ */ jsx(
131
+ PasskeyPromptCore,
132
+ {
133
+ title: "Wallet Creation Failed",
134
+ appearance,
135
+ content: /* @__PURE__ */ jsx("div", { className: "mb-6", children: "We couldn't create your wallet. This could be due to rejecting the request, a timeout, or not having access to your passkey on this device." }),
136
+ primaryButton: /* @__PURE__ */ jsx(Button, { style: primaryButtonStyles(appearance), onClick: state.primaryActionOnClick, children: "Try again" })
137
+ }
138
+ );
139
+ case "transaction":
140
+ return /* @__PURE__ */ jsx(
141
+ PasskeyPromptCore,
142
+ {
143
+ title: "First Time Using Your Wallet",
144
+ appearance,
145
+ content: /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
146
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(FingerprintIcon, {}) }),
147
+ /* @__PURE__ */ jsx("span", { children: "Your device will ask you for your fingerprint, face, or screen lock to authorize this action." })
148
+ ] }) }),
149
+ primaryButton: /* @__PURE__ */ jsx(Button, { style: primaryButtonStyles(appearance), onClick: state.primaryActionOnClick, children: "Use Wallet" })
150
+ }
151
+ );
152
+ case "transaction-error":
153
+ return /* @__PURE__ */ jsx(
154
+ PasskeyPromptCore,
155
+ {
156
+ title: "Wallet Access Failed",
157
+ appearance,
158
+ content: /* @__PURE__ */ jsx("div", { className: "mb-6", children: "We couldn't access your wallet. This could be due to rejecting the request, a timeout, or not having access to your passkey on this device." }),
159
+ primaryButton: /* @__PURE__ */ jsx(Button, { style: primaryButtonStyles(appearance), onClick: state.primaryActionOnClick, children: "Try again" }),
160
+ secondaryAction: /* @__PURE__ */ jsx(
161
+ "a",
162
+ {
163
+ href: "https://docs.crossmint.com/wallets/smart-wallets/users/troubleshoot",
164
+ rel: "noopener noreferrer",
165
+ target: "_blank",
166
+ style: {
167
+ padding: "0.875rem",
168
+ width: "100%",
169
+ textAlign: "center",
170
+ textDecoration: "none",
171
+ borderRadius: "0.5rem",
172
+ fontWeight: "bold",
173
+ backgroundColor: ((_a = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _a.inputBackground) || "#F0F2F4",
174
+ color: ((_b = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _b.textSecondary) || "#00150D"
175
+ },
176
+ children: "Troubleshoot"
177
+ }
178
+ )
179
+ }
180
+ );
181
+ case "not-supported":
182
+ return /* @__PURE__ */ jsx(
183
+ PasskeyPromptCore,
184
+ {
185
+ title: "Passkeys Not Supported on This Device",
186
+ appearance,
187
+ content: /* @__PURE__ */ jsx("div", { className: "mb-6", children: "To access your wallet with a passkey, switch to a device or browser that supports passkeys, such as Chrome or Safari on a smartphone, tablet, or modern computer" }),
188
+ primaryButton: /* @__PURE__ */ jsx(Button, { style: primaryButtonStyles(appearance), onClick: state.primaryActionOnClick, children: "Understood" })
189
+ }
190
+ );
191
+ default:
192
+ return null;
193
+ }
194
+ }
195
+ var primaryButtonStyles = (appearance) => {
196
+ var _a, _b, _c, _d, _e, _f, _g;
197
+ return {
198
+ padding: "0.875rem",
199
+ width: "100%",
200
+ backgroundColor: (_b = (_a = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _a.buttonBackground) != null ? _b : "#04AA6D",
201
+ color: (_d = (_c = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _c.textPrimary) != null ? _d : "white",
202
+ borderRadius: (_e = appearance == null ? void 0 : appearance.borderRadius) != null ? _e : "8px",
203
+ borderColor: (_g = (_f = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _f.border) != null ? _g : "#04AA6D",
204
+ borderWidth: "1px",
205
+ fontWeight: "bold"
206
+ };
207
+ };
208
+
209
+ export {
210
+ PasskeyPrompt
211
+ };
212
+ //# sourceMappingURL=chunk-XEZF7G64.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/auth/PasskeyPrompt.tsx"],"sourcesContent":["import { Button, Dialog, Transition } from \"@headlessui/react\";\nimport { type CSSProperties, Fragment, type ReactNode } from \"react\";\nimport type { UIConfig } from \"@crossmint/common-sdk-base\";\n\nimport FingerprintIcon from \"../../icons/fingerprint\";\nimport PasskeyIcon from \"../../icons/passkey\";\nimport PasskeyPromptLogo from \"../../icons/passkeyPromptLogo\";\nimport { PoweredByCrossmint } from \"../common/PoweredByCrossmint\";\nimport { classNames } from \"@/utils/classNames\";\n\ntype PasskeyPromptCoreProps = {\n title: string;\n content: ReactNode;\n primaryButton: ReactNode;\n secondaryAction?: ReactNode;\n appearance?: UIConfig;\n};\nfunction PasskeyPromptCore({ title, content, primaryButton, secondaryAction, appearance }: PasskeyPromptCoreProps) {\n return (\n <Dialog\n open\n onClose={() => {}}\n className={classNames(\"fixed inset-0 z-20 flex items-center justify-center overflow-y-auto\")}\n >\n {/* This is a hacky workaround to have the foreground transparent styles to work. */}\n <Transition.Child\n as={Fragment}\n enter=\"ease-out duration-400\"\n enterFrom=\"opacity-0\"\n enterTo=\"opacity-100\"\n leave=\"ease-in duration-400\"\n leaveFrom=\"opacity-100\"\n leaveTo=\"opacity-0\"\n >\n <div\n className={classNames(\n \"fixed inset-0 bg-[rgba(139,151,151,0.2)] backdrop-blur-[2px] transition-opacity duration-300 ease-in-out -z-10\"\n )}\n />\n </Transition.Child>\n <div\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n width: \"100%\",\n maxWidth: \"28rem\",\n borderRadius: \"1rem\",\n boxShadow: \"0 1px 2px 0 rgba(0, 0, 0, 0.05)\",\n zIndex: 30,\n border: \"1px solid\",\n backgroundColor: appearance?.colors?.background || \"white\",\n borderColor: appearance?.colors?.border || \"#D0D5DD\",\n }}\n onClick={(e) => e.stopPropagation()}\n >\n <div className=\"pt-12 pb-10 px-8\">\n <div className=\"flex justify-center left-1.5 relative\">\n <PasskeyPromptLogo appearance={appearance} />\n </div>\n <div className=\"flex justify-center\">\n <p\n style={{\n fontSize: \"1.125rem\",\n lineHeight: \"1.75rem\",\n fontWeight: \"bold\",\n color: appearance?.colors?.textPrimary || \"#20343E\",\n }}\n >\n {title}\n </p>\n </div>\n <div className=\"mt-4 mb-9\">\n <div\n style={{\n fontWeight: \"normal\",\n color: appearance?.colors?.textSecondary || \"#67797F\",\n }}\n >\n {content}\n </div>\n </div>\n <div className=\"flex flex-col gap-4 justify-center\">\n {primaryButton}\n {secondaryAction}\n </div>\n <div className=\"flex justify-center pt-4\">\n <PoweredByCrossmint color={appearance?.colors?.textSecondary} />\n </div>\n </div>\n </div>\n </Dialog>\n );\n}\n\ntype PromptType = \"create-wallet\" | \"transaction\" | \"not-supported\" | \"create-wallet-error\" | \"transaction-error\";\n\ntype PasskeyPromptProps = {\n state: {\n type: PromptType;\n primaryActionOnClick: () => void;\n secondaryActionOnClick?: () => void;\n };\n appearance?: UIConfig;\n};\nexport function PasskeyPrompt({ state, appearance }: PasskeyPromptProps) {\n // These components are currently assembled based on the mockups.\n switch (state.type) {\n case \"create-wallet\":\n return (\n <PasskeyPromptCore\n title=\"Create Your Wallet\"\n appearance={appearance}\n content={\n <>\n <div className=\"mb-4\">You're about to create a wallet.</div>\n <div className=\"flex flex-col gap-2\">\n <div className=\"flex gap-2\">\n <div>\n <PasskeyIcon />\n </div>\n Your wallet will be secured with a passkey\n </div>\n\n <div className=\"flex gap-2\">\n <div>\n <FingerprintIcon />\n </div>\n Your device will ask you for your fingerprint, face, or screen lock to set it up\n </div>\n </div>\n </>\n }\n primaryButton={\n <Button style={primaryButtonStyles(appearance)} onClick={state.primaryActionOnClick}>\n Create Wallet\n </Button>\n }\n />\n );\n\n case \"create-wallet-error\":\n return (\n <PasskeyPromptCore\n title=\"Wallet Creation Failed\"\n appearance={appearance}\n content={\n <div className=\"mb-6\">\n We couldn't create your wallet. This could be due to rejecting the request, a timeout, or\n not having access to your passkey on this device.\n </div>\n }\n primaryButton={\n <Button style={primaryButtonStyles(appearance)} onClick={state.primaryActionOnClick}>\n Try again\n </Button>\n }\n />\n );\n\n case \"transaction\":\n return (\n <PasskeyPromptCore\n title=\"First Time Using Your Wallet\"\n appearance={appearance}\n content={\n <div className=\"flex flex-col gap-2\">\n <div className=\"flex gap-2\">\n <div>\n <FingerprintIcon />\n </div>\n <span>\n Your device will ask you for your fingerprint, face, or screen lock to authorize\n this action.\n </span>\n </div>\n </div>\n }\n primaryButton={\n <Button style={primaryButtonStyles(appearance)} onClick={state.primaryActionOnClick}>\n Use Wallet\n </Button>\n }\n />\n );\n\n case \"transaction-error\":\n return (\n <PasskeyPromptCore\n title=\"Wallet Access Failed\"\n appearance={appearance}\n content={\n <div className=\"mb-6\">\n We couldn't access your wallet. This could be due to rejecting the request, a timeout, or\n not having access to your passkey on this device.\n </div>\n }\n primaryButton={\n <Button style={primaryButtonStyles(appearance)} onClick={state.primaryActionOnClick}>\n Try again\n </Button>\n }\n secondaryAction={\n <a\n href=\"https://docs.crossmint.com/wallets/smart-wallets/users/troubleshoot\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n style={{\n padding: \"0.875rem\",\n width: \"100%\",\n textAlign: \"center\",\n textDecoration: \"none\",\n borderRadius: \"0.5rem\",\n fontWeight: \"bold\",\n backgroundColor: appearance?.colors?.inputBackground || \"#F0F2F4\",\n color: appearance?.colors?.textSecondary || \"#00150D\",\n }}\n >\n Troubleshoot\n </a>\n }\n />\n );\n\n case \"not-supported\":\n return (\n <PasskeyPromptCore\n title=\"Passkeys Not Supported on This Device\"\n appearance={appearance}\n content={\n <div className=\"mb-6\">\n To access your wallet with a passkey, switch to a device or browser that supports passkeys,\n such as Chrome or Safari on a smartphone, tablet, or modern computer\n </div>\n }\n primaryButton={\n <Button style={primaryButtonStyles(appearance)} onClick={state.primaryActionOnClick}>\n Understood\n </Button>\n }\n />\n );\n\n default:\n return null;\n }\n}\n\nconst primaryButtonStyles = (appearance?: UIConfig): CSSProperties => ({\n padding: \"0.875rem\",\n width: \"100%\",\n backgroundColor: appearance?.colors?.buttonBackground ?? \"#04AA6D\",\n color: appearance?.colors?.textPrimary ?? \"white\",\n borderRadius: appearance?.borderRadius ?? \"8px\",\n borderColor: appearance?.colors?.border ?? \"#04AA6D\",\n borderWidth: \"1px\",\n fontWeight: \"bold\",\n});\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAS,QAAQ,QAAQ,kBAAkB;AAC3C,SAA6B,gBAAgC;AAiC7C,SAgFQ,YAAAA,WAhFR,KAgDI,YAhDJ;AAjBhB,SAAS,kBAAkB,EAAE,OAAO,SAAS,eAAe,iBAAiB,WAAW,GAA2B;AAjBnH;AAkBI,SACI;AAAA,IAAC;AAAA;AAAA,MACG,MAAI;AAAA,MACJ,SAAS,MAAM;AAAA,MAAC;AAAA,MAChB,WAAW,WAAW,qEAAqE;AAAA,MAG3F;AAAA;AAAA,UAAC,WAAW;AAAA,UAAX;AAAA,YACG,IAAI;AAAA,YACJ,OAAM;AAAA,YACN,WAAU;AAAA,YACV,SAAQ;AAAA,YACR,OAAM;AAAA,YACN,WAAU;AAAA,YACV,SAAQ;AAAA,YAER;AAAA,cAAC;AAAA;AAAA,gBACG,WAAW;AAAA,kBACP;AAAA,gBACJ;AAAA;AAAA,YACJ;AAAA;AAAA,QACJ;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACG,OAAO;AAAA,cACH,SAAS;AAAA,cACT,eAAe;AAAA,cACf,YAAY;AAAA,cACZ,OAAO;AAAA,cACP,UAAU;AAAA,cACV,cAAc;AAAA,cACd,WAAW;AAAA,cACX,QAAQ;AAAA,cACR,QAAQ;AAAA,cACR,mBAAiB,8CAAY,WAAZ,mBAAoB,eAAc;AAAA,cACnD,eAAa,8CAAY,WAAZ,mBAAoB,WAAU;AAAA,YAC/C;AAAA,YACA,SAAS,CAAC,MAAM,EAAE,gBAAgB;AAAA,YAElC,+BAAC,SAAI,WAAU,oBACX;AAAA,kCAAC,SAAI,WAAU,yCACX,8BAAC,qBAAkB,YAAwB,GAC/C;AAAA,cACA,oBAAC,SAAI,WAAU,uBACX;AAAA,gBAAC;AAAA;AAAA,kBACG,OAAO;AAAA,oBACH,UAAU;AAAA,oBACV,YAAY;AAAA,oBACZ,YAAY;AAAA,oBACZ,SAAO,8CAAY,WAAZ,mBAAoB,gBAAe;AAAA,kBAC9C;AAAA,kBAEC;AAAA;AAAA,cACL,GACJ;AAAA,cACA,oBAAC,SAAI,WAAU,aACX;AAAA,gBAAC;AAAA;AAAA,kBACG,OAAO;AAAA,oBACH,YAAY;AAAA,oBACZ,SAAO,8CAAY,WAAZ,mBAAoB,kBAAiB;AAAA,kBAChD;AAAA,kBAEC;AAAA;AAAA,cACL,GACJ;AAAA,cACA,qBAAC,SAAI,WAAU,sCACV;AAAA;AAAA,gBACA;AAAA,iBACL;AAAA,cACA,oBAAC,SAAI,WAAU,4BACX,8BAAC,sBAAmB,QAAO,8CAAY,WAAZ,mBAAoB,eAAe,GAClE;AAAA,eACJ;AAAA;AAAA,QACJ;AAAA;AAAA;AAAA,EACJ;AAER;AAYO,SAAS,cAAc,EAAE,OAAO,WAAW,GAAuB;AAzGzE;AA2GI,UAAQ,MAAM,MAAM;AAAA,IAChB,KAAK;AACD,aACI;AAAA,QAAC;AAAA;AAAA,UACG,OAAM;AAAA,UACN;AAAA,UACA,SACI,qBAAAA,WAAA,EACI;AAAA,gCAAC,SAAI,WAAU,QAAO,8CAAgC;AAAA,YACtD,qBAAC,SAAI,WAAU,uBACX;AAAA,mCAAC,SAAI,WAAU,cACX;AAAA,oCAAC,SACG,8BAAC,eAAY,GACjB;AAAA,gBAAM;AAAA,iBAEV;AAAA,cAEA,qBAAC,SAAI,WAAU,cACX;AAAA,oCAAC,SACG,8BAAC,mBAAgB,GACrB;AAAA,gBAAM;AAAA,iBAEV;AAAA,eACJ;AAAA,aACJ;AAAA,UAEJ,eACI,oBAAC,UAAO,OAAO,oBAAoB,UAAU,GAAG,SAAS,MAAM,sBAAsB,2BAErF;AAAA;AAAA,MAER;AAAA,IAGR,KAAK;AACD,aACI;AAAA,QAAC;AAAA;AAAA,UACG,OAAM;AAAA,UACN;AAAA,UACA,SACI,oBAAC,SAAI,WAAU,QAAO,yJAGtB;AAAA,UAEJ,eACI,oBAAC,UAAO,OAAO,oBAAoB,UAAU,GAAG,SAAS,MAAM,sBAAsB,uBAErF;AAAA;AAAA,MAER;AAAA,IAGR,KAAK;AACD,aACI;AAAA,QAAC;AAAA;AAAA,UACG,OAAM;AAAA,UACN;AAAA,UACA,SACI,oBAAC,SAAI,WAAU,uBACX,+BAAC,SAAI,WAAU,cACX;AAAA,gCAAC,SACG,8BAAC,mBAAgB,GACrB;AAAA,YACA,oBAAC,UAAK,2GAGN;AAAA,aACJ,GACJ;AAAA,UAEJ,eACI,oBAAC,UAAO,OAAO,oBAAoB,UAAU,GAAG,SAAS,MAAM,sBAAsB,wBAErF;AAAA;AAAA,MAER;AAAA,IAGR,KAAK;AACD,aACI;AAAA,QAAC;AAAA;AAAA,UACG,OAAM;AAAA,UACN;AAAA,UACA,SACI,oBAAC,SAAI,WAAU,QAAO,yJAGtB;AAAA,UAEJ,eACI,oBAAC,UAAO,OAAO,oBAAoB,UAAU,GAAG,SAAS,MAAM,sBAAsB,uBAErF;AAAA,UAEJ,iBACI;AAAA,YAAC;AAAA;AAAA,cACG,MAAK;AAAA,cACL,KAAI;AAAA,cACJ,QAAO;AAAA,cACP,OAAO;AAAA,gBACH,SAAS;AAAA,gBACT,OAAO;AAAA,gBACP,WAAW;AAAA,gBACX,gBAAgB;AAAA,gBAChB,cAAc;AAAA,gBACd,YAAY;AAAA,gBACZ,mBAAiB,8CAAY,WAAZ,mBAAoB,oBAAmB;AAAA,gBACxD,SAAO,8CAAY,WAAZ,mBAAoB,kBAAiB;AAAA,cAChD;AAAA,cACH;AAAA;AAAA,UAED;AAAA;AAAA,MAER;AAAA,IAGR,KAAK;AACD,aACI;AAAA,QAAC;AAAA;AAAA,UACG,OAAM;AAAA,UACN;AAAA,UACA,SACI,oBAAC,SAAI,WAAU,QAAO,8KAGtB;AAAA,UAEJ,eACI,oBAAC,UAAO,OAAO,oBAAoB,UAAU,GAAG,SAAS,MAAM,sBAAsB,wBAErF;AAAA;AAAA,MAER;AAAA,IAGR;AACI,aAAO;AAAA,EACf;AACJ;AAEA,IAAM,sBAAsB,CAAC,eAAsC;AAxPnE;AAwPuE;AAAA,IACnE,SAAS;AAAA,IACT,OAAO;AAAA,IACP,kBAAiB,oDAAY,WAAZ,mBAAoB,qBAApB,YAAwC;AAAA,IACzD,QAAO,oDAAY,WAAZ,mBAAoB,gBAApB,YAAmC;AAAA,IAC1C,eAAc,8CAAY,iBAAZ,YAA4B;AAAA,IAC1C,cAAa,oDAAY,WAAZ,mBAAoB,WAApB,YAA8B;AAAA,IAC3C,aAAa;AAAA,IACb,YAAY;AAAA,EAChB;AAAA;","names":["Fragment"]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-XXJ7LQ44.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-XYMYRPVT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ // package.json
2
+ var version = "1.10.0";
3
+
4
+ // src/consts/version.ts
5
+ var LIB_VERSION = version;
6
+
7
+ export {
8
+ LIB_VERSION
9
+ };
10
+ //# sourceMappingURL=chunk-YB66RCZP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../package.json","../src/consts/version.ts"],"sourcesContent":["{\n \"name\": \"@crossmint/client-sdk-react-ui\",\n \"version\": \"1.10.0\",\n \"repository\": \"https://github.com/Crossmint/crossmint-sdk\",\n \"license\": \"Apache-2.0\",\n \"author\": \"Paella Labs Inc\",\n \"sideEffects\": false,\n \"type\": \"module\",\n \"exports\": {\n \"import\": \"./dist/index.js\",\n \"require\": \"./dist/index.cjs\"\n },\n \"main\": \"./dist/index.cjs\",\n \"module\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"files\": [\"dist\", \"src\", \"LICENSE\"],\n \"scripts\": {\n \"build\": \"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup\",\n \"dev\": \"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup --watch\",\n \"test:vitest\": \"vitest run\"\n },\n \"dependencies\": {\n \"@crossmint/client-sdk-auth\": \"workspace:*\",\n \"@crossmint/client-sdk-base\": \"workspace:*\",\n \"@crossmint/client-sdk-smart-wallet\": \"workspace:*\",\n \"@crossmint/client-sdk-window\": \"workspace:*\",\n \"@crossmint/common-sdk-auth\": \"workspace:*\",\n \"@crossmint/common-sdk-base\": \"workspace:*\",\n \"@dynamic-labs/ethereum\": \"3.4.4\",\n \"@dynamic-labs/ethereum-core\": \"3.4.4\",\n \"@dynamic-labs/sdk-react-core\": \"3.4.4\",\n \"@dynamic-labs/solana\": \"3.4.4\",\n \"@dynamic-labs/solana-core\": \"3.4.4\",\n \"@ethersproject/transactions\": \"5.7.0\",\n \"@farcaster/auth-kit\": \"0.6.0\",\n \"@headlessui/react\": \"2.1.5\",\n \"@radix-ui/react-dialog\": \"1.1.2\",\n \"@radix-ui/react-visually-hidden\": \"1.1.0\",\n \"@solana/web3.js\": \"1.95.1\",\n \"@tanstack/react-query\": \"5.51.18\",\n \"@twind/core\": \"1.1.3\",\n \"@twind/preset-tailwind\": \"1.1.4\",\n \"@wagmi/connectors\": \"5.3.3\",\n \"bs58\": \"5.0.0\",\n \"clsx\": \"2.1.1\",\n \"color\": \"4.2.3\",\n \"input-otp\": \"1.2.4\",\n \"lodash.isequal\": \"4.5.0\",\n \"react-jss\": \"10.10.0\",\n \"tailwind-merge\": \"2.4.0\",\n \"tailwindcss\": \"3.4.10\",\n \"viem\": \"2.17.5\",\n \"wagmi\": \"2.12.25\",\n \"zod\": \"3.22.4\"\n },\n \"devDependencies\": {\n \"@testing-library/react\": \"^16.0.1\",\n \"@types/color\": \"4.2.0\",\n \"@types/lodash.isequal\": \"4.5.6\",\n \"@types/react\": \"^18.3.0\",\n \"@types/react-dom\": \"^18.3.0\",\n \"react\": \"^18.3.0\",\n \"react-dom\": \"^18.3.0\"\n },\n \"peerDependencies\": {\n \"react\": \">=17.0.2\",\n \"react-dom\": \">=17.0.2\"\n }\n}\n","import { version } from \"../../package.json\";\n\nexport const LIB_VERSION = version;\n"],"mappings":";AAEI,cAAW;;;ACAR,IAAM,cAAc;","names":[]}
@@ -0,0 +1,34 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/fingerprint.tsx
2
+ var _jsxruntime = require('react/jsx-runtime');
3
+ function FingerprintIcon() {
4
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
5
+ "svg",
6
+ {
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ width: "24",
9
+ height: "24",
10
+ viewBox: "0 0 24 24",
11
+ fill: "none",
12
+ stroke: "currentColor",
13
+ strokeWidth: "2",
14
+ strokeLinecap: "round",
15
+ strokeLinejoin: "round",
16
+ children: [
17
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4" }),
18
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M14 13.12c0 2.38 0 6.38-1 8.88" }),
19
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M17.29 21.02c.12-.6.43-2.3.5-3.02" }),
20
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M2 12a10 10 0 0 1 18-6" }),
21
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M2 16h.01" }),
22
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M21.8 16c.2-2 .131-5.354 0-6" }),
23
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2" }),
24
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M8.65 22c.21-.66.45-1.32.57-2" }),
25
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M9 6.8a6 6 0 0 1 9 5.2v2" })
26
+ ]
27
+ }
28
+ );
29
+ }
30
+
31
+
32
+
33
+ exports.FingerprintIcon = FingerprintIcon;
34
+ //# sourceMappingURL=chunk-YE55IKBP.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/icons/fingerprint.tsx"],"names":[],"mappings":";AAEQ,SAWI,KAXJ;AAFO,SAAR,kBAAmC;AACtC,SACI;AAAA,IAAC;AAAA;AAAA,MACG,OAAM;AAAA,MACN,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,eAAc;AAAA,MACd,gBAAe;AAAA,MAEf;AAAA,4BAAC,UAAK,GAAE,6CAA4C;AAAA,QACpD,oBAAC,UAAK,GAAE,kCAAiC;AAAA,QACzC,oBAAC,UAAK,GAAE,qCAAoC;AAAA,QAC5C,oBAAC,UAAK,GAAE,0BAAyB;AAAA,QACjC,oBAAC,UAAK,GAAE,aAAY;AAAA,QACpB,oBAAC,UAAK,GAAE,gCAA+B;AAAA,QACvC,oBAAC,UAAK,GAAE,4CAA2C;AAAA,QACnD,oBAAC,UAAK,GAAE,iCAAgC;AAAA,QACxC,oBAAC,UAAK,GAAE,4BAA2B;AAAA;AAAA;AAAA,EACvC;AAER","sourcesContent":["export default function FingerprintIcon() {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <path d=\"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4\" />\n <path d=\"M14 13.12c0 2.38 0 6.38-1 8.88\" />\n <path d=\"M17.29 21.02c.12-.6.43-2.3.5-3.02\" />\n <path d=\"M2 12a10 10 0 0 1 18-6\" />\n <path d=\"M2 16h.01\" />\n <path d=\"M21.8 16c.2-2 .131-5.354 0-6\" />\n <path d=\"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2\" />\n <path d=\"M8.65 22c.21-.66.45-1.32.57-2\" />\n <path d=\"M9 6.8a6 6 0 0 1 9 5.2v2\" />\n </svg>\n );\n}\n"]}
@@ -0,0 +1,51 @@
1
+ // src/icons/google.tsx
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ function GoogleIcon({ className }) {
4
+ return /* @__PURE__ */ jsxs(
5
+ "svg",
6
+ {
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ x: "0px",
9
+ y: "0px",
10
+ width: "100",
11
+ height: "100",
12
+ viewBox: "0 0 48 48",
13
+ className,
14
+ children: [
15
+ /* @__PURE__ */ jsx(
16
+ "path",
17
+ {
18
+ fill: "#fbc02d",
19
+ d: "M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12 s5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24s8.955,20,20,20 s20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z"
20
+ }
21
+ ),
22
+ /* @__PURE__ */ jsx(
23
+ "path",
24
+ {
25
+ fill: "#e53935",
26
+ d: "M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039 l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z"
27
+ }
28
+ ),
29
+ /* @__PURE__ */ jsx(
30
+ "path",
31
+ {
32
+ fill: "#4caf50",
33
+ d: "M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36 c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z"
34
+ }
35
+ ),
36
+ /* @__PURE__ */ jsx(
37
+ "path",
38
+ {
39
+ fill: "#1565c0",
40
+ d: "M43.611,20.083L43.595,20L42,20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571 c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z"
41
+ }
42
+ )
43
+ ]
44
+ }
45
+ );
46
+ }
47
+
48
+ export {
49
+ GoogleIcon
50
+ };
51
+ //# sourceMappingURL=chunk-YWVQCHQF.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/icons/google.tsx"],"sourcesContent":["export function GoogleIcon({ className }: { className?: string }) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n x=\"0px\"\n y=\"0px\"\n width=\"100\"\n height=\"100\"\n viewBox=\"0 0 48 48\"\n className={className}\n >\n <path\n fill=\"#fbc02d\"\n d=\"M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12\ts5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24s8.955,20,20,20\ts20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z\"\n ></path>\n <path\n fill=\"#e53935\"\n d=\"M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039\tl5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z\"\n ></path>\n <path\n fill=\"#4caf50\"\n d=\"M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36\tc-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z\"\n ></path>\n <path\n fill=\"#1565c0\"\n d=\"M43.611,20.083L43.595,20L42,20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571\tc0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z\"\n ></path>\n </svg>\n );\n}\n"],"mappings":";AAEQ,SASI,KATJ;AAFD,SAAS,WAAW,EAAE,UAAU,GAA2B;AAC9D,SACI;AAAA,IAAC;AAAA;AAAA,MACG,OAAM;AAAA,MACN,GAAE;AAAA,MACF,GAAE;AAAA,MACF,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR;AAAA,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YACG,MAAK;AAAA,YACL,GAAE;AAAA;AAAA,QACL;AAAA,QACD;AAAA,UAAC;AAAA;AAAA,YACG,MAAK;AAAA,YACL,GAAE;AAAA;AAAA,QACL;AAAA,QACD;AAAA,UAAC;AAAA;AAAA,YACG,MAAK;AAAA,YACL,GAAE;AAAA;AAAA,QACL;AAAA,QACD;AAAA,UAAC;AAAA;AAAA,YACG,MAAK;AAAA,YACL,GAAE;AAAA;AAAA,QACL;AAAA;AAAA;AAAA,EACL;AAER;","names":[]}