@nowramp/form 0.1.30

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 (646) hide show
  1. package/dist/crypto-icons/aave.svg +1 -0
  2. package/dist/crypto-icons/aca.svg +4 -0
  3. package/dist/crypto-icons/ada.svg +1 -0
  4. package/dist/crypto-icons/aleo.svg +4 -0
  5. package/dist/crypto-icons/algo.svg +1 -0
  6. package/dist/crypto-icons/alph.svg +4 -0
  7. package/dist/crypto-icons/ape.svg +1 -0
  8. package/dist/crypto-icons/apt.svg +4 -0
  9. package/dist/crypto-icons/arb.svg +4 -0
  10. package/dist/crypto-icons/astr.svg +4 -0
  11. package/dist/crypto-icons/atom.svg +1 -0
  12. package/dist/crypto-icons/audd.svg +4 -0
  13. package/dist/crypto-icons/avax.svg +1 -0
  14. package/dist/crypto-icons/avt.svg +4 -0
  15. package/dist/crypto-icons/axs.svg +4 -0
  16. package/dist/crypto-icons/azero.svg +4 -0
  17. package/dist/crypto-icons/baju.svg +4 -0
  18. package/dist/crypto-icons/barsik.svg +4 -0
  19. package/dist/crypto-icons/base.svg +4 -0
  20. package/dist/crypto-icons/bat.svg +1 -0
  21. package/dist/crypto-icons/bch.svg +1 -0
  22. package/dist/crypto-icons/bnb.svg +1 -0
  23. package/dist/crypto-icons/bnc.svg +4 -0
  24. package/dist/crypto-icons/boba.svg +4 -0
  25. package/dist/crypto-icons/bora.svg +4 -0
  26. package/dist/crypto-icons/brett.svg +4 -0
  27. package/dist/crypto-icons/bsc.svg +4 -0
  28. package/dist/crypto-icons/bsx.svg +4 -0
  29. package/dist/crypto-icons/btc.svg +1 -0
  30. package/dist/crypto-icons/bzr.svg +4 -0
  31. package/dist/crypto-icons/c98.svg +4 -0
  32. package/dist/crypto-icons/caga.svg +4 -0
  33. package/dist/crypto-icons/cake.svg +4 -0
  34. package/dist/crypto-icons/caps.svg +4 -0
  35. package/dist/crypto-icons/ccd.svg +4 -0
  36. package/dist/crypto-icons/celo.svg +4 -0
  37. package/dist/crypto-icons/chz.svg +1 -0
  38. package/dist/crypto-icons/comp.svg +1 -0
  39. package/dist/crypto-icons/coreum.svg +4 -0
  40. package/dist/crypto-icons/cro.svg +4 -0
  41. package/dist/crypto-icons/cusd.svg +4 -0
  42. package/dist/crypto-icons/cvc.svg +1 -0
  43. package/dist/crypto-icons/dai.svg +1 -0
  44. package/dist/crypto-icons/dingo.svg +4 -0
  45. package/dist/crypto-icons/doge.svg +1 -0
  46. package/dist/crypto-icons/dot.svg +1 -0
  47. package/dist/crypto-icons/eclipse.svg +4 -0
  48. package/dist/crypto-icons/egld.svg +4 -0
  49. package/dist/crypto-icons/ember.svg +4 -0
  50. package/dist/crypto-icons/eos.svg +1 -0
  51. package/dist/crypto-icons/erg.svg +4 -0
  52. package/dist/crypto-icons/etc.svg +1 -0
  53. package/dist/crypto-icons/eth.svg +1 -0
  54. package/dist/crypto-icons/etherlink.svg +4 -0
  55. package/dist/crypto-icons/eur.svg +1 -0
  56. package/dist/crypto-icons/euroc.svg +4 -0
  57. package/dist/crypto-icons/eurq.svg +4 -0
  58. package/dist/crypto-icons/eurr.svg +4 -0
  59. package/dist/crypto-icons/eusd.svg +4 -0
  60. package/dist/crypto-icons/exit.svg +4 -0
  61. package/dist/crypto-icons/fdusd.svg +4 -0
  62. package/dist/crypto-icons/fil.svg +1 -0
  63. package/dist/crypto-icons/flow.svg +4 -0
  64. package/dist/crypto-icons/flr.svg +4 -0
  65. package/dist/crypto-icons/flux.svg +1 -0
  66. package/dist/crypto-icons/ftm.svg +4 -0
  67. package/dist/crypto-icons/fuel.svg +1 -0
  68. package/dist/crypto-icons/gala.svg +4 -0
  69. package/dist/crypto-icons/glmr.svg +4 -0
  70. package/dist/crypto-icons/gmx.svg +4 -0
  71. package/dist/crypto-icons/gnus.svg +4 -0
  72. package/dist/crypto-icons/grt.svg +1 -0
  73. package/dist/crypto-icons/gun.svg +4 -0
  74. package/dist/crypto-icons/hbar.svg +4 -0
  75. package/dist/crypto-icons/hdx.svg +4 -0
  76. package/dist/crypto-icons/hnt.svg +4 -0
  77. package/dist/crypto-icons/htp.svg +4 -0
  78. package/dist/crypto-icons/hvlo.svg +4 -0
  79. package/dist/crypto-icons/icp.svg +1 -0
  80. package/dist/crypto-icons/imx.svg +4 -0
  81. package/dist/crypto-icons/init.svg +4 -0
  82. package/dist/crypto-icons/inj.svg +4 -0
  83. package/dist/crypto-icons/ink.svg +1 -0
  84. package/dist/crypto-icons/intr.svg +4 -0
  85. package/dist/crypto-icons/jam.svg +4 -0
  86. package/dist/crypto-icons/kag.svg +4 -0
  87. package/dist/crypto-icons/kaia.svg +4 -0
  88. package/dist/crypto-icons/kar.svg +4 -0
  89. package/dist/crypto-icons/kau.svg +4 -0
  90. package/dist/crypto-icons/kcs.svg +1 -0
  91. package/dist/crypto-icons/kda.svg +4 -0
  92. package/dist/crypto-icons/kilt.svg +4 -0
  93. package/dist/crypto-icons/kinesis.svg +4 -0
  94. package/dist/crypto-icons/kint.svg +4 -0
  95. package/dist/crypto-icons/klv.svg +4 -0
  96. package/dist/crypto-icons/kmd.svg +1 -0
  97. package/dist/crypto-icons/ksm.svg +1 -0
  98. package/dist/crypto-icons/kub.svg +4 -0
  99. package/dist/crypto-icons/linea.svg +4 -0
  100. package/dist/crypto-icons/link.svg +1 -0
  101. package/dist/crypto-icons/looks.svg +4 -0
  102. package/dist/crypto-icons/lrc.svg +1 -0
  103. package/dist/crypto-icons/lsk.svg +1 -0
  104. package/dist/crypto-icons/ltc.svg +1 -0
  105. package/dist/crypto-icons/mana.svg +1 -0
  106. package/dist/crypto-icons/matic.svg +1 -0
  107. package/dist/crypto-icons/mbx.svg +4 -0
  108. package/dist/crypto-icons/melania.svg +4 -0
  109. package/dist/crypto-icons/metamaskusd.svg +4 -0
  110. package/dist/crypto-icons/metis.svg +4 -0
  111. package/dist/crypto-icons/mezo.svg +4 -0
  112. package/dist/crypto-icons/mezousd.svg +4 -0
  113. package/dist/crypto-icons/mkr.svg +1 -0
  114. package/dist/crypto-icons/mnee.svg +4 -0
  115. package/dist/crypto-icons/mnt.svg +4 -0
  116. package/dist/crypto-icons/mob.svg +4 -0
  117. package/dist/crypto-icons/mon.svg +4 -0
  118. package/dist/crypto-icons/move.svg +4 -0
  119. package/dist/crypto-icons/movr.svg +4 -0
  120. package/dist/crypto-icons/myth.svg +4 -0
  121. package/dist/crypto-icons/near.svg +4 -0
  122. package/dist/crypto-icons/neiro.svg +4 -0
  123. package/dist/crypto-icons/oas.svg +4 -0
  124. package/dist/crypto-icons/omg.svg +1 -0
  125. package/dist/crypto-icons/omusd.svg +4 -0
  126. package/dist/crypto-icons/one.svg +1 -0
  127. package/dist/crypto-icons/op.svg +1 -0
  128. package/dist/crypto-icons/optimism.svg +4 -0
  129. package/dist/crypto-icons/order.svg +4 -0
  130. package/dist/crypto-icons/peaq.svg +4 -0
  131. package/dist/crypto-icons/pen.svg +4 -0
  132. package/dist/crypto-icons/perc.svg +4 -0
  133. package/dist/crypto-icons/pi.svg +4 -0
  134. package/dist/crypto-icons/plmc.svg +4 -0
  135. package/dist/crypto-icons/pol.svg +4 -0
  136. package/dist/crypto-icons/polyx.svg +4 -0
  137. package/dist/crypto-icons/propc.svg +4 -0
  138. package/dist/crypto-icons/pstake.svg +4 -0
  139. package/dist/crypto-icons/pulsechain.svg +4 -0
  140. package/dist/crypto-icons/q.svg +4 -0
  141. package/dist/crypto-icons/qrdo.svg +4 -0
  142. package/dist/crypto-icons/qrl.svg +1 -0
  143. package/dist/crypto-icons/qubic.svg +4 -0
  144. package/dist/crypto-icons/rbx.svg +4 -0
  145. package/dist/crypto-icons/revu.svg +4 -0
  146. package/dist/crypto-icons/rite.svg +4 -0
  147. package/dist/crypto-icons/rlusd.svg +4 -0
  148. package/dist/crypto-icons/rollux.svg +4 -0
  149. package/dist/crypto-icons/ron.svg +4 -0
  150. package/dist/crypto-icons/ronin.svg +4 -0
  151. package/dist/crypto-icons/rune.svg +4 -0
  152. package/dist/crypto-icons/s.svg +4 -0
  153. package/dist/crypto-icons/sand.svg +1 -0
  154. package/dist/crypto-icons/sei.svg +4 -0
  155. package/dist/crypto-icons/snx.svg +1 -0
  156. package/dist/crypto-icons/soil.svg +4 -0
  157. package/dist/crypto-icons/sol.svg +1 -0
  158. package/dist/crypto-icons/solo.svg +4 -0
  159. package/dist/crypto-icons/somi.svg +4 -0
  160. package/dist/crypto-icons/sophon.svg +4 -0
  161. package/dist/crypto-icons/stark.svg +4 -0
  162. package/dist/crypto-icons/strk.svg +4 -0
  163. package/dist/crypto-icons/sui.svg +4 -0
  164. package/dist/crypto-icons/supr.svg +4 -0
  165. package/dist/crypto-icons/supra.svg +4 -0
  166. package/dist/crypto-icons/sushi.svg +1 -0
  167. package/dist/crypto-icons/sys.svg +1 -0
  168. package/dist/crypto-icons/tbtc.svg +4 -0
  169. package/dist/crypto-icons/thorchain.svg +4 -0
  170. package/dist/crypto-icons/ton.svg +4 -0
  171. package/dist/crypto-icons/tron.svg +4 -0
  172. package/dist/crypto-icons/trump.svg +4 -0
  173. package/dist/crypto-icons/trx.svg +1 -0
  174. package/dist/crypto-icons/twt.svg +4 -0
  175. package/dist/crypto-icons/uni.svg +1 -0
  176. package/dist/crypto-icons/unichain.svg +4 -0
  177. package/dist/crypto-icons/uranium.svg +4 -0
  178. package/dist/crypto-icons/usd0.svg +4 -0
  179. package/dist/crypto-icons/usd1.svg +4 -0
  180. package/dist/crypto-icons/usdc.svg +1 -0
  181. package/dist/crypto-icons/usde.svg +4 -0
  182. package/dist/crypto-icons/usdp.svg +4 -0
  183. package/dist/crypto-icons/usdq.svg +4 -0
  184. package/dist/crypto-icons/usdr.svg +4 -0
  185. package/dist/crypto-icons/usdt.svg +1 -0
  186. package/dist/crypto-icons/usdt0.svg +4 -0
  187. package/dist/crypto-icons/verse.svg +4 -0
  188. package/dist/crypto-icons/vfx.svg +4 -0
  189. package/dist/crypto-icons/vic.svg +4 -0
  190. package/dist/crypto-icons/wal.svg +4 -0
  191. package/dist/crypto-icons/waves.svg +1 -0
  192. package/dist/crypto-icons/waxp.svg +4 -0
  193. package/dist/crypto-icons/wbtc.svg +1 -0
  194. package/dist/crypto-icons/weth.svg +4 -0
  195. package/dist/crypto-icons/wld.svg +4 -0
  196. package/dist/crypto-icons/wlfi.svg +4 -0
  197. package/dist/crypto-icons/wolf.svg +4 -0
  198. package/dist/crypto-icons/wombat.svg +4 -0
  199. package/dist/crypto-icons/xch.svg +4 -0
  200. package/dist/crypto-icons/xlm.svg +1 -0
  201. package/dist/crypto-icons/xprt.svg +4 -0
  202. package/dist/crypto-icons/xrp.svg +1 -0
  203. package/dist/crypto-icons/xtz.svg +1 -0
  204. package/dist/crypto-icons/yfi.svg +1 -0
  205. package/dist/crypto-icons/zbu.svg +4 -0
  206. package/dist/crypto-icons/zchf.svg +4 -0
  207. package/dist/crypto-icons/zec.svg +1 -0
  208. package/dist/crypto-icons/zeta.svg +4 -0
  209. package/dist/crypto-icons/zksync.svg +4 -0
  210. package/dist/crypto-icons/ztg.svg +4 -0
  211. package/dist/flags/ac.svg +1 -0
  212. package/dist/flags/ad.svg +1 -0
  213. package/dist/flags/ae.svg +1 -0
  214. package/dist/flags/af-emirate.svg +1 -0
  215. package/dist/flags/af.svg +1 -0
  216. package/dist/flags/ag.svg +1 -0
  217. package/dist/flags/ai.svg +1 -0
  218. package/dist/flags/al.svg +1 -0
  219. package/dist/flags/am.svg +1 -0
  220. package/dist/flags/an.svg +1 -0
  221. package/dist/flags/ao.svg +1 -0
  222. package/dist/flags/aq-true_south.svg +1 -0
  223. package/dist/flags/aq.svg +1 -0
  224. package/dist/flags/ar.svg +1 -0
  225. package/dist/flags/artsakh.svg +1 -0
  226. package/dist/flags/as.svg +1 -0
  227. package/dist/flags/at.svg +1 -0
  228. package/dist/flags/au-aboriginal.svg +1 -0
  229. package/dist/flags/au-act.svg +1 -0
  230. package/dist/flags/au-nsw.svg +1 -0
  231. package/dist/flags/au-nt.svg +1 -0
  232. package/dist/flags/au-qld.svg +1 -0
  233. package/dist/flags/au-sa.svg +1 -0
  234. package/dist/flags/au-tas.svg +1 -0
  235. package/dist/flags/au-torres_strait_islands.svg +1 -0
  236. package/dist/flags/au-vic.svg +1 -0
  237. package/dist/flags/au-wa.svg +1 -0
  238. package/dist/flags/au.svg +1 -0
  239. package/dist/flags/aw.svg +1 -0
  240. package/dist/flags/ax.svg +1 -0
  241. package/dist/flags/az.svg +1 -0
  242. package/dist/flags/ba.svg +1 -0
  243. package/dist/flags/bb.svg +1 -0
  244. package/dist/flags/bd.svg +1 -0
  245. package/dist/flags/be.svg +1 -0
  246. package/dist/flags/bf.svg +1 -0
  247. package/dist/flags/bg.svg +1 -0
  248. package/dist/flags/bh.svg +1 -0
  249. package/dist/flags/bi.svg +1 -0
  250. package/dist/flags/bj.svg +1 -0
  251. package/dist/flags/bl.svg +1 -0
  252. package/dist/flags/bm.svg +1 -0
  253. package/dist/flags/bn.svg +1 -0
  254. package/dist/flags/bo.svg +1 -0
  255. package/dist/flags/bq-bo.svg +1 -0
  256. package/dist/flags/bq-sa.svg +1 -0
  257. package/dist/flags/bq-se.svg +1 -0
  258. package/dist/flags/bq.svg +1 -0
  259. package/dist/flags/br.svg +1 -0
  260. package/dist/flags/bs.svg +1 -0
  261. package/dist/flags/bt.svg +1 -0
  262. package/dist/flags/bv.svg +1 -0
  263. package/dist/flags/bw.svg +1 -0
  264. package/dist/flags/by-historical.svg +1 -0
  265. package/dist/flags/by.svg +1 -0
  266. package/dist/flags/bz.svg +1 -0
  267. package/dist/flags/ca-bc.svg +1 -0
  268. package/dist/flags/ca-qc.svg +1 -0
  269. package/dist/flags/ca.svg +1 -0
  270. package/dist/flags/cc.svg +1 -0
  271. package/dist/flags/cd.svg +1 -0
  272. package/dist/flags/cf.svg +1 -0
  273. package/dist/flags/cg.svg +1 -0
  274. package/dist/flags/ch-gr.svg +1 -0
  275. package/dist/flags/ch.svg +1 -0
  276. package/dist/flags/ci.svg +1 -0
  277. package/dist/flags/ck.svg +1 -0
  278. package/dist/flags/cl.svg +1 -0
  279. package/dist/flags/cm.svg +1 -0
  280. package/dist/flags/cn-hk.svg +1 -0
  281. package/dist/flags/cn-xj.svg +1 -0
  282. package/dist/flags/cn-xz.svg +1 -0
  283. package/dist/flags/cn.svg +1 -0
  284. package/dist/flags/co.svg +1 -0
  285. package/dist/flags/cp.svg +1 -0
  286. package/dist/flags/cq.svg +1 -0
  287. package/dist/flags/cr.svg +1 -0
  288. package/dist/flags/cu.svg +1 -0
  289. package/dist/flags/cv.svg +1 -0
  290. package/dist/flags/cw.svg +1 -0
  291. package/dist/flags/cx.svg +1 -0
  292. package/dist/flags/cy.svg +1 -0
  293. package/dist/flags/cz.svg +1 -0
  294. package/dist/flags/de.svg +1 -0
  295. package/dist/flags/dg.svg +1 -0
  296. package/dist/flags/dj.svg +1 -0
  297. package/dist/flags/dk.svg +1 -0
  298. package/dist/flags/dm.svg +1 -0
  299. package/dist/flags/do.svg +1 -0
  300. package/dist/flags/dz.svg +1 -0
  301. package/dist/flags/ea.svg +1 -0
  302. package/dist/flags/east_african_federation.svg +1 -0
  303. package/dist/flags/easter_island.svg +1 -0
  304. package/dist/flags/ec-w.svg +1 -0
  305. package/dist/flags/ec.svg +1 -0
  306. package/dist/flags/ee.svg +1 -0
  307. package/dist/flags/eg.svg +1 -0
  308. package/dist/flags/eh.svg +1 -0
  309. package/dist/flags/er.svg +1 -0
  310. package/dist/flags/es-ar.svg +1 -0
  311. package/dist/flags/es-ce.svg +1 -0
  312. package/dist/flags/es-cn.svg +1 -0
  313. package/dist/flags/es-ct.svg +1 -0
  314. package/dist/flags/es-ga.svg +1 -0
  315. package/dist/flags/es-ib.svg +1 -0
  316. package/dist/flags/es-ml.svg +1 -0
  317. package/dist/flags/es-pv.svg +1 -0
  318. package/dist/flags/es-variant.svg +1 -0
  319. package/dist/flags/es.svg +1 -0
  320. package/dist/flags/et-af.svg +1 -0
  321. package/dist/flags/et-am.svg +1 -0
  322. package/dist/flags/et-be.svg +1 -0
  323. package/dist/flags/et-ga.svg +1 -0
  324. package/dist/flags/et-ha.svg +1 -0
  325. package/dist/flags/et-or.svg +1 -0
  326. package/dist/flags/et-si.svg +1 -0
  327. package/dist/flags/et-sn.svg +1 -0
  328. package/dist/flags/et-so.svg +1 -0
  329. package/dist/flags/et-sw.svg +1 -0
  330. package/dist/flags/et-ti.svg +1 -0
  331. package/dist/flags/et.svg +1 -0
  332. package/dist/flags/eu.svg +1 -0
  333. package/dist/flags/european_union.svg +1 -0
  334. package/dist/flags/ewe.svg +1 -0
  335. package/dist/flags/fi.svg +1 -0
  336. package/dist/flags/fj.svg +1 -0
  337. package/dist/flags/fk.svg +1 -0
  338. package/dist/flags/fm.svg +1 -0
  339. package/dist/flags/fo.svg +1 -0
  340. package/dist/flags/fr-20r.svg +1 -0
  341. package/dist/flags/fr-bre.svg +1 -0
  342. package/dist/flags/fr-cp.svg +1 -0
  343. package/dist/flags/fr.svg +1 -0
  344. package/dist/flags/fx.svg +1 -0
  345. package/dist/flags/ga.svg +1 -0
  346. package/dist/flags/gb-con.svg +1 -0
  347. package/dist/flags/gb-eng.svg +1 -0
  348. package/dist/flags/gb-nir.svg +1 -0
  349. package/dist/flags/gb-ork.svg +1 -0
  350. package/dist/flags/gb-sct.svg +1 -0
  351. package/dist/flags/gb-wls.svg +1 -0
  352. package/dist/flags/gb.svg +1 -0
  353. package/dist/flags/gd.svg +1 -0
  354. package/dist/flags/ge-ab.svg +1 -0
  355. package/dist/flags/ge.svg +1 -0
  356. package/dist/flags/gf.svg +1 -0
  357. package/dist/flags/gg.svg +1 -0
  358. package/dist/flags/gh.svg +1 -0
  359. package/dist/flags/gi.svg +1 -0
  360. package/dist/flags/gl.svg +1 -0
  361. package/dist/flags/gm.svg +1 -0
  362. package/dist/flags/gn.svg +1 -0
  363. package/dist/flags/gp.svg +1 -0
  364. package/dist/flags/gq.svg +1 -0
  365. package/dist/flags/gr.svg +1 -0
  366. package/dist/flags/gs.svg +1 -0
  367. package/dist/flags/gt.svg +1 -0
  368. package/dist/flags/gu.svg +1 -0
  369. package/dist/flags/guarani.svg +1 -0
  370. package/dist/flags/gw.svg +1 -0
  371. package/dist/flags/gy.svg +1 -0
  372. package/dist/flags/hausa.svg +1 -0
  373. package/dist/flags/hk.svg +1 -0
  374. package/dist/flags/hm.svg +1 -0
  375. package/dist/flags/hmong.svg +1 -0
  376. package/dist/flags/hn.svg +1 -0
  377. package/dist/flags/hr.svg +1 -0
  378. package/dist/flags/ht.svg +1 -0
  379. package/dist/flags/hu.svg +1 -0
  380. package/dist/flags/ic.svg +1 -0
  381. package/dist/flags/id-jb.svg +1 -0
  382. package/dist/flags/id-jt.svg +1 -0
  383. package/dist/flags/id.svg +1 -0
  384. package/dist/flags/ie.svg +1 -0
  385. package/dist/flags/il.svg +1 -0
  386. package/dist/flags/im.svg +1 -0
  387. package/dist/flags/in-as.svg +1 -0
  388. package/dist/flags/in-gj.svg +1 -0
  389. package/dist/flags/in-ka.svg +1 -0
  390. package/dist/flags/in-mn.svg +1 -0
  391. package/dist/flags/in-mz.svg +1 -0
  392. package/dist/flags/in-or.svg +1 -0
  393. package/dist/flags/in-tg.svg +1 -0
  394. package/dist/flags/in-tn.svg +1 -0
  395. package/dist/flags/in.svg +1 -0
  396. package/dist/flags/io.svg +1 -0
  397. package/dist/flags/iq-kr.svg +1 -0
  398. package/dist/flags/iq.svg +1 -0
  399. package/dist/flags/ir.svg +1 -0
  400. package/dist/flags/is.svg +1 -0
  401. package/dist/flags/it-21.svg +1 -0
  402. package/dist/flags/it-23.svg +1 -0
  403. package/dist/flags/it-25.svg +1 -0
  404. package/dist/flags/it-32.svg +1 -0
  405. package/dist/flags/it-34.svg +1 -0
  406. package/dist/flags/it-36.svg +1 -0
  407. package/dist/flags/it-42.svg +1 -0
  408. package/dist/flags/it-45.svg +1 -0
  409. package/dist/flags/it-52.svg +1 -0
  410. package/dist/flags/it-55.svg +1 -0
  411. package/dist/flags/it-57.svg +1 -0
  412. package/dist/flags/it-62.svg +1 -0
  413. package/dist/flags/it-65.svg +1 -0
  414. package/dist/flags/it-67.svg +1 -0
  415. package/dist/flags/it-72.svg +1 -0
  416. package/dist/flags/it-75.svg +1 -0
  417. package/dist/flags/it-77.svg +1 -0
  418. package/dist/flags/it-78.svg +1 -0
  419. package/dist/flags/it-82.svg +1 -0
  420. package/dist/flags/it-88.svg +1 -0
  421. package/dist/flags/it.svg +1 -0
  422. package/dist/flags/je.svg +1 -0
  423. package/dist/flags/jm.svg +1 -0
  424. package/dist/flags/jo.svg +1 -0
  425. package/dist/flags/jp.svg +1 -0
  426. package/dist/flags/kanuri.svg +1 -0
  427. package/dist/flags/ke.svg +1 -0
  428. package/dist/flags/kg.svg +1 -0
  429. package/dist/flags/kh.svg +1 -0
  430. package/dist/flags/ki.svg +1 -0
  431. package/dist/flags/kikuyu.svg +1 -0
  432. package/dist/flags/km.svg +1 -0
  433. package/dist/flags/kn.svg +1 -0
  434. package/dist/flags/kongo.svg +1 -0
  435. package/dist/flags/kp.svg +1 -0
  436. package/dist/flags/kr.svg +1 -0
  437. package/dist/flags/kw.svg +1 -0
  438. package/dist/flags/ky.svg +1 -0
  439. package/dist/flags/kz.svg +1 -0
  440. package/dist/flags/la.svg +1 -0
  441. package/dist/flags/lb.svg +1 -0
  442. package/dist/flags/lc.svg +1 -0
  443. package/dist/flags/li.svg +1 -0
  444. package/dist/flags/lk.svg +1 -0
  445. package/dist/flags/lr.svg +1 -0
  446. package/dist/flags/ls.svg +1 -0
  447. package/dist/flags/lt.svg +1 -0
  448. package/dist/flags/lu.svg +1 -0
  449. package/dist/flags/lv.svg +1 -0
  450. package/dist/flags/ly.svg +1 -0
  451. package/dist/flags/ma.svg +1 -0
  452. package/dist/flags/malayali.svg +1 -0
  453. package/dist/flags/maori.svg +1 -0
  454. package/dist/flags/mc.svg +1 -0
  455. package/dist/flags/md.svg +1 -0
  456. package/dist/flags/me.svg +1 -0
  457. package/dist/flags/mf.svg +1 -0
  458. package/dist/flags/mg.svg +1 -0
  459. package/dist/flags/mh.svg +1 -0
  460. package/dist/flags/mk.svg +1 -0
  461. package/dist/flags/ml.svg +1 -0
  462. package/dist/flags/mm.svg +1 -0
  463. package/dist/flags/mn.svg +1 -0
  464. package/dist/flags/mo.svg +1 -0
  465. package/dist/flags/mp.svg +1 -0
  466. package/dist/flags/mq-old.svg +1 -0
  467. package/dist/flags/mq.svg +1 -0
  468. package/dist/flags/mr.svg +1 -0
  469. package/dist/flags/ms.svg +1 -0
  470. package/dist/flags/mt-civil_ensign.svg +1 -0
  471. package/dist/flags/mt.svg +1 -0
  472. package/dist/flags/mu.svg +1 -0
  473. package/dist/flags/mv.svg +1 -0
  474. package/dist/flags/mw.svg +1 -0
  475. package/dist/flags/mx.svg +1 -0
  476. package/dist/flags/my.svg +1 -0
  477. package/dist/flags/mz.svg +1 -0
  478. package/dist/flags/na.svg +1 -0
  479. package/dist/flags/nc.svg +1 -0
  480. package/dist/flags/ne.svg +1 -0
  481. package/dist/flags/nf.svg +1 -0
  482. package/dist/flags/ng.svg +1 -0
  483. package/dist/flags/ni.svg +1 -0
  484. package/dist/flags/nl-fr.svg +1 -0
  485. package/dist/flags/nl.svg +1 -0
  486. package/dist/flags/no.svg +1 -0
  487. package/dist/flags/northern_cyprus.svg +1 -0
  488. package/dist/flags/np.svg +1 -0
  489. package/dist/flags/nr.svg +1 -0
  490. package/dist/flags/nu.svg +1 -0
  491. package/dist/flags/nz.svg +1 -0
  492. package/dist/flags/occitania.svg +1 -0
  493. package/dist/flags/om.svg +1 -0
  494. package/dist/flags/otomi.svg +1 -0
  495. package/dist/flags/pa.svg +1 -0
  496. package/dist/flags/pe.svg +1 -0
  497. package/dist/flags/pf.svg +1 -0
  498. package/dist/flags/pg.svg +1 -0
  499. package/dist/flags/ph.svg +1 -0
  500. package/dist/flags/pk-jk.svg +1 -0
  501. package/dist/flags/pk-sd.svg +1 -0
  502. package/dist/flags/pk.svg +1 -0
  503. package/dist/flags/pl.svg +1 -0
  504. package/dist/flags/pm.svg +1 -0
  505. package/dist/flags/pn.svg +1 -0
  506. package/dist/flags/pr.svg +1 -0
  507. package/dist/flags/ps.svg +1 -0
  508. package/dist/flags/pt-20.svg +1 -0
  509. package/dist/flags/pt-30.svg +1 -0
  510. package/dist/flags/pt.svg +1 -0
  511. package/dist/flags/pw.svg +1 -0
  512. package/dist/flags/py.svg +1 -0
  513. package/dist/flags/qa.svg +1 -0
  514. package/dist/flags/quechua.svg +1 -0
  515. package/dist/flags/re.svg +1 -0
  516. package/dist/flags/ro.svg +1 -0
  517. package/dist/flags/rs.svg +1 -0
  518. package/dist/flags/ru-ba.svg +1 -0
  519. package/dist/flags/ru-ce.svg +1 -0
  520. package/dist/flags/ru-cu.svg +1 -0
  521. package/dist/flags/ru-da.svg +1 -0
  522. package/dist/flags/ru-dpr.svg +1 -0
  523. package/dist/flags/ru-ko.svg +1 -0
  524. package/dist/flags/ru-lpr.svg +1 -0
  525. package/dist/flags/ru-ta.svg +1 -0
  526. package/dist/flags/ru-ud.svg +1 -0
  527. package/dist/flags/ru.svg +1 -0
  528. package/dist/flags/rw.svg +1 -0
  529. package/dist/flags/sa.svg +1 -0
  530. package/dist/flags/sami.svg +1 -0
  531. package/dist/flags/sb.svg +1 -0
  532. package/dist/flags/sc.svg +1 -0
  533. package/dist/flags/sd.svg +1 -0
  534. package/dist/flags/se.svg +1 -0
  535. package/dist/flags/sealand.svg +1 -0
  536. package/dist/flags/sg.svg +1 -0
  537. package/dist/flags/sh-ac.svg +1 -0
  538. package/dist/flags/sh-hl.svg +1 -0
  539. package/dist/flags/sh-ta.svg +1 -0
  540. package/dist/flags/sh.svg +1 -0
  541. package/dist/flags/si.svg +1 -0
  542. package/dist/flags/sj.svg +1 -0
  543. package/dist/flags/sk.svg +1 -0
  544. package/dist/flags/sl.svg +1 -0
  545. package/dist/flags/sm.svg +1 -0
  546. package/dist/flags/sn.svg +1 -0
  547. package/dist/flags/so.svg +1 -0
  548. package/dist/flags/somaliland.svg +1 -0
  549. package/dist/flags/south_ossetia.svg +1 -0
  550. package/dist/flags/soviet_union.svg +1 -0
  551. package/dist/flags/sr.svg +1 -0
  552. package/dist/flags/ss.svg +1 -0
  553. package/dist/flags/st.svg +1 -0
  554. package/dist/flags/su.svg +1 -0
  555. package/dist/flags/sv.svg +1 -0
  556. package/dist/flags/sx.svg +1 -0
  557. package/dist/flags/sy.svg +1 -0
  558. package/dist/flags/sz.svg +1 -0
  559. package/dist/flags/ta.svg +1 -0
  560. package/dist/flags/tc.svg +1 -0
  561. package/dist/flags/td.svg +1 -0
  562. package/dist/flags/tf.svg +1 -0
  563. package/dist/flags/tg.svg +1 -0
  564. package/dist/flags/th.svg +1 -0
  565. package/dist/flags/tj.svg +1 -0
  566. package/dist/flags/tk.svg +1 -0
  567. package/dist/flags/tl.svg +1 -0
  568. package/dist/flags/tm.svg +1 -0
  569. package/dist/flags/tn.svg +1 -0
  570. package/dist/flags/to.svg +1 -0
  571. package/dist/flags/tr.svg +1 -0
  572. package/dist/flags/transnistria.svg +1 -0
  573. package/dist/flags/tt.svg +1 -0
  574. package/dist/flags/tv.svg +1 -0
  575. package/dist/flags/tw.svg +1 -0
  576. package/dist/flags/tz-zanzibar.svg +1 -0
  577. package/dist/flags/tz.svg +1 -0
  578. package/dist/flags/ua-bpr.svg +1 -0
  579. package/dist/flags/ua-kpr.svg +1 -0
  580. package/dist/flags/ua.svg +1 -0
  581. package/dist/flags/ug.svg +1 -0
  582. package/dist/flags/uk.svg +1 -0
  583. package/dist/flags/um.svg +1 -0
  584. package/dist/flags/un.svg +1 -0
  585. package/dist/flags/us-ak.svg +1 -0
  586. package/dist/flags/us-al.svg +1 -0
  587. package/dist/flags/us-ar.svg +1 -0
  588. package/dist/flags/us-as.svg +1 -0
  589. package/dist/flags/us-az.svg +1 -0
  590. package/dist/flags/us-betsy_ross.svg +1 -0
  591. package/dist/flags/us-ca.svg +1 -0
  592. package/dist/flags/us-co.svg +1 -0
  593. package/dist/flags/us-confederate_battle.svg +1 -0
  594. package/dist/flags/us-dc.svg +1 -0
  595. package/dist/flags/us-fl.svg +1 -0
  596. package/dist/flags/us-ga.svg +1 -0
  597. package/dist/flags/us-gu.svg +1 -0
  598. package/dist/flags/us-hi.svg +1 -0
  599. package/dist/flags/us-in.svg +1 -0
  600. package/dist/flags/us-md.svg +1 -0
  601. package/dist/flags/us-mn.svg +1 -0
  602. package/dist/flags/us-mo.svg +1 -0
  603. package/dist/flags/us-mp.svg +1 -0
  604. package/dist/flags/us-ms.svg +1 -0
  605. package/dist/flags/us-nc.svg +1 -0
  606. package/dist/flags/us-nm.svg +1 -0
  607. package/dist/flags/us-or.svg +1 -0
  608. package/dist/flags/us-pr.svg +1 -0
  609. package/dist/flags/us-ri.svg +1 -0
  610. package/dist/flags/us-sc.svg +1 -0
  611. package/dist/flags/us-tn.svg +1 -0
  612. package/dist/flags/us-tx.svg +1 -0
  613. package/dist/flags/us-um.svg +1 -0
  614. package/dist/flags/us-vi.svg +1 -0
  615. package/dist/flags/us-wa.svg +1 -0
  616. package/dist/flags/us-wi.svg +1 -0
  617. package/dist/flags/us-wy.svg +1 -0
  618. package/dist/flags/us.svg +1 -0
  619. package/dist/flags/uy.svg +1 -0
  620. package/dist/flags/uz.svg +1 -0
  621. package/dist/flags/va.svg +1 -0
  622. package/dist/flags/vc.svg +1 -0
  623. package/dist/flags/ve.svg +1 -0
  624. package/dist/flags/vg.svg +1 -0
  625. package/dist/flags/vi.svg +1 -0
  626. package/dist/flags/vn.svg +1 -0
  627. package/dist/flags/vu.svg +1 -0
  628. package/dist/flags/wf.svg +1 -0
  629. package/dist/flags/wiphala.svg +1 -0
  630. package/dist/flags/ws.svg +1 -0
  631. package/dist/flags/xk.svg +1 -0
  632. package/dist/flags/xx.svg +1 -0
  633. package/dist/flags/ye.svg +1 -0
  634. package/dist/flags/yorubaland.svg +1 -0
  635. package/dist/flags/yt.svg +1 -0
  636. package/dist/flags/yu.svg +1 -0
  637. package/dist/flags/za.svg +1 -0
  638. package/dist/flags/zm.svg +1 -0
  639. package/dist/flags/zw.svg +1 -0
  640. package/dist/index.cjs +12 -0
  641. package/dist/index.cjs.map +1 -0
  642. package/dist/index.js +2582 -0
  643. package/dist/index.js.map +1 -0
  644. package/dist/nowramp-form.iife.js +55 -0
  645. package/dist/nowramp-form.iife.js.map +1 -0
  646. package/package.json +67 -0
package/dist/index.js ADDED
@@ -0,0 +1,2582 @@
1
+ (function(){
2
+ if(typeof document==='undefined')return;
3
+ var id='nowramp-form-styles';
4
+ if(document.getElementById(id))return;
5
+ var s=document.createElement('style');
6
+ s.id=id;
7
+ s.textContent=`@layer nowramp-form{.theme-dark{--t-bg: #000000;--t-surface: rgba(255,255,255,.1);--t-surface-hover: rgba(255,255,255,.14);--t-text: #ffffff;--t-text-secondary: rgba(255,255,255,.4);--t-text-tertiary: rgba(255,255,255,.3);--t-text-muted: rgba(255,255,255,.5);--t-border: rgba(255,255,255,.2);--t-border-focus: rgba(255,255,255,.5);--t-pill-bg: rgba(255,255,255,.1);--t-pill-hover: rgba(255,255,255,.15);--t-badge-bg: rgba(255,255,255,.15);--t-divider: rgba(255,255,255,.2);--t-close-bg: rgba(255,255,255,.1);--t-close-hover: rgba(255,255,255,.2);--t-icon-stroke: rgba(255,255,255,.4);--t-icon-close: rgba(255,255,255,.6);--t-accent: #0077FF;--t-cta-bg: var(--t-accent);--t-cta-text: #ffffff;--t-cta-hover: rgba(255,255,255,.9);--t-cta-active: rgba(255,255,255,.8);--t-modal-bg: #000000;--t-chain-border: #000000;--t-skeleton-from: rgba(255,255,255,.06);--t-skeleton-mid: rgba(255,255,255,.12);--t-scrollbar: rgba(255,255,255,.15);--t-card-icon-bg: rgba(255,255,255,.1);--t-card-icon-stroke: rgba(255,255,255,.6);--t-success: #10b981;--t-error: #EF4444}.theme-light{--t-bg: #F2F3F5;--t-surface: rgba(0,0,0,.05);--t-surface-hover: rgba(0,0,0,.08);--t-text: #111111;--t-text-secondary: rgba(0,0,0,.45);--t-text-tertiary: rgba(0,0,0,.3);--t-text-muted: rgba(0,0,0,.5);--t-border: rgba(0,0,0,.12);--t-border-focus: rgba(0,0,0,.3);--t-pill-bg: rgba(0,0,0,.06);--t-pill-hover: rgba(0,0,0,.1);--t-badge-bg: rgba(0,0,0,.08);--t-divider: rgba(0,0,0,.1);--t-close-bg: rgba(0,0,0,.06);--t-close-hover: rgba(0,0,0,.12);--t-icon-stroke: rgba(0,0,0,.35);--t-icon-close: rgba(0,0,0,.5);--t-accent: #0077FF;--t-cta-bg: var(--t-accent);--t-cta-text: #ffffff;--t-cta-hover: #222222;--t-cta-active: #333333;--t-modal-bg: #F2F3F5;--t-chain-border: #F2F3F5;--t-skeleton-from: rgba(0,0,0,.04);--t-skeleton-mid: rgba(0,0,0,.08);--t-scrollbar: rgba(0,0,0,.12);--t-card-icon-bg: rgba(0,0,0,.06);--t-card-icon-stroke: rgba(0,0,0,.5);--t-success: #10b981;--t-error: #EF4444}.custom-scroll::-webkit-scrollbar{width:4px}.custom-scroll::-webkit-scrollbar-track{background:transparent}.custom-scroll::-webkit-scrollbar-thumb{background:var(--t-scrollbar);border-radius:2px}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton{background:linear-gradient(90deg,var(--t-skeleton-from) 25%,var(--t-skeleton-mid) 50%,var(--t-skeleton-from) 75%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:4px}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.tab-fade-in{animation:fadeIn .3s ease-out both}.digit-slot{display:inline-block;overflow:hidden;vertical-align:top}.digit-slot-inner{transition:transform .35s cubic-bezier(.33,1,.68,1)}@keyframes nramp-spin{to{transform:rotate(360deg)}}.nramp-spinner{width:40px;height:40px;border:3px solid var(--t-border);border-top-color:var(--t-accent);border-radius:50%;animation:nramp-spin .8s linear infinite;margin:0 auto}.nramp-spinner-large{width:60px;height:60px;border-width:4px}.nramp-spinner-inline{width:16px;height:16px;border-width:2px;display:inline-block}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-0{left:0}.right-3{right:.75rem}.top-0{top:0}.top-1\\/2{top:50%}.top-\\[3px\\]{top:3px}.z-20{z-index:20}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mb-1\\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-2\\.5{margin-bottom:.625rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mr-0\\.5{margin-right:.125rem}.mr-3{margin-right:.75rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\\[2px\\]{margin-top:2px}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-\\[640px\\]{height:640px}.h-full{height:100%}.min-h-\\[640px\\]{min-height:640px}.w-0{width:0px}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-\\[390px\\]{max-width:390px}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-3\\.5{gap:.875rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-white\\/20{border-color:#fff3}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-12{padding:3rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\\[18px\\]{padding-left:18px;padding-right:18px}.px-\\[2px\\]{padding-left:2px;padding-right:2px}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pb-1{padding-bottom:.25rem}.pb-2\\.5{padding-bottom:.625rem}.pb-5{padding-bottom:1.25rem}.pb-\\[14px\\]{padding-bottom:14px}.pb-\\[18px\\]{padding-bottom:18px}.pt-3{padding-top:.75rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-\\[12px\\]{padding-top:12px}.pt-\\[14px\\]{padding-top:14px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[15px\\]{font-size:15px}.text-\\[16px\\]{font-size:16px}.text-\\[17px\\]{font-size:17px}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[48px\\]{font-size:48px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.lowercase{text-transform:lowercase}.leading-tight{line-height:1.25}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\\:opacity-70:hover{opacity:.7}
8
+ }`;
9
+ document.head.appendChild(s);
10
+ })();
11
+ import { jsx as e, jsxs as o, Fragment as le } from "react/jsx-runtime";
12
+ import Ue, { useState as C, useRef as U, useCallback as $, useEffect as H, useMemo as X, useReducer as St, useContext as wt, createContext as Tt } from "react";
13
+ import { RampApi as ke } from "@nowramp/sdk";
14
+ function Rt(t, a) {
15
+ const [n, l] = C(null), [r, i] = C(!0), [m, d] = C(null), c = U(null);
16
+ (!c.current || c.current !== t) && (c.current = new ke({ apiKey: "", ...t }));
17
+ const u = $(async () => {
18
+ if (!t.projectId) {
19
+ d(new Error("projectId is required")), i(!1);
20
+ return;
21
+ }
22
+ i(!0), d(null);
23
+ try {
24
+ const p = await c.current.getSupported(a);
25
+ l(p);
26
+ } catch (p) {
27
+ d(p instanceof Error ? p : new Error("Failed to fetch config"));
28
+ } finally {
29
+ i(!1);
30
+ }
31
+ }, [t.projectId, a]);
32
+ return H(() => {
33
+ u();
34
+ }, [u]), { config: n, loading: r, error: m, refetch: u };
35
+ }
36
+ function kt(t, a) {
37
+ const [n, l] = C(null), [r, i] = C(!1), [m, d] = C(null), c = U(null), u = U(""), p = `${t.apiUrl}|${t.projectId}`;
38
+ (!c.current || u.current !== p) && (c.current = new ke({ apiKey: "", ...t }), u.current = p);
39
+ const f = U(0);
40
+ H(() => {
41
+ const g = ++f.current;
42
+ if (!a || !t.projectId) {
43
+ l(null), i(!1);
44
+ return;
45
+ }
46
+ i(!0), d(null), c.current.getQuotes(a).then(
47
+ (h) => {
48
+ f.current === g && (l(h), i(!1));
49
+ },
50
+ (h) => {
51
+ f.current === g && (d(h instanceof Error ? h : new Error("Failed to fetch quotes")), l(null), i(!1));
52
+ }
53
+ );
54
+ }, [t.projectId, a == null ? void 0 : a.fiatCurrency, a == null ? void 0 : a.fiatAmount, a == null ? void 0 : a.cryptoAmount, a == null ? void 0 : a.cryptoCurrency, a == null ? void 0 : a.network, a == null ? void 0 : a.paymentMethodId, a == null ? void 0 : a.country, a == null ? void 0 : a.orderType]);
55
+ const x = $(async () => {
56
+ if (!(!a || !t.projectId)) {
57
+ i(!0), d(null);
58
+ try {
59
+ const g = await c.current.getQuotes(a);
60
+ l(g);
61
+ } catch (g) {
62
+ d(g instanceof Error ? g : new Error("Failed to fetch quotes"));
63
+ } finally {
64
+ i(!1);
65
+ }
66
+ }
67
+ }, [t.projectId, a]);
68
+ return { quotes: n, loading: r, error: m, refetch: x };
69
+ }
70
+ function Lt(t) {
71
+ const [a, n] = C(null), [l, r] = C(!1), [i, m] = C(null), d = U(null), c = U(""), u = `${t.apiUrl}|${t.projectId}`;
72
+ (!d.current || c.current !== u) && (d.current = new ke({ apiKey: "", ...t }), c.current = u);
73
+ const p = $(async (x) => {
74
+ r(!0), m(null);
75
+ try {
76
+ const g = await d.current.createCheckoutIntent(x);
77
+ return n(g), g;
78
+ } catch (g) {
79
+ const h = g instanceof Error ? g : new Error("Failed to create checkout intent");
80
+ throw m(h), h;
81
+ } finally {
82
+ r(!1);
83
+ }
84
+ }, []), f = $(() => {
85
+ n(null), m(null);
86
+ }, []);
87
+ return { order: a, loading: l, error: i, createOrder: p, reset: f };
88
+ }
89
+ function It(t, a, n) {
90
+ const [l, r] = C(null), [i, m] = C(!1), [d, c] = C(null), u = U(null);
91
+ u.current || (u.current = new ke({ apiKey: "", projectId: "", ...t }));
92
+ const p = $(async () => {
93
+ if (a) {
94
+ m(!0), c(null);
95
+ try {
96
+ const f = await u.current.getTransaction(a);
97
+ r(f);
98
+ } catch (f) {
99
+ c(f instanceof Error ? f : new Error("Failed to fetch status"));
100
+ } finally {
101
+ m(!1);
102
+ }
103
+ }
104
+ }, [a]);
105
+ return H(() => {
106
+ if (!a) return;
107
+ const f = (n == null ? void 0 : n.initialDelay) ?? 0;
108
+ if (f > 0) {
109
+ const x = setTimeout(p, f);
110
+ return () => clearTimeout(x);
111
+ }
112
+ p();
113
+ }, [p, a, n == null ? void 0 : n.initialDelay]), H(() => {
114
+ if (!a || !(n != null && n.pollInterval) || !l || ["completed", "failed", "cancelled", "expired", "refunded"].includes(l.status))
115
+ return;
116
+ const x = setInterval(p, n.pollInterval);
117
+ return () => clearInterval(x);
118
+ }, [a, n == null ? void 0 : n.pollInterval, l == null ? void 0 : l.status, p]), { status: l, loading: i, error: d, refetch: p };
119
+ }
120
+ function rt(t, a) {
121
+ if (!t) return t;
122
+ const n = t.indexOf(".");
123
+ if (n === -1) return t;
124
+ let l = t;
125
+ return l.length - n - 1 > a && (l = l.slice(0, n + a + 1)), l = l.replace(/0+$/, "").replace(/\.$/, ""), l;
126
+ }
127
+ const mt = {
128
+ step: "amount",
129
+ flowType: "buy",
130
+ fiatCurrency: "USD",
131
+ fiatAmount: "",
132
+ cryptoCurrency: "",
133
+ cryptoAmount: "",
134
+ network: "",
135
+ paymentMethodId: "",
136
+ walletAddress: "",
137
+ walletError: null,
138
+ selectedProvider: null,
139
+ selectedQuote: null,
140
+ customerId: "",
141
+ email: "",
142
+ country: "",
143
+ errorMessage: null
144
+ };
145
+ function Bt(t, a) {
146
+ switch (a.type) {
147
+ case "SET_STEP":
148
+ return { ...t, step: a.step, errorMessage: null };
149
+ case "SET_FLOW_TYPE":
150
+ return {
151
+ ...t,
152
+ flowType: a.flowType,
153
+ fiatAmount: "",
154
+ cryptoAmount: "",
155
+ selectedQuote: null,
156
+ selectedProvider: null,
157
+ errorMessage: null
158
+ };
159
+ case "SET_FIAT_CURRENCY":
160
+ return { ...t, fiatCurrency: a.currency };
161
+ case "SET_FIAT_AMOUNT":
162
+ return { ...t, fiatAmount: a.amount };
163
+ case "SET_CRYPTO_CURRENCY":
164
+ return { ...t, cryptoCurrency: a.currency, network: "" };
165
+ case "SET_CRYPTO_AMOUNT":
166
+ return { ...t, cryptoAmount: a.amount };
167
+ case "SET_NETWORK":
168
+ return { ...t, network: a.network };
169
+ case "SET_CRYPTO_CHAIN":
170
+ return { ...t, network: a.chain };
171
+ case "SET_PAYMENT_METHOD":
172
+ return { ...t, paymentMethodId: a.methodId };
173
+ case "SET_WALLET_ADDRESS":
174
+ return { ...t, walletAddress: a.address, walletError: null };
175
+ case "SET_WALLET_ERROR":
176
+ return { ...t, walletError: a.message };
177
+ case "SELECT_QUOTE":
178
+ return {
179
+ ...t,
180
+ selectedQuote: a.quote,
181
+ selectedProvider: a.quote.gatewayId
182
+ };
183
+ case "SET_CUSTOMER_ID":
184
+ return { ...t, customerId: a.customerId };
185
+ case "SET_EMAIL":
186
+ return { ...t, email: a.email };
187
+ case "SET_COUNTRY":
188
+ return { ...t, country: a.country };
189
+ case "SET_ERROR":
190
+ return { ...t, step: "error", errorMessage: a.message };
191
+ case "CLEAR_ERROR":
192
+ return { ...t, errorMessage: null };
193
+ case "RESET":
194
+ return mt;
195
+ default:
196
+ return t;
197
+ }
198
+ }
199
+ const ht = Tt(null);
200
+ function Mt({
201
+ projectId: t,
202
+ apiUrl: a = "https://api.nowramp.com",
203
+ assetBaseUrl: n = "",
204
+ flowType: l = "buy",
205
+ customerId: r = "",
206
+ defaultFiatCurrency: i = "USD",
207
+ defaultCryptoCurrency: m = "BTC",
208
+ defaultNetwork: d = "",
209
+ defaultFiatAmount: c = "",
210
+ defaultCryptoAmount: u = "",
211
+ defaultWalletAddress: p = "",
212
+ defaultGateway: f,
213
+ fieldLocks: x,
214
+ statusPollInterval: g = 5e3,
215
+ onComplete: h,
216
+ onError: b,
217
+ children: L
218
+ }) {
219
+ const O = X(() => ({ apiUrl: a, projectId: t }), [a, t]), A = d || (m ? m.toLowerCase() : ""), G = l === "sell", j = G ? !!u : !!c, Z = (G ? !!(j && m && A) : !!(j && m && A && p)) && f ? "confirm" : "amount", [s, P] = St(Bt, {
220
+ ...mt,
221
+ step: Z,
222
+ flowType: l,
223
+ fiatCurrency: i,
224
+ cryptoCurrency: m,
225
+ network: A,
226
+ fiatAmount: rt(c, 2),
227
+ cryptoAmount: rt(u, 6),
228
+ walletAddress: p,
229
+ customerId: r
230
+ }), v = s.flowType === "sell", {
231
+ config: I,
232
+ loading: D,
233
+ error: F
234
+ } = Rt(O, s.flowType);
235
+ Ue.useEffect(() => {
236
+ var R, k, w;
237
+ if (!I || !s.cryptoCurrency || s.network) return;
238
+ const N = (R = I.cryptos) == null ? void 0 : R.find((_) => _.code === s.cryptoCurrency), S = ((k = N == null ? void 0 : N.networks) == null ? void 0 : k.find((_) => _.isDefault)) || ((w = N == null ? void 0 : N.networks) == null ? void 0 : w[0]);
239
+ S != null && S.id && P({ type: "SET_NETWORK", network: S.id });
240
+ }, [I, s.cryptoCurrency, s.network]);
241
+ const K = X(() => {
242
+ if (v) {
243
+ if (!s.cryptoAmount) return null;
244
+ const w = parseFloat(s.cryptoAmount);
245
+ return isNaN(w) || w <= 0 ? "Enter a valid amount" : null;
246
+ }
247
+ if (!I || !s.fiatAmount) return null;
248
+ const N = parseFloat(s.fiatAmount);
249
+ if (isNaN(N)) return null;
250
+ const S = I.fiats.find((w) => w.code === s.fiatCurrency);
251
+ if (!S) return null;
252
+ const R = parseFloat(S.minAmount), k = parseFloat(S.maxAmount);
253
+ return !isNaN(R) && N < R ? `Minimum amount is ${S.minAmount} ${s.fiatCurrency}` : !isNaN(k) && N > k ? `Maximum amount is ${S.maxAmount} ${s.fiatCurrency}` : null;
254
+ }, [I, s.fiatAmount, s.fiatCurrency, s.cryptoAmount, v]), ge = X(() => {
255
+ const N = v ? !!s.cryptoAmount : !!s.fiatAmount;
256
+ return !I || !N || !s.cryptoCurrency || !s.network || K ? null : {
257
+ fiatCurrency: s.fiatCurrency,
258
+ ...v ? { cryptoAmount: s.cryptoAmount } : { fiatAmount: s.fiatAmount },
259
+ cryptoCurrency: s.cryptoCurrency,
260
+ network: s.network,
261
+ paymentMethodId: s.paymentMethodId || void 0,
262
+ country: s.country || void 0,
263
+ orderType: s.flowType
264
+ };
265
+ }, [I, s.fiatCurrency, s.fiatAmount, s.cryptoAmount, s.cryptoCurrency, s.network, s.paymentMethodId, s.country, K, v, s.flowType]), {
266
+ quotes: pe,
267
+ loading: fe,
268
+ error: Y,
269
+ refetch: ye
270
+ } = kt(O, ge), {
271
+ order: ee,
272
+ loading: ve,
273
+ error: ce,
274
+ createOrder: se
275
+ } = Lt(O), Ne = 15e3, {
276
+ status: V,
277
+ loading: te
278
+ } = It(
279
+ { apiUrl: a },
280
+ (ee == null ? void 0 : ee.orderId) ?? null,
281
+ { pollInterval: g, initialDelay: Ne }
282
+ );
283
+ Ue.useEffect(() => {
284
+ (V == null ? void 0 : V.status) === "completed" && h && h(V);
285
+ }, [V == null ? void 0 : V.status, h]), Ue.useEffect(() => {
286
+ const N = F || ce;
287
+ N && b && b(N);
288
+ }, [F, ce, b]);
289
+ const ae = f || (I == null ? void 0 : I.defaultGateway) || null, Ce = U(ae);
290
+ Ce.current = ae;
291
+ const be = U(pe);
292
+ be.current = pe;
293
+ const Ee = $(async () => {
294
+ var S, R, k;
295
+ const N = ((S = s.selectedQuote) == null ? void 0 : S.gatewayId) || ((k = (R = be.current) == null ? void 0 : R.bestQuote) == null ? void 0 : k.gatewayId) || Ce.current;
296
+ if (!N || !s.walletAddress) {
297
+ const w = [!N && "gateway", !s.walletAddress && "walletAddress"].filter(Boolean).join(", ");
298
+ P({ type: "SET_ERROR", message: `Missing required fields: ${w}` });
299
+ return;
300
+ }
301
+ try {
302
+ await se({
303
+ gateway: N,
304
+ customerId: s.customerId || void 0,
305
+ fiatCurrency: s.fiatCurrency,
306
+ ...v ? { cryptoAmount: s.cryptoAmount } : { fiatAmount: s.fiatAmount },
307
+ cryptoCurrency: s.cryptoCurrency,
308
+ network: s.network,
309
+ walletAddress: s.walletAddress,
310
+ paymentMethodId: s.paymentMethodId || void 0,
311
+ email: s.email || void 0,
312
+ orderType: s.flowType
313
+ }), P({ type: "SET_STEP", step: "checkout" });
314
+ } catch (w) {
315
+ const _ = w instanceof Error ? w.message : "Failed to create order";
316
+ /wallet|address/i.test(_) ? P({ type: "SET_WALLET_ERROR", message: _.replace(/^Failed to create checkout intent:\s*/i, "") }) : P({ type: "SET_ERROR", message: _ });
317
+ }
318
+ }, [s, se, v]), J = $((N) => {
319
+ P({ type: "SET_STEP", step: N });
320
+ }, []), ie = $(() => {
321
+ const N = ["confirm", "amount", "quotes", "wallet", "checkout", "processing", "complete"], S = N.indexOf(s.step);
322
+ S > 0 && P({ type: "SET_STEP", step: N[S - 1] });
323
+ }, [s.step, v]), Ie = X(() => {
324
+ const N = v ? !!s.cryptoAmount : !!s.fiatAmount;
325
+ switch (s.step) {
326
+ case "confirm":
327
+ return !!(N && s.cryptoCurrency && s.network && s.walletAddress && !K);
328
+ case "amount":
329
+ return !!(N && s.cryptoCurrency && s.network && !K);
330
+ case "quotes":
331
+ return !!s.selectedQuote;
332
+ case "wallet":
333
+ return !!s.walletAddress;
334
+ default:
335
+ return !1;
336
+ }
337
+ }, [s, K, v]), xe = {
338
+ apiConfig: O,
339
+ assetBaseUrl: n,
340
+ config: I,
341
+ configLoading: D,
342
+ configError: F,
343
+ state: s,
344
+ dispatch: P,
345
+ quotes: pe,
346
+ quotesLoading: fe,
347
+ quotesError: Y,
348
+ fetchQuotes: ye,
349
+ order: ee,
350
+ orderLoading: ve,
351
+ orderError: ce,
352
+ createOrder: Ee,
353
+ orderStatus: V,
354
+ orderStatusLoading: te,
355
+ fieldLocks: x || null,
356
+ defaultGateway: ae,
357
+ amountError: K,
358
+ goToStep: J,
359
+ goBack: ie,
360
+ canProceed: Ie
361
+ };
362
+ return /* @__PURE__ */ e(ht.Provider, { value: xe, children: L });
363
+ }
364
+ function he() {
365
+ const t = wt(ht);
366
+ if (!t)
367
+ throw new Error("useRamp must be used within a RampProvider");
368
+ return t;
369
+ }
370
+ function Ot({
371
+ className: t = "",
372
+ iframeHeight: a = 600,
373
+ autoRedirect: n = !1,
374
+ redirectDelay: l = 3e3
375
+ }) {
376
+ var g;
377
+ const { order: r, orderStatus: i, goToStep: m, goBack: d } = he(), [c, u] = C(!1), [p, f] = C(null), x = r != null && r.checkout.expiresAt ? Date.now() > r.checkout.expiresAt : !1;
378
+ if (H(() => {
379
+ if ((r == null ? void 0 : r.checkout.method) === "redirect" && n && !x) {
380
+ f(Math.ceil(l / 1e3));
381
+ const h = setTimeout(() => {
382
+ window.location.href = r.checkout.url;
383
+ }, l), b = setInterval(() => {
384
+ f((L) => L && L > 1 ? L - 1 : null);
385
+ }, 1e3);
386
+ return () => {
387
+ clearTimeout(h), clearInterval(b);
388
+ };
389
+ }
390
+ }, [r, n, l, x]), H(() => {
391
+ i && (i.status === "completed" ? m("complete") : ["failed", "cancelled", "expired"].includes(i.status) && m("error"));
392
+ }, [i == null ? void 0 : i.status, m]), !r)
393
+ return /* @__PURE__ */ o("div", { className: `flex flex-col items-center justify-center p-8 ${t}`, style: { color: "var(--t-text)" }, children: [
394
+ /* @__PURE__ */ e("p", { className: "text-[15px] mb-4", children: "No order found" }),
395
+ /* @__PURE__ */ e(
396
+ "button",
397
+ {
398
+ className: "font-semibold text-[14px] transition-all",
399
+ style: { height: 48, borderRadius: 5, background: "var(--t-surface)", color: "var(--t-text)", paddingLeft: 24, paddingRight: 24 },
400
+ onClick: d,
401
+ children: "Go Back"
402
+ }
403
+ )
404
+ ] });
405
+ if (x)
406
+ return /* @__PURE__ */ o("div", { className: `flex flex-col items-center justify-center p-8 text-center ${t}`, style: { color: "var(--t-text)" }, children: [
407
+ /* @__PURE__ */ e("div", { className: "text-[48px] mb-4", children: "⏰" }),
408
+ /* @__PURE__ */ e("h3", { className: "text-[18px] font-semibold mb-2", children: "Checkout Expired" }),
409
+ /* @__PURE__ */ e("p", { className: "text-[14px] mb-6", style: { color: "var(--t-text-secondary)" }, children: "The checkout link has expired. Please try again." }),
410
+ /* @__PURE__ */ e(
411
+ "button",
412
+ {
413
+ className: "w-full font-semibold text-[16px] transition-all",
414
+ style: { height: 60, borderRadius: 5, background: "var(--t-cta-bg)", color: "var(--t-cta-text)" },
415
+ onClick: d,
416
+ children: "Start Over"
417
+ }
418
+ )
419
+ ] });
420
+ if (r.checkout.method === "iframe")
421
+ return /* @__PURE__ */ e("div", { className: `flex flex-col flex-1 ${t}`, children: /* @__PURE__ */ o("div", { className: "relative flex-1", style: { height: a, borderRadius: 5, overflow: "hidden", background: "var(--t-surface)" }, children: [
422
+ !c && /* @__PURE__ */ o("div", { className: "absolute inset-0 flex flex-col items-center justify-center", children: [
423
+ /* @__PURE__ */ e("div", { className: "nramp-spinner" }),
424
+ /* @__PURE__ */ e("p", { className: "text-[14px] mt-4", style: { color: "var(--t-text-secondary)" }, children: "Loading checkout..." })
425
+ ] }),
426
+ /* @__PURE__ */ e(
427
+ "iframe",
428
+ {
429
+ src: r.checkout.url,
430
+ style: {
431
+ display: c ? "block" : "none",
432
+ width: "100%",
433
+ height: "100%",
434
+ border: "none"
435
+ },
436
+ allow: ((g = r.checkout.allowedFeatures) == null ? void 0 : g.join("; ")) || "payment; camera; microphone; geolocation; clipboard-read; clipboard-write; accelerometer; gyroscope; magnetometer; fullscreen; autoplay; encrypted-media; web-share",
437
+ onLoad: () => u(!0),
438
+ title: "Provider Checkout"
439
+ }
440
+ )
441
+ ] }) });
442
+ if (r.checkout.method === "redirect")
443
+ return /* @__PURE__ */ o("div", { className: `flex flex-col items-center justify-center p-8 text-center ${t}`, style: { color: "var(--t-text)" }, children: [
444
+ /* @__PURE__ */ e("div", { className: "text-[48px] mb-4", children: "🔗" }),
445
+ /* @__PURE__ */ e("h3", { className: "text-[18px] font-semibold mb-2", children: "Complete Payment" }),
446
+ /* @__PURE__ */ o("p", { className: "text-[14px] mb-4", style: { color: "var(--t-text-secondary)" }, children: [
447
+ "You'll be redirected to ",
448
+ r.gateway,
449
+ " to complete your payment."
450
+ ] }),
451
+ p !== null && /* @__PURE__ */ o("p", { className: "text-[13px] mb-4", style: { color: "var(--t-text-muted)" }, children: [
452
+ "Redirecting in ",
453
+ p,
454
+ "..."
455
+ ] }),
456
+ /* @__PURE__ */ o(
457
+ "a",
458
+ {
459
+ href: r.checkout.url,
460
+ className: "w-full font-semibold text-[16px] flex items-center justify-center transition-all",
461
+ style: { height: 60, borderRadius: 5, background: "var(--t-cta-bg)", color: "var(--t-cta-text)", textDecoration: "none" },
462
+ target: "_blank",
463
+ rel: "noopener noreferrer",
464
+ children: [
465
+ "Continue to ",
466
+ r.gateway
467
+ ]
468
+ }
469
+ ),
470
+ /* @__PURE__ */ e(
471
+ "button",
472
+ {
473
+ className: "w-full font-semibold text-[14px] mt-2 transition-all",
474
+ style: { height: 48, borderRadius: 5, background: "var(--t-surface)", color: "var(--t-text)" },
475
+ onClick: d,
476
+ children: "Cancel"
477
+ }
478
+ )
479
+ ] });
480
+ if (r.checkout.method === "widget" && r.widgetConfig) {
481
+ const h = Pt(r.checkout.url, r.widgetConfig);
482
+ return /* @__PURE__ */ e("div", { className: `flex flex-col flex-1 ${t}`, children: /* @__PURE__ */ o("div", { className: "relative flex-1", style: { height: a, borderRadius: 5, overflow: "hidden", background: "var(--t-surface)" }, children: [
483
+ !c && /* @__PURE__ */ o("div", { className: "absolute inset-0 flex flex-col items-center justify-center", children: [
484
+ /* @__PURE__ */ e("div", { className: "nramp-spinner" }),
485
+ /* @__PURE__ */ e("p", { className: "text-[14px] mt-4", style: { color: "var(--t-text-secondary)" }, children: "Loading checkout..." })
486
+ ] }),
487
+ /* @__PURE__ */ e(
488
+ "iframe",
489
+ {
490
+ src: h,
491
+ style: {
492
+ display: c ? "block" : "none",
493
+ width: "100%",
494
+ height: "100%",
495
+ border: "none"
496
+ },
497
+ allow: "payment; camera; microphone; geolocation; clipboard-read; clipboard-write; accelerometer; gyroscope; magnetometer; fullscreen; autoplay; encrypted-media; web-share",
498
+ onLoad: () => u(!0),
499
+ title: "Payment Checkout"
500
+ }
501
+ )
502
+ ] }) });
503
+ }
504
+ return /* @__PURE__ */ o("div", { className: `flex flex-col items-center justify-center p-8 ${t}`, style: { color: "var(--t-text)" }, children: [
505
+ /* @__PURE__ */ e("p", { className: "text-[15px] mb-4", children: "Unknown checkout method" }),
506
+ /* @__PURE__ */ e(
507
+ "button",
508
+ {
509
+ className: "font-semibold text-[14px] transition-all",
510
+ style: { height: 48, borderRadius: 5, background: "var(--t-surface)", color: "var(--t-text)", paddingLeft: 24, paddingRight: 24 },
511
+ onClick: d,
512
+ children: "Go Back"
513
+ }
514
+ )
515
+ ] });
516
+ }
517
+ function Pt(t, a) {
518
+ const n = new URL("/en/partner/widget", t);
519
+ for (const [l, r] of Object.entries(a))
520
+ r != null && r !== "" && n.searchParams.set(l, String(r));
521
+ return n.toString();
522
+ }
523
+ function Ht({ className: t = "" }) {
524
+ const { orderStatus: a, orderStatusLoading: n, goToStep: l } = he();
525
+ H(() => {
526
+ a && (a.status === "completed" ? l("complete") : ["failed", "cancelled", "expired", "refunded"].includes(a.status) && l("error"));
527
+ }, [a == null ? void 0 : a.status, l]);
528
+ const r = () => {
529
+ if (!a) return "Processing your order...";
530
+ switch (a.status) {
531
+ case "pending":
532
+ return "Waiting for payment confirmation...";
533
+ case "processing":
534
+ return "Processing your transaction...";
535
+ default:
536
+ return "Processing...";
537
+ }
538
+ };
539
+ return /* @__PURE__ */ o("div", { className: `flex flex-col items-center justify-center px-8 py-12 text-center ${t}`, children: [
540
+ /* @__PURE__ */ e("div", { className: "mb-6", children: /* @__PURE__ */ e("div", { className: "nramp-spinner-large nramp-spinner" }) }),
541
+ /* @__PURE__ */ e("h2", { className: "text-[20px] font-semibold mb-3", style: { color: "var(--t-text)" }, children: r() }),
542
+ n && /* @__PURE__ */ e("p", { className: "text-[13px] mb-4", style: { color: "var(--t-text-muted)" }, children: "Checking status..." }),
543
+ a && /* @__PURE__ */ o("div", { className: "w-full mt-6 text-left", style: { background: "var(--t-surface)", borderRadius: 5, padding: 16 }, children: [
544
+ /* @__PURE__ */ e(me, { label: "Order ID", value: a.orderId, mono: !0 }),
545
+ /* @__PURE__ */ e(me, { label: "Provider", value: a.gateway }),
546
+ /* @__PURE__ */ e(
547
+ me,
548
+ {
549
+ label: "Amount",
550
+ value: `${a.fiatAmount} ${a.fiatCurrency}`
551
+ }
552
+ ),
553
+ /* @__PURE__ */ e(
554
+ me,
555
+ {
556
+ label: "Receiving",
557
+ value: `${a.cryptoAmount || "..."} ${a.cryptoCurrency}`
558
+ }
559
+ ),
560
+ /* @__PURE__ */ e(me, { label: "Network", value: a.network }),
561
+ /* @__PURE__ */ e(
562
+ me,
563
+ {
564
+ label: "To Address",
565
+ value: `${a.walletAddress.slice(0, 10)}...${a.walletAddress.slice(-8)}`,
566
+ mono: !0
567
+ }
568
+ )
569
+ ] }),
570
+ /* @__PURE__ */ o("div", { className: "mt-6", children: [
571
+ /* @__PURE__ */ e("p", { className: "text-[13px]", style: { color: "var(--t-text-secondary)" }, children: "This usually takes a few minutes." }),
572
+ /* @__PURE__ */ e("p", { className: "text-[12px] mt-1", style: { color: "var(--t-text-muted)" }, children: "You can safely close this page - we'll send you an email when complete." })
573
+ ] })
574
+ ] });
575
+ }
576
+ function me({ label: t, value: a, mono: n }) {
577
+ return /* @__PURE__ */ o(
578
+ "div",
579
+ {
580
+ className: "flex justify-between items-center py-2",
581
+ style: { borderBottom: "1px solid var(--t-divider)" },
582
+ children: [
583
+ /* @__PURE__ */ e("span", { className: "text-[13px]", style: { color: "var(--t-text-secondary)" }, children: t }),
584
+ /* @__PURE__ */ e(
585
+ "span",
586
+ {
587
+ className: `text-[13px] font-medium ${n ? "font-mono" : ""}`,
588
+ style: { color: "var(--t-text)" },
589
+ children: a
590
+ }
591
+ )
592
+ ]
593
+ }
594
+ );
595
+ }
596
+ function Ut({
597
+ className: t = "",
598
+ explorerUrl: a,
599
+ onDone: n,
600
+ doneButtonText: l = "Done"
601
+ }) {
602
+ const { orderStatus: r, state: i, dispatch: m } = he(), d = i.flowType === "sell", c = () => {
603
+ if (!(r != null && r.transactionHash)) return null;
604
+ if (!a) {
605
+ const f = {
606
+ ethereum: "https://etherscan.io/tx/{txHash}",
607
+ polygon: "https://polygonscan.com/tx/{txHash}",
608
+ arbitrum: "https://arbiscan.io/tx/{txHash}",
609
+ optimism: "https://optimistic.etherscan.io/tx/{txHash}",
610
+ base: "https://basescan.org/tx/{txHash}",
611
+ bitcoin: "https://mempool.space/tx/{txHash}",
612
+ solana: "https://solscan.io/tx/{txHash}",
613
+ avalanche: "https://snowtrace.io/tx/{txHash}",
614
+ fantom: "https://ftmscan.com/tx/{txHash}"
615
+ };
616
+ return (f[i.network] || f.ethereum).replace("{txHash}", r.transactionHash);
617
+ }
618
+ return a.replace("{txHash}", r.transactionHash);
619
+ }, u = () => {
620
+ n ? n() : m({ type: "RESET" });
621
+ }, p = c();
622
+ return /* @__PURE__ */ o("div", { className: `flex flex-col items-center px-8 py-12 text-center ${t}`, children: [
623
+ /* @__PURE__ */ e(
624
+ "div",
625
+ {
626
+ className: "flex items-center justify-center mb-5",
627
+ style: { width: 64, height: 64, borderRadius: "50%", background: "var(--t-success, #10b981)" },
628
+ children: /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", width: "32", height: "32", fill: "white", children: /* @__PURE__ */ e("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z" }) })
629
+ }
630
+ ),
631
+ /* @__PURE__ */ e("h2", { className: "text-[20px] font-semibold mb-2", style: { color: "var(--t-text)" }, children: d ? "Sale Complete!" : "Purchase Complete!" }),
632
+ /* @__PURE__ */ e("p", { className: "text-[14px] mb-6", style: { color: "var(--t-text-secondary)" }, children: d ? `Your ${(r == null ? void 0 : r.fiatCurrency) || i.fiatCurrency} payout is being processed.` : `Your ${(r == null ? void 0 : r.cryptoCurrency) || i.cryptoCurrency} has been sent to your wallet.` }),
633
+ r && /* @__PURE__ */ o("div", { className: "w-full text-left mb-6", style: { background: "var(--t-surface)", borderRadius: 5, padding: 16 }, children: [
634
+ /* @__PURE__ */ e(
635
+ q,
636
+ {
637
+ label: d ? "Amount Sold" : "Amount Received",
638
+ value: `${r.cryptoAmount} ${r.cryptoCurrency}`,
639
+ highlight: !0
640
+ }
641
+ ),
642
+ /* @__PURE__ */ e(
643
+ q,
644
+ {
645
+ label: d ? "Payout Amount" : "Amount Paid",
646
+ value: `${r.fiatAmount} ${r.fiatCurrency}`
647
+ }
648
+ ),
649
+ /* @__PURE__ */ e(q, { label: "Network", value: r.network }),
650
+ /* @__PURE__ */ e(
651
+ q,
652
+ {
653
+ label: "Wallet",
654
+ value: `${r.walletAddress.slice(0, 10)}...${r.walletAddress.slice(-8)}`,
655
+ mono: !0
656
+ }
657
+ ),
658
+ r.transactionHash && /* @__PURE__ */ e(
659
+ q,
660
+ {
661
+ label: "Transaction",
662
+ value: `${r.transactionHash.slice(0, 10)}...${r.transactionHash.slice(-8)}`,
663
+ mono: !0
664
+ }
665
+ ),
666
+ /* @__PURE__ */ e(q, { label: "Provider", value: r.gateway }),
667
+ /* @__PURE__ */ e(q, { label: "Order ID", value: r.orderId, mono: !0 }),
668
+ r.completedAt && /* @__PURE__ */ e(
669
+ q,
670
+ {
671
+ label: "Completed",
672
+ value: new Date(r.completedAt).toLocaleString()
673
+ }
674
+ )
675
+ ] }),
676
+ /* @__PURE__ */ o("div", { className: "w-full flex flex-col gap-2", children: [
677
+ p && /* @__PURE__ */ e(
678
+ "a",
679
+ {
680
+ href: p,
681
+ target: "_blank",
682
+ rel: "noopener noreferrer",
683
+ className: "w-full font-semibold text-[14px] flex items-center justify-center transition-all",
684
+ style: { height: 48, borderRadius: 5, background: "var(--t-surface)", color: "var(--t-text)", textDecoration: "none" },
685
+ children: "View on Explorer"
686
+ }
687
+ ),
688
+ /* @__PURE__ */ e(
689
+ "button",
690
+ {
691
+ className: "w-full font-semibold text-[16px] transition-all",
692
+ style: { height: 60, borderRadius: 5, background: "var(--t-cta-bg)", color: "var(--t-cta-text)" },
693
+ onClick: u,
694
+ children: l
695
+ }
696
+ )
697
+ ] })
698
+ ] });
699
+ }
700
+ function q({ label: t, value: a, mono: n, highlight: l }) {
701
+ return /* @__PURE__ */ o(
702
+ "div",
703
+ {
704
+ className: "flex justify-between items-center py-2",
705
+ style: { borderBottom: "1px solid var(--t-divider)" },
706
+ children: [
707
+ /* @__PURE__ */ e("span", { className: "text-[13px]", style: { color: "var(--t-text-secondary)" }, children: t }),
708
+ /* @__PURE__ */ e(
709
+ "span",
710
+ {
711
+ className: `text-[13px] font-medium ${n ? "font-mono" : ""}`,
712
+ style: { color: l ? "var(--t-success, #10b981)" : "var(--t-text)" },
713
+ children: a
714
+ }
715
+ )
716
+ ]
717
+ }
718
+ );
719
+ }
720
+ function Dt({
721
+ className: t = "",
722
+ onRetry: a,
723
+ supportEmail: n = "support@nowramp.com"
724
+ }) {
725
+ const { state: l, orderStatus: r, dispatch: i, goToStep: m } = he(), d = l.flowType === "sell", c = () => {
726
+ if (r)
727
+ switch (r.status) {
728
+ case "failed":
729
+ return "Payment Failed";
730
+ case "cancelled":
731
+ return "Order Cancelled";
732
+ case "expired":
733
+ return "Order Expired";
734
+ case "refunded":
735
+ return "Order Refunded";
736
+ default:
737
+ return "Something Went Wrong";
738
+ }
739
+ return "Something Went Wrong";
740
+ }, u = () => {
741
+ if (l.errorMessage) return l.errorMessage;
742
+ if (r)
743
+ switch (r.status) {
744
+ case "failed":
745
+ return d ? "Your sale could not be processed. Please try again." : "Your payment could not be processed. Please try again or use a different payment method.";
746
+ case "cancelled":
747
+ return d ? "Your sale was cancelled. No crypto was transferred." : "Your order was cancelled. No payment was processed.";
748
+ case "expired":
749
+ return d ? "Your order has expired. Please start a new sale." : "Your order has expired. Please start a new purchase.";
750
+ case "refunded":
751
+ return d ? "Your crypto has been returned. The funds should appear in your wallet shortly." : "Your payment has been refunded. The funds should appear in your account within 5-10 business days.";
752
+ default:
753
+ return "An unexpected error occurred. Please try again.";
754
+ }
755
+ return "An unexpected error occurred. Please try again.";
756
+ }, p = () => {
757
+ i({ type: "CLEAR_ERROR" }), a ? a() : (i({ type: "RESET" }), m("amount"));
758
+ }, f = () => {
759
+ i({ type: "RESET" }), m("amount");
760
+ };
761
+ return /* @__PURE__ */ o("div", { className: `flex flex-col items-center px-8 py-12 text-center ${t}`, children: [
762
+ /* @__PURE__ */ e(
763
+ "div",
764
+ {
765
+ className: "flex items-center justify-center mb-5",
766
+ style: { width: 64, height: 64, borderRadius: "50%", background: "var(--t-error, #EF4444)" },
767
+ children: /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", width: "32", height: "32", fill: "white", children: /* @__PURE__ */ e("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" }) })
768
+ }
769
+ ),
770
+ /* @__PURE__ */ e("h2", { className: "text-[20px] font-semibold mb-2", style: { color: "var(--t-text)" }, children: c() }),
771
+ /* @__PURE__ */ e("p", { className: "text-[14px] mb-6", style: { color: "var(--t-text-secondary)" }, children: u() }),
772
+ r && /* @__PURE__ */ o("div", { className: "w-full text-left mb-6", style: { background: "var(--t-surface)", borderRadius: 5, padding: 16 }, children: [
773
+ /* @__PURE__ */ o("div", { className: "flex justify-between items-center py-2", style: { borderBottom: "1px solid var(--t-divider)" }, children: [
774
+ /* @__PURE__ */ e("span", { className: "text-[13px]", style: { color: "var(--t-text-secondary)" }, children: "Order ID" }),
775
+ /* @__PURE__ */ e("span", { className: "text-[13px] font-medium font-mono", style: { color: "var(--t-text)" }, children: r.orderId })
776
+ ] }),
777
+ /* @__PURE__ */ o("div", { className: "flex justify-between items-center py-2", children: [
778
+ /* @__PURE__ */ e("span", { className: "text-[13px]", style: { color: "var(--t-text-secondary)" }, children: "Status" }),
779
+ /* @__PURE__ */ e(
780
+ "span",
781
+ {
782
+ className: "text-[12px] font-medium px-2 py-0.5",
783
+ style: { background: "rgba(239,68,68,0.15)", color: "#EF4444", borderRadius: 4 },
784
+ children: r.gatewayStatus
785
+ }
786
+ )
787
+ ] })
788
+ ] }),
789
+ /* @__PURE__ */ o("div", { className: "w-full flex flex-col gap-2", children: [
790
+ /* @__PURE__ */ e(
791
+ "button",
792
+ {
793
+ className: "w-full font-semibold text-[16px] transition-all",
794
+ style: { height: 60, borderRadius: 5, background: "var(--t-cta-bg)", color: "var(--t-cta-text)" },
795
+ onClick: p,
796
+ children: "Try Again"
797
+ }
798
+ ),
799
+ /* @__PURE__ */ e(
800
+ "button",
801
+ {
802
+ className: "w-full font-semibold text-[14px] transition-all",
803
+ style: { height: 48, borderRadius: 5, background: "var(--t-surface)", color: "var(--t-text)" },
804
+ onClick: f,
805
+ children: "Start Over"
806
+ }
807
+ )
808
+ ] }),
809
+ /* @__PURE__ */ o("div", { className: "mt-6", children: [
810
+ /* @__PURE__ */ o("p", { className: "text-[13px]", style: { color: "var(--t-text-secondary)" }, children: [
811
+ "Need help? Contact",
812
+ " ",
813
+ /* @__PURE__ */ e(
814
+ "a",
815
+ {
816
+ href: `mailto:${n}`,
817
+ className: "underline",
818
+ style: { color: "var(--t-accent)" },
819
+ children: n
820
+ }
821
+ )
822
+ ] }),
823
+ r && /* @__PURE__ */ o("p", { className: "text-[12px] mt-1", style: { color: "var(--t-text-muted)" }, children: [
824
+ "Reference: ",
825
+ r.orderId
826
+ ] })
827
+ ] })
828
+ ] });
829
+ }
830
+ function ot(t) {
831
+ return t.length <= 12 ? t : `${t.slice(0, 6)}...${t.slice(-6)}`;
832
+ }
833
+ function Ft({ className: t = "" }) {
834
+ const {
835
+ config: a,
836
+ configLoading: n,
837
+ state: l,
838
+ defaultGateway: r,
839
+ fetchQuotes: i,
840
+ createOrder: m,
841
+ orderLoading: d
842
+ } = he(), c = l.flowType === "sell", [u, p] = C(null), f = a == null ? void 0 : a.gateways.find((g) => g.id === r), x = async () => {
843
+ p(null);
844
+ try {
845
+ i(), await m();
846
+ } catch (g) {
847
+ const h = g instanceof Error ? g.message : "Failed to create order";
848
+ p(h);
849
+ }
850
+ };
851
+ return n ? /* @__PURE__ */ o("div", { className: `flex flex-col items-center justify-center p-12 ${t}`, children: [
852
+ /* @__PURE__ */ e("div", { className: "nramp-spinner" }),
853
+ /* @__PURE__ */ e("p", { className: "text-[14px] mt-4", style: { color: "var(--t-text-secondary)" }, children: "Loading..." })
854
+ ] }) : /* @__PURE__ */ o("div", { className: `flex flex-col items-center px-8 py-12 ${t}`, children: [
855
+ /* @__PURE__ */ e("h2", { className: "text-[20px] font-semibold mb-6", style: { color: "var(--t-text)" }, children: c ? "Confirm Sale" : "Confirm Purchase" }),
856
+ /* @__PURE__ */ o("div", { className: "w-full text-left mb-6", style: { background: "var(--t-surface)", borderRadius: 5, padding: 16 }, children: [
857
+ f && /* @__PURE__ */ o("div", { className: "flex justify-between items-center py-2", style: { borderBottom: "1px solid var(--t-divider)" }, children: [
858
+ /* @__PURE__ */ e("span", { className: "text-[13px]", style: { color: "var(--t-text-secondary)" }, children: "Provider" }),
859
+ /* @__PURE__ */ o("span", { className: "flex items-center gap-2", children: [
860
+ f.logo && /* @__PURE__ */ e("img", { src: f.logo, alt: f.name, width: 20, height: 20, style: { borderRadius: 4 } }),
861
+ /* @__PURE__ */ e("span", { className: "text-[13px] font-medium", style: { color: "var(--t-text)" }, children: f.name })
862
+ ] })
863
+ ] }),
864
+ c ? /* @__PURE__ */ o(le, { children: [
865
+ /* @__PURE__ */ e(oe, { label: "You sell", value: `${l.cryptoAmount} ${l.cryptoCurrency}`, highlight: !0 }),
866
+ /* @__PURE__ */ e(oe, { label: "You receive", value: `${l.fiatCurrency} payout` })
867
+ ] }) : /* @__PURE__ */ o(le, { children: [
868
+ /* @__PURE__ */ e(oe, { label: "You pay", value: `${l.fiatAmount} ${l.fiatCurrency}`, highlight: !0 }),
869
+ /* @__PURE__ */ e(oe, { label: "You receive", value: `${l.cryptoCurrency} on ${l.network}` }),
870
+ /* @__PURE__ */ e(oe, { label: "Wallet", value: ot(l.walletAddress), mono: !0 })
871
+ ] }),
872
+ /* @__PURE__ */ e(oe, { label: "Network", value: l.network }),
873
+ c && l.walletAddress && /* @__PURE__ */ e(oe, { label: "Refund address", value: ot(l.walletAddress), mono: !0 })
874
+ ] }),
875
+ u && /* @__PURE__ */ e("p", { className: "text-[12px] mb-4", style: { color: "#EF4444" }, children: u }),
876
+ /* @__PURE__ */ e(
877
+ "button",
878
+ {
879
+ className: "w-full font-semibold text-[16px] transition-all flex items-center justify-center gap-2",
880
+ style: { height: 60, borderRadius: 5, background: "var(--t-cta-bg)", color: "var(--t-cta-text)", opacity: d ? 0.7 : 1 },
881
+ disabled: d,
882
+ onClick: x,
883
+ children: d ? /* @__PURE__ */ o(le, { children: [
884
+ /* @__PURE__ */ e("span", { className: "nramp-spinner-inline" }),
885
+ "Processing..."
886
+ ] }) : c ? "Confirm & Sell" : "Confirm & Pay"
887
+ }
888
+ )
889
+ ] });
890
+ }
891
+ function oe({ label: t, value: a, mono: n, highlight: l }) {
892
+ return /* @__PURE__ */ o("div", { className: "flex justify-between items-center py-2", style: { borderBottom: "1px solid var(--t-divider)" }, children: [
893
+ /* @__PURE__ */ e("span", { className: "text-[13px]", style: { color: "var(--t-text-secondary)" }, children: t }),
894
+ /* @__PURE__ */ e(
895
+ "span",
896
+ {
897
+ className: `text-[13px] font-medium ${n ? "font-mono" : ""}`,
898
+ style: { color: l ? "var(--t-success, #10b981)" : "var(--t-text)" },
899
+ children: a
900
+ }
901
+ )
902
+ ] });
903
+ }
904
+ function De({
905
+ isOpen: t,
906
+ onClose: a,
907
+ children: n
908
+ }) {
909
+ const [l, r] = C(!1), [i, m] = C(!1);
910
+ H(() => {
911
+ if (t)
912
+ r(!0), requestAnimationFrame(() => requestAnimationFrame(() => m(!0)));
913
+ else if (l) {
914
+ m(!1);
915
+ const c = setTimeout(() => r(!1), 250);
916
+ return () => clearTimeout(c);
917
+ }
918
+ }, [t]);
919
+ const d = $(() => {
920
+ m(!1), setTimeout(() => a(), 250);
921
+ }, [a]);
922
+ return l ? /* @__PURE__ */ e(
923
+ "div",
924
+ {
925
+ className: "absolute inset-0 z-20 transition-opacity duration-250",
926
+ style: { opacity: i ? 1 : 0 },
927
+ children: /* @__PURE__ */ e(
928
+ "div",
929
+ {
930
+ className: "absolute inset-0 flex flex-col transition-transform duration-250 ease-out",
931
+ style: { background: "var(--t-modal-bg)", transform: i ? "translateY(0)" : "translateY(24px)" },
932
+ children: typeof n == "function" ? n(d) : n
933
+ }
934
+ )
935
+ }
936
+ ) : null;
937
+ }
938
+ function Kt({ char: t, height: a = 38 }) {
939
+ const n = "0123456789", l = n.indexOf(t);
940
+ return l === -1 ? /* @__PURE__ */ e("span", { children: t }) : /* @__PURE__ */ e("span", { className: "digit-slot", style: { height: a, lineHeight: `${a}px` }, children: /* @__PURE__ */ e("span", { className: "digit-slot-inner block", style: { transform: `translateY(-${l * a}px)` }, children: n.split("").map((r) => /* @__PURE__ */ e("span", { className: "block", style: { height: a, lineHeight: `${a}px` }, children: r }, r)) }) });
941
+ }
942
+ function _t({
943
+ value: t,
944
+ height: a = 38,
945
+ className: n = "",
946
+ style: l = {}
947
+ }) {
948
+ return /* @__PURE__ */ e("span", { className: n, style: { display: "inline-flex", ...l }, children: t.split("").map((r, i) => /* @__PURE__ */ e(Kt, { char: r, height: a }, i)) });
949
+ }
950
+ function B({
951
+ w: t,
952
+ h: a,
953
+ className: n = ""
954
+ }) {
955
+ return /* @__PURE__ */ e("div", { className: `skeleton ${n}`, style: { width: t, height: a } });
956
+ }
957
+ function Xt() {
958
+ return /* @__PURE__ */ o("div", { className: "flex-1 px-5 flex flex-col", children: [
959
+ /* @__PURE__ */ o("div", { className: "px-[18px] pt-[14px] pb-[18px]", style: { background: "var(--t-surface)", borderRadius: 5 }, children: [
960
+ /* @__PURE__ */ e(B, { w: 70, h: 14, className: "mb-3" }),
961
+ /* @__PURE__ */ o("div", { className: "flex justify-between items-center", children: [
962
+ /* @__PURE__ */ e(B, { w: 120, h: 32 }),
963
+ /* @__PURE__ */ e(B, { w: 75, h: 32 })
964
+ ] })
965
+ ] }),
966
+ /* @__PURE__ */ o("div", { className: "px-[18px] pt-[12px] pb-[18px]", style: { background: "var(--t-surface)", borderRadius: 5, marginTop: 4 }, children: [
967
+ /* @__PURE__ */ e(B, { w: 50, h: 14, className: "mb-3" }),
968
+ /* @__PURE__ */ o("div", { className: "flex justify-between items-center", children: [
969
+ /* @__PURE__ */ e(B, { w: 180, h: 32 }),
970
+ /* @__PURE__ */ e(B, { w: 85, h: 32 })
971
+ ] })
972
+ ] }),
973
+ /* @__PURE__ */ o("div", { className: "flex justify-between mt-3 px-[2px]", children: [
974
+ /* @__PURE__ */ e(B, { w: 140, h: 12 }),
975
+ /* @__PURE__ */ e(B, { w: 90, h: 12 })
976
+ ] }),
977
+ /* @__PURE__ */ o("div", { className: "mt-8", children: [
978
+ /* @__PURE__ */ e(B, { w: 65, h: 14, className: "mb-2.5" }),
979
+ /* @__PURE__ */ e(B, { w: "100%", h: 47 })
980
+ ] }),
981
+ /* @__PURE__ */ e("div", { className: "flex-1" }),
982
+ /* @__PURE__ */ e(B, { w: "100%", h: 60, className: "mb-2" }),
983
+ /* @__PURE__ */ e("div", { className: "text-center py-3", children: /* @__PURE__ */ e("span", { className: "text-[11px]", style: { color: "var(--t-text-tertiary)" }, children: "Powered by NowRamp" }) })
984
+ ] });
985
+ }
986
+ const Re = {
987
+ ETH: { name: "Ethereum (ERC20)", shortName: "Ethereum", icon: "eth" },
988
+ BSC: { name: "Binance Smart Chain (BEP20)", shortName: "Binance", icon: "bnb" },
989
+ BTC: { name: "Bitcoin", icon: "btc" },
990
+ SOL: { name: "Solana", icon: "sol" },
991
+ MATIC: { name: "Polygon", icon: "pol" },
992
+ ARB: { name: "Arbitrum", icon: "arb" },
993
+ BASE: { name: "Base", icon: "base" },
994
+ OPTIMISM: { name: "Optimism", icon: "op" },
995
+ AVAX_C: { name: "Avalanche C-Chain", shortName: "Avalanche C", icon: "avax" },
996
+ AVAX_X: { name: "Avalanche X-Chain", shortName: "Avalanche X", icon: "avax" },
997
+ ADA: { name: "Cardano", icon: "ada" },
998
+ DOT: { name: "Polkadot", icon: "dot" },
999
+ TRON: { name: "Tron (TRC20)", shortName: "Tron", icon: "trx" },
1000
+ XRP: { name: "Ripple", icon: "xrp" },
1001
+ XLM: { name: "Stellar", icon: "xlm" },
1002
+ ALGO: { name: "Algorand", icon: "algo" },
1003
+ ATOM: { name: "Cosmos", icon: "atom" },
1004
+ NEAR: { name: "NEAR Protocol", shortName: "NEAR", icon: "near" },
1005
+ SUI: { name: "Sui", icon: "sui" },
1006
+ APT: { name: "Aptos", icon: "apt" },
1007
+ TON: { name: "Ton", icon: "ton" },
1008
+ FIL: { name: "Filecoin", icon: "fil" },
1009
+ FLOW: { name: "Flow", icon: "flow" },
1010
+ HBAR: { name: "Hedera Hashgraph", shortName: "Hedera", icon: "hbar" },
1011
+ INJ: { name: "Injective", icon: "inj" },
1012
+ SEI_EVM: { name: "SEI (EVM)", shortName: "SEI", icon: "sei" },
1013
+ ZKSYNC: { name: "zkSync", icon: "zksync" },
1014
+ LINEA: { name: "Linea", icon: "linea" },
1015
+ STARK: { name: "StarkNet", icon: "strk" },
1016
+ LN: { name: "Lightning", icon: "btc" },
1017
+ CELO: { name: "Celo", icon: "celo" },
1018
+ CRO: { name: "Cronos", icon: "cro" },
1019
+ FTM: { name: "Fantom", icon: "ftm" },
1020
+ GLMR: { name: "Moonbeam", icon: "glmr" },
1021
+ MOVR: { name: "Moonriver", icon: "movr" },
1022
+ KSM: { name: "Kusama", icon: "ksm" },
1023
+ EOS: { name: "EOS", icon: "eos" },
1024
+ ETC: { name: "Ethereum Classic", shortName: "ETH Classic", icon: "etc" },
1025
+ LTC: { name: "Litecoin", icon: "ltc" },
1026
+ BCH: { name: "Bitcoin Cash", shortName: "BTC Cash", icon: "bch" },
1027
+ DOGE: { name: "Dogecoin", icon: "doge" },
1028
+ BNB: { name: "Binance Chain (BEP2)", shortName: "Binance", icon: "bnb" },
1029
+ ONE: { name: "Harmony", icon: "one" },
1030
+ KLAY: { name: "Kaia", icon: "kaia" },
1031
+ RON: { name: "Ronin", icon: "ron" },
1032
+ LRC: { name: "Loopring", icon: "lrc" },
1033
+ ICP: { name: "Internet Computer", shortName: "ICP", icon: "icp" },
1034
+ EGLD: { name: "MultiversX", icon: "egld" },
1035
+ FLUX: { name: "Flux", icon: "flux" },
1036
+ KDA: { name: "Kadena", icon: "kda" },
1037
+ WAVES: { name: "Waves", icon: "waves" },
1038
+ XTZ: { name: "Tezos", icon: "xtz" },
1039
+ ACA: { name: "Acala", icon: "aca" },
1040
+ ALEO: { name: "Aleo", icon: "aleo" },
1041
+ ALPH: { name: "Alephium", icon: "alph" },
1042
+ APE: { name: "ApeChain", icon: "ape" },
1043
+ ASTR: { name: "Astar", icon: "astr" },
1044
+ AZERO: { name: "Aleph Zero", icon: "azero" },
1045
+ AZERO_EVM: { name: "Aleph Zero EVM", shortName: "Aleph Zero", icon: "azero" },
1046
+ BAJU: { name: "Bajun Network", shortName: "Bajun", icon: "baju" },
1047
+ BNCPOLKA: { name: "Bifrost Polkadot", shortName: "Bifrost", icon: "bnc" },
1048
+ BNC: { name: "Bifrost Kusama", shortName: "Bifrost", icon: "bnc" },
1049
+ BOBA: { name: "Boba Network", shortName: "Boba", icon: "boba" },
1050
+ BSX: { name: "Basilisk", icon: "bsx" },
1051
+ CHZ: { name: "Chiliz", icon: "chz" },
1052
+ VIC: { name: "Viction", icon: "vic" },
1053
+ CCD: { name: "Concordium", icon: "ccd" },
1054
+ COREUM: { name: "Coreum", icon: "coreum" },
1055
+ DINGO: { name: "Dingocoin", icon: "dingo" },
1056
+ HDX: { name: "Hydration", icon: "hdx" },
1057
+ PLMC: { name: "Polimec", icon: "plmc" },
1058
+ MNT: { name: "Mantle", icon: "mnt" },
1059
+ ERG: { name: "Ergo", icon: "erg" },
1060
+ ECLIPSE: { name: "Eclipse", icon: "eclipse" },
1061
+ FUEL: { name: "Fuel Ignition", shortName: "Fuel", icon: "fuel" },
1062
+ INK: { name: "Ink", icon: "ink" },
1063
+ SOPHON: { name: "Sophon", icon: "sophon" },
1064
+ UNICHAIN: { name: "Unichain", icon: "unichain" },
1065
+ WLD: { name: "Worldchain", icon: "wld" },
1066
+ ETHERLINK: { name: "Etherlink", icon: "etherlink" },
1067
+ MOB: { name: "MobileCoin", icon: "mob" },
1068
+ GALA: { name: "Gala", icon: "gala" },
1069
+ GUNZ: { name: "Gunz", icon: "gun" },
1070
+ HNT: { name: "Helium", icon: "hnt" },
1071
+ BITKUB: { name: "BitKub", icon: "kub" },
1072
+ IMMUTABLE_ZKEVM: { name: "Immutable-zkEVM", shortName: "Immutable", icon: "imx" },
1073
+ INIT: { name: "Initia", icon: "init" },
1074
+ INTR: { name: "Interlay", icon: "intr" },
1075
+ KINESIS: { name: "Kinesis", icon: "kag" },
1076
+ KAR: { name: "Karura", icon: "kar" },
1077
+ KCC: { name: "KuCoin Community Chain", shortName: "KuCoin", icon: "kcs" },
1078
+ KILT: { name: "KILT Spiritnet", shortName: "KILT", icon: "kilt" },
1079
+ KINT: { name: "Kintsugi", icon: "kint" },
1080
+ KMD: { name: "Komodo", icon: "kmd" },
1081
+ LSK: { name: "Lisk", icon: "lsk" },
1082
+ METIS: { name: "Metis Andromeda", shortName: "Metis", icon: "metis" },
1083
+ MYTH: { name: "Myth", icon: "myth" },
1084
+ OAS: { name: "Oasys", icon: "oas" },
1085
+ PEAQ_EVM: { name: "Peaq (EVM)", shortName: "Peaq", icon: "peaq" },
1086
+ PEN: { name: "Pendulum", icon: "pen" },
1087
+ PI: { name: "Pi", icon: "pi" },
1088
+ POLYX: { name: "Polymesh", icon: "polyx" },
1089
+ Q: { name: "QuantumCoin", icon: "q" },
1090
+ QRL: { name: "Quantum Resistant Ledger", shortName: "QRL", icon: "qrl" },
1091
+ QUBIC: { name: "Qubic", icon: "qubic" },
1092
+ RBX: { name: "ReserveBlock", icon: "rbx" },
1093
+ ROLLUX: { name: "Rollux", icon: "rollux" },
1094
+ THORCHAIN: { name: "Thorchain", icon: "rune" },
1095
+ S: { name: "Sonic", icon: "s" },
1096
+ SONIC: { name: "Sonic", icon: "s" },
1097
+ TERNOA: { name: "Ternoa", icon: "caps" },
1098
+ SX: { name: "SX Network", icon: "sol" },
1099
+ WAX: { name: "WAX", icon: "waxp" },
1100
+ XCH: { name: "Chia Chain", icon: "xch" },
1101
+ XPRT: { name: "Persistence", icon: "xprt" },
1102
+ ZETACHAIN: { name: "ZetaChain", icon: "zeta" },
1103
+ ZTG: { name: "Zeitgeist", icon: "ztg" },
1104
+ PLS: { name: "Pulsechain", icon: "pulsechain" },
1105
+ MEZO: { name: "Mezo", icon: "mezo" },
1106
+ BSV: { name: "Bitcoin SV", shortName: "BTC SV", icon: "btc" },
1107
+ MONAD: { name: "Monad", icon: "mon" },
1108
+ SUPRA: { name: "Supra", icon: "supra" },
1109
+ SOMI: { name: "Somnia", icon: "somi" },
1110
+ VERIFIEDX: { name: "VerifiedX", icon: "vfx" },
1111
+ MOVE: { name: "Movement", icon: "move" },
1112
+ FLR: { name: "Flare", icon: "flr" },
1113
+ ASSETHUB: { name: "Asset Hub Polkadot", shortName: "Asset Hub", icon: "dot" },
1114
+ BOB: { name: "BOB", icon: "btc" },
1115
+ GLUE: { name: "Glue", icon: "eth" },
1116
+ DYDX: { name: "StarkEx", icon: "stark" },
1117
+ OKC: { name: "OKX Chain", icon: "eth" },
1118
+ UNI_CHAIN: { name: "UNI", icon: "uni" },
1119
+ ZEC: { name: "ZCash", icon: "zec" }
1120
+ }, $t = [
1121
+ // --- Popular / Top coins ---
1122
+ { code: "BTC", name: "Bitcoin", chains: ["BTC", "LN"], popular: !0 },
1123
+ { code: "ETH", name: "Ethereum", chains: ["ETH", "ARB", "BASE", "BSC", "OPTIMISM", "LINEA", "ZKSYNC", "LRC", "STARK", "APE", "ECLIPSE", "FUEL", "INK", "SOPHON", "UNICHAIN", "WLD"], popular: !0 },
1124
+ { code: "USDC", name: "USD Coin", chains: ["ETH", "SOL", "ARB", "BASE", "BSC", "MATIC", "OPTIMISM", "AVAX_C", "ALGO", "APT", "CELO", "FLOW", "HBAR", "LINEA", "LRC", "ZKSYNC", "STARK", "SUI", "XLM", "ECLIPSE", "HDX", "INK", "LSK", "METIS", "MONAD", "SEI_EVM", "SONIC", "SOPHON", "SX", "UNICHAIN", "APE", "BNCPOLKA", "GLMR", "PEAQ_EVM", "PLMC", "RON", "UNI_CHAIN", "WLD", "BITKUB", "BOB", "DYDX", "ETHERLINK", "GLUE", "ASSETHUB"], popular: !0 },
1125
+ { code: "USDT", name: "Tether", chains: ["ETH", "BSC", "TRON", "ARB", "MATIC", "AVAX_C", "SOL", "OPTIMISM", "ZKSYNC", "STARK", "APT", "CELO", "KLAY", "LRC", "LSK", "ECLIPSE", "ETHERLINK", "OKC", "PEAQ_EVM", "BNCPOLKA", "GLMR", "HDX", "PLMC", "VIC", "ASSETHUB"], popular: !0 },
1126
+ { code: "SOL", name: "Solana", chains: ["SOL"], popular: !0 },
1127
+ { code: "XRP", name: "Ripple", chains: ["XRP"], popular: !0 },
1128
+ { code: "ADA", name: "Cardano", chains: ["ADA"], popular: !0 },
1129
+ { code: "DOGE", name: "Dogecoin", chains: ["DOGE"], popular: !0 },
1130
+ { code: "DOT", name: "Polkadot", chains: ["DOT", "BSC", "BNCPOLKA", "GLMR", "HDX", "PLMC"], popular: !0 },
1131
+ { code: "AVAX", name: "Avalanche", chains: ["AVAX_C", "AVAX_X", "BSC"], popular: !0 },
1132
+ { code: "LINK", name: "ChainLink", chains: ["ETH", "BSC"], popular: !0 },
1133
+ { code: "LTC", name: "Litecoin", chains: ["LTC"], popular: !0 },
1134
+ // --- Major altcoins ---
1135
+ { code: "AAVE", name: "Aave", chains: ["ETH", "BSC"], popular: !1 },
1136
+ { code: "ACA", name: "Acala", chains: ["ACA"], popular: !1 },
1137
+ { code: "ALEO", name: "Aleo", chains: ["ALEO"], popular: !1 },
1138
+ { code: "ALGO", name: "Algorand", chains: ["ALGO"], popular: !1 },
1139
+ { code: "ALPH", name: "Alephium", chains: ["ALPH"], popular: !1 },
1140
+ { code: "APE", name: "ApeCoin", chains: ["APE", "ETH"], popular: !1 },
1141
+ { code: "APT", name: "Aptos", chains: ["APT"], popular: !1 },
1142
+ { code: "ARB", name: "Arbitrum", chains: ["ARB"], popular: !1 },
1143
+ { code: "ASTR", name: "Astar", chains: ["ASTR"], popular: !1 },
1144
+ { code: "ATOM", name: "Cosmos", chains: ["ATOM"], popular: !1 },
1145
+ { code: "AUDD", name: "Novatti Australian Digital Dollar", chains: ["ETH"], popular: !1 },
1146
+ { code: "AVT", name: "Aventus", chains: ["ETH"], popular: !1 },
1147
+ { code: "AXS", name: "Axie Infinity", chains: ["ETH", "RON"], popular: !1 },
1148
+ { code: "AZERO", name: "Aleph Zero", chains: ["AZERO", "AZERO_EVM"], popular: !1 },
1149
+ { code: "BAJU", name: "Bajun Network", chains: ["BAJU"], popular: !1 },
1150
+ { code: "BARSIK", name: "Hasbulla's Cat", chains: ["SOL"], popular: !1 },
1151
+ { code: "BAT", name: "Basic Attention Token", chains: ["ETH", "BSC"], popular: !1 },
1152
+ { code: "BCH", name: "Bitcoin Cash", chains: ["BCH"], popular: !1 },
1153
+ { code: "BNB", name: "Binance Coin", chains: ["BNB", "BSC"], popular: !1 },
1154
+ { code: "BNC", name: "Bifrost Native Coin", chains: ["BNC", "BNCPOLKA"], popular: !1 },
1155
+ { code: "BOBA", name: "Boba Network", chains: ["BOBA", "ETH"], popular: !1 },
1156
+ { code: "BORA", name: "Bora", chains: ["KLAY"], popular: !1 },
1157
+ { code: "BRETT", name: "Brett", chains: ["BASE"], popular: !1 },
1158
+ { code: "BSX", name: "Basilisk", chains: ["BSX"], popular: !1 },
1159
+ { code: "BZR", name: "Bazaars", chains: ["ETH"], popular: !1 },
1160
+ { code: "CAGA", name: "Crypto Asset Governance Alliance", chains: ["ETH"], popular: !1 },
1161
+ { code: "CAKE", name: "PancakeSwap", chains: ["BSC"], popular: !1 },
1162
+ { code: "CAPS", name: "Caps", chains: ["TERNOA"], popular: !1 },
1163
+ { code: "CELO", name: "Celo", chains: ["CELO"], popular: !1 },
1164
+ { code: "CHZ", name: "Chiliz", chains: ["CHZ", "BNB", "ETH"], popular: !1 },
1165
+ { code: "C98", name: "Coin98", chains: ["VIC"], popular: !1 },
1166
+ { code: "CCD", name: "Concordium", chains: ["CCD"], popular: !1 },
1167
+ { code: "COMP", name: "Compound", chains: ["ETH", "BSC"], popular: !1 },
1168
+ { code: "COREUM", name: "Coreum", chains: ["COREUM", "XRP"], popular: !1 },
1169
+ { code: "CRO", name: "Cronos", chains: ["CRO"], popular: !1 },
1170
+ { code: "CUSD", name: "Celo Dollar", chains: ["CELO"], popular: !1 },
1171
+ { code: "CVC", name: "Civic", chains: ["ETH"], popular: !1 },
1172
+ { code: "DAI", name: "Dai", chains: ["ETH", "BASE", "MATIC"], popular: !1 },
1173
+ { code: "DINGO", name: "Dingocoin", chains: ["DINGO"], popular: !1 },
1174
+ { code: "EGLD", name: "MultiversX", chains: ["EGLD"], popular: !1 },
1175
+ { code: "EMBER", name: "Ember Sword", chains: ["MNT"], popular: !1 },
1176
+ { code: "EOS", name: "EOS", chains: ["EOS"], popular: !1 },
1177
+ { code: "ERG", name: "Ergo", chains: ["ERG"], popular: !1 },
1178
+ { code: "ETC", name: "Ethereum Classic", chains: ["ETC", "BSC"], popular: !1 },
1179
+ { code: "EUR", name: "EURC", chains: ["BASE"], popular: !1 },
1180
+ { code: "EUROC", name: "Euro Coin", chains: ["ETH"], popular: !1 },
1181
+ { code: "EURQ", name: "Quantoz EURQ", chains: ["ETH"], popular: !1 },
1182
+ { code: "EURR", name: "StablR EUR", chains: ["ETH"], popular: !1 },
1183
+ { code: "EUSD", name: "Electronic USD", chains: ["MOB"], popular: !1 },
1184
+ { code: "EXIT", name: "EXIT - Designer Token", chains: ["BSC"], popular: !1 },
1185
+ { code: "FDUSD", name: "First Digital USD", chains: ["SUI"], popular: !1 },
1186
+ { code: "FIL", name: "Filecoin", chains: ["FIL", "BSC"], popular: !1 },
1187
+ { code: "FLOW", name: "Flow", chains: ["FLOW"], popular: !1 },
1188
+ { code: "FLR", name: "Flare", chains: ["FLR"], popular: !1 },
1189
+ { code: "FLUX", name: "Flux", chains: ["FLUX"], popular: !1 },
1190
+ { code: "FTM", name: "Fantom", chains: ["FTM", "ETH", "BSC"], popular: !1 },
1191
+ { code: "GALA", name: "Gala", chains: ["GALA"], popular: !1 },
1192
+ { code: "GLMR", name: "Moonbeam", chains: ["GLMR"], popular: !1 },
1193
+ { code: "GMX", name: "GMX", chains: ["ARB"], popular: !1 },
1194
+ { code: "GNUS", name: "Genius AI", chains: ["ETH"], popular: !1 },
1195
+ { code: "GRT", name: "The Graph", chains: ["ETH", "ARB"], popular: !1 },
1196
+ { code: "GUN", name: "Gunz", chains: ["GUNZ"], popular: !1 },
1197
+ { code: "HBAR", name: "Hedera", chains: ["HBAR"], popular: !1 },
1198
+ { code: "HDX", name: "HydraDX", chains: ["HDX"], popular: !1 },
1199
+ { code: "HNT", name: "Helium", chains: ["HNT"], popular: !1 },
1200
+ { code: "HTP", name: "HowToPay", chains: ["BSC"], popular: !1 },
1201
+ { code: "HVLO", name: "Hivello", chains: ["SOL"], popular: !1 },
1202
+ { code: "ICP", name: "Internet Computer", chains: ["ICP"], popular: !1 },
1203
+ { code: "IMX", name: "Immutable X", chains: ["ETH"], popular: !1 },
1204
+ { code: "INIT", name: "Initia", chains: ["INIT"], popular: !1 },
1205
+ { code: "INJ", name: "Injective", chains: ["INJ"], popular: !1 },
1206
+ { code: "INTR", name: "Interlay", chains: ["INTR"], popular: !1 },
1207
+ { code: "JAM", name: "Jam Tune.FM", chains: ["HBAR"], popular: !1 },
1208
+ { code: "KAG", name: "Silver", chains: ["KINESIS"], popular: !1 },
1209
+ { code: "KAIA", name: "Kaia", chains: ["KLAY"], popular: !1 },
1210
+ { code: "KAR", name: "Karura", chains: ["KAR"], popular: !1 },
1211
+ { code: "KAU", name: "Gold", chains: ["KINESIS"], popular: !1 },
1212
+ { code: "KCS", name: "KuCoin Token", chains: ["ETH", "KCC"], popular: !1 },
1213
+ { code: "KDA", name: "Kadena", chains: ["KDA"], popular: !1 },
1214
+ { code: "KILT", name: "KILT", chains: ["KILT"], popular: !1 },
1215
+ { code: "KINT", name: "Kintsugi", chains: ["KINT"], popular: !1 },
1216
+ { code: "KLV", name: "Klever", chains: ["TRON"], popular: !1 },
1217
+ { code: "KMD", name: "Komodo", chains: ["KMD"], popular: !1 },
1218
+ { code: "KSM", name: "Kusama", chains: ["KSM"], popular: !1 },
1219
+ { code: "KUB", name: "Bitkub Coin", chains: ["BITKUB"], popular: !1 },
1220
+ { code: "LOOKS", name: "LooksRare", chains: ["ETH"], popular: !1 },
1221
+ { code: "LRC", name: "Loopring", chains: ["ETH", "LRC"], popular: !1 },
1222
+ { code: "LSK", name: "Lisk", chains: ["LSK"], popular: !1 },
1223
+ { code: "MANA", name: "Decentraland", chains: ["ETH"], popular: !1 },
1224
+ { code: "MBX", name: "Marblex", chains: ["IMMUTABLE_ZKEVM", "KLAY"], popular: !1 },
1225
+ { code: "MELANIA", name: "Melania", chains: ["SOL"], popular: !1 },
1226
+ { code: "METAMASKUSD", name: "Metamask USD", chains: ["ETH", "LINEA"], popular: !1 },
1227
+ { code: "METIS", name: "Metis", chains: ["METIS"], popular: !1 },
1228
+ { code: "MEZOUSD", name: "MUSD", chains: ["ETH", "MEZO"], popular: !1 },
1229
+ { code: "MKR", name: "Maker", chains: ["ETH", "BSC"], popular: !1 },
1230
+ { code: "MNEE", name: "MNEE", chains: ["BSV", "ETH"], popular: !1 },
1231
+ { code: "MNT", name: "Mantle", chains: ["ETH", "MNT"], popular: !1 },
1232
+ { code: "MOB", name: "MobileCoin", chains: ["MOB"], popular: !1 },
1233
+ { code: "MON", name: "Monad", chains: ["MONAD"], popular: !1 },
1234
+ { code: "MOVE", name: "Movement", chains: ["MOVE"], popular: !1 },
1235
+ { code: "MOVR", name: "Moonriver", chains: ["MOVR"], popular: !1 },
1236
+ { code: "MYTH", name: "Myth", chains: ["MYTH"], popular: !1 },
1237
+ { code: "NEAR", name: "NEAR Protocol", chains: ["NEAR", "BSC"], popular: !1 },
1238
+ { code: "NEIRO", name: "NEIRO Ethereum", chains: ["ETH"], popular: !1 },
1239
+ { code: "OAS", name: "Oasys", chains: ["OAS"], popular: !1 },
1240
+ { code: "OMG", name: "OmiseGo", chains: ["ETH"], popular: !1 },
1241
+ { code: "OMUSD", name: "Open Money USD", chains: ["ETH"], popular: !1 },
1242
+ { code: "ONE", name: "Harmony", chains: ["ONE", "BNB", "ETH"], popular: !1 },
1243
+ { code: "OP", name: "Optimism", chains: ["OPTIMISM"], popular: !1 },
1244
+ { code: "ORDER", name: "Orderly Network", chains: ["ETH"], popular: !1 },
1245
+ { code: "PEAQ", name: "Peaq", chains: ["PEAQ_EVM"], popular: !1 },
1246
+ { code: "PEN", name: "Pendulum", chains: ["PEN"], popular: !1 },
1247
+ { code: "PERC", name: "Perion", chains: ["ETH"], popular: !1 },
1248
+ { code: "PI", name: "Pi", chains: ["PI"], popular: !1 },
1249
+ { code: "PLMC", name: "Polimec", chains: ["PLMC"], popular: !1 },
1250
+ { code: "POL", name: "Polygon", chains: ["ETH", "MATIC"], popular: !1 },
1251
+ { code: "POLYX", name: "Polymesh", chains: ["POLYX"], popular: !1 },
1252
+ { code: "PROPC", name: "Propchain", chains: ["ETH"], popular: !1 },
1253
+ { code: "PSTAKE", name: "pSTAKE Finance", chains: ["ETH"], popular: !1 },
1254
+ { code: "Q", name: "QuantumCoin", chains: ["Q"], popular: !1 },
1255
+ { code: "QRDO", name: "Qredo", chains: ["ETH"], popular: !1 },
1256
+ { code: "QRL", name: "Quantum Resistant Ledger", chains: ["QRL"], popular: !1 },
1257
+ { code: "QUBIC", name: "QUBIC", chains: ["QUBIC"], popular: !1 },
1258
+ { code: "RBX", name: "ReserveBlock", chains: ["RBX"], popular: !1 },
1259
+ { code: "REVU", name: "Revuto", chains: ["ADA"], popular: !1 },
1260
+ { code: "RITE", name: "Ritestream", chains: ["BSC"], popular: !1 },
1261
+ { code: "RLUSD", name: "Ripple USD", chains: ["ETH"], popular: !1 },
1262
+ { code: "RON", name: "Ronin", chains: ["RON"], popular: !1 },
1263
+ { code: "RUNE", name: "THORChain", chains: ["THORCHAIN"], popular: !1 },
1264
+ { code: "S", name: "Sonic", chains: ["S"], popular: !1 },
1265
+ { code: "SAND", name: "The Sandbox", chains: ["ETH", "BSC"], popular: !1 },
1266
+ { code: "SEI", name: "SEI", chains: ["SEI_EVM"], popular: !1 },
1267
+ { code: "SNX", name: "Synthetix", chains: ["ETH"], popular: !1 },
1268
+ { code: "SOIL", name: "Sun Minimeal", chains: ["PLS"], popular: !1 },
1269
+ { code: "SOLO", name: "Sologenic", chains: ["XRP"], popular: !1 },
1270
+ { code: "SOMI", name: "Somnia", chains: ["SOMI"], popular: !1 },
1271
+ { code: "STRK", name: "Starknet", chains: ["STARK"], popular: !1 },
1272
+ { code: "SUI", name: "Sui", chains: ["SUI"], popular: !1 },
1273
+ { code: "SUPR", name: "SuperDapp", chains: ["ROLLUX"], popular: !1 },
1274
+ { code: "SUPRA", name: "Supra", chains: ["SUPRA"], popular: !1 },
1275
+ { code: "SUSHI", name: "SushiSwap", chains: ["ETH", "BSC"], popular: !1 },
1276
+ { code: "SYS", name: "Syscoin", chains: ["ROLLUX"], popular: !1 },
1277
+ { code: "TBTC", name: "tBTC", chains: ["SUI", "STARK"], popular: !1 },
1278
+ { code: "TON", name: "Toncoin", chains: ["TON"], popular: !1 },
1279
+ { code: "TRUMP", name: "TRUMP", chains: ["SOL"], popular: !1 },
1280
+ { code: "TRX", name: "Tron", chains: ["TRON", "BSC"], popular: !1 },
1281
+ { code: "TWT", name: "Trust Wallet Token", chains: ["BSC"], popular: !1 },
1282
+ { code: "UNI", name: "Uniswap", chains: ["ETH", "BSC"], popular: !1 },
1283
+ { code: "URANIUM", name: "Uranium", chains: ["ETHERLINK"], popular: !1 },
1284
+ { code: "USD0", name: "Usual USD", chains: ["ETH"], popular: !1 },
1285
+ { code: "USD1", name: "World Liberty Financial USD", chains: ["SOL"], popular: !1 },
1286
+ { code: "USDE", name: "Ethena USDe", chains: ["ETH"], popular: !1 },
1287
+ { code: "USDP", name: "Pax Dollar", chains: ["ETH"], popular: !1 },
1288
+ { code: "USDQ", name: "Quantoz USDQ", chains: ["ETH"], popular: !1 },
1289
+ { code: "USDR", name: "StablR USD", chains: ["ETH"], popular: !1 },
1290
+ { code: "USDT0", name: "USDT0", chains: ["INK"], popular: !1 },
1291
+ { code: "VFX", name: "VerifiedX", chains: ["VERIFIEDX"], popular: !1 },
1292
+ { code: "VERSE", name: "Verse", chains: ["ETH", "MATIC"], popular: !1 },
1293
+ { code: "VIC", name: "Viction", chains: ["VIC"], popular: !1 },
1294
+ { code: "WAL", name: "Walrus", chains: ["SUI"], popular: !1 },
1295
+ { code: "WAVES", name: "Waves", chains: ["WAVES"], popular: !1 },
1296
+ { code: "WAXP", name: "WAX", chains: ["WAX"], popular: !1 },
1297
+ { code: "WBTC", name: "Wrapped Bitcoin", chains: ["ETH", "STARK"], popular: !1 },
1298
+ { code: "WETH", name: "Wrapped Ether", chains: ["ETHERLINK"], popular: !1 },
1299
+ { code: "WLD", name: "Worldcoin", chains: ["WLD"], popular: !1 },
1300
+ { code: "WLFI", name: "World Liberty Financial", chains: ["ETH"], popular: !1 },
1301
+ { code: "WOLF", name: "LandWolf", chains: ["ETH"], popular: !1 },
1302
+ { code: "WOMBAT", name: "Wombat", chains: ["MATIC"], popular: !1 },
1303
+ { code: "XCH", name: "Chia", chains: ["XCH"], popular: !1 },
1304
+ { code: "XLM", name: "Stellar Lumens", chains: ["XLM", "BSC"], popular: !1 },
1305
+ { code: "XPRT", name: "Persistence", chains: ["XPRT"], popular: !1 },
1306
+ { code: "XTZ", name: "Tezos", chains: ["XTZ", "ETHERLINK"], popular: !1 },
1307
+ { code: "YFI", name: "yearn.finance", chains: ["ETH"], popular: !1 },
1308
+ { code: "ZBU", name: "Zeebu", chains: ["BSC"], popular: !1 },
1309
+ { code: "ZEC", name: "ZCash", chains: ["ZEC"], popular: !1 },
1310
+ { code: "ZCHF", name: "Frankencoin", chains: ["ETH"], popular: !1 },
1311
+ { code: "ZETA", name: "Zeta", chains: ["ETH", "ZETACHAIN"], popular: !1 },
1312
+ { code: "ZTG", name: "Zeitgeist", chains: ["ZTG"], popular: !1 }
1313
+ ], Gt = {
1314
+ USD: "us",
1315
+ EUR: "eu",
1316
+ GBP: "gb",
1317
+ JPY: "jp",
1318
+ CAD: "ca",
1319
+ AUD: "au",
1320
+ BRL: "br",
1321
+ CHF: "ch",
1322
+ MXN: "mx",
1323
+ INR: "in",
1324
+ ARS: "ar",
1325
+ ALL: "al"
1326
+ };
1327
+ function pt(t, a = "") {
1328
+ return `${a}/crypto-icons/${t.toLowerCase()}.svg`;
1329
+ }
1330
+ function Wt(t, a = "") {
1331
+ const n = Gt[t] || "us";
1332
+ return `${a}/flags/${n}.svg`;
1333
+ }
1334
+ function Ke(t, a = "") {
1335
+ const n = Re[t];
1336
+ return n ? `${a}/crypto-icons/${n.icon}.svg` : `${a}/crypto-icons/${t.toLowerCase()}.svg`;
1337
+ }
1338
+ const lt = [
1339
+ { code: "ALL", name: "Albania Lek" },
1340
+ { code: "ARS", name: "Argentina Peso" },
1341
+ { code: "AUD", name: "Australian Dollar" },
1342
+ { code: "BRL", name: "Brazilian Real" },
1343
+ { code: "CAD", name: "Canadian Dollar" },
1344
+ { code: "EUR", name: "Euro" },
1345
+ { code: "GBP", name: "British Pound" },
1346
+ { code: "JPY", name: "Japanese Yen" },
1347
+ { code: "USD", name: "US Dollar" },
1348
+ { code: "CHF", name: "Swiss Franc" },
1349
+ { code: "MXN", name: "Mexican Peso" },
1350
+ { code: "INR", name: "Indian Rupee" }
1351
+ ], ct = [
1352
+ { id: "blue", name: "Blue", accent: "#0077FF" },
1353
+ { id: "violet", name: "Violet", accent: "#7C3AED" },
1354
+ { id: "green", name: "Green", accent: "#10B981" },
1355
+ { id: "orange", name: "Orange", accent: "#F59E0B" },
1356
+ { id: "rose", name: "Rose", accent: "#F43F5E" },
1357
+ { id: "mono", name: "Mono", accent: null }
1358
+ ], st = {
1359
+ USDC: { USD: 0.9962, EUR: 1.0814, GBP: 1.2573, JPY: 667e-5, CAD: 0.7198, AUD: 0.6384, BRL: 0.1726, CHF: 1.1306, MXN: 0.0487, INR: 0.01187, ARS: 855e-6, ALL: 0.01058 },
1360
+ USDT: { USD: 0.9958, EUR: 1.081, GBP: 1.2568, JPY: 666e-5, CAD: 0.7194, AUD: 0.638, BRL: 0.1724, CHF: 1.1301, MXN: 0.0486, INR: 0.01186, ARS: 854e-6, ALL: 0.01057 },
1361
+ BTC: { USD: 104e-7, EUR: 1129e-8, GBP: 1313e-8, JPY: 696e-10, CAD: 751e-8, AUD: 666e-8, BRL: 18e-7, CHF: 118e-7, MXN: 508e-9, INR: 124e-9, ARS: 892e-11, ALL: 11e-8 },
1362
+ ETH: { USD: 316e-6, EUR: 343e-6, GBP: 399e-6, JPY: 211e-8, CAD: 228e-6, AUD: 202e-6, BRL: 547e-7, CHF: 358e-6, MXN: 154e-7, INR: 376e-8, ARS: 271e-9, ALL: 335e-8 },
1363
+ SOL: { USD: 424e-5, EUR: 4607e-6, GBP: 5356e-6, JPY: 284e-7, CAD: 3063e-6, AUD: 2716e-6, BRL: 734e-6, CHF: 4812e-6, MXN: 207e-6, INR: 505e-7, ARS: 364e-8, ALL: 45e-6 },
1364
+ XRP: { USD: 0.4081, EUR: 0.4432, GBP: 0.5153, JPY: 273e-5, CAD: 0.2948, AUD: 0.2614, BRL: 0.0707, CHF: 0.463, MXN: 0.01992, INR: 486e-5, ARS: 35e-5, ALL: 433e-5 },
1365
+ DOGE: { USD: 3.896, EUR: 4.232, GBP: 4.92, JPY: 0.02607, CAD: 2.815, AUD: 2.496, BRL: 0.675, CHF: 4.421, MXN: 0.1902, INR: 0.04641, ARS: 3345e-6, ALL: 0.04134 },
1366
+ ADA: { USD: 1.333, EUR: 1.448, GBP: 1.683, JPY: 892e-5, CAD: 0.963, AUD: 0.854, BRL: 0.2309, CHF: 1.512, MXN: 0.0651, INR: 0.01588, ARS: 1145e-6, ALL: 0.01414 }
1367
+ };
1368
+ function xa(t, a) {
1369
+ var n, l;
1370
+ return ((n = st[t]) == null ? void 0 : n[a]) ?? ((l = st.USDC) == null ? void 0 : l[a]) ?? 1;
1371
+ }
1372
+ function Yt(t) {
1373
+ return parseFloat(t.replace(/,/g, "")) || 0;
1374
+ }
1375
+ function ga(t) {
1376
+ if (t === 0) return "0";
1377
+ if (t >= 1e3) return t.toLocaleString("en-US", { maximumFractionDigits: 2 });
1378
+ if (t >= 1) return t.toFixed(2);
1379
+ if (t >= 0.01) return t.toFixed(4);
1380
+ const a = t.toPrecision(4);
1381
+ return parseFloat(a).toString();
1382
+ }
1383
+ const Fe = (t) => /^#([0-9A-Fa-f]{3}){1,2}$/.test(t), it = 10, dt = 1e-4, Vt = (() => {
1384
+ const t = [];
1385
+ for (const a of $t)
1386
+ for (const n of a.chains)
1387
+ t.push({ code: a.code, name: a.name, chain: n, popular: a.popular });
1388
+ return t;
1389
+ })();
1390
+ function ut({ ticker: t, size: a = 32, baseUrl: n = "" }) {
1391
+ return /* @__PURE__ */ e(
1392
+ "img",
1393
+ {
1394
+ src: pt(t, n),
1395
+ alt: t,
1396
+ width: a,
1397
+ height: a,
1398
+ className: "rounded-full shrink-0",
1399
+ style: { width: a, height: a }
1400
+ }
1401
+ );
1402
+ }
1403
+ function _e({ currencyCode: t, size: a = 16, baseUrl: n = "" }) {
1404
+ return /* @__PURE__ */ e(
1405
+ "img",
1406
+ {
1407
+ src: Wt(t, n),
1408
+ alt: t,
1409
+ width: a,
1410
+ height: a,
1411
+ className: "rounded-full shrink-0",
1412
+ style: { width: a, height: a }
1413
+ }
1414
+ );
1415
+ }
1416
+ function ft({ size: t = 32, color: a = "#888" }) {
1417
+ return /* @__PURE__ */ o("svg", { width: t, height: t, viewBox: "0 0 32 32", fill: "none", children: [
1418
+ /* @__PURE__ */ e("circle", { cx: "16", cy: "16", r: "16", fill: a }),
1419
+ /* @__PURE__ */ e("circle", { cx: "16", cy: "16", r: "8", stroke: "white", strokeWidth: "1.5", fill: "none" })
1420
+ ] });
1421
+ }
1422
+ function jt({ size: t = 24 }) {
1423
+ return /* @__PURE__ */ o("svg", { width: t, height: t, viewBox: "0 0 32 32", fill: "none", children: [
1424
+ /* @__PURE__ */ e("circle", { cx: "16", cy: "16", r: "16", fill: "#0077FF" }),
1425
+ /* @__PURE__ */ e("path", { d: "M8 15l8-6 8 6H8z", fill: "white" }),
1426
+ /* @__PURE__ */ e("rect", { x: "10", y: "16", width: "2", height: "6", fill: "white" }),
1427
+ /* @__PURE__ */ e("rect", { x: "15", y: "16", width: "2", height: "6", fill: "white" }),
1428
+ /* @__PURE__ */ e("rect", { x: "20", y: "16", width: "2", height: "6", fill: "white" }),
1429
+ /* @__PURE__ */ e("rect", { x: "8", y: "22", width: "16", height: "2", rx: "0.5", fill: "white" })
1430
+ ] });
1431
+ }
1432
+ function Qt({ size: t = 32 }) {
1433
+ return /* @__PURE__ */ e(
1434
+ "div",
1435
+ {
1436
+ className: "rounded-full flex items-center justify-center text-white font-semibold shrink-0",
1437
+ style: { width: t, height: t, backgroundColor: "#333", fontSize: t * 0.45 },
1438
+ children: "R"
1439
+ }
1440
+ );
1441
+ }
1442
+ function Zt({ size: t = 32 }) {
1443
+ return /* @__PURE__ */ e(
1444
+ "div",
1445
+ {
1446
+ className: "rounded-full bg-black border border-white/20 flex items-center justify-center text-white shrink-0",
1447
+ style: { width: t, height: t, fontSize: t * 0.3 },
1448
+ children: /* @__PURE__ */ e("span", { style: { fontFamily: "-apple-system, system-ui, sans-serif", fontWeight: 600 }, children: "Pay" })
1449
+ }
1450
+ );
1451
+ }
1452
+ function Jt({ size: t = 32 }) {
1453
+ return /* @__PURE__ */ o(
1454
+ "div",
1455
+ {
1456
+ className: "rounded-full bg-white flex items-center justify-center shrink-0",
1457
+ style: { width: t, height: t, fontSize: t * 0.28, fontWeight: 700, color: "#333" },
1458
+ children: [
1459
+ "G",
1460
+ /* @__PURE__ */ e("span", { style: { color: "#4285F4", fontSize: t * 0.2 }, children: "Pay" })
1461
+ ]
1462
+ }
1463
+ );
1464
+ }
1465
+ function zt({ size: t = 32 }) {
1466
+ return /* @__PURE__ */ e(
1467
+ "div",
1468
+ {
1469
+ className: "rounded-full flex items-center justify-center shrink-0",
1470
+ style: { width: t, height: t, background: "#003087" },
1471
+ children: /* @__PURE__ */ e("span", { className: "text-white font-bold", style: { fontSize: t * 0.38 }, children: "P" })
1472
+ }
1473
+ );
1474
+ }
1475
+ function qt({ size: t = 32 }) {
1476
+ return /* @__PURE__ */ e(
1477
+ "div",
1478
+ {
1479
+ className: "rounded-full flex items-center justify-center shrink-0",
1480
+ style: { width: t, height: t, background: "var(--t-card-icon-bg)" },
1481
+ children: /* @__PURE__ */ o("svg", { width: t * 0.55, height: t * 0.55, viewBox: "0 0 18 14", fill: "none", children: [
1482
+ /* @__PURE__ */ e("rect", { x: "0.5", y: "0.5", width: "17", height: "13", rx: "2", stroke: "var(--t-card-icon-stroke)" }),
1483
+ /* @__PURE__ */ e("rect", { y: "3", width: "18", height: "3", fill: "var(--t-card-icon-stroke)" })
1484
+ ] })
1485
+ }
1486
+ );
1487
+ }
1488
+ function va({ size: t = 18 }) {
1489
+ return /* @__PURE__ */ e(
1490
+ "div",
1491
+ {
1492
+ className: "rounded-full bg-white flex items-center justify-center shrink-0",
1493
+ style: { width: t, height: t },
1494
+ children: /* @__PURE__ */ e("span", { className: "text-black font-bold", style: { fontSize: t * 0.55 }, children: "C" })
1495
+ }
1496
+ );
1497
+ }
1498
+ function Te() {
1499
+ return /* @__PURE__ */ e("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M3 4.5L6 7.5L9 4.5", stroke: "var(--t-text-secondary)", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }) });
1500
+ }
1501
+ function ea() {
1502
+ return /* @__PURE__ */ e("svg", { width: "8", height: "14", viewBox: "0 0 8 14", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 1L7 7L1 13", stroke: "var(--t-icon-stroke)", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }) });
1503
+ }
1504
+ function ta({ onClick: t }) {
1505
+ return /* @__PURE__ */ e("button", { onClick: t, className: "hover:opacity-70 transition-opacity", children: /* @__PURE__ */ e("svg", { width: "24", height: "16", viewBox: "0 0 24 16", fill: "none", children: /* @__PURE__ */ e(
1506
+ "path",
1507
+ {
1508
+ d: "M4 0.799805H20C21.7673 0.799805 23.2002 2.23269 23.2002 4V12C23.2002 13.7673 21.7673 15.2002 20 15.2002H4C2.23269 15.2002 0.799805 13.7673 0.799805 12V4C0.799805 2.23269 2.23269 0.799805 4 0.799805Z",
1509
+ stroke: "var(--t-icon-stroke)",
1510
+ strokeWidth: "1.6"
1511
+ }
1512
+ ) }) });
1513
+ }
1514
+ function aa({ size: t = 40 }) {
1515
+ return /* @__PURE__ */ e(
1516
+ "div",
1517
+ {
1518
+ className: "rounded-full flex items-center justify-center shrink-0",
1519
+ style: { width: t, height: t, background: "var(--t-surface)" },
1520
+ children: /* @__PURE__ */ o("svg", { width: t * 0.5, height: t * 0.5, viewBox: "0 0 20 20", fill: "none", children: [
1521
+ /* @__PURE__ */ e("circle", { cx: "10", cy: "10", r: "7.5", stroke: "var(--t-text)", strokeWidth: "1.5" }),
1522
+ /* @__PURE__ */ e("path", { d: "M10 2.5A7.5 7.5 0 0 1 10 17.5", fill: "var(--t-text)" })
1523
+ ] })
1524
+ }
1525
+ );
1526
+ }
1527
+ function Na(t, a = 32) {
1528
+ switch (t) {
1529
+ case "revolut":
1530
+ return /* @__PURE__ */ e(Qt, { size: a });
1531
+ case "applepay":
1532
+ return /* @__PURE__ */ e(Zt, { size: a });
1533
+ case "card":
1534
+ return /* @__PURE__ */ e(qt, { size: a });
1535
+ case "googlepay":
1536
+ return /* @__PURE__ */ e(Jt, { size: a });
1537
+ case "paypal":
1538
+ return /* @__PURE__ */ e(zt, { size: a });
1539
+ case "bank":
1540
+ return /* @__PURE__ */ e(jt, { size: a });
1541
+ default:
1542
+ return /* @__PURE__ */ e(ft, { size: a });
1543
+ }
1544
+ }
1545
+ function Le({ onClick: t }) {
1546
+ return /* @__PURE__ */ e(
1547
+ "button",
1548
+ {
1549
+ onClick: t,
1550
+ className: "flex items-center justify-center transition-colors rounded-full shrink-0",
1551
+ style: { width: 30, height: 30, backgroundColor: "var(--t-close-bg)" },
1552
+ onMouseEnter: (a) => a.currentTarget.style.backgroundColor = "var(--t-close-hover)",
1553
+ onMouseLeave: (a) => a.currentTarget.style.backgroundColor = "var(--t-close-bg)",
1554
+ children: /* @__PURE__ */ e("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 1L9 9M9 1L1 9", stroke: "var(--t-icon-close)", strokeWidth: "1.4", strokeLinecap: "round" }) })
1555
+ }
1556
+ );
1557
+ }
1558
+ function Xe({
1559
+ value: t,
1560
+ onChange: a,
1561
+ placeholder: n = ""
1562
+ }) {
1563
+ return /* @__PURE__ */ o("div", { className: "relative mx-5 mb-5", children: [
1564
+ /* @__PURE__ */ e(
1565
+ "input",
1566
+ {
1567
+ type: "text",
1568
+ value: t,
1569
+ onChange: (l) => a(l.target.value),
1570
+ placeholder: n,
1571
+ style: { height: 47, borderRadius: 4.5, borderColor: "var(--t-border)", color: "var(--t-text)", paddingLeft: 14, paddingRight: t ? 40 : 14, fontSize: 14 },
1572
+ className: "w-full bg-transparent border outline-none transition-colors"
1573
+ }
1574
+ ),
1575
+ t && /* @__PURE__ */ e(
1576
+ "button",
1577
+ {
1578
+ onClick: () => a(""),
1579
+ className: "absolute right-3 top-1/2 -translate-y-1/2 flex items-center justify-center transition-colors rounded",
1580
+ style: { width: 22, height: 22, backgroundColor: "var(--t-close-bg)", borderRadius: 4 },
1581
+ children: /* @__PURE__ */ e("svg", { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 1L7 7M7 1L1 7", stroke: "var(--t-icon-close)", strokeWidth: "1.2", strokeLinecap: "round" }) })
1582
+ }
1583
+ )
1584
+ ] });
1585
+ }
1586
+ function na({ onClose: t, onSelect: a, currencies: n }) {
1587
+ const [l, r] = C(""), i = X(() => {
1588
+ if (!n || n.length === 0) return lt;
1589
+ const d = new Map(lt.map((c) => [c.code, c.name]));
1590
+ return n.map((c) => ({
1591
+ code: c.code,
1592
+ name: c.name || d.get(c.code) || c.code
1593
+ }));
1594
+ }, [n]), m = X(() => {
1595
+ const d = l.trim().toLowerCase();
1596
+ return d ? i.filter(
1597
+ (c) => c.code.toLowerCase().includes(d) || c.name.toLowerCase().includes(d)
1598
+ ) : i;
1599
+ }, [i, l]);
1600
+ return /* @__PURE__ */ o(le, { children: [
1601
+ /* @__PURE__ */ e("div", { className: "flex justify-end px-5 pt-5", children: /* @__PURE__ */ e(Le, { onClick: t }) }),
1602
+ /* @__PURE__ */ e(
1603
+ "h2",
1604
+ {
1605
+ className: "text-center text-[17px] font-medium mt-2 mb-6",
1606
+ style: { color: "var(--t-text)" },
1607
+ children: "Select fiat currency"
1608
+ }
1609
+ ),
1610
+ /* @__PURE__ */ e(Xe, { value: l, onChange: r }),
1611
+ /* @__PURE__ */ o("div", { className: "flex-1 overflow-y-auto custom-scroll px-5", children: [
1612
+ m.map((d) => /* @__PURE__ */ o(
1613
+ "button",
1614
+ {
1615
+ onClick: () => a(d.code),
1616
+ className: "flex items-center gap-3.5 w-full py-3.5 transition-colors",
1617
+ style: { color: "var(--t-text)" },
1618
+ children: [
1619
+ /* @__PURE__ */ e(_e, { currencyCode: d.code, size: 32 }),
1620
+ /* @__PURE__ */ o("div", { className: "text-left", children: [
1621
+ /* @__PURE__ */ e("div", { className: "font-semibold text-[15px] leading-tight", children: d.code }),
1622
+ /* @__PURE__ */ e("div", { className: "text-[13px] mt-0.5", style: { color: "var(--t-text-secondary)" }, children: d.name })
1623
+ ] })
1624
+ ]
1625
+ },
1626
+ d.code
1627
+ )),
1628
+ m.length === 0 && /* @__PURE__ */ e("div", { className: "text-center py-10 text-[14px]", style: { color: "var(--t-text-muted)" }, children: "No currencies found" })
1629
+ ] })
1630
+ ] });
1631
+ }
1632
+ function ra({ onClose: t, onSelect: a, cryptos: n, assetBaseUrl: l = "" }) {
1633
+ const [r, i] = C(""), m = X(() => {
1634
+ if (!n || n.length === 0) return Vt;
1635
+ const c = [];
1636
+ for (const u of n) {
1637
+ const p = u.networks || [];
1638
+ if (p.length === 0)
1639
+ c.push({ code: u.code, name: u.name || u.code, chain: u.code, popular: !1 });
1640
+ else
1641
+ for (const f of p) {
1642
+ const x = f.code || f.id || f.name || u.code;
1643
+ c.push({
1644
+ code: u.code,
1645
+ name: u.name || u.code,
1646
+ chain: x,
1647
+ chainName: f.name,
1648
+ popular: !1
1649
+ });
1650
+ }
1651
+ }
1652
+ return c;
1653
+ }, [n]), d = X(() => {
1654
+ var f;
1655
+ const c = r.trim().toLowerCase();
1656
+ if (!c) return m;
1657
+ const u = c.split(/\s+/), p = [];
1658
+ for (const x of m) {
1659
+ const g = Re[x.chain], h = g ? g.name.toLowerCase() : "", b = ((f = g == null ? void 0 : g.shortName) == null ? void 0 : f.toLowerCase()) || "", L = x.chain.toLowerCase(), O = x.code.toLowerCase(), A = x.name.toLowerCase(), G = [O, A, h, b, L];
1660
+ if (!u.every((Z) => G.some((s) => s.includes(Z)))) continue;
1661
+ let W = 0;
1662
+ O === c ? W += 100 : O.startsWith(u[0]) && (W += 50), x.popular && (W += 10), u.length > 1 && (h.includes(u[1]) || b.includes(u[1]) || L.includes(u[1])) && (W += 25), p.push({ item: x, score: W });
1663
+ }
1664
+ return p.sort((x, g) => g.score - x.score), p.map((x) => x.item);
1665
+ }, [m, r]);
1666
+ return /* @__PURE__ */ o(le, { children: [
1667
+ /* @__PURE__ */ e("div", { className: "flex justify-end px-5 pt-5", children: /* @__PURE__ */ e(Le, { onClick: t }) }),
1668
+ /* @__PURE__ */ e(
1669
+ "h2",
1670
+ {
1671
+ className: "text-center text-[17px] font-medium mt-2 mb-6",
1672
+ style: { color: "var(--t-text)" },
1673
+ children: "Select crypto currency"
1674
+ }
1675
+ ),
1676
+ /* @__PURE__ */ e(Xe, { value: r, onChange: i }),
1677
+ /* @__PURE__ */ o("div", { className: "flex-1 overflow-y-auto custom-scroll px-5", children: [
1678
+ d.map((c) => {
1679
+ const u = Re[c.chain], p = (u == null ? void 0 : u.name) || c.chainName || c.chain;
1680
+ return /* @__PURE__ */ o(
1681
+ "button",
1682
+ {
1683
+ onClick: () => a(c.code, c.chain),
1684
+ className: "flex items-center gap-3.5 w-full py-3.5 transition-colors",
1685
+ children: [
1686
+ /* @__PURE__ */ o("div", { className: "relative shrink-0", style: { width: 40, height: 40 }, children: [
1687
+ /* @__PURE__ */ e(
1688
+ "img",
1689
+ {
1690
+ src: pt(c.code, l),
1691
+ alt: c.code,
1692
+ width: 32,
1693
+ height: 32,
1694
+ className: "rounded-full absolute top-0 left-0",
1695
+ style: { width: 32, height: 32 }
1696
+ }
1697
+ ),
1698
+ /* @__PURE__ */ e(
1699
+ "img",
1700
+ {
1701
+ src: Ke(c.chain, l),
1702
+ alt: c.chain,
1703
+ width: 16,
1704
+ height: 16,
1705
+ className: "rounded-full absolute",
1706
+ style: {
1707
+ width: 16,
1708
+ height: 16,
1709
+ bottom: 0,
1710
+ right: 0,
1711
+ border: "2px solid var(--t-chain-border)"
1712
+ }
1713
+ }
1714
+ )
1715
+ ] }),
1716
+ /* @__PURE__ */ o("div", { className: "text-left flex-1 min-w-0", children: [
1717
+ /* @__PURE__ */ e(
1718
+ "div",
1719
+ {
1720
+ className: "font-semibold text-[15px] leading-tight",
1721
+ style: { color: "var(--t-text)" },
1722
+ children: c.code
1723
+ }
1724
+ ),
1725
+ /* @__PURE__ */ e("div", { className: "text-[13px] mt-0.5", style: { color: "var(--t-text-secondary)" }, children: c.name })
1726
+ ] }),
1727
+ /* @__PURE__ */ e("div", { className: "text-right shrink-0", children: /* @__PURE__ */ e("div", { className: "text-[13px]", style: { color: "var(--t-text-muted)" }, children: p }) })
1728
+ ]
1729
+ },
1730
+ `${c.code}-${c.chain}`
1731
+ );
1732
+ }),
1733
+ d.length === 0 && /* @__PURE__ */ e("div", { className: "text-center py-10 text-[14px]", style: { color: "var(--t-text-muted)" }, children: "No currencies found" })
1734
+ ] })
1735
+ ] });
1736
+ }
1737
+ function oa({
1738
+ checked: t,
1739
+ onChange: a,
1740
+ accentColor: n = "var(--t-accent)"
1741
+ }) {
1742
+ return /* @__PURE__ */ e(
1743
+ "button",
1744
+ {
1745
+ onClick: () => a(!t),
1746
+ className: "relative shrink-0 transition-colors duration-200",
1747
+ style: {
1748
+ width: 48,
1749
+ height: 28,
1750
+ borderRadius: 14,
1751
+ backgroundColor: t ? n : "var(--t-border)"
1752
+ },
1753
+ children: /* @__PURE__ */ e(
1754
+ "div",
1755
+ {
1756
+ className: "absolute top-[3px] rounded-full bg-white shadow transition-transform duration-200",
1757
+ style: {
1758
+ width: 22,
1759
+ height: 22,
1760
+ transform: t ? "translateX(23px)" : "translateX(3px)"
1761
+ }
1762
+ }
1763
+ )
1764
+ }
1765
+ );
1766
+ }
1767
+ const la = [
1768
+ { label: "Privacy policy", href: "https://nowramp.com/privacy-policy" },
1769
+ { label: "Terms of use", href: "https://nowramp.com/terms-and-conditions" }
1770
+ ];
1771
+ function ca({
1772
+ onClose: t,
1773
+ darkMode: a,
1774
+ onToggleDarkMode: n,
1775
+ skinId: l,
1776
+ onSelectSkin: r
1777
+ }) {
1778
+ return /* @__PURE__ */ o(le, { children: [
1779
+ /* @__PURE__ */ e("div", { className: "flex justify-end items-center px-5 pt-5", children: /* @__PURE__ */ e(Le, { onClick: t }) }),
1780
+ /* @__PURE__ */ o("div", { className: "px-5 flex-1 pt-6 overflow-y-auto custom-scroll", children: [
1781
+ /* @__PURE__ */ e("div", { style: { borderTop: "1px solid var(--t-divider)" }, children: /* @__PURE__ */ o("div", { className: "flex items-center justify-between w-full py-5", children: [
1782
+ /* @__PURE__ */ o("div", { className: "flex items-center gap-3.5", children: [
1783
+ /* @__PURE__ */ e(aa, { size: 40 }),
1784
+ /* @__PURE__ */ e(
1785
+ "span",
1786
+ {
1787
+ className: "font-medium text-[15px]",
1788
+ style: { color: "var(--t-text)" },
1789
+ children: "Dark Mode"
1790
+ }
1791
+ )
1792
+ ] }),
1793
+ /* @__PURE__ */ e(oa, { checked: a, onChange: n, accentColor: "#4CD964" })
1794
+ ] }) }),
1795
+ /* @__PURE__ */ e("div", { style: { height: 1, background: "var(--t-divider)" } }),
1796
+ la.map((i) => /* @__PURE__ */ o("div", { children: [
1797
+ /* @__PURE__ */ o(
1798
+ "a",
1799
+ {
1800
+ href: i.href,
1801
+ target: "_blank",
1802
+ rel: "noopener noreferrer",
1803
+ className: "flex items-center justify-between w-full py-5 transition-colors",
1804
+ children: [
1805
+ /* @__PURE__ */ e(
1806
+ "span",
1807
+ {
1808
+ className: "font-medium text-[15px]",
1809
+ style: { color: "var(--t-text)" },
1810
+ children: i.label
1811
+ }
1812
+ ),
1813
+ /* @__PURE__ */ e(ea, {})
1814
+ ]
1815
+ }
1816
+ ),
1817
+ /* @__PURE__ */ e("div", { style: { height: 1, background: "var(--t-divider)" } })
1818
+ ] }, i.label))
1819
+ ] })
1820
+ ] });
1821
+ }
1822
+ function sa({
1823
+ className: t = "",
1824
+ theme: a = "dark",
1825
+ skinId: n = "mono",
1826
+ accentColor: l,
1827
+ bgColor: r,
1828
+ bgImage: i,
1829
+ borderColor: m,
1830
+ borderRadius: d,
1831
+ showFlowToggle: c = !0,
1832
+ autoRedirect: u = !1,
1833
+ explorerUrl: p,
1834
+ doneButtonText: f = "Done",
1835
+ supportEmail: x,
1836
+ onDone: g
1837
+ }) {
1838
+ var Je, ze, qe, et, tt, at, nt;
1839
+ const {
1840
+ state: h,
1841
+ dispatch: b,
1842
+ config: L,
1843
+ configLoading: O,
1844
+ quotes: A,
1845
+ quotesLoading: G,
1846
+ quotesError: j,
1847
+ fetchQuotes: W,
1848
+ createOrder: Z,
1849
+ orderLoading: s,
1850
+ amountError: P,
1851
+ fieldLocks: v,
1852
+ apiConfig: I,
1853
+ assetBaseUrl: D
1854
+ } = he(), [F, K] = C(a === "dark"), [ge, pe] = C(n), [fe, Y] = C(null), [ye, ee] = C(!1), [ve, ce] = C(!1), [se, Ne] = C(!1), [V, te] = C(null), [ae, Ce] = C(!0), [be, Ee] = C(!1), [J, ie] = C(!1), Ie = U(null), xe = U(), N = U(h.flowType);
1855
+ H(() => {
1856
+ K(a === "dark");
1857
+ }, [a]), H(() => {
1858
+ const y = setTimeout(() => Ce(!1), O ? 0 : 800);
1859
+ return () => clearTimeout(y);
1860
+ }, [O]), H(() => {
1861
+ if (N.current !== h.flowType && !ae) {
1862
+ N.current = h.flowType, Ee(!0), ee(!1), ce(!1);
1863
+ const y = setTimeout(() => Ee(!1), 350);
1864
+ return () => clearTimeout(y);
1865
+ }
1866
+ N.current = h.flowType;
1867
+ }, [h.flowType, ae]);
1868
+ const S = h.flowType, R = S === "buy", k = h.cryptoCurrency || "BTC", w = h.fiatCurrency || "USD", _ = R ? h.fiatAmount : h.cryptoAmount, ne = Yt(_), de = (Je = A == null ? void 0 : A.bestQuote) != null && Je.exchangeRate ? parseFloat(A.bestQuote.exchangeRate) : null, Ae = U(null);
1869
+ de && k && w && (Ae.current = { rate: de, crypto: k, fiat: w });
1870
+ const yt = X(() => {
1871
+ if (A != null && A.bestQuote) {
1872
+ const y = R ? A.bestQuote.cryptoAmount : A.bestQuote.fiatAmount;
1873
+ if (y) return y;
1874
+ }
1875
+ return "0";
1876
+ }, [A, R]), xt = X(() => {
1877
+ var M, z, Oe;
1878
+ const y = de || ((M = Ae.current) == null ? void 0 : M.rate), E = de ? k : (z = Ae.current) == null ? void 0 : z.crypto, T = de ? w : (Oe = Ae.current) == null ? void 0 : Oe.fiat;
1879
+ return !y || !E || !T ? "" : `1 ${E} ≈ ${y.toFixed(2)} ${T}`;
1880
+ }, [k, w, de]);
1881
+ H(() => {
1882
+ const y = h.walletAddress.trim(), E = h.network;
1883
+ if (!y || y.length < 10) {
1884
+ te(null), b({ type: "SET_WALLET_ERROR", message: "" });
1885
+ return;
1886
+ }
1887
+ return Ne(!0), te(null), clearTimeout(xe.current), xe.current = setTimeout(async () => {
1888
+ var T, M, z;
1889
+ try {
1890
+ const Pe = await (await fetch(`${I.apiUrl}/public/validate/address`, {
1891
+ method: "POST",
1892
+ headers: { "Content-Type": "application/json" },
1893
+ body: JSON.stringify({ address: y, ...E ? { network: E } : {} })
1894
+ })).json(), He = ((T = Pe.data) == null ? void 0 : T.attributes) || Pe.data || Pe;
1895
+ if (He.isValid)
1896
+ te(!0), b({ type: "SET_WALLET_ERROR", message: "" });
1897
+ else {
1898
+ te(!1);
1899
+ const At = ((M = He.errors) == null ? void 0 : M[0]) || ((z = He.details) == null ? void 0 : z.formatMessage) || "Invalid wallet address";
1900
+ b({ type: "SET_WALLET_ERROR", message: At });
1901
+ }
1902
+ } catch {
1903
+ te(null);
1904
+ } finally {
1905
+ Ne(!1);
1906
+ }
1907
+ }, 500), () => clearTimeout(xe.current);
1908
+ }, [h.walletAddress, h.network, I.apiUrl]);
1909
+ const $e = !_ || ne === 0, Ge = ne > 0 && (R ? ne < it : ne < dt), We = !!P || Ge || ye && $e, gt = ne > 0 && !P && !Ge, Be = h.walletAddress.trim().length >= 10 && V !== !1 && !se, Se = gt && Be && !!h.cryptoCurrency && !!h.network, vt = (y) => {
1910
+ let E = y.target.value.replace(/[^0-9.,]/g, "");
1911
+ const T = R ? 2 : 6, M = E.indexOf(".");
1912
+ M !== -1 && E.length - M - 1 > T && (E = E.slice(0, M + T + 1)), b(R ? { type: "SET_FIAT_AMOUNT", amount: E } : { type: "SET_CRYPTO_AMOUNT", amount: E });
1913
+ }, Ye = (y) => {
1914
+ y !== S && b({ type: "SET_FLOW_TYPE", flowType: y });
1915
+ }, Nt = $(
1916
+ (y) => {
1917
+ b({ type: "SET_FIAT_CURRENCY", currency: y });
1918
+ },
1919
+ [b]
1920
+ ), Ct = $(
1921
+ (y, E) => {
1922
+ b({ type: "SET_CRYPTO_CURRENCY", currency: y }), b({ type: "SET_CRYPTO_CHAIN", chain: E });
1923
+ },
1924
+ [b]
1925
+ ), bt = () => {
1926
+ Se && (ie(!0), W());
1927
+ };
1928
+ H(() => {
1929
+ var y;
1930
+ if (!(!J || G)) {
1931
+ if (A != null && A.bestQuote)
1932
+ ie(!1), b({ type: "SELECT_QUOTE", quote: A.bestQuote }), Z().catch(() => {
1933
+ });
1934
+ else if (j)
1935
+ ie(!1), b({ type: "SET_ERROR", message: j.message || "No quotes available" });
1936
+ else if (A && !A.bestQuote) {
1937
+ ie(!1);
1938
+ const E = (y = A.unavailableGateways) == null ? void 0 : y.map((M) => M.reason).filter(Boolean), T = E != null && E.length ? `No providers available: ${E.join("; ")}` : "No providers available for this currency/network combination";
1939
+ b({ type: "SET_ERROR", message: T });
1940
+ }
1941
+ }
1942
+ }, [J, A, G, j, b, Z]);
1943
+ const Ve = F ? "theme-dark" : "theme-light", Me = ct.find((y) => y.id === ge) || ct[0], Et = Me.accent === null, je = (l ? Fe(l) : !1) ? { "--t-accent": l, "--t-cta-bg": l, "--t-cta-text": "#ffffff" } : Et ? {
1944
+ "--t-accent": F ? "#ffffff" : "#111111",
1945
+ "--t-cta-bg": F ? "#ffffff" : "#111111",
1946
+ "--t-cta-text": F ? "#000000" : "#ffffff"
1947
+ } : {
1948
+ "--t-accent": Me.accent,
1949
+ "--t-cta-bg": Me.accent,
1950
+ "--t-cta-text": "#ffffff"
1951
+ }, re = {};
1952
+ r && Fe(r) ? re.backgroundColor = r : re.backgroundColor = "var(--t-bg)", i && (re.backgroundImage = `url(${i})`, re.backgroundSize = "cover", re.backgroundPosition = "center");
1953
+ const we = {};
1954
+ m && Fe(m) && (we.border = `1px solid ${m}`), d && (we.borderRadius = d);
1955
+ const Qe = h.step === "checkout" ? /* @__PURE__ */ e(Ot, { autoRedirect: u }) : h.step === "processing" ? /* @__PURE__ */ e(Ht, {}) : h.step === "complete" ? /* @__PURE__ */ e(Ut, { explorerUrl: p, doneButtonText: f, onDone: g }) : h.step === "error" ? /* @__PURE__ */ e(Dt, { supportEmail: x }) : h.step === "confirm" ? /* @__PURE__ */ e(Ft, {}) : null;
1956
+ if (Qe)
1957
+ return /* @__PURE__ */ e(
1958
+ "div",
1959
+ {
1960
+ className: `${Ve} relative w-full max-w-[390px] h-[640px] overflow-hidden flex flex-col select-none transition-colors duration-300 ${t}`,
1961
+ style: {
1962
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
1963
+ ...re,
1964
+ ...je,
1965
+ ...we
1966
+ },
1967
+ children: Qe
1968
+ }
1969
+ );
1970
+ const Q = h.network, ue = Q ? Re[Q] : null, Ze = (ue == null ? void 0 : ue.shortName) || (ue == null ? void 0 : ue.name) || Q;
1971
+ return /* @__PURE__ */ o(
1972
+ "div",
1973
+ {
1974
+ className: `${Ve} relative w-full max-w-[390px] min-h-[640px] overflow-hidden flex flex-col select-none transition-colors duration-300 ${t}`,
1975
+ style: {
1976
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
1977
+ ...re,
1978
+ ...je,
1979
+ ...we
1980
+ },
1981
+ children: [
1982
+ /* @__PURE__ */ e("div", { className: `flex justify-end items-center px-5 pt-3 ${c ? "pb-1" : "pb-5"}`, children: /* @__PURE__ */ e(ta, { onClick: () => Y("settings") }) }),
1983
+ c ? /* @__PURE__ */ o("div", { className: "flex flex-col items-center pt-3 pb-5", children: [
1984
+ /* @__PURE__ */ o("div", { className: "flex", style: { width: 165 }, children: [
1985
+ /* @__PURE__ */ e(
1986
+ "button",
1987
+ {
1988
+ onClick: () => Ye("buy"),
1989
+ className: "flex-1 pb-2.5 text-[16px] font-medium text-center transition-colors duration-200",
1990
+ style: { color: S === "buy" ? "var(--t-text)" : "var(--t-text-secondary)" },
1991
+ children: "Buy"
1992
+ }
1993
+ ),
1994
+ /* @__PURE__ */ e(
1995
+ "button",
1996
+ {
1997
+ onClick: () => Ye("sell"),
1998
+ className: "flex-1 pb-2.5 text-[16px] font-medium text-center transition-colors duration-200",
1999
+ style: { color: S === "sell" ? "var(--t-text)" : "var(--t-text-secondary)" },
2000
+ children: "Sell"
2001
+ }
2002
+ )
2003
+ ] }),
2004
+ /* @__PURE__ */ o("div", { className: "relative", style: { width: 165, height: 1 }, children: [
2005
+ /* @__PURE__ */ e("div", { className: "absolute inset-0", style: { background: "var(--t-divider)" } }),
2006
+ /* @__PURE__ */ e(
2007
+ "div",
2008
+ {
2009
+ className: "absolute top-0 h-full transition-all duration-300 ease-in-out",
2010
+ style: {
2011
+ width: "50%",
2012
+ left: S === "buy" ? "0%" : "50%",
2013
+ background: "var(--t-accent)"
2014
+ }
2015
+ }
2016
+ )
2017
+ ] })
2018
+ ] }) : null,
2019
+ ae || be || O ? /* @__PURE__ */ e(Xt, {}) : /* @__PURE__ */ o("div", { className: "flex-1 overflow-hidden px-5 flex flex-col tab-fade-in", children: [
2020
+ /* @__PURE__ */ o(
2021
+ "div",
2022
+ {
2023
+ className: "px-[18px] pt-[14px] pb-[18px]",
2024
+ style: {
2025
+ background: "var(--t-surface)",
2026
+ borderRadius: 5,
2027
+ border: ye && We ? "1px solid #EF4444" : "1px solid transparent"
2028
+ },
2029
+ children: [
2030
+ /* @__PURE__ */ e("div", { className: "text-[13px] mb-2.5", style: { color: "var(--t-text-secondary)" }, children: "You spend" }),
2031
+ /* @__PURE__ */ o("div", { className: "flex items-center justify-between", children: [
2032
+ /* @__PURE__ */ e(
2033
+ "input",
2034
+ {
2035
+ ref: Ie,
2036
+ type: "text",
2037
+ value: _,
2038
+ onChange: vt,
2039
+ onBlur: () => ee(!0),
2040
+ placeholder: R ? "250" : "0.01",
2041
+ className: "bg-transparent outline-none w-0 flex-1 mr-3",
2042
+ style: { color: "var(--t-text)", fontSize: 24, fontWeight: 600, lineHeight: "32px" },
2043
+ inputMode: "decimal",
2044
+ disabled: !!((ze = v == null ? void 0 : v.sourceAmount) != null && ze.locked)
2045
+ }
2046
+ ),
2047
+ R ? /* @__PURE__ */ o(
2048
+ "button",
2049
+ {
2050
+ onClick: () => Y("fiat"),
2051
+ className: "flex items-center gap-1.5 shrink-0 transition-colors",
2052
+ style: {
2053
+ background: "var(--t-pill-bg)",
2054
+ borderRadius: 4,
2055
+ height: 32,
2056
+ paddingLeft: 10,
2057
+ paddingRight: 10
2058
+ },
2059
+ disabled: !!((qe = v == null ? void 0 : v.sourceCurrency) != null && qe.locked),
2060
+ children: [
2061
+ /* @__PURE__ */ e(_e, { currencyCode: w, size: 16, baseUrl: D }),
2062
+ /* @__PURE__ */ e("span", { className: "text-[13px] font-medium", style: { color: "var(--t-text)" }, children: w }),
2063
+ /* @__PURE__ */ e(Te, {})
2064
+ ]
2065
+ }
2066
+ ) : /* @__PURE__ */ o("div", { className: "flex flex-col items-end shrink-0", children: [
2067
+ /* @__PURE__ */ o(
2068
+ "button",
2069
+ {
2070
+ onClick: () => Y("crypto"),
2071
+ className: "flex items-center gap-1.5 transition-colors",
2072
+ style: {
2073
+ background: "var(--t-pill-bg)",
2074
+ borderRadius: 4,
2075
+ height: 32,
2076
+ paddingLeft: 10,
2077
+ paddingRight: 10
2078
+ },
2079
+ disabled: !!((et = v == null ? void 0 : v.destinationCurrency) != null && et.locked),
2080
+ children: [
2081
+ /* @__PURE__ */ e(ut, { ticker: k, size: 16, baseUrl: D }),
2082
+ /* @__PURE__ */ e("span", { className: "text-[13px] font-medium", style: { color: "var(--t-text)" }, children: k }),
2083
+ /* @__PURE__ */ e(Te, {})
2084
+ ]
2085
+ }
2086
+ ),
2087
+ Q && /* @__PURE__ */ o("div", { className: "flex items-center gap-1 mt-1.5 mr-0.5", children: [
2088
+ /* @__PURE__ */ e(
2089
+ "img",
2090
+ {
2091
+ src: Ke(Q, D),
2092
+ alt: Q,
2093
+ width: 14,
2094
+ height: 14,
2095
+ className: "rounded-full",
2096
+ style: { width: 14, height: 14 }
2097
+ }
2098
+ ),
2099
+ /* @__PURE__ */ e("span", { className: "text-[12px]", style: { color: "var(--t-text-muted)" }, children: Ze })
2100
+ ] })
2101
+ ] })
2102
+ ] })
2103
+ ]
2104
+ }
2105
+ ),
2106
+ ye && We && /* @__PURE__ */ e("div", { className: "text-[12px] mt-1.5 px-[2px]", style: { color: "#EF4444" }, children: P || ($e ? "Amount should be more than 0" : R ? `Minimum amount is ${it} ${w}` : `Minimum amount is ${dt} ${k}`) }),
2107
+ /* @__PURE__ */ o(
2108
+ "div",
2109
+ {
2110
+ className: "px-[18px] pt-[12px] pb-[14px]",
2111
+ style: {
2112
+ background: "var(--t-surface)",
2113
+ borderTopLeftRadius: 5,
2114
+ borderTopRightRadius: 5,
2115
+ borderBottomLeftRadius: 0,
2116
+ borderBottomRightRadius: 0,
2117
+ marginTop: 4
2118
+ },
2119
+ children: [
2120
+ /* @__PURE__ */ e("div", { className: "text-[13px] mb-2.5", style: { color: "var(--t-text-secondary)" }, children: "You get" }),
2121
+ /* @__PURE__ */ o("div", { className: "flex items-start justify-between", children: [
2122
+ G ? /* @__PURE__ */ e(B, { w: 180, h: 32 }) : /* @__PURE__ */ e(
2123
+ _t,
2124
+ {
2125
+ value: ne > 0 ? yt : "0",
2126
+ height: 32,
2127
+ className: "font-semibold",
2128
+ style: { color: ne > 0 ? "var(--t-text)" : "var(--t-text-muted)", fontSize: 24 }
2129
+ }
2130
+ ),
2131
+ R ? /* @__PURE__ */ o("div", { className: "flex flex-col items-end shrink-0", children: [
2132
+ /* @__PURE__ */ o(
2133
+ "button",
2134
+ {
2135
+ onClick: () => Y("crypto"),
2136
+ className: "flex items-center gap-1.5 transition-colors",
2137
+ style: {
2138
+ background: "var(--t-pill-bg)",
2139
+ borderRadius: 4,
2140
+ height: 32,
2141
+ paddingLeft: 10,
2142
+ paddingRight: 10
2143
+ },
2144
+ disabled: !!((tt = v == null ? void 0 : v.destinationCurrency) != null && tt.locked),
2145
+ children: [
2146
+ /* @__PURE__ */ e(ut, { ticker: k, size: 16, baseUrl: D }),
2147
+ /* @__PURE__ */ e("span", { className: "text-[13px] font-medium", style: { color: "var(--t-text)" }, children: k }),
2148
+ /* @__PURE__ */ e(Te, {})
2149
+ ]
2150
+ }
2151
+ ),
2152
+ Q && /* @__PURE__ */ o("div", { className: "flex items-center gap-1 mt-1.5 mr-0.5", children: [
2153
+ /* @__PURE__ */ e(
2154
+ "img",
2155
+ {
2156
+ src: Ke(Q, D),
2157
+ alt: Q,
2158
+ width: 14,
2159
+ height: 14,
2160
+ className: "rounded-full",
2161
+ style: { width: 14, height: 14 }
2162
+ }
2163
+ ),
2164
+ /* @__PURE__ */ e("span", { className: "text-[12px]", style: { color: "var(--t-text-muted)" }, children: Ze })
2165
+ ] })
2166
+ ] }) : /* @__PURE__ */ o(
2167
+ "button",
2168
+ {
2169
+ onClick: () => Y("fiat"),
2170
+ className: "flex items-center gap-1.5 shrink-0 transition-colors",
2171
+ style: {
2172
+ background: "var(--t-pill-bg)",
2173
+ borderRadius: 4,
2174
+ height: 32,
2175
+ paddingLeft: 10,
2176
+ paddingRight: 10
2177
+ },
2178
+ disabled: !!((at = v == null ? void 0 : v.sourceCurrency) != null && at.locked),
2179
+ children: [
2180
+ /* @__PURE__ */ e(_e, { currencyCode: w, size: 16, baseUrl: D }),
2181
+ /* @__PURE__ */ e("span", { className: "text-[13px] font-medium", style: { color: "var(--t-text)" }, children: w }),
2182
+ /* @__PURE__ */ e(Te, {})
2183
+ ]
2184
+ }
2185
+ )
2186
+ ] })
2187
+ ]
2188
+ }
2189
+ ),
2190
+ /* @__PURE__ */ e(
2191
+ "div",
2192
+ {
2193
+ className: "flex items-center justify-between mt-[2px] px-[18px] pt-[12px] pb-[14px]",
2194
+ style: { background: "var(--t-surface)" },
2195
+ children: /* @__PURE__ */ e("span", { className: "text-[12px]", style: { color: "var(--t-text-secondary)" }, children: xt || " " })
2196
+ }
2197
+ ),
2198
+ /* @__PURE__ */ o("div", { className: "mt-8", children: [
2199
+ /* @__PURE__ */ e("div", { className: "text-[13px] mb-2.5", style: { color: "var(--t-text-secondary)" }, children: "Wallet address" }),
2200
+ /* @__PURE__ */ e(
2201
+ "input",
2202
+ {
2203
+ type: "text",
2204
+ value: h.walletAddress,
2205
+ onChange: (y) => b({ type: "SET_WALLET_ADDRESS", address: y.target.value }),
2206
+ onBlur: () => ce(!0),
2207
+ placeholder: "Enter your wallet address",
2208
+ spellCheck: !1,
2209
+ autoComplete: "off",
2210
+ className: "w-full bg-transparent text-[13px] outline-none transition-colors",
2211
+ style: {
2212
+ border: h.walletError || ve && !Be ? "1px solid #EF4444" : "1px solid var(--t-border)",
2213
+ borderRadius: 3.5,
2214
+ height: 47,
2215
+ paddingLeft: 14,
2216
+ paddingRight: 14,
2217
+ color: "var(--t-text)"
2218
+ },
2219
+ disabled: !!((nt = v == null ? void 0 : v.destinationAddress) != null && nt.locked)
2220
+ }
2221
+ ),
2222
+ h.walletError ? /* @__PURE__ */ e("div", { className: "text-[12px] mt-1.5", style: { color: "#EF4444" }, children: h.walletError }) : ve && !Be && !se ? /* @__PURE__ */ e("div", { className: "text-[12px] mt-1.5", style: { color: "#EF4444" }, children: "Enter a valid wallet address" }) : se && h.walletAddress.trim().length >= 10 ? /* @__PURE__ */ e("div", { className: "text-[12px] mt-1.5", style: { color: "var(--t-text-muted)" }, children: "Validating address..." }) : null
2223
+ ] }),
2224
+ /* @__PURE__ */ e("div", { className: "flex-1" }),
2225
+ /* @__PURE__ */ e(
2226
+ "button",
2227
+ {
2228
+ disabled: !Se || s || J,
2229
+ onClick: bt,
2230
+ className: "w-full font-semibold text-[16px] transition-all",
2231
+ style: {
2232
+ height: 60,
2233
+ borderRadius: 5,
2234
+ background: "var(--t-cta-bg)",
2235
+ color: "var(--t-cta-text)",
2236
+ opacity: Se && !s && !J ? 1 : 0.4,
2237
+ cursor: Se && !s && !J ? "pointer" : "not-allowed"
2238
+ },
2239
+ children: J ? "Getting best price..." : s ? "Processing..." : R ? `Buy ${k}` : `Sell ${k}`
2240
+ }
2241
+ ),
2242
+ /* @__PURE__ */ e("div", { className: "text-center py-3", children: /* @__PURE__ */ e("span", { className: "text-[11px]", style: { color: "var(--t-text-tertiary)" }, children: "Powered by NowRamp" }) })
2243
+ ] }, S),
2244
+ /* @__PURE__ */ e(De, { isOpen: fe === "fiat", onClose: () => Y(null), children: (y) => {
2245
+ var E;
2246
+ return /* @__PURE__ */ e(
2247
+ na,
2248
+ {
2249
+ onClose: y,
2250
+ onSelect: (T) => {
2251
+ Nt(T), y();
2252
+ },
2253
+ currencies: (E = L == null ? void 0 : L.fiats) == null ? void 0 : E.map((T) => ({ code: T.code, name: T.code }))
2254
+ }
2255
+ );
2256
+ } }),
2257
+ /* @__PURE__ */ e(De, { isOpen: fe === "crypto", onClose: () => Y(null), children: (y) => {
2258
+ var E;
2259
+ return /* @__PURE__ */ e(
2260
+ ra,
2261
+ {
2262
+ onClose: y,
2263
+ onSelect: (T, M) => {
2264
+ Ct(T, M), y();
2265
+ },
2266
+ cryptos: (E = L == null ? void 0 : L.cryptos) == null ? void 0 : E.map((T) => {
2267
+ var M;
2268
+ return {
2269
+ code: T.code,
2270
+ name: T.code,
2271
+ networks: (M = T.networks) == null ? void 0 : M.map((z) => ({ code: z.id, name: z.name }))
2272
+ };
2273
+ }),
2274
+ assetBaseUrl: D
2275
+ }
2276
+ );
2277
+ } }),
2278
+ /* @__PURE__ */ e(De, { isOpen: fe === "settings", onClose: () => Y(null), children: (y) => /* @__PURE__ */ e(
2279
+ ca,
2280
+ {
2281
+ onClose: y,
2282
+ darkMode: F,
2283
+ onToggleDarkMode: K,
2284
+ skinId: ge,
2285
+ onSelectSkin: (E) => {
2286
+ pe(E);
2287
+ }
2288
+ }
2289
+ ) })
2290
+ ]
2291
+ }
2292
+ );
2293
+ }
2294
+ function ia({
2295
+ projectId: t,
2296
+ apiUrl: a,
2297
+ assetBaseUrl: n,
2298
+ flowType: l,
2299
+ customerId: r,
2300
+ defaultFiatCurrency: i,
2301
+ defaultCryptoCurrency: m,
2302
+ defaultNetwork: d,
2303
+ defaultFiatAmount: c,
2304
+ defaultCryptoAmount: u,
2305
+ defaultWalletAddress: p,
2306
+ defaultGateway: f,
2307
+ fieldLocks: x,
2308
+ statusPollInterval: g,
2309
+ onComplete: h,
2310
+ onError: b,
2311
+ className: L,
2312
+ theme: O,
2313
+ skinId: A,
2314
+ accentColor: G,
2315
+ bgColor: j,
2316
+ bgImage: W,
2317
+ borderColor: Z,
2318
+ borderRadius: s,
2319
+ showFlowToggle: P,
2320
+ autoRedirect: v,
2321
+ explorerUrl: I,
2322
+ doneButtonText: D,
2323
+ supportEmail: F,
2324
+ onDone: K
2325
+ }) {
2326
+ return /* @__PURE__ */ e(
2327
+ Mt,
2328
+ {
2329
+ projectId: t,
2330
+ apiUrl: a,
2331
+ assetBaseUrl: n,
2332
+ flowType: l,
2333
+ customerId: r,
2334
+ defaultFiatCurrency: i,
2335
+ defaultCryptoCurrency: m,
2336
+ defaultNetwork: d,
2337
+ defaultFiatAmount: c,
2338
+ defaultCryptoAmount: u,
2339
+ defaultWalletAddress: p,
2340
+ defaultGateway: f,
2341
+ fieldLocks: x,
2342
+ statusPollInterval: g,
2343
+ onComplete: h,
2344
+ onError: b,
2345
+ children: /* @__PURE__ */ e(
2346
+ sa,
2347
+ {
2348
+ className: L,
2349
+ theme: O,
2350
+ skinId: A,
2351
+ accentColor: G,
2352
+ bgColor: j,
2353
+ bgImage: W,
2354
+ borderColor: Z,
2355
+ borderRadius: s,
2356
+ showFlowToggle: P,
2357
+ autoRedirect: v,
2358
+ explorerUrl: I,
2359
+ doneButtonText: D,
2360
+ supportEmail: F,
2361
+ onDone: K
2362
+ }
2363
+ )
2364
+ }
2365
+ );
2366
+ }
2367
+ function Ca({
2368
+ submitButtonText: t,
2369
+ rateRefreshInterval: a,
2370
+ ...n
2371
+ }) {
2372
+ return /* @__PURE__ */ e(ia, { ...n });
2373
+ }
2374
+ function ba({
2375
+ skin: t,
2376
+ active: a,
2377
+ onClick: n,
2378
+ darkMode: l,
2379
+ dimmed: r
2380
+ }) {
2381
+ const i = t.accent === null, m = 32;
2382
+ return /* @__PURE__ */ o(
2383
+ "button",
2384
+ {
2385
+ onClick: n,
2386
+ className: "relative shrink-0",
2387
+ style: { width: m, height: m, opacity: r ? 0.4 : 1, transition: "opacity 0.2s" },
2388
+ children: [
2389
+ i ? /* @__PURE__ */ o("svg", { width: m, height: m, viewBox: "0 0 32 32", children: [
2390
+ /* @__PURE__ */ e("clipPath", { id: "mono-left", children: /* @__PURE__ */ e("rect", { x: "0", y: "0", width: "16", height: "32" }) }),
2391
+ /* @__PURE__ */ e("clipPath", { id: "mono-right", children: /* @__PURE__ */ e("rect", { x: "16", y: "0", width: "16", height: "32" }) }),
2392
+ /* @__PURE__ */ e("circle", { cx: "16", cy: "16", r: "15", fill: "#111111", clipPath: "url(#mono-left)" }),
2393
+ /* @__PURE__ */ e("circle", { cx: "16", cy: "16", r: "15", fill: "#ffffff", clipPath: "url(#mono-right)" }),
2394
+ /* @__PURE__ */ e("circle", { cx: "16", cy: "16", r: "15", fill: "none", stroke: l ? "rgba(255,255,255,0.15)" : "rgba(0,0,0,0.1)", strokeWidth: "1" })
2395
+ ] }) : /* @__PURE__ */ e("svg", { width: m, height: m, viewBox: "0 0 32 32", children: /* @__PURE__ */ e("circle", { cx: "16", cy: "16", r: "15", fill: t.accent }) }),
2396
+ a && !r && /* @__PURE__ */ e(
2397
+ "div",
2398
+ {
2399
+ className: "absolute inset-0 rounded-full",
2400
+ style: { boxShadow: "0 0 0 2px var(--t-bg), 0 0 0 4px var(--t-text)" }
2401
+ }
2402
+ )
2403
+ ]
2404
+ }
2405
+ );
2406
+ }
2407
+ function da({ quote: t }) {
2408
+ return t.isBestRate ? /* @__PURE__ */ e("div", { className: "text-[12px]", style: { color: "var(--t-text-secondary)" }, children: "Best price" }) : t.isRecommended ? /* @__PURE__ */ e("div", { className: "text-[12px]", style: { color: "var(--t-text-secondary)" }, children: "Recommended" }) : t.rank && t.rank <= 3 ? /* @__PURE__ */ o("div", { className: "text-[12px]", style: { color: "var(--t-text-secondary)" }, children: [
2409
+ "#",
2410
+ t.rank
2411
+ ] }) : null;
2412
+ }
2413
+ function ua({ quote: t }) {
2414
+ return t.gatewayLogo ? /* @__PURE__ */ e(
2415
+ "img",
2416
+ {
2417
+ src: t.gatewayLogo,
2418
+ alt: t.gatewayName,
2419
+ width: 36,
2420
+ height: 36,
2421
+ className: "rounded-full shrink-0",
2422
+ style: { width: 36, height: 36 }
2423
+ }
2424
+ ) : /* @__PURE__ */ e(ft, { size: 36 });
2425
+ }
2426
+ function ma() {
2427
+ return /* @__PURE__ */ e("div", { className: "space-y-2", children: [0, 1, 2].map((t) => /* @__PURE__ */ o(
2428
+ "div",
2429
+ {
2430
+ className: "w-full flex items-center gap-3.5",
2431
+ style: {
2432
+ borderRadius: 5,
2433
+ height: 64,
2434
+ paddingLeft: 16,
2435
+ paddingRight: 16,
2436
+ background: "var(--t-surface)"
2437
+ },
2438
+ children: [
2439
+ /* @__PURE__ */ e(B, { w: 36, h: 36, className: "rounded-full shrink-0" }),
2440
+ /* @__PURE__ */ o("div", { className: "flex-1", children: [
2441
+ /* @__PURE__ */ e(B, { w: 90, h: 14, className: "mb-1.5" }),
2442
+ /* @__PURE__ */ e(B, { w: 60, h: 12 })
2443
+ ] }),
2444
+ /* @__PURE__ */ o("div", { className: "text-right", children: [
2445
+ /* @__PURE__ */ e(B, { w: 40, h: 10, className: "mb-1.5" }),
2446
+ /* @__PURE__ */ e(B, { w: 80, h: 14 })
2447
+ ] })
2448
+ ]
2449
+ },
2450
+ t
2451
+ )) });
2452
+ }
2453
+ function Ea({
2454
+ onClose: t,
2455
+ onSelect: a,
2456
+ quotes: n,
2457
+ quotesLoading: l,
2458
+ cryptoCurrency: r
2459
+ }) {
2460
+ const [i, m] = C(""), d = X(() => {
2461
+ if (!(n != null && n.quotes)) return [];
2462
+ const c = i.trim().toLowerCase();
2463
+ return c ? n.quotes.filter((u) => u.gatewayName.toLowerCase().includes(c)) : n.quotes;
2464
+ }, [n, i]);
2465
+ return /* @__PURE__ */ o(le, { children: [
2466
+ /* @__PURE__ */ e("div", { className: "flex justify-end px-5 pt-5", children: /* @__PURE__ */ e(Le, { onClick: t }) }),
2467
+ /* @__PURE__ */ e(
2468
+ "h2",
2469
+ {
2470
+ className: "text-center text-[17px] font-medium mt-2 mb-6",
2471
+ style: { color: "var(--t-text)" },
2472
+ children: "Choose Ramp"
2473
+ }
2474
+ ),
2475
+ /* @__PURE__ */ e(Xe, { value: i, onChange: m }),
2476
+ /* @__PURE__ */ o("div", { className: "flex-1 overflow-y-auto custom-scroll px-5 space-y-2", children: [
2477
+ l ? /* @__PURE__ */ e(ma, {}) : d.length === 0 ? /* @__PURE__ */ e("div", { className: "text-center py-10 text-[14px]", style: { color: "var(--t-text-muted)" }, children: n && n.quotes.length === 0 ? "No quotes available for this request" : "No providers found" }) : d.map((c, u) => {
2478
+ const p = u === 0, f = parseFloat(c.cryptoAmount), x = f >= 1 ? f.toFixed(4) : f.toPrecision(6);
2479
+ return /* @__PURE__ */ o(
2480
+ "button",
2481
+ {
2482
+ onClick: () => a(c),
2483
+ className: "w-full flex items-center gap-3.5 transition-colors",
2484
+ style: {
2485
+ borderRadius: p ? 4.5 : 5,
2486
+ height: p ? 63 : 64,
2487
+ paddingLeft: 16,
2488
+ paddingRight: 16,
2489
+ border: p ? "1px solid var(--t-border)" : "1px solid transparent",
2490
+ background: p ? "transparent" : "var(--t-surface)"
2491
+ },
2492
+ children: [
2493
+ /* @__PURE__ */ e(ua, { quote: c }),
2494
+ /* @__PURE__ */ o("div", { className: "text-left flex-1 min-w-0", children: [
2495
+ /* @__PURE__ */ e("div", { className: "font-medium text-[15px]", style: { color: "var(--t-text)" }, children: c.gatewayName }),
2496
+ /* @__PURE__ */ e(da, { quote: c })
2497
+ ] }),
2498
+ /* @__PURE__ */ o("div", { className: "text-right shrink-0", children: [
2499
+ /* @__PURE__ */ e("div", { className: "text-[11px]", style: { color: "var(--t-text-secondary)" }, children: "You get" }),
2500
+ /* @__PURE__ */ o("div", { className: "font-medium text-[14px]", style: { color: "var(--t-text)" }, children: [
2501
+ r,
2502
+ " ",
2503
+ x
2504
+ ] })
2505
+ ] })
2506
+ ]
2507
+ },
2508
+ c.gatewayId
2509
+ );
2510
+ }),
2511
+ !l && (n == null ? void 0 : n.unavailableGateways) && n.unavailableGateways.length > 0 && /* @__PURE__ */ e("div", { className: "pt-3", children: n.unavailableGateways.map((c) => /* @__PURE__ */ o(
2512
+ "div",
2513
+ {
2514
+ className: "flex items-center justify-between py-2 text-[12px]",
2515
+ style: { color: "var(--t-text-muted)" },
2516
+ children: [
2517
+ /* @__PURE__ */ e("span", { children: c.gatewayName }),
2518
+ /* @__PURE__ */ e("span", { children: c.reason })
2519
+ ]
2520
+ },
2521
+ c.gatewayId
2522
+ )) })
2523
+ ] })
2524
+ ] });
2525
+ }
2526
+ export {
2527
+ Kt as AnimatedDigit,
2528
+ _t as AnimatedNumber,
2529
+ Zt as ApplePayIcon,
2530
+ Re as BLOCKCHAINS,
2531
+ jt as BankIcon,
2532
+ Vt as CRYPTO_CHAIN_COMBOS,
2533
+ $t as CRYPTO_CURRENCIES,
2534
+ qt as CardIcon,
2535
+ Ca as CheckoutForm,
2536
+ Ot as CheckoutStep,
2537
+ Te as ChevronDown,
2538
+ ea as ChevronRight,
2539
+ Ea as ChooseRampModal,
2540
+ Le as CloseButton,
2541
+ va as CoinifyIcon,
2542
+ Ut as CompleteStep,
2543
+ Ft as ConfirmStep,
2544
+ ra as CryptoCurrencyModal,
2545
+ ut as CryptoIcon,
2546
+ aa as DarkModeIcon,
2547
+ Dt as ErrorStep,
2548
+ lt as FIAT_CURRENCIES,
2549
+ Gt as FIAT_TO_COUNTRY,
2550
+ na as FiatCurrencyModal,
2551
+ _e as FiatFlag,
2552
+ Xt as FormSkeleton,
2553
+ ft as GenericCoinIcon,
2554
+ Jt as GooglePayIcon,
2555
+ st as MOCK_RATES,
2556
+ ta as MenuIcon,
2557
+ De as Modal,
2558
+ zt as PayPalIcon,
2559
+ Ht as ProcessingStep,
2560
+ ia as RampForm,
2561
+ Mt as RampProvider,
2562
+ Qt as RevolutIcon,
2563
+ ct as SKINS,
2564
+ Xe as SearchInput,
2565
+ ca as SettingsScreen,
2566
+ B as Skeleton,
2567
+ ba as SkinSwatch,
2568
+ oa as ToggleSwitch,
2569
+ ga as formatOutput,
2570
+ Ke as getChainIconUrl,
2571
+ pt as getCryptoIconUrl,
2572
+ Wt as getFiatFlagUrl,
2573
+ xa as getMockRate,
2574
+ Na as getPaymentIcon,
2575
+ Yt as parseAmount,
2576
+ Lt as useCheckoutIntent,
2577
+ kt as useQuotes,
2578
+ he as useRamp,
2579
+ Rt as useRampConfig,
2580
+ It as useTransaction
2581
+ };
2582
+ //# sourceMappingURL=index.js.map