@wormhole-foundation/wormhole-connect 5.2.0-beta.0-development → 5.2.0-beta.1-development
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.
- package/dist/main.mjs +1 -1
- package/lib/{add-Bk86euc7.mjs → add-BEf65R9W.mjs} +1 -1
- package/lib/{add-97pK9XEM.js → add-BfnfRWYd.js} +1 -1
- package/lib/{add-aiIIchuh.js → add-CiBQclh_.js} +1 -1
- package/lib/{add-D933OgYB.mjs → add-FlBFbmID.mjs} +1 -1
- package/lib/{all-wallets-BQRsMuoL.mjs → all-wallets-0d0F49_e.mjs} +1 -1
- package/lib/{all-wallets-DEdvco8E.js → all-wallets-BNdvPhp9.js} +1 -1
- package/lib/{all-wallets-BTvSiRPI.js → all-wallets-CGkgmWtX.js} +1 -1
- package/lib/{all-wallets-P7I2GUtT.mjs → all-wallets-srUUo70q.mjs} +1 -1
- package/lib/{app-store-hWgU_cp-.mjs → app-store-CImc6f5s.mjs} +1 -1
- package/lib/{app-store-Ccyl3JgX.js → app-store-CJ8FOJYx.js} +1 -1
- package/lib/{app-store-PKRc14_u.mjs → app-store-CyolaTwE.mjs} +1 -1
- package/lib/{app-store-J4rqIlQc.js → app-store-DhVoNqde.js} +1 -1
- package/lib/{apple-BXDArpi0.js → apple-86OXeSyJ.js} +1 -1
- package/lib/{apple-ChYiEhFV.js → apple-B7hoK4SW.js} +1 -1
- package/lib/{apple-CINOjLmM.mjs → apple-EatMtIc0.mjs} +1 -1
- package/lib/{apple-DNp3WspA.mjs → apple-tebbLLOI.mjs} +1 -1
- package/lib/{aptos-CXdv298G.js → aptos-B0625Vkk.js} +1 -1
- package/lib/{aptos-C1_xdEsg.mjs → aptos-C8LQMcii.mjs} +2 -2
- package/lib/{arrow-bottom-B8L0wWMn.js → arrow-bottom-BRHd31a5.js} +1 -1
- package/lib/{arrow-bottom-DcRkICnt.mjs → arrow-bottom-Bmf9qeKd.mjs} +1 -1
- package/lib/{arrow-bottom-ie6olxwk.js → arrow-bottom-D7KU41sS.js} +1 -1
- package/lib/{arrow-bottom-DOre80s_.mjs → arrow-bottom-DgI3vkHl.mjs} +1 -1
- package/lib/{arrow-bottom-circle-BuL2N_oX.js → arrow-bottom-circle-1_MXO-aE.js} +1 -1
- package/lib/{arrow-bottom-circle-D8u24ZEa.mjs → arrow-bottom-circle-BRl5lIFV.mjs} +1 -1
- package/lib/{arrow-bottom-circle-BV6cJiB3.mjs → arrow-bottom-circle-Ioaofxby.mjs} +1 -1
- package/lib/{arrow-bottom-circle-CfZspJKC.js → arrow-bottom-circle-dUItEBid.js} +1 -1
- package/lib/{arrow-left-C84MPyPi.mjs → arrow-left-B18SPbUr.mjs} +1 -1
- package/lib/{arrow-left-DhhbmAr7.js → arrow-left-B4VB8tQR.js} +1 -1
- package/lib/{arrow-left-DHcEpLcY.mjs → arrow-left-CeaRd5Vx.mjs} +1 -1
- package/lib/{arrow-left-BHDzDcxf.js → arrow-left-DRD62h5u.js} +1 -1
- package/lib/{arrow-right-DpXjSQ0c.mjs → arrow-right-BpXZlXh9.mjs} +1 -1
- package/lib/{arrow-right-DkR-9vfb.js → arrow-right-CI54SlzC.js} +1 -1
- package/lib/{arrow-right-CsXtQhBn.mjs → arrow-right-CzWLUAUO.mjs} +1 -1
- package/lib/{arrow-right-x2g1cqBz.js → arrow-right-Dd6A8iJC.js} +1 -1
- package/lib/{arrow-top-JFr4DWJC.js → arrow-top-BOP9Mx0U.js} +1 -1
- package/lib/{arrow-top-CiXPjp0l.js → arrow-top-TPGebFgG.js} +1 -1
- package/lib/{arrow-top-DWWBqjoA.mjs → arrow-top-c0RWLlO2.mjs} +1 -1
- package/lib/{arrow-top-BU-bRRci.mjs → arrow-top-oGu2iy6k.mjs} +1 -1
- package/lib/{bank-DmBobOMj.mjs → bank--z_wgCs2.mjs} +1 -1
- package/lib/{bank-DKdS2VCZ.mjs → bank-BSgi9PAk.mjs} +1 -1
- package/lib/{bank-CQl-oPnD.js → bank-CyILnlME.js} +1 -1
- package/lib/{bank-BhT6RPyg.js → bank-DDWUQfzS.js} +1 -1
- package/lib/{basic-BJb3ei_N.js → basic-BJyZdZ9-.js} +1 -1
- package/lib/{basic-BU5Z7yE0.mjs → basic-BYApoDKu.mjs} +2 -2
- package/lib/{basic-r93BHfDA.js → basic-C_NK3mGS.js} +1 -1
- package/lib/{basic-BvTuoRNI.mjs → basic-DFA9dkML.mjs} +2 -2
- package/lib/{browser-BEew_Uly.mjs → browser-BCF5N3KG.mjs} +1 -1
- package/lib/{browser-gnOPx-dW.mjs → browser-BloW4u4E.mjs} +1 -1
- package/lib/{browser-Zcx5baKN.js → browser-CCRCeieU.js} +1 -1
- package/lib/{browser-DFBCBTuC.js → browser-CvrEVIwv.js} +1 -1
- package/lib/{card-DkwY6orl.mjs → card-7rHQoEDL.mjs} +1 -1
- package/lib/{card-BVvKhU54.js → card-CglIhKSq.js} +1 -1
- package/lib/{card-CvhyzxFz.mjs → card-Ctp3kX-1.mjs} +1 -1
- package/lib/{card-Da6LlLKJ.js → card-fE2IIT1i.js} +1 -1
- package/lib/{checkmark-pTrffkn9.js → checkmark-BOxmV8Mo.js} +1 -1
- package/lib/{checkmark-C4b4JK_V.mjs → checkmark-BW1_81nx.mjs} +1 -1
- package/lib/{checkmark-BPev3geK.mjs → checkmark-CLHlN5To.mjs} +1 -1
- package/lib/{checkmark-C_MrkABo.js → checkmark-Xh1LmaXe.js} +1 -1
- package/lib/{checkmark-bold-DU2Ys96v.js → checkmark-bold-BC0jnANx.js} +1 -1
- package/lib/{checkmark-bold-24IAAOBU.js → checkmark-bold-CBr8ZyFy.js} +1 -1
- package/lib/{checkmark-bold-CNzoS5-K.mjs → checkmark-bold-DhAt_JOH.mjs} +1 -1
- package/lib/{checkmark-bold-d7sIsIhC.mjs → checkmark-bold-xYDW18M6.mjs} +1 -1
- package/lib/{chevron-bottom-d0mN_6fk.mjs → chevron-bottom-C-ilw2I8.mjs} +1 -1
- package/lib/{chevron-bottom-zdvXtD2j.mjs → chevron-bottom-Daxbr3Rx.mjs} +1 -1
- package/lib/{chevron-bottom-DI3dfXns.js → chevron-bottom-Didolf5t.js} +1 -1
- package/lib/{chevron-bottom-C8gro0Kz.js → chevron-bottom-y5gkyNtV.js} +1 -1
- package/lib/{chevron-left-DDqfGA8F.mjs → chevron-left-BNIGAhWk.mjs} +1 -1
- package/lib/{chevron-left-p6FO5KDX.js → chevron-left-Bj3XIxUw.js} +1 -1
- package/lib/{chevron-left-Bzq_gNUa.js → chevron-left-D6J8hdRo.js} +1 -1
- package/lib/{chevron-left-DANMl7rL.mjs → chevron-left-DqSA6E9z.mjs} +1 -1
- package/lib/{chevron-right-B_qqkmjC.js → chevron-right-BXl56y5C.js} +1 -1
- package/lib/{chevron-right-BR0_7iUL.mjs → chevron-right-DeT5P2q2.mjs} +1 -1
- package/lib/{chevron-right-xz6TmL5j.js → chevron-right-IBo1CiY2.js} +1 -1
- package/lib/{chevron-right-O1UkCV2Q.mjs → chevron-right-k8adpOIy.mjs} +1 -1
- package/lib/{chevron-top-CtMVRHg0.js → chevron-top-B1HrfXOo.js} +1 -1
- package/lib/{chevron-top-CIHODxwA.js → chevron-top-C-1fCeSU.js} +1 -1
- package/lib/{chevron-top-WroSANio.mjs → chevron-top-C34CbI0W.mjs} +1 -1
- package/lib/{chevron-top-vUGPtgYd.mjs → chevron-top-CNrQ2igu.mjs} +1 -1
- package/lib/{chrome-store-CPgKITck.js → chrome-store-DFTjCxuH.js} +1 -1
- package/lib/{chrome-store-Dseq-owD.mjs → chrome-store-DIzR2Dq1.mjs} +1 -1
- package/lib/{chrome-store-QAYF3oF_.mjs → chrome-store-DOoQVREZ.mjs} +1 -1
- package/lib/{chrome-store-BEJYIo9O.js → chrome-store-DtvL-QKw.js} +1 -1
- package/lib/{clock-Cqv12DGe.js → clock-C-Q57pEM.js} +1 -1
- package/lib/{clock-BRLal-tt.js → clock-C4xod9nJ.js} +1 -1
- package/lib/{clock-CgYyeM_w.mjs → clock-Cv1fuvau.mjs} +1 -1
- package/lib/{clock-Bsk_aDnw.mjs → clock-sTn1dfri.mjs} +1 -1
- package/lib/{close-DtK4vwQg.mjs → close-B0uyRg3N.mjs} +1 -1
- package/lib/{close-WYOtsYpc.js → close-B1b7Ptej.js} +1 -1
- package/lib/{close-Ch1yI0EA.mjs → close-CqPEBQBo.mjs} +1 -1
- package/lib/{close-OchiXtTe.js → close-Dfc_8zBq.js} +1 -1
- package/lib/{coinPlaceholder-DbsI02Af.mjs → coinPlaceholder-BoiiMs6L.mjs} +1 -1
- package/lib/{coinPlaceholder-xkgrfWI-.js → coinPlaceholder-DiW2_ozZ.js} +1 -1
- package/lib/{coinPlaceholder-xe-1dqKD.js → coinPlaceholder-DudKKK-9.js} +1 -1
- package/lib/{coinPlaceholder-BMvMfRBE.mjs → coinPlaceholder-nKeNJJKK.mjs} +1 -1
- package/lib/{compass-HTfh4eZi.mjs → compass-B0X-vi2r.mjs} +1 -1
- package/lib/{compass-Bi7B2PWo.js → compass-BZP8Ac-k.js} +1 -1
- package/lib/{compass-COTmQcOw.js → compass-DwHx2eWH.js} +1 -1
- package/lib/{compass-BePMLyDl.mjs → compass-gJFmkVKU.mjs} +1 -1
- package/lib/{constants-DGfLD4vt.js → constants-CZ1Cg3we.js} +1 -1
- package/lib/{constants-Dp6TwkwE.mjs → constants-CvYlmQON.mjs} +1 -1
- package/lib/{copy-C_zx4IY2.js → copy-BnBqHWHD.js} +1 -1
- package/lib/{copy-B-kaRfPD.mjs → copy-CCtC0O9D.mjs} +1 -1
- package/lib/{copy-CnGyA6GV.mjs → copy-DAbUkldO.mjs} +1 -1
- package/lib/{copy-Cj1h89Ke.js → copy-DO-PtwSL.js} +1 -1
- package/lib/{core-C-bE_KN6.js → core-B-drR9_7.js} +3 -3
- package/lib/{core-IZrQV2Qu.mjs → core-B_r-qOmo.mjs} +4 -4
- package/lib/{cursor-COWtX4qp.js → cursor-BBkU3FcH.js} +1 -1
- package/lib/{cursor-CYo5NSr5.js → cursor-BBzWvQHe.js} +1 -1
- package/lib/{cursor-BqTyYhSX.mjs → cursor-BxL72yqS.mjs} +1 -1
- package/lib/{cursor-kcpx1EXW.mjs → cursor-DYH9xEcp.mjs} +1 -1
- package/lib/{cursor-transparent-DS1K2i2e.js → cursor-transparent-56UaQ3Bn.js} +1 -1
- package/lib/{cursor-transparent-CfY_uwZk.js → cursor-transparent-BEJAwX5N.js} +1 -1
- package/lib/{cursor-transparent-97JW8Enk.mjs → cursor-transparent-BdZnO_wt.mjs} +1 -1
- package/lib/{cursor-transparent-IOBIgHsw.mjs → cursor-transparent-CtFV2CXJ.mjs} +1 -1
- package/lib/{desktop-BrMt6GS7.mjs → desktop-2v6QoLZE.mjs} +1 -1
- package/lib/{desktop-BcdZWHYb.js → desktop-3NUUpk4c.js} +1 -1
- package/lib/{desktop-CKJpmxK6.mjs → desktop-3yOLdhPI.mjs} +1 -1
- package/lib/{desktop-DFWKsjai.js → desktop-Pyfuvetn.js} +1 -1
- package/lib/{disconnect-CtjdEYQ-.js → disconnect-BaX_JURb.js} +1 -1
- package/lib/{disconnect-vLqW6M9O.js → disconnect-BfTUZAHR.js} +1 -1
- package/lib/{disconnect-BgfdJJVf.mjs → disconnect-Bv_Bim13.mjs} +1 -1
- package/lib/{disconnect-ZG9G-DHl.mjs → disconnect-cHTRr7Ec.mjs} +1 -1
- package/lib/{discord-DC940Urt.mjs → discord-C2VL_GWD.mjs} +1 -1
- package/lib/{discord-mwpOzt8L.mjs → discord-CKjUttdg.mjs} +1 -1
- package/lib/{discord-DkQXfpz6.js → discord-CSIF6CGN.js} +1 -1
- package/lib/{discord-BHswKhhZ.js → discord-D1ikT3b-.js} +1 -1
- package/lib/{etherscan-Dn1sDQFu.mjs → etherscan-BsljyTKF.mjs} +1 -1
- package/lib/{etherscan-B67ePaGv.js → etherscan-C4o1jcxp.js} +1 -1
- package/lib/{etherscan-Rf8mBFu1.mjs → etherscan-DNbmb9VE.mjs} +1 -1
- package/lib/{etherscan-Bn5vjO6j.js → etherscan-DgfkHroL.js} +1 -1
- package/lib/{evm-CdYu0zev.js → evm-BVhY4VIn.js} +2 -2
- package/lib/{evm-CNU3nm8Y.mjs → evm-C9PlJk_E.mjs} +3 -3
- package/lib/{evm-DAZuPeF5.mjs → evm-D6avkBIT.mjs} +3 -3
- package/lib/{evm-Dn0mVgjI.js → evm-DsYQcqsM.js} +1 -1
- package/lib/{exclamation-triangle-DvVRCFzL.mjs → exclamation-triangle-7sXeuvtw.mjs} +1 -1
- package/lib/{exclamation-triangle-CpaZlCyJ.mjs → exclamation-triangle-B5VkBuje.mjs} +1 -1
- package/lib/{exclamation-triangle-9I8CABeM.js → exclamation-triangle-BYOLGjLp.js} +1 -1
- package/lib/{exclamation-triangle-pqE-ucld.js → exclamation-triangle-C9ULgQJ_.js} +1 -1
- package/lib/{extension-pZFS9WoU.mjs → extension-DQxWqGMB.mjs} +1 -1
- package/lib/{extension-D7bW7OOD.mjs → extension-MYgCtDFH.mjs} +1 -1
- package/lib/{extension-CIeAycIs.js → extension-NsgFQY7m.js} +1 -1
- package/lib/{extension-Cn1fNZM2.js → extension-VaBFk192.js} +1 -1
- package/lib/{external-link-Cf6FDbnV.mjs → external-link-BJpDXZJf.mjs} +1 -1
- package/lib/{external-link-CxxBPRGW.js → external-link-B_MqtCKD.js} +1 -1
- package/lib/{external-link-D5-QPN4I.mjs → external-link-Cd0vLGIE.mjs} +1 -1
- package/lib/{external-link-DHZjpSQH.js → external-link-Dixa5654.js} +1 -1
- package/lib/{facebook-D7MA9djH.js → facebook-B5uxGSPx.js} +1 -1
- package/lib/{facebook-8iR_zZp9.mjs → facebook-BKr0sc8j.mjs} +1 -1
- package/lib/{facebook-C-E3U6O7.js → facebook-COEHDC_C.js} +1 -1
- package/lib/{facebook-D5N3SRkh.mjs → facebook-CW9qBsFQ.mjs} +1 -1
- package/lib/{farcaster-DbrJ_aQn.js → farcaster-CKtNojdp.js} +1 -1
- package/lib/{farcaster-lOXlLwtA.mjs → farcaster-Ds4f9Ltv.mjs} +1 -1
- package/lib/{farcaster-7r5cimcS.mjs → farcaster-YHCXqrrj.mjs} +1 -1
- package/lib/{farcaster-DdOFazmr.js → farcaster-m5MVs-aT.js} +1 -1
- package/lib/{filters-DCCnSUtl.js → filters-CDHyMrNp.js} +1 -1
- package/lib/{filters-DEwlKNNr.js → filters-CNHTPTvF.js} +1 -1
- package/lib/{filters-Cj5yX6NN.mjs → filters-C_fotjQ9.mjs} +1 -1
- package/lib/{filters-CoCF6gLm.mjs → filters-otxJEOs7.mjs} +1 -1
- package/lib/{github-C4yWxVDh.mjs → github-BNYDlQMz.mjs} +1 -1
- package/lib/{github-CaEinWU-.js → github-CEJ7ZdVF.js} +1 -1
- package/lib/{github-5sLZXyd5.js → github-CKZKwTIP.js} +1 -1
- package/lib/{github-D5MAuYPM.mjs → github-Dibydlav.mjs} +1 -1
- package/lib/{google-Dj6-oKVI.js → google-B21849VG.js} +1 -1
- package/lib/{google-a9RziYXe.mjs → google-BA66k4rL.mjs} +1 -1
- package/lib/{google-D5bcUgOU.mjs → google-Dx6T3HNH.mjs} +1 -1
- package/lib/{google-D3d0VPJL.js → google-y2naTeYr.js} +1 -1
- package/lib/{help-circle-CF5ABQc8.mjs → help-circle-B2i3-wGO.mjs} +1 -1
- package/lib/{help-circle-CIFo9ynr.js → help-circle-CPvN7YEE.js} +1 -1
- package/lib/{help-circle-DErEmy6B.mjs → help-circle-CimYq20b.mjs} +1 -1
- package/lib/{help-circle-CHzLMVpP.js → help-circle-cbP1i7bz.js} +1 -1
- package/lib/hosted.js +1 -1
- package/lib/hosted.mjs +1 -1
- package/lib/{hypercore-j2gTG79l.js → hypercore-CHTw8bic.js} +1 -1
- package/lib/{hypercore-DFWadWGd.mjs → hypercore-DXRD8m3E.mjs} +9 -9
- package/lib/{id-CLwA8Kux.mjs → id-B4jo17C5.mjs} +1 -1
- package/lib/{id-U-pH30u_.js → id-CPeIs5Fq.js} +1 -1
- package/lib/{id-CnZDmFwN.js → id-DSFow20F.js} +1 -1
- package/lib/{id-BU0BV530.mjs → id-DiVzvOfZ.mjs} +1 -1
- package/lib/{image-BR4koxKg.js → image-B6EzmhFU.js} +1 -1
- package/lib/{image--wME0li9.mjs → image-BVF33tR1.mjs} +1 -1
- package/lib/{image-dLUM0VDy.js → image-BhAe9DNs.js} +1 -1
- package/lib/{image-D_KZJUGe.mjs → image-apDrsEYS.mjs} +1 -1
- package/lib/{index-CL4gAJYS.js → index-BBSVPcAD.js} +1 -1
- package/lib/{index-KEK3qFIE.js → index-BGzNVaPV.js} +2 -2
- package/lib/{index-BjR_EisA.js → index-BHwMXTV2.js} +2 -2
- package/lib/{index-DUE9_pKC.mjs → index-CGmXt9G7.mjs} +1 -1
- package/lib/{index-D6Wxtq_q.mjs → index-CV_PfShb.mjs} +1 -1
- package/lib/{index-Bsuff962.mjs → index-CYFUlQL7.mjs} +3 -3
- package/lib/{index-ChQLvH1j.js → index-CltqjT6y.js} +1 -1
- package/lib/{index-Qtm35u93.mjs → index-CuufMtD7.mjs} +1 -1
- package/lib/{index-BSybO7hw.mjs → index-EOQIdj8y.mjs} +78 -78
- package/lib/{index-CFKAjTDz.mjs → index-FgK-pdrK.mjs} +78 -78
- package/lib/{index-Dj10OmNz.js → index-Kh39Gi5k.js} +1 -1
- package/lib/{index-DiCrhDSW.js → index-n-le376F.js} +2 -2
- package/lib/{index-BdboBJrC.js → index-pg8PO4KF.js} +1 -1
- package/lib/{index-GVBg1nW4.mjs → index-xvDlUtry.mjs} +1 -1
- package/lib/{index.es-BaPdiD6L.js → index.es-B1Hb17ux.js} +1 -1
- package/lib/{index.es-GRR3MC7p.mjs → index.es-D9dqjxA-.mjs} +3 -3
- package/lib/{index.es-BaB7YazU.mjs → index.es-OUX5OQzg.mjs} +2 -2
- package/lib/{index.es-fVqKroFx.js → index.es-lG9bYbuU.js} +3 -3
- package/lib/index.js +27 -72
- package/lib/index.mjs +1553 -1711
- package/lib/{info-DyXA2Rde.js → info-Boiui9f7.js} +1 -1
- package/lib/{info-IVaoMU5h.mjs → info-C9gVJcre.mjs} +1 -1
- package/lib/{info-CP6AYP0r.mjs → info-O1n15_1D.mjs} +1 -1
- package/lib/{info-circle-BrAhGxdr.mjs → info-circle-BFolIbkj.mjs} +1 -1
- package/lib/{info-circle-DLZBZmJA.js → info-circle-CMe56iw6.js} +1 -1
- package/lib/{info-circle-_RX3sEw0.mjs → info-circle-CUSrqyXO.mjs} +1 -1
- package/lib/{info-circle-DLvvWSso.js → info-circle-Cc7pM3j0.js} +1 -1
- package/lib/{info-DsDJ9PCj.js → info-lLJkbrKO.js} +1 -1
- package/lib/lifi.js +1 -1
- package/lib/lifi.mjs +2 -2
- package/lib/{lightbulb-ByzF21_6.mjs → lightbulb-C3PATB9z.mjs} +1 -1
- package/lib/{lightbulb-BthaBnif.mjs → lightbulb-CqdzQLC3.mjs} +1 -1
- package/lib/{lightbulb-BI1LAtBz.js → lightbulb-VYLU20z_.js} +1 -1
- package/lib/{lightbulb-CMukua6v.js → lightbulb-ftjHXSjH.js} +1 -1
- package/lib/{mail-DwnzyWxK.mjs → mail-Cbku7Uh4.mjs} +1 -1
- package/lib/{mail-C-wk-7Ix.js → mail-DFrUqNVg.js} +1 -1
- package/lib/{mail-CO-FJbD4.js → mail-DK7EnkPU.js} +1 -1
- package/lib/{mail-4nSLMLPv.mjs → mail-pAAtront.mjs} +1 -1
- package/lib/mayan.js +1 -1
- package/lib/mayan.mjs +2 -2
- package/lib/{mobile-sYUJ3_wv.js → mobile-BhxSbHuq.js} +1 -1
- package/lib/{mobile-BLoALBXq.js → mobile-DssA8Pv3.js} +1 -1
- package/lib/{mobile-Ckxm1bvv.mjs → mobile-OA7to7W8.mjs} +1 -1
- package/lib/{mobile-CsmFql-e.mjs → mobile-VGlrj4tw.mjs} +1 -1
- package/lib/{more-CKJE84tK.js → more-B2vO9WWk.js} +1 -1
- package/lib/{more-CCgU8azx.mjs → more-BN4Q6SUx.mjs} +1 -1
- package/lib/{more-CtJ9lyp8.mjs → more-Ch4Lqfvk.mjs} +1 -1
- package/lib/{more-ECvX119L.js → more-DHFKZx0b.js} +1 -1
- package/lib/{network-placeholder-CGr9IJpY.mjs → network-placeholder-BB4x45Tg.mjs} +1 -1
- package/lib/{network-placeholder-GGHKQlvF.js → network-placeholder-C9vBCfoS.js} +1 -1
- package/lib/{network-placeholder-dB9F7ppX.js → network-placeholder-DEjE8_cC.js} +1 -1
- package/lib/{network-placeholder-BDBBro30.mjs → network-placeholder-DabWxIRQ.mjs} +1 -1
- package/lib/{nftPlaceholder-oMt3XSVj.js → nftPlaceholder-C3mbGCd_.js} +1 -1
- package/lib/{nftPlaceholder-BuITp3pd.mjs → nftPlaceholder-DkQ8_eeY.mjs} +1 -1
- package/lib/{nftPlaceholder-sPby7kJU.js → nftPlaceholder-Dm0gJJff.js} +1 -1
- package/lib/{nftPlaceholder-CB3ngIY3.mjs → nftPlaceholder-HRZgFSge.mjs} +1 -1
- package/lib/{off-DTeZDvdH.js → off--Q32bGkI.js} +1 -1
- package/lib/{off-D-AAXhtB.js → off-CrU10ihl.js} +1 -1
- package/lib/{off-COhe1fTc.mjs → off-nA_OrJUe.mjs} +1 -1
- package/lib/{off-TfkIQXeB.mjs → off-wbTBMRhe.mjs} +1 -1
- package/lib/{play-store-DKQhW1gn.js → play-store-BHw33DCQ.js} +1 -1
- package/lib/{play-store-DzNvggFH.mjs → play-store-BVmr7Z4C.mjs} +1 -1
- package/lib/{play-store-C4xcHryf.js → play-store-CS0C9q5-.js} +1 -1
- package/lib/{play-store-BjYbtsE6.mjs → play-store-D9U-UFF5.mjs} +1 -1
- package/lib/{plus-BghwgfqX.js → plus-Bi6V8pNp.js} +1 -1
- package/lib/{plus-DxzPtYL0.mjs → plus-CW3w3sls.mjs} +1 -1
- package/lib/{plus-C7MKTgK7.mjs → plus-D3x4t8Ce.mjs} +1 -1
- package/lib/{plus-wMnOnwz3.js → plus-Dc8ywSwP.js} +1 -1
- package/lib/{qr-code-Dfyo_DBs.js → qr-code-BZDngjZY.js} +1 -1
- package/lib/{qr-code-Bx0AMx0M.mjs → qr-code-DgC6Fdg7.mjs} +1 -1
- package/lib/{qr-code-C35_cZkC.mjs → qr-code-OMVNklZX.mjs} +1 -1
- package/lib/{qr-code-8MQaIZZC.js → qr-code-ji9rZFGq.js} +1 -1
- package/lib/{recycle-horizontal-DAgiwwJ1.mjs → recycle-horizontal-B2I-zPCU.mjs} +1 -1
- package/lib/{recycle-horizontal-CTIgISfH.js → recycle-horizontal-Bt5GY9OR.js} +1 -1
- package/lib/{recycle-horizontal-B1A2LB8b.js → recycle-horizontal-D9hq32DZ.js} +1 -1
- package/lib/{recycle-horizontal-DY4vj3Rv.mjs → recycle-horizontal-DytoyBfI.mjs} +1 -1
- package/lib/{refresh-BnZQPsz5.js → refresh-BKK5da-L.js} +1 -1
- package/lib/{refresh-Cb6tVUdi.mjs → refresh-BSAssZBM.mjs} +1 -1
- package/lib/{refresh-DzN-ylL6.mjs → refresh-CjLexDSA.mjs} +1 -1
- package/lib/{refresh-DJMvIMS2.js → refresh-H6w6oM_A.js} +1 -1
- package/lib/{reown-logo-DkW-wu5O.js → reown-logo-B6Ov41nY.js} +1 -1
- package/lib/{reown-logo-Dx8QrTgS.mjs → reown-logo-C6FOwVYq.mjs} +1 -1
- package/lib/{reown-logo-CqWZKbtk.js → reown-logo-DLSNj3TE.js} +1 -1
- package/lib/{reown-logo-B3PfsCFy.mjs → reown-logo-DwXu5uNR.mjs} +1 -1
- package/lib/{search-Zxp1yZ-I.mjs → search-BOcgdRAL.mjs} +1 -1
- package/lib/{search-BiXmWWs6.js → search-Bb7bK2Uc.js} +1 -1
- package/lib/{search-SfO-_tu8.js → search-CAbVUgnN.js} +1 -1
- package/lib/{search-C5IsnJYj.mjs → search-Co9ezsvt.mjs} +1 -1
- package/lib/{secp256k1-BQTFpnzy.mjs → secp256k1-0A8Ewnv6.mjs} +1 -1
- package/lib/{secp256k1-D_Gn-jqQ.js → secp256k1-BnR7-XEW.js} +1 -1
- package/lib/{secp256k1-sVIcIy0c.mjs → secp256k1-BoJRjFfg.mjs} +1 -1
- package/lib/{secp256k1-C330P-og.mjs → secp256k1-C4MOK2TW.mjs} +1 -1
- package/lib/{secp256k1-CSiCK8mp.js → secp256k1-Cux0xw_z.js} +1 -1
- package/lib/{secp256k1-BEvvZ05v.js → secp256k1-DT9ulpgk.js} +1 -1
- package/lib/{secp256k1-C2Yei8lW.mjs → secp256k1-YadE7hrp.mjs} +1 -1
- package/lib/{secp256k1-BARTIWl8.js → secp256k1-jJLvhP5o.js} +1 -1
- package/lib/{send-Bf5YMSxJ.js → send-B44wmSUh.js} +1 -1
- package/lib/{send-QuB_6fVE.mjs → send-BpJl2Xn8.mjs} +1 -1
- package/lib/{send-n_oSfesi.js → send-CRsiv27V.js} +1 -1
- package/lib/{send-CfjifILw.mjs → send-DLjvhVAl.mjs} +1 -1
- package/lib/{solana-DE2kkwFm.js → solana-BGU37dz5.js} +4 -4
- package/lib/{solana-D5jguotU.mjs → solana-CiNUMNJ8.mjs} +8 -8
- package/lib/{solanaEmbed.esm-DcZi3RfD.js → solanaEmbed.esm-CQlwytxQ.js} +1 -1
- package/lib/{solanaEmbed.esm-DisZ7Nce.mjs → solanaEmbed.esm-DyqmLXfp.mjs} +2 -2
- package/lib/{sui-DPA4pds6.mjs → sui-Bib-iOCV.mjs} +2 -2
- package/lib/{sui-DKHLUOgB.js → sui-BjzF-Q-b.js} +1 -1
- package/lib/{swapHorizontal-Dgx2K3vn.mjs → swapHorizontal-B8qVmnu8.mjs} +1 -1
- package/lib/{swapHorizontal-C-_HtGEy.mjs → swapHorizontal-BRWRUIJB.mjs} +1 -1
- package/lib/{swapHorizontal-Dw5zhkPQ.js → swapHorizontal-BsTJkttx.js} +1 -1
- package/lib/{swapHorizontal-BFcauuvN.js → swapHorizontal-D-uqFVHs.js} +1 -1
- package/lib/{swapHorizontalBold-8c-d6K5o.mjs → swapHorizontalBold-BdNeqRi3.mjs} +1 -1
- package/lib/{swapHorizontalBold-C7J8iBLm.js → swapHorizontalBold-CYYFuggs.js} +1 -1
- package/lib/{swapHorizontalBold-BFaqLN1O.js → swapHorizontalBold-aLja8kkS.js} +1 -1
- package/lib/{swapHorizontalBold-Bhr2ebxy.mjs → swapHorizontalBold-nE-ChWuU.mjs} +1 -1
- package/lib/{swapHorizontalMedium-Cqky1zP_.mjs → swapHorizontalMedium-BI3ILASr.mjs} +1 -1
- package/lib/{swapHorizontalMedium-DN36AGSD.js → swapHorizontalMedium-BeZ1rL5X.js} +1 -1
- package/lib/{swapHorizontalMedium-DbhSl29t.mjs → swapHorizontalMedium-C6W9-JzO.mjs} +1 -1
- package/lib/{swapHorizontalMedium-KzsE-Nxz.js → swapHorizontalMedium-vhOD9TfP.js} +1 -1
- package/lib/{swapHorizontalRoundedBold-Cv-mTC_8.mjs → swapHorizontalRoundedBold-BAIOqirj.mjs} +1 -1
- package/lib/{swapHorizontalRoundedBold-Ds5xFvSn.js → swapHorizontalRoundedBold-BkFwOs0Y.js} +1 -1
- package/lib/{swapHorizontalRoundedBold-B5rbO9hU.mjs → swapHorizontalRoundedBold-CYpeP0Et.mjs} +1 -1
- package/lib/{swapHorizontalRoundedBold-CE4v1uqm.js → swapHorizontalRoundedBold-DP1Z5JQM.js} +1 -1
- package/lib/{swapVertical-DmP8q9T0.js → swapVertical-29kKOB66.js} +1 -1
- package/lib/{swapVertical-BNaDyBce.mjs → swapVertical-3zrfl1Xi.mjs} +1 -1
- package/lib/{swapVertical-BIde62-t.js → swapVertical-CFtauJeV.js} +1 -1
- package/lib/{swapVertical-UvstCFOe.mjs → swapVertical-Ci9CWSzV.mjs} +1 -1
- package/lib/{telegram-_UlrbcuL.mjs → telegram-CvywROv3.mjs} +1 -1
- package/lib/{telegram-B8DOK8LQ.js → telegram-Dr2j2upn.js} +1 -1
- package/lib/{telegram-DpxYicfc.mjs → telegram-DrrslbwQ.mjs} +1 -1
- package/lib/{telegram-DUZ1mhSy.js → telegram-Dwr-qPTP.js} +1 -1
- package/lib/{three-dots-Cz5fvhME.js → three-dots-BNuSEqpQ.js} +1 -1
- package/lib/{three-dots-BHL8D_Zg.mjs → three-dots-CS6LN5K6.mjs} +1 -1
- package/lib/{three-dots-DCZa3ccg.mjs → three-dots-CcmyKQwf.mjs} +1 -1
- package/lib/{three-dots-eLSxq0uy.js → three-dots-Ls5fYKC0.js} +1 -1
- package/lib/{tokenHelpers-DaXKXvMS.js → tokenHelpers-BWM8KMa6.js} +1 -1
- package/lib/{tokenHelpers-a1B-ORAA.mjs → tokenHelpers-DAwzvT17.mjs} +1 -1
- package/lib/{tokens-B113FI9J.js → tokens-D1ONPHia.js} +1 -1
- package/lib/{tokens-PXiNoKQV.mjs → tokens-DggD3cX7.mjs} +1 -1
- package/lib/{twitch-BUKpSNF3.js → twitch-Bd58rlGF.js} +1 -1
- package/lib/{twitch-BBMn8FzK.js → twitch-BnpIZdrn.js} +1 -1
- package/lib/{twitch-DULME7lx.mjs → twitch-C4Eo2_CN.mjs} +1 -1
- package/lib/{twitch-CUtpYc4R.mjs → twitch-C8SyvzoN.mjs} +1 -1
- package/lib/{twitterIcon-Blj3OB-w.js → twitterIcon-BEbzFMeP.js} +1 -1
- package/lib/{twitterIcon-YR7_nZMl.mjs → twitterIcon-BMzY5zmt.mjs} +1 -1
- package/lib/{twitterIcon-_TKDsIPY.mjs → twitterIcon-C-y4j0Tc.mjs} +1 -1
- package/lib/{twitterIcon-BN9ansTN.js → twitterIcon-DIykPyaS.js} +1 -1
- package/lib/{verify-x9oxN_9S.mjs → verify-CrMRxyWg.mjs} +1 -1
- package/lib/{verify-BCgymggd.js → verify-Crtvz15I.js} +1 -1
- package/lib/{verify-DYCo-SIH.js → verify-CwFpdYoH.js} +1 -1
- package/lib/{verify-B8aWF7Gd.mjs → verify-NthP_npu.mjs} +1 -1
- package/lib/{verify-filled-BwdAKqTz.js → verify-filled-BlrU9vQA.js} +1 -1
- package/lib/{verify-filled-BRds-xGX.js → verify-filled-CGCh-dVk.js} +1 -1
- package/lib/{verify-filled-i5Ro5Kmd.mjs → verify-filled-CjDyTxlc.mjs} +1 -1
- package/lib/{verify-filled-DWDmZ4fK.mjs → verify-filled-D9kdEJV2.mjs} +1 -1
- package/lib/{w3m-modal-DveKC-Y6.js → w3m-modal--0Rp9fNB.js} +1 -1
- package/lib/{w3m-modal-C-HyORJE.js → w3m-modal-1XXe-6js.js} +1 -1
- package/lib/{w3m-modal-DSnDVaJG.mjs → w3m-modal-CdkJJVqN.mjs} +2 -2
- package/lib/{w3m-modal-cG8zSQMG.mjs → w3m-modal-DM4Y_2h6.mjs} +2 -2
- package/lib/{wallet-Bt2WxOPa.js → wallet-C1IpUTIA.js} +1 -1
- package/lib/{wallet-AYipPwJz.mjs → wallet-CamNgIPw.mjs} +1 -1
- package/lib/{wallet-CmtyVlua.js → wallet-CkpI9kzj.js} +1 -1
- package/lib/{wallet-CuTms3TO.mjs → wallet-Cq98Nsz0.mjs} +1 -1
- package/lib/{wallet-placeholder-rVyGjFzG.mjs → wallet-placeholder-BNjSzhI7.mjs} +1 -1
- package/lib/{wallet-placeholder-CtXzlAiV.js → wallet-placeholder-CB7fUzRo.js} +1 -1
- package/lib/{wallet-placeholder-Dn06LVhc.mjs → wallet-placeholder-DA1MWd3N.mjs} +1 -1
- package/lib/{wallet-placeholder-Cs6XgbFk.js → wallet-placeholder-Dqi7ETT0.js} +1 -1
- package/lib/{walletconnect-B4dzE_Rv.mjs → walletconnect-BNEO7K5p.mjs} +1 -1
- package/lib/{walletconnect-CSwzK9gd.js → walletconnect-Bn6uzute.js} +1 -1
- package/lib/{walletconnect-BmvLBckC.mjs → walletconnect-CZpyRToX.mjs} +1 -1
- package/lib/{walletconnect-BkeRK6O2.js → walletconnect-nqXULWld.js} +1 -1
- package/lib/{warning-circle-DsN-kfbo.js → warning-circle--gP3MuWN.js} +1 -1
- package/lib/{warning-circle-LztOYzFY.mjs → warning-circle-BJa5UE7S.mjs} +1 -1
- package/lib/{warning-circle-GTQjQ3h1.mjs → warning-circle-CaIyIC07.mjs} +1 -1
- package/lib/{warning-circle-DYLyFPIa.js → warning-circle-bxxlNMW0.js} +1 -1
- package/lib/{x-GwL6d9Wb.js → x-CK85Brc3.js} +1 -1
- package/lib/{x-DMcJACHl.js → x-CNpeVFtn.js} +1 -1
- package/lib/{x-BCJR57go.mjs → x-CpgiFnfX.mjs} +1 -1
- package/lib/{x--ZenK7QD.mjs → x-aiX6h0m_.mjs} +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),I=require("react"),b=require("./platform-DH1Olrgt.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),I=require("react"),b=require("./platform-DH1Olrgt.js"),tc=require("@mui/material/ScopedCssBaseline"),We=require("@mui/material/styles"),x=require("./index-BHwMXTV2.js"),we=require("./hypercore-CHTw8bic.js"),he=require("@mui/material/Box"),B=require("@mui/material"),t0=require("@mui/icons-material/ArrowBackRounded"),Ze=require("./unsignedTransaction-DPs4ICFO.js"),n0=require("./constants-CZ1Cg3we.js"),Ee=require("./index-CltqjT6y.js"),At=require("./mint-C31tZg8F.js"),St=require("@mui/material/CircularProgress"),De=require("@mui/material/Stack"),zr=require("@mui/material/Tooltip"),Me=require("@mui/material/Typography"),nc=require("@mui/icons-material/ContentCopy"),ic=require("@mui/icons-material/Done"),rc=require("@mui/icons-material/WarningAmberRounded"),As=require("@mui/material/Link"),oc=require("./dijkstra-Coh98Vg7.js"),Ss=require("@mui/material/SwipeableDrawer"),Tn=require("@mui/material/IconButton"),Es=require("@mui/icons-material/CloseRounded"),zs=require("@mui/material/List"),sn=require("@mui/material/ListItemButton"),bs=require("@mui/material/ListItemIcon"),Os=require("@mui/material/TextField"),i0=require("@mui/material/Button"),sc=require("./platform-B7H14r00.js"),r0=require("@mui/material/Popover"),Li=require("lucide-react"),wn=require("@mui/material/Card"),An=require("@mui/material/CardContent"),ac=require("@mui/material/InputAdornment"),cc=require("@mui/icons-material/ArrowOutward"),o0=require("@mui/icons-material/InfoOutlined"),uc=require("@mui/material/Badge"),xi=require("@mui/material/ToggleButton"),s0=require("@mui/material/ToggleButtonGroup"),lc=require("@mui/icons-material/Close"),ks=require("@mui/material/CardActionArea"),a0=require("@mui/material/CardHeader"),vo=require("@mui/material/Divider"),c0=require("@mui/material/Collapse"),Mc=require("@mui/material/Switch"),dc=require("@mui/material/Modal"),Zr=require("@mui/material/Skeleton"),gc=require("@mui/icons-material/ExpandMore"),fc=require("@mui/icons-material/ExpandLess"),hc=require("@mui/icons-material/SwapHoriz"),jc=require("@mui/material/LinearProgress"),Ks=require("./utils-Dn_PyZHS.js"),e1=require("./tokens-D1ONPHia.js"),Nc=require("./index-Dv-MhpmI.js");function yc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const qe=yc(I);var Oi={exports:{}},Wr={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-with-selector.production.js
|
|
4
4
|
*
|
|
@@ -6,37 +6,37 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var t1;function
|
|
9
|
+
*/var t1;function Ic(){if(t1)return Wr;t1=1;var e=I;function t(u,l){return u===l&&(u!==0||1/u===1/l)||u!==u&&l!==l}var n=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,r=e.useRef,s=e.useEffect,a=e.useMemo,c=e.useDebugValue;return Wr.useSyncExternalStoreWithSelector=function(u,l,M,g,N){var y=r(null);if(y.current===null){var T={hasValue:!1,value:null};y.current=T}else T=y.current;y=a(function(){function f(j){if(!C){if(C=!0,m=j,j=g(j),N!==void 0&&T.hasValue){var L=T.value;if(N(L,j))return h=L}return h=j}if(L=h,n(m,j))return L;var p=g(j);return N!==void 0&&N(L,p)?(m=j,L):(m=j,h=p)}var C=!1,m,h,D=M===void 0?null:M;return[function(){return f(l())},D===null?void 0:function(){return f(D())}]},[l,M,g,N]);var d=i(u,y[0],y[1]);return s(function(){T.hasValue=!0,T.value=d},[d]),c(d),d},Wr}var Fr={},n1;function Lc(){return n1||(n1=1,b.process$1.env.NODE_ENV!=="production"&&(function(){function e(u,l){return u===l&&(u!==0||1/u===1/l)||u!==u&&l!==l}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=I,n=typeof Object.is=="function"?Object.is:e,i=t.useSyncExternalStore,r=t.useRef,s=t.useEffect,a=t.useMemo,c=t.useDebugValue;Fr.useSyncExternalStoreWithSelector=function(u,l,M,g,N){var y=r(null);if(y.current===null){var T={hasValue:!1,value:null};y.current=T}else T=y.current;y=a(function(){function f(j){if(!C){if(C=!0,m=j,j=g(j),N!==void 0&&T.hasValue){var L=T.value;if(N(L,j))return h=L}return h=j}if(L=h,n(m,j))return L;var p=g(j);return N!==void 0&&N(L,p)?(m=j,L):(m=j,h=p)}var C=!1,m,h,D=M===void 0?null:M;return[function(){return f(l())},D===null?void 0:function(){return f(D())}]},[l,M,g,N]);var d=i(u,y[0],y[1]);return s(function(){T.hasValue=!0,T.value=d},[d]),c(d),d},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Fr}var i1;function xc(){return i1||(i1=1,b.process$1.env.NODE_ENV==="production"?Oi.exports=Ic():Oi.exports=Lc()),Oi.exports}var Tc=xc();function Cc(e){e()}function mc(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Cc(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let i=e;for(;i;)n.push(i),i=i.next;return n},subscribe(n){let i=!0;const r=t={callback:n,next:null,prev:t};return r.prev?r.prev.next=r:e=r,function(){!i||e===null||(i=!1,r.next?r.next.prev=r.prev:t=r.prev,r.prev?r.prev.next=r.next:e=r.next)}}}}var r1={notify(){},get:()=>[]};function pc(e,t){let n,i=r1,r=0,s=!1;function a(d){M();const f=i.subscribe(d);let C=!1;return()=>{C||(C=!0,f(),g())}}function c(){i.notify()}function u(){T.onStateChange&&T.onStateChange()}function l(){return s}function M(){r++,n||(n=e.subscribe(u),i=mc())}function g(){r--,n&&r===0&&(n(),n=void 0,i.clear(),i=r1)}function N(){s||(s=!0,M())}function y(){s&&(s=!1,g())}const T={addNestedSub:a,notifyNestedSubs:c,handleChangeWrapper:u,isSubscribed:l,trySubscribe:N,tryUnsubscribe:y,getListeners:()=>i};return T}var Dc=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wc=Dc(),Ac=()=>typeof navigator<"u"&&navigator.product==="ReactNative",Sc=Ac(),Ec=()=>wc||Sc?qe.useLayoutEffect:qe.useEffect,zc=Ec(),bc=Symbol.for("react-redux-context"),Oc=typeof globalThis<"u"?globalThis:{};function kc(){if(!qe.createContext)return{};const e=Oc[bc]??=new Map;let t=e.get(qe.createContext);return t||(t=qe.createContext(null),b.process$1.env.NODE_ENV!=="production"&&(t.displayName="ReactRedux"),e.set(qe.createContext,t)),t}var cn=kc();function vc(e){const{children:t,context:n,serverState:i,store:r}=e,s=qe.useMemo(()=>{const u=pc(r),l={store:r,subscription:u,getServerState:i?()=>i:void 0};if(b.process$1.env.NODE_ENV==="production")return l;{const{identityFunctionCheck:M="once",stabilityCheck:g="once"}=e;return Object.assign(l,{stabilityCheck:g,identityFunctionCheck:M})}},[r,i]),a=qe.useMemo(()=>r.getState(),[r]);zc(()=>{const{subscription:u}=s;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),a!==r.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[s,a]);const c=n||cn;return qe.createElement(c.Provider,{value:s},t)}var Uc=vc;function vs(e=cn){return function(){const n=qe.useContext(e);if(b.process$1.env.NODE_ENV!=="production"&&!n)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return n}}var u0=vs();function l0(e=cn){const t=e===cn?u0:vs(e),n=()=>{const{store:i}=t();return i};return Object.assign(n,{withTypes:()=>n}),n}var Yc=l0();function Rc(e=cn){const t=e===cn?Yc:l0(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var tt=Rc(),_c=(e,t)=>e===t;function Qc(e=cn){const t=e===cn?u0:vs(e),n=(i,r={})=>{const{equalityFn:s=_c}=typeof r=="function"?{equalityFn:r}:r;if(b.process$1.env.NODE_ENV!=="production"){if(!i)throw new Error("You must pass a selector to useSelector");if(typeof i!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof s!="function")throw new Error("You must pass a function as an equality function to useSelector")}const a=t(),{store:c,subscription:u,getServerState:l}=a,M=qe.useRef(!0),g=qe.useCallback({[i.name](y){const T=i(y);if(b.process$1.env.NODE_ENV!=="production"){const{devModeChecks:d={}}=typeof r=="function"?{}:r,{identityFunctionCheck:f,stabilityCheck:C}=a,{identityFunctionCheck:m,stabilityCheck:h}={stabilityCheck:C,identityFunctionCheck:f,...d};if(h==="always"||h==="once"&&M.current){const D=i(y);if(!s(T,D)){let j;try{throw new Error}catch(L){({stack:j}=L)}console.warn("Selector "+(i.name||"unknown")+` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
|
|
10
10
|
Selectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization`,{state:y,selected:T,selected2:D,stack:j})}}if((m==="always"||m==="once"&&M.current)&&T===y){let D;try{throw new Error}catch(j){({stack:D}=j)}console.warn("Selector "+(i.name||"unknown")+` returned the root state when called. This can lead to unnecessary rerenders.
|
|
11
|
-
Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,{stack:D})}M.current&&(M.current=!1)}return T}}[i.name],[i]),N=mc.useSyncExternalStoreWithSelector(u.addNestedSub,c.getState,l||c.getState,g,s);return qe.useDebugValue(N),N};return Object.assign(n,{withTypes:()=>n}),n}var Ae=Bc();function ot(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Zc=typeof Symbol=="function"&&Symbol.observable||"@@observable",o1=Zc,Hr=()=>Math.random().toString(36).substring(7).split("").join("."),Wc={INIT:`@@redux/INIT${Hr()}`,REPLACE:`@@redux/REPLACE${Hr()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Hr()}`},xn=Wc;function Ai(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Fc(e){if(e===void 0)return"undefined";if(e===null)return"null";const t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(Vc(e))return"date";if(Gc(e))return"error";const n=Hc(e);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}function Hc(e){return typeof e.constructor=="function"?e.constructor.name:null}function Gc(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function Vc(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function $t(e){let t=typeof e;return b.process$1.env.NODE_ENV!=="production"&&(t=Fc(e)),t}function d0(e,t,n){if(typeof e!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(2):`Expected the root reducer to be a function. Instead, received: '${$t(e)}'`);if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(1):`Expected the enhancer to be a function. Instead, received: '${$t(n)}'`);return n(d0)(e,t)}let i=e,r=t,s=new Map,a=s,c=0,u=!1;function l(){a===s&&(a=new Map,s.forEach((f,C)=>{a.set(C,f)}))}function M(){if(u)throw new Error(b.process$1.env.NODE_ENV==="production"?ot(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return r}function g(f){if(typeof f!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(4):`Expected the listener to be a function. Instead, received: '${$t(f)}'`);if(u)throw new Error(b.process$1.env.NODE_ENV==="production"?ot(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let C=!0;l();const m=c++;return a.set(m,f),function(){if(C){if(u)throw new Error(b.process$1.env.NODE_ENV==="production"?ot(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");C=!1,l(),a.delete(m),s=null}}}function N(f){if(!Ai(f))throw new Error(b.process$1.env.NODE_ENV==="production"?ot(7):`Actions must be plain objects. Instead, the actual type was: '${$t(f)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof f.type>"u")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof f.type!="string")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(17):`Action "type" property must be a string. Instead, the actual type was: '${$t(f.type)}'. Value was: '${f.type}' (stringified)`);if(u)throw new Error(b.process$1.env.NODE_ENV==="production"?ot(9):"Reducers may not dispatch actions.");try{u=!0,r=i(r,f)}finally{u=!1}return(s=a).forEach(m=>{m()}),f}function y(f){if(typeof f!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(10):`Expected the nextReducer to be a function. Instead, received: '${$t(f)}`);i=f,N({type:xn.REPLACE})}function T(){const f=g;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error(b.process$1.env.NODE_ENV==="production"?ot(11):`Expected the observer to be an object. Instead, received: '${$t(C)}'`);function m(){const D=C;D.next&&D.next(M())}return m(),{unsubscribe:f(m)}},[o1](){return this}}}return N({type:xn.INIT}),{dispatch:N,subscribe:g,getState:M,replaceReducer:y,[o1]:T}}function s1(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function Jc(e,t,n,i){const r=Object.keys(t),s=n&&n.type===xn.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(r.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Ai(e))return`The ${s} has unexpected type of "${$t(e)}". Expected argument to be an object with the following keys: "${r.join('", "')}"`;const a=Object.keys(e).filter(c=>!t.hasOwnProperty(c)&&!i[c]);if(a.forEach(c=>{i[c]=!0}),!(n&&n.type===xn.REPLACE)&&a.length>0)return`Unexpected ${a.length>1?"keys":"key"} "${a.join('", "')}" found in ${s}. Expected to find one of the known reducer keys instead: "${r.join('", "')}". Unexpected keys will be ignored.`}function qc(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:xn.INIT})>"u")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(12):`The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof n(void 0,{type:xn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(13):`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${xn.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function Xc(e){const t=Object.keys(e),n={};for(let a=0;a<t.length;a++){const c=t[a];b.process$1.env.NODE_ENV!=="production"&&typeof e[c]>"u"&&s1(`No reducer provided for key "${c}"`),typeof e[c]=="function"&&(n[c]=e[c])}const i=Object.keys(n);let r;b.process$1.env.NODE_ENV!=="production"&&(r={});let s;try{qc(n)}catch(a){s=a}return function(c={},u){if(s)throw s;if(b.process$1.env.NODE_ENV!=="production"){const g=Jc(c,n,u,r);g&&s1(g)}let l=!1;const M={};for(let g=0;g<i.length;g++){const N=i[g],y=n[N],T=c[N],d=y(T,u);if(typeof d>"u"){const f=u&&u.type;throw new Error(b.process$1.env.NODE_ENV==="production"?ot(14):`When called with an action of type ${f?`"${String(f)}"`:"(unknown type)"}, the slice reducer for key "${N}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}M[N]=d,l=l||d!==T}return l=l||i.length!==Object.keys(c).length,l?M:c}}function Lr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...i)=>t(n(...i)))}function $c(...e){return t=>(n,i)=>{const r=t(n,i);let s=()=>{throw new Error(b.process$1.env.NODE_ENV==="production"?ot(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const a={getState:r.getState,dispatch:(u,...l)=>s(u,...l)},c=e.map(u=>u(a));return s=Lr(...c)(r.dispatch),{...r,dispatch:s}}}function g0(e){return Ai(e)&&"type"in e&&typeof e.type=="string"}var f0=Symbol.for("immer-nothing"),a1=Symbol.for("immer-draftable"),xt=Symbol.for("immer-state"),Kc=b.process$1.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function jt(e,...t){if(b.process$1.env.NODE_ENV!=="production"){const n=Kc[e],i=typeof n=="function"?n.apply(null,t):n;throw new Error(`[Immer] ${i}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Gn=Object.getPrototypeOf;function Cn(e){return!!e&&!!e[xt]}function Vt(e){return e?h0(e)||Array.isArray(e)||!!e[a1]||!!e.constructor?.[a1]||Si(e)||Or(e):!1}var e4=Object.prototype.constructor.toString();function h0(e){if(!e||typeof e!="object")return!1;const t=Gn(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===e4}function xr(e,t){br(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,i)=>t(i,n,e))}function br(e){const t=e[xt];return t?t.type_:Array.isArray(e)?1:Si(e)?2:Or(e)?3:0}function Uo(e,t){return br(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function j0(e,t,n){const i=br(e);i===2?e.set(t,n):i===3?e.add(n):e[t]=n}function t4(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Si(e){return e instanceof Map}function Or(e){return e instanceof Set}function fn(e){return e.copy_||e.base_}function Yo(e,t){if(Si(e))return new Map(e);if(Or(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=h0(e);if(t===!0||t==="class_only"&&!n){const i=Object.getOwnPropertyDescriptors(e);delete i[xt];let r=Reflect.ownKeys(i);for(let s=0;s<r.length;s++){const a=r[s],c=i[a];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(i[a]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[a]})}return Object.create(Gn(e),i)}else{const i=Gn(e);if(i!==null&&n)return{...e};const r=Object.create(i);return Object.assign(r,e)}}function Us(e,t=!1){return kr(e)||Cn(e)||!Vt(e)||(br(e)>1&&Object.defineProperties(e,{set:{value:ki},add:{value:ki},clear:{value:ki},delete:{value:ki}}),Object.freeze(e),t&&Object.values(e).forEach(n=>Us(n,!0))),e}function ki(){jt(2)}function kr(e){return Object.isFrozen(e)}var n4={};function mn(e){const t=n4[e];return t||jt(0,e),t}var xi;function N0(){return xi}function i4(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function c1(e,t){t&&(mn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ro(e){_o(e),e.drafts_.forEach(r4),e.drafts_=null}function _o(e){e===xi&&(xi=e.parent_)}function u1(e){return xi=i4(xi,e)}function r4(e){const t=e[xt];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function l1(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[xt].modified_&&(Ro(t),jt(4)),Vt(e)&&(e=Tr(t,e),t.parent_||Cr(t,e)),t.patches_&&mn("Patches").generateReplacementPatches_(n[xt].base_,e,t.patches_,t.inversePatches_)):e=Tr(t,n,[]),Ro(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==f0?e:void 0}function Tr(e,t,n){if(kr(t))return t;const i=t[xt];if(!i)return xr(t,(r,s)=>M1(e,i,t,r,s,n)),t;if(i.scope_!==e)return t;if(!i.modified_)return Cr(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;const r=i.copy_;let s=r,a=!1;i.type_===3&&(s=new Set(r),r.clear(),a=!0),xr(s,(c,u)=>M1(e,i,r,c,u,n,a)),Cr(e,r,!1),n&&e.patches_&&mn("Patches").generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function M1(e,t,n,i,r,s,a){if(b.process$1.env.NODE_ENV!=="production"&&r===n&&jt(5),Cn(r)){const c=s&&t&&t.type_!==3&&!Uo(t.assigned_,i)?s.concat(i):void 0,u=Tr(e,r,c);if(j0(n,i,u),Cn(u))e.canAutoFreeze_=!1;else return}else a&&n.add(r);if(Vt(r)&&!kr(r)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Tr(e,r),(!t||!t.scope_.parent_)&&typeof i!="symbol"&&(Si(n)?n.has(i):Object.prototype.propertyIsEnumerable.call(n,i))&&Cr(e,r)}}function Cr(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Us(t,n)}function o4(e,t){const n=Array.isArray(e),i={type_:n?1:0,scope_:t?t.scope_:N0(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let r=i,s=Ys;n&&(r=[i],s=Ti);const{revoke:a,proxy:c}=Proxy.revocable(r,s);return i.draft_=c,i.revoke_=a,c}var Ys={get(e,t){if(t===xt)return e;const n=fn(e);if(!Uo(n,t))return s4(e,n,t);const i=n[t];return e.finalized_||!Vt(i)?i:i===Gr(e.base_,t)?(Vr(e),e.copy_[t]=Po(i,e)):i},has(e,t){return t in fn(e)},ownKeys(e){return Reflect.ownKeys(fn(e))},set(e,t,n){const i=y0(fn(e),t);if(i?.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){const r=Gr(fn(e),t),s=r?.[xt];if(s&&s.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(t4(n,r)&&(n!==void 0||Uo(e.base_,t)))return!0;Vr(e),Qo(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Gr(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Vr(e),Qo(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=fn(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:i.enumerable,value:n[t]}},defineProperty(){jt(11)},getPrototypeOf(e){return Gn(e.base_)},setPrototypeOf(){jt(12)}},Ti={};xr(Ys,(e,t)=>{Ti[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Ti.deleteProperty=function(e,t){return b.process$1.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&jt(13),Ti.set.call(this,e,t,void 0)};Ti.set=function(e,t,n){return b.process$1.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&jt(14),Ys.set.call(this,e[0],t,n,e[0])};function Gr(e,t){const n=e[xt];return(n?fn(n):e)[t]}function s4(e,t,n){const i=y0(t,n);return i?"value"in i?i.value:i.get?.call(e.draft_):void 0}function y0(e,t){if(!(t in e))return;let n=Gn(e);for(;n;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Gn(n)}}function Qo(e){e.modified_||(e.modified_=!0,e.parent_&&Qo(e.parent_))}function Vr(e){e.copy_||(e.copy_=Yo(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var a4=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,i)=>{if(typeof t=="function"&&typeof n!="function"){const s=n;n=t;const a=this;return function(u=s,...l){return a.produce(u,M=>n.call(this,M,...l))}}typeof n!="function"&&jt(6),i!==void 0&&typeof i!="function"&&jt(7);let r;if(Vt(t)){const s=u1(this),a=Po(t,void 0);let c=!0;try{r=n(a),c=!1}finally{c?Ro(s):_o(s)}return c1(s,i),l1(r,s)}else if(!t||typeof t!="object"){if(r=n(t),r===void 0&&(r=t),r===f0&&(r=void 0),this.autoFreeze_&&Us(r,!0),i){const s=[],a=[];mn("Patches").generateReplacementPatches_(t,r,s,a),i(s,a)}return r}else jt(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...c)=>this.produceWithPatches(a,u=>t(u,...c));let i,r;return[this.produce(t,n,(a,c)=>{i=a,r=c}),i,r]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Vt(e)||jt(8),Cn(e)&&(e=c4(e));const t=u1(this),n=Po(e,void 0);return n[xt].isManual_=!0,_o(t),n}finishDraft(e,t){const n=e&&e[xt];(!n||!n.isManual_)&&jt(9);const{scope_:i}=n;return c1(i,t),l1(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(r.path.length===0&&r.op==="replace"){e=r.value;break}}n>-1&&(t=t.slice(n+1));const i=mn("Patches").applyPatches_;return Cn(e)?i(e,t):this.produce(e,r=>i(r,t))}};function Po(e,t){const n=Si(e)?mn("MapSet").proxyMap_(e,t):Or(e)?mn("MapSet").proxySet_(e,t):o4(e,t);return(t?t.scope_:N0()).drafts_.push(n),n}function c4(e){return Cn(e)||jt(10,e),I0(e)}function I0(e){if(!Vt(e)||kr(e))return e;const t=e[xt];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Yo(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Yo(e,!0);return xr(n,(i,r)=>{j0(n,i,I0(r))}),t&&(t.finalized_=!1),n}var u4=new a4,L0=u4.produce;function x0(e){return({dispatch:n,getState:i})=>r=>s=>typeof s=="function"?s(n,i,e):r(s)}var l4=x0(),M4=x0,d4=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Lr:Lr.apply(null,arguments)},g4=e=>e&&typeof e.match=="function";function d1(e,t){function n(...i){if(t){let r=t(...i);if(!r)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(0):"prepareAction did not return an object");return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:i[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=i=>g0(i)&&i.type===e,n}function f4(e){return typeof e=="function"&&"type"in e&&g4(e)}function h4(e){const t=e?`${e}`.split("/"):[],n=t[t.length-1]||"actionCreator";return`Detected an action creator with type "${e||"unknown"}" being dispatched.
|
|
12
|
-
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${n}())\` instead of \`dispatch(${n})\`. This is necessary even if the action has no payload.`}function
|
|
11
|
+
Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,{stack:D})}M.current&&(M.current=!1)}return T}}[i.name],[i]),N=Tc.useSyncExternalStoreWithSelector(u.addNestedSub,c.getState,l||c.getState,g,s);return qe.useDebugValue(N),N};return Object.assign(n,{withTypes:()=>n}),n}var Ae=Qc();function ot(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Pc=typeof Symbol=="function"&&Symbol.observable||"@@observable",o1=Pc,Hr=()=>Math.random().toString(36).substring(7).split("").join("."),Bc={INIT:`@@redux/INIT${Hr()}`,REPLACE:`@@redux/REPLACE${Hr()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Hr()}`},xn=Bc;function Si(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Zc(e){if(e===void 0)return"undefined";if(e===null)return"null";const t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(Hc(e))return"date";if(Fc(e))return"error";const n=Wc(e);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}function Wc(e){return typeof e.constructor=="function"?e.constructor.name:null}function Fc(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function Hc(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function $t(e){let t=typeof e;return b.process$1.env.NODE_ENV!=="production"&&(t=Zc(e)),t}function M0(e,t,n){if(typeof e!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(2):`Expected the root reducer to be a function. Instead, received: '${$t(e)}'`);if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(1):`Expected the enhancer to be a function. Instead, received: '${$t(n)}'`);return n(M0)(e,t)}let i=e,r=t,s=new Map,a=s,c=0,u=!1;function l(){a===s&&(a=new Map,s.forEach((f,C)=>{a.set(C,f)}))}function M(){if(u)throw new Error(b.process$1.env.NODE_ENV==="production"?ot(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return r}function g(f){if(typeof f!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(4):`Expected the listener to be a function. Instead, received: '${$t(f)}'`);if(u)throw new Error(b.process$1.env.NODE_ENV==="production"?ot(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let C=!0;l();const m=c++;return a.set(m,f),function(){if(C){if(u)throw new Error(b.process$1.env.NODE_ENV==="production"?ot(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");C=!1,l(),a.delete(m),s=null}}}function N(f){if(!Si(f))throw new Error(b.process$1.env.NODE_ENV==="production"?ot(7):`Actions must be plain objects. Instead, the actual type was: '${$t(f)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof f.type>"u")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof f.type!="string")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(17):`Action "type" property must be a string. Instead, the actual type was: '${$t(f.type)}'. Value was: '${f.type}' (stringified)`);if(u)throw new Error(b.process$1.env.NODE_ENV==="production"?ot(9):"Reducers may not dispatch actions.");try{u=!0,r=i(r,f)}finally{u=!1}return(s=a).forEach(m=>{m()}),f}function y(f){if(typeof f!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(10):`Expected the nextReducer to be a function. Instead, received: '${$t(f)}`);i=f,N({type:xn.REPLACE})}function T(){const f=g;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error(b.process$1.env.NODE_ENV==="production"?ot(11):`Expected the observer to be an object. Instead, received: '${$t(C)}'`);function m(){const D=C;D.next&&D.next(M())}return m(),{unsubscribe:f(m)}},[o1](){return this}}}return N({type:xn.INIT}),{dispatch:N,subscribe:g,getState:M,replaceReducer:y,[o1]:T}}function s1(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function Gc(e,t,n,i){const r=Object.keys(t),s=n&&n.type===xn.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(r.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Si(e))return`The ${s} has unexpected type of "${$t(e)}". Expected argument to be an object with the following keys: "${r.join('", "')}"`;const a=Object.keys(e).filter(c=>!t.hasOwnProperty(c)&&!i[c]);if(a.forEach(c=>{i[c]=!0}),!(n&&n.type===xn.REPLACE)&&a.length>0)return`Unexpected ${a.length>1?"keys":"key"} "${a.join('", "')}" found in ${s}. Expected to find one of the known reducer keys instead: "${r.join('", "')}". Unexpected keys will be ignored.`}function Vc(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:xn.INIT})>"u")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(12):`The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof n(void 0,{type:xn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(b.process$1.env.NODE_ENV==="production"?ot(13):`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${xn.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function Jc(e){const t=Object.keys(e),n={};for(let a=0;a<t.length;a++){const c=t[a];b.process$1.env.NODE_ENV!=="production"&&typeof e[c]>"u"&&s1(`No reducer provided for key "${c}"`),typeof e[c]=="function"&&(n[c]=e[c])}const i=Object.keys(n);let r;b.process$1.env.NODE_ENV!=="production"&&(r={});let s;try{Vc(n)}catch(a){s=a}return function(c={},u){if(s)throw s;if(b.process$1.env.NODE_ENV!=="production"){const g=Gc(c,n,u,r);g&&s1(g)}let l=!1;const M={};for(let g=0;g<i.length;g++){const N=i[g],y=n[N],T=c[N],d=y(T,u);if(typeof d>"u"){const f=u&&u.type;throw new Error(b.process$1.env.NODE_ENV==="production"?ot(14):`When called with an action of type ${f?`"${String(f)}"`:"(unknown type)"}, the slice reducer for key "${N}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}M[N]=d,l=l||d!==T}return l=l||i.length!==Object.keys(c).length,l?M:c}}function Lr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...i)=>t(n(...i)))}function qc(...e){return t=>(n,i)=>{const r=t(n,i);let s=()=>{throw new Error(b.process$1.env.NODE_ENV==="production"?ot(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const a={getState:r.getState,dispatch:(u,...l)=>s(u,...l)},c=e.map(u=>u(a));return s=Lr(...c)(r.dispatch),{...r,dispatch:s}}}function d0(e){return Si(e)&&"type"in e&&typeof e.type=="string"}var g0=Symbol.for("immer-nothing"),a1=Symbol.for("immer-draftable"),xt=Symbol.for("immer-state"),Xc=b.process$1.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function jt(e,...t){if(b.process$1.env.NODE_ENV!=="production"){const n=Xc[e],i=typeof n=="function"?n.apply(null,t):n;throw new Error(`[Immer] ${i}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Gn=Object.getPrototypeOf;function Cn(e){return!!e&&!!e[xt]}function Vt(e){return e?f0(e)||Array.isArray(e)||!!e[a1]||!!e.constructor?.[a1]||Ei(e)||Or(e):!1}var $c=Object.prototype.constructor.toString();function f0(e){if(!e||typeof e!="object")return!1;const t=Gn(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===$c}function xr(e,t){br(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,i)=>t(i,n,e))}function br(e){const t=e[xt];return t?t.type_:Array.isArray(e)?1:Ei(e)?2:Or(e)?3:0}function Uo(e,t){return br(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function h0(e,t,n){const i=br(e);i===2?e.set(t,n):i===3?e.add(n):e[t]=n}function Kc(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Ei(e){return e instanceof Map}function Or(e){return e instanceof Set}function fn(e){return e.copy_||e.base_}function Yo(e,t){if(Ei(e))return new Map(e);if(Or(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=f0(e);if(t===!0||t==="class_only"&&!n){const i=Object.getOwnPropertyDescriptors(e);delete i[xt];let r=Reflect.ownKeys(i);for(let s=0;s<r.length;s++){const a=r[s],c=i[a];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(i[a]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[a]})}return Object.create(Gn(e),i)}else{const i=Gn(e);if(i!==null&&n)return{...e};const r=Object.create(i);return Object.assign(r,e)}}function Us(e,t=!1){return kr(e)||Cn(e)||!Vt(e)||(br(e)>1&&Object.defineProperties(e,{set:{value:ki},add:{value:ki},clear:{value:ki},delete:{value:ki}}),Object.freeze(e),t&&Object.values(e).forEach(n=>Us(n,!0))),e}function ki(){jt(2)}function kr(e){return Object.isFrozen(e)}var e4={};function mn(e){const t=e4[e];return t||jt(0,e),t}var Ti;function j0(){return Ti}function t4(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function c1(e,t){t&&(mn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ro(e){_o(e),e.drafts_.forEach(n4),e.drafts_=null}function _o(e){e===Ti&&(Ti=e.parent_)}function u1(e){return Ti=t4(Ti,e)}function n4(e){const t=e[xt];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function l1(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[xt].modified_&&(Ro(t),jt(4)),Vt(e)&&(e=Tr(t,e),t.parent_||Cr(t,e)),t.patches_&&mn("Patches").generateReplacementPatches_(n[xt].base_,e,t.patches_,t.inversePatches_)):e=Tr(t,n,[]),Ro(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==g0?e:void 0}function Tr(e,t,n){if(kr(t))return t;const i=t[xt];if(!i)return xr(t,(r,s)=>M1(e,i,t,r,s,n)),t;if(i.scope_!==e)return t;if(!i.modified_)return Cr(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;const r=i.copy_;let s=r,a=!1;i.type_===3&&(s=new Set(r),r.clear(),a=!0),xr(s,(c,u)=>M1(e,i,r,c,u,n,a)),Cr(e,r,!1),n&&e.patches_&&mn("Patches").generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function M1(e,t,n,i,r,s,a){if(b.process$1.env.NODE_ENV!=="production"&&r===n&&jt(5),Cn(r)){const c=s&&t&&t.type_!==3&&!Uo(t.assigned_,i)?s.concat(i):void 0,u=Tr(e,r,c);if(h0(n,i,u),Cn(u))e.canAutoFreeze_=!1;else return}else a&&n.add(r);if(Vt(r)&&!kr(r)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Tr(e,r),(!t||!t.scope_.parent_)&&typeof i!="symbol"&&(Ei(n)?n.has(i):Object.prototype.propertyIsEnumerable.call(n,i))&&Cr(e,r)}}function Cr(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Us(t,n)}function i4(e,t){const n=Array.isArray(e),i={type_:n?1:0,scope_:t?t.scope_:j0(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let r=i,s=Ys;n&&(r=[i],s=Ci);const{revoke:a,proxy:c}=Proxy.revocable(r,s);return i.draft_=c,i.revoke_=a,c}var Ys={get(e,t){if(t===xt)return e;const n=fn(e);if(!Uo(n,t))return r4(e,n,t);const i=n[t];return e.finalized_||!Vt(i)?i:i===Gr(e.base_,t)?(Vr(e),e.copy_[t]=Po(i,e)):i},has(e,t){return t in fn(e)},ownKeys(e){return Reflect.ownKeys(fn(e))},set(e,t,n){const i=N0(fn(e),t);if(i?.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){const r=Gr(fn(e),t),s=r?.[xt];if(s&&s.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Kc(n,r)&&(n!==void 0||Uo(e.base_,t)))return!0;Vr(e),Qo(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Gr(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Vr(e),Qo(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=fn(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:i.enumerable,value:n[t]}},defineProperty(){jt(11)},getPrototypeOf(e){return Gn(e.base_)},setPrototypeOf(){jt(12)}},Ci={};xr(Ys,(e,t)=>{Ci[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Ci.deleteProperty=function(e,t){return b.process$1.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&jt(13),Ci.set.call(this,e,t,void 0)};Ci.set=function(e,t,n){return b.process$1.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&jt(14),Ys.set.call(this,e[0],t,n,e[0])};function Gr(e,t){const n=e[xt];return(n?fn(n):e)[t]}function r4(e,t,n){const i=N0(t,n);return i?"value"in i?i.value:i.get?.call(e.draft_):void 0}function N0(e,t){if(!(t in e))return;let n=Gn(e);for(;n;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Gn(n)}}function Qo(e){e.modified_||(e.modified_=!0,e.parent_&&Qo(e.parent_))}function Vr(e){e.copy_||(e.copy_=Yo(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var o4=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,i)=>{if(typeof t=="function"&&typeof n!="function"){const s=n;n=t;const a=this;return function(u=s,...l){return a.produce(u,M=>n.call(this,M,...l))}}typeof n!="function"&&jt(6),i!==void 0&&typeof i!="function"&&jt(7);let r;if(Vt(t)){const s=u1(this),a=Po(t,void 0);let c=!0;try{r=n(a),c=!1}finally{c?Ro(s):_o(s)}return c1(s,i),l1(r,s)}else if(!t||typeof t!="object"){if(r=n(t),r===void 0&&(r=t),r===g0&&(r=void 0),this.autoFreeze_&&Us(r,!0),i){const s=[],a=[];mn("Patches").generateReplacementPatches_(t,r,s,a),i(s,a)}return r}else jt(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...c)=>this.produceWithPatches(a,u=>t(u,...c));let i,r;return[this.produce(t,n,(a,c)=>{i=a,r=c}),i,r]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Vt(e)||jt(8),Cn(e)&&(e=s4(e));const t=u1(this),n=Po(e,void 0);return n[xt].isManual_=!0,_o(t),n}finishDraft(e,t){const n=e&&e[xt];(!n||!n.isManual_)&&jt(9);const{scope_:i}=n;return c1(i,t),l1(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(r.path.length===0&&r.op==="replace"){e=r.value;break}}n>-1&&(t=t.slice(n+1));const i=mn("Patches").applyPatches_;return Cn(e)?i(e,t):this.produce(e,r=>i(r,t))}};function Po(e,t){const n=Ei(e)?mn("MapSet").proxyMap_(e,t):Or(e)?mn("MapSet").proxySet_(e,t):i4(e,t);return(t?t.scope_:j0()).drafts_.push(n),n}function s4(e){return Cn(e)||jt(10,e),y0(e)}function y0(e){if(!Vt(e)||kr(e))return e;const t=e[xt];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Yo(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Yo(e,!0);return xr(n,(i,r)=>{h0(n,i,y0(r))}),t&&(t.finalized_=!1),n}var a4=new o4,I0=a4.produce;function L0(e){return({dispatch:n,getState:i})=>r=>s=>typeof s=="function"?s(n,i,e):r(s)}var c4=L0(),u4=L0,l4=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Lr:Lr.apply(null,arguments)},M4=e=>e&&typeof e.match=="function";function d1(e,t){function n(...i){if(t){let r=t(...i);if(!r)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(0):"prepareAction did not return an object");return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:i[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=i=>d0(i)&&i.type===e,n}function d4(e){return typeof e=="function"&&"type"in e&&M4(e)}function g4(e){const t=e?`${e}`.split("/"):[],n=t[t.length-1]||"actionCreator";return`Detected an action creator with type "${e||"unknown"}" being dispatched.
|
|
12
|
+
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${n}())\` instead of \`dispatch(${n})\`. This is necessary even if the action has no payload.`}function f4(e={}){if(b.process$1.env.NODE_ENV==="production")return()=>n=>i=>n(i);const{isActionCreator:t=d4}=e;return()=>n=>i=>(t(i)&&console.warn(g4(i.type)),n(i))}function x0(e,t){let n=0;return{measureTime(i){const r=Date.now();try{return i()}finally{const s=Date.now();n+=s-r}},warnIfExceeded(){n>e&&console.warn(`${t} took ${n}ms, which is more than the warning threshold of ${e}ms.
|
|
13
13
|
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
|
|
14
|
-
It is disabled in production builds, so you don't need to worry about that.`)}}}var
|
|
14
|
+
It is disabled in production builds, so you don't need to worry about that.`)}}}var T0=class ci extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,ci.prototype)}static get[Symbol.species](){return ci}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new ci(...t[0].concat(this)):new ci(...t.concat(this))}};function g1(e){return Vt(e)?I0(e,()=>{}):e}function vi(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function h4(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function j4(e,t,n){const i=C0(e,t,n);return{detectMutations(){return m0(e,t,i,n)}}}function C0(e,t=[],n,i="",r=new Set){const s={value:n};if(!e(n)&&!r.has(n)){r.add(n),s.children={};for(const a in n){const c=i?i+"."+a:a;t.length&&t.indexOf(c)!==-1||(s.children[a]=C0(e,t,n[a],c))}}return s}function m0(e,t=[],n,i,r=!1,s=""){const a=n?n.value:void 0,c=a===i;if(r&&!c&&!Number.isNaN(i))return{wasMutated:!0,path:s};if(e(a)||e(i))return{wasMutated:!1};const u={};for(let M in n.children)u[M]=!0;for(let M in i)u[M]=!0;const l=t.length>0;for(let M in u){const g=s?s+"."+M:M;if(l&&t.some(T=>T instanceof RegExp?T.test(g):g===T))continue;const N=m0(e,t,n.children[M],i[M],c,g);if(N.wasMutated)return N}return{wasMutated:!1}}function N4(e={}){if(b.process$1.env.NODE_ENV==="production")return()=>t=>n=>t(n);{let t=function(c,u,l,M){return JSON.stringify(c,n(u,M),l)},n=function(c,u){let l=[],M=[];return u||(u=function(g,N){return l[0]===N?"[Circular ~]":"[Circular ~."+M.slice(0,l.indexOf(N)).join(".")+"]"}),function(g,N){if(l.length>0){var y=l.indexOf(this);~y?l.splice(y+1):l.push(this),~y?M.splice(y,1/0,g):M.push(g),~l.indexOf(N)&&(N=u.call(this,g,N))}else l.push(N);return c==null?N:c.call(this,g,N)}},{isImmutable:i=h4,ignoredPaths:r,warnAfter:s=32}=e;const a=j4.bind(null,i,r);return({getState:c})=>{let u=c(),l=a(u),M;return g=>N=>{const y=x0(s,"ImmutableStateInvariantMiddleware");y.measureTime(()=>{if(u=c(),M=l.detectMutations(),l=a(u),M.wasMutated)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(19):`A state mutation was detected between dispatches, in the path '${M.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const T=g(N);return y.measureTime(()=>{if(u=c(),M=l.detectMutations(),l=a(u),M.wasMutated)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(20):`A state mutation was detected inside a dispatch, in the path: ${M.path||""}. Take a look at the reducer(s) handling the action ${t(N)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),y.warnIfExceeded(),T}}}}function p0(e){const t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||Si(e)}function Bo(e,t="",n=p0,i,r=[],s){let a;if(!n(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null||s?.has(e))return!1;const c=i!=null?i(e):Object.entries(e),u=r.length>0;for(const[l,M]of c){const g=t?t+"."+l:l;if(!(u&&r.some(y=>y instanceof RegExp?y.test(g):g===y))){if(!n(M))return{keyPath:g,value:M};if(typeof M=="object"&&(a=Bo(M,g,n,i,r,s),a))return a}}return s&&D0(e)&&s.add(e),!1}function D0(e){if(!Object.isFrozen(e))return!1;for(const t of Object.values(e))if(!(typeof t!="object"||t===null)&&!D0(t))return!1;return!0}function y4(e={}){if(b.process$1.env.NODE_ENV==="production")return()=>t=>n=>t(n);{const{isSerializable:t=p0,getEntries:n,ignoredActions:i=[],ignoredActionPaths:r=["meta.arg","meta.baseQueryMeta"],ignoredPaths:s=[],warnAfter:a=32,ignoreState:c=!1,ignoreActions:u=!1,disableCache:l=!1}=e,M=!l&&WeakSet?new WeakSet:void 0;return g=>N=>y=>{if(!d0(y))return N(y);const T=N(y),d=x0(a,"SerializableStateInvariantMiddleware");return!u&&!(i.length&&i.indexOf(y.type)!==-1)&&d.measureTime(()=>{const f=Bo(y,"",t,n,r,M);if(f){const{keyPath:C,value:m}=f;console.error(`A non-serializable value was detected in an action, in the path: \`${C}\`. Value:`,m,`
|
|
15
15
|
Take a look at the logic that dispatched this action: `,y,`
|
|
16
16
|
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
|
17
17
|
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),c||(d.measureTime(()=>{const f=g.getState(),C=Bo(f,"",t,n,s,M);if(C){const{keyPath:m,value:h}=C;console.error(`A non-serializable value was detected in the state, in the path: \`${m}\`. Value:`,h,`
|
|
18
18
|
Take a look at the reducer(s) handling this action type: ${y.type}.
|
|
19
|
-
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),d.warnIfExceeded()),T}}}function Ui(e){return typeof e=="boolean"}var x4=()=>function(t){const{thunk:n=!0,immutableCheck:i=!0,serializableCheck:r=!0,actionCreatorCheck:s=!0}=t??{};let a=new C0;if(n&&(Ui(n)?a.push(l4):a.push(M4(n.extraArgument))),b.process$1.env.NODE_ENV!=="production"){if(i){let c={};Ui(i)||(c=i),a.unshift(I4(c))}if(r){let c={};Ui(r)||(c=r),a.push(L4(c))}if(s){let c={};Ui(s)||(c=s),a.unshift(j4(c))}}return a},T4="RTK_autoBatch",f1=e=>t=>{setTimeout(t,e)},C4=(e={type:"raf"})=>t=>(...n)=>{const i=t(...n);let r=!0,s=!1,a=!1;const c=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:f1(10):e.type==="callback"?e.queueNotification:f1(e.timeout),l=()=>{a=!1,s&&(s=!1,c.forEach(M=>M()))};return Object.assign({},i,{subscribe(M){const g=()=>r&&M(),N=i.subscribe(g);return c.add(M),()=>{N(),c.delete(M)}},dispatch(M){try{return r=!M?.meta?.[T4],s=!r,s&&(a||(a=!0,u(l))),i.dispatch(M)}finally{r=!0}}})},m4=e=>function(n){const{autoBatch:i=!0}=n??{};let r=new C0(e);return i&&r.push(C4(typeof i=="object"?i:void 0)),r};function p4(e){const t=x4(),{reducer:n=void 0,middleware:i,devTools:r=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:c=void 0}=e||{};let u;if(typeof n=="function")u=n;else if(Ai(n))u=Xc(n);else throw new Error(b.process$1.env.NODE_ENV==="production"?ve(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(b.process$1.env.NODE_ENV!=="production"&&i&&typeof i!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(2):"`middleware` field must be a callback");let l;if(typeof i=="function"){if(l=i(t),b.process$1.env.NODE_ENV!=="production"&&!Array.isArray(l))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(3):"when using a middleware builder function, an array of middleware must be returned")}else l=t();if(b.process$1.env.NODE_ENV!=="production"&&l.some(d=>typeof d!="function"))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(4):"each middleware provided to configureStore must be a function");if(b.process$1.env.NODE_ENV!=="production"&&s){let d=new Set;l.forEach(f=>{if(d.has(f))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(42):"Duplicate middleware references found when creating the store. Ensure that each middleware is only included once.");d.add(f)})}let M=Lr;r&&(M=d4({trace:b.process$1.env.NODE_ENV!=="production",...typeof r=="object"&&r}));const g=$c(...l),N=m4(g);if(b.process$1.env.NODE_ENV!=="production"&&c&&typeof c!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(5):"`enhancers` field must be a callback");let y=typeof c=="function"?c(N):N();if(b.process$1.env.NODE_ENV!=="production"&&!Array.isArray(y))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(6):"`enhancers` callback must return an array");if(b.process$1.env.NODE_ENV!=="production"&&y.some(d=>typeof d!="function"))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(7):"each enhancer provided to configureStore must be a function");b.process$1.env.NODE_ENV!=="production"&&l.length&&!y.includes(g)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const T=M(...y);return d0(u,a,T)}function A0(e){const t={},n=[];let i;const r={addCase(s,a){if(b.process$1.env.NODE_ENV!=="production"){if(n.length>0)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(i)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const c=typeof s=="string"?s:s.type;if(!c)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(28):"`builder.addCase` cannot be called with an empty action type");if(c in t)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${c}'`);return t[c]=a,r},addAsyncThunk(s,a){if(b.process$1.env.NODE_ENV!=="production"&&i)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(43):"`builder.addAsyncThunk` should only be called before calling `builder.addDefaultCase`");return a.pending&&(t[s.pending.type]=a.pending),a.rejected&&(t[s.rejected.type]=a.rejected),a.fulfilled&&(t[s.fulfilled.type]=a.fulfilled),a.settled&&n.push({matcher:s.settled,reducer:a.settled}),r},addMatcher(s,a){if(b.process$1.env.NODE_ENV!=="production"&&i)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return n.push({matcher:s,reducer:a}),r},addDefaultCase(s){if(b.process$1.env.NODE_ENV!=="production"&&i)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(31):"`builder.addDefaultCase` can only be called once");return i=s,r}};return e(r),[t,n,i]}function D4(e){return typeof e=="function"}function w4(e,t){if(b.process$1.env.NODE_ENV!=="production"&&typeof t=="object")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[n,i,r]=A0(t),s;if(D4(e))s=()=>g1(e());else{const c=g1(e);s=()=>c}function a(c=s(),u){let l=[n[u.type],...i.filter(({matcher:M})=>M(u)).map(({reducer:M})=>M)];return l.filter(M=>!!M).length===0&&(l=[r]),l.reduce((M,g)=>{if(g)if(Cn(M)){const y=g(M,u);return y===void 0?M:y}else{if(Vt(M))return L0(M,N=>g(N,u));{const N=g(M,u);if(N===void 0){if(M===null)return M;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}}return M},c)}return a.getInitialState=s,a}var A4=Symbol.for("rtk-slice-createasyncthunk");function S4(e,t){return`${e}/${t}`}function E4({creators:e}={}){const t=e?.asyncThunk?.[A4];return function(i){const{name:r,reducerPath:s=r}=i;if(!r)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(11):"`name` is a required option for createSlice");typeof b.process$1<"u"&&b.process$1.env.NODE_ENV==="development"&&i.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const a=(typeof i.reducers=="function"?i.reducers(b4()):i.reducers)||{},c=Object.keys(a),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},l={addCase(h,D){const j=typeof h=="string"?h:h.type;if(!j)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(12):"`context.addCase` cannot be called with an empty action type");if(j in u.sliceCaseReducersByType)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(13):"`context.addCase` cannot be called with two reducers for the same action type: "+j);return u.sliceCaseReducersByType[j]=D,l},addMatcher(h,D){return u.sliceMatchers.push({matcher:h,reducer:D}),l},exposeAction(h,D){return u.actionCreators[h]=D,l},exposeCaseReducer(h,D){return u.sliceCaseReducersByName[h]=D,l}};c.forEach(h=>{const D=a[h],j={reducerName:h,type:S4(r,h),createNotation:typeof i.reducers=="function"};k4(D)?U4(j,D,l,t):O4(j,D,l)});function M(){if(b.process$1.env.NODE_ENV!=="production"&&typeof i.extraReducers=="object")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[h={},D=[],j=void 0]=typeof i.extraReducers=="function"?A0(i.extraReducers):[i.extraReducers],L={...h,...u.sliceCaseReducersByType};return w4(i.initialState,p=>{for(let S in L)p.addCase(S,L[S]);for(let S of u.sliceMatchers)p.addMatcher(S.matcher,S.reducer);for(let S of D)p.addMatcher(S.matcher,S.reducer);j&&p.addDefaultCase(j)})}const g=h=>h,N=new Map,y=new WeakMap;let T;function d(h,D){return T||(T=M()),T(h,D)}function f(){return T||(T=M()),T.getInitialState()}function C(h,D=!1){function j(p){let S=p[h];if(typeof S>"u"){if(D)S=vi(y,j,f);else if(b.process$1.env.NODE_ENV!=="production")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(15):"selectSlice returned undefined for an uninjected slice reducer")}return S}function L(p=g){const S=vi(N,D,()=>new WeakMap);return vi(S,p,()=>{const w={};for(const[z,U]of Object.entries(i.selectors??{}))w[z]=z4(U,p,()=>vi(y,p,f),D);return w})}return{reducerPath:h,getSelectors:L,get selectors(){return L(j)},selectSlice:j}}const m={name:r,reducer:d,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:f,...C(s),injectInto(h,{reducerPath:D,...j}={}){const L=D??s;return h.inject({reducerPath:L,reducer:d},j),{...m,...C(L,!0)}}};return m}}function z4(e,t,n,i){function r(s,...a){let c=t(s);if(typeof c>"u"){if(i)c=n();else if(b.process$1.env.NODE_ENV!=="production")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(16):"selectState returned undefined for an uninjected slice reducer")}return e(c,...a)}return r.unwrapped=e,r}var qn=E4();function b4(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function O4({type:e,reducerName:t,createNotation:n},i,r){let s,a;if("reducer"in i){if(n&&!v4(i))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");s=i.reducer,a=i.prepare}else s=i;r.addCase(e,s).exposeCaseReducer(t,s).exposeAction(t,a?d1(e,a):d1(e))}function k4(e){return e._reducerDefinitionType==="asyncThunk"}function v4(e){return e._reducerDefinitionType==="reducerWithPrepare"}function U4({type:e,reducerName:t},n,i,r){if(!r)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:s,fulfilled:a,pending:c,rejected:u,settled:l,options:M}=n,g=r(e,s,M);i.exposeAction(t,g),a&&i.addCase(g.fulfilled,a),c&&i.addCase(g.pending,c),u&&i.addCase(g.rejected,u),l&&i.addMatcher(g.settled,l),i.exposeCaseReducer(t,{fulfilled:a||Yi,pending:c||Yi,rejected:u||Yi,settled:l||Yi})}function Yi(){}function ve(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const h1={txData:void 0,sendTx:"",redeemTx:"",transferComplete:!1,route:void 0,isResumeTx:!1,timestamp:0},S0=qn({name:"redeem",initialState:h1,reducers:{setTxDetails:(e,{payload:t})=>{e.txData=t},setSendTx:(e,{payload:t})=>{e.sendTx=t},setRoute:(e,{payload:t})=>{e.route=t},clearRedeem:e=>{Object.keys(e).forEach(t=>{e[t]=h1[t]})},setIsResumeTx:(e,{payload:t})=>{e.isResumeTx=t},setTimestamp:(e,{payload:t})=>{e.timestamp=t}}}),{setTxDetails:Rs,setSendTx:Y4,clearRedeem:Zo,setRoute:_s,setIsResumeTx:E0,setTimestamp:z0}=S0.actions,R4=S0.reducer;class Sn extends we.Wallet{constructor(t,n){super(),this._address=t,this._chain=n}_isConnected=!0;static NAME="ReadOnlyWallet";getName(){return Sn.NAME}getUrl(){return""}async connect(){return this._isConnected=!0,this.emit("connect"),[this._address.toString()]}async disconnect(){this._isConnected=!1,this.emit("disconnect")}getChainId(){return b.chainToChainId(this._chain)}getNetworkInfo(){throw new Error("Method not implemented.")}getAddress(){return this._address.toString()}getAddresses(){return[this.getAddress()]}setMainAddress(t){}async getBalance(){throw new Error("Address only wallet cannot fetch balance")}isConnected(){return this._isConnected}getIcon(){return""}async signTransaction(t){throw new Error("Address only wallet cannot sign transactions")}async sendTransaction(t){throw new Error("Address only wallet cannot send transactions")}async signMessage(t){throw new Error("Address only wallet cannot sign messages")}async signAndSendTransaction(t){throw new Error("Address only wallet cannot sign or send transactions")}getFeatures(){return[]}supportsChain(t){return this.getChainId()===t}}const mr={address:"",type:void 0,currentAddress:"",error:"",icon:void 0,name:""},j1={sending:mr,receiving:mr},b0=qn({name:"wallet",initialState:j1,reducers:{connectWallet:(e,{payload:t})=>{e.sending.address=t.address,e.sending.currentAddress=t.address,e.sending.type=t.type,e.sending.name=t.name,e.sending.error="",e.sending.icon=t.icon},connectReceivingWallet:(e,{payload:t})=>{e.receiving.address=t.address,e.receiving.currentAddress=t.address,e.receiving.type=t.type,e.receiving.name=t.name,e.receiving.error="",e.receiving.icon=t.icon},clearWallet:(e,{payload:t})=>{e[t]=mr},setWalletError:(e,{payload:t})=>{const{type:n,error:i}=t;e[n].error=i},clearWallets:e=>{Object.keys(e).forEach(t=>{e[t]=j1[t]})},swapWallets:e=>{const t=e.sending;e.sending=e.receiving,e.receiving=t,e.sending.name===Sn.NAME&&(e[we.TransferWallet.SENDING]=mr)}}}),{connectWallet:_4,connectReceivingWallet:Q4,clearWallet:Ci,setWalletError:P4,clearWallets:B4,swapWallets:Z4}=b0.actions,W4=b0.reducer;function F4(){return{data:null,error:null,isFetching:!1,receivedAt:null}}function H4(e){return{data:e,error:null,isFetching:!1,receivedAt:new Date().toISOString()}}function G4(e){return{data:null,error:e,isFetching:!1,receivedAt:null}}function V4(){return{data:null,error:null,isFetching:!0,receivedAt:null}}function N1(){const{source:e,destination:t}=x.config.ui.defaultInputs||{},n=e?.chain,i=e?.token,r=t?.chain,s=t?.token,a=i&&n?x.config.tokens.findByAddressOrSymbol(n,i)?.tuple:void 0,c=s&&r?x.config.tokens.findByAddressOrSymbol(r,s)?.tuple:void 0;return{showValidationState:!1,validations:{fromChain:"",toChain:"",amount:"",toNativeToken:"",sendingWallet:"",receivingWallet:"",relayerFee:"",receiveAmount:""},fromChain:n,toChain:r,token:a,destToken:c,amount:void 0,receiveAmount:F4(),preferredRouteName:x.config.ui.defaultInputs?.preferredRouteName,route:void 0,foreignAsset:"",associatedTokenAddress:"",gasEst:{send:"",claim:""},isTransactionInProgress:!1,receiverNativeBalance:""}}const y1=e=>{const{fromChain:t}=e;if(e.token){const n=x.config.tokens.get(e.token);if(n&&t&&n.chain!==t&&n.symbol){const i=x.config.tokens.findBySymbol(t,n.symbol);i&&(e.token=i.tuple)}}},I1=e=>{const{toChain:t}=e;if(e.destToken){const n=x.config.tokens.get(e.destToken);if(n&&t&&n.chain!==t&&n.symbol){const i=x.config.tokens.findBySymbol(t,n.symbol);i&&(e.destToken=i.tuple)}}},O0=qn({name:"transfer",initialState:N1(),reducers:{setValidations:(e,{payload:{showValidationState:t,validations:n}})=>{Object.keys(n).forEach(i=>{e.validations[i]=n[i]}),e.showValidationState=t},setToken:(e,{payload:t})=>{e.token=t},clearToken:e=>{e.token=void 0},setDestToken:(e,{payload:t})=>{e.destToken=t},clearDestToken:e=>{e.destToken=void 0},setFromChain:(e,{payload:t})=>{e.fromChain=t,y1(e)},setToChain:(e,{payload:t})=>{e.toChain=t,I1(e)},setAmount:(e,{payload:t})=>{if(e.token&&e.fromChain){const n=x.config.tokens.get(e.token);if(n){const{decimals:i}=n,r=b.parse(t,i);b.units(r)===0n?e.amount=void 0:e.amount=r}}else console.warn("Can't call setAmount without a fromChain and token")},setReceiveAmount:(e,{payload:t})=>{e.receiveAmount=H4(t)},setFetchingReceiveAmount:e=>{e.receiveAmount=V4()},setReceiveAmountError:(e,{payload:t})=>{e.receiveAmount=G4(t)},setTransferRoute:(e,{payload:t})=>{if(!t){e.route=void 0;return}e.route=t},clearTransfer:e=>{const t=N1();Object.keys(e).forEach(n=>{e[n]=t[n]})},setIsTransactionInProgress:(e,{payload:t})=>{e.isTransactionInProgress=t},swapInputs:e=>{const t=e.fromChain;e.fromChain=e.toChain,e.toChain=t;const n=e.token;e.token=e.destToken,e.destToken=n,y1(e),I1(e)}}}),k0=(e,t)=>!we.walletAcceptedChains(t.type).includes(e),J4=async(e,t,n)=>{v0(we.TransferWallet.SENDING,e,t,n)},q4=async(e,t,n)=>{v0(we.TransferWallet.RECEIVING,e,t,n)},v0=async(e,t,n,i)=>{k0(n,i)&&(t(Ci(e)),t(P4({type:e,error:"Wallet disconnected, please connect a supported wallet"}))),x.config.chains[n]&&t(e===we.TransferWallet.SENDING?tu(n):Qs(n))},{setValidations:X4,setToken:$4,clearToken:K4,setDestToken:U0,clearDestToken:eu,setFromChain:tu,setToChain:Qs,setAmount:yn,setTransferRoute:Ri,clearTransfer:Y0,setIsTransactionInProgress:L1,swapInputs:nu}=O0.actions,iu=O0.reducer,x1={maxSwapAmt:void 0,toNativeToken:0,receiveNativeAmt:void 0,relayerFee:void 0,receiverNativeBalance:""},R0=qn({name:"transfer",initialState:x1,reducers:{setToNativeToken:(e,{payload:t})=>{e.toNativeToken=t},clearRelay:e=>{Object.keys(e).forEach(t=>{e[t]=x1[t]})}}}),{setToNativeToken:Ot}=R0.actions,ru=R0.reducer,ou={route:"bridge",showFromChainsModal:!1,showToChainsModal:!1,showTokensModal:!1,showWalletModal:!1},_0=qn({name:"router",initialState:ou,reducers:{setRoute:(e,{payload:t})=>{e.route=t}}}),{setRoute:Bt}=_0.actions,su=_0.reducer,au={txHash:void 0,chain:void 0},Q0=qn({name:"search",initialState:au,reducers:{setSearch(e,t){e.txHash=t.payload.txHash,e.chain=t.payload.chain},clearSearch(e){e.txHash=void 0,e.chain=void 0}}}),{setSearch:P0,clearSearch:B0}=Q0.actions,cu=Q0.reducer,T1=p4({reducer:{redeem:R4,transferInput:iu,router:su,wallet:W4,relay:ru,search:cu}}),Nt={0:"00",5:"0C",7:"0F",10:"19",15:"26",20:"33",25:"3F",30:"4C",35:"59",40:"66",45:"72",50:"7F",55:"8C",60:"99",65:"A5",70:"B2",75:"BF",80:"CC",85:"D8",90:"E5",95:"F2",100:"FF"},vr={display:"flex",alignItems:"center",justifyContent:"center"},uu={width:"40px",height:"40px",...vr,cursor:"pointer"},lu=(e,t)=>e.length===7?e+Nt[t]:e.length===9?e.slice(0,7)+Nt[t]:e,Mu=()=>{const e=B.useTheme();return I.useMemo(()=>({"&::-webkit-scrollbar":{display:"none"},"&::-webkit-scrollbar-track":{display:"none",backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{display:"none",backgroundColor:"transparent"},"&:hover::-webkit-scrollbar-thumb":{display:"none",backgroundColor:`${e.palette.text.primary}1a`},"&::-webkit-scrollbar-button":{display:"none"}}),[e])};function du(e,t){const{order:n=e.length,target:i="_black",href:r,label:s}=t;return e.splice(n,0,{label:s,handleClick:()=>window.open(r,i)}),e}function gu(e){const t=[];return t.push({label:"Terms of Service",handleClick:()=>e("terms")}),t}function Ps(){const e=B.useTheme(),t=I.useMemo(()=>({menuIcon:uu,menu:{display:"flex",[e.breakpoints.down("md")]:{flexDirection:"column"},flexDirection:"row",gap:"8px",padding:"8px",width:"100%"},menuItem:{padding:"16px 0",textAlign:"center",fontSize:"14px",margin:"auto",cursor:"pointer","&:hover":{textDecoration:"underline"}}}),[e]),n=tt(),i=I.useCallback(s=>{n(Bt(s))},[n]),r=(x.config.ui?.menu??[]).reduce(du,gu(i));return o.jsx(B.Box,{sx:t.menu,children:r.map(({label:s,handleClick:a},c)=>o.jsx(B.Box,{sx:t.menuItem,onClick:a,children:s},`${s.toLowerCase()}_${c}`))})}function Ur({children:e}){const t=B.useTheme(),n=I.useMemo(()=>({formContent:{backgroundColor:t.palette.formContainer.background+Nt[25],border:`1px solid ${t.palette.formContainer.border+Nt[25]}`,borderRadius:"8px",padding:"20px 16px",display:"flex",flexDirection:"column",width:"488px",gap:"16px",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",[t.breakpoints.down("sm")]:{padding:"8px 4px",width:"auto"}}}),[t.palette.formContainer.background,t.palette.formContainer.border,t.breakpoints]);return o.jsx(B.Box,{sx:n.formContent,children:e})}function Xn(e){const t=B.useTheme(),n=I.useMemo(()=>({fontSize:`${e.size||42}px`,width:"100%",textAlign:e.align||"center",fontFamily:t.typography.fontFamily,fontWeight:e.weight||400,[t.breakpoints.down("sm")]:{fontSize:"24px"}}),[t,e.align,e.size,e.weight]);return o.jsx(B.Box,{sx:n,"data-testid":e["data-testid"],component:"h1",children:e.text})}function Bs({route:e}){const t=B.useTheme(),n=tt();return o.jsx(B.IconButton,{onClick:()=>n(Bt(e)),sx:{mr:1,border:"1px solid "+t.palette.input.border,color:t.palette.text.primary,height:"40px",width:"40px",fontSize:"16px","&:hover":{backgroundColor:t.palette.formContainer.background}},children:o.jsx(n0,{fontSize:"inherit"})})}function fu(){const e=B.useTheme(),t=x.config.ui.termsOfServiceUrl||"https://portalbridge.com",n={terms:{width:"100%",maxWidth:"700px",display:"flex",flexDirection:"column",alignItems:"center"},body:{textAlign:"left",display:"flex",flexDirection:"column",fontWeight:"300",ol:{marginBottom:"8px"},li:{marginBottom:"8px"},maxHeight:"640px",px:"8px",margin:"0px -16px -20px",overflowY:"auto",[e.breakpoints.down("sm")]:{margin:"0px -4px -8px",width:"auto"}}};return o.jsxs(he,{sx:n.terms,children:[o.jsxs(Ur,{children:[o.jsxs(he,{display:"flex",alignItems:"center",children:[o.jsx(Bs,{route:"bridge"}),o.jsx(Xn,{align:"left",text:"Terms of Service",size:24,weight:600})]}),o.jsxs(he,{sx:n.body,children:[o.jsx("p",{children:"Last Updated: September 15, 2025"}),o.jsxs("p",{children:['These Terms of Service (the "Agreement") explain the terms and conditions by which you may access and use the Services provided by Maha Labs, LLC (the "Company," "we," "us," or "our"). The "Services" shall include, but not limited to, the website located at'," ",o.jsx("a",{href:t,target:"_blank",style:{whiteSpace:"nowrap"},rel:"noreferrer",children:t})," ",'(the "Interface"), and any app, content, functionality, and services offered on or through the Interface, and all technologies made available from the Interface, together with all of the existing and any updated or new features, functionalities and technologies.']}),o.jsx("p",{children:"You assume all risks associated with using the SDK, the Wormhole protocol, and digital assets and decentralized systems generally, including but not limited to, that: (a) digital assets are highly volatile; (b) using digital assets is inherently risky due to both features of such assets and the potential unauthorized acts of third parties; (c) you may not have ready access to assets; and (d) you may lose some or all of your tokens or other assets. You agree that you will have no recourse against anyone else for any losses due to the use of the SDK or the Wormhole protocol. For example, these losses may arise from or relate to: (i) incorrect information; (ii) software or network failures; (iii) corrupted cryptocurrency wallet files; (iv) unauthorized access; (v) errors, mistakes, or inaccuracies; or (vi) third-party activities."}),o.jsx("p",{children:"You must read this Agreement carefully as it governs your use of the Services. By accessing or using any of the Services, you (on behalf of yourself or the entity that you represent) signify that you have read, understand, and agree to be bound by, this Agreement and our Privacy Policy in its entirety, and you represent and warrant that you have the willingness, right, authority, and capacity lawfully to enter into this Agreement (on behalf of yourself or the entity that you represent). If you do not agree, you are not authorized to access or use any of our Services and should not use our Services."}),o.jsx("p",{children:"To access or use any of our Services, you must be able to form a legally binding contract with us. Accordingly, you represent that you are at least the age of majority in your jurisdiction (e.g., 18 years old in the United States) and have the full right, power, and authority to enter into and comply with the terms and conditions of this Agreement on behalf of yourself and any company or legal entity for which you may access or use the Interface. If you are entering into this Agreement on behalf of an entity, you represent to us that you have the legal authority to bind such entity."}),o.jsx("p",{children:"You further represent that you are not (a) the subject of economic or trade sanctions administered or enforced by any governmental authority or otherwise designated on any list of prohibited or restricted parties (including but not limited to the list maintained by the Office of Foreign Assets Control of the U.S. Department of the Treasury) or (b) a citizen, resident, or organized in a jurisdiction or territory that is the subject of comprehensive country-wide, territory-wide, or regional economic sanctions by the United States. Finally, you represent that your access and use of any of our Services will fully comply with all applicable laws and regulations, and that you will not access or use any of our Services to conduct, promote, or otherwise facilitate any illegal activity."}),o.jsx("p",{children:"NOTICE: This Agreement contains important information, including a binding arbitration provision and a class action waiver, both of which impact your rights as to how disputes are resolved. Our Services are only available to you — and you should only access any of our Services — if you agree completely with these terms."}),o.jsxs("ol",{children:[o.jsxs("li",{children:["Modifications of this Agreement or our Services"," ",o.jsxs("ol",{type:"a",children:[o.jsxs("li",{children:["Modifications of this Agreement. We reserve the right, in our sole discretion, to modify this Agreement from time to time. If we make any material modifications, we will notify you by updating the date at the top of the Agreement and by maintaining a current version of the Agreement at $",t,"/terms-of-use. All modifications will be effective when they are posted, and your continued accessing or use of any of the Services will serve as confirmation of your acceptance of those modifications. If you do not agree with any modifications to this Agreement, you must immediately stop accessing and using all of our Services."]}),o.jsx("li",{children:"Modifications of our Services. We reserve the following rights, which do not constitute obligations of ours: (a) with or without notice to you, to modify, substitute, eliminate or add to any of the Services; (b) to review, modify, filter, disable, delete, and remove any and all content and information from any of the Services."})]})]}),o.jsxs("li",{children:["Intellectual Property Rights",o.jsxs("ol",{type:"a",children:[o.jsxs("li",{children:["General",o.jsxs("ol",{type:"i",children:[o.jsx("li",{children:"The Services and their entire contents, features, and functionality (including but not limited to all information, software, text, displays, images, video and audio, and the design, selection, and arrangement thereof), are owned by us, our licensors or other providers of such material and are protected by copyright, trademark, patent, trade secret, and other intellectual property or proprietary rights laws. Neither the Agreement (nor your use of the Services) transfers to you or any third party any rights, title, or interest in or to such intellectual property rights, except as indicated otherwise."}),o.jsx("li",{children:"Subject to the terms of this Agreement, we grant you a limited, revocable, non-exclusive, non-sublicensable, non-transferable license to access and use our Services solely in accordance with this Agreement. You agree that you will not use, modify, distribute, tamper with, reverse engineer, disassemble or decompile any of our Services for any purpose other than as expressly permitted pursuant to this Agreement. Except as set forth in this Agreement, we grant you no rights to any of our Services, including any intellectual property rights."})]})]}),o.jsx("li",{children:'Feedback. If you provide us with any feedback or suggestions regarding the Services (“Feedback"), you hereby assign to us all rights in such Feedback and agree that we have the right to use and fully exploit such Feedback and related information in any manner we deem appropriate. Any Feedback you provide will be treated as non-confidential and non-proprietary, and we will be entitled to the unrestricted use and dissemination of such Feedback for any purpose, commercial or otherwise, without acknowledgment, attribution, or compensation to you.'})]})]}),o.jsxs("li",{children:["Your Use of the Services",o.jsxs("ol",{type:"a",children:[o.jsxs("li",{children:["Prohibited Uses. You may use the Services only for lawful purposes and in accordance with the Agreement. You agree not to:",o.jsxs("ol",{type:"i",children:[o.jsx("li",{children:"use the Services in any way that violates any applicable federal, state, local, or international law or regulation, including, without limitation, any applicable sanctions laws, export control laws, securities or other financial regulatory laws, anti-money laundering laws, or privacy laws;"}),o.jsx("li",{children:"use any device, software or routine that interferes with the proper working of any Service;"}),o.jsx("li",{children:"attempt to probe, scan or test the vulnerability of the Services, or otherwise seek to interfere with or compromise the integrity, security, or proper functioning of the Services;"}),o.jsx("li",{children:"attempt to interfere with the proper working of the Services, or interfere with, damage, or disrupt any parts of the Services, the server(s) on which the Services is stored, or any server, computer or database connected to the Services;"}),o.jsx("li",{children:"engage in any other conduct that restricts or inhibits anyone's use or enjoyment of the Services, or which, as determined by us, may harm us or users of the Services or expose them to liability; or"}),o.jsx("li",{children:"encourage or enable any other individual to do any of the foregoing."})]})]}),o.jsxs("li",{children:["Your Responsibilities. By using the Services, you agree and understand that:",o.jsxs("ol",{type:"i",children:[o.jsx("li",{children:"You are solely responsible for your use of the Services and interactions with the Protocol, including all of your transfers of digital assets; all transactions you submit to the Protocol are considered unsolicited, which means that they are solely initiated by you;"}),o.jsx("li",{children:"to the fullest extent not prohibited by applicable laws, we owe no fiduciary duties or liabilities to you or any other party, and that to the extent any such duties or liabilities may exist at law or in equity, you hereby irrevocably disclaim, waive, and eliminate those duties and liabilities;"}),o.jsx("li",{children:"You are solely responsible for reporting and paying any taxes applicable to your use of the Services;"}),o.jsx("li",{children:"We have no control over, or liability for, the delivery, quality, safety, legality, or any other aspect of any digital assets that you may transfer to or from a third party, and we are not responsible for ensuring that a counterparty with whom you transact completes the transaction or is authorized to do so;"}),o.jsx("li",{children:"The Services are non-custodial application, meaning we do not ever have custody, possession, or control of your digital assets at any time; we accept no responsibility for, or liability to you, in connection with your use of a wallet and make no representations or warranties regarding how any of our Services will operate with any specific wallet; likewise, you are solely responsible for any associated wallet and we are not liable for any acts or omissions by you in connection with or as a result of your wallet being compromised; and"}),o.jsx("li",{children:'Transactions that take place on a blockchain network require the payment of transaction fees to the validators or node operators of the relevant network ("Gas Fees"); you will be solely responsible to pay the Gas Fees for any transaction that you initiate via any of our Services.'})]})]}),o.jsx("li",{children:"Release of Claims. You expressly agree that you assume all risks in connection with your use of the Services. You further expressly waive and release us, as well as its affiliates and service providers, and each of their respective past, present and future officers, directors, members, employees, consultants, representatives and agents, and each of their respective successors and assigns from any and all liability, claims, causes of action, or damages arising from or in any way relating to your use of the Services."})]})]}),o.jsxs("li",{children:["Disclaimers",o.jsxs("ol",{type:"a",children:[o.jsx("li",{children:'EACH OF OUR SERVICES IS PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS. TO THE FULLEST EXTENT PERMITTED BY LAW, WE DISCLAIM ANY REPRESENTATIONS AND WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. YOU ACKNOWLEDGE AND AGREE THAT YOUR USE OF EACH OF OUR SERVICES IS AT YOUR OWN RISK. WE DO NOT REPRESENT OR WARRANT THAT ACCESS TO ANY OF OUR SERVICES WILL BE CONTINUOUS, UNINTERRUPTED, TIMELY, OR SECURE; THAT THE INFORMATION CONTAINED IN ANY OF OUR SERVICES WILL BE ACCURATE, RELIABLE, COMPLETE, OR CURRENT; OR THAT ANY OF OUR SERVICES WILL BE FREE FROM ERRORS, DEFECTS, VIRUSES, OR OTHER HARMFUL ELEMENTS. NO ADVICE, INFORMATION, OR STATEMENT THAT WE MAKE SHOULD BE TREATED AS CREATING ANY WARRANTY CONCERNING ANY OF OUR SERVICES.'}),o.jsx("li",{children:'SIMILARLY, THE PROTOCOL IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. WE DO NOT PROVIDE, OWN OR CONTROL THE PROTOCOL, WHICH OPERATES AUTONOMOUSLY ON BLOCKCHAINS SUBJECT TO GOVERNANCE BY A DECENTRALIZED SET OF VALIDATORS. NO DEVELOPER OR ENTITY INVOLVED IN CREATING THE PROTOCOL WILL BE LIABLE FOR ANY CLAIMS OR DAMAGES WHATSOEVER ASSOCIATED WITH YOUR USE, INABILITY TO USE, OR YOUR INTERACTION WITH OTHER USERS OF, THE PROTOCOL, INCLUDING ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR LOSS OF PROFITS, CRYPTOCURRENCIES, TOKENS, OR ANYTHING ELSE OF VALUE. WE DO NOT ENDORSE, GUARANTEE, OR ASSUME RESPONSIBILITY FOR ANY ADVERTISEMENTS, OFFERS, OR STATEMENTS MADE BY THIRD PARTIES CONCERNING ANY OF OUR SERVICES.'}),o.jsx("li",{children:"Information Only. You agree that the information presented on or through the Services are for general informational purposes only. We do not warrant the accuracy, completeness or usefulness of this information. Any reliance you place on such information is strictly at your own risk. We disclaim all liability and responsibility arising from any reliance placed on such materials by you or any other visitor to our Services, or by anyone who may be informed of any of its contents."}),o.jsx("li",{children:"Third Party Information. The Services may include content provided by third parties, including materials provided by other users, bloggers and third-party licensors, syndicators, aggregators, and/or reporting services. All statements and/or opinions expressed in these materials, and all articles and responses to questions and other content are solely the opinions and the responsibility of the person or entity providing those materials. These materials do not necessarily reflect our opinion. We are not responsible, or liable to you or any third party, for the content or accuracy of any materials provided by any third parties."})]})]}),o.jsxs("li",{children:["Indemnification",o.jsx("ol",{type:"a",children:o.jsx("li",{children:`To the fullest extent permitted by applicable laws, you agree to indemnify, defend and hold harmless us, as well as its affiliates and service providers, and each of their respective past, present and future officers, directors, members, employees, consultants, representatives and agents, and each of their respective successors and assigns ("Indemnified Parties") from and against all actual or alleged third party claims, damages, awards, judgments, losses, liabilities, obligations, taxes, penalties, interest, fees, expenses (including, without limitation, attorneys' fees and expenses) and costs (including, without limitation, court costs, costs of settlement and costs of pursuing indemnification and insurance), of every kind and nature whatsoever, whether known or unknown, foreseen or unforeseen, matured or unmatured, or suspected or unsuspected, in law or equity, whether in tort, contract or otherwise ("Claims"), including, but not limited to, damages to property or personal injury, that are caused by, arise out of or are related to: (a) your access and use of any of our Services; (b) your violation of any term or condition of this Agreement, the right of any third party, or any other applicable law, rule, or regulation; (c) any other party's access and use of any of our Services with your assistance or using any device or account that you own or control; (d) any dispute between you and (i) any other user of any of the Services or (ii) any of your own customers or users; and (e) your negligence or willful misconduct. You agree to promptly notify us of any third-party Claims and cooperate with the Indemnified Parties in defending such Claims. You further agree that the Indemnified Parties shall have the right to control the defense or settlement of any third-party Claims as they relate to us, if it so chooses.`})})]}),o.jsxs("li",{children:["LIMITATION OF LIABILITY",o.jsx("ol",{type:"a",children:o.jsx("li",{children:"TO THE FULLEST EXTENT ALLOWED BY APPLICABLE LAW, UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, TORT, CONTRACT, STRICT LIABILITY, OR OTHERWISE) SHALL THE INDEMNIFIED PARTIES OR ANY OF THEM BE LIABLE TO YOU OR TO ANY OTHER PERSON FOR: (A) ANY INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND, INCLUDING DAMAGES FOR LOST PROFITS, BUSINESS INTERRUPTION, LOSS OF DATA, LOSS OF GOODWILL, WORK STOPPAGE, ACCURACY OF RESULTS, OR COMPUTER FAILURE OR MALFUNCTION; (B) ANY SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY; (C) ANY AMOUNT, IN THE AGGREGATE, IN EXCESS OF ONE-HUNDRED ($100) DOLLARS; OR (D) ANY MATTER BEYOND THE REASONABLE CONTROL OF THE INDEMNIFIED PARTIES OR ANY OF THEM. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL OR CERTAIN OTHER DAMAGES, SO THE ABOVE LIMITATIONS AND EXCLUSIONS MAY NOT APPLY TO YOU."})})]}),o.jsxs("li",{children:["Governing Law, Dispute Resolution and Class Action Waivers",o.jsxs("ol",{type:"a",children:[o.jsx("li",{children:"Governing Law: You agree that the laws of the State of New York, without regard to principles of conflict of laws, govern this Agreement and any Dispute between you and us. You further agree that each of our Service shall be deemed to be based solely in the State of New York, and that although Service may be available in other jurisdictions, its availability does not give rise to general or specific personal jurisdiction in any forum outside the State of New York. The parties acknowledge that this Agreement evidences interstate commerce. Any arbitration conducted pursuant to this Agreement shall be governed by the Federal Arbitration Act. You agree that the federal and state courts of New York County, New York are the proper forum for any appeals of an arbitration award or for court proceedings in the event that this Agreement's binding arbitration clause is found to be unenforceable."}),o.jsx("li",{children:`Dispute Resolution: Any claim or controversy arising out of or relating to any of our Services, this Agreement, or any other acts or omissions for which you may contend that we are liable, including, but not limited to, any claim or controversy as to arbitrability ("**Dispute**"), shall be finally and exclusively settled by arbitration under the JAMS Optional Expedited Arbitration Procedures. You understand that you are required to resolve all Disputes by binding arbitration. The arbitration shall be held on a confidential basis before a single arbitrator, who shall be selected pursuant to JAMS rules, including where applicable the JAMS' Mass Arbitration Procedures and Guidelines. The arbitration will be held in New York, New York, unless you and we both agree to hold it elsewhere. Unless we agree otherwise, the arbitrator may not consolidate your claims with those of any other party. Any judgment on the award rendered by the arbitrator may be entered in any court of competent jurisdiction. If for any reason a claim by law or equity must proceed in court rather than in arbitration you agree to waive any right to a jury trial and any claim may be brought only in a Federal District Court or a New York state court located in New York County, New York.`}),o.jsx("li",{children:"Class Action and Jury Trial Waiver: You must bring any and all Disputes against us in your individual capacity and not as a plaintiff in or member of any purported class action, collective action, private attorney general action, or other representative proceeding. This provision applies to class arbitration. You and we both agree to waive the right to demand a trial by jury."})]})]}),o.jsxs("li",{children:["Miscellaneous",o.jsxs("ol",{type:"a",children:[o.jsx("li",{children:"Entire Agreement. These terms, together with the Privacy Policy, constitute the entire agreement between you and us with respect to the subject matter hereof. This Agreement supersedes any and all prior or contemporaneous written and oral agreements, communications and other understandings (if any) relating to the subject matter of the terms."}),o.jsx("li",{children:"Assignment. You may not assign or transfer this Agreement, by operation of law or otherwise, without our prior written consent. Any attempt by you to assign or transfer this Agreement without our prior written consent shall be null and void. We may freely assign or transfer this Agreement. Subject to the foregoing, this Agreement will bind and inure to the benefit of the parties, their successors and permitted assigns."}),o.jsx("li",{children:"Not Registered with Any Governmental Agency. We are not registered with any governmental agency in any other capacity. You understand and acknowledge that we do not broker trading orders on your behalf. We also do not facilitate the execution or settlement of your trades, which occur entirely on public distributed blockchains like Ethereum. As a result, we do not (and cannot) guarantee market best pricing or best execution through our Services."}),o.jsx("li",{children:"Notice. We may provide any notice to you under this Agreement using commercially reasonable means, including using public communication channels. Notices we provide by using public communication channels will be effective upon posting. You can contact us at contact@wormholelabs.xyz."}),o.jsx("li",{children:"Severability. If any provision of this Agreement shall be determined to be invalid or unenforceable under any rule, law, or regulation of any local, state, or federal government agency, such provision will be changed and interpreted to accomplish the objectives of the provision to the greatest extent possible under any applicable law and the validity or enforceability of any other provision of this Agreement shall not be affected."})]})]})]})]})]}),x.config.ui.showFooter&&o.jsx(Ps,{})]})}const hu=/^\d*\.?\d*$/,ju=/[^0-9.]/g;function Nu(e){const t=I.useMemo(()=>({input:{width:"100%",border:"none",backgroundImage:"none",backgroundColor:"transparent",fontSize:"inherit",boxShadow:"none",outline:"none",flexGrow:1,textAlign:e.align||"left"}}),[e.align]),n=r=>{e.type==="number"&&!hu.test(r.target.value)&&(r.target.value=r.target.value.replace(ju,"")),e.onChange&&e.onChange(r)},i=r=>{r.key==="Enter"&&e.onEnter&&e.onEnter(r)};return o.jsx("input",{ref:e.inputRef,id:e.id,style:t.input,placeholder:e.placeholder,min:e.min,max:e.max,step:e.step,onChange:n,onKeyDown:i,readOnly:e.disabled,value:e.value,"data-testid":e.testId})}const Z0=B.createSvgIcon(o.jsx("path",{d:"M21.0008 21.0008L15.8038 15.8038M15.8038 15.8038C17.2104 14.3972 18.0006 12.4895 18.0006 10.5003C18.0006 8.51108 17.2104 6.60336 15.8038 5.19678C14.3972 3.79021 12.4895 3 10.5003 3C8.51108 3 6.60336 3.79021 5.19678 5.19678C3.79021 6.60336 3 8.51108 3 10.5003C3 12.4895 3.79021 14.3972 5.19678 15.8038C6.60336 17.2104 8.51108 18.0006 10.5003 18.0006C12.4895 18.0006 14.3972 17.2104 15.8038 15.8038V15.8038Z",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),"Search");function yu(e){const t=B.useTheme(),n=I.useMemo(()=>({searchContent:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},container:{width:"100%",padding:"16px",borderRadius:"8px",backgroundColor:t.palette.card.secondary},input:{flexGrow:1},searchBorder:{border:`1px solid ${lu(t.palette.divider,50)}`,borderRadius:"8px"},clickable:{cursor:"pointer"}}),[t]),i=I.useRef(null),r=()=>{i.current&&i.current.focus()};return I.useEffect(()=>{r()},[]),o.jsx(B.Box,{sx:n.searchBorder,children:o.jsx(B.Box,{sx:n.container,onClick:r,children:o.jsxs(B.Box,{sx:n.searchContent,children:[o.jsx(B.Box,{sx:n.input,children:o.jsx(Nu,{value:e.value,inputRef:i,placeholder:e.placeholder,onChange:e.onChange,onEnter:e.onSearch})}),o.jsx(B.Box,{onClick:e.onSearch,sx:e.onSearch&&n.clickable,children:o.jsx(Z0,{})})]})})})}const Iu={padding:"8px 16px",borderRadius:"48px",height:"48px",margin:"auto",maxWidth:"456px",width:"100%",boxShadow:"none"},Lu={backgroundColor:e=>e.palette.button.primary,color:e=>e.palette.button.primaryText,"&.Mui-disabled":{backgroundColor:e=>e.palette.button.disabled,color:e=>e.palette.button.disabledText},"&:hover":{boxShadow:"none",backgroundColor:e=>e.palette.button.hover,"&:disabled":{backgroundColor:e=>e.palette.button.disabled,color:e=>e.palette.button.disabledText}},"&:active":{boxShadow:"none",backgroundColor:e=>e.palette.button.action,color:e=>e.palette.button.actionText}},xu={backgroundColor:e=>e.palette.error.main,color:e=>e.palette.error.contrastText,"&:disabled":{backgroundColor:e=>e.palette.error.main,color:e=>e.palette.error.contrastText,opacity:.4}},Tu={primary:Lu,error:xu},zt=({variant:e="default",styleOverrides:t,...n})=>{const i=I.useMemo(()=>{if(e==="default")return t??{};const s=Tu[e];return[Iu,s,t].filter(Boolean)},[e,t]),r=e==="primary"||e==="error"?"contained":"text";return o.jsx(B.Button,{variant:r,sx:i,...n})},Cu=B.createSvgIcon(o.jsx("path",{d:"M12.0003 9.99993V13.7499M2.69731 17.1259C1.83131 18.6259 2.91431 20.4999 4.64531 20.4999H19.3553C21.0853 20.4999 22.1683 18.6259 21.3033 17.1259L13.9493 4.37793C13.0833 2.87793 10.9173 2.87793 10.0513 4.37793L2.69731 17.1259ZM12.0003 16.7499H12.0073V16.7579H12.0003V16.7499Z",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),"Alert");function mu(e){const t=B.useTheme(),n=I.useMemo(()=>({base:{width:"100%",padding:"8px",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",gap:"10px",borderRadius:"8px"},error:{backgroundColor:t.palette.error.main+Nt[25]},warning:{backgroundColor:t.palette.warning.main+Nt[25]}}),[t]);return o.jsx(B.Collapse,{in:e.show&&!!e.content,unmountOnExit:!0,children:o.jsxs(B.Box,{sx:[n.base,!!e.warning&&n.warning,!!e.error&&n.error],style:{margin:e.margin||0},"data-testid":e.testId,children:[o.jsx(Cu,{}),e.content]})})}const En=I.createContext({route:null,receipt:null,setRoute:()=>{},setReceipt:()=>{},clear:()=>{}}),pu=({children:e})=>{const[t,n]=I.useState(null),[i,r]=I.useState(null),s=I.useCallback(()=>{n(null),r(null)},[]);return o.jsx(En.Provider,{value:{route:t,receipt:i,setRoute:n,setReceipt:r,clear:s},children:e})};function C1(e){return{url:`${i0.WORMSCAN}tx/${e}${x.config.isMainnet?"":"?network=TESTNET"}`,name:"Wormholescan"}}function Du(e){return{url:`https://${x.config.isMainnet?"":"testnet."}axelarscan.io/gmp/${e}`,name:"Axelarscan"}}const m1=["Linea","Sonic"];function wu(e,t,n,i){const r=typeof e=="string"?e:e.constructor.meta.name;return r.startsWith("MayanSwap")?[{url:`https://explorer.mayan.finance/swap/${t}`,name:"Mayan Explorer"}]:r==="LiFi"?[{url:`https://scan.li.fi/tx/${t}`,name:"Li.Fi SCAN"}]:r.includes("MonadBridge")?[C1(t),Du(t)]:x.isExecutorRoute(r)&&(m1.includes(n)||m1.includes(i))?[{url:x.config.isMainnet?`https://usdc.range.org/usdc/status/${t}`:"",name:"USDC.range Explorer"}]:r==="BaseBridgeRoute"?[]:[C1(t)]}async function Au(e,t,n){switch(e){case"ManualTokenBridge":return await W0(t);case"TokenBridgeExecutorRoute":return await Su(t);case"ManualCCTP":return await Eu(t);case"ManualNtt":case"NttExecutorRoute":return p1(t);case"AutomaticNtt":return p1(t);case"ManualTBTC":return zu(t);case"CCTPv2StandardExecutorRoute":case"CCTPv2FastExecutorRoute":return bu(t);case"MonadBridgeManualRoute":case"MonadBridgeExecutorRoute":return await ku(t,n);case"BaseBridgeRoute":return Ou(t);default:throw new Error(`Unknown route type ${e}`)}}const W0=async e=>{const t={toChain:e.to,fromChain:e.from};if("originTxs"in e&&e.originTxs.length>0)t.sendTx=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");const{payload:n}=e.attestation.attestation;if(!n.token)throw new Error("Attestation is missing token.");if(n.token){const i=await x.getWormholeContextV2(),r=i.getChain(e.from),s=i.getChain(e.to),a=await Wo(r,n.token);if(!a)throw new Error("Unknown source token");const c=await Wo(s,n.token);if(!c)throw new Error("Unknown destination token");t.tokenDecimals=a.decimals,t.amount=b.fromBaseUnits(n.token.amount,Math.min(8,a.decimals)),t.tokenAddress=a.address.toString(),t.token=a.tuple,t.receivedToken=c.tuple,t.receiveAmount=t.amount}if(n.to)if(Ee.isSvmChain(e.to)){const i=x.config.rpcs[e.to];if(!i)throw new Error(`Missing ${e.to} RPC`);const r=n.to.address.toNative(e.to).toString(),s=new Ze.Connection(i);try{const a=await At.getAccount(s,new Ze.PublicKey(r));t.recipient=a.owner.toBase58()}catch(a){console.error(a),t.recipient=r}}else t.recipient=n.to.address.toNative(e.to).toString();return t},Su=async e=>{const t=await W0(e);return t.recipient=e.attestation.attestation.payload.payload.targetRecipient.toNative(t.toChain).toString(),t},Eu=async e=>{const t={toChain:e.to,fromChain:e.from};if("originTxs"in e&&e.originTxs.length>0)t.sendTx=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");if(!e.attestation.attestation)throw new Error("Missing Circle attestation");const{payload:n}=e.attestation.attestation.message,i=b.Wormhole.tokenId(e.from,e.from==="Sui"?b.usdcContract.get(x.config.network,e.from):n.burnToken.toNative(e.from).toString()),r=x.config.tokens.get(i);if(!r)throw new Error("Couldn't find USDC for source chain");if(t.tokenAddress=i.address.toString(),t.token=r.tuple,t.tokenDecimals=r.decimals,t.amount=b.fromBaseUnits(n.amount,r.decimals),t.receiveAmount=t.amount,t.sender=n.messageSender.toNative(e.from).toString(),Ee.isSvmChain(e.to)){const s=x.config.rpcs[e.to];if(!s)throw new Error(`Missing ${e.to} RPC`);const a=n.mintRecipient.toNative(e.to).toString(),c=new Ze.Connection(s);try{const u=await At.getAccount(c,new Ze.PublicKey(a));t.recipient=u.owner.toBase58()}catch(u){console.error(u),t.recipient=a}}else t.recipient=n.mintRecipient.toNative(e.to).toString();if(t.toChain){const s=b.usdcContract.get(x.config.network,t.toChain);if(!s)throw new Error("Couldn't find USDC for destination chain");const a=x.config.tokens.get(t.toChain,s);if(!a)throw new Error("Couldn't find USDC for destination chain");t.receivedToken=a.tuple}return t},p1=e=>{let t="";if("originTxs"in e&&e.originTxs.length>0)t=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");const n=b.Wormhole.tokenId(e.from,e.params.normalizedParams.sourceContracts.token),i=x.config.tokens.get(n);if(!i)throw new Error("Unknown src token");const r=b.Wormhole.tokenId(e.to,e.params.normalizedParams.destinationContracts.token),s=x.config.tokens.get(r);if(!s)throw new Error("Unknown dst token");const{attestation:a}=e.attestation,{payload:c}=a.payloadName==="WormholeTransfer"?a:a.payload,{trimmedAmount:u}=c.nttManagerPayload.payload,l=b.fromBaseUnits(u.amount,u.decimals);return{toChain:e.to,fromChain:e.from,sendTx:t,sender:c.nttManagerPayload.sender.toNative(e.from).toString(),recipient:c.nttManagerPayload.payload.recipientAddress.toNative(e.to).toString(),amount:l,tokenAddress:i.tokenId.address.toString(),token:i.tuple,tokenDecimals:u.decimals,receivedToken:s.tuple,receiveAmount:l,relayerFee:void 0}},zu=async e=>{const t={toChain:e.to,fromChain:e.from};if("originTxs"in e&&e.originTxs.length>0)t.sendTx=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");const{payload:n}=e.attestation.attestation;if(!n.token)throw new Error("Attestation is missing token.");const i=await x.getWormholeContextV2(),r=i.getChain(e.from),s=i.getChain(e.to),a=async(l,M)=>{const g=b.TBTCBridge.getNativeTbtcToken(l.chain);return g?x.config.tokens.get(g):await Wo(l,M)},c=await a(r,n.token);if(!c)throw new Error("Unknown source token");const u=await a(s,n.token);if(!u)throw new Error("Unknown destination token");return t.tokenDecimals=c.decimals,t.amount=b.fromBaseUnits(n.token.amount,Math.min(8,c.decimals)),t.tokenAddress=c.address.toString(),t.token=c.tuple,t.receivedToken=u.tuple,t.receiveAmount=t.amount,t.recipient=(n.payload?.recipient??n.to.address).toNative(e.to).toString(),t},bu=async e=>{const t={toChain:e.to,fromChain:e.from};if("originTxs"in e&&e.originTxs.length>0)t.sendTx=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");if(!e.attestation.attestation)throw new Error("Missing Circle attestation");const{messageBody:n}=e.attestation.attestation.message,i=b.Wormhole.tokenId(e.from,n.burnToken.toNative(e.from).toString()),r=x.config.tokens.get(i);if(!r)throw new Error("Couldn't find USDC for source chain");if(t.tokenAddress=i.address.toString(),t.token=r.tuple,t.tokenDecimals=r.decimals,t.amount=b.fromBaseUnits(n.amount,r.decimals),t.receiveAmount=t.amount,Ee.isSvmChain(e.to)){const s=x.config.rpcs[e.to];if(!s)throw new Error(`Missing ${e.to} RPC`);const a=n.mintRecipient.toNative(e.to).toString(),c=new Ze.Connection(s);try{const u=await At.getAccount(c,new Ze.PublicKey(a));t.recipient=u.owner.toBase58()}catch(u){console.error(u),t.recipient=a}}else t.recipient=n.mintRecipient.toNative(e.to).toString();if(t.toChain){const s=b.usdcContract.get(x.config.network,t.toChain);if(!s)throw new Error("Couldn't find USDC for destination chain");const a=x.config.tokens.get(t.toChain,s);if(!a)throw new Error("Couldn't find USDC for destination chain");t.receivedToken=a.tuple}return t},Ou=async e=>{let t="";if("originTxs"in e&&e.originTxs.length>0)t=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");const{transferInfo:n}=e.attestation;if(!n)throw new Error("BaseBridgeRoute attestation missing metadata");const i=x.config.tokens.get(e.from,n.localToken);if(!i)throw new Error(`Unknown source token: ${n.localChain} on ${e.from}`);const r=x.config.tokens.get(e.to,n.remoteToken);if(!r)throw new Error(`Unknown destination token: ${n.remoteToken} on ${e.to}`);const s=b.fromBaseUnits(n.amount,i.decimals);let a=n.to;if(Ee.isSvmChain(e.to)){const c=x.config.rpcs[e.to];if(!c)throw new Error(`Missing ${e.to} RPC`);const u=new Ze.Connection(c);try{const l=new Ze.PublicKey(n.remoteToken),M=new Ze.PublicKey(n.to),g=await u.getAccountInfo(l);g&&(a=(await At.getAccount(u,M,"confirmed",g.owner)).owner.toBase58())}catch(l){console.error(l)}}return{toChain:e.to,fromChain:e.from,sendTx:t,sender:void 0,recipient:a,amount:s,tokenAddress:i.address.toString(),token:i.tuple,tokenDecimals:i.decimals,receivedToken:r.tuple,receiveAmount:s}},ku=async(e,t)=>{let n="";if(e.originTxs?.length>0)n=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");const i=await t(e.params.normalizedParams.sourceTokenId);if(!i)throw new Error("Unable to fetch source token");const r=await t(e.params.normalizedParams.destinationTokenId);if(!r)throw new Error("Unable to fetch destination token");const{attestation:s}=e.attestation,{nttManagerPayload:a}=s.payload,c=a.payload.data.trimmedAmount,u=b.fromBaseUnits(c.amount,c.decimals);return{toChain:e.to,fromChain:e.from,sendTx:n,sender:void 0,recipient:a.payload.data.to.toNative(e.to).toString(),amount:u,tokenAddress:i.tokenId.address.toString(),token:i.tuple,tokenDecimals:c.decimals,receivedToken:r.tuple,receiveAmount:u}},vu=e=>typeof e=="object"&&typeof e.amount=="string"&&typeof e.decimals=="number",Uu=e=>vu(e?.min),Wo=async(e,t)=>{const n=await e.getTokenBridge(),{chain:i}=e,r=t.chain===i?await n.getTokenNativeAddress(t.chain,t.address):await n.getWrappedAsset({chain:t.chain,address:t.address}),s=await n.getWrappedNative(),a=s&&s.toString()===r.toString()?b.nativeTokenId(i):b.Wormhole.tokenId(i,r.toString());return x.config.tokens.get(a)};function D1(e,t,n=!1){const i=t?!x.config.routes.isSameChainSwapSupported(t):!1;return x.config.chainsArr.filter(r=>{if(n&&we.isHyperCoreChain(r.sdkName)||!e.includes(r.sdkName))return!1;if(typeof x.config.isChainSupportedHandler=="function"){const a=n?"source":"destination";if(!x.config.isChainSupportedHandler(r.sdkName,a,x.config.network,t))return!1}return!(i&&t===r.sdkName)})}function Yu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"white"}),o.jsx("path",{d:"M29.8809 18.0146C29.8809 11.5195 24.5917 6.25427 18.0682 6.25427C11.5446 6.25427 6.25415 11.5195 6.25415 18.0146C6.25415 19.3574 6.4807 20.6472 6.89662 21.8493C6.8992 21.8547 6.92193 21.9236 6.92193 21.9236C7.08986 22.4557 6.25673 22.664 6.25673 22.9825C6.25673 23.4814 8.01354 23.4138 8.01354 23.9936C8.01354 24.4992 6.27541 24.6558 6.27541 25.1652C6.27541 25.8699 10.1237 25.6244 10.173 26.2294C10.2104 26.6965 8.84943 26.7257 8.84142 27.2246C8.82808 28.0221 14.0933 27.7607 14.0933 28.2914C14.0933 28.6935 11.6979 28.5475 11.6979 29.0226C11.6979 29.4976 14.8504 29.7975 18.3254 29.7975C21.8005 29.7975 24.1971 29.4127 24.1971 28.9973C24.1971 28.582 21.9604 28.667 22.0071 28.2927C22.087 27.6386 27.0523 27.973 27.0523 27.2153C27.0523 26.8159 25.6874 26.723 25.7314 26.2931C25.7941 25.6854 29.8809 25.7756 29.8809 25.1441C29.8809 24.6478 27.8548 24.5257 27.8588 24.0095C27.8615 23.4827 29.8809 23.5054 29.8675 23.0117C29.8569 22.6322 28.9638 22.6415 29.2437 21.8374C29.668 20.6075 29.8843 19.3155 29.8835 18.0146H29.8809ZM26.1273 21.3544C25.7167 22.2793 24.7943 22.0935 24.6903 22.4823C24.5824 22.8843 25.8274 22.9427 25.8274 23.3633C25.8274 23.8742 22.0324 23.6698 22.0697 24.3439C22.0938 24.7685 24.765 24.8401 24.7143 25.2833C24.641 25.9256 20.5755 25.6045 20.5355 26.2202C20.5062 26.6713 22.5203 26.6872 22.5243 27.0986C22.5283 27.4449 20.9434 27.6333 17.9069 27.6333C14.4492 27.6333 12.767 27.4476 12.9589 27.0614C13.1376 26.7005 16.1994 26.7669 16.1687 26.1989C16.1381 25.6324 10.7316 25.7982 10.5689 25.2475C10.433 24.7898 12.3457 24.6955 12.3338 24.2603C12.3217 23.8171 9.88509 23.918 9.83181 23.3806C9.79712 23.0289 11.1048 23.0502 11.0488 22.607C11.0074 22.2845 10.4676 22.3296 10.1477 21.6649C9.61569 20.5211 9.3404 19.2747 9.34118 18.0133C9.34118 13.2152 13.2495 9.32477 18.0695 9.32477C22.8895 9.32477 26.7977 13.2152 26.7977 18.0133C26.7977 19.1969 26.5591 20.3248 26.1286 21.3531L26.1273 21.3544Z",fill:"black"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.89666 21.8493C6.48075 20.6472 6.25419 19.3574 6.25419 18.0145C6.25419 11.5194 11.5447 6.25422 18.0682 6.25422C24.5917 6.25422 29.8809 11.5194 29.8809 18.0145H29.8836C29.8843 19.3155 29.6681 20.6075 29.2438 21.8373C29.0703 22.336 29.3477 22.5218 29.586 22.6816C29.7321 22.7794 29.8635 22.8675 29.8676 23.0117C29.8742 23.2549 29.387 23.3728 28.8909 23.4929C28.3803 23.6164 27.8602 23.7424 27.8588 24.0095C27.8569 24.2703 28.373 24.4304 28.8843 24.5891C29.385 24.7445 29.8809 24.8984 29.8809 25.144C29.8809 25.4639 28.8325 25.5986 27.7896 25.7326C26.7734 25.8633 25.7624 25.9932 25.7315 26.293C25.7088 26.514 26.0584 26.646 26.4035 26.7762C26.7299 26.8995 27.0524 27.0212 27.0524 27.2153C27.0524 27.6089 25.7124 27.7078 24.4135 27.8036C23.212 27.8923 22.0455 27.9784 22.0071 28.2927C21.9843 28.4758 22.5077 28.5489 23.0486 28.6245C23.6134 28.7035 24.1972 28.7851 24.1972 28.9973C24.1972 29.4126 21.8005 29.7975 18.3255 29.7975C14.8504 29.7975 11.698 29.4976 11.698 29.0225C11.698 28.7751 12.3478 28.6961 12.9704 28.6205C13.5434 28.5509 14.0933 28.484 14.0933 28.2914C14.0933 28.053 13.0312 27.9745 11.8623 27.8879C10.4285 27.7818 8.83415 27.6639 8.84146 27.2246C8.84542 26.9732 9.19283 26.8411 9.53179 26.7121C9.86577 26.5851 10.1916 26.4612 10.1731 26.2293C10.1494 25.939 9.25084 25.8445 8.32243 25.7469C7.31646 25.6411 6.27554 25.5317 6.27554 25.1652C6.27554 24.91 6.71169 24.7432 7.14715 24.5769C7.5808 24.4113 8.01367 24.2458 8.01367 23.9935C8.01367 23.6928 7.54086 23.5662 7.08577 23.4444C6.66366 23.3314 6.25686 23.2225 6.25686 22.9825C6.25686 22.8523 6.39587 22.7406 6.549 22.6176C6.77056 22.4397 7.0213 22.2383 6.92197 21.9236C6.92197 21.9236 6.89933 21.8546 6.89666 21.8493ZM6.83176 21.9528C6.86499 22.0584 6.84898 22.1443 6.80585 22.223C6.76023 22.3063 6.6832 22.3829 6.59127 22.4606C6.56131 22.4859 6.52843 22.5123 6.49512 22.5392C6.43315 22.589 6.36928 22.6404 6.31866 22.689C6.24085 22.7639 6.16201 22.8609 6.16201 22.9825C6.16201 23.0764 6.20453 23.1531 6.26607 23.2132C6.32581 23.2718 6.40612 23.3178 6.49305 23.3562C6.65247 23.4268 6.85888 23.482 7.05943 23.5356L7.11074 23.5494C7.33229 23.6089 7.54206 23.6681 7.69657 23.7459C7.85478 23.8257 7.9189 23.9062 7.9189 23.9935C7.9189 24.0271 7.90513 24.0633 7.86812 24.1052C7.83024 24.1479 7.77214 24.1915 7.69485 24.2359C7.53974 24.3252 7.3304 24.4053 7.11082 24.4892L7.10798 24.4903C6.89382 24.5721 6.66985 24.6577 6.49968 24.7561C6.41395 24.8057 6.33614 24.8616 6.27907 24.9266C6.22105 24.9925 6.18068 25.0721 6.18068 25.1652C6.18068 25.3039 6.277 25.4022 6.39295 25.4703C6.51061 25.5395 6.67218 25.5926 6.85578 25.636C7.22427 25.7232 7.71318 25.7781 8.19581 25.829L8.31141 25.8412C8.75763 25.8881 9.19111 25.9338 9.52482 26C9.70653 26.0362 9.85157 26.0772 9.95064 26.1245C10.0558 26.1748 10.0769 26.2163 10.0786 26.2371C10.0835 26.298 10.0468 26.3596 9.93187 26.4311C9.81903 26.5014 9.66237 26.5609 9.49134 26.626L9.49056 26.6262C9.3247 26.6894 9.14548 26.7577 9.00794 26.8438C8.87185 26.9289 8.74954 27.0485 8.7467 27.223C8.74403 27.3829 8.87417 27.4904 9.02145 27.5628C9.17561 27.6387 9.3902 27.6978 9.63827 27.7463C10.1363 27.8434 10.7986 27.9023 11.4552 27.9527C11.5897 27.9629 11.7241 27.9729 11.8568 27.9827C12.3748 28.021 12.8686 28.0576 13.259 28.1071C13.5046 28.1383 13.7033 28.1739 13.8388 28.2165C13.9071 28.2379 13.9527 28.2591 13.9793 28.2781C13.9898 28.2856 13.9951 28.291 13.9976 28.2941C13.9964 28.2962 13.9951 28.2981 13.9935 28.2999C13.9865 28.3084 13.972 28.3208 13.9453 28.3352C13.8916 28.3643 13.8084 28.3911 13.6984 28.4158C13.4974 28.4608 13.2335 28.4929 12.9579 28.5264L12.8842 28.5353C12.5863 28.5717 12.2801 28.6112 12.0481 28.6726C11.9326 28.7032 11.8276 28.741 11.7496 28.7914C11.6718 28.8416 11.6032 28.9165 11.6032 29.0225C11.6032 29.1379 11.6966 29.2189 11.7929 29.2745C11.8964 29.3342 12.0424 29.3874 12.22 29.4356C12.577 29.5324 13.0854 29.6151 13.6982 29.6825C14.9252 29.8173 16.5858 29.8923 18.3255 29.8923C20.0659 29.8923 21.5385 29.796 22.5779 29.6471C23.0968 29.5727 23.5116 29.4847 23.7988 29.3875C23.9417 29.3391 24.0585 29.2866 24.1415 29.2289C24.2206 29.1739 24.2919 29.0977 24.2919 28.9973C24.2919 28.8963 24.2227 28.8272 24.1514 28.7826C24.0783 28.7369 23.9803 28.7019 23.8731 28.673C23.6573 28.6148 23.3728 28.5741 23.0978 28.5356L23.0647 28.5309C22.7976 28.4936 22.5419 28.4579 22.3527 28.4102C22.2535 28.3852 22.1811 28.3589 22.1368 28.3321C22.115 28.3189 22.1055 28.3088 22.102 28.3038L22.1014 28.3028C22.1029 28.2936 22.1096 28.2773 22.1373 28.2544C22.1669 28.2299 22.2138 28.204 22.2808 28.1784C22.4144 28.1272 22.6067 28.0848 22.8434 28.0488C23.2792 27.9825 23.8438 27.9409 24.4216 27.8982L24.5668 27.8875C25.1912 27.8411 25.8197 27.7912 26.2923 27.7047C26.5279 27.6616 26.7321 27.6081 26.8795 27.538C27.0203 27.4711 27.1472 27.37 27.1472 27.2153C27.1472 27.1357 27.1125 27.0689 27.0644 27.0152C27.0173 26.9626 26.9541 26.9186 26.8863 26.8803C26.7595 26.8091 26.5955 26.7472 26.4394 26.6883L26.4089 26.6768C26.2389 26.6126 26.0816 26.5513 25.9691 26.4816C25.8517 26.4089 25.8208 26.351 25.8257 26.3028C25.828 26.2813 25.8535 26.2364 25.9689 26.1806C26.0766 26.1286 26.2328 26.0816 26.4267 26.0387C26.8042 25.955 27.3008 25.8912 27.8047 25.8264L27.8418 25.8216C28.355 25.7557 28.8731 25.6882 29.263 25.597C29.4572 25.5515 29.6267 25.4987 29.7495 25.4338C29.8659 25.3721 29.9757 25.2804 29.9757 25.144C29.9757 25.0463 29.9251 24.9668 29.8586 24.9046C29.7927 24.8428 29.7033 24.7904 29.6047 24.744C29.4128 24.6537 29.1608 24.5756 28.9163 24.4997L28.8965 24.4935C28.6413 24.4144 28.396 24.3373 28.2144 24.2493C28.1236 24.2053 28.0552 24.1615 28.0108 24.1181C27.967 24.0755 27.9533 24.0404 27.9536 24.0102V24.01C27.9538 23.9784 27.968 23.9445 28.0104 23.9057C28.0542 23.8655 28.1219 23.8264 28.2124 23.7883C28.3934 23.7121 28.6376 23.6519 28.8915 23.5904L28.917 23.5842C29.1582 23.5259 29.4064 23.4658 29.5952 23.3898C29.6928 23.3505 29.7821 23.304 29.848 23.2459C29.9152 23.1864 29.965 23.1079 29.9624 23.0091V23.009C29.9585 22.8714 29.8729 22.7774 29.7856 22.7071C29.7415 22.6716 29.6918 22.6382 29.6445 22.6064L29.6397 22.6032C29.5928 22.5718 29.5475 22.5414 29.5044 22.5084C29.4154 22.4401 29.3458 22.3672 29.3103 22.2732C29.2756 22.1809 29.2686 22.0544 29.3333 21.8686L29.3334 21.8683C29.7611 20.6285 29.979 19.326 29.9784 18.0145V17.9197H29.9754C29.9241 11.4152 24.6117 6.15936 18.0682 6.15936C11.4929 6.15936 6.15942 11.4664 6.15942 18.0145C6.15942 19.3681 6.38778 20.6684 6.80706 21.8804L6.80913 21.8863L6.80999 21.888L6.81214 21.8943C6.81455 21.901 6.81747 21.9098 6.82049 21.9187L6.82841 21.9426L6.83099 21.9503L6.83159 21.9522M13.9997 28.2972C13.9997 28.2972 13.9994 28.2971 13.9992 28.2964L13.9997 28.2972ZM26.1286 21.3531C26.5592 20.3247 26.7978 19.1969 26.7978 18.0132C26.7978 13.2152 22.8896 9.32472 18.0696 9.32472C13.2496 9.32472 9.34131 13.2152 9.34131 18.0132C9.34131 19.3175 9.6319 20.5543 10.1478 21.6648C10.3259 22.0351 10.5724 22.1852 10.7629 22.3012C10.9143 22.3934 11.0305 22.4641 11.0488 22.6069C11.0785 22.8418 10.7252 22.9462 10.3918 23.0449C10.0959 23.1323 9.8155 23.2152 9.83186 23.3806C9.85966 23.6614 10.5386 23.7679 11.1821 23.8689C11.7699 23.9612 12.3281 24.0487 12.3338 24.2603C12.3396 24.471 11.8941 24.6018 11.4484 24.7327C10.9737 24.872 10.4989 25.0114 10.5689 25.2475C10.6493 25.5197 12.0108 25.6167 13.371 25.7138C14.7627 25.8131 16.1533 25.9123 16.1688 26.1989C16.1861 26.5197 15.2165 26.6381 14.3373 26.7455C13.6602 26.8282 13.0366 26.9044 12.959 27.0614C12.767 27.4475 14.4492 27.6332 17.9069 27.6332C20.9434 27.6332 22.5283 27.4448 22.5244 27.0985C22.5224 26.8984 22.0449 26.7919 21.5583 26.6833C21.0445 26.5687 20.5205 26.4519 20.5356 26.2201C20.5554 25.9153 21.5623 25.84 22.5827 25.7639C23.623 25.6862 24.6774 25.6075 24.7144 25.2833C24.7402 25.0576 24.0597 24.9282 23.3826 24.7995C22.7305 24.6755 22.0816 24.5522 22.0698 24.3439C22.0498 23.983 23.1279 23.8739 24.1342 23.7721C25.0079 23.6837 25.8274 23.6007 25.8274 23.3633C25.8274 23.1559 25.5247 23.0365 25.2308 22.9207C24.9286 22.8015 24.6356 22.686 24.6904 22.4822C24.7322 22.3259 24.9064 22.2625 25.1264 22.1823C25.4535 22.0632 25.8819 21.9072 26.1273 21.3544L26.1286 21.3531ZM26.0485 21.299C26.4697 20.2867 26.703 19.1773 26.703 18.0132C26.703 13.2681 22.8378 9.41966 18.0696 9.41966C13.3013 9.41966 9.43608 13.2681 9.43608 18.0132C9.43526 19.2606 9.7074 20.4931 10.2334 21.6242C10.3822 21.9331 10.58 22.0761 10.7528 22.1837C10.7709 22.195 10.7894 22.2062 10.8079 22.2174C10.8751 22.2583 10.9429 22.2996 10.9964 22.3444C11.0695 22.4057 11.1285 22.4832 11.1428 22.5949L11.1429 22.5951C11.1643 22.7648 11.0486 22.8762 10.9247 22.9476C10.7993 23.0199 10.6313 23.0726 10.4754 23.1191L10.4186 23.1359C10.2788 23.1773 10.1512 23.2151 10.0551 23.2597C10.001 23.2849 9.96536 23.3087 9.94504 23.3301C9.92705 23.3489 9.92516 23.361 9.92611 23.3711C9.92895 23.3992 9.94763 23.4346 10.008 23.4763C10.068 23.5178 10.157 23.5563 10.2715 23.5917C10.5 23.6624 10.803 23.7131 11.113 23.762L11.1977 23.7752C11.4762 23.819 11.7544 23.8626 11.9696 23.9197C12.0876 23.9509 12.1943 23.9882 12.2737 24.0358C12.3509 24.0821 12.4257 24.1529 12.4285 24.2577M12.4285 24.2577C12.4311 24.351 12.3807 24.4249 12.3187 24.4799C12.2569 24.5347 12.1732 24.5806 12.0821 24.6207C11.9118 24.6956 11.6905 24.7606 11.477 24.8231L11.4316 24.8365C11.1994 24.9047 10.9823 24.9707 10.8314 25.0462C10.7555 25.0842 10.7059 25.12 10.6791 25.1522C10.6559 25.1802 10.6536 25.1995 10.6598 25.2205C10.6597 25.2201 10.6607 25.2241 10.668 25.2317C10.6755 25.2396 10.6878 25.2497 10.7071 25.2613C10.746 25.2847 10.804 25.3087 10.8823 25.3324C11.0384 25.3793 11.2569 25.4195 11.5208 25.4547C12.0358 25.5234 12.7058 25.5712 13.3797 25.6192L13.4251 25.6225C14.1119 25.6715 14.7993 25.7213 15.317 25.7947C15.5751 25.8312 15.7965 25.8743 15.9562 25.9279C16.0354 25.9546 16.1056 25.9858 16.1583 26.0241C16.2101 26.0617 16.2592 26.1172 16.2634 26.1937C16.2699 26.3148 16.1912 26.403 16.0989 26.4636C16.0054 26.5249 15.8764 26.5735 15.7306 26.6139C15.4376 26.6953 15.0456 26.7523 14.6543 26.8019C14.5511 26.815 14.4481 26.8276 14.3466 26.84C14.0593 26.8751 13.7845 26.9087 13.5561 26.9477C13.4017 26.9743 13.2733 27.0025 13.1795 27.034C13.1326 27.0497 13.0977 27.0652 13.0737 27.0797C13.0484 27.095 13.0435 27.1042 13.0439 27.1035L13.0438 27.1037C13.0384 27.1144 13.0389 27.1193 13.039 27.1204C13.0392 27.1216 13.04 27.1269 13.0479 27.1366C13.0665 27.1593 13.1112 27.191 13.1991 27.2251C13.3718 27.2921 13.6618 27.3506 14.0751 27.3977C14.8982 27.4918 16.1787 27.5383 17.9069 27.5383C19.4242 27.5383 20.5751 27.4912 21.3449 27.4014C21.7307 27.3565 22.0153 27.3013 22.2011 27.2382C22.2945 27.2066 22.3565 27.1749 22.3933 27.1461C22.4297 27.1176 22.4296 27.1018 22.4296 27.0996V27.0994C22.4295 27.0915 22.4253 27.0707 22.3804 27.0377C22.3364 27.0053 22.2679 26.9729 22.1764 26.9408C22.0033 26.8799 21.774 26.8288 21.5351 26.7754L21.4968 26.7669C21.2485 26.7114 20.9919 26.6528 20.7992 26.5784C20.7032 26.5414 20.6154 26.4975 20.5511 26.4429C20.4857 26.3873 20.4346 26.3111 20.441 26.2139C20.4498 26.079 20.5661 25.9957 20.685 25.9427C20.8112 25.8863 20.983 25.8443 21.1791 25.8108C21.564 25.7447 22.0697 25.707 22.5724 25.6694L22.6054 25.667C23.1222 25.6284 23.6332 25.5894 24.0196 25.5206C24.2133 25.4861 24.3689 25.4452 24.4762 25.3963C24.5896 25.3446 24.6172 25.299 24.6202 25.2725C24.6204 25.2706 24.6209 25.2667 24.6147 25.2574C24.6073 25.2464 24.5922 25.231 24.564 25.2123C24.5072 25.1747 24.4173 25.137 24.2979 25.0999C24.0604 25.0262 23.7362 24.9634 23.4024 24.8999L23.3626 24.8923C23.0449 24.8319 22.7218 24.7705 22.4739 24.6987C22.3452 24.6613 22.2303 24.6195 22.145 24.5702C22.0657 24.5244 21.9811 24.4543 21.9752 24.3492V24.3491C21.9675 24.2116 22.0608 24.1141 22.172 24.0477C22.2847 23.9802 22.4412 23.9282 22.6192 23.8858C22.9769 23.8005 23.4541 23.7463 23.9249 23.6979L24.1252 23.6775C24.5293 23.6367 24.9172 23.5974 25.2184 23.5438C25.3945 23.5124 25.5337 23.4773 25.6271 23.4372C25.6738 23.4171 25.703 23.3982 25.7192 23.3826C25.7241 23.3783 25.7283 23.373 25.7315 23.3672C25.7326 23.3649 25.7327 23.364 25.7327 23.3633C25.7327 23.3111 25.6947 23.2532 25.5849 23.1855C25.4803 23.1211 25.34 23.0658 25.1911 23.007L25.1837 23.0041C25.0378 22.9466 24.8815 22.8847 24.7695 22.809C24.7129 22.7709 24.6602 22.7243 24.6263 22.666C24.6079 22.6349 24.5959 22.6004 24.5912 22.5646C24.5865 22.5288 24.5891 22.4924 24.5989 22.4576C24.6359 22.3194 24.745 22.2418 24.86 22.1864C24.9183 22.1585 24.9835 22.1336 25.0499 22.1092L25.0948 22.0928C25.1498 22.0731 25.2045 22.0525 25.2588 22.0312C25.5424 21.9179 25.8496 21.7463 26.0407 21.3158L26.048 21.2995L26.0485 21.299",fill:"black"})]})}function Ru(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#E84142"}),o.jsx("ellipse",{cx:"18.2683",cy:"18.2682",rx:"12.0875",ry:"12.0875",fill:"white"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5131 18.2567C35.5131 27.7873 27.7873 35.5131 18.2567 35.5131C8.72631 35.5131 1.00037 27.7873 1.00037 18.2567C1.00037 8.72631 8.72631 1.00037 18.2567 1.00037C27.7873 1.00037 35.5131 8.72631 35.5131 18.2567ZM13.3668 25.1239H10.0178C9.31408 25.1239 8.96647 25.1239 8.75452 24.9883C8.52559 24.8399 8.3857 24.594 8.36875 24.3227C8.35602 24.0727 8.52984 23.7673 8.87745 23.1569L17.1465 8.58157C17.4984 7.96264 17.6764 7.65317 17.9011 7.53872C18.1427 7.41579 18.431 7.41579 18.6726 7.53872C18.8973 7.65317 19.0754 7.96264 19.4272 8.58157L21.1271 11.549L21.1358 11.5642C21.5158 12.2282 21.7085 12.5649 21.7927 12.9183C21.8859 13.304 21.8859 13.711 21.7927 14.0968C21.7079 14.4529 21.5171 14.792 21.1314 15.4661L16.7878 23.1442L16.7766 23.1639C16.3941 23.8333 16.2002 24.1726 15.9315 24.4286C15.639 24.7085 15.2872 24.9118 14.9014 25.0265C14.5495 25.1239 14.1553 25.1239 13.3668 25.1239ZM21.8241 25.1239H26.6228C27.3307 25.1239 27.6869 25.1239 27.8989 24.9842C28.1278 24.8358 28.2719 24.5855 28.2847 24.3144C28.2969 24.0724 28.1269 23.779 27.7937 23.204C27.7822 23.1845 27.7707 23.1645 27.759 23.1443L25.3553 19.0322L25.328 18.9859C24.9902 18.4148 24.8197 18.1263 24.6007 18.0148C24.3592 17.8919 24.075 17.8919 23.8334 18.0148C23.613 18.1293 23.435 18.4303 23.0831 19.0365L20.6879 23.1485L20.6797 23.1627C20.3291 23.7679 20.1539 24.0704 20.1665 24.3185C20.1835 24.5899 20.3234 24.8399 20.5523 24.9883C20.76 25.1239 21.1161 25.1239 21.8241 25.1239Z",fill:"#E84142"})]})}function _u(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#FCFF52"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.9986 8H8V28H28V21.0184H24.6812C23.5373 23.5658 20.962 25.3389 18.015 25.3389C13.9527 25.3389 10.6625 22.02 10.6625 17.9865C10.6625 13.9516 13.9527 10.6611 18.015 10.6611C21.0192 10.6611 23.5945 12.4924 24.7384 15.0953H28V8H27.9986Z",fill:"black"})]})}function Qu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"white"}),o.jsx("path",{d:"M17.8051 5L17.6345 5.5795V22.3938L17.8051 22.564L25.61 17.9505L17.8051 5Z",fill:"#343434"}),o.jsx("path",{d:"M17.805 5L10 17.9505L17.805 22.564V14.4028V5Z",fill:"#8C8C8C"}),o.jsx("path",{d:"M17.8051 24.0417L17.709 24.1589V30.1484L17.8051 30.4291L25.6148 19.4306L17.8051 24.0417Z",fill:"#3C3C3B"}),o.jsx("path",{d:"M17.805 30.4291V24.0417L10 19.4306L17.805 30.4291Z",fill:"#8C8C8C"}),o.jsx("path",{d:"M17.8051 22.564L25.6099 17.9505L17.8051 14.4028V22.564Z",fill:"#141414"}),o.jsx("path",{d:"M10 17.9505L17.805 22.564V14.4028L10 17.9505Z",fill:"#393939"})]})}function Pu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#13B5EC"}),o.jsx("path",{d:"M16.7073 6.23963C17.3111 5.92012 18.2345 5.92012 18.8384 6.23963L25.0178 9.49782C25.3829 9.69093 25.583 9.97532 25.6181 10.2738H25.6252V26.649C25.6181 26.972 25.4145 27.2915 25.0178 27.5022L18.8384 30.7604C18.2345 31.0799 17.3111 31.0799 16.7073 30.7604L10.5279 27.5022C10.1347 27.295 9.94509 26.972 9.93456 26.649C9.93456 26.6174 9.93456 26.5893 9.93456 26.5683V10.3861C9.93456 10.365 9.93456 10.3405 9.93456 10.3194V10.2773H9.93807C9.96615 9.97883 10.1557 9.69795 10.5279 9.50133L16.7073 6.23963ZM24.6421 19.3777L18.8349 22.4499C18.231 22.7694 17.3111 22.7694 16.7037 22.4499L10.9106 19.3848V26.5999L16.7037 29.6474C17.0478 29.83 17.4024 30.009 17.75 30.016H17.7711C18.1187 30.016 18.4522 29.8405 18.7928 29.6755L24.6421 26.5718V19.3777ZM8.96201 26.2944C8.96201 26.9229 9.03574 27.3337 9.17618 27.6251C9.29556 27.8673 9.47462 28.0499 9.80114 28.2746L9.81869 28.2886C9.88891 28.3378 9.96966 28.3869 10.0645 28.4466L10.1768 28.5169L10.5244 28.7275L10.0294 29.5596L9.63963 29.3244L9.57292 29.2822C9.46057 29.212 9.36577 29.1523 9.28151 29.0927C8.3511 28.4607 8.00702 27.7725 8 26.3365V26.2944H8.96201ZM17.3041 15.0241C17.2585 15.0382 17.2163 15.0592 17.1777 15.0768L11.0089 18.3455C11.0019 18.349 10.9949 18.3525 10.9914 18.356L10.9843 18.3596L10.9949 18.3666L11.0089 18.3736L17.1777 21.6423C17.2163 21.6634 17.2585 21.681 17.3041 21.695V15.0241ZM18.2872 15.0241V21.695C18.3328 21.681 18.375 21.6599 18.4136 21.6423L24.5824 18.3736C24.5894 18.3701 24.5964 18.3666 24.6 18.3631L24.6035 18.3596L24.5929 18.3525L24.5789 18.3455L18.4101 15.0768C18.375 15.0592 18.3328 15.0382 18.2872 15.0241ZM24.6421 11.4429L19.0947 14.357L24.6421 17.2712V11.4429ZM10.9141 11.4429V17.2712L16.4615 14.357L10.9141 11.4429ZM18.4066 7.11035C18.0871 6.94182 17.5042 6.94182 17.1847 7.11035L11.0089 10.3756C11.0019 10.3791 10.9949 10.3826 10.9914 10.3861L10.9843 10.3896L10.9949 10.3966L11.0089 10.4037L17.1847 13.6689C17.5042 13.8374 18.0871 13.8374 18.4066 13.6689L24.5824 10.4037C24.5894 10.4001 24.5964 10.3966 24.6 10.3931L24.6035 10.3896L24.5929 10.3826L24.5789 10.3756L18.4066 7.11035ZM25.562 7.44038L25.9517 7.67562L26.0184 7.71775C26.1307 7.78797 26.2255 7.84766 26.3098 7.90735C27.2402 8.53932 27.5843 9.22748 27.5913 10.6635V10.7056H26.6293C26.6293 10.0771 26.5556 9.66635 26.4151 9.37494C26.2958 9.13268 26.1167 8.95011 25.7902 8.72541L25.7726 8.71136C25.7024 8.66221 25.6217 8.61305 25.5269 8.55337L25.4145 8.48315L25.0669 8.27249L25.562 7.44038Z",fill:"white"})]})}function Bu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"black"}),o.jsx("path",{d:"M10.4854 22.4808C10.6216 22.3449 10.8064 22.2687 10.999 22.2687H28.7693C29.093 22.2687 29.255 22.6593 29.026 22.8877L25.5147 26.3893C25.3784 26.5252 25.1937 26.6015 25.0011 26.6015H7.23081C6.9071 26.6015 6.74507 26.2108 6.97406 25.9825L10.4854 22.4808Z",fill:"url(#linearGradient_icons_chains_sol_0)"}),o.jsx("path",{d:"M10.4854 9.39895C10.6216 9.26308 10.8064 9.18677 10.999 9.18677H28.7693C29.093 9.18677 29.255 9.57744 29.026 9.80581L25.5147 13.3074C25.3784 13.4433 25.1937 13.5196 25.0011 13.5196H7.23081C6.9071 13.5196 6.74507 13.129 6.97406 12.9006L10.4854 9.39895Z",fill:"url(#linearGradient_icons_chains_sol_1)"}),o.jsx("path",{d:"M25.5147 15.8982C25.3784 15.7624 25.1937 15.686 25.0011 15.686H7.23081C6.9071 15.686 6.74507 16.0767 6.97406 16.305L10.4854 19.8067C10.6216 19.9425 10.8064 20.0189 10.999 20.0189H28.7693C29.093 20.0189 29.255 19.6282 29.026 19.3998L25.5147 15.8982Z",fill:"url(#linearGradient_icons_chains_sol_2)"})]})}function Zu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"white"}),o.jsxs("g",{clipPath:"url(#icons_chains_apt_clipPath_0)",children:[o.jsx("path",{d:"M36 18C36 8.05887 27.9411 0 18 0C8.05887 0 0 8.05887 0 18C0 27.9411 8.05887 36 18 36C27.9411 36 36 27.9411 36 18Z",fill:"white"}),o.jsx("path",{d:"M6 16.9982L6.65314 14.2624C6.696 14.1538 6.97886 14.021 7.15371 14.021H17.7497C18.468 14.0434 19.0337 13.8245 19.4897 13.2332C20.2954 12.2264 20.5337 12.2264 21.3617 13.2108C21.5667 13.4867 21.8379 13.7058 22.15 13.8475C22.4621 13.9892 22.8049 14.0489 23.1463 14.021L28.8463 13.9986C29.1943 13.9986 29.3897 14.0865 29.4549 14.4365L30 16.9775H29.3263C26.6709 16.9775 24.0394 16.9551 21.384 17C21.1328 17.0156 20.8816 16.9679 20.6535 16.861C20.4253 16.7541 20.2274 16.5915 20.0777 16.388C19.272 15.3588 18.9686 15.0761 17.9246 16.3225C17.4891 16.8483 17.0109 17 16.38 16.9793L6.76286 16.9569C6.588 17 6.39257 17 6.00171 17L6 16.9982ZM6.17486 20.2375H13.5514C14.2251 20.2375 14.7909 20.0841 15.2057 19.4928C15.3137 19.3393 15.4457 19.2307 15.576 19.0773C16.0337 18.5739 16.4469 18.5308 16.8377 19.0773C17.4909 20.041 18.3171 20.2582 19.428 20.2375L29.088 20.2151H29.8714L28.8703 23.0372C28.8274 23.1251 28.6097 23.1906 28.4571 23.1906H16.7726C16.512 23.1906 16.2291 23.0147 16.032 22.8406C15.7491 22.5993 15.5314 22.2717 15.2709 22.0097C14.9451 21.6821 14.5749 21.6597 14.2269 21.9873L14.184 22.0304C13.488 23.1906 12.4217 23.3216 11.1806 23.2561C10.0269 23.1682 8.87486 23.213 7.69886 23.2561C7.32857 23.2561 7.13314 23.1251 7.02514 22.7958L6.17657 20.2358L6.17486 20.2375ZM8.48229 10.8059C13.0303 4.50492 22.7554 4.30667 27.5211 10.7628C26.6726 10.7628 25.8463 10.8507 25.0406 10.7197C24.6926 10.6766 24.3874 10.2387 24.1269 9.93185C23.3657 9.10091 23.148 9.05609 22.4297 9.90944C21.864 10.5663 21.2554 10.8283 20.3623 10.8283L9.17829 10.8059H8.48229ZM9.31029 26.1661C10.0286 26.1437 10.3543 25.6196 10.7469 25.1817C11.3554 24.4818 11.7257 24.4387 12.2691 25.1817C12.8349 25.992 13.5531 26.1885 14.4891 26.1661L26.064 26.1437H26.6726C22.8 30.9138 14.1823 31.6361 9.30857 26.1661H9.31029Z",fill:"black"})]})]})}function Wu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#4DA2FF"}),o.jsx("g",{clipPath:"url(#icons_chains_sui_clipPath_0)",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.406 16.0068C24.342 17.2334 24.906 18.7916 24.906 20.4813C24.906 22.171 24.33 23.7731 23.364 25.0122L23.28 25.1186L23.256 24.9809C23.238 24.8683 23.214 24.7494 23.19 24.6305C22.71 22.4214 21.138 20.5251 18.546 18.9856C16.8 17.953 15.798 16.7077 15.534 15.2933C15.366 14.3796 15.492 13.4597 15.732 12.6712C15.978 11.8826 16.338 11.2255 16.644 10.8313L17.652 9.54835C17.826 9.32306 18.162 9.32306 18.336 9.54835L23.406 16.0068ZM24.996 14.7238L18.252 6.12515C18.126 5.96243 17.88 5.96243 17.754 6.12515L11.004 14.7238L10.98 14.7551C9.744 16.3635 9 18.4036 9 20.6253C9 25.8008 13.032 30 18 30C22.968 30 27 25.8008 27 20.6253C27 18.4036 26.256 16.3635 25.014 14.7551L24.996 14.7238ZM12.618 15.9817L13.218 15.212L13.236 15.3559C13.248 15.4686 13.266 15.5812 13.29 15.6939C13.68 17.8279 15.078 19.6115 17.406 20.9882C19.434 22.1898 20.61 23.5729 20.952 25.0936C21.096 25.7257 21.12 26.3515 21.06 26.8959L21.054 26.9272L21.024 26.9398C20.112 27.4029 19.08 27.6657 17.994 27.6657C14.184 27.6657 11.094 24.449 11.094 20.4813C11.094 18.7791 11.664 17.2083 12.618 15.9817Z",fill:"white"})})]})}function Fu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#0052FF"}),o.jsx("path",{d:"M17.9773 31C25.1695 31 31 25.1797 31 18C31 10.8203 25.1695 5 17.9773 5C11.1537 5 5.55599 10.2388 5 16.9072H22.2131V19.0928H5C5.55599 25.761 11.1537 31 17.9773 31Z",fill:"white"})]})}function Hu(){return o.jsxs("svg",{width:"360",height:"360",viewBox:"0 0 360 360",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"360",height:"360",rx:"30",fill:"#6C00F6"}),o.jsx("path",{d:"M218.804 99.5819L168.572 128.432V218.473L140.856 234.539L112.97 218.46V186.313L140.856 170.39L158.786 180.788V154.779L140.699 144.511L90.4795 173.687V231.399L140.869 260.418L191.088 231.399V141.371L218.974 125.291L246.846 141.371V173.374L218.974 189.597L200.887 179.107V204.986L218.804 215.319L269.519 186.47V128.432L218.804 99.5819Z",fill:"white"})]})}function Gu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#F0B90B"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 0C27.9418 0 36 8.05817 36 18C36 27.9418 27.9418 36 18 36C8.05817 36 0 27.9418 0 18C0 8.05817 8.05817 0 18 0Z",fill:"#F0B90B"}),o.jsx("path",{d:"M9.89289 18L9.90587 22.7596L13.9501 25.1394V27.9259L7.53904 24.1658V16.6081L9.89289 18ZM9.89289 13.2403V16.0139L7.5376 14.6206V11.8471L9.89289 10.4538L12.2597 11.8471L9.89289 13.2403ZM15.639 11.8471L17.9943 10.4538L20.3612 11.8471L17.9943 13.2403L15.639 11.8471Z",fill:"white"}),o.jsx("path",{d:"M11.5948 21.773V18.9865L13.9501 20.3798V23.1533L11.5948 21.773ZM15.6391 26.1374L17.9944 27.5307L20.3612 26.1374V28.911L17.9944 30.3043L15.6391 28.911V26.1374ZM23.7391 11.8471L26.0944 10.4538L28.4612 11.8471V14.6206L26.0944 16.0139V13.2403L23.7391 11.8471ZM26.0944 22.7596L26.1073 18L28.4626 16.6067V24.1644L22.0516 27.9245V25.1379L26.0944 22.7596Z",fill:"white"}),o.jsx("path",{d:"M24.4053 21.7731L22.05 23.1534V20.3798L24.4053 18.9865V21.7731Z",fill:"white"}),o.jsx("path",{d:"M24.4054 14.227L24.4184 17.0135L20.3626 19.3933V24.1645L18.0073 25.5447L15.6521 24.1645V19.3933L11.5963 17.0135V14.227L13.9617 12.8337L17.9929 15.225L22.0487 12.8337L24.4155 14.227H24.4054ZM11.5948 9.46879L17.9944 5.69571L24.4054 9.46879L22.0501 10.8621L17.9944 8.47071L13.9501 10.8621L11.5948 9.46879Z",fill:"white"})]})}function Vu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#213147"}),o.jsx("path",{d:"M7.35034 12.904V23.096C7.35034 23.7512 7.69354 24.344 8.26554 24.6768L17.0951 29.7728C17.6567 30.0952 18.3535 30.0952 18.9151 29.7728L27.7447 24.6768C28.3063 24.3544 28.6599 23.7512 28.6599 23.096V12.904C28.6599 12.2488 28.3167 11.656 27.7447 11.3232L18.9151 6.2272C18.3535 5.9048 17.6567 5.9048 17.0951 6.2272L8.26554 11.3232C7.70394 11.6456 7.36074 12.2488 7.36074 12.904H7.35034Z",fill:"#213147"}),o.jsx("path",{d:"M19.924 19.976L18.6656 23.4288C18.6344 23.5224 18.6344 23.6264 18.6656 23.7304L20.8288 29.6688L23.3352 28.2232L20.3296 19.976C20.2568 19.7888 19.9968 19.7888 19.924 19.976Z",fill:"#12AAFF"}),o.jsx("path",{d:"M22.4512 14.1728C22.3784 13.9856 22.1184 13.9856 22.0456 14.1728L20.7872 17.6256C20.756 17.7192 20.756 17.8232 20.7872 17.9272L24.3336 27.6512L26.84 26.2056L22.4512 14.1832V14.1728Z",fill:"#12AAFF"}),o.jsx("path",{d:"M18 6.612C18.0624 6.612 18.1248 6.6328 18.1768 6.664L27.724 12.176C27.8384 12.2384 27.9008 12.3632 27.9008 12.488V23.512C27.9008 23.6368 27.828 23.7616 27.724 23.824L18.1768 29.336C18.1248 29.3672 18.0624 29.388 18 29.388C17.9376 29.388 17.8752 29.3672 17.8232 29.336L8.27601 23.824C8.16161 23.7616 8.09921 23.6368 8.09921 23.512V12.4776C8.09921 12.3528 8.17201 12.228 8.27601 12.1656L17.8232 6.6536C17.8752 6.6224 17.9376 6.6016 18 6.6016V6.612ZM18 5C17.6568 5 17.324 5.0832 17.012 5.26L7.46481 10.772C6.85121 11.1256 6.47681 11.7704 6.47681 12.4776V23.5016C6.47681 24.2088 6.85121 24.8536 7.46481 25.2072L17.012 30.7192C17.3136 30.896 17.6568 30.9792 18 30.9792C18.3432 30.9792 18.676 30.896 18.988 30.7192L28.5352 25.2072C29.1488 24.8536 29.5232 24.2088 29.5232 23.5016V12.4776C29.5232 11.7704 29.1488 11.1256 28.5352 10.772L18.9776 5.26C18.676 5.0832 18.3328 5 17.9896 5H18Z",fill:"#9DCCED"}),o.jsx("path",{d:"M11.6768 27.6616L12.5608 25.2488L14.3288 26.7152L12.6752 28.2336L11.6768 27.6616Z",fill:"#213147"}),o.jsx("path",{d:"M17.1888 11.6976H14.7656C14.5888 11.6976 14.4224 11.812 14.36 11.9784L9.17041 26.2056L11.6768 27.6512L17.3968 11.9784C17.4488 11.8328 17.3448 11.6872 17.1992 11.6872L17.1888 11.6976Z",fill:"white"}),o.jsx("path",{d:"M21.4321 11.6976H19.0089C18.8321 11.6976 18.6657 11.812 18.6033 11.9784L12.6753 28.2232L15.1817 29.6688L21.6297 11.9784C21.6817 11.8328 21.5777 11.6872 21.4321 11.6872V11.6976Z",fill:"white"})]})}function Ju(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"7",fill:"#FF0420"}),o.jsx("path",{d:"M11.4903 24C10.1707 24 9.09018 23.6891 8.24879 23.0674C7.41626 22.4367 7 21.5307 7 20.3671C7 20.1184 7.02657 19.8253 7.07971 19.47C7.22142 18.6706 7.42512 17.7113 7.69082 16.5833C8.44364 13.5278 10.3921 12 13.5274 12C14.3776 12 15.1481 12.1421 15.8213 12.4352C16.4944 12.7106 17.0258 13.1369 17.4155 13.7054C17.8052 14.265 18 14.9312 18 15.7039C18 15.9349 17.9734 16.228 17.9203 16.5833C17.752 17.5692 17.5572 18.5374 17.318 19.47C16.9283 20.9889 16.2641 22.1347 15.3076 22.8897C14.3599 23.6358 13.0845 24 11.4903 24ZM11.7295 21.6018C12.3494 21.6018 12.872 21.4152 13.306 21.0511C13.7488 20.6869 14.0676 20.1273 14.2536 19.3634C14.5105 18.3153 14.7053 17.4093 14.8382 16.6277C14.8824 16.3967 14.909 16.1569 14.909 15.9082C14.909 14.8956 14.3865 14.3893 13.3325 14.3893C12.7126 14.3893 12.1812 14.5759 11.7383 14.94C11.3043 15.3042 10.9944 15.8638 10.8084 16.6277C10.6047 17.3738 10.4098 18.2798 10.2061 19.3634C10.1618 19.5855 10.1353 19.8164 10.1353 20.0651C10.1264 21.0955 10.6667 21.6018 11.7295 21.6018Z",fill:"white"}),o.jsx("path",{d:"M18.3639 24C18.2324 24 18.1385 23.9635 18.0634 23.8813C18.007 23.79 17.9883 23.6895 18.007 23.5708L20.4394 12.4292C20.4582 12.3014 20.524 12.2009 20.6367 12.1187C20.74 12.0365 20.8527 12 20.9748 12H25.6611C26.9665 12 28.009 12.2648 28.7979 12.7854C29.5962 13.3151 30 14.0731 30 15.0685C30 15.3516 29.9624 15.653 29.8967 15.9635C29.6056 17.2785 29.0139 18.2466 28.1123 18.8767C27.2295 19.5068 26.018 19.8174 24.4778 19.8174H22.1017L21.2941 23.5708C21.2659 23.6986 21.2095 23.7991 21.0968 23.8813C20.9935 23.9635 20.8808 24 20.7588 24H18.3639ZM24.5999 17.4521C25.0976 17.4521 25.5202 17.3242 25.8865 17.0594C26.2622 16.7945 26.5064 16.4201 26.6284 15.9269C26.666 15.7352 26.6848 15.5616 26.6848 15.4155C26.6848 15.0868 26.5815 14.8311 26.3843 14.6575C26.187 14.4749 25.8396 14.3836 25.3606 14.3836H23.2475L22.5807 17.4521H24.5999Z",fill:"white"})]})}function qu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"black"}),o.jsx("path",{d:"M17.7211 11.2061C17.7211 10.2099 18.5249 9.39834 19.5117 9.39834H22.7158V5H19.5117C16.117 5 13.3643 7.77901 13.3643 11.2061C13.3643 12.1004 13.553 12.9505 13.8901 13.7178C11.2538 14.8429 9.50303 17.2334 9.09538 20.2586C8.61909 23.5799 9.93735 27.1628 12.8082 28.8937C15.3703 30.5226 19.3765 30.4149 21.5404 28.1552V29.6553H26V13.0139H19.5136C18.5268 13.0139 17.7229 12.2023 17.7229 11.2061H17.7211ZM21.6394 17.4142V21.5913C21.6394 23.8992 19.786 25.7686 17.5019 25.7686C15.218 25.7686 13.3643 23.8972 13.3643 21.5913C13.3643 19.2854 15.218 17.4142 17.5019 17.4142H21.6394Z",fill:"#BFF009"})]})}function Xu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#FFEEDA"}),o.jsx("path",{d:"M27.4 21.6933V8.92C27.3733 7.85333 26.52 7 25.4533 7H12.1733C9.29333 7.05333 7 9.4 7 12.28C7 13.24 7.26667 14.0933 7.66667 14.8133C8.01333 15.4267 8.54667 15.9867 9.05333 16.4133C9.21333 16.5467 9.13333 16.4933 9.58667 16.76C10.2 17.1333 10.92 17.32 10.92 17.32V24.9467C10.9467 25.32 10.9733 25.6667 11.08 25.9867C11.3733 27.0533 12.12 27.88 13.1333 28.28C13.56 28.44 14.04 28.5467 14.5467 28.5733L25.1333 28.6267C27.24 28.6267 28.9733 26.92 28.9733 24.7867C28.9733 23.5333 28.36 22.3867 27.4 21.6933Z",fill:"#FFEEDA"}),o.jsx("path",{d:"M27.6667 24.8666C27.6133 26.2266 26.4933 27.3199 25.1333 27.3199L17.8267 27.2932C18.4133 26.6266 18.76 25.7466 18.76 24.7866C18.76 23.2932 17.88 22.2532 17.88 22.2532H25.16C26.5467 22.2532 27.6933 23.3999 27.6933 24.7866L27.6667 24.8666Z",fill:"#EBC28E"}),o.jsx("path",{d:"M9.74667 15.3467C8.89333 14.5467 8.30667 13.5067 8.30667 12.28V12.1467C8.38667 10.0667 10.0933 8.36 12.1733 8.30667H25.48C25.8267 8.33333 26.0933 8.57333 26.0933 8.92V20.2C26.3867 20.2533 26.5467 20.3067 26.84 20.3867C27.08 20.4667 27.4 20.6533 27.4 20.6533V8.92C27.3733 7.85333 26.52 7 25.4533 7H12.1733C9.29333 7.05333 7 9.4 7 12.28C7 13.96 7.77333 15.4 9 16.3867C9.08 16.4667 9.16 16.5467 9.4 16.5467C9.8 16.5467 10.0667 16.2267 10.04 15.9067C10.04 15.6133 9.93333 15.5067 9.74667 15.3467Z",fill:"#101010"}),o.jsx("path",{d:"M25.1333 20.9466H14.7066C14.0133 20.9466 13.4533 21.5066 13.4533 22.2266V23.7199C13.4799 24.4133 14.0666 24.9999 14.7599 24.9999H15.5333V23.7199H14.7599V22.2533C14.7599 22.2533 14.9466 22.2533 15.1866 22.2533C16.4933 22.2533 17.4799 23.4799 17.4799 24.7866C17.4799 25.9599 16.4133 27.4266 14.6533 27.3199C13.0799 27.2133 12.2266 25.8266 12.2266 24.7866V12.0666C12.2266 11.5066 11.7466 11.0266 11.1866 11.0266H10.1466V12.3333H10.9199V24.8133C10.8666 27.3466 12.7333 28.6266 14.6533 28.6266L25.1599 28.6533C27.2666 28.6533 28.9999 26.9466 28.9999 24.8133C28.9733 22.6799 27.2666 20.9466 25.1333 20.9466ZM27.6666 24.8666C27.6133 26.2266 26.4933 27.3199 25.1333 27.3199L17.8266 27.2933C18.4133 26.6266 18.7599 25.7466 18.7599 24.7866C18.7599 23.2933 17.8799 22.2533 17.8799 22.2533H25.1599C26.5466 22.2533 27.6933 23.3999 27.6933 24.7866L27.6666 24.8666Z",fill:"#101010"}),o.jsx("path",{d:"M22.3335 12.5467H14.4668V11.2667H22.3335C22.6801 11.2667 22.9735 11.56 22.9735 11.9067C22.9735 12.2533 22.7068 12.5467 22.3335 12.5467Z",fill:"#101010"}),o.jsx("path",{d:"M22.3335 18.6801H14.4668V17.3734H22.3335C22.6801 17.3734 22.9735 17.6667 22.9735 18.0134C22.9735 18.3867 22.7068 18.6801 22.3335 18.6801Z",fill:"#101010"}),o.jsx("path",{d:"M23.7201 15.6134H14.4668V14.3067H23.7201C24.0668 14.3067 24.3601 14.6 24.3601 14.9467C24.3601 15.32 24.0668 15.6134 23.7201 15.6134Z",fill:"#101010"})]})}function $u(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"black"}),o.jsx("path",{d:"M18.0484 31V26.573C17.6028 26.573 17.1475 26.5343 16.7019 26.4665L16.0045 30.8353C16.6826 30.9516 17.3703 31 18.0484 31ZM20.0827 30.845C20.7608 30.7385 21.4292 30.5835 22.0782 30.3703L20.7124 26.1565C20.2861 26.2921 19.8405 26.3987 19.3949 26.4665L20.0827 30.845ZM14.0186 30.3703L15.3845 26.1662C14.9583 26.0306 14.5417 25.8562 14.1349 25.6528L12.12 29.5954C12.7303 29.8957 13.3696 30.1572 14.0186 30.3703ZM23.9672 29.5954C24.5775 29.2854 25.1587 28.927 25.7109 28.5298L23.0954 24.9553C22.737 25.2168 22.3495 25.459 21.9426 25.6528L23.9672 29.5954ZM10.3763 28.5201L12.9918 24.9456C12.6334 24.6841 12.2846 24.3934 11.965 24.0738L8.82638 27.2027C9.31073 27.6773 9.83383 28.123 10.3763 28.5201ZM27.2511 27.2221L27.2802 27.193C27.7645 26.7183 28.2101 26.1952 28.6073 25.6528L25.0231 23.0469C24.7616 23.4054 24.4613 23.7541 24.1513 24.0641L24.1028 24.1125L25.614 25.5365L27.2511 27.2221ZM7.49925 25.6431L11.0835 23.0373C10.8219 22.6788 10.5797 22.2914 10.3763 21.8942L6.42399 23.8994C6.73398 24.5097 7.0924 25.0909 7.49925 25.6431ZM29.6729 23.9091C29.9829 23.3085 30.2444 22.6692 30.4575 22.0201L26.234 20.6639C26.0984 21.0902 25.924 21.5067 25.7206 21.9039L29.6729 23.9091ZM5.63934 22.0201L9.86289 20.6542C9.72727 20.228 9.62072 19.7921 9.55291 19.3465L5.16468 20.0343C5.27124 20.7027 5.43592 21.3711 5.63934 22.0201ZM30.9322 20.044C31.0388 19.3756 31.0969 18.6878 31.0969 18.0097H26.6602C26.6602 18.4553 26.6215 18.9106 26.5537 19.3562L30.9322 20.044ZM9.44635 18C9.44635 17.5544 9.4851 17.0991 9.55291 16.6535L5.16468 15.9657C5.05812 16.6341 5.00969 17.3219 5 18H9.44635ZM26.5537 16.6632L30.9419 15.9754C30.8353 15.307 30.6803 14.6386 30.4672 13.9896L26.2437 15.3458C26.3793 15.7817 26.4858 16.2176 26.5537 16.6632ZM9.86289 15.3458C9.99851 14.9195 10.1729 14.503 10.3763 14.1058L6.42399 12.1006C6.11401 12.7012 5.85246 13.3405 5.63934 13.9896L9.86289 15.3458ZM25.7303 14.1155L29.6923 12.1103C29.3823 11.5 29.0238 10.9188 28.617 10.3666L25.0231 12.9724C25.2847 13.3309 25.5268 13.7183 25.7303 14.1155ZM11.0835 12.9627C11.345 12.6043 11.6453 12.2556 11.965 11.9359L11.9747 11.9262L8.83607 8.79732L8.82638 8.807C8.34203 9.29136 7.89642 9.80477 7.49925 10.3569L11.0835 12.9627ZM24.1513 11.9553L25.1006 10.9963L27.2802 8.82638L27.2705 8.81669C26.7861 8.34203 26.2727 7.89642 25.7303 7.49925L23.1148 11.0738C23.4732 11.3353 23.8219 11.6259 24.1319 11.9456L24.1513 11.9553ZM13.0015 11.0544C13.3599 10.7928 13.7474 10.5604 14.1542 10.3569L12.1393 6.41431C11.5291 6.72429 10.9478 7.08271 10.3957 7.47988L13.0015 11.0544ZM21.9717 10.3666L23.9963 6.42399C23.386 6.11401 22.7563 5.85246 22.1073 5.63934L20.7317 9.84352C21.1483 9.98882 21.5648 10.1632 21.9717 10.3666ZM15.4039 9.84352C15.8301 9.7079 16.2757 9.60134 16.7213 9.53353L16.0335 5.16468C15.3651 5.27124 14.687 5.42623 14.038 5.63934L15.4039 9.84352ZM19.4046 9.53353L20.1021 5.16468C19.4337 5.05812 18.7459 5 18.0678 5V9.42697C18.5134 9.42697 18.9687 9.46572 19.4046 9.53353Z",fill:"white"}),o.jsx("path",{d:"M18.0483 26.7765V22.3302C17.6705 22.3302 17.3024 22.2818 16.9343 22.1849L15.7719 26.4762C16.5178 26.67 17.283 26.7765 18.0483 26.7765ZM20.3248 26.4762C21.0707 26.2825 21.7778 25.9919 22.4462 25.6044L20.1988 21.7586C19.8792 21.9427 19.5304 22.088 19.172 22.1849L20.3248 26.4762ZM13.6601 25.6044L15.9075 21.7586C15.5878 21.5746 15.2875 21.3421 15.0163 21.0806L14.9775 21.0418L13.5632 22.5239L11.8195 24.1998L11.8486 24.2288C12.3911 24.7616 13.0014 25.2266 13.6601 25.6044ZM24.2577 24.2288C24.8002 23.6864 25.2748 23.0858 25.6526 22.4271L21.7681 20.199C21.5841 20.5187 21.3516 20.8093 21.0803 21.0806L24.2577 24.2288ZM10.444 22.4174L14.3285 20.199C14.1444 19.8794 13.9991 19.5403 13.9023 19.1819L9.57215 20.325C9.76589 21.0515 10.0662 21.7587 10.444 22.4174ZM26.5341 20.3347C26.7279 19.5984 26.8344 18.8429 26.8344 18.0873H22.3493C22.3493 18.4554 22.3009 18.8332 22.204 19.1916L26.5341 20.3347ZM13.7666 18.0776C13.7666 17.7095 13.8151 17.3317 13.9119 16.9733L9.57215 15.8302C9.37841 16.5664 9.27185 17.322 9.27185 18.0776H13.7666ZM22.1944 16.9829L26.5341 15.8399C26.3404 15.1037 26.0401 14.3965 25.6623 13.7378L21.7778 15.9561C21.9522 16.2855 22.0975 16.6245 22.1944 16.9829ZM14.3382 15.9561C14.5222 15.6461 14.745 15.3458 15.0163 15.0843L15.0259 15.0746L13.4179 13.4859L11.8777 11.9069L11.8486 11.936C11.3061 12.4688 10.8411 13.0791 10.4537 13.7281L14.3382 15.9561ZM21.0803 15.0843L22.669 13.5053L24.2964 11.9747L24.2577 11.936C23.7152 11.3935 23.1049 10.9382 22.4462 10.5507L20.1988 14.3965C20.5185 14.5806 20.8091 14.8034 21.0803 15.0649V15.0843ZM15.9075 14.3965C16.2271 14.2124 16.5759 14.0671 16.9343 13.9703L15.7912 9.67892C15.0453 9.87266 14.3382 10.1633 13.6698 10.5507L15.9075 14.3965ZM19.1623 13.98L20.3248 9.6886C19.5885 9.49486 18.8233 9.38831 18.058 9.38831V13.8347C18.4261 13.8347 18.8039 13.8831 19.1623 13.98Z",fill:"white"})]})}function Ku(){return o.jsxs("svg",{width:"38",height:"38",viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{y:"0.999573",width:"36",height:"36",rx:"6",fill:"url(#icons_chains_xlayer_linearGradient_0)"}),o.jsx("path",{d:"M27.1921 22.667V29.2442H28.9861C29.1021 29.2437 29.2132 29.1974 29.2952 29.1151C29.3771 29.0329 29.4231 28.9216 29.4231 28.8056V23.1056C29.4231 22.9895 29.3771 22.8782 29.2952 22.796C29.2132 22.7138 29.1021 22.6674 28.9861 22.667H27.1921ZM27.1921 9.5V16.0772H28.9861C29.1021 16.0767 29.2132 16.0304 29.2952 15.9481C29.3771 15.8659 29.4231 15.7546 29.4231 15.6386V9.93858C29.4231 9.82254 29.3771 9.71122 29.2952 9.62902C29.2132 9.54681 29.1021 9.50042 28.9861 9.5H27.1921Z",fill:"#898989"}),o.jsx("path",{d:"M30.5536 9.5V16.0772H31.2249C31.341 16.0767 31.4521 16.0304 31.534 15.9481C31.6159 15.8659 31.6619 15.7546 31.6619 15.6386V9.93858C31.6619 9.82281 31.6162 9.71173 31.5346 9.62957C31.453 9.54741 31.3423 9.50084 31.2265 9.5H30.5536ZM30.5583 22.667V29.2442H31.2281C31.2857 29.2442 31.3427 29.2328 31.3959 29.2108C31.4491 29.1887 31.4975 29.1564 31.5382 29.1157C31.5789 29.075 31.6112 29.0266 31.6333 28.9734C31.6553 28.9202 31.6667 28.8632 31.6667 28.8056V23.1056C31.6667 23.048 31.6553 22.991 31.6333 22.9377C31.6112 22.8845 31.5789 22.8362 31.5382 22.7955C31.4975 22.7547 31.4491 22.7224 31.3959 22.7004C31.3427 22.6783 31.2857 22.667 31.2281 22.667H30.5583Z",fill:"#575757"}),o.jsx("path",{d:"M19.038 16.0914H13.3634C13.3062 16.0912 13.2495 16.1023 13.1966 16.124C13.1437 16.1456 13.0956 16.1775 13.055 16.2178C13.0144 16.2581 12.9822 16.306 12.9601 16.3587C12.938 16.4115 12.9266 16.4681 12.9264 16.5253V22.1572C12.9264 22.3963 13.1227 22.591 13.3634 22.591H19.0349C19.0921 22.5912 19.1487 22.5802 19.2016 22.5585C19.2545 22.5368 19.3026 22.5049 19.3432 22.4646C19.3838 22.4243 19.4161 22.3764 19.4381 22.3237C19.4602 22.2709 19.4717 22.2143 19.4719 22.1572V16.5253C19.4715 16.41 19.4254 16.2997 19.3438 16.2184C19.2622 16.1371 19.1517 16.0914 19.0365 16.0914M12.472 9.5H6.77196C6.65564 9.5 6.54408 9.54621 6.46183 9.62846C6.37958 9.71071 6.33337 9.82226 6.33337 9.93858V15.6386C6.33337 15.8808 6.52971 16.0772 6.77196 16.0772H12.472C12.5883 16.0772 12.6998 16.031 12.7821 15.9487C12.8643 15.8665 12.9105 15.7549 12.9105 15.6386V9.93858C12.9105 9.82226 12.8643 9.71071 12.7821 9.62846C12.6998 9.54621 12.5883 9.5 12.472 9.5ZM25.6215 9.5H19.9215C19.8052 9.5 19.6937 9.54621 19.6114 9.62846C19.5292 9.71071 19.483 9.82226 19.483 9.93858V15.6386C19.483 15.8808 19.6809 16.0772 19.9215 16.0772H25.6215C25.7379 16.0772 25.8494 16.031 25.9317 15.9487C26.0139 15.8665 26.0601 15.7549 26.0601 15.6386V9.93858C26.0601 9.82226 26.0139 9.71071 25.9317 9.62846C25.8494 9.54621 25.7379 9.5 25.6215 9.5ZM12.472 22.6528H6.77196C6.65564 22.6528 6.54408 22.699 6.46183 22.7812C6.37958 22.8635 6.33337 22.975 6.33337 23.0913V28.7913C6.33337 29.0336 6.52971 29.2283 6.77196 29.2283H12.472C12.588 29.2283 12.6993 29.1823 12.7815 29.1004C12.8637 29.0185 12.9101 28.9074 12.9105 28.7913V23.0913C12.9105 22.975 12.8643 22.8635 12.7821 22.7812C12.6998 22.699 12.5883 22.6528 12.472 22.6528ZM25.6215 22.6528H19.9215C19.8052 22.6528 19.6937 22.699 19.6114 22.7812C19.5292 22.8635 19.483 22.975 19.483 23.0913V28.7913C19.483 29.0336 19.6809 29.2283 19.9215 29.2283H25.6215C25.7376 29.2283 25.8489 29.1823 25.9311 29.1004C26.0133 29.0185 26.0597 28.9074 26.0601 28.7913V23.0913C26.0601 22.975 26.0139 22.8635 25.9317 22.7812C25.8494 22.699 25.7379 22.6528 25.6215 22.6528Z",fill:"white"})]})}function el(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"black"}),o.jsx("path",{d:"M29.1239 11.0384L18.375 11.0554C14.8158 11.0554 11.9303 13.9408 11.9303 17.5C11.9303 21.0592 14.8158 23.9447 18.375 23.9447H28.726",stroke:"white",strokeWidth:"2.25944",strokeMiterlimit:"10",strokeLinecap:"round"}),o.jsx("path",{d:"M6.17065 17.5H31.0001",stroke:"white",strokeWidth:"2.25944",strokeMiterlimit:"10",strokeLinecap:"round"}),o.jsx("path",{d:"M18.5 5C25.4036 5 31 10.5964 31 17.5C31 24.4036 25.4036 30 18.5 30C11.5964 30 6 24.4036 6 17.5C6 10.5964 11.5964 5 18.5 5Z",stroke:"white",strokeWidth:"2.25944",strokeMiterlimit:"10",strokeLinecap:"round"})]})}function tl(){return o.jsx("svg",{width:"37",height:"36",viewBox:"0 0 37 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{clipPath:"url(#icons_chains_uni_clipPath_0)",children:[o.jsx("path",{d:"M30.3597 0H6.49976C3.18605 0 0.499756 2.68629 0.499756 6V30C0.499756 33.3137 3.18605 36 6.49976 36H30.3597C33.6734 36 36.3597 33.3137 36.3597 30V6C36.3597 2.68629 33.6734 0 30.3597 0Z",fill:"url(#icons_chains_uni_radialGradient_0)"}),o.jsx("path",{d:"M33.3037 17.7159C25.2415 17.7159 18.7127 11.155 18.7127 3.06787H18.1467V17.7159H3.55566V18.2841C11.6179 18.2841 18.1467 24.8449 18.1467 32.9321H18.7127V18.2841H33.3037V17.7159Z",fill:"white"})]})})}function nl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#814625"}),o.jsx("path",{d:"M24.0394 22.037V20.5602C24.9485 20.2484 25.6104 19.2803 25.6104 18.1344C25.6104 16.9884 24.9485 16.0176 24.0394 15.7085V14.2317C24.8955 13.939 25.5339 13.0611 25.6045 12H24.5631V12.4513C24.5631 12.7986 24.3513 13.1049 24.0394 13.258V13.0474C24.0394 12.7385 23.7688 12.4868 23.4364 12.4868H23.3835C23.0511 12.4868 22.7804 12.7385 22.7804 13.0474V13.258C22.4686 13.1049 22.2567 12.8013 22.2567 12.4513V12H21.2154C21.286 13.0611 21.9243 13.939 22.7804 14.2317V15.7085C21.8743 16.0176 21.2095 16.9857 21.2095 18.1344C21.2095 19.283 21.8713 20.2511 22.7804 20.5602V22.037C21.9243 22.3297 21.286 23.2076 21.2154 24.2687H22.2567V23.8174C22.2567 23.4701 22.4686 23.1638 22.7804 23.0107V23.2213C22.7804 23.5303 23.0511 23.7819 23.3835 23.7819H23.4364C23.7688 23.7819 24.0394 23.5303 24.0394 23.2213V23.0107C24.3513 23.1638 24.5631 23.4674 24.5631 23.8174V24.2687H25.6045C25.5339 23.2076 24.8955 22.3297 24.0394 22.037ZM22.2567 18.7798V17.4862C22.2567 17.1389 22.4686 16.8326 22.7804 16.6794V16.89C22.7804 17.199 23.0511 17.4507 23.3835 17.4507H23.4364C23.7688 17.4507 24.0394 17.199 24.0394 16.89V16.6794C24.3513 16.8326 24.5631 17.1362 24.5631 17.4862V18.7798C24.5631 19.1271 24.3513 19.4334 24.0394 19.5865V19.376C24.0394 19.067 23.7688 18.8154 23.4364 18.8154H23.3835C23.0511 18.8154 22.7804 19.067 22.7804 19.376V19.5865C22.4715 19.4334 22.2567 19.1298 22.2567 18.7798Z",fill:"white"}),o.jsx("path",{d:"M30.4291 18.9193V17.3468C31.3381 17.035 32.0001 16.0668 32.0001 14.9209C32.0001 13.775 31.3381 12.804 30.4291 12.495V12H29.1729V12.495C28.2639 12.8068 27.6021 13.775 27.6021 14.9209C27.6021 16.0668 28.2639 17.0377 29.1729 17.3468V18.9193C28.2639 19.231 27.6021 20.1992 27.6021 21.3451C27.6021 22.491 28.2639 23.4619 29.1729 23.771V24.266H30.4291V23.771C31.3381 23.4592 32.0001 22.491 32.0001 21.3451C32.0001 20.1992 31.3381 19.231 30.4291 18.9193ZM28.6463 15.5663V14.2727C28.6463 13.9253 28.8582 13.619 29.17 13.4659V13.6765C29.17 13.9856 29.4407 14.2371 29.7731 14.2371H29.8231C30.1555 14.2371 30.4261 13.9856 30.4261 13.6765V13.4659C30.738 13.619 30.9498 13.9226 30.9498 14.2727V15.5663C30.9498 15.9136 30.738 16.22 30.4261 16.3731V16.1625C30.4261 15.8534 30.1555 15.6018 29.8231 15.6018H29.7702C29.4378 15.6018 29.167 15.8534 29.167 16.1625V16.3731C28.8611 16.22 28.6463 15.9164 28.6463 15.5663ZM30.9527 21.9933C30.9527 22.3406 30.741 22.647 30.4291 22.8001V22.491C30.4291 22.182 30.1585 21.9303 29.8261 21.9303H29.776C29.4436 21.9303 29.1729 22.182 29.1729 22.491V22.8001C28.8611 22.647 28.6493 22.3434 28.6493 21.9933V20.6996C28.6493 20.3523 28.8611 20.0461 29.1729 19.8929V20.005C29.1729 20.3141 29.4436 20.5657 29.776 20.5657H29.829C30.1614 20.5657 30.432 20.3141 30.432 20.005V19.8929C30.7439 20.0461 30.9557 20.3496 30.9557 20.6996V21.9933H30.9527Z",fill:"white"}),o.jsx("path",{d:"M16.841 16.8815C16.8292 16.8187 16.8145 16.7585 16.791 16.7011C16.7998 16.6874 18.7531 14.1576 16.944 12.5932C15.1377 11.0289 13.0284 13.0692 13.0166 13.0801C12.6813 12.9816 12.343 12.9214 12.0076 12.8941C12.0076 12.8941 12.0076 12.8941 12.0047 12.8941C11.3162 12.7874 10.3514 12.8941 10.3514 12.8941C10.0189 12.9214 9.68358 12.9816 9.35115 13.0774C9.33938 13.0663 7.2301 11.0261 5.42384 12.5905C3.61757 14.1549 5.56798 16.6874 5.57681 16.6983C5.55622 16.7585 5.53857 16.8187 5.5268 16.8788C5.33264 17.9618 4 18.2955 4 20.1826C4 22.1052 5.39147 23.6203 8.23327 23.6203H9.39822C9.4041 23.6258 9.8542 24.222 10.7838 24.2575C10.7838 24.2575 10.9986 24.2794 11.4928 24.263C12.4783 24.263 12.9578 23.6312 12.9608 23.623H14.1257C16.9674 23.623 18.3589 22.1079 18.3589 20.1853C18.3678 18.301 17.0351 17.9646 16.841 16.8815Z",fill:"white"})]})}function il(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#FF004D"}),o.jsx("path",{d:"M10.0747 20.8363L13.0093 18.0058V17.9933L15.93 20.8238C16.774 21.6379 17.8062 22 18.8245 22C20.9551 22 23.0047 20.3979 23.0047 17.9933L25.9253 20.8238C26.7693 21.6379 27.8015 22 28.8198 22C30.9504 22 33 20.3979 33 17.9933H30.494L27.5733 15.1762C26.7293 14.3621 25.6841 14 24.6657 14C22.5351 14 20.4986 15.5896 20.4986 17.9933L17.578 15.1762C16.734 14.3621 15.6887 14 14.6704 14C12.5398 14 10.5033 15.5896 10.5033 17.9933L3 18.0058C3 20.423 5.07658 21.9865 7.2072 21.9865C8.22545 21.9865 9.25769 21.6244 10.0747 20.8363Z",fill:"white"})]})}function rl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#0052FF"}),o.jsx("path",{fill:"#fff",d:"M25.7,29.9H6.8V10h4.3v16.1h14.6v3.9h0Z"}),o.jsx("path",{fill:"#fff",d:"M25.7,13.8c2.1,0,3.9-1.7,3.9-3.9s-1.7-3.9-3.9-3.9-3.9,1.7-3.9,3.9,1.7,3.9,3.9,3.9Z"})]})}function ol(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#clip0_8823_13579)",children:[o.jsx("path",{d:"M0 18C0 8.05887 8.05887 0 18 0V0C27.9411 0 36 8.05887 36 18V18C36 27.9411 27.9411 36 18 36V36C8.05887 36 0 27.9411 0 18V18Z",fill:"#072723"}),o.jsx("g",{clipPath:"url(#clip1_8823_13579)",children:o.jsx("path",{d:"M32 17.9414C32 27.1983 26.3351 30.1686 23.3503 27.5238C20.8934 25.3672 20.1624 20.81 16.467 20.3421C11.7766 19.7521 11.3706 25.998 8.28427 25.998C4.69036 25.998 4 20.7693 4 18.0838C4 15.3372 4.77157 11.5938 7.83756 11.5938C11.4112 11.5938 11.6142 16.9445 16.0812 16.6596C20.5279 16.3545 20.6091 10.78 23.4925 8.3996C26.0101 6.34475 32 8.56235 32 17.9414Z",fill:"#97FCE4"})})]}),o.jsxs("defs",{children:[o.jsx("clipPath",{id:"clip0_8823_13579",children:o.jsx("path",{d:"M0 18C0 8.05887 8.05887 0 18 0V0C27.9411 0 36 8.05887 36 18V18C36 27.9411 27.9411 36 18 36V36C8.05887 36 0 27.9411 0 18V18Z",fill:"white"})}),o.jsx("clipPath",{id:"clip1_8823_13579",children:o.jsx("rect",{width:"28",height:"28",fill:"white",transform:"translate(4 4)"})})]})]})}function F0(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",ry:"6",fill:"#000"}),o.jsx("path",{fill:"#fff",d:"M20.85,21.39h0s0,0,0,0h0,0Z"}),o.jsx("path",{fill:"#fff",d:"M20.85,21.39c-5.28,1.59-9.65,3.9-12.38,6.61l-.12.12c.73.69,1.52,1.3,2.39,1.83l.18-.23c.75-.91,1.55-1.79,2.38-2.62,2.24-2.23,4.79-4.16,7.55-5.71h0Z"}),o.jsx("path",{fill:"#fff",d:"M21.46,19.04H4.03c.21,2.83,1.26,5.42,2.91,7.53l.08-.08c1.69-1.67,3.9-3.19,6.56-4.51,2.33-1.16,5.01-2.16,7.89-2.94Z"}),o.jsx("path",{fill:"#fff",d:"M14.78,7.42c4.72,4.71,10.67,7.82,17.19,9-.79-6.98-6.73-12.41-13.95-12.41-1.91,0-3.72.38-5.38,1.07.67.81,1.39,1.6,2.13,2.34h0Z"}),o.jsx("path",{fill:"#fff",d:"M8.47,8c2.74,2.71,7.1,5.02,12.38,6.61-2.76-1.55-5.32-3.48-7.55-5.71-.83-.83-1.63-1.71-2.38-2.62l-.18-.23c-.86.52-1.66,1.14-2.38,1.83l.12.12s0,0,0,0Z"}),o.jsx("path",{fill:"#fff",d:"M14.78,28.58c-.74.74-1.46,1.53-2.13,2.34,1.66.69,3.48,1.07,5.38,1.07,7.22,0,13.16-5.43,13.95-12.41-6.52,1.18-12.47,4.29-17.19,9h0s0,0,0,0Z"}),o.jsx("path",{fill:"#fff",d:"M13.56,14.01h0c-2.66-1.32-4.86-2.84-6.55-4.51l-.08-.08c-1.65,2.11-2.7,4.7-2.91,7.53h17.43c-2.88-.79-5.56-1.78-7.89-2.95h0Z"})]})}function sl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 130 130",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"130",height:"130",rx:"16.66%",fill:"#8CABA9"}),o.jsx("g",{transform:"scale(0.8) translate(17,17)",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.9642 129.695C84.1796 129.695 101.443 121.338 113.318 108.059C107.794 103.258 99.4696 102.966 93.5889 107.712L92.4654 108.618C81.6982 117.306 66.009 116.023 56.7965 105.701C51.7718 100.071 43.1667 99.4967 37.438 104.408L24.485 115.513C35.5791 124.388 49.6518 129.695 64.9642 129.695ZM85.9896 98.2938C96.2452 90.0184 110.66 90.3152 120.524 98.3078C126.42 88.5391 129.812 77.0895 129.812 64.8475C129.812 51.2447 125.624 38.6203 118.466 28.1932C113.852 27.2105 108.851 28.3582 105.054 31.7224L103.974 32.6799C93.6189 41.8559 77.8874 41.2982 68.2083 31.4123C62.9293 26.0206 54.3067 25.8435 48.8108 31.0141L33.7373 45.195L25.4452 36.3811L40.5187 22.2001C50.8139 12.5144 66.9661 12.8461 76.8551 22.9462C82.0221 28.2237 90.4202 28.5214 95.948 23.6229L97.0283 22.6654C100.384 19.692 104.266 17.6874 108.331 16.6332C96.8419 6.29289 81.638 0 64.9642 0C32.045 0 4.85497 24.529 0.674023 56.3066C10.6729 51.5085 23.0064 53.3548 31.1591 61.7035C36.3059 66.974 44.593 67.5303 50.3981 62.9951L58.826 56.4108C69.4177 48.136 84.3907 48.5365 94.5248 57.3661L110.933 71.6615L102.984 80.7856L86.5755 66.4902C80.8129 61.4696 72.299 61.2417 66.276 65.9471L57.8483 72.5312C47.1827 80.8637 31.957 79.8415 22.501 70.1582C17.0024 64.5273 8.00934 64.3309 2.27007 69.7163L0.446289 71.4275C1.81116 84.9719 7.34388 97.286 15.7424 107.068L29.5615 95.2208C40.2929 86.0206 56.4126 87.0973 65.825 97.6432C70.743 103.153 79.1181 103.838 84.8662 99.2004L85.9896 98.2938Z",fill:"url(#paint0_linear_109_191)"})}),o.jsx("defs",{children:o.jsxs("linearGradient",{id:"paint0_linear_109_191",x1:"65.0205",y1:"129.148",x2:"65.0205",y2:"-2.87836e-07",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#B52A2A"}),o.jsx("stop",{offset:"1",stopColor:"#780000"})]})})]})}function al(){return o.jsxs("svg",{width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"41",height:"40",rx:"6",fill:"#F9F9F9"}),o.jsx("g",{transform:"scale(0.7) translate(9, 9)",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0.00291959V15.9042L5.6765 21.587V5.68569L21.4992 5.73875L15.8256 0.0530768L0.00302147 0L0 0.00291959ZM28.7868 12.7214V27.0783L23.1104 21.3956V7.03861L28.7868 12.7214ZM12.9607 28.5724H27.2944L21.6208 22.8867H7.28708L12.9607 28.5724ZM36.854 35.0866V20.8018L31.1777 15.1191V31.0204L15.3549 30.9674L21.0285 36.653L35.3373 36.7009L38.3549 39.7233L40.2871 40L39.9191 38.1568L36.854 35.0866Z",fill:"#282828"})})]})}function cl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#ff3d00"}),o.jsx("path",{d:"M24.31 8.32H16.52L15.4 12.83H12.02L10.6 18.52C10.5 18.93 10.82 19.31 11.24 19.31H14.1L11.94 30.68L21.08 20.99C21.8 20.22 21.27 18.97 20.21 18.97H17.22L18.57 13.54H25.93L26.9 9.63C27.02 9.22 26.71 8.85 26.29 8.84L24.31 8.32Z",fill:"white"})]})}function ul(){return o.jsx("svg",{width:"36",height:"36",viewBox:"0 0 275 275",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M275 137.5C275 61.5608 213.439 -3.31941e-06 137.5 0C61.5608 3.31941e-06 -3.31941e-06 61.5608 0 137.5C3.31941e-06 213.439 61.5608 275 137.5 275C213.439 275 275 213.439 275 137.5ZM157.125 240.407C157.125 249.735 149.469 257.317 138.602 257.535C138.301 257.538 138 257.539 137.698 257.54H137.302C71.0969 257.433 17.4603 203.73 17.4603 137.5C17.4603 71.2041 71.2039 17.4605 137.5 17.4605C137.857 17.4605 138.215 17.4621 138.571 17.4652C150.834 17.6836 157.125 25.2654 157.125 34.5929C157.125 44.0859 148.733 51.0715 139.843 51.0715C130.952 51.0715 130.516 51.0715 122.006 51.7534C113.495 52.4354 104.695 59.4209 104.695 68.8859C104.695 78.4071 112.43 86.0745 122.006 86.0745H197.48C207.028 86.0745 214.762 93.742 214.762 103.207C214.762 112.672 207.028 120.339 197.48 120.339H81.2298C71.6539 120.339 63.9195 128.035 63.9195 137.528C63.9195 146.993 71.6539 154.661 81.2298 154.661H139.843C149.391 154.661 157.125 162.328 157.125 171.821C157.125 181.286 149.391 188.954 139.843 188.954H122.006C112.43 188.954 104.695 196.621 104.695 206.086C104.695 215.579 112.622 222.509 122.006 223.219C122.745 223.275 123.422 223.326 124.045 223.374C127.347 223.625 129.151 223.763 130.958 223.838C133.134 223.929 135.314 223.929 140.119 223.929C149.667 223.929 157.125 230.942 157.125 240.407Z",fill:"#7132F5"})})}function ll(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#clip0_8823_13578)",children:[o.jsx("rect",{width:"36",height:"36",fill:"white"}),o.jsx("path",{d:"M32 17.9414C32 27.1983 26.3351 30.1686 23.3503 27.5238C20.8934 25.3672 20.1624 20.81 16.467 20.3421C11.7766 19.7521 11.3706 25.998 8.28427 25.998C4.69036 25.998 4 20.7693 4 18.0838C4 15.3372 4.77157 11.5938 7.83756 11.5938C11.4112 11.5938 11.6142 16.9445 16.0812 16.6596C20.5279 16.3545 20.6091 10.78 23.4925 8.3996C26.0101 6.34475 32 8.56235 32 17.9414Z",fill:"#072723"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_8823_13578",children:o.jsx("path",{d:"M0 18C0 8.05887 8.05887 0 18 0V0C27.9411 0 36 8.05887 36 18V18C36 27.9411 27.9411 36 18 36V36C8.05887 36 0 27.9411 0 18V18Z",fill:"white"})})})]})}function Ml(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",children:[o.jsx("path",{d:"M0 6.00378C0 2.69008 2.68629 0.00378418 6 0.00378418H42C45.3137 0.00378418 48 2.69008 48 6.00378V42.0038C48 45.3175 45.3137 48.0038 42 48.0038H6C2.68629 48.0038 0 45.3175 0 42.0038V6.00378Z",fill:"#23292F"}),o.jsxs("g",{clipPath:"url(#clip0_8722_5035)",children:[o.jsx("path",{d:"M24 40.0038C32.8366 40.0038 40 32.8403 40 24.0038C40 15.1672 32.8366 8.00378 24 8.00378C15.1634 8.00378 8 15.1672 8 24.0038C8 32.8403 15.1634 40.0038 24 40.0038Z",fill:"#23292F"}),o.jsx("path",{d:"M31.07 16.0038H33.96L27.945 21.9608C26.8934 22.9969 25.4763 23.5777 24 23.5777C22.5237 23.5777 21.1066 22.9969 20.055 21.9608L14.035 16.0038H16.93L21.5 20.5268C22.1655 21.1836 23.0629 21.5519 23.998 21.5519C24.9331 21.5519 25.8305 21.1836 26.496 20.5268L31.07 16.0038ZM16.895 32.5668H14L20.055 26.5738C21.1066 25.5377 22.5237 24.9569 24 24.9569C25.4763 24.9569 26.8934 25.5377 27.945 26.5738L34 32.5658H31.105L26.5 28.0038C25.8345 27.3469 24.9371 26.9786 24.002 26.9786C23.0669 26.9786 22.1695 27.3469 21.504 28.0038L16.894 32.5668H16.895Z",fill:"white"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_8722_5035",children:o.jsx("rect",{width:"32",height:"32",fill:"white",transform:"translate(8 8.00378)"})})})]})}function dl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#282A2C"}),o.jsx("path",{d:"M18.0013 8.18309C21.6335 8.18309 24.8049 10.156 26.5033 13.1091L24.8037 14.0723C23.4454 11.7457 20.908 10.1466 18.0013 10.1466C13.6632 10.1467 10.1466 13.6633 10.1466 18.0013C10.1466 22.3392 13.6632 25.8559 18.0013 25.8559C20.9046 25.8559 23.4407 24.2602 24.8001 21.9375L26.5007 22.8991C24.8014 25.8487 21.6319 27.818 18.0013 27.818C12.5788 27.818 8.18298 23.4224 8.18298 18.0013C8.18394 12.5797 12.5788 8.18398 18.0013 8.18309ZM18.0013 16.0376C18.7274 16.0376 19.3599 16.4331 19.7199 17.0195H27.8196V18.9631H19.7199C19.3606 19.5489 18.7278 19.9445 18.0013 19.9445C16.9189 19.9445 16.0376 19.0631 16.0376 18.0013C16.0376 16.9389 16.9189 16.0376 18.0013 16.0376Z",fill:"white"})]})}function gl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#836EF9"}),o.jsx("g",{clipPath:"url(#clip0_842_10567)",children:o.jsx("path",{d:"M17.9999 4C13.9571 4 4 13.9568 4 17.9999C4 22.043 13.9571 32 17.9999 32C22.0428 32 32 22.0428 32 17.9999C32 13.957 22.0429 4 17.9999 4ZM15.8183 26.0056C14.1134 25.541 9.52983 17.5231 9.99448 15.8183C10.4591 14.1133 18.4769 9.52982 20.1816 9.99445C21.8866 10.459 26.4702 18.4768 26.0056 20.1817C25.5409 21.8866 17.5231 26.4702 15.8183 26.0056Z",fill:"white"})}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_842_10567",children:o.jsx("rect",{width:"28",height:"28",fill:"white",transform:"translate(4 4)"})})})]})}function fl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 150 150",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#a)",children:[o.jsx("path",{fill:"#fff",d:"M0 0h150v150H0z"}),o.jsx("path",{fill:"#FFFEFE",d:"M0 0h150v150H0z"}),o.jsx("path",{fill:"#EF61B4",d:"M95.258 85.215c1.01-3.619-1.405-7.295-5.392-8.21-3.987-.916-8.037 1.275-9.046 4.894-1.008 3.619 1.406 7.294 5.393 8.21 3.987.916 8.037-1.275 9.045-4.894Z"}),o.jsx("path",{fill:"#EF61B4",d:"M125.975 106.567c-.882.485-1.764.647-2.645.647-1.853 0-3.705-.889-4.675-2.504L89.023 57.62 59.39 104.71c-1.5 2.342-4.762 3.15-7.32 1.777-2.558-1.373-3.44-4.362-1.94-6.704l18.52-29.401-8.025-12.762-29.633 47.09c-.97 1.615-2.822 2.504-4.674 2.504a6.06 6.06 0 0 1-2.646-.647c-2.558-1.373-3.44-4.361-1.94-6.704l34.307-54.44c.97-1.535 2.734-2.423 4.674-2.423 1.94 0 3.704.97 4.674 2.423L75 60.608l9.613-15.185c.97-1.535 2.734-2.423 4.674-2.423 1.94 0 3.704.97 4.674 2.423l34.307 54.44c1.5 2.343.618 5.331-1.94 6.704h-.353Z"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"a",children:o.jsx("path",{fill:"#fff",d:"M0 0h150v150H0z"})})})]})}function hl(){return o.jsxs("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M0 30C0 13.4315 13.4315 0 30 0C46.5685 0 60 13.4315 60 30C60 46.5685 46.5685 60 30 60C13.4315 60 0 46.5685 0 30Z",fill:"white"}),o.jsx("path",{d:"M35.0776 44.4273C36.6746 44.4273 37.9644 43.1385 37.9644 41.5487C37.9644 39.9589 36.6746 38.67 35.0776 38.67C33.4929 38.67 32.2031 39.9589 32.2031 41.5487C32.2031 43.1385 33.4929 44.4273 35.0776 44.4273Z",fill:"#19191A"}),o.jsx("path",{d:"M24.7339 44.5129C26.3308 44.5129 27.6085 43.2241 27.6085 41.6342C27.6085 40.0444 26.3308 38.7556 24.7339 38.7556C23.1492 38.7556 21.8594 40.0444 21.8594 41.6342C21.8594 43.2241 23.1492 44.5129 24.7339 44.5129Z",fill:"#19191A"}),o.jsx("path",{d:"M18.4285 14.4391H25.2866C26.577 17.9303 29.9446 27.8219 30.1904 28.3731C30.2518 28.0975 33.6438 17.3178 34.6025 14.5003H41.7309V39.0916C40.846 38.6016 39.961 38.1117 39.0024 37.5603C38.3387 37.2236 37.7242 36.856 37.0483 36.5804C36.9868 31.803 36.9254 27.0563 36.7779 22.0952C35.8193 24.9432 32.5131 34.988 32.2427 35.2636H27.8306C27.8306 35.2636 23.5412 23.0751 23.3323 22.5239C23.2709 27.2094 23.2094 31.8949 23.0497 36.7336C20.4196 38.081 18.8588 38.8466 18.3672 39.0303V14.4391H18.4285Z",fill:"#19191A"}),o.jsx("path",{d:"M30.0061 8.13427C42.0383 8.13427 51.8705 17.934 51.8705 30C51.8705 42.066 42.0751 51.8657 30.0061 51.8657C17.9371 51.8657 8.1418 42.066 8.1418 30C8.1418 17.934 17.9371 8.13427 30.0061 8.13427ZM30.0061 4C15.6389 4 4 15.6373 4 30C4 44.3627 15.6389 56 30.0061 56C44.3611 56 56 44.3627 56 30C56 15.6373 44.3611 4 30.0061 4Z",fill:"#19191A"})]})}const Fo={Moonbeam:Yu(),Avalanche:Ru(),Bsc:Gu(),Celo:_u(),Ethereum:Qu(),Fantom:Pu(),Polygon:Hu(),Solana:Bu(),Sui:Wu(),Aptos:Zu(),Arbitrum:Vu(),Optimism:Ju(),Base:Fu(),Klaytn:qu(),Scroll:Xu(),Xlayer:Ku(),Mantle:$u(),Worldchain:el(),Unichain:tl(),Berachain:nl(),Ink:ul(),Mezo:il(),Linea:rl(),Sonic:F0(),Seievm:sl(),Plume:al(),Fogo:cl(),HyperEVM:ll(),HyperCore:ol(),XRPLEVM:Ml(),CreditCoin:dl(),Monad:gl(),Moca:fl(),MegaETH:hl()};function jl(e){return Object.keys(Fo).includes(e)}function Nl(e){const t=B.useTheme(),{size:n}=e,i=I.useMemo(()=>{const r={width:n,height:n,borderRadius:"2px"};return t.palette.text&&t.palette.input?{emptyIcon:{...r,background:`color-mix(in hsl, ${t.palette.text.secondary}, ${t.palette.input.background} 80%)`}}:{emptyIcon:r}},[n,t]);return o.jsx(B.Box,{sx:i.emptyIcon})}function pn(e){const t=e.height||36,n=I.useMemo(()=>({container:{height:t,width:t,...vr},iconImage:{width:t,height:t}}),[t]);return jl(e.icon)&&Fo[e.icon]?o.jsx(B.Box,{sx:n.container,children:Fo[e.icon]}):typeof e.icon=="string"?o.jsx(B.Box,{sx:n.container,children:o.jsx("img",{style:n.iconImage,src:e.icon,alt:"chain icon"})}):o.jsx(B.Box,{sx:n.container,children:o.jsx(Nl,{size:t})})}function Zs(e,t,n,i){var r=this,s=I.useRef(null),a=I.useRef(0),c=I.useRef(0),u=I.useRef(null),l=I.useRef([]),M=I.useRef(),g=I.useRef(),N=I.useRef(e),y=I.useRef(!0);N.current=e;var T=typeof window<"u",d=!t&&t!==0&&T;if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var f=!!(n=n||{}).leading,C=!("trailing"in n)||!!n.trailing,m="maxWait"in n,h="debounceOnServer"in n&&!!n.debounceOnServer,D=m?Math.max(+n.maxWait||0,t):null;I.useEffect(function(){return y.current=!0,function(){y.current=!1}},[]);var j=I.useMemo(function(){var L=function(v){var Q=l.current,P=M.current;return l.current=M.current=null,a.current=v,c.current=c.current||v,g.current=N.current.apply(P,Q)},p=function(v,Q){d&&cancelAnimationFrame(u.current),u.current=d?requestAnimationFrame(v):setTimeout(v,Q)},S=function(v){if(!y.current)return!1;var Q=v-s.current;return!s.current||Q>=t||Q<0||m&&v-a.current>=D},w=function(v){return u.current=null,C&&l.current?L(v):(l.current=M.current=null,g.current)},z=function v(){var Q=Date.now();if(f&&c.current===a.current&&U(),S(Q))return w(Q);if(y.current){var P=t-(Q-s.current),Z=m?Math.min(P,D-(Q-a.current)):P;p(v,Z)}},U=function(){i&&i({})},k=function(){if(T||h){var v=Date.now(),Q=S(v);if(l.current=[].slice.call(arguments),M.current=r,s.current=v,Q){if(!u.current&&y.current)return a.current=s.current,p(z,t),f?L(s.current):g.current;if(m)return p(z,t),L(s.current)}return u.current||p(z,t),g.current}};return k.cancel=function(){var v=u.current;v&&(d?cancelAnimationFrame(u.current):clearTimeout(u.current)),a.current=0,l.current=s.current=M.current=u.current=null,v&&i&&i({})},k.isPending=function(){return!!u.current},k.flush=function(){return u.current?w(Date.now()):g.current},k},[f,m,t,D,C,d,T,h,i]);return j}function yl(e,t){return e===t}function Il(e,t,n){var i=yl,r=I.useRef(e),s=I.useState({})[1],a=Zs(I.useCallback(function(u){r.current=u,s({})},[s]),t,n,s),c=I.useRef(e);return i(c.current,e)||(a(e),c.current=e),[r.current,a]}const H0=I.createContext(void 0),Ll=({children:e})=>{const[t,n]=I.useState(!1),[i,r]=I.useState(x.config.tokens.lastUpdate),[s,a]=I.useState({prices:new x.TokenMapping,isFetching:!1,lastUpdate:new Date}),c=I.useRef(new Set),u=I.useRef(new Set),l=I.useCallback(async d=>{if(!b.isNative(d.address)&&b.chainToPlatform(d.chain)==="Evm"){const C=d.address.toString(),m=b.getAddress(C);C!==m&&(console.warn(`Correcting improperly checksummed EVM address: ${C} -> ${m}`),d.address=b.toNative(d.chain,m))}const f=x.config.tokens.get(d);if(f)return f;try{n(!0);const C=await x.config.tokens.addFromTokenId(d);return r(x.config.tokens.lastUpdate),console.info("Added new token to cache",C,i,x.config.tokens.lastUpdate),x.config.tokens.persist(),x.clearWormholeContextV2(),C}catch(C){console.error("Error getting token",C);return}finally{n(!1)}},[i]),M=I.useCallback(d=>{const f=b.usdcContract.get(x.config.network,d.chain);if(f&&d.addressString===f)return{price:1,needsFetch:!1};const C=d.tokenBridgeOriginalTokenId??d,m=s.prices.get(C);return m?{price:m.price,needsFetch:!1}:{price:void 0,needsFetch:!0}},[s.prices]),g=I.useCallback((d,f,C,m)=>{for(const h of d)if(!f.get(h)?.price&&x.isNttToken(h)){const j=x.getNttTokenGroup(h);for(const L of j){let p=C?.get(L);if(p||(p=f.get(L)?.price),p!==void 0){f.add(h,{timestamp:m,price:p});break}}}},[]),N=Zs(async()=>{if(c.current.size===0)return;const d=[];for(const f of c.current){const C=x.config.tokens.get(f);C&&(d.push(C),u.current.add(f))}if(c.current.clear(),d.length!==0)try{console.info("Fetching prices for",d.length,"tokens");const f=new Date;a(m=>({...m,isFetching:!0}));const C=await x.fetchTokenPrices(d);a(m=>{const h=m.prices.clone();for(const D of d){const j=D.tokenBridgeOriginalTokenId??D,L=C.get(j);h.add(j,{timestamp:f,price:L??void 0}),u.current.delete(x.tokenKey(j))}return g(d,h,C,f),{prices:h,isFetching:!1,lastUpdate:new Date}})}catch(f){console.error("Error fetching token prices:",f);const C=new Date;a(m=>{const h=m.prices.clone();for(const D of d){const j=D.tokenBridgeOriginalTokenId??D;h.add(j,{timestamp:C,price:void 0}),u.current.delete(x.tokenKey(j))}return g(d,h,void 0,C),{prices:h,isFetching:!1,lastUpdate:new Date}})}},250),y=I.useCallback(d=>{const f=new Map;for(const C of d){const{price:m,needsFetch:h}=M(C);if(f.set(C.key,m),h){const D=C.tokenBridgeOriginalTokenId??C,j=x.tokenKey(D);!u.current.has(j)&&!c.current.has(j)&&c.current.add(j)}}return c.current.size>0&&N(),f},[M,N]),T=I.useCallback(d=>{let C=y([d]).get(d.key);if(C===void 0&&x.isNttToken(d)){const m=x.getNttTokenGroup(d);if(m.length>0){const h=y(m);for(const D of m){const j=h.get(D.key);if(j!==void 0){C=j;break}}}}return C},[y]);return o.jsx(H0.Provider,{value:{lastTokenCacheUpdate:i,getOrFetchToken:l,isFetchingToken:t,getTokenPrice:T,getTokenPrices:y,isFetchingTokenPrices:s.isFetching,lastTokenPriceUpdate:s.lastUpdate},children:e})},ft=()=>{const e=I.useContext(H0);if(e===void 0)throw new Error("useToken must be used within a TokensProvider");return e},_i="";function xl(){const e=tt(),[t,n]=I.useState({chain:_i,tx:_i,autoSearch:!1}),[i,r]=I.useState(""),[s,a]=I.useState(!1),c=Ae(d=>d.search),u=I.useContext(En),{getOrFetchToken:l}=ft();function M(d){n(f=>({...f,chain:d.target.value}))}function g(d){n(f=>({...f,tx:d.target.value}))}async function N(){if(!t.tx||!t.chain)return r("Enter the source chain and transaction ID");if(!x.isValidTxId(t.chain,t.tx))return r("Invalid transaction ID");a(!0);const d=await x.config.routes.resumeFromTx({chain:t.chain,txid:t.tx});if(d===null){r("Transfer not found, check that you have the correct chain and transaction ID"),a(!1);return}const{route:f}=d;let{receipt:C}=d;const m=await x.getWormholeContextV2(),h=new(x.config.routes.get(f)).rc(m);if(r(""),C.state<b.TransferState.Attested){for await(C of h.track(C))if(C.state>=b.TransferState.Attested)break}const D=await Au(f,C,l);D?(e(Rs(D)),e(E0(!0)),e(_s(f)),e(Bt("redeem")),e(Qs(C.to)),u.setRoute(h),u.setReceipt(C)):console.error("Failed to parse receipt",C),a(!1)}I.useEffect(()=>{c.chain&&c.txHash&&(n({chain:c.chain,tx:c.txHash,autoSearch:!0}),e(B0()))},[e,c]);const y=I.useCallback(()=>N(),[t]);I.useEffect(()=>{const{chain:d,tx:f,autoSearch:C}=t;C&&d!==_i&&f!==_i&&!s&&(n(m=>({...m,autoSearch:!1})),y())},[y,t,s]);const T=I.useMemo(()=>[...x.config.chainsArr].sort((d,f)=>d.displayName<f.displayName?-1:d.displayName>f.displayName?1:0),[x.config.chainsArr]);return o.jsxs(B.Box,{sx:d=>({maxWidth:"650px"}),children:[o.jsxs(Ur,{children:[o.jsxs(B.Box,{display:"flex",alignItems:"center",children:[o.jsx(Bs,{route:"history"}),o.jsx(Xn,{align:"left",text:"Resume transaction",size:24,weight:600})]}),o.jsx(B.Typography,{variant:"subtitle2",children:"Bridging can require a manual redemption process on the designation chain. If you did not complete the redemption during your initial transaction, you may do so here."}),o.jsxs(B.Box,{sx:d=>({display:"flex",flexDirection:"column",gap:"16px"}),children:[o.jsxs(B.Select,{fullWidth:!0,value:t.chain,displayEmpty:!0,onChange:d=>M(d),children:[o.jsx(B.MenuItem,{disabled:!0,value:"",children:o.jsx("em",{children:"Select Network"})},0),T.map(d=>o.jsx(B.MenuItem,{value:d.sdkName,children:o.jsxs(B.Box,{sx:{display:"flex",alignItems:"center",gap:"8px"},children:[o.jsx(pn,{icon:d.sdkName,height:24}),d.displayName]})},d.sdkName))]}),o.jsx(yu,{placeholder:"Source chain transaction hash",onChange:g,onSearch:N,value:t.tx})]}),o.jsx(mu,{show:!!i,content:i,error:!0,margin:"0 0 0 0"}),o.jsx(zt,{disabled:!t.chain||!t.tx,variant:"primary",onClick:N,children:o.jsxs(B.Typography,{display:"flex",alignItems:"center",gap:1,textTransform:"none",children:[s?o.jsx(B.CircularProgress,{color:"inherit",size:16,thickness:4}):null,"Search"]})})]}),x.config.ui.showFooter&&o.jsx(Ps,{})]})}function Tl(){const e=tt(),{txHash:t,chain:n}=Ae(i=>i.search);return I.useEffect(()=>{if(x.config.ui.searchTx?.chainName&&x.config.ui.searchTx?.txHash){const i=x.config.ui.searchTx.chainName.toLowerCase(),r=x.config.chainsArr.find(s=>s.sdkName.toLowerCase()===i);r&&e(P0({txHash:x.config.ui.searchTx.txHash,chain:r.sdkName}))}},[e]),{hasExternalSearch:!!(t&&n),txHash:t,chain:n,clear:()=>{e(B0()),x.config.ui.searchTx&&(x.config.ui.searchTx.chainName=void 0,x.config.ui.searchTx.txHash=void 0)}}}const G0=I.createContext(void 0),ln=()=>{const e=I.useContext(G0);if(e===void 0)throw new Error("useWalletProvider must be used within a WalletProvider");return e};function Vn({children:e,warning:t=!1,error:n=!1,testId:i,color:r,sx:s,className:a}){const c=B.useTheme(),u=r||t&&c.palette.warning.main||n&&c.palette.error.main||void 0;return o.jsxs(B.Box,{className:a,sx:{width:"100%",display:"flex",flexDirection:"row",alignItems:"flex-start",justifyContent:"flex-start",gap:"8px",...s},"data-testid":i,role:"alert","aria-live":"polite",children:[o.jsx(sc,{fontSize:"small",htmlColor:u,"aria-hidden":"true"}),o.jsx(B.Typography,{color:u,fontSize:"14px",fontWeight:700,component:"div",children:e})]})}const Cl=async(e,t,n,i)=>{if(!t)return[];if(!e||!n)return x.config.tokens.getAllForChain(t);const r=await x.config.routes.allSupportedDestTokens(n,e,t);return(await Promise.all(r.map(i))).filter(c=>!!c)},ml=e=>{const{sourceChain:t,destChain:n,sourceToken:i}=e,r=tt(),{getOrFetchToken:s,lastTokenCacheUpdate:a}=ft(),[c,u]=I.useState([]),[l,M]=I.useState(!1),g=I.useCallback(async()=>{u([]),M(!0);try{const N=await Cl(t,n,i,s);u(N),n&&N.length===1&&r(U0(N[0].tuple))}finally{M(!1)}},[i,t,n,r,s]);return I.useEffect(()=>{g()},[g,a]),{supportedDestTokens:c,isFetching:l}};function pl(e,t){const n=[],i=[];for(let r=0;r<e.length;r++){const s=e[r];t(s)?n.push(s):i.push(s)}return[n,i]}function Dl(e,t){const n=new Map;for(let i=0;i<e.length;i++){const r=e[i],s=t(r);n.has(s)||n.set(s,r)}return Array.from(n.values())}function wl(e,t,n){return Dl(e.concat(t),n)}const Al={SHUTTLE:1e4},Sl=(e,t)=>{const[n,i]=I.useState(new Date().valueOf()),r=I.useRef(void 0),[s,a]=I.useState(!1),[c,u]=I.useState({}),[l,M]=I.useState(!0);I.useEffect(()=>{const d=()=>{M(!document.hidden)};return document.addEventListener("visibilitychange",d),()=>{document.removeEventListener("visibilitychange",d)}},[]);const{getTokenPrice:g}=ft(),{isTransactionInProgress:N}=Ae(d=>d.transferInput);I.useEffect(()=>{if(e.length===0)return;let d=0;if(Object.keys(c).length>0){const f=t;if(!f.amount||!f.sourceToken||!f.destToken||!f.sourceChain||!f.destChain)return;const C=x.config.routes.quoteMetadataCache.nextExpiry(e,f);if(!C)return;d=C.valueOf()-Date.now()-5e3}if(d)return r&&clearTimeout(r.current),console.debug(`Waiting ${d/1e3}s until next quote fetch`,e,t),r.current=setTimeout(()=>i(Date.now()),d),()=>{r&&clearTimeout(r.current)}},[c,e,t]),I.useEffect(()=>{let d=!1;const f=()=>{d=!0};if(e.length===0||!t.sourceChain||!t.sourceToken||!t.destChain||!t.destToken||!t.amount)return u({}),a(!1),f;if(N||!l)return f;const C=t,m=Object.values(c).filter(h=>h.success);if(m.length>0){const{sourceToken:h,destinationToken:D}=m[0];(!b.isSameToken(h.token,C.sourceToken)||!b.isSameToken(D.token,C.destToken))&&u({})}return a(!0),x.config.routes.getQuotes(e,C).then(h=>{d||u(h)}).finally(()=>{d||a(!1)}),f},[e,n,t.amount,t.nativeGas,t.sender,t.recipient,l]);const{quotes:y,failedQuotes:T}=I.useMemo(()=>{const d=x.calculateUSDPriceRaw(g,t.amount,t.sourceToken),[f,C]=pl(Object.entries(c),([h,D])=>D.success).map(Object.fromEntries);let m={...f};for(const h in m){if(x.isNttRoute(h)||h==="BaseBridgeRoute")continue;const D=m[h];if(D!==void 0&&D.success){const j=x.calculateUSDPriceRaw(g,D.destinationToken.amount,t.destToken);if(d!==void 0&&j!==void 0){const L=j/d;d>=1e3&&L<=.9&&(console.debug(`Filtering out ${h} quote with valueRatio=${L} USD delta=${d-j}`),delete m[h])}else if(t.amount&&t.sourceToken&&t.destToken&&t.sourceToken.symbol===t.destToken.symbol){const L=parseFloat(b.display(D.destinationToken.amount))/parseFloat(b.display(t.amount));L<=.9&&(console.debug(`Filtering out ${h} quote with valueRatio=${L} (for same-symbol tokens)`),delete m[h])}}}for(const h in m)if(h.startsWith("MayanSwap")){const D=m[h];if(D!==void 0&&D.success){const j=Al[D.details?.type.toUpperCase()];if(j&&d!==void 0&&d>j)delete m[h],console.warn(`Filtering out ${h} quote which exceeds $${j} USD`);else{const L=x.calculateUSDPriceRaw(g,t.amount,t.sourceToken),p=x.calculateUSDPriceRaw(g,D.destinationToken.amount,t.destToken);if(L&&p){const S=L-p;!isNaN(S)&&S>0&&(m[h].relayFee={token:{chain:"Solana",address:b.Wormhole.parseAddress("Solana",b.usdcContract.get("Mainnet","Solana"))},amount:b.parse(b.denoise(S,6),6)})}}}}if(x.config.ui.onlyOfferManualRoutesAsFallback){let h=!1;const D={},j=t.sourceToken?.symbol==="tBTC"||t.destToken?.symbol==="tBTC";for(const L in m){const p=m[L];x.config.routes.get(L).AUTOMATIC_DEPOSIT&&(h=!0,D[L]=p)}h&&(j&&m.ManualTBTC&&(D.ManualTBTC=m.ManualTBTC),m=D)}if(typeof x.config.filterRoutes=="function"){const h=Object.entries(m).filter(([D,j])=>j.success).map(([D,j])=>D);try{const D=x.config.filterRoutes([...h]);if(Array.isArray(D)&&D.every(j=>typeof j=="string"&&h.includes(j)))for(const j in m)D.includes(j)||delete m[j];else console.warn("config.filterRoutes returned one or more invalid route names",D,"Falling back to all supported routes",h)}catch(D){console.warn("Error when filtering routes",D,"Falling back to all supported routes",h)}}return{quotes:m,failedQuotes:C}},[c]);return{quotes:y,failedQuotes:T,isFetchingQuotes:s}};function Dn(e){return{symbol:e.symbol,tokenId:{chain:e.chain,address:e.address.toString()}}}function Ws(e,t,n,i,r,s,a){return{route:e,fromToken:Dn(t),toToken:Dn(n),fromChain:i,toChain:r,amount:s,USDAmount:a({token:t,amount:s})}}const El=({fromChain:e,toChain:t,sourceToken:n,destToken:i,toNativeToken:r,receivingWallet:s})=>{const[a,c]=I.useState([]),[u,l]=I.useState(!1);return I.useEffect(()=>{if(!e||!t||!n||!i){c([]),l(!1);return}let M=!0;return(async()=>{l(!0);let N=[];await x.config.routes.forEach(async(y,T)=>{if(!T.AUTOMATIC_DEPOSIT&&s?.name===Sn.NAME)return;let d=!1;try{d=await T.isRouteSupported(n,i,e,t),d&&x.config.isRouteSupportedHandler&&(d=await x.config.isRouteSupportedHandler({route:y,fromChain:e,toChain:t,fromToken:Dn(n),toToken:Dn(i)}))}catch(f){x.maybeLogSdkError(f,`Error when checking route (${y}) is supported`)}d&&N.push(y)}),N.includes("ManualTBTC")&&(N=N.filter(y=>!["ManualTokenBridge","AutomaticTokenBridge","TokenBridgeExecutorRoute"].includes(y))),M&&(l(!1),c(N))})(),()=>{M=!1}},[n,i,e,t,r,s]),{supportedRoutes:a,isFetching:u}},zl=({amount:e,fromChain:t,toChain:n,preferredRouteName:i,toNativeToken:r,sourceToken:s,destToken:a,sendingWallet:c,receivingWallet:u})=>{const{supportedRoutes:l,isFetching:M}=El({fromChain:t,toChain:n,sourceToken:s,destToken:a,toNativeToken:r,receivingWallet:u}),g=I.useMemo(()=>({amount:e,sourceChain:t,sourceToken:s,destChain:n,destToken:a,nativeGas:r,sender:c?.address,recipient:u?.address}),[e,t,s,a,n,r,c?.address,u?.address]),{quotes:N,failedQuotes:y,isFetchingQuotes:T}=Sl(l,g),d=I.useMemo(()=>l.map(m=>{const h=N[m];if(h?.success)return{route:m,quote:h}}).filter(Boolean),[l,N]),f=I.useMemo(()=>{const m=x.config.ui.routeSortPriority||"fastest";return d.sort((h,D)=>{const j=x.config.routes.get(h.route),L=x.config.routes.get(D.route);if(i){if(h.route===i)return-1;if(D.route===i)return 1}if(m==="cheapest"){const p=BigInt(h.quote.destinationToken.amount.amount),S=BigInt(D.quote.destinationToken.amount.amount),w=Number(S-p);if(w!==0)return w;if(j.AUTOMATIC_DEPOSIT&&!L.AUTOMATIC_DEPOSIT)return-1;if(!j.AUTOMATIC_DEPOSIT&&L.AUTOMATIC_DEPOSIT)return 1;const z=h.quote.eta??1/0,U=D.quote.eta??1/0;return z-U}else{const p=h.quote.eta??1/0,S=D.quote.eta??1/0;if(p!==S)return p-S;if(j.AUTOMATIC_DEPOSIT&&!L.AUTOMATIC_DEPOSIT)return-1;if(!j.AUTOMATIC_DEPOSIT&&L.AUTOMATIC_DEPOSIT)return 1;const w=BigInt(h.quote.destinationToken.amount.amount),z=BigInt(D.quote.destinationToken.amount.amount);return Number(z-w)}})},[i,d]),C=I.useMemo(()=>f.map(m=>m.route),[f]);return I.useMemo(()=>({allSupportedRoutes:l,sortedRoutes:C,sortedRoutesWithQuotes:f,quotes:N,failedQuotes:y,isFetching:M||T}),[l,C,f,N,y,M,T])};/*!
|
|
19
|
+
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),d.warnIfExceeded()),T}}}function Ui(e){return typeof e=="boolean"}var I4=()=>function(t){const{thunk:n=!0,immutableCheck:i=!0,serializableCheck:r=!0,actionCreatorCheck:s=!0}=t??{};let a=new T0;if(n&&(Ui(n)?a.push(c4):a.push(u4(n.extraArgument))),b.process$1.env.NODE_ENV!=="production"){if(i){let c={};Ui(i)||(c=i),a.unshift(N4(c))}if(r){let c={};Ui(r)||(c=r),a.push(y4(c))}if(s){let c={};Ui(s)||(c=s),a.unshift(f4(c))}}return a},L4="RTK_autoBatch",f1=e=>t=>{setTimeout(t,e)},x4=(e={type:"raf"})=>t=>(...n)=>{const i=t(...n);let r=!0,s=!1,a=!1;const c=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:f1(10):e.type==="callback"?e.queueNotification:f1(e.timeout),l=()=>{a=!1,s&&(s=!1,c.forEach(M=>M()))};return Object.assign({},i,{subscribe(M){const g=()=>r&&M(),N=i.subscribe(g);return c.add(M),()=>{N(),c.delete(M)}},dispatch(M){try{return r=!M?.meta?.[L4],s=!r,s&&(a||(a=!0,u(l))),i.dispatch(M)}finally{r=!0}}})},T4=e=>function(n){const{autoBatch:i=!0}=n??{};let r=new T0(e);return i&&r.push(x4(typeof i=="object"?i:void 0)),r};function C4(e){const t=I4(),{reducer:n=void 0,middleware:i,devTools:r=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:c=void 0}=e||{};let u;if(typeof n=="function")u=n;else if(Si(n))u=Jc(n);else throw new Error(b.process$1.env.NODE_ENV==="production"?ve(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(b.process$1.env.NODE_ENV!=="production"&&i&&typeof i!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(2):"`middleware` field must be a callback");let l;if(typeof i=="function"){if(l=i(t),b.process$1.env.NODE_ENV!=="production"&&!Array.isArray(l))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(3):"when using a middleware builder function, an array of middleware must be returned")}else l=t();if(b.process$1.env.NODE_ENV!=="production"&&l.some(d=>typeof d!="function"))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(4):"each middleware provided to configureStore must be a function");if(b.process$1.env.NODE_ENV!=="production"&&s){let d=new Set;l.forEach(f=>{if(d.has(f))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(42):"Duplicate middleware references found when creating the store. Ensure that each middleware is only included once.");d.add(f)})}let M=Lr;r&&(M=l4({trace:b.process$1.env.NODE_ENV!=="production",...typeof r=="object"&&r}));const g=qc(...l),N=T4(g);if(b.process$1.env.NODE_ENV!=="production"&&c&&typeof c!="function")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(5):"`enhancers` field must be a callback");let y=typeof c=="function"?c(N):N();if(b.process$1.env.NODE_ENV!=="production"&&!Array.isArray(y))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(6):"`enhancers` callback must return an array");if(b.process$1.env.NODE_ENV!=="production"&&y.some(d=>typeof d!="function"))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(7):"each enhancer provided to configureStore must be a function");b.process$1.env.NODE_ENV!=="production"&&l.length&&!y.includes(g)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const T=M(...y);return M0(u,a,T)}function w0(e){const t={},n=[];let i;const r={addCase(s,a){if(b.process$1.env.NODE_ENV!=="production"){if(n.length>0)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(i)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const c=typeof s=="string"?s:s.type;if(!c)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(28):"`builder.addCase` cannot be called with an empty action type");if(c in t)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${c}'`);return t[c]=a,r},addAsyncThunk(s,a){if(b.process$1.env.NODE_ENV!=="production"&&i)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(43):"`builder.addAsyncThunk` should only be called before calling `builder.addDefaultCase`");return a.pending&&(t[s.pending.type]=a.pending),a.rejected&&(t[s.rejected.type]=a.rejected),a.fulfilled&&(t[s.fulfilled.type]=a.fulfilled),a.settled&&n.push({matcher:s.settled,reducer:a.settled}),r},addMatcher(s,a){if(b.process$1.env.NODE_ENV!=="production"&&i)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return n.push({matcher:s,reducer:a}),r},addDefaultCase(s){if(b.process$1.env.NODE_ENV!=="production"&&i)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(31):"`builder.addDefaultCase` can only be called once");return i=s,r}};return e(r),[t,n,i]}function m4(e){return typeof e=="function"}function p4(e,t){if(b.process$1.env.NODE_ENV!=="production"&&typeof t=="object")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[n,i,r]=w0(t),s;if(m4(e))s=()=>g1(e());else{const c=g1(e);s=()=>c}function a(c=s(),u){let l=[n[u.type],...i.filter(({matcher:M})=>M(u)).map(({reducer:M})=>M)];return l.filter(M=>!!M).length===0&&(l=[r]),l.reduce((M,g)=>{if(g)if(Cn(M)){const y=g(M,u);return y===void 0?M:y}else{if(Vt(M))return I0(M,N=>g(N,u));{const N=g(M,u);if(N===void 0){if(M===null)return M;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}}return M},c)}return a.getInitialState=s,a}var D4=Symbol.for("rtk-slice-createasyncthunk");function w4(e,t){return`${e}/${t}`}function A4({creators:e}={}){const t=e?.asyncThunk?.[D4];return function(i){const{name:r,reducerPath:s=r}=i;if(!r)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(11):"`name` is a required option for createSlice");typeof b.process$1<"u"&&b.process$1.env.NODE_ENV==="development"&&i.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const a=(typeof i.reducers=="function"?i.reducers(E4()):i.reducers)||{},c=Object.keys(a),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},l={addCase(h,D){const j=typeof h=="string"?h:h.type;if(!j)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(12):"`context.addCase` cannot be called with an empty action type");if(j in u.sliceCaseReducersByType)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(13):"`context.addCase` cannot be called with two reducers for the same action type: "+j);return u.sliceCaseReducersByType[j]=D,l},addMatcher(h,D){return u.sliceMatchers.push({matcher:h,reducer:D}),l},exposeAction(h,D){return u.actionCreators[h]=D,l},exposeCaseReducer(h,D){return u.sliceCaseReducersByName[h]=D,l}};c.forEach(h=>{const D=a[h],j={reducerName:h,type:w4(r,h),createNotation:typeof i.reducers=="function"};b4(D)?k4(j,D,l,t):z4(j,D,l)});function M(){if(b.process$1.env.NODE_ENV!=="production"&&typeof i.extraReducers=="object")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[h={},D=[],j=void 0]=typeof i.extraReducers=="function"?w0(i.extraReducers):[i.extraReducers],L={...h,...u.sliceCaseReducersByType};return p4(i.initialState,p=>{for(let S in L)p.addCase(S,L[S]);for(let S of u.sliceMatchers)p.addMatcher(S.matcher,S.reducer);for(let S of D)p.addMatcher(S.matcher,S.reducer);j&&p.addDefaultCase(j)})}const g=h=>h,N=new Map,y=new WeakMap;let T;function d(h,D){return T||(T=M()),T(h,D)}function f(){return T||(T=M()),T.getInitialState()}function C(h,D=!1){function j(p){let S=p[h];if(typeof S>"u"){if(D)S=vi(y,j,f);else if(b.process$1.env.NODE_ENV!=="production")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(15):"selectSlice returned undefined for an uninjected slice reducer")}return S}function L(p=g){const S=vi(N,D,()=>new WeakMap);return vi(S,p,()=>{const w={};for(const[z,U]of Object.entries(i.selectors??{}))w[z]=S4(U,p,()=>vi(y,p,f),D);return w})}return{reducerPath:h,getSelectors:L,get selectors(){return L(j)},selectSlice:j}}const m={name:r,reducer:d,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:f,...C(s),injectInto(h,{reducerPath:D,...j}={}){const L=D??s;return h.inject({reducerPath:L,reducer:d},j),{...m,...C(L,!0)}}};return m}}function S4(e,t,n,i){function r(s,...a){let c=t(s);if(typeof c>"u"){if(i)c=n();else if(b.process$1.env.NODE_ENV!=="production")throw new Error(b.process$1.env.NODE_ENV==="production"?ve(16):"selectState returned undefined for an uninjected slice reducer")}return e(c,...a)}return r.unwrapped=e,r}var qn=A4();function E4(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function z4({type:e,reducerName:t,createNotation:n},i,r){let s,a;if("reducer"in i){if(n&&!O4(i))throw new Error(b.process$1.env.NODE_ENV==="production"?ve(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");s=i.reducer,a=i.prepare}else s=i;r.addCase(e,s).exposeCaseReducer(t,s).exposeAction(t,a?d1(e,a):d1(e))}function b4(e){return e._reducerDefinitionType==="asyncThunk"}function O4(e){return e._reducerDefinitionType==="reducerWithPrepare"}function k4({type:e,reducerName:t},n,i,r){if(!r)throw new Error(b.process$1.env.NODE_ENV==="production"?ve(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:s,fulfilled:a,pending:c,rejected:u,settled:l,options:M}=n,g=r(e,s,M);i.exposeAction(t,g),a&&i.addCase(g.fulfilled,a),c&&i.addCase(g.pending,c),u&&i.addCase(g.rejected,u),l&&i.addMatcher(g.settled,l),i.exposeCaseReducer(t,{fulfilled:a||Yi,pending:c||Yi,rejected:u||Yi,settled:l||Yi})}function Yi(){}function ve(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const h1={txData:void 0,sendTx:"",redeemTx:"",transferComplete:!1,route:void 0,isResumeTx:!1,timestamp:0},A0=qn({name:"redeem",initialState:h1,reducers:{setTxDetails:(e,{payload:t})=>{e.txData=t},setSendTx:(e,{payload:t})=>{e.sendTx=t},setRoute:(e,{payload:t})=>{e.route=t},clearRedeem:e=>{Object.keys(e).forEach(t=>{e[t]=h1[t]})},setIsResumeTx:(e,{payload:t})=>{e.isResumeTx=t},setTimestamp:(e,{payload:t})=>{e.timestamp=t}}}),{setTxDetails:Rs,setSendTx:v4,clearRedeem:Zo,setRoute:_s,setIsResumeTx:S0,setTimestamp:E0}=A0.actions,U4=A0.reducer;class Sn extends we.Wallet{constructor(t,n){super(),this._address=t,this._chain=n}_isConnected=!0;static NAME="ReadOnlyWallet";getName(){return Sn.NAME}getUrl(){return""}async connect(){return this._isConnected=!0,this.emit("connect"),[this._address.toString()]}async disconnect(){this._isConnected=!1,this.emit("disconnect")}getChainId(){return b.chainToChainId(this._chain)}getNetworkInfo(){throw new Error("Method not implemented.")}getAddress(){return this._address.toString()}getAddresses(){return[this.getAddress()]}setMainAddress(t){}async getBalance(){throw new Error("Address only wallet cannot fetch balance")}isConnected(){return this._isConnected}getIcon(){return""}async signTransaction(t){throw new Error("Address only wallet cannot sign transactions")}async sendTransaction(t){throw new Error("Address only wallet cannot send transactions")}async signMessage(t){throw new Error("Address only wallet cannot sign messages")}async signAndSendTransaction(t){throw new Error("Address only wallet cannot sign or send transactions")}getFeatures(){return[]}supportsChain(t){return this.getChainId()===t}}const mr={address:"",type:void 0,currentAddress:"",error:"",icon:void 0,name:""},j1={sending:mr,receiving:mr},z0=qn({name:"wallet",initialState:j1,reducers:{connectWallet:(e,{payload:t})=>{e.sending.address=t.address,e.sending.currentAddress=t.address,e.sending.type=t.type,e.sending.name=t.name,e.sending.error="",e.sending.icon=t.icon},connectReceivingWallet:(e,{payload:t})=>{e.receiving.address=t.address,e.receiving.currentAddress=t.address,e.receiving.type=t.type,e.receiving.name=t.name,e.receiving.error="",e.receiving.icon=t.icon},clearWallet:(e,{payload:t})=>{e[t]=mr},setWalletError:(e,{payload:t})=>{const{type:n,error:i}=t;e[n].error=i},clearWallets:e=>{Object.keys(e).forEach(t=>{e[t]=j1[t]})},swapWallets:e=>{const t=e.sending;e.sending=e.receiving,e.receiving=t,e.sending.name===Sn.NAME&&(e[we.TransferWallet.SENDING]=mr)}}}),{connectWallet:Y4,connectReceivingWallet:R4,clearWallet:mi,setWalletError:_4,clearWallets:Q4,swapWallets:P4}=z0.actions,B4=z0.reducer;function Z4(){return{data:null,error:null,isFetching:!1,receivedAt:null}}function W4(e){return{data:e,error:null,isFetching:!1,receivedAt:new Date().toISOString()}}function F4(e){return{data:null,error:e,isFetching:!1,receivedAt:null}}function H4(){return{data:null,error:null,isFetching:!0,receivedAt:null}}function N1(){const{source:e,destination:t}=x.config.ui.defaultInputs||{},n=e?.chain,i=e?.token,r=t?.chain,s=t?.token,a=i&&n?x.config.tokens.findByAddressOrSymbol(n,i)?.tuple:void 0,c=s&&r?x.config.tokens.findByAddressOrSymbol(r,s)?.tuple:void 0;return{showValidationState:!1,validations:{fromChain:"",toChain:"",amount:"",toNativeToken:"",sendingWallet:"",receivingWallet:"",relayerFee:"",receiveAmount:""},fromChain:n,toChain:r,token:a,destToken:c,amount:void 0,receiveAmount:Z4(),preferredRouteName:x.config.ui.defaultInputs?.preferredRouteName,route:void 0,foreignAsset:"",associatedTokenAddress:"",gasEst:{send:"",claim:""},isTransactionInProgress:!1,receiverNativeBalance:""}}const y1=e=>{const{fromChain:t}=e;if(e.token){const n=x.config.tokens.get(e.token);if(n&&t&&n.chain!==t&&n.symbol){const i=x.config.tokens.findBySymbol(t,n.symbol);i&&(e.token=i.tuple)}}},I1=e=>{const{toChain:t}=e;if(e.destToken){const n=x.config.tokens.get(e.destToken);if(n&&t&&n.chain!==t&&n.symbol){const i=x.config.tokens.findBySymbol(t,n.symbol);i&&(e.destToken=i.tuple)}}},b0=qn({name:"transfer",initialState:N1(),reducers:{setValidations:(e,{payload:{showValidationState:t,validations:n}})=>{Object.keys(n).forEach(i=>{e.validations[i]=n[i]}),e.showValidationState=t},setToken:(e,{payload:t})=>{e.token=t},clearToken:e=>{e.token=void 0},setDestToken:(e,{payload:t})=>{e.destToken=t},clearDestToken:e=>{e.destToken=void 0},setFromChain:(e,{payload:t})=>{e.fromChain=t,y1(e)},setToChain:(e,{payload:t})=>{e.toChain=t,I1(e)},setAmount:(e,{payload:t})=>{if(e.token&&e.fromChain){const n=x.config.tokens.get(e.token);if(n){const{decimals:i}=n,r=b.parse(t,i);b.units(r)===0n?e.amount=void 0:e.amount=r}}else console.warn("Can't call setAmount without a fromChain and token")},setReceiveAmount:(e,{payload:t})=>{e.receiveAmount=W4(t)},setFetchingReceiveAmount:e=>{e.receiveAmount=H4()},setReceiveAmountError:(e,{payload:t})=>{e.receiveAmount=F4(t)},setTransferRoute:(e,{payload:t})=>{if(!t){e.route=void 0;return}e.route=t},clearTransfer:e=>{const t=N1();Object.keys(e).forEach(n=>{e[n]=t[n]})},setIsTransactionInProgress:(e,{payload:t})=>{e.isTransactionInProgress=t},swapInputs:e=>{const t=e.fromChain;e.fromChain=e.toChain,e.toChain=t;const n=e.token;e.token=e.destToken,e.destToken=n,y1(e),I1(e)}}}),O0=(e,t)=>!we.walletAcceptedChains(t.type).includes(e),G4=async(e,t,n)=>{k0(we.TransferWallet.SENDING,e,t,n)},V4=async(e,t,n)=>{k0(we.TransferWallet.RECEIVING,e,t,n)},k0=async(e,t,n,i)=>{O0(n,i)&&(t(mi(e)),t(_4({type:e,error:"Wallet disconnected, please connect a supported wallet"}))),x.config.chains[n]&&t(e===we.TransferWallet.SENDING?K4(n):Qs(n))},{setValidations:J4,setToken:q4,clearToken:X4,setDestToken:v0,clearDestToken:$4,setFromChain:K4,setToChain:Qs,setAmount:yn,setTransferRoute:Ri,clearTransfer:U0,setIsTransactionInProgress:L1,swapInputs:eu}=b0.actions,tu=b0.reducer,x1={maxSwapAmt:void 0,toNativeToken:0,receiveNativeAmt:void 0,relayerFee:void 0,receiverNativeBalance:""},Y0=qn({name:"transfer",initialState:x1,reducers:{setToNativeToken:(e,{payload:t})=>{e.toNativeToken=t},clearRelay:e=>{Object.keys(e).forEach(t=>{e[t]=x1[t]})}}}),{setToNativeToken:Ot}=Y0.actions,nu=Y0.reducer,iu={route:"bridge",showFromChainsModal:!1,showToChainsModal:!1,showTokensModal:!1,showWalletModal:!1},R0=qn({name:"router",initialState:iu,reducers:{setRoute:(e,{payload:t})=>{e.route=t}}}),{setRoute:Bt}=R0.actions,ru=R0.reducer,ou={txHash:void 0,chain:void 0},_0=qn({name:"search",initialState:ou,reducers:{setSearch(e,t){e.txHash=t.payload.txHash,e.chain=t.payload.chain},clearSearch(e){e.txHash=void 0,e.chain=void 0}}}),{setSearch:Q0,clearSearch:P0}=_0.actions,su=_0.reducer,T1=C4({reducer:{redeem:U4,transferInput:tu,router:ru,wallet:B4,relay:nu,search:su}}),Nt={0:"00",5:"0C",7:"0F",10:"19",15:"26",20:"33",25:"3F",30:"4C",35:"59",40:"66",45:"72",50:"7F",55:"8C",60:"99",65:"A5",70:"B2",75:"BF",80:"CC",85:"D8",90:"E5",95:"F2",100:"FF"},vr={display:"flex",alignItems:"center",justifyContent:"center"},au={width:"40px",height:"40px",...vr,cursor:"pointer"},cu=(e,t)=>e.length===7?e+Nt[t]:e.length===9?e.slice(0,7)+Nt[t]:e,uu=()=>{const e=B.useTheme();return I.useMemo(()=>({"&::-webkit-scrollbar":{display:"none"},"&::-webkit-scrollbar-track":{display:"none",backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{display:"none",backgroundColor:"transparent"},"&:hover::-webkit-scrollbar-thumb":{display:"none",backgroundColor:`${e.palette.text.primary}1a`},"&::-webkit-scrollbar-button":{display:"none"}}),[e])};function lu(e,t){const{order:n=e.length,target:i="_black",href:r,label:s}=t;return e.splice(n,0,{label:s,handleClick:()=>window.open(r,i)}),e}function Mu(e){const t=[];return t.push({label:"Terms of Service",handleClick:()=>e("terms")}),t}function Ps(){const e=B.useTheme(),t=I.useMemo(()=>({menuIcon:au,menu:{display:"flex",[e.breakpoints.down("md")]:{flexDirection:"column"},flexDirection:"row",gap:"8px",padding:"8px",width:"100%"},menuItem:{padding:"16px 0",textAlign:"center",fontSize:"14px",margin:"auto",cursor:"pointer","&:hover":{textDecoration:"underline"}}}),[e]),n=tt(),i=I.useCallback(s=>{n(Bt(s))},[n]),r=(x.config.ui?.menu??[]).reduce(lu,Mu(i));return o.jsx(B.Box,{sx:t.menu,children:r.map(({label:s,handleClick:a},c)=>o.jsx(B.Box,{sx:t.menuItem,onClick:a,children:s},`${s.toLowerCase()}_${c}`))})}function Ur({children:e}){const t=B.useTheme(),n=I.useMemo(()=>({formContent:{backgroundColor:t.palette.formContainer.background+Nt[25],border:`1px solid ${t.palette.formContainer.border+Nt[25]}`,borderRadius:"8px",padding:"20px 16px",display:"flex",flexDirection:"column",width:"488px",gap:"16px",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",[t.breakpoints.down("sm")]:{padding:"8px 4px",width:"auto"}}}),[t.palette.formContainer.background,t.palette.formContainer.border,t.breakpoints]);return o.jsx(B.Box,{sx:n.formContent,children:e})}function Xn(e){const t=B.useTheme(),n=I.useMemo(()=>({fontSize:`${e.size||42}px`,width:"100%",textAlign:e.align||"center",fontFamily:t.typography.fontFamily,fontWeight:e.weight||400,[t.breakpoints.down("sm")]:{fontSize:"24px"}}),[t,e.align,e.size,e.weight]);return o.jsx(B.Box,{sx:n,"data-testid":e["data-testid"],component:"h1",children:e.text})}function Bs({route:e}){const t=B.useTheme(),n=tt();return o.jsx(B.IconButton,{onClick:()=>n(Bt(e)),sx:{mr:1,border:"1px solid "+t.palette.input.border,color:t.palette.text.primary,height:"40px",width:"40px",fontSize:"16px","&:hover":{backgroundColor:t.palette.formContainer.background}},children:o.jsx(t0,{fontSize:"inherit"})})}function du(){const e=B.useTheme(),t=x.config.ui.termsOfServiceUrl||"https://portalbridge.com",n={terms:{width:"100%",maxWidth:"700px",display:"flex",flexDirection:"column",alignItems:"center"},body:{textAlign:"left",display:"flex",flexDirection:"column",fontWeight:"300",ol:{marginBottom:"8px"},li:{marginBottom:"8px"},maxHeight:"640px",px:"8px",margin:"0px -16px -20px",overflowY:"auto",[e.breakpoints.down("sm")]:{margin:"0px -4px -8px",width:"auto"}}};return o.jsxs(he,{sx:n.terms,children:[o.jsxs(Ur,{children:[o.jsxs(he,{display:"flex",alignItems:"center",children:[o.jsx(Bs,{route:"bridge"}),o.jsx(Xn,{align:"left",text:"Terms of Service",size:24,weight:600})]}),o.jsxs(he,{sx:n.body,children:[o.jsx("p",{children:"Last Updated: September 15, 2025"}),o.jsxs("p",{children:['These Terms of Service (the "Agreement") explain the terms and conditions by which you may access and use the Services provided by Maha Labs, LLC (the "Company," "we," "us," or "our"). The "Services" shall include, but not limited to, the website located at'," ",o.jsx("a",{href:t,target:"_blank",style:{whiteSpace:"nowrap"},rel:"noreferrer",children:t})," ",'(the "Interface"), and any app, content, functionality, and services offered on or through the Interface, and all technologies made available from the Interface, together with all of the existing and any updated or new features, functionalities and technologies.']}),o.jsx("p",{children:"You assume all risks associated with using the SDK, the Wormhole protocol, and digital assets and decentralized systems generally, including but not limited to, that: (a) digital assets are highly volatile; (b) using digital assets is inherently risky due to both features of such assets and the potential unauthorized acts of third parties; (c) you may not have ready access to assets; and (d) you may lose some or all of your tokens or other assets. You agree that you will have no recourse against anyone else for any losses due to the use of the SDK or the Wormhole protocol. For example, these losses may arise from or relate to: (i) incorrect information; (ii) software or network failures; (iii) corrupted cryptocurrency wallet files; (iv) unauthorized access; (v) errors, mistakes, or inaccuracies; or (vi) third-party activities."}),o.jsx("p",{children:"You must read this Agreement carefully as it governs your use of the Services. By accessing or using any of the Services, you (on behalf of yourself or the entity that you represent) signify that you have read, understand, and agree to be bound by, this Agreement and our Privacy Policy in its entirety, and you represent and warrant that you have the willingness, right, authority, and capacity lawfully to enter into this Agreement (on behalf of yourself or the entity that you represent). If you do not agree, you are not authorized to access or use any of our Services and should not use our Services."}),o.jsx("p",{children:"To access or use any of our Services, you must be able to form a legally binding contract with us. Accordingly, you represent that you are at least the age of majority in your jurisdiction (e.g., 18 years old in the United States) and have the full right, power, and authority to enter into and comply with the terms and conditions of this Agreement on behalf of yourself and any company or legal entity for which you may access or use the Interface. If you are entering into this Agreement on behalf of an entity, you represent to us that you have the legal authority to bind such entity."}),o.jsx("p",{children:"You further represent that you are not (a) the subject of economic or trade sanctions administered or enforced by any governmental authority or otherwise designated on any list of prohibited or restricted parties (including but not limited to the list maintained by the Office of Foreign Assets Control of the U.S. Department of the Treasury) or (b) a citizen, resident, or organized in a jurisdiction or territory that is the subject of comprehensive country-wide, territory-wide, or regional economic sanctions by the United States. Finally, you represent that your access and use of any of our Services will fully comply with all applicable laws and regulations, and that you will not access or use any of our Services to conduct, promote, or otherwise facilitate any illegal activity."}),o.jsx("p",{children:"NOTICE: This Agreement contains important information, including a binding arbitration provision and a class action waiver, both of which impact your rights as to how disputes are resolved. Our Services are only available to you — and you should only access any of our Services — if you agree completely with these terms."}),o.jsxs("ol",{children:[o.jsxs("li",{children:["Modifications of this Agreement or our Services"," ",o.jsxs("ol",{type:"a",children:[o.jsxs("li",{children:["Modifications of this Agreement. We reserve the right, in our sole discretion, to modify this Agreement from time to time. If we make any material modifications, we will notify you by updating the date at the top of the Agreement and by maintaining a current version of the Agreement at $",t,"/terms-of-use. All modifications will be effective when they are posted, and your continued accessing or use of any of the Services will serve as confirmation of your acceptance of those modifications. If you do not agree with any modifications to this Agreement, you must immediately stop accessing and using all of our Services."]}),o.jsx("li",{children:"Modifications of our Services. We reserve the following rights, which do not constitute obligations of ours: (a) with or without notice to you, to modify, substitute, eliminate or add to any of the Services; (b) to review, modify, filter, disable, delete, and remove any and all content and information from any of the Services."})]})]}),o.jsxs("li",{children:["Intellectual Property Rights",o.jsxs("ol",{type:"a",children:[o.jsxs("li",{children:["General",o.jsxs("ol",{type:"i",children:[o.jsx("li",{children:"The Services and their entire contents, features, and functionality (including but not limited to all information, software, text, displays, images, video and audio, and the design, selection, and arrangement thereof), are owned by us, our licensors or other providers of such material and are protected by copyright, trademark, patent, trade secret, and other intellectual property or proprietary rights laws. Neither the Agreement (nor your use of the Services) transfers to you or any third party any rights, title, or interest in or to such intellectual property rights, except as indicated otherwise."}),o.jsx("li",{children:"Subject to the terms of this Agreement, we grant you a limited, revocable, non-exclusive, non-sublicensable, non-transferable license to access and use our Services solely in accordance with this Agreement. You agree that you will not use, modify, distribute, tamper with, reverse engineer, disassemble or decompile any of our Services for any purpose other than as expressly permitted pursuant to this Agreement. Except as set forth in this Agreement, we grant you no rights to any of our Services, including any intellectual property rights."})]})]}),o.jsx("li",{children:'Feedback. If you provide us with any feedback or suggestions regarding the Services (“Feedback"), you hereby assign to us all rights in such Feedback and agree that we have the right to use and fully exploit such Feedback and related information in any manner we deem appropriate. Any Feedback you provide will be treated as non-confidential and non-proprietary, and we will be entitled to the unrestricted use and dissemination of such Feedback for any purpose, commercial or otherwise, without acknowledgment, attribution, or compensation to you.'})]})]}),o.jsxs("li",{children:["Your Use of the Services",o.jsxs("ol",{type:"a",children:[o.jsxs("li",{children:["Prohibited Uses. You may use the Services only for lawful purposes and in accordance with the Agreement. You agree not to:",o.jsxs("ol",{type:"i",children:[o.jsx("li",{children:"use the Services in any way that violates any applicable federal, state, local, or international law or regulation, including, without limitation, any applicable sanctions laws, export control laws, securities or other financial regulatory laws, anti-money laundering laws, or privacy laws;"}),o.jsx("li",{children:"use any device, software or routine that interferes with the proper working of any Service;"}),o.jsx("li",{children:"attempt to probe, scan or test the vulnerability of the Services, or otherwise seek to interfere with or compromise the integrity, security, or proper functioning of the Services;"}),o.jsx("li",{children:"attempt to interfere with the proper working of the Services, or interfere with, damage, or disrupt any parts of the Services, the server(s) on which the Services is stored, or any server, computer or database connected to the Services;"}),o.jsx("li",{children:"engage in any other conduct that restricts or inhibits anyone's use or enjoyment of the Services, or which, as determined by us, may harm us or users of the Services or expose them to liability; or"}),o.jsx("li",{children:"encourage or enable any other individual to do any of the foregoing."})]})]}),o.jsxs("li",{children:["Your Responsibilities. By using the Services, you agree and understand that:",o.jsxs("ol",{type:"i",children:[o.jsx("li",{children:"You are solely responsible for your use of the Services and interactions with the Protocol, including all of your transfers of digital assets; all transactions you submit to the Protocol are considered unsolicited, which means that they are solely initiated by you;"}),o.jsx("li",{children:"to the fullest extent not prohibited by applicable laws, we owe no fiduciary duties or liabilities to you or any other party, and that to the extent any such duties or liabilities may exist at law or in equity, you hereby irrevocably disclaim, waive, and eliminate those duties and liabilities;"}),o.jsx("li",{children:"You are solely responsible for reporting and paying any taxes applicable to your use of the Services;"}),o.jsx("li",{children:"We have no control over, or liability for, the delivery, quality, safety, legality, or any other aspect of any digital assets that you may transfer to or from a third party, and we are not responsible for ensuring that a counterparty with whom you transact completes the transaction or is authorized to do so;"}),o.jsx("li",{children:"The Services are non-custodial application, meaning we do not ever have custody, possession, or control of your digital assets at any time; we accept no responsibility for, or liability to you, in connection with your use of a wallet and make no representations or warranties regarding how any of our Services will operate with any specific wallet; likewise, you are solely responsible for any associated wallet and we are not liable for any acts or omissions by you in connection with or as a result of your wallet being compromised; and"}),o.jsx("li",{children:'Transactions that take place on a blockchain network require the payment of transaction fees to the validators or node operators of the relevant network ("Gas Fees"); you will be solely responsible to pay the Gas Fees for any transaction that you initiate via any of our Services.'})]})]}),o.jsx("li",{children:"Release of Claims. You expressly agree that you assume all risks in connection with your use of the Services. You further expressly waive and release us, as well as its affiliates and service providers, and each of their respective past, present and future officers, directors, members, employees, consultants, representatives and agents, and each of their respective successors and assigns from any and all liability, claims, causes of action, or damages arising from or in any way relating to your use of the Services."})]})]}),o.jsxs("li",{children:["Disclaimers",o.jsxs("ol",{type:"a",children:[o.jsx("li",{children:'EACH OF OUR SERVICES IS PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS. TO THE FULLEST EXTENT PERMITTED BY LAW, WE DISCLAIM ANY REPRESENTATIONS AND WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. YOU ACKNOWLEDGE AND AGREE THAT YOUR USE OF EACH OF OUR SERVICES IS AT YOUR OWN RISK. WE DO NOT REPRESENT OR WARRANT THAT ACCESS TO ANY OF OUR SERVICES WILL BE CONTINUOUS, UNINTERRUPTED, TIMELY, OR SECURE; THAT THE INFORMATION CONTAINED IN ANY OF OUR SERVICES WILL BE ACCURATE, RELIABLE, COMPLETE, OR CURRENT; OR THAT ANY OF OUR SERVICES WILL BE FREE FROM ERRORS, DEFECTS, VIRUSES, OR OTHER HARMFUL ELEMENTS. NO ADVICE, INFORMATION, OR STATEMENT THAT WE MAKE SHOULD BE TREATED AS CREATING ANY WARRANTY CONCERNING ANY OF OUR SERVICES.'}),o.jsx("li",{children:'SIMILARLY, THE PROTOCOL IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. WE DO NOT PROVIDE, OWN OR CONTROL THE PROTOCOL, WHICH OPERATES AUTONOMOUSLY ON BLOCKCHAINS SUBJECT TO GOVERNANCE BY A DECENTRALIZED SET OF VALIDATORS. NO DEVELOPER OR ENTITY INVOLVED IN CREATING THE PROTOCOL WILL BE LIABLE FOR ANY CLAIMS OR DAMAGES WHATSOEVER ASSOCIATED WITH YOUR USE, INABILITY TO USE, OR YOUR INTERACTION WITH OTHER USERS OF, THE PROTOCOL, INCLUDING ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR LOSS OF PROFITS, CRYPTOCURRENCIES, TOKENS, OR ANYTHING ELSE OF VALUE. WE DO NOT ENDORSE, GUARANTEE, OR ASSUME RESPONSIBILITY FOR ANY ADVERTISEMENTS, OFFERS, OR STATEMENTS MADE BY THIRD PARTIES CONCERNING ANY OF OUR SERVICES.'}),o.jsx("li",{children:"Information Only. You agree that the information presented on or through the Services are for general informational purposes only. We do not warrant the accuracy, completeness or usefulness of this information. Any reliance you place on such information is strictly at your own risk. We disclaim all liability and responsibility arising from any reliance placed on such materials by you or any other visitor to our Services, or by anyone who may be informed of any of its contents."}),o.jsx("li",{children:"Third Party Information. The Services may include content provided by third parties, including materials provided by other users, bloggers and third-party licensors, syndicators, aggregators, and/or reporting services. All statements and/or opinions expressed in these materials, and all articles and responses to questions and other content are solely the opinions and the responsibility of the person or entity providing those materials. These materials do not necessarily reflect our opinion. We are not responsible, or liable to you or any third party, for the content or accuracy of any materials provided by any third parties."})]})]}),o.jsxs("li",{children:["Indemnification",o.jsx("ol",{type:"a",children:o.jsx("li",{children:`To the fullest extent permitted by applicable laws, you agree to indemnify, defend and hold harmless us, as well as its affiliates and service providers, and each of their respective past, present and future officers, directors, members, employees, consultants, representatives and agents, and each of their respective successors and assigns ("Indemnified Parties") from and against all actual or alleged third party claims, damages, awards, judgments, losses, liabilities, obligations, taxes, penalties, interest, fees, expenses (including, without limitation, attorneys' fees and expenses) and costs (including, without limitation, court costs, costs of settlement and costs of pursuing indemnification and insurance), of every kind and nature whatsoever, whether known or unknown, foreseen or unforeseen, matured or unmatured, or suspected or unsuspected, in law or equity, whether in tort, contract or otherwise ("Claims"), including, but not limited to, damages to property or personal injury, that are caused by, arise out of or are related to: (a) your access and use of any of our Services; (b) your violation of any term or condition of this Agreement, the right of any third party, or any other applicable law, rule, or regulation; (c) any other party's access and use of any of our Services with your assistance or using any device or account that you own or control; (d) any dispute between you and (i) any other user of any of the Services or (ii) any of your own customers or users; and (e) your negligence or willful misconduct. You agree to promptly notify us of any third-party Claims and cooperate with the Indemnified Parties in defending such Claims. You further agree that the Indemnified Parties shall have the right to control the defense or settlement of any third-party Claims as they relate to us, if it so chooses.`})})]}),o.jsxs("li",{children:["LIMITATION OF LIABILITY",o.jsx("ol",{type:"a",children:o.jsx("li",{children:"TO THE FULLEST EXTENT ALLOWED BY APPLICABLE LAW, UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, TORT, CONTRACT, STRICT LIABILITY, OR OTHERWISE) SHALL THE INDEMNIFIED PARTIES OR ANY OF THEM BE LIABLE TO YOU OR TO ANY OTHER PERSON FOR: (A) ANY INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND, INCLUDING DAMAGES FOR LOST PROFITS, BUSINESS INTERRUPTION, LOSS OF DATA, LOSS OF GOODWILL, WORK STOPPAGE, ACCURACY OF RESULTS, OR COMPUTER FAILURE OR MALFUNCTION; (B) ANY SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY; (C) ANY AMOUNT, IN THE AGGREGATE, IN EXCESS OF ONE-HUNDRED ($100) DOLLARS; OR (D) ANY MATTER BEYOND THE REASONABLE CONTROL OF THE INDEMNIFIED PARTIES OR ANY OF THEM. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL OR CERTAIN OTHER DAMAGES, SO THE ABOVE LIMITATIONS AND EXCLUSIONS MAY NOT APPLY TO YOU."})})]}),o.jsxs("li",{children:["Governing Law, Dispute Resolution and Class Action Waivers",o.jsxs("ol",{type:"a",children:[o.jsx("li",{children:"Governing Law: You agree that the laws of the State of New York, without regard to principles of conflict of laws, govern this Agreement and any Dispute between you and us. You further agree that each of our Service shall be deemed to be based solely in the State of New York, and that although Service may be available in other jurisdictions, its availability does not give rise to general or specific personal jurisdiction in any forum outside the State of New York. The parties acknowledge that this Agreement evidences interstate commerce. Any arbitration conducted pursuant to this Agreement shall be governed by the Federal Arbitration Act. You agree that the federal and state courts of New York County, New York are the proper forum for any appeals of an arbitration award or for court proceedings in the event that this Agreement's binding arbitration clause is found to be unenforceable."}),o.jsx("li",{children:`Dispute Resolution: Any claim or controversy arising out of or relating to any of our Services, this Agreement, or any other acts or omissions for which you may contend that we are liable, including, but not limited to, any claim or controversy as to arbitrability ("**Dispute**"), shall be finally and exclusively settled by arbitration under the JAMS Optional Expedited Arbitration Procedures. You understand that you are required to resolve all Disputes by binding arbitration. The arbitration shall be held on a confidential basis before a single arbitrator, who shall be selected pursuant to JAMS rules, including where applicable the JAMS' Mass Arbitration Procedures and Guidelines. The arbitration will be held in New York, New York, unless you and we both agree to hold it elsewhere. Unless we agree otherwise, the arbitrator may not consolidate your claims with those of any other party. Any judgment on the award rendered by the arbitrator may be entered in any court of competent jurisdiction. If for any reason a claim by law or equity must proceed in court rather than in arbitration you agree to waive any right to a jury trial and any claim may be brought only in a Federal District Court or a New York state court located in New York County, New York.`}),o.jsx("li",{children:"Class Action and Jury Trial Waiver: You must bring any and all Disputes against us in your individual capacity and not as a plaintiff in or member of any purported class action, collective action, private attorney general action, or other representative proceeding. This provision applies to class arbitration. You and we both agree to waive the right to demand a trial by jury."})]})]}),o.jsxs("li",{children:["Miscellaneous",o.jsxs("ol",{type:"a",children:[o.jsx("li",{children:"Entire Agreement. These terms, together with the Privacy Policy, constitute the entire agreement between you and us with respect to the subject matter hereof. This Agreement supersedes any and all prior or contemporaneous written and oral agreements, communications and other understandings (if any) relating to the subject matter of the terms."}),o.jsx("li",{children:"Assignment. You may not assign or transfer this Agreement, by operation of law or otherwise, without our prior written consent. Any attempt by you to assign or transfer this Agreement without our prior written consent shall be null and void. We may freely assign or transfer this Agreement. Subject to the foregoing, this Agreement will bind and inure to the benefit of the parties, their successors and permitted assigns."}),o.jsx("li",{children:"Not Registered with Any Governmental Agency. We are not registered with any governmental agency in any other capacity. You understand and acknowledge that we do not broker trading orders on your behalf. We also do not facilitate the execution or settlement of your trades, which occur entirely on public distributed blockchains like Ethereum. As a result, we do not (and cannot) guarantee market best pricing or best execution through our Services."}),o.jsx("li",{children:"Notice. We may provide any notice to you under this Agreement using commercially reasonable means, including using public communication channels. Notices we provide by using public communication channels will be effective upon posting. You can contact us at contact@wormholelabs.xyz."}),o.jsx("li",{children:"Severability. If any provision of this Agreement shall be determined to be invalid or unenforceable under any rule, law, or regulation of any local, state, or federal government agency, such provision will be changed and interpreted to accomplish the objectives of the provision to the greatest extent possible under any applicable law and the validity or enforceability of any other provision of this Agreement shall not be affected."})]})]})]})]})]}),x.config.ui.showFooter&&o.jsx(Ps,{})]})}const gu=/^\d*\.?\d*$/,fu=/[^0-9.]/g;function hu(e){const t=I.useMemo(()=>({input:{width:"100%",border:"none",backgroundImage:"none",backgroundColor:"transparent",fontSize:"inherit",boxShadow:"none",outline:"none",flexGrow:1,textAlign:e.align||"left"}}),[e.align]),n=r=>{e.type==="number"&&!gu.test(r.target.value)&&(r.target.value=r.target.value.replace(fu,"")),e.onChange&&e.onChange(r)},i=r=>{r.key==="Enter"&&e.onEnter&&e.onEnter(r)};return o.jsx("input",{ref:e.inputRef,id:e.id,style:t.input,placeholder:e.placeholder,min:e.min,max:e.max,step:e.step,onChange:n,onKeyDown:i,readOnly:e.disabled,value:e.value,"data-testid":e.testId})}const B0=B.createSvgIcon(o.jsx("path",{d:"M21.0008 21.0008L15.8038 15.8038M15.8038 15.8038C17.2104 14.3972 18.0006 12.4895 18.0006 10.5003C18.0006 8.51108 17.2104 6.60336 15.8038 5.19678C14.3972 3.79021 12.4895 3 10.5003 3C8.51108 3 6.60336 3.79021 5.19678 5.19678C3.79021 6.60336 3 8.51108 3 10.5003C3 12.4895 3.79021 14.3972 5.19678 15.8038C6.60336 17.2104 8.51108 18.0006 10.5003 18.0006C12.4895 18.0006 14.3972 17.2104 15.8038 15.8038V15.8038Z",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),"Search");function ju(e){const t=B.useTheme(),n=I.useMemo(()=>({searchContent:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},container:{width:"100%",padding:"16px",borderRadius:"8px",backgroundColor:t.palette.card.secondary},input:{flexGrow:1},searchBorder:{border:`1px solid ${cu(t.palette.divider,50)}`,borderRadius:"8px"},clickable:{cursor:"pointer"}}),[t]),i=I.useRef(null),r=()=>{i.current&&i.current.focus()};return I.useEffect(()=>{r()},[]),o.jsx(B.Box,{sx:n.searchBorder,children:o.jsx(B.Box,{sx:n.container,onClick:r,children:o.jsxs(B.Box,{sx:n.searchContent,children:[o.jsx(B.Box,{sx:n.input,children:o.jsx(hu,{value:e.value,inputRef:i,placeholder:e.placeholder,onChange:e.onChange,onEnter:e.onSearch})}),o.jsx(B.Box,{onClick:e.onSearch,sx:e.onSearch&&n.clickable,children:o.jsx(B0,{})})]})})})}const Nu={padding:"8px 16px",borderRadius:"48px",height:"48px",margin:"auto",maxWidth:"456px",width:"100%",boxShadow:"none"},yu={backgroundColor:e=>e.palette.button.primary,color:e=>e.palette.button.primaryText,"&.Mui-disabled":{backgroundColor:e=>e.palette.button.disabled,color:e=>e.palette.button.disabledText},"&:hover":{boxShadow:"none",backgroundColor:e=>e.palette.button.hover,"&:disabled":{backgroundColor:e=>e.palette.button.disabled,color:e=>e.palette.button.disabledText}},"&:active":{boxShadow:"none",backgroundColor:e=>e.palette.button.action,color:e=>e.palette.button.actionText}},Iu={backgroundColor:e=>e.palette.error.main,color:e=>e.palette.error.contrastText,"&:disabled":{backgroundColor:e=>e.palette.error.main,color:e=>e.palette.error.contrastText,opacity:.4}},Lu={primary:yu,error:Iu},zt=({variant:e="default",styleOverrides:t,...n})=>{const i=I.useMemo(()=>{if(e==="default")return t??{};const s=Lu[e];return[Nu,s,t].filter(Boolean)},[e,t]),r=e==="primary"||e==="error"?"contained":"text";return o.jsx(B.Button,{variant:r,sx:i,...n})},xu=B.createSvgIcon(o.jsx("path",{d:"M12.0003 9.99993V13.7499M2.69731 17.1259C1.83131 18.6259 2.91431 20.4999 4.64531 20.4999H19.3553C21.0853 20.4999 22.1683 18.6259 21.3033 17.1259L13.9493 4.37793C13.0833 2.87793 10.9173 2.87793 10.0513 4.37793L2.69731 17.1259ZM12.0003 16.7499H12.0073V16.7579H12.0003V16.7499Z",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),"Alert");function Tu(e){const t=B.useTheme(),n=I.useMemo(()=>({base:{width:"100%",padding:"8px",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",gap:"10px",borderRadius:"8px"},error:{backgroundColor:t.palette.error.main+Nt[25]},warning:{backgroundColor:t.palette.warning.main+Nt[25]}}),[t]);return o.jsx(B.Collapse,{in:e.show&&!!e.content,unmountOnExit:!0,children:o.jsxs(B.Box,{sx:[n.base,!!e.warning&&n.warning,!!e.error&&n.error],style:{margin:e.margin||0},"data-testid":e.testId,children:[o.jsx(xu,{}),e.content]})})}const En=I.createContext({route:null,receipt:null,setRoute:()=>{},setReceipt:()=>{},clear:()=>{}}),Cu=({children:e})=>{const[t,n]=I.useState(null),[i,r]=I.useState(null),s=I.useCallback(()=>{n(null),r(null)},[]);return o.jsx(En.Provider,{value:{route:t,receipt:i,setRoute:n,setReceipt:r,clear:s},children:e})};function C1(e){return{url:`${n0.WORMSCAN}tx/${e}${x.config.isMainnet?"":"?network=TESTNET"}`,name:"Wormholescan"}}function mu(e){return{url:`https://${x.config.isMainnet?"":"testnet."}axelarscan.io/gmp/${e}`,name:"Axelarscan"}}const m1=["Linea","Sonic"];function pu(e,t,n,i){const r=typeof e=="string"?e:e.constructor.meta.name;return r.startsWith("MayanSwap")?[{url:`https://explorer.mayan.finance/swap/${t}`,name:"Mayan Explorer"}]:r==="LiFi"?[{url:`https://scan.li.fi/tx/${t}`,name:"Li.Fi SCAN"}]:r.includes("MonadBridge")?[C1(t),mu(t)]:x.isExecutorRoute(r)&&(m1.includes(n)||m1.includes(i))?[{url:x.config.isMainnet?`https://usdc.range.org/usdc/status/${t}`:"",name:"USDC.range Explorer"}]:r==="BaseBridgeRoute"?[]:[C1(t)]}async function Du(e,t,n){switch(e){case"ManualTokenBridge":return await Z0(t);case"TokenBridgeExecutorRoute":return await wu(t);case"ManualCCTP":return await Au(t);case"ManualNtt":case"NttExecutorRoute":return p1(t);case"AutomaticNtt":return p1(t);case"ManualTBTC":return Su(t);case"CCTPv2StandardExecutorRoute":case"CCTPv2FastExecutorRoute":return Eu(t);case"MonadBridgeManualRoute":case"MonadBridgeExecutorRoute":return await bu(t,n);case"BaseBridgeRoute":return zu(t);default:throw new Error(`Unknown route type ${e}`)}}const Z0=async e=>{const t={toChain:e.to,fromChain:e.from};if("originTxs"in e&&e.originTxs.length>0)t.sendTx=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");const{payload:n}=e.attestation.attestation;if(!n.token)throw new Error("Attestation is missing token.");if(n.token){const i=await x.getWormholeContextV2(),r=i.getChain(e.from),s=i.getChain(e.to),a=await Wo(r,n.token);if(!a)throw new Error("Unknown source token");const c=await Wo(s,n.token);if(!c)throw new Error("Unknown destination token");t.tokenDecimals=a.decimals,t.amount=b.fromBaseUnits(n.token.amount,Math.min(8,a.decimals)),t.tokenAddress=a.address.toString(),t.token=a.tuple,t.receivedToken=c.tuple,t.receiveAmount=t.amount}if(n.to)if(Ee.isSvmChain(e.to)){const i=x.config.rpcs[e.to];if(!i)throw new Error(`Missing ${e.to} RPC`);const r=n.to.address.toNative(e.to).toString(),s=new Ze.Connection(i);try{const a=await At.getAccount(s,new Ze.PublicKey(r));t.recipient=a.owner.toBase58()}catch(a){console.error(a),t.recipient=r}}else t.recipient=n.to.address.toNative(e.to).toString();return t},wu=async e=>{const t=await Z0(e);return t.recipient=e.attestation.attestation.payload.payload.targetRecipient.toNative(t.toChain).toString(),t},Au=async e=>{const t={toChain:e.to,fromChain:e.from};if("originTxs"in e&&e.originTxs.length>0)t.sendTx=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");if(!e.attestation.attestation)throw new Error("Missing Circle attestation");const{payload:n}=e.attestation.attestation.message,i=b.Wormhole.tokenId(e.from,e.from==="Sui"?b.usdcContract.get(x.config.network,e.from):n.burnToken.toNative(e.from).toString()),r=x.config.tokens.get(i);if(!r)throw new Error("Couldn't find USDC for source chain");if(t.tokenAddress=i.address.toString(),t.token=r.tuple,t.tokenDecimals=r.decimals,t.amount=b.fromBaseUnits(n.amount,r.decimals),t.receiveAmount=t.amount,t.sender=n.messageSender.toNative(e.from).toString(),Ee.isSvmChain(e.to)){const s=x.config.rpcs[e.to];if(!s)throw new Error(`Missing ${e.to} RPC`);const a=n.mintRecipient.toNative(e.to).toString(),c=new Ze.Connection(s);try{const u=await At.getAccount(c,new Ze.PublicKey(a));t.recipient=u.owner.toBase58()}catch(u){console.error(u),t.recipient=a}}else t.recipient=n.mintRecipient.toNative(e.to).toString();if(t.toChain){const s=b.usdcContract.get(x.config.network,t.toChain);if(!s)throw new Error("Couldn't find USDC for destination chain");const a=x.config.tokens.get(t.toChain,s);if(!a)throw new Error("Couldn't find USDC for destination chain");t.receivedToken=a.tuple}return t},p1=e=>{let t="";if("originTxs"in e&&e.originTxs.length>0)t=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");const n=b.Wormhole.tokenId(e.from,e.params.normalizedParams.sourceContracts.token),i=x.config.tokens.get(n);if(!i)throw new Error("Unknown src token");const r=b.Wormhole.tokenId(e.to,e.params.normalizedParams.destinationContracts.token),s=x.config.tokens.get(r);if(!s)throw new Error("Unknown dst token");const{attestation:a}=e.attestation,{payload:c}=a.payloadName==="WormholeTransfer"?a:a.payload,{trimmedAmount:u}=c.nttManagerPayload.payload,l=b.fromBaseUnits(u.amount,u.decimals);return{toChain:e.to,fromChain:e.from,sendTx:t,sender:c.nttManagerPayload.sender.toNative(e.from).toString(),recipient:c.nttManagerPayload.payload.recipientAddress.toNative(e.to).toString(),amount:l,tokenAddress:i.tokenId.address.toString(),token:i.tuple,tokenDecimals:u.decimals,receivedToken:s.tuple,receiveAmount:l,relayerFee:void 0}},Su=async e=>{const t={toChain:e.to,fromChain:e.from};if("originTxs"in e&&e.originTxs.length>0)t.sendTx=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");const{payload:n}=e.attestation.attestation;if(!n.token)throw new Error("Attestation is missing token.");const i=await x.getWormholeContextV2(),r=i.getChain(e.from),s=i.getChain(e.to),a=async(l,M)=>{const g=b.TBTCBridge.getNativeTbtcToken(l.chain);return g?x.config.tokens.get(g):await Wo(l,M)},c=await a(r,n.token);if(!c)throw new Error("Unknown source token");const u=await a(s,n.token);if(!u)throw new Error("Unknown destination token");return t.tokenDecimals=c.decimals,t.amount=b.fromBaseUnits(n.token.amount,Math.min(8,c.decimals)),t.tokenAddress=c.address.toString(),t.token=c.tuple,t.receivedToken=u.tuple,t.receiveAmount=t.amount,t.recipient=(n.payload?.recipient??n.to.address).toNative(e.to).toString(),t},Eu=async e=>{const t={toChain:e.to,fromChain:e.from};if("originTxs"in e&&e.originTxs.length>0)t.sendTx=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");if(!e.attestation.attestation)throw new Error("Missing Circle attestation");const{messageBody:n}=e.attestation.attestation.message,i=b.Wormhole.tokenId(e.from,n.burnToken.toNative(e.from).toString()),r=x.config.tokens.get(i);if(!r)throw new Error("Couldn't find USDC for source chain");if(t.tokenAddress=i.address.toString(),t.token=r.tuple,t.tokenDecimals=r.decimals,t.amount=b.fromBaseUnits(n.amount,r.decimals),t.receiveAmount=t.amount,Ee.isSvmChain(e.to)){const s=x.config.rpcs[e.to];if(!s)throw new Error(`Missing ${e.to} RPC`);const a=n.mintRecipient.toNative(e.to).toString(),c=new Ze.Connection(s);try{const u=await At.getAccount(c,new Ze.PublicKey(a));t.recipient=u.owner.toBase58()}catch(u){console.error(u),t.recipient=a}}else t.recipient=n.mintRecipient.toNative(e.to).toString();if(t.toChain){const s=b.usdcContract.get(x.config.network,t.toChain);if(!s)throw new Error("Couldn't find USDC for destination chain");const a=x.config.tokens.get(t.toChain,s);if(!a)throw new Error("Couldn't find USDC for destination chain");t.receivedToken=a.tuple}return t},zu=async e=>{let t="";if("originTxs"in e&&e.originTxs.length>0)t=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");const{transferInfo:n}=e.attestation;if(!n)throw new Error("BaseBridgeRoute attestation missing metadata");const i=x.config.tokens.get(e.from,n.localToken);if(!i)throw new Error(`Unknown source token: ${n.localChain} on ${e.from}`);const r=x.config.tokens.get(e.to,n.remoteToken);if(!r)throw new Error(`Unknown destination token: ${n.remoteToken} on ${e.to}`);const s=b.fromBaseUnits(n.amount,i.decimals);let a=n.to;if(Ee.isSvmChain(e.to)){const c=x.config.rpcs[e.to];if(!c)throw new Error(`Missing ${e.to} RPC`);const u=new Ze.Connection(c);try{const l=new Ze.PublicKey(n.remoteToken),M=new Ze.PublicKey(n.to),g=await u.getAccountInfo(l);g&&(a=(await At.getAccount(u,M,"confirmed",g.owner)).owner.toBase58())}catch(l){console.error(l)}}return{toChain:e.to,fromChain:e.from,sendTx:t,sender:void 0,recipient:a,amount:s,tokenAddress:i.address.toString(),token:i.tuple,tokenDecimals:i.decimals,receivedToken:r.tuple,receiveAmount:s}},bu=async(e,t)=>{let n="";if(e.originTxs?.length>0)n=e.originTxs[e.originTxs.length-1].txid;else throw new Error("Can't find txid in receipt");const i=await t(e.params.normalizedParams.sourceTokenId);if(!i)throw new Error("Unable to fetch source token");const r=await t(e.params.normalizedParams.destinationTokenId);if(!r)throw new Error("Unable to fetch destination token");const{attestation:s}=e.attestation,{nttManagerPayload:a}=s.payload,c=a.payload.data.trimmedAmount,u=b.fromBaseUnits(c.amount,c.decimals);return{toChain:e.to,fromChain:e.from,sendTx:n,sender:void 0,recipient:a.payload.data.to.toNative(e.to).toString(),amount:u,tokenAddress:i.tokenId.address.toString(),token:i.tuple,tokenDecimals:c.decimals,receivedToken:r.tuple,receiveAmount:u}},Ou=e=>typeof e=="object"&&typeof e.amount=="string"&&typeof e.decimals=="number",ku=e=>Ou(e?.min),Wo=async(e,t)=>{const n=await e.getTokenBridge(),{chain:i}=e,r=t.chain===i?await n.getTokenNativeAddress(t.chain,t.address):await n.getWrappedAsset({chain:t.chain,address:t.address}),s=await n.getWrappedNative(),a=s&&s.toString()===r.toString()?b.nativeTokenId(i):b.Wormhole.tokenId(i,r.toString());return x.config.tokens.get(a)};function D1(e,t,n=!1){const i=t?!x.config.routes.isSameChainSwapSupported(t):!1;return x.config.chainsArr.filter(r=>{if(n&&we.isHyperCoreChain(r.sdkName)||!e.includes(r.sdkName))return!1;if(typeof x.config.isChainSupportedHandler=="function"){const a=n?"source":"destination";if(!x.config.isChainSupportedHandler(r.sdkName,a,x.config.network,t))return!1}return!(i&&t===r.sdkName)})}function vu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"white"}),o.jsx("path",{d:"M29.8809 18.0146C29.8809 11.5195 24.5917 6.25427 18.0682 6.25427C11.5446 6.25427 6.25415 11.5195 6.25415 18.0146C6.25415 19.3574 6.4807 20.6472 6.89662 21.8493C6.8992 21.8547 6.92193 21.9236 6.92193 21.9236C7.08986 22.4557 6.25673 22.664 6.25673 22.9825C6.25673 23.4814 8.01354 23.4138 8.01354 23.9936C8.01354 24.4992 6.27541 24.6558 6.27541 25.1652C6.27541 25.8699 10.1237 25.6244 10.173 26.2294C10.2104 26.6965 8.84943 26.7257 8.84142 27.2246C8.82808 28.0221 14.0933 27.7607 14.0933 28.2914C14.0933 28.6935 11.6979 28.5475 11.6979 29.0226C11.6979 29.4976 14.8504 29.7975 18.3254 29.7975C21.8005 29.7975 24.1971 29.4127 24.1971 28.9973C24.1971 28.582 21.9604 28.667 22.0071 28.2927C22.087 27.6386 27.0523 27.973 27.0523 27.2153C27.0523 26.8159 25.6874 26.723 25.7314 26.2931C25.7941 25.6854 29.8809 25.7756 29.8809 25.1441C29.8809 24.6478 27.8548 24.5257 27.8588 24.0095C27.8615 23.4827 29.8809 23.5054 29.8675 23.0117C29.8569 22.6322 28.9638 22.6415 29.2437 21.8374C29.668 20.6075 29.8843 19.3155 29.8835 18.0146H29.8809ZM26.1273 21.3544C25.7167 22.2793 24.7943 22.0935 24.6903 22.4823C24.5824 22.8843 25.8274 22.9427 25.8274 23.3633C25.8274 23.8742 22.0324 23.6698 22.0697 24.3439C22.0938 24.7685 24.765 24.8401 24.7143 25.2833C24.641 25.9256 20.5755 25.6045 20.5355 26.2202C20.5062 26.6713 22.5203 26.6872 22.5243 27.0986C22.5283 27.4449 20.9434 27.6333 17.9069 27.6333C14.4492 27.6333 12.767 27.4476 12.9589 27.0614C13.1376 26.7005 16.1994 26.7669 16.1687 26.1989C16.1381 25.6324 10.7316 25.7982 10.5689 25.2475C10.433 24.7898 12.3457 24.6955 12.3338 24.2603C12.3217 23.8171 9.88509 23.918 9.83181 23.3806C9.79712 23.0289 11.1048 23.0502 11.0488 22.607C11.0074 22.2845 10.4676 22.3296 10.1477 21.6649C9.61569 20.5211 9.3404 19.2747 9.34118 18.0133C9.34118 13.2152 13.2495 9.32477 18.0695 9.32477C22.8895 9.32477 26.7977 13.2152 26.7977 18.0133C26.7977 19.1969 26.5591 20.3248 26.1286 21.3531L26.1273 21.3544Z",fill:"black"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.89666 21.8493C6.48075 20.6472 6.25419 19.3574 6.25419 18.0145C6.25419 11.5194 11.5447 6.25422 18.0682 6.25422C24.5917 6.25422 29.8809 11.5194 29.8809 18.0145H29.8836C29.8843 19.3155 29.6681 20.6075 29.2438 21.8373C29.0703 22.336 29.3477 22.5218 29.586 22.6816C29.7321 22.7794 29.8635 22.8675 29.8676 23.0117C29.8742 23.2549 29.387 23.3728 28.8909 23.4929C28.3803 23.6164 27.8602 23.7424 27.8588 24.0095C27.8569 24.2703 28.373 24.4304 28.8843 24.5891C29.385 24.7445 29.8809 24.8984 29.8809 25.144C29.8809 25.4639 28.8325 25.5986 27.7896 25.7326C26.7734 25.8633 25.7624 25.9932 25.7315 26.293C25.7088 26.514 26.0584 26.646 26.4035 26.7762C26.7299 26.8995 27.0524 27.0212 27.0524 27.2153C27.0524 27.6089 25.7124 27.7078 24.4135 27.8036C23.212 27.8923 22.0455 27.9784 22.0071 28.2927C21.9843 28.4758 22.5077 28.5489 23.0486 28.6245C23.6134 28.7035 24.1972 28.7851 24.1972 28.9973C24.1972 29.4126 21.8005 29.7975 18.3255 29.7975C14.8504 29.7975 11.698 29.4976 11.698 29.0225C11.698 28.7751 12.3478 28.6961 12.9704 28.6205C13.5434 28.5509 14.0933 28.484 14.0933 28.2914C14.0933 28.053 13.0312 27.9745 11.8623 27.8879C10.4285 27.7818 8.83415 27.6639 8.84146 27.2246C8.84542 26.9732 9.19283 26.8411 9.53179 26.7121C9.86577 26.5851 10.1916 26.4612 10.1731 26.2293C10.1494 25.939 9.25084 25.8445 8.32243 25.7469C7.31646 25.6411 6.27554 25.5317 6.27554 25.1652C6.27554 24.91 6.71169 24.7432 7.14715 24.5769C7.5808 24.4113 8.01367 24.2458 8.01367 23.9935C8.01367 23.6928 7.54086 23.5662 7.08577 23.4444C6.66366 23.3314 6.25686 23.2225 6.25686 22.9825C6.25686 22.8523 6.39587 22.7406 6.549 22.6176C6.77056 22.4397 7.0213 22.2383 6.92197 21.9236C6.92197 21.9236 6.89933 21.8546 6.89666 21.8493ZM6.83176 21.9528C6.86499 22.0584 6.84898 22.1443 6.80585 22.223C6.76023 22.3063 6.6832 22.3829 6.59127 22.4606C6.56131 22.4859 6.52843 22.5123 6.49512 22.5392C6.43315 22.589 6.36928 22.6404 6.31866 22.689C6.24085 22.7639 6.16201 22.8609 6.16201 22.9825C6.16201 23.0764 6.20453 23.1531 6.26607 23.2132C6.32581 23.2718 6.40612 23.3178 6.49305 23.3562C6.65247 23.4268 6.85888 23.482 7.05943 23.5356L7.11074 23.5494C7.33229 23.6089 7.54206 23.6681 7.69657 23.7459C7.85478 23.8257 7.9189 23.9062 7.9189 23.9935C7.9189 24.0271 7.90513 24.0633 7.86812 24.1052C7.83024 24.1479 7.77214 24.1915 7.69485 24.2359C7.53974 24.3252 7.3304 24.4053 7.11082 24.4892L7.10798 24.4903C6.89382 24.5721 6.66985 24.6577 6.49968 24.7561C6.41395 24.8057 6.33614 24.8616 6.27907 24.9266C6.22105 24.9925 6.18068 25.0721 6.18068 25.1652C6.18068 25.3039 6.277 25.4022 6.39295 25.4703C6.51061 25.5395 6.67218 25.5926 6.85578 25.636C7.22427 25.7232 7.71318 25.7781 8.19581 25.829L8.31141 25.8412C8.75763 25.8881 9.19111 25.9338 9.52482 26C9.70653 26.0362 9.85157 26.0772 9.95064 26.1245C10.0558 26.1748 10.0769 26.2163 10.0786 26.2371C10.0835 26.298 10.0468 26.3596 9.93187 26.4311C9.81903 26.5014 9.66237 26.5609 9.49134 26.626L9.49056 26.6262C9.3247 26.6894 9.14548 26.7577 9.00794 26.8438C8.87185 26.9289 8.74954 27.0485 8.7467 27.223C8.74403 27.3829 8.87417 27.4904 9.02145 27.5628C9.17561 27.6387 9.3902 27.6978 9.63827 27.7463C10.1363 27.8434 10.7986 27.9023 11.4552 27.9527C11.5897 27.9629 11.7241 27.9729 11.8568 27.9827C12.3748 28.021 12.8686 28.0576 13.259 28.1071C13.5046 28.1383 13.7033 28.1739 13.8388 28.2165C13.9071 28.2379 13.9527 28.2591 13.9793 28.2781C13.9898 28.2856 13.9951 28.291 13.9976 28.2941C13.9964 28.2962 13.9951 28.2981 13.9935 28.2999C13.9865 28.3084 13.972 28.3208 13.9453 28.3352C13.8916 28.3643 13.8084 28.3911 13.6984 28.4158C13.4974 28.4608 13.2335 28.4929 12.9579 28.5264L12.8842 28.5353C12.5863 28.5717 12.2801 28.6112 12.0481 28.6726C11.9326 28.7032 11.8276 28.741 11.7496 28.7914C11.6718 28.8416 11.6032 28.9165 11.6032 29.0225C11.6032 29.1379 11.6966 29.2189 11.7929 29.2745C11.8964 29.3342 12.0424 29.3874 12.22 29.4356C12.577 29.5324 13.0854 29.6151 13.6982 29.6825C14.9252 29.8173 16.5858 29.8923 18.3255 29.8923C20.0659 29.8923 21.5385 29.796 22.5779 29.6471C23.0968 29.5727 23.5116 29.4847 23.7988 29.3875C23.9417 29.3391 24.0585 29.2866 24.1415 29.2289C24.2206 29.1739 24.2919 29.0977 24.2919 28.9973C24.2919 28.8963 24.2227 28.8272 24.1514 28.7826C24.0783 28.7369 23.9803 28.7019 23.8731 28.673C23.6573 28.6148 23.3728 28.5741 23.0978 28.5356L23.0647 28.5309C22.7976 28.4936 22.5419 28.4579 22.3527 28.4102C22.2535 28.3852 22.1811 28.3589 22.1368 28.3321C22.115 28.3189 22.1055 28.3088 22.102 28.3038L22.1014 28.3028C22.1029 28.2936 22.1096 28.2773 22.1373 28.2544C22.1669 28.2299 22.2138 28.204 22.2808 28.1784C22.4144 28.1272 22.6067 28.0848 22.8434 28.0488C23.2792 27.9825 23.8438 27.9409 24.4216 27.8982L24.5668 27.8875C25.1912 27.8411 25.8197 27.7912 26.2923 27.7047C26.5279 27.6616 26.7321 27.6081 26.8795 27.538C27.0203 27.4711 27.1472 27.37 27.1472 27.2153C27.1472 27.1357 27.1125 27.0689 27.0644 27.0152C27.0173 26.9626 26.9541 26.9186 26.8863 26.8803C26.7595 26.8091 26.5955 26.7472 26.4394 26.6883L26.4089 26.6768C26.2389 26.6126 26.0816 26.5513 25.9691 26.4816C25.8517 26.4089 25.8208 26.351 25.8257 26.3028C25.828 26.2813 25.8535 26.2364 25.9689 26.1806C26.0766 26.1286 26.2328 26.0816 26.4267 26.0387C26.8042 25.955 27.3008 25.8912 27.8047 25.8264L27.8418 25.8216C28.355 25.7557 28.8731 25.6882 29.263 25.597C29.4572 25.5515 29.6267 25.4987 29.7495 25.4338C29.8659 25.3721 29.9757 25.2804 29.9757 25.144C29.9757 25.0463 29.9251 24.9668 29.8586 24.9046C29.7927 24.8428 29.7033 24.7904 29.6047 24.744C29.4128 24.6537 29.1608 24.5756 28.9163 24.4997L28.8965 24.4935C28.6413 24.4144 28.396 24.3373 28.2144 24.2493C28.1236 24.2053 28.0552 24.1615 28.0108 24.1181C27.967 24.0755 27.9533 24.0404 27.9536 24.0102V24.01C27.9538 23.9784 27.968 23.9445 28.0104 23.9057C28.0542 23.8655 28.1219 23.8264 28.2124 23.7883C28.3934 23.7121 28.6376 23.6519 28.8915 23.5904L28.917 23.5842C29.1582 23.5259 29.4064 23.4658 29.5952 23.3898C29.6928 23.3505 29.7821 23.304 29.848 23.2459C29.9152 23.1864 29.965 23.1079 29.9624 23.0091V23.009C29.9585 22.8714 29.8729 22.7774 29.7856 22.7071C29.7415 22.6716 29.6918 22.6382 29.6445 22.6064L29.6397 22.6032C29.5928 22.5718 29.5475 22.5414 29.5044 22.5084C29.4154 22.4401 29.3458 22.3672 29.3103 22.2732C29.2756 22.1809 29.2686 22.0544 29.3333 21.8686L29.3334 21.8683C29.7611 20.6285 29.979 19.326 29.9784 18.0145V17.9197H29.9754C29.9241 11.4152 24.6117 6.15936 18.0682 6.15936C11.4929 6.15936 6.15942 11.4664 6.15942 18.0145C6.15942 19.3681 6.38778 20.6684 6.80706 21.8804L6.80913 21.8863L6.80999 21.888L6.81214 21.8943C6.81455 21.901 6.81747 21.9098 6.82049 21.9187L6.82841 21.9426L6.83099 21.9503L6.83159 21.9522M13.9997 28.2972C13.9997 28.2972 13.9994 28.2971 13.9992 28.2964L13.9997 28.2972ZM26.1286 21.3531C26.5592 20.3247 26.7978 19.1969 26.7978 18.0132C26.7978 13.2152 22.8896 9.32472 18.0696 9.32472C13.2496 9.32472 9.34131 13.2152 9.34131 18.0132C9.34131 19.3175 9.6319 20.5543 10.1478 21.6648C10.3259 22.0351 10.5724 22.1852 10.7629 22.3012C10.9143 22.3934 11.0305 22.4641 11.0488 22.6069C11.0785 22.8418 10.7252 22.9462 10.3918 23.0449C10.0959 23.1323 9.8155 23.2152 9.83186 23.3806C9.85966 23.6614 10.5386 23.7679 11.1821 23.8689C11.7699 23.9612 12.3281 24.0487 12.3338 24.2603C12.3396 24.471 11.8941 24.6018 11.4484 24.7327C10.9737 24.872 10.4989 25.0114 10.5689 25.2475C10.6493 25.5197 12.0108 25.6167 13.371 25.7138C14.7627 25.8131 16.1533 25.9123 16.1688 26.1989C16.1861 26.5197 15.2165 26.6381 14.3373 26.7455C13.6602 26.8282 13.0366 26.9044 12.959 27.0614C12.767 27.4475 14.4492 27.6332 17.9069 27.6332C20.9434 27.6332 22.5283 27.4448 22.5244 27.0985C22.5224 26.8984 22.0449 26.7919 21.5583 26.6833C21.0445 26.5687 20.5205 26.4519 20.5356 26.2201C20.5554 25.9153 21.5623 25.84 22.5827 25.7639C23.623 25.6862 24.6774 25.6075 24.7144 25.2833C24.7402 25.0576 24.0597 24.9282 23.3826 24.7995C22.7305 24.6755 22.0816 24.5522 22.0698 24.3439C22.0498 23.983 23.1279 23.8739 24.1342 23.7721C25.0079 23.6837 25.8274 23.6007 25.8274 23.3633C25.8274 23.1559 25.5247 23.0365 25.2308 22.9207C24.9286 22.8015 24.6356 22.686 24.6904 22.4822C24.7322 22.3259 24.9064 22.2625 25.1264 22.1823C25.4535 22.0632 25.8819 21.9072 26.1273 21.3544L26.1286 21.3531ZM26.0485 21.299C26.4697 20.2867 26.703 19.1773 26.703 18.0132C26.703 13.2681 22.8378 9.41966 18.0696 9.41966C13.3013 9.41966 9.43608 13.2681 9.43608 18.0132C9.43526 19.2606 9.7074 20.4931 10.2334 21.6242C10.3822 21.9331 10.58 22.0761 10.7528 22.1837C10.7709 22.195 10.7894 22.2062 10.8079 22.2174C10.8751 22.2583 10.9429 22.2996 10.9964 22.3444C11.0695 22.4057 11.1285 22.4832 11.1428 22.5949L11.1429 22.5951C11.1643 22.7648 11.0486 22.8762 10.9247 22.9476C10.7993 23.0199 10.6313 23.0726 10.4754 23.1191L10.4186 23.1359C10.2788 23.1773 10.1512 23.2151 10.0551 23.2597C10.001 23.2849 9.96536 23.3087 9.94504 23.3301C9.92705 23.3489 9.92516 23.361 9.92611 23.3711C9.92895 23.3992 9.94763 23.4346 10.008 23.4763C10.068 23.5178 10.157 23.5563 10.2715 23.5917C10.5 23.6624 10.803 23.7131 11.113 23.762L11.1977 23.7752C11.4762 23.819 11.7544 23.8626 11.9696 23.9197C12.0876 23.9509 12.1943 23.9882 12.2737 24.0358C12.3509 24.0821 12.4257 24.1529 12.4285 24.2577M12.4285 24.2577C12.4311 24.351 12.3807 24.4249 12.3187 24.4799C12.2569 24.5347 12.1732 24.5806 12.0821 24.6207C11.9118 24.6956 11.6905 24.7606 11.477 24.8231L11.4316 24.8365C11.1994 24.9047 10.9823 24.9707 10.8314 25.0462C10.7555 25.0842 10.7059 25.12 10.6791 25.1522C10.6559 25.1802 10.6536 25.1995 10.6598 25.2205C10.6597 25.2201 10.6607 25.2241 10.668 25.2317C10.6755 25.2396 10.6878 25.2497 10.7071 25.2613C10.746 25.2847 10.804 25.3087 10.8823 25.3324C11.0384 25.3793 11.2569 25.4195 11.5208 25.4547C12.0358 25.5234 12.7058 25.5712 13.3797 25.6192L13.4251 25.6225C14.1119 25.6715 14.7993 25.7213 15.317 25.7947C15.5751 25.8312 15.7965 25.8743 15.9562 25.9279C16.0354 25.9546 16.1056 25.9858 16.1583 26.0241C16.2101 26.0617 16.2592 26.1172 16.2634 26.1937C16.2699 26.3148 16.1912 26.403 16.0989 26.4636C16.0054 26.5249 15.8764 26.5735 15.7306 26.6139C15.4376 26.6953 15.0456 26.7523 14.6543 26.8019C14.5511 26.815 14.4481 26.8276 14.3466 26.84C14.0593 26.8751 13.7845 26.9087 13.5561 26.9477C13.4017 26.9743 13.2733 27.0025 13.1795 27.034C13.1326 27.0497 13.0977 27.0652 13.0737 27.0797C13.0484 27.095 13.0435 27.1042 13.0439 27.1035L13.0438 27.1037C13.0384 27.1144 13.0389 27.1193 13.039 27.1204C13.0392 27.1216 13.04 27.1269 13.0479 27.1366C13.0665 27.1593 13.1112 27.191 13.1991 27.2251C13.3718 27.2921 13.6618 27.3506 14.0751 27.3977C14.8982 27.4918 16.1787 27.5383 17.9069 27.5383C19.4242 27.5383 20.5751 27.4912 21.3449 27.4014C21.7307 27.3565 22.0153 27.3013 22.2011 27.2382C22.2945 27.2066 22.3565 27.1749 22.3933 27.1461C22.4297 27.1176 22.4296 27.1018 22.4296 27.0996V27.0994C22.4295 27.0915 22.4253 27.0707 22.3804 27.0377C22.3364 27.0053 22.2679 26.9729 22.1764 26.9408C22.0033 26.8799 21.774 26.8288 21.5351 26.7754L21.4968 26.7669C21.2485 26.7114 20.9919 26.6528 20.7992 26.5784C20.7032 26.5414 20.6154 26.4975 20.5511 26.4429C20.4857 26.3873 20.4346 26.3111 20.441 26.2139C20.4498 26.079 20.5661 25.9957 20.685 25.9427C20.8112 25.8863 20.983 25.8443 21.1791 25.8108C21.564 25.7447 22.0697 25.707 22.5724 25.6694L22.6054 25.667C23.1222 25.6284 23.6332 25.5894 24.0196 25.5206C24.2133 25.4861 24.3689 25.4452 24.4762 25.3963C24.5896 25.3446 24.6172 25.299 24.6202 25.2725C24.6204 25.2706 24.6209 25.2667 24.6147 25.2574C24.6073 25.2464 24.5922 25.231 24.564 25.2123C24.5072 25.1747 24.4173 25.137 24.2979 25.0999C24.0604 25.0262 23.7362 24.9634 23.4024 24.8999L23.3626 24.8923C23.0449 24.8319 22.7218 24.7705 22.4739 24.6987C22.3452 24.6613 22.2303 24.6195 22.145 24.5702C22.0657 24.5244 21.9811 24.4543 21.9752 24.3492V24.3491C21.9675 24.2116 22.0608 24.1141 22.172 24.0477C22.2847 23.9802 22.4412 23.9282 22.6192 23.8858C22.9769 23.8005 23.4541 23.7463 23.9249 23.6979L24.1252 23.6775C24.5293 23.6367 24.9172 23.5974 25.2184 23.5438C25.3945 23.5124 25.5337 23.4773 25.6271 23.4372C25.6738 23.4171 25.703 23.3982 25.7192 23.3826C25.7241 23.3783 25.7283 23.373 25.7315 23.3672C25.7326 23.3649 25.7327 23.364 25.7327 23.3633C25.7327 23.3111 25.6947 23.2532 25.5849 23.1855C25.4803 23.1211 25.34 23.0658 25.1911 23.007L25.1837 23.0041C25.0378 22.9466 24.8815 22.8847 24.7695 22.809C24.7129 22.7709 24.6602 22.7243 24.6263 22.666C24.6079 22.6349 24.5959 22.6004 24.5912 22.5646C24.5865 22.5288 24.5891 22.4924 24.5989 22.4576C24.6359 22.3194 24.745 22.2418 24.86 22.1864C24.9183 22.1585 24.9835 22.1336 25.0499 22.1092L25.0948 22.0928C25.1498 22.0731 25.2045 22.0525 25.2588 22.0312C25.5424 21.9179 25.8496 21.7463 26.0407 21.3158L26.048 21.2995L26.0485 21.299",fill:"black"})]})}function Uu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#E84142"}),o.jsx("ellipse",{cx:"18.2683",cy:"18.2682",rx:"12.0875",ry:"12.0875",fill:"white"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5131 18.2567C35.5131 27.7873 27.7873 35.5131 18.2567 35.5131C8.72631 35.5131 1.00037 27.7873 1.00037 18.2567C1.00037 8.72631 8.72631 1.00037 18.2567 1.00037C27.7873 1.00037 35.5131 8.72631 35.5131 18.2567ZM13.3668 25.1239H10.0178C9.31408 25.1239 8.96647 25.1239 8.75452 24.9883C8.52559 24.8399 8.3857 24.594 8.36875 24.3227C8.35602 24.0727 8.52984 23.7673 8.87745 23.1569L17.1465 8.58157C17.4984 7.96264 17.6764 7.65317 17.9011 7.53872C18.1427 7.41579 18.431 7.41579 18.6726 7.53872C18.8973 7.65317 19.0754 7.96264 19.4272 8.58157L21.1271 11.549L21.1358 11.5642C21.5158 12.2282 21.7085 12.5649 21.7927 12.9183C21.8859 13.304 21.8859 13.711 21.7927 14.0968C21.7079 14.4529 21.5171 14.792 21.1314 15.4661L16.7878 23.1442L16.7766 23.1639C16.3941 23.8333 16.2002 24.1726 15.9315 24.4286C15.639 24.7085 15.2872 24.9118 14.9014 25.0265C14.5495 25.1239 14.1553 25.1239 13.3668 25.1239ZM21.8241 25.1239H26.6228C27.3307 25.1239 27.6869 25.1239 27.8989 24.9842C28.1278 24.8358 28.2719 24.5855 28.2847 24.3144C28.2969 24.0724 28.1269 23.779 27.7937 23.204C27.7822 23.1845 27.7707 23.1645 27.759 23.1443L25.3553 19.0322L25.328 18.9859C24.9902 18.4148 24.8197 18.1263 24.6007 18.0148C24.3592 17.8919 24.075 17.8919 23.8334 18.0148C23.613 18.1293 23.435 18.4303 23.0831 19.0365L20.6879 23.1485L20.6797 23.1627C20.3291 23.7679 20.1539 24.0704 20.1665 24.3185C20.1835 24.5899 20.3234 24.8399 20.5523 24.9883C20.76 25.1239 21.1161 25.1239 21.8241 25.1239Z",fill:"#E84142"})]})}function Yu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#FCFF52"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.9986 8H8V28H28V21.0184H24.6812C23.5373 23.5658 20.962 25.3389 18.015 25.3389C13.9527 25.3389 10.6625 22.02 10.6625 17.9865C10.6625 13.9516 13.9527 10.6611 18.015 10.6611C21.0192 10.6611 23.5945 12.4924 24.7384 15.0953H28V8H27.9986Z",fill:"black"})]})}function Ru(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"white"}),o.jsx("path",{d:"M17.8051 5L17.6345 5.5795V22.3938L17.8051 22.564L25.61 17.9505L17.8051 5Z",fill:"#343434"}),o.jsx("path",{d:"M17.805 5L10 17.9505L17.805 22.564V14.4028V5Z",fill:"#8C8C8C"}),o.jsx("path",{d:"M17.8051 24.0417L17.709 24.1589V30.1484L17.8051 30.4291L25.6148 19.4306L17.8051 24.0417Z",fill:"#3C3C3B"}),o.jsx("path",{d:"M17.805 30.4291V24.0417L10 19.4306L17.805 30.4291Z",fill:"#8C8C8C"}),o.jsx("path",{d:"M17.8051 22.564L25.6099 17.9505L17.8051 14.4028V22.564Z",fill:"#141414"}),o.jsx("path",{d:"M10 17.9505L17.805 22.564V14.4028L10 17.9505Z",fill:"#393939"})]})}function _u(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#13B5EC"}),o.jsx("path",{d:"M16.7073 6.23963C17.3111 5.92012 18.2345 5.92012 18.8384 6.23963L25.0178 9.49782C25.3829 9.69093 25.583 9.97532 25.6181 10.2738H25.6252V26.649C25.6181 26.972 25.4145 27.2915 25.0178 27.5022L18.8384 30.7604C18.2345 31.0799 17.3111 31.0799 16.7073 30.7604L10.5279 27.5022C10.1347 27.295 9.94509 26.972 9.93456 26.649C9.93456 26.6174 9.93456 26.5893 9.93456 26.5683V10.3861C9.93456 10.365 9.93456 10.3405 9.93456 10.3194V10.2773H9.93807C9.96615 9.97883 10.1557 9.69795 10.5279 9.50133L16.7073 6.23963ZM24.6421 19.3777L18.8349 22.4499C18.231 22.7694 17.3111 22.7694 16.7037 22.4499L10.9106 19.3848V26.5999L16.7037 29.6474C17.0478 29.83 17.4024 30.009 17.75 30.016H17.7711C18.1187 30.016 18.4522 29.8405 18.7928 29.6755L24.6421 26.5718V19.3777ZM8.96201 26.2944C8.96201 26.9229 9.03574 27.3337 9.17618 27.6251C9.29556 27.8673 9.47462 28.0499 9.80114 28.2746L9.81869 28.2886C9.88891 28.3378 9.96966 28.3869 10.0645 28.4466L10.1768 28.5169L10.5244 28.7275L10.0294 29.5596L9.63963 29.3244L9.57292 29.2822C9.46057 29.212 9.36577 29.1523 9.28151 29.0927C8.3511 28.4607 8.00702 27.7725 8 26.3365V26.2944H8.96201ZM17.3041 15.0241C17.2585 15.0382 17.2163 15.0592 17.1777 15.0768L11.0089 18.3455C11.0019 18.349 10.9949 18.3525 10.9914 18.356L10.9843 18.3596L10.9949 18.3666L11.0089 18.3736L17.1777 21.6423C17.2163 21.6634 17.2585 21.681 17.3041 21.695V15.0241ZM18.2872 15.0241V21.695C18.3328 21.681 18.375 21.6599 18.4136 21.6423L24.5824 18.3736C24.5894 18.3701 24.5964 18.3666 24.6 18.3631L24.6035 18.3596L24.5929 18.3525L24.5789 18.3455L18.4101 15.0768C18.375 15.0592 18.3328 15.0382 18.2872 15.0241ZM24.6421 11.4429L19.0947 14.357L24.6421 17.2712V11.4429ZM10.9141 11.4429V17.2712L16.4615 14.357L10.9141 11.4429ZM18.4066 7.11035C18.0871 6.94182 17.5042 6.94182 17.1847 7.11035L11.0089 10.3756C11.0019 10.3791 10.9949 10.3826 10.9914 10.3861L10.9843 10.3896L10.9949 10.3966L11.0089 10.4037L17.1847 13.6689C17.5042 13.8374 18.0871 13.8374 18.4066 13.6689L24.5824 10.4037C24.5894 10.4001 24.5964 10.3966 24.6 10.3931L24.6035 10.3896L24.5929 10.3826L24.5789 10.3756L18.4066 7.11035ZM25.562 7.44038L25.9517 7.67562L26.0184 7.71775C26.1307 7.78797 26.2255 7.84766 26.3098 7.90735C27.2402 8.53932 27.5843 9.22748 27.5913 10.6635V10.7056H26.6293C26.6293 10.0771 26.5556 9.66635 26.4151 9.37494C26.2958 9.13268 26.1167 8.95011 25.7902 8.72541L25.7726 8.71136C25.7024 8.66221 25.6217 8.61305 25.5269 8.55337L25.4145 8.48315L25.0669 8.27249L25.562 7.44038Z",fill:"white"})]})}function Qu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"black"}),o.jsx("path",{d:"M10.4854 22.4808C10.6216 22.3449 10.8064 22.2687 10.999 22.2687H28.7693C29.093 22.2687 29.255 22.6593 29.026 22.8877L25.5147 26.3893C25.3784 26.5252 25.1937 26.6015 25.0011 26.6015H7.23081C6.9071 26.6015 6.74507 26.2108 6.97406 25.9825L10.4854 22.4808Z",fill:"url(#linearGradient_icons_chains_sol_0)"}),o.jsx("path",{d:"M10.4854 9.39895C10.6216 9.26308 10.8064 9.18677 10.999 9.18677H28.7693C29.093 9.18677 29.255 9.57744 29.026 9.80581L25.5147 13.3074C25.3784 13.4433 25.1937 13.5196 25.0011 13.5196H7.23081C6.9071 13.5196 6.74507 13.129 6.97406 12.9006L10.4854 9.39895Z",fill:"url(#linearGradient_icons_chains_sol_1)"}),o.jsx("path",{d:"M25.5147 15.8982C25.3784 15.7624 25.1937 15.686 25.0011 15.686H7.23081C6.9071 15.686 6.74507 16.0767 6.97406 16.305L10.4854 19.8067C10.6216 19.9425 10.8064 20.0189 10.999 20.0189H28.7693C29.093 20.0189 29.255 19.6282 29.026 19.3998L25.5147 15.8982Z",fill:"url(#linearGradient_icons_chains_sol_2)"})]})}function Pu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"white"}),o.jsxs("g",{clipPath:"url(#icons_chains_apt_clipPath_0)",children:[o.jsx("path",{d:"M36 18C36 8.05887 27.9411 0 18 0C8.05887 0 0 8.05887 0 18C0 27.9411 8.05887 36 18 36C27.9411 36 36 27.9411 36 18Z",fill:"white"}),o.jsx("path",{d:"M6 16.9982L6.65314 14.2624C6.696 14.1538 6.97886 14.021 7.15371 14.021H17.7497C18.468 14.0434 19.0337 13.8245 19.4897 13.2332C20.2954 12.2264 20.5337 12.2264 21.3617 13.2108C21.5667 13.4867 21.8379 13.7058 22.15 13.8475C22.4621 13.9892 22.8049 14.0489 23.1463 14.021L28.8463 13.9986C29.1943 13.9986 29.3897 14.0865 29.4549 14.4365L30 16.9775H29.3263C26.6709 16.9775 24.0394 16.9551 21.384 17C21.1328 17.0156 20.8816 16.9679 20.6535 16.861C20.4253 16.7541 20.2274 16.5915 20.0777 16.388C19.272 15.3588 18.9686 15.0761 17.9246 16.3225C17.4891 16.8483 17.0109 17 16.38 16.9793L6.76286 16.9569C6.588 17 6.39257 17 6.00171 17L6 16.9982ZM6.17486 20.2375H13.5514C14.2251 20.2375 14.7909 20.0841 15.2057 19.4928C15.3137 19.3393 15.4457 19.2307 15.576 19.0773C16.0337 18.5739 16.4469 18.5308 16.8377 19.0773C17.4909 20.041 18.3171 20.2582 19.428 20.2375L29.088 20.2151H29.8714L28.8703 23.0372C28.8274 23.1251 28.6097 23.1906 28.4571 23.1906H16.7726C16.512 23.1906 16.2291 23.0147 16.032 22.8406C15.7491 22.5993 15.5314 22.2717 15.2709 22.0097C14.9451 21.6821 14.5749 21.6597 14.2269 21.9873L14.184 22.0304C13.488 23.1906 12.4217 23.3216 11.1806 23.2561C10.0269 23.1682 8.87486 23.213 7.69886 23.2561C7.32857 23.2561 7.13314 23.1251 7.02514 22.7958L6.17657 20.2358L6.17486 20.2375ZM8.48229 10.8059C13.0303 4.50492 22.7554 4.30667 27.5211 10.7628C26.6726 10.7628 25.8463 10.8507 25.0406 10.7197C24.6926 10.6766 24.3874 10.2387 24.1269 9.93185C23.3657 9.10091 23.148 9.05609 22.4297 9.90944C21.864 10.5663 21.2554 10.8283 20.3623 10.8283L9.17829 10.8059H8.48229ZM9.31029 26.1661C10.0286 26.1437 10.3543 25.6196 10.7469 25.1817C11.3554 24.4818 11.7257 24.4387 12.2691 25.1817C12.8349 25.992 13.5531 26.1885 14.4891 26.1661L26.064 26.1437H26.6726C22.8 30.9138 14.1823 31.6361 9.30857 26.1661H9.31029Z",fill:"black"})]})]})}function Bu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#4DA2FF"}),o.jsx("g",{clipPath:"url(#icons_chains_sui_clipPath_0)",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.406 16.0068C24.342 17.2334 24.906 18.7916 24.906 20.4813C24.906 22.171 24.33 23.7731 23.364 25.0122L23.28 25.1186L23.256 24.9809C23.238 24.8683 23.214 24.7494 23.19 24.6305C22.71 22.4214 21.138 20.5251 18.546 18.9856C16.8 17.953 15.798 16.7077 15.534 15.2933C15.366 14.3796 15.492 13.4597 15.732 12.6712C15.978 11.8826 16.338 11.2255 16.644 10.8313L17.652 9.54835C17.826 9.32306 18.162 9.32306 18.336 9.54835L23.406 16.0068ZM24.996 14.7238L18.252 6.12515C18.126 5.96243 17.88 5.96243 17.754 6.12515L11.004 14.7238L10.98 14.7551C9.744 16.3635 9 18.4036 9 20.6253C9 25.8008 13.032 30 18 30C22.968 30 27 25.8008 27 20.6253C27 18.4036 26.256 16.3635 25.014 14.7551L24.996 14.7238ZM12.618 15.9817L13.218 15.212L13.236 15.3559C13.248 15.4686 13.266 15.5812 13.29 15.6939C13.68 17.8279 15.078 19.6115 17.406 20.9882C19.434 22.1898 20.61 23.5729 20.952 25.0936C21.096 25.7257 21.12 26.3515 21.06 26.8959L21.054 26.9272L21.024 26.9398C20.112 27.4029 19.08 27.6657 17.994 27.6657C14.184 27.6657 11.094 24.449 11.094 20.4813C11.094 18.7791 11.664 17.2083 12.618 15.9817Z",fill:"white"})})]})}function Zu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#0052FF"}),o.jsx("path",{d:"M17.9773 31C25.1695 31 31 25.1797 31 18C31 10.8203 25.1695 5 17.9773 5C11.1537 5 5.55599 10.2388 5 16.9072H22.2131V19.0928H5C5.55599 25.761 11.1537 31 17.9773 31Z",fill:"white"})]})}function Wu(){return o.jsxs("svg",{width:"360",height:"360",viewBox:"0 0 360 360",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"360",height:"360",rx:"30",fill:"#6C00F6"}),o.jsx("path",{d:"M218.804 99.5819L168.572 128.432V218.473L140.856 234.539L112.97 218.46V186.313L140.856 170.39L158.786 180.788V154.779L140.699 144.511L90.4795 173.687V231.399L140.869 260.418L191.088 231.399V141.371L218.974 125.291L246.846 141.371V173.374L218.974 189.597L200.887 179.107V204.986L218.804 215.319L269.519 186.47V128.432L218.804 99.5819Z",fill:"white"})]})}function Fu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#F0B90B"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 0C27.9418 0 36 8.05817 36 18C36 27.9418 27.9418 36 18 36C8.05817 36 0 27.9418 0 18C0 8.05817 8.05817 0 18 0Z",fill:"#F0B90B"}),o.jsx("path",{d:"M9.89289 18L9.90587 22.7596L13.9501 25.1394V27.9259L7.53904 24.1658V16.6081L9.89289 18ZM9.89289 13.2403V16.0139L7.5376 14.6206V11.8471L9.89289 10.4538L12.2597 11.8471L9.89289 13.2403ZM15.639 11.8471L17.9943 10.4538L20.3612 11.8471L17.9943 13.2403L15.639 11.8471Z",fill:"white"}),o.jsx("path",{d:"M11.5948 21.773V18.9865L13.9501 20.3798V23.1533L11.5948 21.773ZM15.6391 26.1374L17.9944 27.5307L20.3612 26.1374V28.911L17.9944 30.3043L15.6391 28.911V26.1374ZM23.7391 11.8471L26.0944 10.4538L28.4612 11.8471V14.6206L26.0944 16.0139V13.2403L23.7391 11.8471ZM26.0944 22.7596L26.1073 18L28.4626 16.6067V24.1644L22.0516 27.9245V25.1379L26.0944 22.7596Z",fill:"white"}),o.jsx("path",{d:"M24.4053 21.7731L22.05 23.1534V20.3798L24.4053 18.9865V21.7731Z",fill:"white"}),o.jsx("path",{d:"M24.4054 14.227L24.4184 17.0135L20.3626 19.3933V24.1645L18.0073 25.5447L15.6521 24.1645V19.3933L11.5963 17.0135V14.227L13.9617 12.8337L17.9929 15.225L22.0487 12.8337L24.4155 14.227H24.4054ZM11.5948 9.46879L17.9944 5.69571L24.4054 9.46879L22.0501 10.8621L17.9944 8.47071L13.9501 10.8621L11.5948 9.46879Z",fill:"white"})]})}function Hu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#213147"}),o.jsx("path",{d:"M7.35034 12.904V23.096C7.35034 23.7512 7.69354 24.344 8.26554 24.6768L17.0951 29.7728C17.6567 30.0952 18.3535 30.0952 18.9151 29.7728L27.7447 24.6768C28.3063 24.3544 28.6599 23.7512 28.6599 23.096V12.904C28.6599 12.2488 28.3167 11.656 27.7447 11.3232L18.9151 6.2272C18.3535 5.9048 17.6567 5.9048 17.0951 6.2272L8.26554 11.3232C7.70394 11.6456 7.36074 12.2488 7.36074 12.904H7.35034Z",fill:"#213147"}),o.jsx("path",{d:"M19.924 19.976L18.6656 23.4288C18.6344 23.5224 18.6344 23.6264 18.6656 23.7304L20.8288 29.6688L23.3352 28.2232L20.3296 19.976C20.2568 19.7888 19.9968 19.7888 19.924 19.976Z",fill:"#12AAFF"}),o.jsx("path",{d:"M22.4512 14.1728C22.3784 13.9856 22.1184 13.9856 22.0456 14.1728L20.7872 17.6256C20.756 17.7192 20.756 17.8232 20.7872 17.9272L24.3336 27.6512L26.84 26.2056L22.4512 14.1832V14.1728Z",fill:"#12AAFF"}),o.jsx("path",{d:"M18 6.612C18.0624 6.612 18.1248 6.6328 18.1768 6.664L27.724 12.176C27.8384 12.2384 27.9008 12.3632 27.9008 12.488V23.512C27.9008 23.6368 27.828 23.7616 27.724 23.824L18.1768 29.336C18.1248 29.3672 18.0624 29.388 18 29.388C17.9376 29.388 17.8752 29.3672 17.8232 29.336L8.27601 23.824C8.16161 23.7616 8.09921 23.6368 8.09921 23.512V12.4776C8.09921 12.3528 8.17201 12.228 8.27601 12.1656L17.8232 6.6536C17.8752 6.6224 17.9376 6.6016 18 6.6016V6.612ZM18 5C17.6568 5 17.324 5.0832 17.012 5.26L7.46481 10.772C6.85121 11.1256 6.47681 11.7704 6.47681 12.4776V23.5016C6.47681 24.2088 6.85121 24.8536 7.46481 25.2072L17.012 30.7192C17.3136 30.896 17.6568 30.9792 18 30.9792C18.3432 30.9792 18.676 30.896 18.988 30.7192L28.5352 25.2072C29.1488 24.8536 29.5232 24.2088 29.5232 23.5016V12.4776C29.5232 11.7704 29.1488 11.1256 28.5352 10.772L18.9776 5.26C18.676 5.0832 18.3328 5 17.9896 5H18Z",fill:"#9DCCED"}),o.jsx("path",{d:"M11.6768 27.6616L12.5608 25.2488L14.3288 26.7152L12.6752 28.2336L11.6768 27.6616Z",fill:"#213147"}),o.jsx("path",{d:"M17.1888 11.6976H14.7656C14.5888 11.6976 14.4224 11.812 14.36 11.9784L9.17041 26.2056L11.6768 27.6512L17.3968 11.9784C17.4488 11.8328 17.3448 11.6872 17.1992 11.6872L17.1888 11.6976Z",fill:"white"}),o.jsx("path",{d:"M21.4321 11.6976H19.0089C18.8321 11.6976 18.6657 11.812 18.6033 11.9784L12.6753 28.2232L15.1817 29.6688L21.6297 11.9784C21.6817 11.8328 21.5777 11.6872 21.4321 11.6872V11.6976Z",fill:"white"})]})}function Gu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"7",fill:"#FF0420"}),o.jsx("path",{d:"M11.4903 24C10.1707 24 9.09018 23.6891 8.24879 23.0674C7.41626 22.4367 7 21.5307 7 20.3671C7 20.1184 7.02657 19.8253 7.07971 19.47C7.22142 18.6706 7.42512 17.7113 7.69082 16.5833C8.44364 13.5278 10.3921 12 13.5274 12C14.3776 12 15.1481 12.1421 15.8213 12.4352C16.4944 12.7106 17.0258 13.1369 17.4155 13.7054C17.8052 14.265 18 14.9312 18 15.7039C18 15.9349 17.9734 16.228 17.9203 16.5833C17.752 17.5692 17.5572 18.5374 17.318 19.47C16.9283 20.9889 16.2641 22.1347 15.3076 22.8897C14.3599 23.6358 13.0845 24 11.4903 24ZM11.7295 21.6018C12.3494 21.6018 12.872 21.4152 13.306 21.0511C13.7488 20.6869 14.0676 20.1273 14.2536 19.3634C14.5105 18.3153 14.7053 17.4093 14.8382 16.6277C14.8824 16.3967 14.909 16.1569 14.909 15.9082C14.909 14.8956 14.3865 14.3893 13.3325 14.3893C12.7126 14.3893 12.1812 14.5759 11.7383 14.94C11.3043 15.3042 10.9944 15.8638 10.8084 16.6277C10.6047 17.3738 10.4098 18.2798 10.2061 19.3634C10.1618 19.5855 10.1353 19.8164 10.1353 20.0651C10.1264 21.0955 10.6667 21.6018 11.7295 21.6018Z",fill:"white"}),o.jsx("path",{d:"M18.3639 24C18.2324 24 18.1385 23.9635 18.0634 23.8813C18.007 23.79 17.9883 23.6895 18.007 23.5708L20.4394 12.4292C20.4582 12.3014 20.524 12.2009 20.6367 12.1187C20.74 12.0365 20.8527 12 20.9748 12H25.6611C26.9665 12 28.009 12.2648 28.7979 12.7854C29.5962 13.3151 30 14.0731 30 15.0685C30 15.3516 29.9624 15.653 29.8967 15.9635C29.6056 17.2785 29.0139 18.2466 28.1123 18.8767C27.2295 19.5068 26.018 19.8174 24.4778 19.8174H22.1017L21.2941 23.5708C21.2659 23.6986 21.2095 23.7991 21.0968 23.8813C20.9935 23.9635 20.8808 24 20.7588 24H18.3639ZM24.5999 17.4521C25.0976 17.4521 25.5202 17.3242 25.8865 17.0594C26.2622 16.7945 26.5064 16.4201 26.6284 15.9269C26.666 15.7352 26.6848 15.5616 26.6848 15.4155C26.6848 15.0868 26.5815 14.8311 26.3843 14.6575C26.187 14.4749 25.8396 14.3836 25.3606 14.3836H23.2475L22.5807 17.4521H24.5999Z",fill:"white"})]})}function Vu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"black"}),o.jsx("path",{d:"M17.7211 11.2061C17.7211 10.2099 18.5249 9.39834 19.5117 9.39834H22.7158V5H19.5117C16.117 5 13.3643 7.77901 13.3643 11.2061C13.3643 12.1004 13.553 12.9505 13.8901 13.7178C11.2538 14.8429 9.50303 17.2334 9.09538 20.2586C8.61909 23.5799 9.93735 27.1628 12.8082 28.8937C15.3703 30.5226 19.3765 30.4149 21.5404 28.1552V29.6553H26V13.0139H19.5136C18.5268 13.0139 17.7229 12.2023 17.7229 11.2061H17.7211ZM21.6394 17.4142V21.5913C21.6394 23.8992 19.786 25.7686 17.5019 25.7686C15.218 25.7686 13.3643 23.8972 13.3643 21.5913C13.3643 19.2854 15.218 17.4142 17.5019 17.4142H21.6394Z",fill:"#BFF009"})]})}function Ju(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#FFEEDA"}),o.jsx("path",{d:"M27.4 21.6933V8.92C27.3733 7.85333 26.52 7 25.4533 7H12.1733C9.29333 7.05333 7 9.4 7 12.28C7 13.24 7.26667 14.0933 7.66667 14.8133C8.01333 15.4267 8.54667 15.9867 9.05333 16.4133C9.21333 16.5467 9.13333 16.4933 9.58667 16.76C10.2 17.1333 10.92 17.32 10.92 17.32V24.9467C10.9467 25.32 10.9733 25.6667 11.08 25.9867C11.3733 27.0533 12.12 27.88 13.1333 28.28C13.56 28.44 14.04 28.5467 14.5467 28.5733L25.1333 28.6267C27.24 28.6267 28.9733 26.92 28.9733 24.7867C28.9733 23.5333 28.36 22.3867 27.4 21.6933Z",fill:"#FFEEDA"}),o.jsx("path",{d:"M27.6667 24.8666C27.6133 26.2266 26.4933 27.3199 25.1333 27.3199L17.8267 27.2932C18.4133 26.6266 18.76 25.7466 18.76 24.7866C18.76 23.2932 17.88 22.2532 17.88 22.2532H25.16C26.5467 22.2532 27.6933 23.3999 27.6933 24.7866L27.6667 24.8666Z",fill:"#EBC28E"}),o.jsx("path",{d:"M9.74667 15.3467C8.89333 14.5467 8.30667 13.5067 8.30667 12.28V12.1467C8.38667 10.0667 10.0933 8.36 12.1733 8.30667H25.48C25.8267 8.33333 26.0933 8.57333 26.0933 8.92V20.2C26.3867 20.2533 26.5467 20.3067 26.84 20.3867C27.08 20.4667 27.4 20.6533 27.4 20.6533V8.92C27.3733 7.85333 26.52 7 25.4533 7H12.1733C9.29333 7.05333 7 9.4 7 12.28C7 13.96 7.77333 15.4 9 16.3867C9.08 16.4667 9.16 16.5467 9.4 16.5467C9.8 16.5467 10.0667 16.2267 10.04 15.9067C10.04 15.6133 9.93333 15.5067 9.74667 15.3467Z",fill:"#101010"}),o.jsx("path",{d:"M25.1333 20.9466H14.7066C14.0133 20.9466 13.4533 21.5066 13.4533 22.2266V23.7199C13.4799 24.4133 14.0666 24.9999 14.7599 24.9999H15.5333V23.7199H14.7599V22.2533C14.7599 22.2533 14.9466 22.2533 15.1866 22.2533C16.4933 22.2533 17.4799 23.4799 17.4799 24.7866C17.4799 25.9599 16.4133 27.4266 14.6533 27.3199C13.0799 27.2133 12.2266 25.8266 12.2266 24.7866V12.0666C12.2266 11.5066 11.7466 11.0266 11.1866 11.0266H10.1466V12.3333H10.9199V24.8133C10.8666 27.3466 12.7333 28.6266 14.6533 28.6266L25.1599 28.6533C27.2666 28.6533 28.9999 26.9466 28.9999 24.8133C28.9733 22.6799 27.2666 20.9466 25.1333 20.9466ZM27.6666 24.8666C27.6133 26.2266 26.4933 27.3199 25.1333 27.3199L17.8266 27.2933C18.4133 26.6266 18.7599 25.7466 18.7599 24.7866C18.7599 23.2933 17.8799 22.2533 17.8799 22.2533H25.1599C26.5466 22.2533 27.6933 23.3999 27.6933 24.7866L27.6666 24.8666Z",fill:"#101010"}),o.jsx("path",{d:"M22.3335 12.5467H14.4668V11.2667H22.3335C22.6801 11.2667 22.9735 11.56 22.9735 11.9067C22.9735 12.2533 22.7068 12.5467 22.3335 12.5467Z",fill:"#101010"}),o.jsx("path",{d:"M22.3335 18.6801H14.4668V17.3734H22.3335C22.6801 17.3734 22.9735 17.6667 22.9735 18.0134C22.9735 18.3867 22.7068 18.6801 22.3335 18.6801Z",fill:"#101010"}),o.jsx("path",{d:"M23.7201 15.6134H14.4668V14.3067H23.7201C24.0668 14.3067 24.3601 14.6 24.3601 14.9467C24.3601 15.32 24.0668 15.6134 23.7201 15.6134Z",fill:"#101010"})]})}function qu(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"black"}),o.jsx("path",{d:"M18.0484 31V26.573C17.6028 26.573 17.1475 26.5343 16.7019 26.4665L16.0045 30.8353C16.6826 30.9516 17.3703 31 18.0484 31ZM20.0827 30.845C20.7608 30.7385 21.4292 30.5835 22.0782 30.3703L20.7124 26.1565C20.2861 26.2921 19.8405 26.3987 19.3949 26.4665L20.0827 30.845ZM14.0186 30.3703L15.3845 26.1662C14.9583 26.0306 14.5417 25.8562 14.1349 25.6528L12.12 29.5954C12.7303 29.8957 13.3696 30.1572 14.0186 30.3703ZM23.9672 29.5954C24.5775 29.2854 25.1587 28.927 25.7109 28.5298L23.0954 24.9553C22.737 25.2168 22.3495 25.459 21.9426 25.6528L23.9672 29.5954ZM10.3763 28.5201L12.9918 24.9456C12.6334 24.6841 12.2846 24.3934 11.965 24.0738L8.82638 27.2027C9.31073 27.6773 9.83383 28.123 10.3763 28.5201ZM27.2511 27.2221L27.2802 27.193C27.7645 26.7183 28.2101 26.1952 28.6073 25.6528L25.0231 23.0469C24.7616 23.4054 24.4613 23.7541 24.1513 24.0641L24.1028 24.1125L25.614 25.5365L27.2511 27.2221ZM7.49925 25.6431L11.0835 23.0373C10.8219 22.6788 10.5797 22.2914 10.3763 21.8942L6.42399 23.8994C6.73398 24.5097 7.0924 25.0909 7.49925 25.6431ZM29.6729 23.9091C29.9829 23.3085 30.2444 22.6692 30.4575 22.0201L26.234 20.6639C26.0984 21.0902 25.924 21.5067 25.7206 21.9039L29.6729 23.9091ZM5.63934 22.0201L9.86289 20.6542C9.72727 20.228 9.62072 19.7921 9.55291 19.3465L5.16468 20.0343C5.27124 20.7027 5.43592 21.3711 5.63934 22.0201ZM30.9322 20.044C31.0388 19.3756 31.0969 18.6878 31.0969 18.0097H26.6602C26.6602 18.4553 26.6215 18.9106 26.5537 19.3562L30.9322 20.044ZM9.44635 18C9.44635 17.5544 9.4851 17.0991 9.55291 16.6535L5.16468 15.9657C5.05812 16.6341 5.00969 17.3219 5 18H9.44635ZM26.5537 16.6632L30.9419 15.9754C30.8353 15.307 30.6803 14.6386 30.4672 13.9896L26.2437 15.3458C26.3793 15.7817 26.4858 16.2176 26.5537 16.6632ZM9.86289 15.3458C9.99851 14.9195 10.1729 14.503 10.3763 14.1058L6.42399 12.1006C6.11401 12.7012 5.85246 13.3405 5.63934 13.9896L9.86289 15.3458ZM25.7303 14.1155L29.6923 12.1103C29.3823 11.5 29.0238 10.9188 28.617 10.3666L25.0231 12.9724C25.2847 13.3309 25.5268 13.7183 25.7303 14.1155ZM11.0835 12.9627C11.345 12.6043 11.6453 12.2556 11.965 11.9359L11.9747 11.9262L8.83607 8.79732L8.82638 8.807C8.34203 9.29136 7.89642 9.80477 7.49925 10.3569L11.0835 12.9627ZM24.1513 11.9553L25.1006 10.9963L27.2802 8.82638L27.2705 8.81669C26.7861 8.34203 26.2727 7.89642 25.7303 7.49925L23.1148 11.0738C23.4732 11.3353 23.8219 11.6259 24.1319 11.9456L24.1513 11.9553ZM13.0015 11.0544C13.3599 10.7928 13.7474 10.5604 14.1542 10.3569L12.1393 6.41431C11.5291 6.72429 10.9478 7.08271 10.3957 7.47988L13.0015 11.0544ZM21.9717 10.3666L23.9963 6.42399C23.386 6.11401 22.7563 5.85246 22.1073 5.63934L20.7317 9.84352C21.1483 9.98882 21.5648 10.1632 21.9717 10.3666ZM15.4039 9.84352C15.8301 9.7079 16.2757 9.60134 16.7213 9.53353L16.0335 5.16468C15.3651 5.27124 14.687 5.42623 14.038 5.63934L15.4039 9.84352ZM19.4046 9.53353L20.1021 5.16468C19.4337 5.05812 18.7459 5 18.0678 5V9.42697C18.5134 9.42697 18.9687 9.46572 19.4046 9.53353Z",fill:"white"}),o.jsx("path",{d:"M18.0483 26.7765V22.3302C17.6705 22.3302 17.3024 22.2818 16.9343 22.1849L15.7719 26.4762C16.5178 26.67 17.283 26.7765 18.0483 26.7765ZM20.3248 26.4762C21.0707 26.2825 21.7778 25.9919 22.4462 25.6044L20.1988 21.7586C19.8792 21.9427 19.5304 22.088 19.172 22.1849L20.3248 26.4762ZM13.6601 25.6044L15.9075 21.7586C15.5878 21.5746 15.2875 21.3421 15.0163 21.0806L14.9775 21.0418L13.5632 22.5239L11.8195 24.1998L11.8486 24.2288C12.3911 24.7616 13.0014 25.2266 13.6601 25.6044ZM24.2577 24.2288C24.8002 23.6864 25.2748 23.0858 25.6526 22.4271L21.7681 20.199C21.5841 20.5187 21.3516 20.8093 21.0803 21.0806L24.2577 24.2288ZM10.444 22.4174L14.3285 20.199C14.1444 19.8794 13.9991 19.5403 13.9023 19.1819L9.57215 20.325C9.76589 21.0515 10.0662 21.7587 10.444 22.4174ZM26.5341 20.3347C26.7279 19.5984 26.8344 18.8429 26.8344 18.0873H22.3493C22.3493 18.4554 22.3009 18.8332 22.204 19.1916L26.5341 20.3347ZM13.7666 18.0776C13.7666 17.7095 13.8151 17.3317 13.9119 16.9733L9.57215 15.8302C9.37841 16.5664 9.27185 17.322 9.27185 18.0776H13.7666ZM22.1944 16.9829L26.5341 15.8399C26.3404 15.1037 26.0401 14.3965 25.6623 13.7378L21.7778 15.9561C21.9522 16.2855 22.0975 16.6245 22.1944 16.9829ZM14.3382 15.9561C14.5222 15.6461 14.745 15.3458 15.0163 15.0843L15.0259 15.0746L13.4179 13.4859L11.8777 11.9069L11.8486 11.936C11.3061 12.4688 10.8411 13.0791 10.4537 13.7281L14.3382 15.9561ZM21.0803 15.0843L22.669 13.5053L24.2964 11.9747L24.2577 11.936C23.7152 11.3935 23.1049 10.9382 22.4462 10.5507L20.1988 14.3965C20.5185 14.5806 20.8091 14.8034 21.0803 15.0649V15.0843ZM15.9075 14.3965C16.2271 14.2124 16.5759 14.0671 16.9343 13.9703L15.7912 9.67892C15.0453 9.87266 14.3382 10.1633 13.6698 10.5507L15.9075 14.3965ZM19.1623 13.98L20.3248 9.6886C19.5885 9.49486 18.8233 9.38831 18.058 9.38831V13.8347C18.4261 13.8347 18.8039 13.8831 19.1623 13.98Z",fill:"white"})]})}function Xu(){return o.jsxs("svg",{width:"38",height:"38",viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{y:"0.999573",width:"36",height:"36",rx:"6",fill:"url(#icons_chains_xlayer_linearGradient_0)"}),o.jsx("path",{d:"M27.1921 22.667V29.2442H28.9861C29.1021 29.2437 29.2132 29.1974 29.2952 29.1151C29.3771 29.0329 29.4231 28.9216 29.4231 28.8056V23.1056C29.4231 22.9895 29.3771 22.8782 29.2952 22.796C29.2132 22.7138 29.1021 22.6674 28.9861 22.667H27.1921ZM27.1921 9.5V16.0772H28.9861C29.1021 16.0767 29.2132 16.0304 29.2952 15.9481C29.3771 15.8659 29.4231 15.7546 29.4231 15.6386V9.93858C29.4231 9.82254 29.3771 9.71122 29.2952 9.62902C29.2132 9.54681 29.1021 9.50042 28.9861 9.5H27.1921Z",fill:"#898989"}),o.jsx("path",{d:"M30.5536 9.5V16.0772H31.2249C31.341 16.0767 31.4521 16.0304 31.534 15.9481C31.6159 15.8659 31.6619 15.7546 31.6619 15.6386V9.93858C31.6619 9.82281 31.6162 9.71173 31.5346 9.62957C31.453 9.54741 31.3423 9.50084 31.2265 9.5H30.5536ZM30.5583 22.667V29.2442H31.2281C31.2857 29.2442 31.3427 29.2328 31.3959 29.2108C31.4491 29.1887 31.4975 29.1564 31.5382 29.1157C31.5789 29.075 31.6112 29.0266 31.6333 28.9734C31.6553 28.9202 31.6667 28.8632 31.6667 28.8056V23.1056C31.6667 23.048 31.6553 22.991 31.6333 22.9377C31.6112 22.8845 31.5789 22.8362 31.5382 22.7955C31.4975 22.7547 31.4491 22.7224 31.3959 22.7004C31.3427 22.6783 31.2857 22.667 31.2281 22.667H30.5583Z",fill:"#575757"}),o.jsx("path",{d:"M19.038 16.0914H13.3634C13.3062 16.0912 13.2495 16.1023 13.1966 16.124C13.1437 16.1456 13.0956 16.1775 13.055 16.2178C13.0144 16.2581 12.9822 16.306 12.9601 16.3587C12.938 16.4115 12.9266 16.4681 12.9264 16.5253V22.1572C12.9264 22.3963 13.1227 22.591 13.3634 22.591H19.0349C19.0921 22.5912 19.1487 22.5802 19.2016 22.5585C19.2545 22.5368 19.3026 22.5049 19.3432 22.4646C19.3838 22.4243 19.4161 22.3764 19.4381 22.3237C19.4602 22.2709 19.4717 22.2143 19.4719 22.1572V16.5253C19.4715 16.41 19.4254 16.2997 19.3438 16.2184C19.2622 16.1371 19.1517 16.0914 19.0365 16.0914M12.472 9.5H6.77196C6.65564 9.5 6.54408 9.54621 6.46183 9.62846C6.37958 9.71071 6.33337 9.82226 6.33337 9.93858V15.6386C6.33337 15.8808 6.52971 16.0772 6.77196 16.0772H12.472C12.5883 16.0772 12.6998 16.031 12.7821 15.9487C12.8643 15.8665 12.9105 15.7549 12.9105 15.6386V9.93858C12.9105 9.82226 12.8643 9.71071 12.7821 9.62846C12.6998 9.54621 12.5883 9.5 12.472 9.5ZM25.6215 9.5H19.9215C19.8052 9.5 19.6937 9.54621 19.6114 9.62846C19.5292 9.71071 19.483 9.82226 19.483 9.93858V15.6386C19.483 15.8808 19.6809 16.0772 19.9215 16.0772H25.6215C25.7379 16.0772 25.8494 16.031 25.9317 15.9487C26.0139 15.8665 26.0601 15.7549 26.0601 15.6386V9.93858C26.0601 9.82226 26.0139 9.71071 25.9317 9.62846C25.8494 9.54621 25.7379 9.5 25.6215 9.5ZM12.472 22.6528H6.77196C6.65564 22.6528 6.54408 22.699 6.46183 22.7812C6.37958 22.8635 6.33337 22.975 6.33337 23.0913V28.7913C6.33337 29.0336 6.52971 29.2283 6.77196 29.2283H12.472C12.588 29.2283 12.6993 29.1823 12.7815 29.1004C12.8637 29.0185 12.9101 28.9074 12.9105 28.7913V23.0913C12.9105 22.975 12.8643 22.8635 12.7821 22.7812C12.6998 22.699 12.5883 22.6528 12.472 22.6528ZM25.6215 22.6528H19.9215C19.8052 22.6528 19.6937 22.699 19.6114 22.7812C19.5292 22.8635 19.483 22.975 19.483 23.0913V28.7913C19.483 29.0336 19.6809 29.2283 19.9215 29.2283H25.6215C25.7376 29.2283 25.8489 29.1823 25.9311 29.1004C26.0133 29.0185 26.0597 28.9074 26.0601 28.7913V23.0913C26.0601 22.975 26.0139 22.8635 25.9317 22.7812C25.8494 22.699 25.7379 22.6528 25.6215 22.6528Z",fill:"white"})]})}function $u(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"black"}),o.jsx("path",{d:"M29.1239 11.0384L18.375 11.0554C14.8158 11.0554 11.9303 13.9408 11.9303 17.5C11.9303 21.0592 14.8158 23.9447 18.375 23.9447H28.726",stroke:"white",strokeWidth:"2.25944",strokeMiterlimit:"10",strokeLinecap:"round"}),o.jsx("path",{d:"M6.17065 17.5H31.0001",stroke:"white",strokeWidth:"2.25944",strokeMiterlimit:"10",strokeLinecap:"round"}),o.jsx("path",{d:"M18.5 5C25.4036 5 31 10.5964 31 17.5C31 24.4036 25.4036 30 18.5 30C11.5964 30 6 24.4036 6 17.5C6 10.5964 11.5964 5 18.5 5Z",stroke:"white",strokeWidth:"2.25944",strokeMiterlimit:"10",strokeLinecap:"round"})]})}function Ku(){return o.jsx("svg",{width:"37",height:"36",viewBox:"0 0 37 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{clipPath:"url(#icons_chains_uni_clipPath_0)",children:[o.jsx("path",{d:"M30.3597 0H6.49976C3.18605 0 0.499756 2.68629 0.499756 6V30C0.499756 33.3137 3.18605 36 6.49976 36H30.3597C33.6734 36 36.3597 33.3137 36.3597 30V6C36.3597 2.68629 33.6734 0 30.3597 0Z",fill:"url(#icons_chains_uni_radialGradient_0)"}),o.jsx("path",{d:"M33.3037 17.7159C25.2415 17.7159 18.7127 11.155 18.7127 3.06787H18.1467V17.7159H3.55566V18.2841C11.6179 18.2841 18.1467 24.8449 18.1467 32.9321H18.7127V18.2841H33.3037V17.7159Z",fill:"white"})]})})}function el(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#814625"}),o.jsx("path",{d:"M24.0394 22.037V20.5602C24.9485 20.2484 25.6104 19.2803 25.6104 18.1344C25.6104 16.9884 24.9485 16.0176 24.0394 15.7085V14.2317C24.8955 13.939 25.5339 13.0611 25.6045 12H24.5631V12.4513C24.5631 12.7986 24.3513 13.1049 24.0394 13.258V13.0474C24.0394 12.7385 23.7688 12.4868 23.4364 12.4868H23.3835C23.0511 12.4868 22.7804 12.7385 22.7804 13.0474V13.258C22.4686 13.1049 22.2567 12.8013 22.2567 12.4513V12H21.2154C21.286 13.0611 21.9243 13.939 22.7804 14.2317V15.7085C21.8743 16.0176 21.2095 16.9857 21.2095 18.1344C21.2095 19.283 21.8713 20.2511 22.7804 20.5602V22.037C21.9243 22.3297 21.286 23.2076 21.2154 24.2687H22.2567V23.8174C22.2567 23.4701 22.4686 23.1638 22.7804 23.0107V23.2213C22.7804 23.5303 23.0511 23.7819 23.3835 23.7819H23.4364C23.7688 23.7819 24.0394 23.5303 24.0394 23.2213V23.0107C24.3513 23.1638 24.5631 23.4674 24.5631 23.8174V24.2687H25.6045C25.5339 23.2076 24.8955 22.3297 24.0394 22.037ZM22.2567 18.7798V17.4862C22.2567 17.1389 22.4686 16.8326 22.7804 16.6794V16.89C22.7804 17.199 23.0511 17.4507 23.3835 17.4507H23.4364C23.7688 17.4507 24.0394 17.199 24.0394 16.89V16.6794C24.3513 16.8326 24.5631 17.1362 24.5631 17.4862V18.7798C24.5631 19.1271 24.3513 19.4334 24.0394 19.5865V19.376C24.0394 19.067 23.7688 18.8154 23.4364 18.8154H23.3835C23.0511 18.8154 22.7804 19.067 22.7804 19.376V19.5865C22.4715 19.4334 22.2567 19.1298 22.2567 18.7798Z",fill:"white"}),o.jsx("path",{d:"M30.4291 18.9193V17.3468C31.3381 17.035 32.0001 16.0668 32.0001 14.9209C32.0001 13.775 31.3381 12.804 30.4291 12.495V12H29.1729V12.495C28.2639 12.8068 27.6021 13.775 27.6021 14.9209C27.6021 16.0668 28.2639 17.0377 29.1729 17.3468V18.9193C28.2639 19.231 27.6021 20.1992 27.6021 21.3451C27.6021 22.491 28.2639 23.4619 29.1729 23.771V24.266H30.4291V23.771C31.3381 23.4592 32.0001 22.491 32.0001 21.3451C32.0001 20.1992 31.3381 19.231 30.4291 18.9193ZM28.6463 15.5663V14.2727C28.6463 13.9253 28.8582 13.619 29.17 13.4659V13.6765C29.17 13.9856 29.4407 14.2371 29.7731 14.2371H29.8231C30.1555 14.2371 30.4261 13.9856 30.4261 13.6765V13.4659C30.738 13.619 30.9498 13.9226 30.9498 14.2727V15.5663C30.9498 15.9136 30.738 16.22 30.4261 16.3731V16.1625C30.4261 15.8534 30.1555 15.6018 29.8231 15.6018H29.7702C29.4378 15.6018 29.167 15.8534 29.167 16.1625V16.3731C28.8611 16.22 28.6463 15.9164 28.6463 15.5663ZM30.9527 21.9933C30.9527 22.3406 30.741 22.647 30.4291 22.8001V22.491C30.4291 22.182 30.1585 21.9303 29.8261 21.9303H29.776C29.4436 21.9303 29.1729 22.182 29.1729 22.491V22.8001C28.8611 22.647 28.6493 22.3434 28.6493 21.9933V20.6996C28.6493 20.3523 28.8611 20.0461 29.1729 19.8929V20.005C29.1729 20.3141 29.4436 20.5657 29.776 20.5657H29.829C30.1614 20.5657 30.432 20.3141 30.432 20.005V19.8929C30.7439 20.0461 30.9557 20.3496 30.9557 20.6996V21.9933H30.9527Z",fill:"white"}),o.jsx("path",{d:"M16.841 16.8815C16.8292 16.8187 16.8145 16.7585 16.791 16.7011C16.7998 16.6874 18.7531 14.1576 16.944 12.5932C15.1377 11.0289 13.0284 13.0692 13.0166 13.0801C12.6813 12.9816 12.343 12.9214 12.0076 12.8941C12.0076 12.8941 12.0076 12.8941 12.0047 12.8941C11.3162 12.7874 10.3514 12.8941 10.3514 12.8941C10.0189 12.9214 9.68358 12.9816 9.35115 13.0774C9.33938 13.0663 7.2301 11.0261 5.42384 12.5905C3.61757 14.1549 5.56798 16.6874 5.57681 16.6983C5.55622 16.7585 5.53857 16.8187 5.5268 16.8788C5.33264 17.9618 4 18.2955 4 20.1826C4 22.1052 5.39147 23.6203 8.23327 23.6203H9.39822C9.4041 23.6258 9.8542 24.222 10.7838 24.2575C10.7838 24.2575 10.9986 24.2794 11.4928 24.263C12.4783 24.263 12.9578 23.6312 12.9608 23.623H14.1257C16.9674 23.623 18.3589 22.1079 18.3589 20.1853C18.3678 18.301 17.0351 17.9646 16.841 16.8815Z",fill:"white"})]})}function tl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#FF004D"}),o.jsx("path",{d:"M10.0747 20.8363L13.0093 18.0058V17.9933L15.93 20.8238C16.774 21.6379 17.8062 22 18.8245 22C20.9551 22 23.0047 20.3979 23.0047 17.9933L25.9253 20.8238C26.7693 21.6379 27.8015 22 28.8198 22C30.9504 22 33 20.3979 33 17.9933H30.494L27.5733 15.1762C26.7293 14.3621 25.6841 14 24.6657 14C22.5351 14 20.4986 15.5896 20.4986 17.9933L17.578 15.1762C16.734 14.3621 15.6887 14 14.6704 14C12.5398 14 10.5033 15.5896 10.5033 17.9933L3 18.0058C3 20.423 5.07658 21.9865 7.2072 21.9865C8.22545 21.9865 9.25769 21.6244 10.0747 20.8363Z",fill:"white"})]})}function nl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#0052FF"}),o.jsx("path",{fill:"#fff",d:"M25.7,29.9H6.8V10h4.3v16.1h14.6v3.9h0Z"}),o.jsx("path",{fill:"#fff",d:"M25.7,13.8c2.1,0,3.9-1.7,3.9-3.9s-1.7-3.9-3.9-3.9-3.9,1.7-3.9,3.9,1.7,3.9,3.9,3.9Z"})]})}function il(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#clip0_8823_13579)",children:[o.jsx("path",{d:"M0 18C0 8.05887 8.05887 0 18 0V0C27.9411 0 36 8.05887 36 18V18C36 27.9411 27.9411 36 18 36V36C8.05887 36 0 27.9411 0 18V18Z",fill:"#072723"}),o.jsx("g",{clipPath:"url(#clip1_8823_13579)",children:o.jsx("path",{d:"M32 17.9414C32 27.1983 26.3351 30.1686 23.3503 27.5238C20.8934 25.3672 20.1624 20.81 16.467 20.3421C11.7766 19.7521 11.3706 25.998 8.28427 25.998C4.69036 25.998 4 20.7693 4 18.0838C4 15.3372 4.77157 11.5938 7.83756 11.5938C11.4112 11.5938 11.6142 16.9445 16.0812 16.6596C20.5279 16.3545 20.6091 10.78 23.4925 8.3996C26.0101 6.34475 32 8.56235 32 17.9414Z",fill:"#97FCE4"})})]}),o.jsxs("defs",{children:[o.jsx("clipPath",{id:"clip0_8823_13579",children:o.jsx("path",{d:"M0 18C0 8.05887 8.05887 0 18 0V0C27.9411 0 36 8.05887 36 18V18C36 27.9411 27.9411 36 18 36V36C8.05887 36 0 27.9411 0 18V18Z",fill:"white"})}),o.jsx("clipPath",{id:"clip1_8823_13579",children:o.jsx("rect",{width:"28",height:"28",fill:"white",transform:"translate(4 4)"})})]})]})}function W0(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",ry:"6",fill:"#000"}),o.jsx("path",{fill:"#fff",d:"M20.85,21.39h0s0,0,0,0h0,0Z"}),o.jsx("path",{fill:"#fff",d:"M20.85,21.39c-5.28,1.59-9.65,3.9-12.38,6.61l-.12.12c.73.69,1.52,1.3,2.39,1.83l.18-.23c.75-.91,1.55-1.79,2.38-2.62,2.24-2.23,4.79-4.16,7.55-5.71h0Z"}),o.jsx("path",{fill:"#fff",d:"M21.46,19.04H4.03c.21,2.83,1.26,5.42,2.91,7.53l.08-.08c1.69-1.67,3.9-3.19,6.56-4.51,2.33-1.16,5.01-2.16,7.89-2.94Z"}),o.jsx("path",{fill:"#fff",d:"M14.78,7.42c4.72,4.71,10.67,7.82,17.19,9-.79-6.98-6.73-12.41-13.95-12.41-1.91,0-3.72.38-5.38,1.07.67.81,1.39,1.6,2.13,2.34h0Z"}),o.jsx("path",{fill:"#fff",d:"M8.47,8c2.74,2.71,7.1,5.02,12.38,6.61-2.76-1.55-5.32-3.48-7.55-5.71-.83-.83-1.63-1.71-2.38-2.62l-.18-.23c-.86.52-1.66,1.14-2.38,1.83l.12.12s0,0,0,0Z"}),o.jsx("path",{fill:"#fff",d:"M14.78,28.58c-.74.74-1.46,1.53-2.13,2.34,1.66.69,3.48,1.07,5.38,1.07,7.22,0,13.16-5.43,13.95-12.41-6.52,1.18-12.47,4.29-17.19,9h0s0,0,0,0Z"}),o.jsx("path",{fill:"#fff",d:"M13.56,14.01h0c-2.66-1.32-4.86-2.84-6.55-4.51l-.08-.08c-1.65,2.11-2.7,4.7-2.91,7.53h17.43c-2.88-.79-5.56-1.78-7.89-2.95h0Z"})]})}function rl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 130 130",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"130",height:"130",rx:"16.66%",fill:"#8CABA9"}),o.jsx("g",{transform:"scale(0.8) translate(17,17)",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.9642 129.695C84.1796 129.695 101.443 121.338 113.318 108.059C107.794 103.258 99.4696 102.966 93.5889 107.712L92.4654 108.618C81.6982 117.306 66.009 116.023 56.7965 105.701C51.7718 100.071 43.1667 99.4967 37.438 104.408L24.485 115.513C35.5791 124.388 49.6518 129.695 64.9642 129.695ZM85.9896 98.2938C96.2452 90.0184 110.66 90.3152 120.524 98.3078C126.42 88.5391 129.812 77.0895 129.812 64.8475C129.812 51.2447 125.624 38.6203 118.466 28.1932C113.852 27.2105 108.851 28.3582 105.054 31.7224L103.974 32.6799C93.6189 41.8559 77.8874 41.2982 68.2083 31.4123C62.9293 26.0206 54.3067 25.8435 48.8108 31.0141L33.7373 45.195L25.4452 36.3811L40.5187 22.2001C50.8139 12.5144 66.9661 12.8461 76.8551 22.9462C82.0221 28.2237 90.4202 28.5214 95.948 23.6229L97.0283 22.6654C100.384 19.692 104.266 17.6874 108.331 16.6332C96.8419 6.29289 81.638 0 64.9642 0C32.045 0 4.85497 24.529 0.674023 56.3066C10.6729 51.5085 23.0064 53.3548 31.1591 61.7035C36.3059 66.974 44.593 67.5303 50.3981 62.9951L58.826 56.4108C69.4177 48.136 84.3907 48.5365 94.5248 57.3661L110.933 71.6615L102.984 80.7856L86.5755 66.4902C80.8129 61.4696 72.299 61.2417 66.276 65.9471L57.8483 72.5312C47.1827 80.8637 31.957 79.8415 22.501 70.1582C17.0024 64.5273 8.00934 64.3309 2.27007 69.7163L0.446289 71.4275C1.81116 84.9719 7.34388 97.286 15.7424 107.068L29.5615 95.2208C40.2929 86.0206 56.4126 87.0973 65.825 97.6432C70.743 103.153 79.1181 103.838 84.8662 99.2004L85.9896 98.2938Z",fill:"url(#paint0_linear_109_191)"})}),o.jsx("defs",{children:o.jsxs("linearGradient",{id:"paint0_linear_109_191",x1:"65.0205",y1:"129.148",x2:"65.0205",y2:"-2.87836e-07",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#B52A2A"}),o.jsx("stop",{offset:"1",stopColor:"#780000"})]})})]})}function ol(){return o.jsxs("svg",{width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"41",height:"40",rx:"6",fill:"#F9F9F9"}),o.jsx("g",{transform:"scale(0.7) translate(9, 9)",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0.00291959V15.9042L5.6765 21.587V5.68569L21.4992 5.73875L15.8256 0.0530768L0.00302147 0L0 0.00291959ZM28.7868 12.7214V27.0783L23.1104 21.3956V7.03861L28.7868 12.7214ZM12.9607 28.5724H27.2944L21.6208 22.8867H7.28708L12.9607 28.5724ZM36.854 35.0866V20.8018L31.1777 15.1191V31.0204L15.3549 30.9674L21.0285 36.653L35.3373 36.7009L38.3549 39.7233L40.2871 40L39.9191 38.1568L36.854 35.0866Z",fill:"#282828"})})]})}function sl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#ff3d00"}),o.jsx("path",{d:"M24.31 8.32H16.52L15.4 12.83H12.02L10.6 18.52C10.5 18.93 10.82 19.31 11.24 19.31H14.1L11.94 30.68L21.08 20.99C21.8 20.22 21.27 18.97 20.21 18.97H17.22L18.57 13.54H25.93L26.9 9.63C27.02 9.22 26.71 8.85 26.29 8.84L24.31 8.32Z",fill:"white"})]})}function al(){return o.jsx("svg",{width:"36",height:"36",viewBox:"0 0 275 275",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M275 137.5C275 61.5608 213.439 -3.31941e-06 137.5 0C61.5608 3.31941e-06 -3.31941e-06 61.5608 0 137.5C3.31941e-06 213.439 61.5608 275 137.5 275C213.439 275 275 213.439 275 137.5ZM157.125 240.407C157.125 249.735 149.469 257.317 138.602 257.535C138.301 257.538 138 257.539 137.698 257.54H137.302C71.0969 257.433 17.4603 203.73 17.4603 137.5C17.4603 71.2041 71.2039 17.4605 137.5 17.4605C137.857 17.4605 138.215 17.4621 138.571 17.4652C150.834 17.6836 157.125 25.2654 157.125 34.5929C157.125 44.0859 148.733 51.0715 139.843 51.0715C130.952 51.0715 130.516 51.0715 122.006 51.7534C113.495 52.4354 104.695 59.4209 104.695 68.8859C104.695 78.4071 112.43 86.0745 122.006 86.0745H197.48C207.028 86.0745 214.762 93.742 214.762 103.207C214.762 112.672 207.028 120.339 197.48 120.339H81.2298C71.6539 120.339 63.9195 128.035 63.9195 137.528C63.9195 146.993 71.6539 154.661 81.2298 154.661H139.843C149.391 154.661 157.125 162.328 157.125 171.821C157.125 181.286 149.391 188.954 139.843 188.954H122.006C112.43 188.954 104.695 196.621 104.695 206.086C104.695 215.579 112.622 222.509 122.006 223.219C122.745 223.275 123.422 223.326 124.045 223.374C127.347 223.625 129.151 223.763 130.958 223.838C133.134 223.929 135.314 223.929 140.119 223.929C149.667 223.929 157.125 230.942 157.125 240.407Z",fill:"#7132F5"})})}function cl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#clip0_8823_13578)",children:[o.jsx("rect",{width:"36",height:"36",fill:"white"}),o.jsx("path",{d:"M32 17.9414C32 27.1983 26.3351 30.1686 23.3503 27.5238C20.8934 25.3672 20.1624 20.81 16.467 20.3421C11.7766 19.7521 11.3706 25.998 8.28427 25.998C4.69036 25.998 4 20.7693 4 18.0838C4 15.3372 4.77157 11.5938 7.83756 11.5938C11.4112 11.5938 11.6142 16.9445 16.0812 16.6596C20.5279 16.3545 20.6091 10.78 23.4925 8.3996C26.0101 6.34475 32 8.56235 32 17.9414Z",fill:"#072723"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_8823_13578",children:o.jsx("path",{d:"M0 18C0 8.05887 8.05887 0 18 0V0C27.9411 0 36 8.05887 36 18V18C36 27.9411 27.9411 36 18 36V36C8.05887 36 0 27.9411 0 18V18Z",fill:"white"})})})]})}function ul(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",children:[o.jsx("path",{d:"M0 6.00378C0 2.69008 2.68629 0.00378418 6 0.00378418H42C45.3137 0.00378418 48 2.69008 48 6.00378V42.0038C48 45.3175 45.3137 48.0038 42 48.0038H6C2.68629 48.0038 0 45.3175 0 42.0038V6.00378Z",fill:"#23292F"}),o.jsxs("g",{clipPath:"url(#clip0_8722_5035)",children:[o.jsx("path",{d:"M24 40.0038C32.8366 40.0038 40 32.8403 40 24.0038C40 15.1672 32.8366 8.00378 24 8.00378C15.1634 8.00378 8 15.1672 8 24.0038C8 32.8403 15.1634 40.0038 24 40.0038Z",fill:"#23292F"}),o.jsx("path",{d:"M31.07 16.0038H33.96L27.945 21.9608C26.8934 22.9969 25.4763 23.5777 24 23.5777C22.5237 23.5777 21.1066 22.9969 20.055 21.9608L14.035 16.0038H16.93L21.5 20.5268C22.1655 21.1836 23.0629 21.5519 23.998 21.5519C24.9331 21.5519 25.8305 21.1836 26.496 20.5268L31.07 16.0038ZM16.895 32.5668H14L20.055 26.5738C21.1066 25.5377 22.5237 24.9569 24 24.9569C25.4763 24.9569 26.8934 25.5377 27.945 26.5738L34 32.5658H31.105L26.5 28.0038C25.8345 27.3469 24.9371 26.9786 24.002 26.9786C23.0669 26.9786 22.1695 27.3469 21.504 28.0038L16.894 32.5668H16.895Z",fill:"white"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_8722_5035",children:o.jsx("rect",{width:"32",height:"32",fill:"white",transform:"translate(8 8.00378)"})})})]})}function ll(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#282A2C"}),o.jsx("path",{d:"M18.0013 8.18309C21.6335 8.18309 24.8049 10.156 26.5033 13.1091L24.8037 14.0723C23.4454 11.7457 20.908 10.1466 18.0013 10.1466C13.6632 10.1467 10.1466 13.6633 10.1466 18.0013C10.1466 22.3392 13.6632 25.8559 18.0013 25.8559C20.9046 25.8559 23.4407 24.2602 24.8001 21.9375L26.5007 22.8991C24.8014 25.8487 21.6319 27.818 18.0013 27.818C12.5788 27.818 8.18298 23.4224 8.18298 18.0013C8.18394 12.5797 12.5788 8.18398 18.0013 8.18309ZM18.0013 16.0376C18.7274 16.0376 19.3599 16.4331 19.7199 17.0195H27.8196V18.9631H19.7199C19.3606 19.5489 18.7278 19.9445 18.0013 19.9445C16.9189 19.9445 16.0376 19.0631 16.0376 18.0013C16.0376 16.9389 16.9189 16.0376 18.0013 16.0376Z",fill:"white"})]})}function Ml(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"#836EF9"}),o.jsx("g",{clipPath:"url(#clip0_842_10567)",children:o.jsx("path",{d:"M17.9999 4C13.9571 4 4 13.9568 4 17.9999C4 22.043 13.9571 32 17.9999 32C22.0428 32 32 22.0428 32 17.9999C32 13.957 22.0429 4 17.9999 4ZM15.8183 26.0056C14.1134 25.541 9.52983 17.5231 9.99448 15.8183C10.4591 14.1133 18.4769 9.52982 20.1816 9.99445C21.8866 10.459 26.4702 18.4768 26.0056 20.1817C25.5409 21.8866 17.5231 26.4702 15.8183 26.0056Z",fill:"white"})}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_842_10567",children:o.jsx("rect",{width:"28",height:"28",fill:"white",transform:"translate(4 4)"})})})]})}function dl(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 150 150",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#a)",children:[o.jsx("path",{fill:"#fff",d:"M0 0h150v150H0z"}),o.jsx("path",{fill:"#FFFEFE",d:"M0 0h150v150H0z"}),o.jsx("path",{fill:"#EF61B4",d:"M95.258 85.215c1.01-3.619-1.405-7.295-5.392-8.21-3.987-.916-8.037 1.275-9.046 4.894-1.008 3.619 1.406 7.294 5.393 8.21 3.987.916 8.037-1.275 9.045-4.894Z"}),o.jsx("path",{fill:"#EF61B4",d:"M125.975 106.567c-.882.485-1.764.647-2.645.647-1.853 0-3.705-.889-4.675-2.504L89.023 57.62 59.39 104.71c-1.5 2.342-4.762 3.15-7.32 1.777-2.558-1.373-3.44-4.362-1.94-6.704l18.52-29.401-8.025-12.762-29.633 47.09c-.97 1.615-2.822 2.504-4.674 2.504a6.06 6.06 0 0 1-2.646-.647c-2.558-1.373-3.44-4.361-1.94-6.704l34.307-54.44c.97-1.535 2.734-2.423 4.674-2.423 1.94 0 3.704.97 4.674 2.423L75 60.608l9.613-15.185c.97-1.535 2.734-2.423 4.674-2.423 1.94 0 3.704.97 4.674 2.423l34.307 54.44c1.5 2.343.618 5.331-1.94 6.704h-.353Z"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"a",children:o.jsx("path",{fill:"#fff",d:"M0 0h150v150H0z"})})})]})}function gl(){return o.jsxs("svg",{width:"60",height:"60",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M0 30C0 13.4315 13.4315 0 30 0C46.5685 0 60 13.4315 60 30C60 46.5685 46.5685 60 30 60C13.4315 60 0 46.5685 0 30Z",fill:"white"}),o.jsx("path",{d:"M35.0776 44.4273C36.6746 44.4273 37.9644 43.1385 37.9644 41.5487C37.9644 39.9589 36.6746 38.67 35.0776 38.67C33.4929 38.67 32.2031 39.9589 32.2031 41.5487C32.2031 43.1385 33.4929 44.4273 35.0776 44.4273Z",fill:"#19191A"}),o.jsx("path",{d:"M24.7339 44.5129C26.3308 44.5129 27.6085 43.2241 27.6085 41.6342C27.6085 40.0444 26.3308 38.7556 24.7339 38.7556C23.1492 38.7556 21.8594 40.0444 21.8594 41.6342C21.8594 43.2241 23.1492 44.5129 24.7339 44.5129Z",fill:"#19191A"}),o.jsx("path",{d:"M18.4285 14.4391H25.2866C26.577 17.9303 29.9446 27.8219 30.1904 28.3731C30.2518 28.0975 33.6438 17.3178 34.6025 14.5003H41.7309V39.0916C40.846 38.6016 39.961 38.1117 39.0024 37.5603C38.3387 37.2236 37.7242 36.856 37.0483 36.5804C36.9868 31.803 36.9254 27.0563 36.7779 22.0952C35.8193 24.9432 32.5131 34.988 32.2427 35.2636H27.8306C27.8306 35.2636 23.5412 23.0751 23.3323 22.5239C23.2709 27.2094 23.2094 31.8949 23.0497 36.7336C20.4196 38.081 18.8588 38.8466 18.3672 39.0303V14.4391H18.4285Z",fill:"#19191A"}),o.jsx("path",{d:"M30.0061 8.13427C42.0383 8.13427 51.8705 17.934 51.8705 30C51.8705 42.066 42.0751 51.8657 30.0061 51.8657C17.9371 51.8657 8.1418 42.066 8.1418 30C8.1418 17.934 17.9371 8.13427 30.0061 8.13427ZM30.0061 4C15.6389 4 4 15.6373 4 30C4 44.3627 15.6389 56 30.0061 56C44.3611 56 56 44.3627 56 30C56 15.6373 44.3611 4 30.0061 4Z",fill:"#19191A"})]})}const Fo={Moonbeam:vu(),Avalanche:Uu(),Bsc:Fu(),Celo:Yu(),Ethereum:Ru(),Fantom:_u(),Polygon:Wu(),Solana:Qu(),Sui:Bu(),Aptos:Pu(),Arbitrum:Hu(),Optimism:Gu(),Base:Zu(),Klaytn:Vu(),Scroll:Ju(),Xlayer:Xu(),Mantle:qu(),Worldchain:$u(),Unichain:Ku(),Berachain:el(),Ink:al(),Mezo:tl(),Linea:nl(),Sonic:W0(),Seievm:rl(),Plume:ol(),Fogo:sl(),HyperEVM:cl(),HyperCore:il(),XRPLEVM:ul(),CreditCoin:ll(),Monad:Ml(),Moca:dl(),MegaETH:gl()};function fl(e){return Object.keys(Fo).includes(e)}function hl(e){const t=B.useTheme(),{size:n}=e,i=I.useMemo(()=>{const r={width:n,height:n,borderRadius:"2px"};return t.palette.text&&t.palette.input?{emptyIcon:{...r,background:`color-mix(in hsl, ${t.palette.text.secondary}, ${t.palette.input.background} 80%)`}}:{emptyIcon:r}},[n,t]);return o.jsx(B.Box,{sx:i.emptyIcon})}function pn(e){const t=e.height||36,n=I.useMemo(()=>({container:{height:t,width:t,...vr},iconImage:{width:t,height:t}}),[t]);return fl(e.icon)&&Fo[e.icon]?o.jsx(B.Box,{sx:n.container,children:Fo[e.icon]}):typeof e.icon=="string"?o.jsx(B.Box,{sx:n.container,children:o.jsx("img",{style:n.iconImage,src:e.icon,alt:"chain icon"})}):o.jsx(B.Box,{sx:n.container,children:o.jsx(hl,{size:t})})}function Zs(e,t,n,i){var r=this,s=I.useRef(null),a=I.useRef(0),c=I.useRef(0),u=I.useRef(null),l=I.useRef([]),M=I.useRef(),g=I.useRef(),N=I.useRef(e),y=I.useRef(!0);N.current=e;var T=typeof window<"u",d=!t&&t!==0&&T;if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var f=!!(n=n||{}).leading,C=!("trailing"in n)||!!n.trailing,m="maxWait"in n,h="debounceOnServer"in n&&!!n.debounceOnServer,D=m?Math.max(+n.maxWait||0,t):null;I.useEffect(function(){return y.current=!0,function(){y.current=!1}},[]);var j=I.useMemo(function(){var L=function(v){var Q=l.current,P=M.current;return l.current=M.current=null,a.current=v,c.current=c.current||v,g.current=N.current.apply(P,Q)},p=function(v,Q){d&&cancelAnimationFrame(u.current),u.current=d?requestAnimationFrame(v):setTimeout(v,Q)},S=function(v){if(!y.current)return!1;var Q=v-s.current;return!s.current||Q>=t||Q<0||m&&v-a.current>=D},w=function(v){return u.current=null,C&&l.current?L(v):(l.current=M.current=null,g.current)},z=function v(){var Q=Date.now();if(f&&c.current===a.current&&U(),S(Q))return w(Q);if(y.current){var P=t-(Q-s.current),Z=m?Math.min(P,D-(Q-a.current)):P;p(v,Z)}},U=function(){i&&i({})},k=function(){if(T||h){var v=Date.now(),Q=S(v);if(l.current=[].slice.call(arguments),M.current=r,s.current=v,Q){if(!u.current&&y.current)return a.current=s.current,p(z,t),f?L(s.current):g.current;if(m)return p(z,t),L(s.current)}return u.current||p(z,t),g.current}};return k.cancel=function(){var v=u.current;v&&(d?cancelAnimationFrame(u.current):clearTimeout(u.current)),a.current=0,l.current=s.current=M.current=u.current=null,v&&i&&i({})},k.isPending=function(){return!!u.current},k.flush=function(){return u.current?w(Date.now()):g.current},k},[f,m,t,D,C,d,T,h,i]);return j}function jl(e,t){return e===t}function Nl(e,t,n){var i=jl,r=I.useRef(e),s=I.useState({})[1],a=Zs(I.useCallback(function(u){r.current=u,s({})},[s]),t,n,s),c=I.useRef(e);return i(c.current,e)||(a(e),c.current=e),[r.current,a]}const F0=I.createContext(void 0),yl=({children:e})=>{const[t,n]=I.useState(!1),[i,r]=I.useState(x.config.tokens.lastUpdate),[s,a]=I.useState({prices:new x.TokenMapping,isFetching:!1,lastUpdate:new Date}),c=I.useRef(new Set),u=I.useRef(new Set),l=I.useCallback(async d=>{if(!b.isNative(d.address)&&b.chainToPlatform(d.chain)==="Evm"){const C=d.address.toString(),m=b.getAddress(C);C!==m&&(console.warn(`Correcting improperly checksummed EVM address: ${C} -> ${m}`),d.address=b.toNative(d.chain,m))}const f=x.config.tokens.get(d);if(f)return f;try{n(!0);const C=await x.config.tokens.addFromTokenId(d);return r(x.config.tokens.lastUpdate),console.info("Added new token to cache",C,i,x.config.tokens.lastUpdate),x.config.tokens.persist(),x.clearWormholeContextV2(),C}catch(C){console.error("Error getting token",C);return}finally{n(!1)}},[i]),M=I.useCallback(d=>{const f=b.usdcContract.get(x.config.network,d.chain);if(f&&d.addressString===f)return{price:1,needsFetch:!1};const C=d.tokenBridgeOriginalTokenId??d,m=s.prices.get(C);return m?{price:m.price,needsFetch:!1}:{price:void 0,needsFetch:!0}},[s.prices]),g=I.useCallback((d,f,C,m)=>{for(const h of d)if(!f.get(h)?.price&&x.isNttToken(h)){const j=x.getNttTokenGroup(h);for(const L of j){let p=C?.get(L);if(p||(p=f.get(L)?.price),p!==void 0){f.add(h,{timestamp:m,price:p});break}}}},[]),N=Zs(async()=>{if(c.current.size===0)return;const d=[];for(const f of c.current){const C=x.config.tokens.get(f);C&&(d.push(C),u.current.add(f))}if(c.current.clear(),d.length!==0)try{console.info("Fetching prices for",d.length,"tokens");const f=new Date;a(m=>({...m,isFetching:!0}));const C=await x.fetchTokenPrices(d);a(m=>{const h=m.prices.clone();for(const D of d){const j=D.tokenBridgeOriginalTokenId??D,L=C.get(j);h.add(j,{timestamp:f,price:L??void 0}),u.current.delete(x.tokenKey(j))}return g(d,h,C,f),{prices:h,isFetching:!1,lastUpdate:new Date}})}catch(f){console.error("Error fetching token prices:",f);const C=new Date;a(m=>{const h=m.prices.clone();for(const D of d){const j=D.tokenBridgeOriginalTokenId??D;h.add(j,{timestamp:C,price:void 0}),u.current.delete(x.tokenKey(j))}return g(d,h,void 0,C),{prices:h,isFetching:!1,lastUpdate:new Date}})}},250),y=I.useCallback(d=>{const f=new Map;for(const C of d){const{price:m,needsFetch:h}=M(C);if(f.set(C.key,m),h){const D=C.tokenBridgeOriginalTokenId??C,j=x.tokenKey(D);!u.current.has(j)&&!c.current.has(j)&&c.current.add(j)}}return c.current.size>0&&N(),f},[M,N]),T=I.useCallback(d=>{let C=y([d]).get(d.key);if(C===void 0&&x.isNttToken(d)){const m=x.getNttTokenGroup(d);if(m.length>0){const h=y(m);for(const D of m){const j=h.get(D.key);if(j!==void 0){C=j;break}}}}return C},[y]);return o.jsx(F0.Provider,{value:{lastTokenCacheUpdate:i,getOrFetchToken:l,isFetchingToken:t,getTokenPrice:T,getTokenPrices:y,isFetchingTokenPrices:s.isFetching,lastTokenPriceUpdate:s.lastUpdate},children:e})},ft=()=>{const e=I.useContext(F0);if(e===void 0)throw new Error("useToken must be used within a TokensProvider");return e},_i="";function Il(){const e=tt(),[t,n]=I.useState({chain:_i,tx:_i,autoSearch:!1}),[i,r]=I.useState(""),[s,a]=I.useState(!1),c=Ae(d=>d.search),u=I.useContext(En),{getOrFetchToken:l}=ft();function M(d){n(f=>({...f,chain:d.target.value}))}function g(d){n(f=>({...f,tx:d.target.value}))}async function N(){if(!t.tx||!t.chain)return r("Enter the source chain and transaction ID");if(!x.isValidTxId(t.chain,t.tx))return r("Invalid transaction ID");a(!0);const d=await x.config.routes.resumeFromTx({chain:t.chain,txid:t.tx});if(d===null){r("Transfer not found, check that you have the correct chain and transaction ID"),a(!1);return}const{route:f}=d;let{receipt:C}=d;const m=await x.getWormholeContextV2(),h=new(x.config.routes.get(f)).rc(m);if(r(""),C.state<b.TransferState.Attested){for await(C of h.track(C))if(C.state>=b.TransferState.Attested)break}const D=await Du(f,C,l);D?(e(Rs(D)),e(S0(!0)),e(_s(f)),e(Bt("redeem")),e(Qs(C.to)),u.setRoute(h),u.setReceipt(C)):console.error("Failed to parse receipt",C),a(!1)}I.useEffect(()=>{c.chain&&c.txHash&&(n({chain:c.chain,tx:c.txHash,autoSearch:!0}),e(P0()))},[e,c]);const y=I.useCallback(()=>N(),[t]);I.useEffect(()=>{const{chain:d,tx:f,autoSearch:C}=t;C&&d!==_i&&f!==_i&&!s&&(n(m=>({...m,autoSearch:!1})),y())},[y,t,s]);const T=I.useMemo(()=>[...x.config.chainsArr].sort((d,f)=>d.displayName<f.displayName?-1:d.displayName>f.displayName?1:0),[x.config.chainsArr]);return o.jsxs(B.Box,{sx:d=>({maxWidth:"650px"}),children:[o.jsxs(Ur,{children:[o.jsxs(B.Box,{display:"flex",alignItems:"center",children:[o.jsx(Bs,{route:"history"}),o.jsx(Xn,{align:"left",text:"Resume transaction",size:24,weight:600})]}),o.jsx(B.Typography,{variant:"subtitle2",children:"Bridging can require a manual redemption process on the designation chain. If you did not complete the redemption during your initial transaction, you may do so here."}),o.jsxs(B.Box,{sx:d=>({display:"flex",flexDirection:"column",gap:"16px"}),children:[o.jsxs(B.Select,{fullWidth:!0,value:t.chain,displayEmpty:!0,onChange:d=>M(d),children:[o.jsx(B.MenuItem,{disabled:!0,value:"",children:o.jsx("em",{children:"Select Network"})},0),T.map(d=>o.jsx(B.MenuItem,{value:d.sdkName,children:o.jsxs(B.Box,{sx:{display:"flex",alignItems:"center",gap:"8px"},children:[o.jsx(pn,{icon:d.sdkName,height:24}),d.displayName]})},d.sdkName))]}),o.jsx(ju,{placeholder:"Source chain transaction hash",onChange:g,onSearch:N,value:t.tx})]}),o.jsx(Tu,{show:!!i,content:i,error:!0,margin:"0 0 0 0"}),o.jsx(zt,{disabled:!t.chain||!t.tx,variant:"primary",onClick:N,children:o.jsxs(B.Typography,{display:"flex",alignItems:"center",gap:1,textTransform:"none",children:[s?o.jsx(B.CircularProgress,{color:"inherit",size:16,thickness:4}):null,"Search"]})})]}),x.config.ui.showFooter&&o.jsx(Ps,{})]})}function Ll(){const e=tt(),{txHash:t,chain:n}=Ae(i=>i.search);return I.useEffect(()=>{if(x.config.ui.searchTx?.chainName&&x.config.ui.searchTx?.txHash){const i=x.config.ui.searchTx.chainName.toLowerCase(),r=x.config.chainsArr.find(s=>s.sdkName.toLowerCase()===i);r&&e(Q0({txHash:x.config.ui.searchTx.txHash,chain:r.sdkName}))}},[e]),{hasExternalSearch:!!(t&&n),txHash:t,chain:n,clear:()=>{e(P0()),x.config.ui.searchTx&&(x.config.ui.searchTx.chainName=void 0,x.config.ui.searchTx.txHash=void 0)}}}const H0=I.createContext(void 0),ln=()=>{const e=I.useContext(H0);if(e===void 0)throw new Error("useWalletProvider must be used within a WalletProvider");return e};function Vn({children:e,warning:t=!1,error:n=!1,testId:i,color:r,sx:s,className:a}){const c=B.useTheme(),u=r||t&&c.palette.warning.main||n&&c.palette.error.main||void 0;return o.jsxs(B.Box,{className:a,sx:{width:"100%",display:"flex",flexDirection:"row",alignItems:"flex-start",justifyContent:"flex-start",gap:"8px",...s},"data-testid":i,role:"alert","aria-live":"polite",children:[o.jsx(rc,{fontSize:"small",htmlColor:u,"aria-hidden":"true"}),o.jsx(B.Typography,{color:u,fontSize:"14px",fontWeight:700,component:"div",children:e})]})}const xl=async(e,t,n,i)=>{if(!t)return[];if(!e||!n)return x.config.tokens.getAllForChain(t);const r=await x.config.routes.allSupportedDestTokens(n,e,t);return(await Promise.all(r.map(i))).filter(c=>!!c)},Tl=e=>{const{sourceChain:t,destChain:n,sourceToken:i}=e,r=tt(),{getOrFetchToken:s,lastTokenCacheUpdate:a}=ft(),[c,u]=I.useState([]),[l,M]=I.useState(!1),g=I.useCallback(async()=>{u([]),M(!0);try{const N=await xl(t,n,i,s);u(N),n&&N.length===1&&r(v0(N[0].tuple))}finally{M(!1)}},[i,t,n,r,s]);return I.useEffect(()=>{g()},[g,a]),{supportedDestTokens:c,isFetching:l}};function Cl(e,t){const n=[],i=[];for(let r=0;r<e.length;r++){const s=e[r];t(s)?n.push(s):i.push(s)}return[n,i]}function ml(e,t){const n=new Map;for(let i=0;i<e.length;i++){const r=e[i],s=t(r);n.has(s)||n.set(s,r)}return Array.from(n.values())}function pl(e,t,n){return ml(e.concat(t),n)}const Dl={SHUTTLE:1e4},wl=(e,t)=>{const[n,i]=I.useState(new Date().valueOf()),r=I.useRef(void 0),[s,a]=I.useState(!1),[c,u]=I.useState({}),[l,M]=I.useState(!0);I.useEffect(()=>{const d=()=>{M(!document.hidden)};return document.addEventListener("visibilitychange",d),()=>{document.removeEventListener("visibilitychange",d)}},[]);const{getTokenPrice:g}=ft(),{isTransactionInProgress:N}=Ae(d=>d.transferInput);I.useEffect(()=>{if(e.length===0)return;let d=0;if(Object.keys(c).length>0){const f=t;if(!f.amount||!f.sourceToken||!f.destToken||!f.sourceChain||!f.destChain)return;const C=x.config.routes.quoteMetadataCache.nextExpiry(e,f);if(!C)return;d=C.valueOf()-Date.now()-5e3}if(d)return r&&clearTimeout(r.current),console.debug(`Waiting ${d/1e3}s until next quote fetch`,e,t),r.current=setTimeout(()=>i(Date.now()),d),()=>{r&&clearTimeout(r.current)}},[c,e,t]),I.useEffect(()=>{let d=!1;const f=()=>{d=!0};if(e.length===0||!t.sourceChain||!t.sourceToken||!t.destChain||!t.destToken||!t.amount)return u({}),a(!1),f;if(N||!l)return f;const C=t,m=Object.values(c).filter(h=>h.success);if(m.length>0){const{sourceToken:h,destinationToken:D}=m[0];(!b.isSameToken(h.token,C.sourceToken)||!b.isSameToken(D.token,C.destToken))&&u({})}return a(!0),x.config.routes.getQuotes(e,C).then(h=>{d||u(h)}).finally(()=>{d||a(!1)}),f},[e,n,t.amount,t.nativeGas,t.sender,t.recipient,l]);const{quotes:y,failedQuotes:T}=I.useMemo(()=>{const d=x.calculateUSDPriceRaw(g,t.amount,t.sourceToken),[f,C]=Cl(Object.entries(c),([h,D])=>D.success).map(Object.fromEntries);let m={...f};for(const h in m){if(x.isNttRoute(h)||h==="BaseBridgeRoute")continue;const D=m[h];if(D!==void 0&&D.success){const j=x.calculateUSDPriceRaw(g,D.destinationToken.amount,t.destToken);if(d!==void 0&&j!==void 0){const L=j/d;d>=1e3&&L<=.9&&(console.debug(`Filtering out ${h} quote with valueRatio=${L} USD delta=${d-j}`),delete m[h])}else if(t.amount&&t.sourceToken&&t.destToken&&t.sourceToken.symbol===t.destToken.symbol){const L=parseFloat(b.display(D.destinationToken.amount))/parseFloat(b.display(t.amount));L<=.9&&(console.debug(`Filtering out ${h} quote with valueRatio=${L} (for same-symbol tokens)`),delete m[h])}}}for(const h in m)if(h.startsWith("MayanSwap")){const D=m[h];if(D!==void 0&&D.success){const j=Dl[D.details?.type.toUpperCase()];if(j&&d!==void 0&&d>j)delete m[h],console.warn(`Filtering out ${h} quote which exceeds $${j} USD`);else{const L=x.calculateUSDPriceRaw(g,t.amount,t.sourceToken),p=x.calculateUSDPriceRaw(g,D.destinationToken.amount,t.destToken);if(L&&p){const S=L-p;!isNaN(S)&&S>0&&(m[h].relayFee={token:{chain:"Solana",address:b.Wormhole.parseAddress("Solana",b.usdcContract.get("Mainnet","Solana"))},amount:b.parse(b.denoise(S,6),6)})}}}}if(x.config.ui.onlyOfferManualRoutesAsFallback){let h=!1;const D={},j=t.sourceToken?.symbol==="tBTC"||t.destToken?.symbol==="tBTC";for(const L in m){const p=m[L];x.config.routes.get(L).AUTOMATIC_DEPOSIT&&(h=!0,D[L]=p)}h&&(j&&m.ManualTBTC&&(D.ManualTBTC=m.ManualTBTC),m=D)}if(typeof x.config.filterRoutes=="function"){const h=Object.entries(m).filter(([D,j])=>j.success).map(([D,j])=>D);try{const D=x.config.filterRoutes([...h]);if(Array.isArray(D)&&D.every(j=>typeof j=="string"&&h.includes(j)))for(const j in m)D.includes(j)||delete m[j];else console.warn("config.filterRoutes returned one or more invalid route names",D,"Falling back to all supported routes",h)}catch(D){console.warn("Error when filtering routes",D,"Falling back to all supported routes",h)}}return{quotes:m,failedQuotes:C}},[c]);return{quotes:y,failedQuotes:T,isFetchingQuotes:s}};function Dn(e){return{symbol:e.symbol,tokenId:{chain:e.chain,address:e.address.toString()}}}function Ws(e,t,n,i,r,s,a){return{route:e,fromToken:Dn(t),toToken:Dn(n),fromChain:i,toChain:r,amount:s,USDAmount:a({token:t,amount:s})}}const Al=({fromChain:e,toChain:t,sourceToken:n,destToken:i,toNativeToken:r,receivingWallet:s})=>{const[a,c]=I.useState([]),[u,l]=I.useState(!1);return I.useEffect(()=>{if(!e||!t||!n||!i){c([]),l(!1);return}let M=!0;return(async()=>{l(!0);let N=[];await x.config.routes.forEach(async(y,T)=>{if(!T.AUTOMATIC_DEPOSIT&&s?.name===Sn.NAME)return;let d=!1;try{d=await T.isRouteSupported(n,i,e,t),d&&x.config.isRouteSupportedHandler&&(d=await x.config.isRouteSupportedHandler({route:y,fromChain:e,toChain:t,fromToken:Dn(n),toToken:Dn(i)}))}catch(f){x.maybeLogSdkError(f,`Error when checking route (${y}) is supported`)}d&&N.push(y)}),N.includes("ManualTBTC")&&(N=N.filter(y=>!["ManualTokenBridge","AutomaticTokenBridge","TokenBridgeExecutorRoute"].includes(y))),M&&(l(!1),c(N))})(),()=>{M=!1}},[n,i,e,t,r,s]),{supportedRoutes:a,isFetching:u}},Sl=({amount:e,fromChain:t,toChain:n,preferredRouteName:i,toNativeToken:r,sourceToken:s,destToken:a,sendingWallet:c,receivingWallet:u})=>{const{supportedRoutes:l,isFetching:M}=Al({fromChain:t,toChain:n,sourceToken:s,destToken:a,toNativeToken:r,receivingWallet:u}),g=I.useMemo(()=>({amount:e,sourceChain:t,sourceToken:s,destChain:n,destToken:a,nativeGas:r,sender:c?.address,recipient:u?.address}),[e,t,s,a,n,r,c?.address,u?.address]),{quotes:N,failedQuotes:y,isFetchingQuotes:T}=wl(l,g),d=I.useMemo(()=>l.map(m=>{const h=N[m];if(h?.success)return{route:m,quote:h}}).filter(Boolean),[l,N]),f=I.useMemo(()=>{const m=x.config.ui.routeSortPriority||"fastest";return d.sort((h,D)=>{const j=x.config.routes.get(h.route),L=x.config.routes.get(D.route);if(i){if(h.route===i)return-1;if(D.route===i)return 1}if(m==="cheapest"){const p=BigInt(h.quote.destinationToken.amount.amount),S=BigInt(D.quote.destinationToken.amount.amount),w=Number(S-p);if(w!==0)return w;if(j.AUTOMATIC_DEPOSIT&&!L.AUTOMATIC_DEPOSIT)return-1;if(!j.AUTOMATIC_DEPOSIT&&L.AUTOMATIC_DEPOSIT)return 1;const z=h.quote.eta??1/0,U=D.quote.eta??1/0;return z-U}else{const p=h.quote.eta??1/0,S=D.quote.eta??1/0;if(p!==S)return p-S;if(j.AUTOMATIC_DEPOSIT&&!L.AUTOMATIC_DEPOSIT)return-1;if(!j.AUTOMATIC_DEPOSIT&&L.AUTOMATIC_DEPOSIT)return 1;const w=BigInt(h.quote.destinationToken.amount.amount),z=BigInt(D.quote.destinationToken.amount.amount);return Number(z-w)}})},[i,d]),C=I.useMemo(()=>f.map(m=>m.route),[f]);return I.useMemo(()=>({allSupportedRoutes:l,sortedRoutes:C,sortedRoutesWithQuotes:f,quotes:N,failedQuotes:y,isFetching:M||T}),[l,C,f,N,y,M,T])};/*!
|
|
20
20
|
* decimal.js v10.6.0
|
|
21
21
|
* An arbitrary-precision Decimal type for JavaScript.
|
|
22
22
|
* https://github.com/MikeMcl/decimal.js
|
|
23
23
|
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
24
24
|
* MIT Licence
|
|
25
|
-
*/var Wn=9e15,Mn=1e9,Ho="0123456789abcdef",pr="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Dr="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Go={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Wn,maxE:Wn,crypto:!1},V0,Ht,xe=!0,Yr="[DecimalError] ",un=Yr+"Invalid argument: ",J0=Yr+"Precision limit exceeded",q0=Yr+"crypto unavailable",X0="[object Decimal]",gt=Math.floor,Ke=Math.pow,bl=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,Ol=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,kl=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,$0=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,kt=1e7,Le=7,vl=9007199254740991,Ul=pr.length-1,Vo=Dr.length-1,re={toStringTag:X0};re.absoluteValue=re.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),je(e)};re.ceil=function(){return je(new this.constructor(this),this.e+1,2)};re.clampedTo=re.clamp=function(e,t){var n,i=this,r=i.constructor;if(e=new r(e),t=new r(t),!e.s||!t.s)return new r(NaN);if(e.gt(t))throw Error(un+t);return n=i.cmp(e),n<0?e:i.cmp(t)>0?t:new r(i)};re.comparedTo=re.cmp=function(e){var t,n,i,r,s=this,a=s.d,c=(e=new s.constructor(e)).d,u=s.s,l=e.s;if(!a||!c)return!u||!l?NaN:u!==l?u:a===c?0:!a^u<0?1:-1;if(!a[0]||!c[0])return a[0]?u:c[0]?-l:0;if(u!==l)return u;if(s.e!==e.e)return s.e>e.e^u<0?1:-1;for(i=a.length,r=c.length,t=0,n=i<r?i:r;t<n;++t)if(a[t]!==c[t])return a[t]>c[t]^u<0?1:-1;return i===r?0:i>r^u<0?1:-1};re.cosine=re.cos=function(){var e,t,n=this,i=n.constructor;return n.d?n.d[0]?(e=i.precision,t=i.rounding,i.precision=e+Math.max(n.e,n.sd())+Le,i.rounding=1,n=Yl(i,i2(i,n)),i.precision=e,i.rounding=t,je(Ht==2||Ht==3?n.neg():n,e,t,!0)):new i(1):new i(NaN)};re.cubeRoot=re.cbrt=function(){var e,t,n,i,r,s,a,c,u,l,M=this,g=M.constructor;if(!M.isFinite()||M.isZero())return new g(M);for(xe=!1,s=M.s*Ke(M.s*M,1/3),!s||Math.abs(s)==1/0?(n=st(M.d),e=M.e,(s=(e-n.length+1)%3)&&(n+=s==1||s==-2?"0":"00"),s=Ke(n,1/3),e=gt((e+1)/3)-(e%3==(e<0?-1:2)),s==1/0?n="5e"+e:(n=s.toExponential(),n=n.slice(0,n.indexOf("e")+1)+e),i=new g(n),i.s=M.s):i=new g(s.toString()),a=(e=g.precision)+3;;)if(c=i,u=c.times(c).times(c),l=u.plus(M),i=Ue(l.plus(M).times(c),l.plus(u),a+2,1),st(c.d).slice(0,a)===(n=st(i.d)).slice(0,a))if(n=n.slice(a-3,a+1),n=="9999"||!r&&n=="4999"){if(!r&&(je(c,e+1,0),c.times(c).times(c).eq(M))){i=c;break}a+=4,r=1}else{(!+n||!+n.slice(1)&&n.charAt(0)=="5")&&(je(i,e+1,1),t=!i.times(i).times(i).eq(M));break}return xe=!0,je(i,e,g.rounding,t)};re.decimalPlaces=re.dp=function(){var e,t=this.d,n=NaN;if(t){if(e=t.length-1,n=(e-gt(this.e/Le))*Le,e=t[e],e)for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n};re.dividedBy=re.div=function(e){return Ue(this,new this.constructor(e))};re.dividedToIntegerBy=re.divToInt=function(e){var t=this,n=t.constructor;return je(Ue(t,new n(e),0,1,1),n.precision,n.rounding)};re.equals=re.eq=function(e){return this.cmp(e)===0};re.floor=function(){return je(new this.constructor(this),this.e+1,3)};re.greaterThan=re.gt=function(e){return this.cmp(e)>0};re.greaterThanOrEqualTo=re.gte=function(e){var t=this.cmp(e);return t==1||t===0};re.hyperbolicCosine=re.cosh=function(){var e,t,n,i,r,s=this,a=s.constructor,c=new a(1);if(!s.isFinite())return new a(s.s?1/0:NaN);if(s.isZero())return c;n=a.precision,i=a.rounding,a.precision=n+Math.max(s.e,s.sd())+4,a.rounding=1,r=s.d.length,r<32?(e=Math.ceil(r/3),t=(1/_r(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),s=Jn(a,1,s.times(t),new a(1),!0);for(var u,l=e,M=new a(8);l--;)u=s.times(s),s=c.minus(u.times(M.minus(u.times(M))));return je(s,a.precision=n,a.rounding=i,!0)};re.hyperbolicSine=re.sinh=function(){var e,t,n,i,r=this,s=r.constructor;if(!r.isFinite()||r.isZero())return new s(r);if(t=s.precision,n=s.rounding,s.precision=t+Math.max(r.e,r.sd())+4,s.rounding=1,i=r.d.length,i<3)r=Jn(s,2,r,r,!0);else{e=1.4*Math.sqrt(i),e=e>16?16:e|0,r=r.times(1/_r(5,e)),r=Jn(s,2,r,r,!0);for(var a,c=new s(5),u=new s(16),l=new s(20);e--;)a=r.times(r),r=r.times(c.plus(a.times(u.times(a).plus(l))))}return s.precision=t,s.rounding=n,je(r,t,n,!0)};re.hyperbolicTangent=re.tanh=function(){var e,t,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(e=i.precision,t=i.rounding,i.precision=e+7,i.rounding=1,Ue(n.sinh(),n.cosh(),i.precision=e,i.rounding=t)):new i(n.s)};re.inverseCosine=re.acos=function(){var e=this,t=e.constructor,n=e.abs().cmp(1),i=t.precision,r=t.rounding;return n!==-1?n===0?e.isNeg()?Qt(t,i,r):new t(0):new t(NaN):e.isZero()?Qt(t,i+4,r).times(.5):(t.precision=i+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=i,t.rounding=r,e.times(2))};re.inverseHyperbolicCosine=re.acosh=function(){var e,t,n=this,i=n.constructor;return n.lte(1)?new i(n.eq(1)?0:NaN):n.isFinite()?(e=i.precision,t=i.rounding,i.precision=e+Math.max(Math.abs(n.e),n.sd())+4,i.rounding=1,xe=!1,n=n.times(n).minus(1).sqrt().plus(n),xe=!0,i.precision=e,i.rounding=t,n.ln()):new i(n)};re.inverseHyperbolicSine=re.asinh=function(){var e,t,n=this,i=n.constructor;return!n.isFinite()||n.isZero()?new i(n):(e=i.precision,t=i.rounding,i.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,i.rounding=1,xe=!1,n=n.times(n).plus(1).sqrt().plus(n),xe=!0,i.precision=e,i.rounding=t,n.ln())};re.inverseHyperbolicTangent=re.atanh=function(){var e,t,n,i,r=this,s=r.constructor;return r.isFinite()?r.e>=0?new s(r.abs().eq(1)?r.s/0:r.isZero()?r:NaN):(e=s.precision,t=s.rounding,i=r.sd(),Math.max(i,e)<2*-r.e-1?je(new s(r),e,t,!0):(s.precision=n=i-r.e,r=Ue(r.plus(1),new s(1).minus(r),n+e,1),s.precision=e+4,s.rounding=1,r=r.ln(),s.precision=e,s.rounding=t,r.times(.5))):new s(NaN)};re.inverseSine=re.asin=function(){var e,t,n,i,r=this,s=r.constructor;return r.isZero()?new s(r):(t=r.abs().cmp(1),n=s.precision,i=s.rounding,t!==-1?t===0?(e=Qt(s,n+4,i).times(.5),e.s=r.s,e):new s(NaN):(s.precision=n+6,s.rounding=1,r=r.div(new s(1).minus(r.times(r)).sqrt().plus(1)).atan(),s.precision=n,s.rounding=i,r.times(2)))};re.inverseTangent=re.atan=function(){var e,t,n,i,r,s,a,c,u,l=this,M=l.constructor,g=M.precision,N=M.rounding;if(l.isFinite()){if(l.isZero())return new M(l);if(l.abs().eq(1)&&g+4<=Vo)return a=Qt(M,g+4,N).times(.25),a.s=l.s,a}else{if(!l.s)return new M(NaN);if(g+4<=Vo)return a=Qt(M,g+4,N).times(.5),a.s=l.s,a}for(M.precision=c=g+10,M.rounding=1,n=Math.min(28,c/Le+2|0),e=n;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(xe=!1,t=Math.ceil(c/Le),i=1,u=l.times(l),a=new M(l),r=l;e!==-1;)if(r=r.times(u),s=a.minus(r.div(i+=2)),r=r.times(u),a=s.plus(r.div(i+=2)),a.d[t]!==void 0)for(e=t;a.d[e]===s.d[e]&&e--;);return n&&(a=a.times(2<<n-1)),xe=!0,je(a,M.precision=g,M.rounding=N,!0)};re.isFinite=function(){return!!this.d};re.isInteger=re.isInt=function(){return!!this.d&>(this.e/Le)>this.d.length-2};re.isNaN=function(){return!this.s};re.isNegative=re.isNeg=function(){return this.s<0};re.isPositive=re.isPos=function(){return this.s>0};re.isZero=function(){return!!this.d&&this.d[0]===0};re.lessThan=re.lt=function(e){return this.cmp(e)<0};re.lessThanOrEqualTo=re.lte=function(e){return this.cmp(e)<1};re.logarithm=re.log=function(e){var t,n,i,r,s,a,c,u,l=this,M=l.constructor,g=M.precision,N=M.rounding,y=5;if(e==null)e=new M(10),t=!0;else{if(e=new M(e),n=e.d,e.s<0||!n||!n[0]||e.eq(1))return new M(NaN);t=e.eq(10)}if(n=l.d,l.s<0||!n||!n[0]||l.eq(1))return new M(n&&!n[0]?-1/0:l.s!=1?NaN:n?0:1/0);if(t)if(n.length>1)s=!0;else{for(r=n[0];r%10===0;)r/=10;s=r!==1}if(xe=!1,c=g+y,a=rn(l,c),i=t?wr(M,c+10):rn(e,c),u=Ue(a,i,c,1),mi(u.d,r=g,N))do if(c+=10,a=rn(l,c),i=t?wr(M,c+10):rn(e,c),u=Ue(a,i,c,1),!s){+st(u.d).slice(r+1,r+15)+1==1e14&&(u=je(u,g+1,0));break}while(mi(u.d,r+=10,N));return xe=!0,je(u,g,N)};re.minus=re.sub=function(e){var t,n,i,r,s,a,c,u,l,M,g,N,y=this,T=y.constructor;if(e=new T(e),!y.d||!e.d)return!y.s||!e.s?e=new T(NaN):y.d?e.s=-e.s:e=new T(e.d||y.s!==e.s?y:NaN),e;if(y.s!=e.s)return e.s=-e.s,y.plus(e);if(l=y.d,N=e.d,c=T.precision,u=T.rounding,!l[0]||!N[0]){if(N[0])e.s=-e.s;else if(l[0])e=new T(y);else return new T(u===3?-0:0);return xe?je(e,c,u):e}if(n=gt(e.e/Le),M=gt(y.e/Le),l=l.slice(),s=M-n,s){for(g=s<0,g?(t=l,s=-s,a=N.length):(t=N,n=M,a=l.length),i=Math.max(Math.ceil(c/Le),a)+2,s>i&&(s=i,t.length=1),t.reverse(),i=s;i--;)t.push(0);t.reverse()}else{for(i=l.length,a=N.length,g=i<a,g&&(a=i),i=0;i<a;i++)if(l[i]!=N[i]){g=l[i]<N[i];break}s=0}for(g&&(t=l,l=N,N=t,e.s=-e.s),a=l.length,i=N.length-a;i>0;--i)l[a++]=0;for(i=N.length;i>s;){if(l[--i]<N[i]){for(r=i;r&&l[--r]===0;)l[r]=kt-1;--l[r],l[i]+=kt}l[i]-=N[i]}for(;l[--a]===0;)l.pop();for(;l[0]===0;l.shift())--n;return l[0]?(e.d=l,e.e=Rr(l,n),xe?je(e,c,u):e):new T(u===3?-0:0)};re.modulo=re.mod=function(e){var t,n=this,i=n.constructor;return e=new i(e),!n.d||!e.s||e.d&&!e.d[0]?new i(NaN):!e.d||n.d&&!n.d[0]?je(new i(n),i.precision,i.rounding):(xe=!1,i.modulo==9?(t=Ue(n,e.abs(),0,3,1),t.s*=e.s):t=Ue(n,e,0,i.modulo,1),t=t.times(e),xe=!0,n.minus(t))};re.naturalExponential=re.exp=function(){return Jo(this)};re.naturalLogarithm=re.ln=function(){return rn(this)};re.negated=re.neg=function(){var e=new this.constructor(this);return e.s=-e.s,je(e)};re.plus=re.add=function(e){var t,n,i,r,s,a,c,u,l,M,g=this,N=g.constructor;if(e=new N(e),!g.d||!e.d)return!g.s||!e.s?e=new N(NaN):g.d||(e=new N(e.d||g.s===e.s?g:NaN)),e;if(g.s!=e.s)return e.s=-e.s,g.minus(e);if(l=g.d,M=e.d,c=N.precision,u=N.rounding,!l[0]||!M[0])return M[0]||(e=new N(g)),xe?je(e,c,u):e;if(s=gt(g.e/Le),i=gt(e.e/Le),l=l.slice(),r=s-i,r){for(r<0?(n=l,r=-r,a=M.length):(n=M,i=s,a=l.length),s=Math.ceil(c/Le),a=s>a?s+1:a+1,r>a&&(r=a,n.length=1),n.reverse();r--;)n.push(0);n.reverse()}for(a=l.length,r=M.length,a-r<0&&(r=a,n=M,M=l,l=n),t=0;r;)t=(l[--r]=l[r]+M[r]+t)/kt|0,l[r]%=kt;for(t&&(l.unshift(t),++i),a=l.length;l[--a]==0;)l.pop();return e.d=l,e.e=Rr(l,i),xe?je(e,c,u):e};re.precision=re.sd=function(e){var t,n=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(un+e);return n.d?(t=K0(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t};re.round=function(){var e=this,t=e.constructor;return je(new t(e),e.e+1,t.rounding)};re.sine=re.sin=function(){var e,t,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(e=i.precision,t=i.rounding,i.precision=e+Math.max(n.e,n.sd())+Le,i.rounding=1,n=_l(i,i2(i,n)),i.precision=e,i.rounding=t,je(Ht>2?n.neg():n,e,t,!0)):new i(NaN)};re.squareRoot=re.sqrt=function(){var e,t,n,i,r,s,a=this,c=a.d,u=a.e,l=a.s,M=a.constructor;if(l!==1||!c||!c[0])return new M(!l||l<0&&(!c||c[0])?NaN:c?a:1/0);for(xe=!1,l=Math.sqrt(+a),l==0||l==1/0?(t=st(c),(t.length+u)%2==0&&(t+="0"),l=Math.sqrt(t),u=gt((u+1)/2)-(u<0||u%2),l==1/0?t="5e"+u:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+u),i=new M(t)):i=new M(l.toString()),n=(u=M.precision)+3;;)if(s=i,i=s.plus(Ue(a,s,n+2,1)).times(.5),st(s.d).slice(0,n)===(t=st(i.d)).slice(0,n))if(t=t.slice(n-3,n+1),t=="9999"||!r&&t=="4999"){if(!r&&(je(s,u+1,0),s.times(s).eq(a))){i=s;break}n+=4,r=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(je(i,u+1,1),e=!i.times(i).eq(a));break}return xe=!0,je(i,u,M.rounding,e)};re.tangent=re.tan=function(){var e,t,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(e=i.precision,t=i.rounding,i.precision=e+10,i.rounding=1,n=n.sin(),n.s=1,n=Ue(n,new i(1).minus(n.times(n)).sqrt(),e+10,0),i.precision=e,i.rounding=t,je(Ht==2||Ht==4?n.neg():n,e,t,!0)):new i(NaN)};re.times=re.mul=function(e){var t,n,i,r,s,a,c,u,l,M=this,g=M.constructor,N=M.d,y=(e=new g(e)).d;if(e.s*=M.s,!N||!N[0]||!y||!y[0])return new g(!e.s||N&&!N[0]&&!y||y&&!y[0]&&!N?NaN:!N||!y?e.s/0:e.s*0);for(n=gt(M.e/Le)+gt(e.e/Le),u=N.length,l=y.length,u<l&&(s=N,N=y,y=s,a=u,u=l,l=a),s=[],a=u+l,i=a;i--;)s.push(0);for(i=l;--i>=0;){for(t=0,r=u+i;r>i;)c=s[r]+y[i]*N[r-i-1]+t,s[r--]=c%kt|0,t=c/kt|0;s[r]=(s[r]+t)%kt|0}for(;!s[--a];)s.pop();return t?++n:s.shift(),e.d=s,e.e=Rr(s,n),xe?je(e,g.precision,g.rounding):e};re.toBinary=function(e,t){return Fs(this,2,e,t)};re.toDecimalPlaces=re.toDP=function(e,t){var n=this,i=n.constructor;return n=new i(n),e===void 0?n:(yt(e,0,Mn),t===void 0?t=i.rounding:yt(t,0,8),je(n,e+n.e+1,t))};re.toExponential=function(e,t){var n,i=this,r=i.constructor;return e===void 0?n=Zt(i,!0):(yt(e,0,Mn),t===void 0?t=r.rounding:yt(t,0,8),i=je(new r(i),e+1,t),n=Zt(i,!0,e+1)),i.isNeg()&&!i.isZero()?"-"+n:n};re.toFixed=function(e,t){var n,i,r=this,s=r.constructor;return e===void 0?n=Zt(r):(yt(e,0,Mn),t===void 0?t=s.rounding:yt(t,0,8),i=je(new s(r),e+r.e+1,t),n=Zt(i,!1,e+i.e+1)),r.isNeg()&&!r.isZero()?"-"+n:n};re.toFraction=function(e){var t,n,i,r,s,a,c,u,l,M,g,N,y=this,T=y.d,d=y.constructor;if(!T)return new d(y);if(l=n=new d(1),i=u=new d(0),t=new d(i),s=t.e=K0(T)-y.e-1,a=s%Le,t.d[0]=Ke(10,a<0?Le+a:a),e==null)e=s>0?t:l;else{if(c=new d(e),!c.isInt()||c.lt(l))throw Error(un+c);e=c.gt(t)?s>0?t:l:c}for(xe=!1,c=new d(st(T)),M=d.precision,d.precision=s=T.length*Le*2;g=Ue(c,t,0,1,1),r=n.plus(g.times(i)),r.cmp(e)!=1;)n=i,i=r,r=l,l=u.plus(g.times(r)),u=r,r=t,t=c.minus(g.times(r)),c=r;return r=Ue(e.minus(n),i,0,1,1),u=u.plus(r.times(l)),n=n.plus(r.times(i)),u.s=l.s=y.s,N=Ue(l,i,s,1).minus(y).abs().cmp(Ue(u,n,s,1).minus(y).abs())<1?[l,i]:[u,n],d.precision=M,xe=!0,N};re.toHexadecimal=re.toHex=function(e,t){return Fs(this,16,e,t)};re.toNearest=function(e,t){var n=this,i=n.constructor;if(n=new i(n),e==null){if(!n.d)return n;e=new i(1),t=i.rounding}else{if(e=new i(e),t===void 0?t=i.rounding:yt(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(xe=!1,n=Ue(n,e,0,t,1).times(e),xe=!0,je(n)):(e.s=n.s,n=e),n};re.toNumber=function(){return+this};re.toOctal=function(e,t){return Fs(this,8,e,t)};re.toPower=re.pow=function(e){var t,n,i,r,s,a,c=this,u=c.constructor,l=+(e=new u(e));if(!c.d||!e.d||!c.d[0]||!e.d[0])return new u(Ke(+c,l));if(c=new u(c),c.eq(1))return c;if(i=u.precision,s=u.rounding,e.eq(1))return je(c,i,s);if(t=gt(e.e/Le),t>=e.d.length-1&&(n=l<0?-l:l)<=vl)return r=e2(u,c,n,i),e.s<0?new u(1).div(r):je(r,i,s);if(a=c.s,a<0){if(t<e.d.length-1)return new u(NaN);if((e.d[t]&1)==0&&(a=1),c.e==0&&c.d[0]==1&&c.d.length==1)return c.s=a,c}return n=Ke(+c,l),t=n==0||!isFinite(n)?gt(l*(Math.log("0."+st(c.d))/Math.LN10+c.e+1)):new u(n+"").e,t>u.maxE+1||t<u.minE-1?new u(t>0?a/0:0):(xe=!1,u.rounding=c.s=1,n=Math.min(12,(t+"").length),r=Jo(e.times(rn(c,i+n)),i),r.d&&(r=je(r,i+5,1),mi(r.d,i,s)&&(t=i+10,r=je(Jo(e.times(rn(c,t+n)),t),t+5,1),+st(r.d).slice(i+1,i+15)+1==1e14&&(r=je(r,i+1,0)))),r.s=a,xe=!0,u.rounding=s,je(r,i,s))};re.toPrecision=function(e,t){var n,i=this,r=i.constructor;return e===void 0?n=Zt(i,i.e<=r.toExpNeg||i.e>=r.toExpPos):(yt(e,1,Mn),t===void 0?t=r.rounding:yt(t,0,8),i=je(new r(i),e,t),n=Zt(i,e<=i.e||i.e<=r.toExpNeg,e)),i.isNeg()&&!i.isZero()?"-"+n:n};re.toSignificantDigits=re.toSD=function(e,t){var n=this,i=n.constructor;return e===void 0?(e=i.precision,t=i.rounding):(yt(e,1,Mn),t===void 0?t=i.rounding:yt(t,0,8)),je(new i(n),e,t)};re.toString=function(){var e=this,t=e.constructor,n=Zt(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n};re.truncated=re.trunc=function(){return je(new this.constructor(this),this.e+1,1)};re.valueOf=re.toJSON=function(){var e=this,t=e.constructor,n=Zt(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};function st(e){var t,n,i,r=e.length-1,s="",a=e[0];if(r>0){for(s+=a,t=1;t<r;t++)i=e[t]+"",n=Le-i.length,n&&(s+=nn(n)),s+=i;a=e[t],i=a+"",n=Le-i.length,n&&(s+=nn(n))}else if(a===0)return"0";for(;a%10===0;)a/=10;return s+a}function yt(e,t,n){if(e!==~~e||e<t||e>n)throw Error(un+e)}function mi(e,t,n,i){var r,s,a,c;for(s=e[0];s>=10;s/=10)--t;return--t<0?(t+=Le,r=0):(r=Math.ceil((t+1)/Le),t%=Le),s=Ke(10,Le-t),c=e[r]%s|0,i==null?t<3?(t==0?c=c/100|0:t==1&&(c=c/10|0),a=n<4&&c==99999||n>3&&c==49999||c==5e4||c==0):a=(n<4&&c+1==s||n>3&&c+1==s/2)&&(e[r+1]/s/100|0)==Ke(10,t-2)-1||(c==s/2||c==0)&&(e[r+1]/s/100|0)==0:t<4?(t==0?c=c/1e3|0:t==1?c=c/100|0:t==2&&(c=c/10|0),a=(i||n<4)&&c==9999||!i&&n>3&&c==4999):a=((i||n<4)&&c+1==s||!i&&n>3&&c+1==s/2)&&(e[r+1]/s/1e3|0)==Ke(10,t-3)-1,a}function Ji(e,t,n){for(var i,r=[0],s,a=0,c=e.length;a<c;){for(s=r.length;s--;)r[s]*=t;for(r[0]+=Ho.indexOf(e.charAt(a++)),i=0;i<r.length;i++)r[i]>n-1&&(r[i+1]===void 0&&(r[i+1]=0),r[i+1]+=r[i]/n|0,r[i]%=n)}return r.reverse()}function Yl(e,t){var n,i,r;if(t.isZero())return t;i=t.d.length,i<32?(n=Math.ceil(i/3),r=(1/_r(4,n)).toString()):(n=16,r="2.3283064365386962890625e-10"),e.precision+=n,t=Jn(e,1,t.times(r),new e(1));for(var s=n;s--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=n,t}var Ue=(function(){function e(i,r,s){var a,c=0,u=i.length;for(i=i.slice();u--;)a=i[u]*r+c,i[u]=a%s|0,c=a/s|0;return c&&i.unshift(c),i}function t(i,r,s,a){var c,u;if(s!=a)u=s>a?1:-1;else for(c=u=0;c<s;c++)if(i[c]!=r[c]){u=i[c]>r[c]?1:-1;break}return u}function n(i,r,s,a){for(var c=0;s--;)i[s]-=c,c=i[s]<r[s]?1:0,i[s]=c*a+i[s]-r[s];for(;!i[0]&&i.length>1;)i.shift()}return function(i,r,s,a,c,u){var l,M,g,N,y,T,d,f,C,m,h,D,j,L,p,S,w,z,U,k,v=i.constructor,Q=i.s==r.s?1:-1,P=i.d,Z=r.d;if(!P||!P[0]||!Z||!Z[0])return new v(!i.s||!r.s||(P?Z&&P[0]==Z[0]:!Z)?NaN:P&&P[0]==0||!Z?Q*0:Q/0);for(u?(y=1,M=i.e-r.e):(u=kt,y=Le,M=gt(i.e/y)-gt(r.e/y)),U=Z.length,w=P.length,C=new v(Q),m=C.d=[],g=0;Z[g]==(P[g]||0);g++);if(Z[g]>(P[g]||0)&&M--,s==null?(L=s=v.precision,a=v.rounding):c?L=s+(i.e-r.e)+1:L=s,L<0)m.push(1),T=!0;else{if(L=L/y+2|0,g=0,U==1){for(N=0,Z=Z[0],L++;(g<w||N)&&L--;g++)p=N*u+(P[g]||0),m[g]=p/Z|0,N=p%Z|0;T=N||g<w}else{for(N=u/(Z[0]+1)|0,N>1&&(Z=e(Z,N,u),P=e(P,N,u),U=Z.length,w=P.length),S=U,h=P.slice(0,U),D=h.length;D<U;)h[D++]=0;k=Z.slice(),k.unshift(0),z=Z[0],Z[1]>=u/2&&++z;do N=0,l=t(Z,h,U,D),l<0?(j=h[0],U!=D&&(j=j*u+(h[1]||0)),N=j/z|0,N>1?(N>=u&&(N=u-1),d=e(Z,N,u),f=d.length,D=h.length,l=t(d,h,f,D),l==1&&(N--,n(d,U<f?k:Z,f,u))):(N==0&&(l=N=1),d=Z.slice()),f=d.length,f<D&&d.unshift(0),n(h,d,D,u),l==-1&&(D=h.length,l=t(Z,h,U,D),l<1&&(N++,n(h,U<D?k:Z,D,u))),D=h.length):l===0&&(N++,h=[0]),m[g++]=N,l&&h[0]?h[D++]=P[S]||0:(h=[P[S]],D=1);while((S++<w||h[0]!==void 0)&&L--);T=h[0]!==void 0}m[0]||m.shift()}if(y==1)C.e=M,V0=T;else{for(g=1,N=m[0];N>=10;N/=10)g++;C.e=g+M*y-1,je(C,c?s+C.e+1:s,a,T)}return C}})();function je(e,t,n,i){var r,s,a,c,u,l,M,g,N,y=e.constructor;e:if(t!=null){if(g=e.d,!g)return e;for(r=1,c=g[0];c>=10;c/=10)r++;if(s=t-r,s<0)s+=Le,a=t,M=g[N=0],u=M/Ke(10,r-a-1)%10|0;else if(N=Math.ceil((s+1)/Le),c=g.length,N>=c)if(i){for(;c++<=N;)g.push(0);M=u=0,r=1,s%=Le,a=s-Le+1}else break e;else{for(M=c=g[N],r=1;c>=10;c/=10)r++;s%=Le,a=s-Le+r,u=a<0?0:M/Ke(10,r-a-1)%10|0}if(i=i||t<0||g[N+1]!==void 0||(a<0?M:M%Ke(10,r-a-1)),l=n<4?(u||i)&&(n==0||n==(e.s<0?3:2)):u>5||u==5&&(n==4||i||n==6&&(s>0?a>0?M/Ke(10,r-a):0:g[N-1])%10&1||n==(e.s<0?8:7)),t<1||!g[0])return g.length=0,l?(t-=e.e+1,g[0]=Ke(10,(Le-t%Le)%Le),e.e=-t||0):g[0]=e.e=0,e;if(s==0?(g.length=N,c=1,N--):(g.length=N+1,c=Ke(10,Le-s),g[N]=a>0?(M/Ke(10,r-a)%Ke(10,a)|0)*c:0),l)for(;;)if(N==0){for(s=1,a=g[0];a>=10;a/=10)s++;for(a=g[0]+=c,c=1;a>=10;a/=10)c++;s!=c&&(e.e++,g[0]==kt&&(g[0]=1));break}else{if(g[N]+=c,g[N]!=kt)break;g[N--]=0,c=1}for(s=g.length;g[--s]===0;)g.pop()}return xe&&(e.e>y.maxE?(e.d=null,e.e=NaN):e.e<y.minE&&(e.e=0,e.d=[0])),e}function Zt(e,t,n){if(!e.isFinite())return n2(e);var i,r=e.e,s=st(e.d),a=s.length;return t?(n&&(i=n-a)>0?s=s.charAt(0)+"."+s.slice(1)+nn(i):a>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):r<0?(s="0."+nn(-r-1)+s,n&&(i=n-a)>0&&(s+=nn(i))):r>=a?(s+=nn(r+1-a),n&&(i=n-r-1)>0&&(s=s+"."+nn(i))):((i=r+1)<a&&(s=s.slice(0,i)+"."+s.slice(i)),n&&(i=n-a)>0&&(r+1===a&&(s+="."),s+=nn(i))),s}function Rr(e,t){var n=e[0];for(t*=Le;n>=10;n/=10)t++;return t}function wr(e,t,n){if(t>Ul)throw xe=!0,n&&(e.precision=n),Error(J0);return je(new e(pr),t,1,!0)}function Qt(e,t,n){if(t>Vo)throw Error(J0);return je(new e(Dr),t,n,!0)}function K0(e){var t=e.length-1,n=t*Le+1;if(t=e[t],t){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function nn(e){for(var t="";e--;)t+="0";return t}function e2(e,t,n,i){var r,s=new e(1),a=Math.ceil(i/Le+4);for(xe=!1;;){if(n%2&&(s=s.times(t),A1(s.d,a)&&(r=!0)),n=gt(n/2),n===0){n=s.d.length-1,r&&s.d[n]===0&&++s.d[n];break}t=t.times(t),A1(t.d,a)}return xe=!0,s}function w1(e){return e.d[e.d.length-1]&1}function t2(e,t,n){for(var i,r,s=new e(t[0]),a=0;++a<t.length;){if(r=new e(t[a]),!r.s){s=r;break}i=s.cmp(r),(i===n||i===0&&s.s===n)&&(s=r)}return s}function Jo(e,t){var n,i,r,s,a,c,u,l=0,M=0,g=0,N=e.constructor,y=N.rounding,T=N.precision;if(!e.d||!e.d[0]||e.e>17)return new N(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(t==null?(xe=!1,u=T):u=t,c=new N(.03125);e.e>-2;)e=e.times(c),g+=5;for(i=Math.log(Ke(2,g))/Math.LN10*2+5|0,u+=i,n=s=a=new N(1),N.precision=u;;){if(s=je(s.times(e),u,1),n=n.times(++M),c=a.plus(Ue(s,n,u,1)),st(c.d).slice(0,u)===st(a.d).slice(0,u)){for(r=g;r--;)a=je(a.times(a),u,1);if(t==null)if(l<3&&mi(a.d,u-i,y,l))N.precision=u+=10,n=s=c=new N(1),M=0,l++;else return je(a,N.precision=T,y,xe=!0);else return N.precision=T,a}a=c}}function rn(e,t){var n,i,r,s,a,c,u,l,M,g,N,y=1,T=10,d=e,f=d.d,C=d.constructor,m=C.rounding,h=C.precision;if(d.s<0||!f||!f[0]||!d.e&&f[0]==1&&f.length==1)return new C(f&&!f[0]?-1/0:d.s!=1?NaN:f?0:d);if(t==null?(xe=!1,M=h):M=t,C.precision=M+=T,n=st(f),i=n.charAt(0),Math.abs(s=d.e)<15e14){for(;i<7&&i!=1||i==1&&n.charAt(1)>3;)d=d.times(e),n=st(d.d),i=n.charAt(0),y++;s=d.e,i>1?(d=new C("0."+n),s++):d=new C(i+"."+n.slice(1))}else return l=wr(C,M+2,h).times(s+""),d=rn(new C(i+"."+n.slice(1)),M-T).plus(l),C.precision=h,t==null?je(d,h,m,xe=!0):d;for(g=d,u=a=d=Ue(d.minus(1),d.plus(1),M,1),N=je(d.times(d),M,1),r=3;;){if(a=je(a.times(N),M,1),l=u.plus(Ue(a,new C(r),M,1)),st(l.d).slice(0,M)===st(u.d).slice(0,M))if(u=u.times(2),s!==0&&(u=u.plus(wr(C,M+2,h).times(s+""))),u=Ue(u,new C(y),M,1),t==null)if(mi(u.d,M-T,m,c))C.precision=M+=T,l=a=d=Ue(g.minus(1),g.plus(1),M,1),N=je(d.times(d),M,1),r=c=1;else return je(u,C.precision=h,m,xe=!0);else return C.precision=h,u;u=l,r+=2}}function n2(e){return String(e.s*e.s/0)}function qi(e,t){var n,i,r;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length),i=0;t.charCodeAt(i)===48;i++);for(r=t.length;t.charCodeAt(r-1)===48;--r);if(t=t.slice(i,r),t){if(r-=i,e.e=n=n-i-1,e.d=[],i=(n+1)%Le,n<0&&(i+=Le),i<r){for(i&&e.d.push(+t.slice(0,i)),r-=Le;i<r;)e.d.push(+t.slice(i,i+=Le));t=t.slice(i),i=Le-t.length}else i-=r;for(;i--;)t+="0";e.d.push(+t),xe&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function Rl(e,t){var n,i,r,s,a,c,u,l,M;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),$0.test(t))return qi(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(Ol.test(t))n=16,t=t.toLowerCase();else if(bl.test(t))n=2;else if(kl.test(t))n=8;else throw Error(un+t);for(s=t.search(/p/i),s>0?(u=+t.slice(s+1),t=t.substring(2,s)):t=t.slice(2),s=t.indexOf("."),a=s>=0,i=e.constructor,a&&(t=t.replace(".",""),c=t.length,s=c-s,r=e2(i,new i(n),s,s*2)),l=Ji(t,n,kt),M=l.length-1,s=M;l[s]===0;--s)l.pop();return s<0?new i(e.s*0):(e.e=Rr(l,M),e.d=l,xe=!1,a&&(e=Ue(e,r,c*4)),u&&(e=e.times(Math.abs(u)<54?Ke(2,u):Ei.pow(2,u))),xe=!0,e)}function _l(e,t){var n,i=t.d.length;if(i<3)return t.isZero()?t:Jn(e,2,t,t);n=1.4*Math.sqrt(i),n=n>16?16:n|0,t=t.times(1/_r(5,n)),t=Jn(e,2,t,t);for(var r,s=new e(5),a=new e(16),c=new e(20);n--;)r=t.times(t),t=t.times(s.plus(r.times(a.times(r).minus(c))));return t}function Jn(e,t,n,i,r){var s,a,c,u,l=e.precision,M=Math.ceil(l/Le);for(xe=!1,u=n.times(n),c=new e(i);;){if(a=Ue(c.times(u),new e(t++*t++),l,1),c=r?i.plus(a):i.minus(a),i=Ue(a.times(u),new e(t++*t++),l,1),a=c.plus(i),a.d[M]!==void 0){for(s=M;a.d[s]===c.d[s]&&s--;);if(s==-1)break}s=c,c=i,i=a,a=s}return xe=!0,a.d.length=M+1,a}function _r(e,t){for(var n=e;--t;)n*=e;return n}function i2(e,t){var n,i=t.s<0,r=Qt(e,e.precision,1),s=r.times(.5);if(t=t.abs(),t.lte(s))return Ht=i?4:1,t;if(n=t.divToInt(r),n.isZero())Ht=i?3:2;else{if(t=t.minus(n.times(r)),t.lte(s))return Ht=w1(n)?i?2:3:i?4:1,t;Ht=w1(n)?i?1:4:i?3:2}return t.minus(r).abs()}function Fs(e,t,n,i){var r,s,a,c,u,l,M,g,N,y=e.constructor,T=n!==void 0;if(T?(yt(n,1,Mn),i===void 0?i=y.rounding:yt(i,0,8)):(n=y.precision,i=y.rounding),!e.isFinite())M=n2(e);else{for(M=Zt(e),a=M.indexOf("."),T?(r=2,t==16?n=n*4-3:t==8&&(n=n*3-2)):r=t,a>=0&&(M=M.replace(".",""),N=new y(1),N.e=M.length-a,N.d=Ji(Zt(N),10,r),N.e=N.d.length),g=Ji(M,10,r),s=u=g.length;g[--u]==0;)g.pop();if(!g[0])M=T?"0p+0":"0";else{if(a<0?s--:(e=new y(e),e.d=g,e.e=s,e=Ue(e,N,n,i,0,r),g=e.d,s=e.e,l=V0),a=g[n],c=r/2,l=l||g[n+1]!==void 0,l=i<4?(a!==void 0||l)&&(i===0||i===(e.s<0?3:2)):a>c||a===c&&(i===4||l||i===6&&g[n-1]&1||i===(e.s<0?8:7)),g.length=n,l)for(;++g[--n]>r-1;)g[n]=0,n||(++s,g.unshift(1));for(u=g.length;!g[u-1];--u);for(a=0,M="";a<u;a++)M+=Ho.charAt(g[a]);if(T){if(u>1)if(t==16||t==8){for(a=t==16?4:3,--u;u%a;u++)M+="0";for(g=Ji(M,r,t),u=g.length;!g[u-1];--u);for(a=1,M="1.";a<u;a++)M+=Ho.charAt(g[a])}else M=M.charAt(0)+"."+M.slice(1);M=M+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)M="0"+M;M="0."+M}else if(++s>u)for(s-=u;s--;)M+="0";else s<u&&(M=M.slice(0,s)+"."+M.slice(s))}M=(t==16?"0x":t==2?"0b":t==8?"0o":"")+M}return e.s<0?"-"+M:M}function A1(e,t){if(e.length>t)return e.length=t,!0}function Ql(e){return new this(e).abs()}function Pl(e){return new this(e).acos()}function Bl(e){return new this(e).acosh()}function Zl(e,t){return new this(e).plus(t)}function Wl(e){return new this(e).asin()}function Fl(e){return new this(e).asinh()}function Hl(e){return new this(e).atan()}function Gl(e){return new this(e).atanh()}function Vl(e,t){e=new this(e),t=new this(t);var n,i=this.precision,r=this.rounding,s=i+4;return!e.s||!t.s?n=new this(NaN):!e.d&&!t.d?(n=Qt(this,s,1).times(t.s>0?.25:.75),n.s=e.s):!t.d||e.isZero()?(n=t.s<0?Qt(this,i,r):new this(0),n.s=e.s):!e.d||t.isZero()?(n=Qt(this,s,1).times(.5),n.s=e.s):t.s<0?(this.precision=s,this.rounding=1,n=this.atan(Ue(e,t,s,1)),t=Qt(this,s,1),this.precision=i,this.rounding=r,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(Ue(e,t,s,1)),n}function Jl(e){return new this(e).cbrt()}function ql(e){return je(e=new this(e),e.e+1,2)}function Xl(e,t,n){return new this(e).clamp(t,n)}function $l(e){if(!e||typeof e!="object")throw Error(Yr+"Object expected");var t,n,i,r=e.defaults===!0,s=["precision",1,Mn,"rounding",0,8,"toExpNeg",-Wn,0,"toExpPos",0,Wn,"maxE",0,Wn,"minE",-Wn,0,"modulo",0,9];for(t=0;t<s.length;t+=3)if(n=s[t],r&&(this[n]=Go[n]),(i=e[n])!==void 0)if(gt(i)===i&&i>=s[t+1]&&i<=s[t+2])this[n]=i;else throw Error(un+n+": "+i);if(n="crypto",r&&(this[n]=Go[n]),(i=e[n])!==void 0)if(i===!0||i===!1||i===0||i===1)if(i)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[n]=!0;else throw Error(q0);else this[n]=!1;else throw Error(un+n+": "+i);return this}function Kl(e){return new this(e).cos()}function e3(e){return new this(e).cosh()}function r2(e){var t,n,i;function r(s){var a,c,u,l=this;if(!(l instanceof r))return new r(s);if(l.constructor=r,S1(s)){l.s=s.s,xe?!s.d||s.e>r.maxE?(l.e=NaN,l.d=null):s.e<r.minE?(l.e=0,l.d=[0]):(l.e=s.e,l.d=s.d.slice()):(l.e=s.e,l.d=s.d?s.d.slice():s.d);return}if(u=typeof s,u==="number"){if(s===0){l.s=1/s<0?-1:1,l.e=0,l.d=[0];return}if(s<0?(s=-s,l.s=-1):l.s=1,s===~~s&&s<1e7){for(a=0,c=s;c>=10;c/=10)a++;xe?a>r.maxE?(l.e=NaN,l.d=null):a<r.minE?(l.e=0,l.d=[0]):(l.e=a,l.d=[s]):(l.e=a,l.d=[s]);return}if(s*0!==0){s||(l.s=NaN),l.e=NaN,l.d=null;return}return qi(l,s.toString())}if(u==="string")return(c=s.charCodeAt(0))===45?(s=s.slice(1),l.s=-1):(c===43&&(s=s.slice(1)),l.s=1),$0.test(s)?qi(l,s):Rl(l,s);if(u==="bigint")return s<0?(s=-s,l.s=-1):l.s=1,qi(l,s.toString());throw Error(un+s)}if(r.prototype=re,r.ROUND_UP=0,r.ROUND_DOWN=1,r.ROUND_CEIL=2,r.ROUND_FLOOR=3,r.ROUND_HALF_UP=4,r.ROUND_HALF_DOWN=5,r.ROUND_HALF_EVEN=6,r.ROUND_HALF_CEIL=7,r.ROUND_HALF_FLOOR=8,r.EUCLID=9,r.config=r.set=$l,r.clone=r2,r.isDecimal=S1,r.abs=Ql,r.acos=Pl,r.acosh=Bl,r.add=Zl,r.asin=Wl,r.asinh=Fl,r.atan=Hl,r.atanh=Gl,r.atan2=Vl,r.cbrt=Jl,r.ceil=ql,r.clamp=Xl,r.cos=Kl,r.cosh=e3,r.div=t3,r.exp=n3,r.floor=i3,r.hypot=r3,r.ln=o3,r.log=s3,r.log10=c3,r.log2=a3,r.max=u3,r.min=l3,r.mod=M3,r.mul=d3,r.pow=g3,r.random=f3,r.round=h3,r.sign=j3,r.sin=N3,r.sinh=y3,r.sqrt=I3,r.sub=L3,r.sum=x3,r.tan=T3,r.tanh=C3,r.trunc=m3,e===void 0&&(e={}),e&&e.defaults!==!0)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<i.length;)e.hasOwnProperty(n=i[t++])||(e[n]=this[n]);return r.config(e),r}function t3(e,t){return new this(e).div(t)}function n3(e){return new this(e).exp()}function i3(e){return je(e=new this(e),e.e+1,3)}function r3(){var e,t,n=new this(0);for(xe=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return xe=!0,new this(1/0);n=t}return xe=!0,n.sqrt()}function S1(e){return e instanceof Ei||e&&e.toStringTag===X0||!1}function o3(e){return new this(e).ln()}function s3(e,t){return new this(e).log(t)}function a3(e){return new this(e).log(2)}function c3(e){return new this(e).log(10)}function u3(){return t2(this,arguments,-1)}function l3(){return t2(this,arguments,1)}function M3(e,t){return new this(e).mod(t)}function d3(e,t){return new this(e).mul(t)}function g3(e,t){return new this(e).pow(t)}function f3(e){var t,n,i,r,s=0,a=new this(1),c=[];if(e===void 0?e=this.precision:yt(e,1,Mn),i=Math.ceil(e/Le),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(i));s<i;)r=t[s],r>=429e7?t[s]=crypto.getRandomValues(new Uint32Array(1))[0]:c[s++]=r%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(i*=4);s<i;)r=t[s]+(t[s+1]<<8)+(t[s+2]<<16)+((t[s+3]&127)<<24),r>=214e7?crypto.randomBytes(4).copy(t,s):(c.push(r%1e7),s+=4);s=i/4}else throw Error(q0);else for(;s<i;)c[s++]=Math.random()*1e7|0;for(i=c[--s],e%=Le,i&&e&&(r=Ke(10,Le-e),c[s]=(i/r|0)*r);c[s]===0;s--)c.pop();if(s<0)n=0,c=[0];else{for(n=-1;c[0]===0;n-=Le)c.shift();for(i=1,r=c[0];r>=10;r/=10)i++;i<Le&&(n-=Le-i)}return a.e=n,a.d=c,a}function h3(e){return je(e=new this(e),e.e+1,this.rounding)}function j3(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function N3(e){return new this(e).sin()}function y3(e){return new this(e).sinh()}function I3(e){return new this(e).sqrt()}function L3(e,t){return new this(e).sub(t)}function x3(){var e=0,t=arguments,n=new this(t[e]);for(xe=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return xe=!0,je(n,this.precision,this.rounding)}function T3(e){return new this(e).tan()}function C3(e){return new this(e).tanh()}function m3(e){return je(e=new this(e),e.e+1,1)}re[Symbol.for("nodejs.util.inspect.custom")]=re.toString;re[Symbol.toStringTag]="Decimal";var Ei=re.constructor=r2(Go);pr=new Ei(pr);Dr=new Ei(Dr);const E1=new Map,o2=e=>{const t=E1.get(e);if(t)return t;const n=new Intl.NumberFormat(e).formatToParts(12345.6),i={group:n.find(r=>r.type==="group")?.value??",",decimal:n.find(r=>r.type==="decimal")?.value??"."};return E1.set(e,i),i},s2=()=>navigator?.language??document?.documentElement?.lang??"en-US",qo=e=>{if(!e)return"";let t=e;if(e.includes("e")||e.includes("E"))try{t=new Ei(e).toFixed()}catch{}const[n,i]=t.split("."),r=n?BigInt(n):0n,s=s2(),{decimal:a}=o2(s),c=new Intl.NumberFormat(s,{useGrouping:!0,minimumFractionDigits:0,maximumFractionDigits:0}).format(r);return i!==void 0||e.endsWith(".")?c+a+(i??""):c},a2=e=>{if(!e)return"";const t=s2(),{group:n,decimal:i}=o2(t);return e.split(n).join("").replace(new RegExp(`\\${i}`,"g"),".")},p3=e=>{if(typeof e!="string")return!1;const t=a2(e);if(t===""||t===".")return!0;const n=t.split(".");if(n.length>2)return!1;const[i,r=""]=n;if(!/^\d*$/.test(i)||!/^\d*$/.test(r))return!1;const s=n.join("."),a=Number(s);return Number.isFinite(a)&&a>=0},z1=e=>{const t=b.display(e),n=parseFloat(t);return n>999?Math.ceil(n).toString():n.toPrecision(3)},D3=(e,t,n)=>{const i=parseFloat(e);if(!Number.isFinite(i)||i===0)return"0";const[r,s]=e.split("."),a=r==="0"?1:r.length;if(a>=t)return r;const c=t-a,u=Math.min(c,n);return!s||u===0?r:`${r}.${s.substring(0,u)}`},w3=e=>{const{amount:t}=Ae(r=>r.transferInput),n=I.useMemo(()=>Object.values(e.failedQuotes).reduce((r,s)=>{if(s?.success||!Uu(s?.error))return r;if(!r)return s.error.min;const a=BigInt(s.error.min.amount),c=BigInt(r.amount);return a<c?s.error.min:r},void 0),[e.failedQuotes]),i=I.useMemo(()=>Object.keys(e.quotes).length===0&&Object.keys(e.failedQuotes).length>0,[e.quotes,e.failedQuotes]);return!t||e.disabled?{}:e.balance&&b.units(t)>b.units(e.balance)?{error:"Amount exceeds available balance."}:i?n?{error:`Amount too small (min ~${z1(n)} ${e.tokenSymbol})`}:{error:"No route available."}:n?{info:`More routes available for ${z1(n)} ${e.tokenSymbol} or more.`}:{}},c2=()=>{const{getTokenPrice:e,lastTokenPriceUpdate:t}=ft();return I.useCallback(({token:n,amount:i})=>{const r=b.whole(i);if(!n)return;const a=Number(e(n))*r;return isNaN(a)?void 0:parseFloat(a.toFixed(2))},[t,e])},zn=()=>{const{token:e,destToken:t}=Ae(r=>r.transferInput),n=I.useMemo(()=>e?x.config.tokens.get(e):void 0,[e]),i=I.useMemo(()=>t?x.config.tokens.get(t):void 0,[t]);return{sourceToken:n,destToken:i}},A3=()=>{const{txData:e}=Ae(i=>i.redeem),t=I.useMemo(()=>e?.token?x.config.tokens.get(e?.token):void 0,[e]),n=I.useMemo(()=>e?.receivedToken?x.config.tokens.get(e?.receivedToken):void 0,[e]);return{sourceToken:t,destToken:n}};function S3(e,t,n){return b.display({amount:e.toString(),decimals:t},n)}function u2(e,t){if(typeof e!="string")throw new Error("Invalid argument");return e==="0.0"?"0":e.includes(".")?parseFloat(e).toFixed(t):e}const bt="transactions:inprogress",E3=3,Qi=(e,t)=>{if(x.isEmptyObject(e))return!1;for(const n in t)if(e[n]===null||typeof e[n]!==t[n])return!1;return!0},z3=e=>!(!Qi(e,{receipt:"object",route:"string",timestamp:"number",txDetails:"object",txHash:"string"})||!Qi(e.txDetails,{amount:"object",eta:"number",fromChain:"string",toChain:"string",token:"object"})||!Qi(e.txDetails.amount,{amount:"string",decimals:"number"})||!Qi(e.txDetails.token,{0:"string",1:"string"})),b3=e=>{if(!Array.isArray(e))return!1;for(const t of e)if(!z3(t))return!1;return!0},Qr=()=>{const e=window.localStorage;for(let t=0;t<e.length;t++){const n=e.key(t);if(n?.toLowerCase()===x.config.cacheKey(bt).toLowerCase()){const i=e.getItem(n);if(i)try{const r=JSON.parse(i);if(b3(r))return r;console.log(`Error while parsing localStorage item ${bt}: Not an array of valid transactions`),e.removeItem(x.config.cacheKey(bt));return}catch(r){console.log(`Error while parsing localStorage item ${bt}: ${r}`),e.removeItem(x.config.cacheKey(bt));return}}}},O3=e=>{const t=window.localStorage,n=Qr();let i;n?n.length<E3?i=n.concat([e]):(n.splice(0,1),i=n.concat([e])):i=[e];try{t.setItem(x.config.cacheKey(bt),x.stringifyWithBigInt(i))}catch(r){console.log(`Error while adding item to localStorage ${bt}: ${r}`)}},Xo=e=>{const t=window.localStorage,n=Qr();if(n&&n.length>0){const i=n.findIndex(r=>r.txHash===e);if(i>-1){n.splice(i,1);try{t.setItem(x.config.cacheKey(bt),x.stringifyWithBigInt(n))}catch(r){console.log(`Error while removing item from localStorage ${bt}: ${r}`)}}}},k3=(e,t,n)=>{const i=window.localStorage,r=Qr();if(r&&r.length>0){const s=r.findIndex(a=>a.txHash===e);if(s>-1){r[s][t]=n;try{i.setItem(x.config.cacheKey(bt),x.stringifyWithBigInt(r))}catch(a){console.log(`Error while updating item in localStorage ${bt}: ${a}`)}}}},$o=Object.freeze(new Set(["3","1Gq","1N6XqS","1B64QRxf","1B11Ezqg3AXj","bc1qtnr3t28l","3CuqLrZWn5oCe6DR","TDNKsLvsY2iSznyghddXz7ZDRc","TFwjPScaJRCbSWVAywE1S1WgaU","3F6bbvS1krsc1qR8FsbTDfYQyvkMm","125W5ek3DT6Zqy5S2iPt4FHQdNMCbZA3FU","1295rkVyNfFpqZpXvKGhDqwhP1jZcNNDMV","129zKFLoVad9JtxSmDKeJoLCsjhGR7b3vr","12HQDsicffSBaYdJ6BhnE22sfjTESmmzKx","12NpCkhddSNiDkD9rRYUCHsTT9ReMNiJjG","12QtD5BFwRsdNsAZY76UVE1xyCGNTojH9h","12udabs2TkX7NXCSj6KpqXfakjE52ZPLhz","12w6v1qAaBc4W8h8C2Cu5SKFaKDSv3erUW","12YCfVAEzkEZXBYhUTyJJaRkgMXiFxJgcu","12YyR9EpvHxBjjKjTWqfKqeyoWnvcraxpW","134r8iHv69xdT6p5qVKTsHrcUEuBVZAYak","13f59kUM5FU8MfTG7DCEugYarDhSD7XCoC","13fhnkmpBBWXUQucJd6efWvXdEj78DKavk","13JtX4h7G5ZuNK5mFudKGq9DHLvvMFuNuz","13mnk8SvDGqsQTHbiGiHBXqtaQCUKfcsnP","13RH4JaFhaCxDGPyYE9emjp2aDxdX18uBA","13YBQr2Cp1YY3xqq2qngaPb7ca1o4ugeq6","149w62rY42aZBox8fGcmqNsXUzSStKeq8C","14gM1HuLVDELNHaFU22qpabjtiWek4HhV1","14kqryJUxM3a7aEi117KX9hoLUw592WsMR","14rjAD8ZP5xaL571cMRE98qgxxbg1S8mAN","158treVZBGMBThoaympxccPdZPtqUfYrT9","15cRqR3TXS1JehBGWERuxFE8NhWZzfoeeU","15kZobLkD6HZgEECtz4oS2Vz21XHTnNfSg","15Pt4NwZaUmMUwS2bQbyyncc7mzgWShtv8","15qyVrZvvVGvB7GWiAZ82TNcZ6QWMKu3kx","15uqdxqNXQwVf5H7yZPz4TmEGeSccCwdor","15YK647qtoZQDzNrvY6HJL6QwXduLHfT28","15yqWQ4sqr7jzCwDtZ3U1KaCa8WMEy7Mm2","16PhXY3hNNMTo8kpuJx2emh713KbWpkqci","17a5bpKvEp1j1Trs4qTbcNZrby53JbaS9C","17ezuJoT3XBbdcwFZbkTnrXbup11F4uhiy","17mhyeBX617ABZ1ffThhUTJkHUcMvCkfd5","17UVSMegvrzfobKC82dHXpZLtLcqzW9stF","17V7THwHMiDJmDwZK4unhE5HgKFJKx7VCe","182NGZbPJXwg2WDrhrPpR7tpiGQkNPF844","18dLDAWi8LmrHbEq3QzDJb9SLxCf4uimXB","18gaXypKj9M23S2zT9qZfL9iPbLFM372Q5","18Qj1THHuETfYhuRDZycXJbWwDMGw73Poa","18uKfaUjgG52rVeXEi3wxnveww7zZuECtE","18yWCu6agTxYqAerMxiz9sgHrK3ViezzGa","1986rYHckYbJpGQJy6ornuMyD2N5MTqwDt","19D1iGzDr7FyAdiy3ZZdxMd6ttHj1kj6WW","19D8PHBjZH29uS1uPZ4m3sVyqqfF8UFG9o","19GrL5jnUkGmHXVcraB1Etv5rXCANeLWpq","1A7SKE2dQtezLktCY8peLsdAtkqxV9r1dC","1AeSq93WDNdLoEJ92sex7T8xQZoYYm8BtS","1AjZPMsnmpdK2Rv9KQNfMurTXinscVro9V","1AoxtfiBQ22DvbhqAN9Ctb8sULMRhrdwTr","1AXUTu9y3H8w4wYx4BjyFWgRhZKDhmcMrn","1BiUFjzH6wsT73U3tfy4aXHCQsYQHzjk5h","1CF46Rfbp97absrs7zb7dFfZS6qBXUm9EP","1CPJak9ZyddbawMGJPyEhCiJLXXb4sYv8N","1D6gG9iKEhPitTcWRJiniuj1jYM2hNeAfJ","1DbShx4r8i2XesthoDBf5EkYWz5dsKEusV","1DbvK8P6imBuLcwh2Vruis4xsUb8YAwJQF","1DDA93oZPn7wte2eR1ABwcFoxUFxkKMwCf","1Df883c96LVauVsx9FEgnsourD8DELwCUQ","1DH2xDH7TngrDU6LXciprKCBKNcPA1xX8A","1DJoEMvp95yJYWyxAZy8DDBzuvjnrTVrsN","1DJoVLgn1foJHHngduRPJvRbwpaFEKxvxd","1DT3tenf14cxz9WFNxmYrXFbB6TFiVWA9U","1DYFJ6CuBvrxyoQSuBzVsNcetY9tvdsrag","1ECeZBxCVJ8Wm2JSN3Cyc6rge2gnvD3W5K","1Edue8XZCWNoDBNZgnQkCCivDyr9GEo4x6","1EfMVkxQQuZfBdocpJu6RUsCJvenQWbQyE","1EpMiZkQVekM5ij12nMiEwttFPcDK9XhX6","1EYitrwBYNWuTBcjZFbEUdqHppe2raLpaF","1F2Gdug9ib9NQMhKMGGJczzMk5SuENoqrp","1FCNgfZWpYMeYhy9t18AAkTBu8AsdoAc1Z","1FE2cuvkq8n5VGwj5hi8YYQxskwJpovPyV","1FjubFHV4mpYjBmvjsEhZssyiiA4TNmnm2","1FRyL9gmFGbzfYDAB4iY9836DJe3KSnjP9","1Fz29BQp82pE3vXXcsZoMNQ3KSHfMzfMe3","1G6DuwDKNHiUWqks2Lgu44cesu7ffFbLK7","1G9A8WRjGXdnYY4TNEVRrcaHsMtana4ncF","1G9CKRHA3mx22DoT1QyNYrh85VSQ19Y1em","1Gekw8ACSs37oXcc5XQHvoux3iKoVFtpF4","1GYuu9d5HPikafbys3k5Q3DRJq6debGsoB","1H939dom7i4WDLCKyGbXUp3fs9CSTNRzgL","1HmqvgSXUVES1jn4TQPzk9dxo1NE8wim2T","1Hn9ErTCPRP6j5UDBeuXPGuq5RtRjFJxJQ","1Hpj6qm9i7nMF3VkKfBFtjhEDpEjxHWvgv","1J9oGoAiHeRfeMZeUnJ9W7RpV55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UAQbcDezmyouFrzt94t4dSMxgsUfW1X","31p6woV4e55HUfC2aGynFhzQnGoJFW26cD","32DaxSzUhLBHY2WGSWQYiBSHnRsfQZrrRp","32jgFkZsTEjMFaBvxJnYvJEeTNKTmq5b32","32pTjxTNi7snk8sodrgfmdKao3DEn1nVJM","32wdqwX3zCEX3DhAVEcKwXCEGdzgBnx1R9","33Kja69SQVc8kozpoP7Qw6HFtGxHkiWzTz","33xWfziVZesgo83U5izdNCBVTnrtBpSwK7","347QFbejDBdMZFTxpmn6evvvqyXiqZTCd7","34pFGsSYbWEritXncW9unZtQQE9dKSvKku","35irs2AU6pVgenYbWvMRz22avDBLC9XMkd","35KAdTa2vqnJzitF2xiUzZn1Gmcas2Y465","35LScRJ8hzDvvWh9t9UA8bHGnGNVz3YEfa","35QpLWYkvD3ALhjbge5bK2kd7HfHYcDMu3","35qwVtMEohWDdBWRiCSR7azoP5cbY8SG1Q","3685sEusmTwZBiKJ4cgV73EAhpVD1nbgbe","36ia8qAE1k1PKQePdXENCm1YKLXxZyVnnc","372Wk9NLrMkJzKgqJdatWJy4bYRfxFjgat","374RguZDMNW5Zh5ouW3KhKDcrerKusmsuk","37fKFZQGMqdBkjSUub1jCDWGgSHwv9VxfZ","386sPhHBbLidzPnoxUH74jiiYkHYtobefQ","389Sft4nJFkPGhbagk9FN4jXncA9piYTuU","38ncxqt932N9CcfNfYuHGZgCyR85hDkWBW","38TftW1heYPqvKbiAhT4ttNBqkUPpooXad","39eboeqYNFe2VoLC3mUGx4dh6GNhLB3D2q","39fhoB2DohisGBbHvvfmkdPdShT75CNHdX","39NG2LcGRHXxSr1irpEVnJMw4ydL231sEn","39p8qWp1bkBNhi4vPpFTetKPtH7goqNDZf","39Te8MbphSgs7npDJPj2hbNzhke61NTcnB","3AjyprBY5yhijiCjUC5NUJutGbwhd3AQdE","3AQSmMk5n3c6TKEg9B2WyzYAPm33gJJAA4","3B7S6zrgxQVQUHTU8wstM23tB9afE7ojuX","3BsyZ7qRFSi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u522hb9P","3MTrJTFhYK9v1C6pjHtuweZSopfZa4b1wb","3MTRvM5QrYZHKo8gh5qKcrPK3RLjxcDCZE","3N6WeZ6i34taX8Ditser6LKWBcXmt2XXL4","3N9YcPBDky9UsMx1RTk33tL4jDkZfSnsPk","3NEcQKZ8RwL2eDNhmMPpZ4td9vPsQh9JwM","3NNcbBcMZokPB2JC2dxYuZrpgcetvyGeJn","3NQ1aa9ceirMJ1JvRq3eXefvXj1L639fzX","3NRJ8aXdUiZdHaiFX9ePX3DhGHzcEi14Fq","3NU9zkD8CCVGVmYnNNSN7PbU9sSFQBm5UV","3PiCnZrBvGfWAKQ9hr4cCpfaDjy64yNSpE","3PKiHs4GY4rFg8dpppNVPXGPqMX6K2cBML","3Q5dGfLKkWqWSwYtbMUyc8xGjN5LrRviK4","3Q8H2ZWMtc4R1M3mkmhnTjCoYKTeCFigDP","DFFJhnQNZf8rf67tYnesPu7MuGUpYtzv7Z","GPwg61XoHqQPNmAucFACuQ5H9sGCDv9TpS","LaizKtS5DUhPuP1nTQcc83MS7HwK6vk85z","LeKvNdNEzgQkzVVnRdV3fAu2DSF1nLsNw6","Leo3j36nn1JcsUQruytQhFUdCdCH5YHMR3","LNwgtMxcKUQ51dw7bQL1yPQjBVZh6QEqsd","M8yFL6SFC6TreATegTyuSYkDfDRbisdpT3","TA3941uFAvmVibSkQ6fMJXxmaSNovX86mz","TA39q3p75XRSWYAEaSF7dANtyksoa3sLge","TAoLw5yD5XUoHWeBZRSZ1ExK9HMv2CiPvP","TASWbk6X1wiTku5TMmMQYqYFvshVEtfJy8","TAYhjpL8pPs8T84FSM329nffQpc6jD8GBM","TBATDh41qMQ1yeVYecneEvhpfayYmkAQWS","TBcLqqqyZjNj1ptuXFgj5H768NhNU5nDyn","TBwghbQMsBC5xcUxE7ZpYXhfDMXZAfiFv6","TBWRDpQsW1ZVPGGaBAwVLNb7iqmVBuM1nj","TBYRhsZR7Mdn9ezpGVLwZiNVnGm8wZGLAD","TBZefVsyQpzzxc2WSCLbZBECvxVdzGqdtC","TC4VsFHJdZ66BdwobZxkudVZBVmQZgCP65","TC5UNu3LGrjjVCuLNDdVgjm4oL5cQAyFRZ","TC8axQvzJEVR3NKN6mZnJtGy7537GEmh38","TCA7AfTSuDmgYk2VaezfPuZF4Z4X8wxwcQ","TCA9vmjsYw9MtPKEwRBtGhKFRfr4CLxJAv","TCFD8N3vM5b4Gr5f1kkajQsodRVNyyAq1d","TCu5onCzXuqxjvVzdB2tR4FLuF66d4yRqf","TCzq6m2zxnQkrZrf8cqYcK6bbXQYAfWYKC","TDdbRFoBTEmE3qiR69Y6rKRSG1hoF65QaE","TDFtJtyLPgN3oWUoHh23oJox3T5V5nR11K","TDprk9jeYPVm6khkBp1u7fwuyJcEJFrPWD","TDwN1Eq62bqvVhfGAjdRRJjE46jsi5KNMV","TEAqwfMhXLaomXhZ8KeMhx3njGmQEDnsUR","TEcuHDQthTmULe8fFLUccBPpjfXaTmJuuD","TEFph7dZoUN5233cGEzF6XFwRpjPF8fQDS","TFdTr9C3BqQrzKBXqSxJfAZFTh8UwBAfSg","TFFvv7NAWmbcVfA7QN81mMvUC25TWj1WJx","TGckaiamj5NzaYx6Qp6Zu7kahuHArzUo99","TGJVc32ig2u8tQsYMLE7KXHT5NDQroaVNU","TGsNFrgWfbGN2gX25Wcf8oTejtxtQkvmEx","TGUPpmW2bAnMCLe5ih2CFisfCHk4gTFDsx","TH96tFMn8KGiYSLiwcV3E2UiaJc8jmcbz3","THh5woR8qfmDsNknQ3agPYzQSiRtMnKsTh","TL1k1U6SHohxBqb68kCodxHc9y2LXoDSep","TLM3zA3EWycoDX4ZX4gKze7sgfbdkntTum","TLNRT524dzL5FF1nJHDhYEMFpeWjLjRbz1","TLvuvpfBKdxddxSsJefeiGCe9eVY8HUroE","TM6Kix9wH8cYQ4rLpFifsQ4ddH3rPX3f8p","TMGLqRQ4twjW8wJhVH1mQR7nUThpGHUsN3","TMStbg5fgb4uTV7fK1gEYF9hKAzP3siPsG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1XG38Lx9cePcNUCJj5vdWfUWL","0x08723392Ed15743cc38513C4925f5e6be5c17243","0x0931cA4D13BB4ba75D9B7132AB690265D749a5E7","0x098B716B8Aaf21512996dC57EB0615e2383E2f96","0x12de548F79a50D2bd05481C8515C1eF5183666a9","0x175d44451403Edf28469dF03A9280c1197ADb92c","0x1999EF52700c34De7EC2b68a28aAFB37db0C5ade","0x19F8f2B0915Daa12a3f5C9CF01dF9E24D53794F7","0x21B8d56BDA776bbE68655A16895afd96F5534feD","0x35fB6f6DB4fb05e6A4cE86f2C93691425626d4b1","0x38735f03b30FbC022DdD06ABED01F0Ca823C6a94","0x39D908dac893CBCB53Cc86e0ECc369aA4DeF1A29","0x3AD9dB589d201A710Ed237c829c7860Ba86510Fc","0x3CBdeD43EFdAf0FC77b9C55F6fC9988fCC9b757d","0x3Cffd56B47B7b41c56258D9C7731ABaDc360E073","0x3e37627dEAA754090fBFbb8bd226c1CE66D255e9","0x43fa21d92141BA9db43052492E0DeEE5aa5f0A93","0x4F47Bc496083C727c5fbe3CE9CDf2B0f6496270c","0x530A64c0Ce595026a4A556b703644228179E2d57","0x532B77B33A040587e9FD1800088225f99b8B0E8A","0x53b6936513e738f44FB50d2b9476730C0Ab3Bfc1","0x57EC89A0C056163A0314e413320f9B3ABe761259","0x5A7a51bFb49F190e5A6060a5bc6052Ac14a3b59f","0x5D5b5dAfecBF31BDb08bFd3eDad4f2694372d0ef","0x5f48C2A71B2CC96e3F0CCae4E39318Ff0dc375b2","0x6Be0aE71e6c41f2f9D0D1A3B8d0f75E6f6A0b46e","0x797d7Ae72EbddCDea2a346c1834E04d1F8dF102b","0x7CEd75026204aC29C34bEA98905D4C949F27361e","0x7F367cC41522cE07553e823bf3be79A889DEbe1B","0x7FF9cFad3877F21d41Da833E2F775dB0569eE3D9","0x8Dce2aAC0dE82bdCAf6b4373B79f94331b8e4995","0x901bb9583b24D97e995513C6778dc6888AB6870e","0x931546D9e66836AbF687d2bc64B30407bAc8C568","0x961C5Be54a2ffC17CF4Cb021d863c42daCd47Fc1","0x97B1043ABD9E6FC31681635166d430a458D14F9C","0x983a81ca6FB1e441266D2FbcB7D8E530AC2E05A2","0x9C2Bc757B66F24D60F016B6237F8CdD414a879Fa","0x9F4cda013E354b8fC285BF4b9A60460cEe7f7Ea9","0xa0e1c89Ef1a489c9C7dE96311eD5Ce5D32c20E4B","0xA7e5d5A720f06526557c513402f2e6B5fA20b008","0xb338962B92CD818D6aef0A32a9ECD01212a71f33","0xb6f5ec1A0a9cd1526536D3F0426c429529471F40","0xc103B7Dc095c904b92081EEF0C1640081ec01c10","0xc2a3829F459B3Edd87791c74cD45402BA0a20Be3","0xd5ED34b52AC4ab84d8FA8A231a3218bbF01Ed510","0xD8500C631dC32FA18645B7436344a99E4825e10e","0xd882cFc20F52f2599D84b8e8D58C7FB62cfE344b","0xDb2720ebAd55399117ddB4C4a4afd9a4CCAda8fE","0xdcbEfFBECcE100cCE9E4b153C4e15cB885643193","0xE1E4C5e5Ed8F03Ae61b581e2dEf126025F2b9401","0xE3D35f68383732649669aA990832E017340DbcA5","0xE950DC316b836e4EeFb8308bf32Bf7C72a1358FF","0xeD6e0A7e4Ac94D976eeBfB82ccf777A3c6baD921","0xf3701F445b6BDaFeDbcA97D1e477357839e4120D","0xf4377edA661e04B6DDA78969796Ed31658D602D4","0xF7B31119c2682c88d88D455dBb9d5932c65Cf1bE","0xFAC583C0cF07Ea434052c49115a4682172aB6b4F","0xfEC8A60023265364D066a1212fDE3930F6Ae8da7","bc1q2lpgjntr348pfvxhfy33ehmdzy3gmx8w4052z6","bc1q2we5eqjj8je6lz9xwjattpc3pn4jejc5h0s70f","bc1q3q2lz3cmt4u2f49ugxz5q34xrs0m2z4w2gmkp5","bc1q3y5v2khlyvemcz042wl98dzflywr8ghglqws6s","bc1q45cxufu7x6s5v9adzm9t38k80gwawse75xffwe","bc1q4namcagg5wljs0u20z6h2sqgsq4q5lts8rt2rr","bc1q4yzd2rjmshm8ucrwy6dzj5rna20j0zlf8hf8vz","bc1q5jqgm7nvrhaw2rh2vk0dk8e4gg5g373g0vz07r","bc1q8ew45w2agdffrnwp6adt2gqrc9n4mkev9ns29c","bc1q9lvynkfpaw330uhqmunzdz6gmafsvapv7y3zty","bc1qagp0gy58v8hqvw4p2wsphcxg067rrppp45hexr","bc1qardcxz845jw83vgfvcmewhuxa0ag9gchjwmcfd","bc1qdpazd6smrkq5hmw6lupq98za2fqtgmq3azv3av","bc1qdt3gml5z5n50y5hm04u2yjdphefkm0fl2zdj68","bc1qeth6n6ryxexvkx34wnx3nuynun4474h3j0gkhw","bc1qfg4gfg0y6t6xjnpmlhuwx5k0wlw6nmfzxn2psc","bc1qj2ffj6pepc80sfqpx2k2pd3q278q72dpqv2ens","bc1qjwr3rgww7a8ut7a4x8jqh3vswcue3xvp6dm7qe","bc1ql7dlyh8xz6tpqk92vztrhqh88dmjvcwrmsemrm","bc1qmzmx8res2fgzd2wttyvf2ajqqqtcnxxrgkqc2t","bc1qn6segn8km4nfdp9vueu6msfjsaxaqgun9h60n9","bc1qnujzvts45qka3cr2eqqw8ur3q6g6s0ze2wlk5m","bc1qnykkrlk67f9kdqvzyw2ndu3xmef5z2e52886yl","bc1qpaly5nm7pfka9v92d6qvl4fc2l9xzee8a6ys3s","bc1qsxf77cvwcd6jv6j8d8j3uhh4g0xqw4meswmwuc","bc1qtdupwe722vcc5e0vh94cgwfs0ep4gzwyfsf75q","bc1qte9ret332gwrk6e7vqc87d807npzvdj5savg4h","bc1qtrrfhr0f3ufsrjxfv8a7p3yuqj0spe4cm6vaws","bc1qtsl3ufenrv3zgrgm9z8xarcx22x8mfztuartyn","bc1qu5vngdtcx8nc9d68pq8nv7pzcjrswsy87s66gk","bc1qv4krhj2qmpd9qz9xj9nhvj99fq8s9xsw05d485","bc1qv7k70u2zynvem59u88ctdlaw7hc735d8xep9rq","bc1qvhnfknw852ephxyc5hm4q520zmvf9maphetc9z","bc1qvxlwpgcw260sc97a0u6dm0cjxv027clhd67fvx","bc1qw4cxpe6sxa5dg6sdwxjph959cw6yztrzl4r54s","bc1qw4fxztd5u3sl7vrcqwk2a8v5zh5dllvckx3tlt","bc1qw8evftpgc8wsmkemd8yl5fg2husza5z802xaym","bc1qwtswqzvaxl6lyw3keqqzwt8z937psta3wg9sjy","bc1qwz0l2ceddckwdy5rh6zyrm3x4ha6gn5f2da5zg","bc1qx3e2axj3wsfn0ndtvlwmkghmmgm4583nqg8ngk","bc1qx9upga7f09tsetqf78wa3qrmcjar58mkwz6ng6","bc1qyqvyupkpl6tm60zdecef925y220ssjuagpxsm0","bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23","qpf2cphc5dkuclkqur7lhj2yuqq9pk3hmukle77vhq","qzjv8hrdvz6edu4gkzpnd4w6jc7zf296g5e9kkq4lx","42RLPACwZPx3vYYmxSueqsogfynBDqXK298EDsNoyoHi","bc1q86tl9255vg5wldamfymaaz36uqxzm30gs7fhkljvzdlt9t38s3lqgdwdfq","bc1q90zrdysy4flyacw7hsury3ajs9yzwtwp6guqpypx94w0d3p58hysvz6pde","bc1qkfqh5p2qsakseg5gnwen6zh5xf3elmku2xaup29mw3l0wnncy3es880dss","bc1qq7p0es3dv5hcynjjf40f2xjjr6qp5py47d2f6n847vduuq9gvnyq7y9ecd","bc1qw7vfgv3r5vnehafl0y95sclg3uqsj87wxs9ad628yjjcq33cwessr6ndyw","5be5543ff73456ab9f2d207887e2af87322c651ea1a873c5b25b7ffae456c320","49HqitRzdnhYjgTEAhgGpCfsjdTeMbUTU6cyR4JV1R7k2Eej9rGT8JpFiYDa4tZM6RZiFrHmMzgSrhHEqpDYKBe5B2ufNsL","884Bz8UH63aYsjVdkfWfScRYWZGGNbjFL7pztqvWNSrtYT4reFSwyvkCj9KEGUtheHhhMUj87ciTBFyzoesrMJ4L1FvSoxL"])),v3=e=>!e||!x.config.chains[e]?"Select a source chain":"",U3=(e,t)=>{if(!e||!x.config.chains[e])return"Select a destination chain";if(t&&e===t&&!x.config.routes.isSameChainSwapSupported(e))return"Source chain and destination chain cannot be the same";if(x.config.ui.defaultInputs&&x.config.ui.defaultInputs.requiredChain&&e&&t){const{requiredChain:i}=x.config.ui.defaultInputs,r=x.config.chains[i];if(r&&e!==i&&t!==i)return`Must select ${r.displayName} as either the source or destination chain`}return""},Y3=(e,t)=>e&&b.units(e)===0n?"Amount must be greater than 0":"",R3=e=>$o.has(e)||$o.has("0x"+e),b1=async(e,t)=>{if(!e.address)return"Wallet not connected";try{if(R3(e.address))return"This address is restricted, bridging is not available"}catch(i){console.error(i)}if(e.currentAddress&&e.currentAddress!==e.address)return"Switch to connected wallet";const n=we.walletAcceptedChains(e.type);return t&&!n.includes(t)?`Connected wallet is not supported for ${t}`:""},_3=(e,t)=>e<0?"Amount must be equal to or greater than zero":t&&e>t?"Amount exceeds maximum amount":"",Q3=e=>{if(!e)return!1;const t=x.config.routes.get(e);return t?t.AUTOMATIC_DEPOSIT:!1},P3=async(e,t,n)=>{const{fromChain:i,toChain:r,amount:s,route:a}=e,{maxSwapAmt:c,toNativeToken:u}=t,{sending:l,receiving:M}=n,g=Q3(a),N={sendingWallet:await b1(l,i),receivingWallet:await b1(M,r),fromChain:v3(i),toChain:U3(r,i),amount:Y3(s),toNativeToken:"",relayerFee:"",receiveAmount:""};return g?a==="AutomaticNtt"?N:{...N,toNativeToken:_3(u,c)}:N},l2=e=>{for(const t of Object.values(e))if(t)return!1;return!0},M2=async({transferInput:e,relay:t,wallet:n},i,r)=>{const s=await P3(e,t,n),a=n.sending.address&&n.receiving.address&&e.fromChain&&e.toChain&&e.token&&e.destToken&&e.amount;r()||i(X4({validations:s,showValidationState:!!a}))},B3=250,Z3=()=>{const e=tt(),t=Ae(a=>a.transferInput),n=Ae(a=>a.relay),i=Ae(a=>a.wallet),r=I.useMemo(()=>({transferInput:t,relay:n,wallet:i}),[t,n,i]),[s]=Il(r,B3);I.useEffect(()=>{let a=!1;return M2(s,e,()=>a),()=>{a=!0}},[s,e])},Hs=(e,t)=>{const n=e.toString().padStart(2,"0"),i=t.toString().padStart(2,"0");return`${n}:${i}`},W3=e=>{const t=Math.floor(e/6e4),n=Math.floor(e%6e4/1e3);return Hs(t,n)};class pi{_chain;_chainContextV2;_address;_walletType;_walletProvider;constructor(t,n,i,r,s){this._chain=t,this._chainContextV2=n,this._address=i,this._walletType=r,this._walletProvider=s}static async fromChain(t,n,i,r){const a=(await x.getWormholeContextV2()).getPlatform(b.chainToPlatform(t)).getChain(t);return new pi(t,a,n,i,r)}static async fromPrivateKey(t){const r=(await x.getWormholeContextV2()).getPlatform(b.chainToPlatform(t)).getChain(t).platform.utils()._platform;switch(r){case"Evm":throw new Error("Missing Ethereum private key");case"Solana":throw new Error("Missing Solana private key");case"Sui":throw new Error("Missing Sui private key");default:throw new Error(`Unrecognized platform: ${r}`)}}async signAndSend(t){const n=[],i=this._walletProvider.getWallet(this._chain,this._walletType);if(!i)throw new Error(`No ${this._walletType} wallet available for ${this._chain}`);for(const r of t){const s=await this._walletProvider.signAndSendTransaction(this._chain,i,r);n.push(s)}return n}chain(){return this._chainContextV2.chain}address(){return this._address}provider(){return this._walletProvider}}const F3=300*1e3,Ar={},d2=new Set,g2=(e,t)=>`${t.chain}:${e}:${t.addressString}`,H3=(e,t)=>{const n=g2(e.address,t),i=Ar[n],r=Date.now();return i&&i.lastUpdated>r-F3?i:null},Pi=(e,t,n)=>{const i=g2(e.address,t);Ar[i]={balance:n,lastUpdated:Date.now()}},O1=(e,t)=>{d2.add(`${e}:${t}`)},G3=(e,t)=>d2.has(`${e}:${t}`),f2=(e,t)=>{for(const n in Ar)n.startsWith(`${t}:${e.address}`)&&delete Ar[n]},V3=e=>{const t=tt(),[n,i]=I.useState(void 0),[r,s]=I.useState(void 0),[a,c]=I.useState(void 0),u=I.useContext(En),{walletProvider:l}=ln(),M=Ae(k=>k.transferInput),{amount:g,fromChain:N,toChain:y,route:T,validations:d}=M,{sourceToken:f,destToken:C}=zn(),m=Ae(k=>k.wallet),{sending:h,receiving:D}=m,j=Ae(k=>k.relay),{toNativeToken:L}=j,p=e.quotes[T??""],S=p?.success?p:void 0,w=S?.destinationNativeGas,z=c2();return I.useEffect(()=>{n&&(i(void 0),s(void 0)),a&&c(void 0)},[N,f?.key,y,C?.key,g,T]),{onConfirm:async()=>{if(n&&i(void 0),x.config.ui.previewMode){i("Connect is in preview mode");return}if(!N||!f||!y||!C||!g||!T||!S||(await M2({transferInput:M,relay:j,wallet:m},t,()=>!1),!l2(d)||!T))return;const v=Ws(T,f,C,N,y,g,z);if(x.config.validateTransfer)try{const{isValid:Q,error:P}=await x.config.validateTransfer({...v,fromWalletAddress:h.address,toWalletAddress:D.address});if(!Q){i(P??"Transfer validation failed");return}}catch(Q){i("Error validating transfer"),s(Q),console.error(Q);return}t(L1(!0));try{x.config.triggerEvent({type:"transfer.initiate",details:v});let Q;x.config.ui.testOptions?.enableHeadlessSigner?Q=await pi.fromPrivateKey(N):Q=await pi.fromChain(N,h.address,we.TransferWallet.SENDING,l);const[P,Z]=await x.config.routes.execute(T,f,g,N,Q,y,h.address,D.address,C,{nativeGas:L});f2(h,N);const O="originTxs"in Z?Z.originTxs[Z.originTxs.length-1].txid:void 0;if(x.config.triggerEvent({type:"transfer.start",details:{...v,txId:O}}),!O)throw new Error("Can't find txid in receipt");let H;if(S.relayFee){const{token:A,amount:Y}=S.relayFee,E=x.config.tokens.get(A);H={fee:Number.parseFloat(S3(Y.amount,Y.decimals,6)),token:E?.tuple}}const $=Date.now(),_={sendTx:O,sender:h.address,amount:g,recipient:D.address,toChain:Z.to,fromChain:Z.from,receivedToken:C.tuple,token:f.tuple,tokenAddress:f.tuple[1],tokenKey:f.key,tokenDecimals:f.decimals,relayerFee:H,receiveAmount:S.destinationToken.amount,receiveNativeAmount:w,eta:S.eta||0};O3({txDetails:_,txHash:O,timestamp:$,receipt:Z,route:T}),t(z0($)),t(Rs(_)),t(yn("")),u.setRoute(P),u.setReceipt(Z),t(Y4(O)),t(_s(T)),t(Bt("redeem")),i(void 0)}catch(Q){const[P,Z]=x.interpretTransferError(Q,v,"send");Z.type===x.ERR_USER_REJECTED?c(P):(console.error("Wormhole Connect: error completing transfer",Q),i(P),s(Q),x.config.triggerEvent({type:"transfer.error",error:Z,details:v}))}finally{t(L1(!1))}},error:n,errorInternal:r,info:a}};async function k1(e,t,n){const{batchSize:i,delayMs:r,maxItems:s}=n,a=s?e.slice(0,s):e,c=[];for(let u=0;u<a.length;u+=i){const l=a.slice(u,u+i),M=await Promise.all(l.map(t));c.push(...M),u+i<a.length&&await x.sleep(r)}return c}const v1=5,U1=100,J3=100,ii=(e,t)=>`${e}-${t.address}`,q3=({source:e,destination:t})=>{const[n,i]=I.useState({}),[r,s]=I.useState(new Set),{getOrFetchToken:a}=ft(),c=I.useRef(new Set),u=I.useCallback(async(d,f,C,m,h)=>{const D=Object.entries(d).filter(([L,p])=>p!==null&&p>1n).sort(([,L],[,p])=>{const S=L??0n,w=p??0n;return S>w?-1:S<w?1:0}),j=[];for(const[L,p]of D){if(p===null)continue;const S=x.config.tokens.get(f,L);if(S){const w=b.fromBaseUnits(p,S.decimals),z={balance:w,lastUpdated:Date.now()};m[S.key]=z,Pi(C,S,w)}else G3(f,L)||j.push([L,p])}j.length>0&&await k1(j,async([L,p])=>{try{const S=await a(b.Wormhole.tokenId(f,L));if(S){const w=b.fromBaseUnits(p,S.decimals),z={balance:w,lastUpdated:Date.now()};m[S.key]=z,Pi(C,S,w)}else O1(f,L)}catch(S){console.error(`Failed to fetch token metadata for ${L}:`,S),O1(f,L)}},{batchSize:v1,delayMs:U1,maxItems:J3});for(const L of h)if(m[L.key]===void 0){const p=b.fromBaseUnits(0n,L.decimals);m[L.key]={balance:p,lastUpdated:Date.now()},Pi(C,L,p)}},[a]),l=I.useCallback(async(d,f,C)=>{const m=x.config.chains[d];if(d==="HyperCore")return{};if(!m||b.chainToPlatform(m.sdkName)!==f.type)return{};const h={},D=[];for(const z of C){const U=H3(f,z);U?h[z.key]=U:D.push(z)}if(D.length===0)return h;const j=await x.getWormholeContextV2(),L=b.chainToPlatform(d),p=j.getPlatform(L),S=p.getRpc(d),w=p.utils();if(b.supportsIndexerUtils(w)&&(L!=="Evm"||x.config.evmIndexers&&(x.config.evmIndexers.alchemy||x.config.evmIndexers.goldRush)))try{const U=await w.getBalances(x.config.network,d,S,f.address,L==="Evm"?x.config.evmIndexers:void 0);return await u(U,d,f,h,D),h}catch(U){console.error(`Error calling getBalances on ${d}:`,U)}return await k1(D,async z=>{try{const U=await w.getBalance(x.config.network,d,S,f.address,z.address),k=b.fromBaseUnits(U??0n,z.decimals);h[z.key]={balance:k,lastUpdated:Date.now()},Pi(f,z,k)}catch(U){console.error(`Failed to fetch balance for token ${z.key}`,U)}},{batchSize:v1,delayMs:U1}),h},[u]);I.useEffect(()=>{const d=new Set;if(e&&d.add(ii(e.chain,e.wallet)),t&&d.add(ii(t.chain,t.wallet)),c.current=d,s(C=>{const m=new Set(C);for(const h of C)d.has(h)||m.delete(h);return m}),d.size===0)return;(async()=>{const C=[];e&&C.push(e),t&&C.push(t),s(new Set(d));try{const m=await Promise.all(C.map(async h=>{const D=ii(h.chain,h.wallet);if(!c.current.has(D))return{key:D,balances:{}};const j=await l(h.chain,h.wallet,h.tokens);return{key:D,balances:j}}));i(h=>{const D={...h};for(const{key:j,balances:L}of m)c.current.has(j)&&Object.keys(L).length>0&&(D[j]=L);for(const j in D)c.current.has(j)||delete D[j];return D})}finally{s(m=>{const h=new Set(m);for(const D of d)h.delete(D);return h})}})()},[e?.chain,e?.wallet?.address,t?.chain,t?.wallet?.address]);const M=e?ii(e.chain,e.wallet):null,g=t?ii(t.chain,t.wallet):null,N=I.useMemo(()=>({balances:M?n[M]||{}:{}}),[n,M]),y=I.useMemo(()=>({balances:g?n[g]||{}:{}}),[n,g]);return{isFetching:r.size>0,source:N,destination:y}},X3=({sendingWallet:e,receivingWallet:t,sourceChain:n,destChain:i,routes:r})=>I.useMemo(()=>{if(r.length===1&&r[0]==="ManualCCTP"){const a=["Petra","Pontem Wallet","Nightly","Continue with Google","Continue with Apple"];if(n==="Aptos"&&!a.includes(e.name)||i==="Aptos"&&!a.includes(t.name))return{isCompatible:!1,warning:"Please use a compatible wallet for this route."}}return{isCompatible:!0}},[e,t,n,i,r]);function h2(e,t,n,i){const{connectWallet:r,swapWallets:s}=ln(),[a,c]=I.useState(!1),u=I.useRef(void 0),l=I.useRef(void 0),M=I.useRef(void 0),g=I.useRef(void 0);return I.useEffect(()=>{const N=e!==u.current,y=t!==l.current,T=n?.address!==M.current?.address,d=i?.address!==g.current?.address,f=N&&y&&e===l.current&&t===u.current;if(u.current=e,l.current=t,M.current=n,g.current=i,f){s();return}const C=N||d&&i?.address&&!n?.address,m=y||T&&n?.address&&!i?.address;if(!C&&!m)return;let h=!1;async function D(){if(c(!0),C&&e&&!h)try{await r(e,we.TransferWallet.SENDING,!0)}catch{}if(m&&t&&!h)try{await r(t,we.TransferWallet.RECEIVING,!0)}catch{}h||c(!1)}return D(),()=>{h=!0}},[e,t,n,i,s,r]),{isConnecting:a}}function $3({route:e,destChain:t,receivingWalletAddress:n,destinationBalances:i,hasUserManuallyChangedGas:r,currentToNativeToken:s,isFetchingBalances:a,allowedChains:c}){const u=tt();I.useEffect(()=>{if(!e||!x.isExecutorRoute(e)||!t||!n||r||!c||c.length===0||!c.includes(t))return;const l=x.config.tokens.getGasToken(t);if(!l)return;if(a){s!==0&&u(Ot(0));return}const M=i[l.key],N=M?.balance&&b.units(M.balance)>0n?0:1;N!==s&&u(Ot(N))},[e,t,i,n,r,s,a,c,u])}function K3(e){const t=We.useTheme(),n=I.useMemo(()=>({separator:{display:"flex",paddingLeft:t.spacing(1),paddingRight:t.spacing(1)}}),[t]);return o.jsx(he,{sx:n.separator,children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 27 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{fill:e.color,d:"M24.536 37.864C22.376 37.72 20.6 37.288 18.728 35.416C17.432 36.328 15.416 37.432 12.008 37.432H11.624C5.096 37.432 0.632 33.832 0.632 27.64V26.824C0.632 22.024 3.608 19.528 6.68 17.464C4.808 14.392 3.176 11.848 3.176 8.632V8.056C3.176 3.832 5.72 0.951998 11.336 0.951998H12.104C18.008 0.951998 20.024 4.072 20.024 8.056V8.248C20.024 12.136 17.864 14.92 13.64 17.992L19.016 26.728C19.448 23.992 19.688 20.872 19.688 16.6H25.448C25.4 21.784 24.536 26.872 22.616 31.24C24.2 32.392 25.592 32.392 26.888 32.536L24.536 37.864ZM9.224 8.392C9.224 10.168 9.848 11.8 11.432 14.44C13.496 11.992 14.072 10.696 14.072 8.632V8.44C14.072 6.184 13.208 5.464 11.672 5.464C10.088 5.464 9.224 6.232 9.224 8.296V8.392ZM12.632 32.536C14.024 32.536 15.032 32.248 15.848 31.72L9.032 21.16C7.928 22.456 6.824 23.896 6.824 26.344V26.584C6.824 30.04 9.032 32.536 12.632 32.536Z"})})})}function Y1(e){return o.jsxs(he,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"4px",width:"fit-content"},children:[o.jsx(Me,{fontSize:"12px",sx:{opacity:.6},children:"Powered by"}),o.jsx(As,{href:"https://wormhole.com/products/connect",paddingBottom:"2px",target:"_blank",children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"78",height:"8",viewBox:"0 0 78 8",fill:"none",children:[o.jsxs("g",{clipPath:"url(#icons_poweredBy_clipPath_0)",children:[o.jsx("path",{d:"M58.9654 0.5H55.3552C53.9676 0.5 52.8438 1.59108 52.8438 2.93817V5.06183C52.8438 6.40892 53.9676 7.5 55.3552 7.5H59.0508V7.49634C60.3982 7.45246 61.4769 6.38088 61.4769 5.06183V2.93817C61.4769 1.59108 60.353 0.5 58.9654 0.5ZM58.5762 6.33699H55.7445V1.66301H58.5762V6.33699Z",fill:e.color}),o.jsx("path",{d:"M18.8612 0.5H15.251C13.8634 0.5 12.7395 1.59108 12.7395 2.93817V5.06183C12.7395 6.40892 13.8634 7.5 15.251 7.5H18.9466V7.49634C20.294 7.45246 21.3726 6.38088 21.3726 5.06183V2.93817C21.3726 1.59108 20.2488 0.5 18.8612 0.5ZM18.4719 6.33699H15.6402V1.66301H18.4719V6.33699Z",fill:e.color}),o.jsx("path",{d:"M39.0683 1.71909L36.9713 5.24469V0.5H35.5184C34.6206 0.5 33.7918 0.964472 33.3435 1.71909L30.3046 6.82828L28.9673 4.58029C29.9279 4.56931 30.7039 3.80982 30.7039 2.87478V2.20672C30.7039 1.26437 29.9166 0.5 28.9459 0.5H22.0708V7.5H24.9715V4.5815H25.6195L27.3549 7.5H31.2452L34.0705 2.748V7.5H36.9713V7.49756L39.7841 2.7675V7.5H42.6848V0.5H41.242C40.3442 0.5 39.5154 0.964472 39.0671 1.71909H39.0683ZM27.8032 3.4185H24.9715V1.66301H27.8032V3.4185Z",fill:e.color}),o.jsx("path",{d:"M49.2273 3.4185H46.3956V0.5H43.4949V7.5H46.3956V4.5815H49.2273V7.5H52.128V0.5H49.2273V3.4185Z",fill:e.color}),o.jsx("path",{d:"M65.0934 0.5H62.1926V5.06183C62.1926 6.40892 63.3165 7.5 64.7041 7.5H68.8379V6.33699H65.0934V0.5Z",fill:e.color}),o.jsx("path",{d:"M77.5001 1.66301V0.5H72.4847H69.584V1.66301V3.4185V4.5815V6.33699V7.5H72.4847H77.5001V6.33699H72.4847V4.5815H76.4541V3.4185H72.4847V1.66301H77.5001Z",fill:e.color}),o.jsx("path",{d:"M11.9409 0.5L9.11555 5.252V0.5H6.21482V0.502438L3.40199 5.2325V0.5H0.5V7.5H1.94283C2.84068 7.5 3.66946 7.03553 4.11775 6.28091L6.21482 2.75531V7.5H7.6677C8.56554 7.5 9.39432 7.03553 9.84262 6.28091L13.2808 0.5H11.9409Z",fill:e.color})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_poweredBy_clipPath_0",children:o.jsx("rect",{width:"77",height:"7",fill:e.color,transform:"translate(0.5 0.5)"})})})]})})]})}function e5(e){const t=We.useTheme(),n=I.useMemo(()=>({partnerLogo:{maxHeight:t.spacing(3)}}),[t]);return o.jsx("img",{src:e.src,alt:"partner",style:n.partnerLogo})}function j2(e){const t={container:{display:"flex",justifyContent:"center",alignContent:"center",alignItems:"center",flexDirection:"row",maxWidth:"100%",flexWrap:"wrap",gap:"20px 4px",mt:"12px"}};return o.jsx(he,{sx:t.container,children:x.config.ui.partnerLogo?o.jsxs(o.Fragment,{children:[o.jsx(Y1,{color:e.color}),o.jsx(K3,{color:e.color}),o.jsx(e5,{src:x.config.ui.partnerLogo})]}):o.jsx(Y1,{color:e.color})})}const R1=(e,t,n)=>{if(t&&x.isSameToken(t,e))return 5;if(n&&e.symbol===n.symbol&&!e.isTokenBridgeWrappedToken)return 4;if(b.isNative(e.addressString))return 3;const i=b.usdcContract.get(x.config.network,e.chain);return i&&e.addressString===i?2:e.isTokenBridgeWrappedToken?0:1},_1=(e,t,n)=>{const i=t[x.tokenKey(e)];return!i||!i.balance||i.balance.amount==="0"?0:x.calculateUSDPriceRaw(n,i.balance,e)??0},t5=(e,t,n)=>{if(!t)return[...e];const i=[...e];let r=[];const s=x.config.tokens.get(n.sdkName,t);s&&r.push(s);const a=x.config.tokens.queryBySymbol(n.sdkName,t).filter(c=>!x.isFrankensteinToken(c,n.sdkName));a.length>0&&(r=r.concat(a));for(const c of r)e.find(u=>x.isSameToken(c,u))||i.push(c);return i},n5=(e,t,n,i,r)=>e.sort((s,a)=>{const c=R1(s,t,r),u=R1(a,t,r);if(c>u)return-1;if(u>c)return 1;const l=_1(s,n,i),M=_1(a,n,i);return l!==M?M-l:s.symbol.localeCompare(a.symbol)}),Ko=(e,t)=>{if(!x.config.tokenWhitelist||x.config.tokenWhitelist.length===0)return e;const n=new Set,i=[];for(const r of x.config.tokenWhitelist)if(typeof r=="string")i.push(r);else if(x.isTokenTuple(r)){const s=x.tokenIdFromTuple(r);s.chain===t.sdkName&&n.add(s.address.toString())}for(const r of i){let s=!1;const a=[];for(const c of e)c.symbol===r&&(c.isTokenBridgeWrappedToken?a.push(c):(n.add(c.address.toString()),s=!0));if(!s&&a.length>0){for(const{address:c}of a)n.add(c.toString());a.length>1&&console.warn(`Ambiguous token whitelist item "${r}"; found ${a.length} matching wrapped tokens.`)}}return e.filter(r=>n.has(r.address.toString()))},i5=(e,t,n)=>{const i=x.config.isTokenSupportedHandler;if(!i)return e;const r=n?"source":"destination";return e.filter(s=>i(s,t,r))},r5=e=>e.filter(t=>{const n=t.isNativeGasToken||t.isBuiltin||t.coingeckoWebId||t.isTokenBridgeWrappedToken||x.isNttToken(t);return n||console.debug("Filtering out token for likely being spam",t),n});var vn={},Jr,Q1;function o5(){return Q1||(Q1=1,Jr=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Jr}var qr={},qt={},P1;function bn(){if(P1)return qt;P1=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return qt.getSymbolSize=function(i){if(!i)throw new Error('"version" cannot be null or undefined');if(i<1||i>40)throw new Error('"version" should be in range from 1 to 40');return i*4+17},qt.getSymbolTotalCodewords=function(i){return t[i]},qt.getBCHDigit=function(n){let i=0;for(;n!==0;)i++,n>>>=1;return i},qt.setToSJISFunction=function(i){if(typeof i!="function")throw new Error('"toSJISFunc" is not a valid function.');e=i},qt.isKanjiModeEnabled=function(){return typeof e<"u"},qt.toSJIS=function(i){return e(i)},qt}var Xr={},B1;function Gs(){return B1||(B1=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(i){return i&&typeof i.bit<"u"&&i.bit>=0&&i.bit<4},e.from=function(i,r){if(e.isValid(i))return i;try{return t(i)}catch{return r}}})(Xr)),Xr}var $r,Z1;function s5(){if(Z1)return $r;Z1=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let i=0;i<n;i++)this.putBit((t>>>n-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},$r=e,$r}var Kr,W1;function a5(){if(W1)return Kr;W1=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,i,r){const s=t*this.size+n;this.data[s]=i,r&&(this.reservedBit[s]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,i){this.data[t*this.size+n]^=i},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},Kr=e,Kr}var eo={},F1;function c5(){return F1||(F1=1,(function(e){const t=bn().getSymbolSize;e.getRowColCoords=function(i){if(i===1)return[];const r=Math.floor(i/7)+2,s=t(i),a=s===145?26:Math.ceil((s-13)/(2*r-2))*2,c=[s-7];for(let u=1;u<r-1;u++)c[u]=c[u-1]-a;return c.push(6),c.reverse()},e.getPositions=function(i){const r=[],s=e.getRowColCoords(i),a=s.length;for(let c=0;c<a;c++)for(let u=0;u<a;u++)c===0&&u===0||c===0&&u===a-1||c===a-1&&u===0||r.push([s[c],s[u]]);return r}})(eo)),eo}var to={},H1;function u5(){if(H1)return to;H1=1;const e=bn().getSymbolSize,t=7;return to.getPositions=function(i){const r=e(i);return[[0,0],[r-t,0],[0,r-t]]},to}var no={},G1;function l5(){return G1||(G1=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(r){return r!=null&&r!==""&&!isNaN(r)&&r>=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const s=r.size;let a=0,c=0,u=0,l=null,M=null;for(let g=0;g<s;g++){c=u=0,l=M=null;for(let N=0;N<s;N++){let y=r.get(g,N);y===l?c++:(c>=5&&(a+=t.N1+(c-5)),l=y,c=1),y=r.get(N,g),y===M?u++:(u>=5&&(a+=t.N1+(u-5)),M=y,u=1)}c>=5&&(a+=t.N1+(c-5)),u>=5&&(a+=t.N1+(u-5))}return a},e.getPenaltyN2=function(r){const s=r.size;let a=0;for(let c=0;c<s-1;c++)for(let u=0;u<s-1;u++){const l=r.get(c,u)+r.get(c,u+1)+r.get(c+1,u)+r.get(c+1,u+1);(l===4||l===0)&&a++}return a*t.N2},e.getPenaltyN3=function(r){const s=r.size;let a=0,c=0,u=0;for(let l=0;l<s;l++){c=u=0;for(let M=0;M<s;M++)c=c<<1&2047|r.get(l,M),M>=10&&(c===1488||c===93)&&a++,u=u<<1&2047|r.get(M,l),M>=10&&(u===1488||u===93)&&a++}return a*t.N3},e.getPenaltyN4=function(r){let s=0;const a=r.data.length;for(let u=0;u<a;u++)s+=r.data[u];return Math.abs(Math.ceil(s*100/a/5)-10)*t.N4};function n(i,r,s){switch(i){case e.Patterns.PATTERN000:return(r+s)%2===0;case e.Patterns.PATTERN001:return r%2===0;case e.Patterns.PATTERN010:return s%3===0;case e.Patterns.PATTERN011:return(r+s)%3===0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(s/3))%2===0;case e.Patterns.PATTERN101:return r*s%2+r*s%3===0;case e.Patterns.PATTERN110:return(r*s%2+r*s%3)%2===0;case e.Patterns.PATTERN111:return(r*s%3+(r+s)%2)%2===0;default:throw new Error("bad maskPattern:"+i)}}e.applyMask=function(r,s){const a=s.size;for(let c=0;c<a;c++)for(let u=0;u<a;u++)s.isReserved(u,c)||s.xor(u,c,n(r,u,c))},e.getBestMask=function(r,s){const a=Object.keys(e.Patterns).length;let c=0,u=1/0;for(let l=0;l<a;l++){s(l),e.applyMask(l,r);const M=e.getPenaltyN1(r)+e.getPenaltyN2(r)+e.getPenaltyN3(r)+e.getPenaltyN4(r);e.applyMask(l,r),M<u&&(u=M,c=l)}return c}})(no)),no}var Bi={},V1;function N2(){if(V1)return Bi;V1=1;const e=Gs(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Bi.getBlocksCount=function(r,s){switch(s){case e.L:return t[(r-1)*4+0];case e.M:return t[(r-1)*4+1];case e.Q:return t[(r-1)*4+2];case e.H:return t[(r-1)*4+3];default:return}},Bi.getTotalCodewordsCount=function(r,s){switch(s){case e.L:return n[(r-1)*4+0];case e.M:return n[(r-1)*4+1];case e.Q:return n[(r-1)*4+2];case e.H:return n[(r-1)*4+3];default:return}},Bi}var io={},ri={},J1;function M5(){if(J1)return ri;J1=1;const e=new Uint8Array(512),t=new Uint8Array(256);return(function(){let i=1;for(let r=0;r<255;r++)e[r]=i,t[i]=r,i<<=1,i&256&&(i^=285);for(let r=255;r<512;r++)e[r]=e[r-255]})(),ri.log=function(i){if(i<1)throw new Error("log("+i+")");return t[i]},ri.exp=function(i){return e[i]},ri.mul=function(i,r){return i===0||r===0?0:e[t[i]+t[r]]},ri}var q1;function d5(){return q1||(q1=1,(function(e){const t=M5();e.mul=function(i,r){const s=new Uint8Array(i.length+r.length-1);for(let a=0;a<i.length;a++)for(let c=0;c<r.length;c++)s[a+c]^=t.mul(i[a],r[c]);return s},e.mod=function(i,r){let s=new Uint8Array(i);for(;s.length-r.length>=0;){const a=s[0];for(let u=0;u<r.length;u++)s[u]^=t.mul(r[u],a);let c=0;for(;c<s.length&&s[c]===0;)c++;s=s.slice(c)}return s},e.generateECPolynomial=function(i){let r=new Uint8Array([1]);for(let s=0;s<i;s++)r=e.mul(r,new Uint8Array([1,t.exp(s)]));return r}})(io)),io}var ro,X1;function g5(){if(X1)return ro;X1=1;const e=d5();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(i){this.degree=i,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(i){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(i.length+this.degree);r.set(i);const s=e.mod(r,this.genPoly),a=this.degree-s.length;if(a>0){const c=new Uint8Array(this.degree);return c.set(s,a),c}return s},ro=t,ro}var oo={},so={},ao={},$1;function y2(){return $1||($1=1,ao.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),ao}var Rt={},K1;function I2(){if(K1)return Rt;K1=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
26
|
-
]))+`;Rt.KANJI=new RegExp(n,"g"),Rt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Rt.BYTE=new RegExp(i,"g"),Rt.NUMERIC=new RegExp(e,"g"),Rt.ALPHANUMERIC=new RegExp(t,"g");const r=new RegExp("^"+n+"$"),s=new RegExp("^"+e+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Rt.testKanji=function(u){return r.test(u)},Rt.testNumeric=function(u){return s.test(u)},Rt.testAlphanumeric=function(u){return a.test(u)},Rt}var ea;function On(){return ea||(ea=1,(function(e){const t=
|
|
27
|
-
Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),i.put(s,13)}},fo=n,fo}var aa;function
|
|
28
|
-
Suggested mode is: `+t.toString(D));switch(h===t.KANJI&&!c.isKanjiModeEnabled()&&(h=t.BYTE),h){case t.NUMERIC:return new n(C);case t.ALPHANUMERIC:return new i(C);case t.KANJI:return new s(C);case t.BYTE:return new r(C)}}e.fromArray=function(m){return m.reduce(function(h,D){return typeof D=="string"?h.push(f(D,null)):D.data&&h.push(f(D.data,D.mode)),h},[])},e.fromString=function(m,h){const D=g(m,c.isKanjiModeEnabled()),j=T(D),L=d(j,h),p=u.find_path(L.map,"start","end"),S=[];for(let w=1;w<p.length-1;w++)S.push(L.table[p[w]].node);return e.fromArray(y(S))},e.rawSplit=function(m){return e.fromArray(g(m,c.isKanjiModeEnabled()))}})(uo)),uo}var ca;function
|
|
25
|
+
*/var Wn=9e15,Mn=1e9,Ho="0123456789abcdef",pr="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Dr="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Go={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Wn,maxE:Wn,crypto:!1},G0,Ht,xe=!0,Yr="[DecimalError] ",un=Yr+"Invalid argument: ",V0=Yr+"Precision limit exceeded",J0=Yr+"crypto unavailable",q0="[object Decimal]",gt=Math.floor,Ke=Math.pow,El=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,zl=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,bl=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,X0=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,kt=1e7,Le=7,Ol=9007199254740991,kl=pr.length-1,Vo=Dr.length-1,re={toStringTag:q0};re.absoluteValue=re.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),je(e)};re.ceil=function(){return je(new this.constructor(this),this.e+1,2)};re.clampedTo=re.clamp=function(e,t){var n,i=this,r=i.constructor;if(e=new r(e),t=new r(t),!e.s||!t.s)return new r(NaN);if(e.gt(t))throw Error(un+t);return n=i.cmp(e),n<0?e:i.cmp(t)>0?t:new r(i)};re.comparedTo=re.cmp=function(e){var t,n,i,r,s=this,a=s.d,c=(e=new s.constructor(e)).d,u=s.s,l=e.s;if(!a||!c)return!u||!l?NaN:u!==l?u:a===c?0:!a^u<0?1:-1;if(!a[0]||!c[0])return a[0]?u:c[0]?-l:0;if(u!==l)return u;if(s.e!==e.e)return s.e>e.e^u<0?1:-1;for(i=a.length,r=c.length,t=0,n=i<r?i:r;t<n;++t)if(a[t]!==c[t])return a[t]>c[t]^u<0?1:-1;return i===r?0:i>r^u<0?1:-1};re.cosine=re.cos=function(){var e,t,n=this,i=n.constructor;return n.d?n.d[0]?(e=i.precision,t=i.rounding,i.precision=e+Math.max(n.e,n.sd())+Le,i.rounding=1,n=vl(i,n2(i,n)),i.precision=e,i.rounding=t,je(Ht==2||Ht==3?n.neg():n,e,t,!0)):new i(1):new i(NaN)};re.cubeRoot=re.cbrt=function(){var e,t,n,i,r,s,a,c,u,l,M=this,g=M.constructor;if(!M.isFinite()||M.isZero())return new g(M);for(xe=!1,s=M.s*Ke(M.s*M,1/3),!s||Math.abs(s)==1/0?(n=st(M.d),e=M.e,(s=(e-n.length+1)%3)&&(n+=s==1||s==-2?"0":"00"),s=Ke(n,1/3),e=gt((e+1)/3)-(e%3==(e<0?-1:2)),s==1/0?n="5e"+e:(n=s.toExponential(),n=n.slice(0,n.indexOf("e")+1)+e),i=new g(n),i.s=M.s):i=new g(s.toString()),a=(e=g.precision)+3;;)if(c=i,u=c.times(c).times(c),l=u.plus(M),i=Ue(l.plus(M).times(c),l.plus(u),a+2,1),st(c.d).slice(0,a)===(n=st(i.d)).slice(0,a))if(n=n.slice(a-3,a+1),n=="9999"||!r&&n=="4999"){if(!r&&(je(c,e+1,0),c.times(c).times(c).eq(M))){i=c;break}a+=4,r=1}else{(!+n||!+n.slice(1)&&n.charAt(0)=="5")&&(je(i,e+1,1),t=!i.times(i).times(i).eq(M));break}return xe=!0,je(i,e,g.rounding,t)};re.decimalPlaces=re.dp=function(){var e,t=this.d,n=NaN;if(t){if(e=t.length-1,n=(e-gt(this.e/Le))*Le,e=t[e],e)for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n};re.dividedBy=re.div=function(e){return Ue(this,new this.constructor(e))};re.dividedToIntegerBy=re.divToInt=function(e){var t=this,n=t.constructor;return je(Ue(t,new n(e),0,1,1),n.precision,n.rounding)};re.equals=re.eq=function(e){return this.cmp(e)===0};re.floor=function(){return je(new this.constructor(this),this.e+1,3)};re.greaterThan=re.gt=function(e){return this.cmp(e)>0};re.greaterThanOrEqualTo=re.gte=function(e){var t=this.cmp(e);return t==1||t===0};re.hyperbolicCosine=re.cosh=function(){var e,t,n,i,r,s=this,a=s.constructor,c=new a(1);if(!s.isFinite())return new a(s.s?1/0:NaN);if(s.isZero())return c;n=a.precision,i=a.rounding,a.precision=n+Math.max(s.e,s.sd())+4,a.rounding=1,r=s.d.length,r<32?(e=Math.ceil(r/3),t=(1/_r(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),s=Jn(a,1,s.times(t),new a(1),!0);for(var u,l=e,M=new a(8);l--;)u=s.times(s),s=c.minus(u.times(M.minus(u.times(M))));return je(s,a.precision=n,a.rounding=i,!0)};re.hyperbolicSine=re.sinh=function(){var e,t,n,i,r=this,s=r.constructor;if(!r.isFinite()||r.isZero())return new s(r);if(t=s.precision,n=s.rounding,s.precision=t+Math.max(r.e,r.sd())+4,s.rounding=1,i=r.d.length,i<3)r=Jn(s,2,r,r,!0);else{e=1.4*Math.sqrt(i),e=e>16?16:e|0,r=r.times(1/_r(5,e)),r=Jn(s,2,r,r,!0);for(var a,c=new s(5),u=new s(16),l=new s(20);e--;)a=r.times(r),r=r.times(c.plus(a.times(u.times(a).plus(l))))}return s.precision=t,s.rounding=n,je(r,t,n,!0)};re.hyperbolicTangent=re.tanh=function(){var e,t,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(e=i.precision,t=i.rounding,i.precision=e+7,i.rounding=1,Ue(n.sinh(),n.cosh(),i.precision=e,i.rounding=t)):new i(n.s)};re.inverseCosine=re.acos=function(){var e=this,t=e.constructor,n=e.abs().cmp(1),i=t.precision,r=t.rounding;return n!==-1?n===0?e.isNeg()?Qt(t,i,r):new t(0):new t(NaN):e.isZero()?Qt(t,i+4,r).times(.5):(t.precision=i+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=i,t.rounding=r,e.times(2))};re.inverseHyperbolicCosine=re.acosh=function(){var e,t,n=this,i=n.constructor;return n.lte(1)?new i(n.eq(1)?0:NaN):n.isFinite()?(e=i.precision,t=i.rounding,i.precision=e+Math.max(Math.abs(n.e),n.sd())+4,i.rounding=1,xe=!1,n=n.times(n).minus(1).sqrt().plus(n),xe=!0,i.precision=e,i.rounding=t,n.ln()):new i(n)};re.inverseHyperbolicSine=re.asinh=function(){var e,t,n=this,i=n.constructor;return!n.isFinite()||n.isZero()?new i(n):(e=i.precision,t=i.rounding,i.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,i.rounding=1,xe=!1,n=n.times(n).plus(1).sqrt().plus(n),xe=!0,i.precision=e,i.rounding=t,n.ln())};re.inverseHyperbolicTangent=re.atanh=function(){var e,t,n,i,r=this,s=r.constructor;return r.isFinite()?r.e>=0?new s(r.abs().eq(1)?r.s/0:r.isZero()?r:NaN):(e=s.precision,t=s.rounding,i=r.sd(),Math.max(i,e)<2*-r.e-1?je(new s(r),e,t,!0):(s.precision=n=i-r.e,r=Ue(r.plus(1),new s(1).minus(r),n+e,1),s.precision=e+4,s.rounding=1,r=r.ln(),s.precision=e,s.rounding=t,r.times(.5))):new s(NaN)};re.inverseSine=re.asin=function(){var e,t,n,i,r=this,s=r.constructor;return r.isZero()?new s(r):(t=r.abs().cmp(1),n=s.precision,i=s.rounding,t!==-1?t===0?(e=Qt(s,n+4,i).times(.5),e.s=r.s,e):new s(NaN):(s.precision=n+6,s.rounding=1,r=r.div(new s(1).minus(r.times(r)).sqrt().plus(1)).atan(),s.precision=n,s.rounding=i,r.times(2)))};re.inverseTangent=re.atan=function(){var e,t,n,i,r,s,a,c,u,l=this,M=l.constructor,g=M.precision,N=M.rounding;if(l.isFinite()){if(l.isZero())return new M(l);if(l.abs().eq(1)&&g+4<=Vo)return a=Qt(M,g+4,N).times(.25),a.s=l.s,a}else{if(!l.s)return new M(NaN);if(g+4<=Vo)return a=Qt(M,g+4,N).times(.5),a.s=l.s,a}for(M.precision=c=g+10,M.rounding=1,n=Math.min(28,c/Le+2|0),e=n;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(xe=!1,t=Math.ceil(c/Le),i=1,u=l.times(l),a=new M(l),r=l;e!==-1;)if(r=r.times(u),s=a.minus(r.div(i+=2)),r=r.times(u),a=s.plus(r.div(i+=2)),a.d[t]!==void 0)for(e=t;a.d[e]===s.d[e]&&e--;);return n&&(a=a.times(2<<n-1)),xe=!0,je(a,M.precision=g,M.rounding=N,!0)};re.isFinite=function(){return!!this.d};re.isInteger=re.isInt=function(){return!!this.d&>(this.e/Le)>this.d.length-2};re.isNaN=function(){return!this.s};re.isNegative=re.isNeg=function(){return this.s<0};re.isPositive=re.isPos=function(){return this.s>0};re.isZero=function(){return!!this.d&&this.d[0]===0};re.lessThan=re.lt=function(e){return this.cmp(e)<0};re.lessThanOrEqualTo=re.lte=function(e){return this.cmp(e)<1};re.logarithm=re.log=function(e){var t,n,i,r,s,a,c,u,l=this,M=l.constructor,g=M.precision,N=M.rounding,y=5;if(e==null)e=new M(10),t=!0;else{if(e=new M(e),n=e.d,e.s<0||!n||!n[0]||e.eq(1))return new M(NaN);t=e.eq(10)}if(n=l.d,l.s<0||!n||!n[0]||l.eq(1))return new M(n&&!n[0]?-1/0:l.s!=1?NaN:n?0:1/0);if(t)if(n.length>1)s=!0;else{for(r=n[0];r%10===0;)r/=10;s=r!==1}if(xe=!1,c=g+y,a=rn(l,c),i=t?wr(M,c+10):rn(e,c),u=Ue(a,i,c,1),pi(u.d,r=g,N))do if(c+=10,a=rn(l,c),i=t?wr(M,c+10):rn(e,c),u=Ue(a,i,c,1),!s){+st(u.d).slice(r+1,r+15)+1==1e14&&(u=je(u,g+1,0));break}while(pi(u.d,r+=10,N));return xe=!0,je(u,g,N)};re.minus=re.sub=function(e){var t,n,i,r,s,a,c,u,l,M,g,N,y=this,T=y.constructor;if(e=new T(e),!y.d||!e.d)return!y.s||!e.s?e=new T(NaN):y.d?e.s=-e.s:e=new T(e.d||y.s!==e.s?y:NaN),e;if(y.s!=e.s)return e.s=-e.s,y.plus(e);if(l=y.d,N=e.d,c=T.precision,u=T.rounding,!l[0]||!N[0]){if(N[0])e.s=-e.s;else if(l[0])e=new T(y);else return new T(u===3?-0:0);return xe?je(e,c,u):e}if(n=gt(e.e/Le),M=gt(y.e/Le),l=l.slice(),s=M-n,s){for(g=s<0,g?(t=l,s=-s,a=N.length):(t=N,n=M,a=l.length),i=Math.max(Math.ceil(c/Le),a)+2,s>i&&(s=i,t.length=1),t.reverse(),i=s;i--;)t.push(0);t.reverse()}else{for(i=l.length,a=N.length,g=i<a,g&&(a=i),i=0;i<a;i++)if(l[i]!=N[i]){g=l[i]<N[i];break}s=0}for(g&&(t=l,l=N,N=t,e.s=-e.s),a=l.length,i=N.length-a;i>0;--i)l[a++]=0;for(i=N.length;i>s;){if(l[--i]<N[i]){for(r=i;r&&l[--r]===0;)l[r]=kt-1;--l[r],l[i]+=kt}l[i]-=N[i]}for(;l[--a]===0;)l.pop();for(;l[0]===0;l.shift())--n;return l[0]?(e.d=l,e.e=Rr(l,n),xe?je(e,c,u):e):new T(u===3?-0:0)};re.modulo=re.mod=function(e){var t,n=this,i=n.constructor;return e=new i(e),!n.d||!e.s||e.d&&!e.d[0]?new i(NaN):!e.d||n.d&&!n.d[0]?je(new i(n),i.precision,i.rounding):(xe=!1,i.modulo==9?(t=Ue(n,e.abs(),0,3,1),t.s*=e.s):t=Ue(n,e,0,i.modulo,1),t=t.times(e),xe=!0,n.minus(t))};re.naturalExponential=re.exp=function(){return Jo(this)};re.naturalLogarithm=re.ln=function(){return rn(this)};re.negated=re.neg=function(){var e=new this.constructor(this);return e.s=-e.s,je(e)};re.plus=re.add=function(e){var t,n,i,r,s,a,c,u,l,M,g=this,N=g.constructor;if(e=new N(e),!g.d||!e.d)return!g.s||!e.s?e=new N(NaN):g.d||(e=new N(e.d||g.s===e.s?g:NaN)),e;if(g.s!=e.s)return e.s=-e.s,g.minus(e);if(l=g.d,M=e.d,c=N.precision,u=N.rounding,!l[0]||!M[0])return M[0]||(e=new N(g)),xe?je(e,c,u):e;if(s=gt(g.e/Le),i=gt(e.e/Le),l=l.slice(),r=s-i,r){for(r<0?(n=l,r=-r,a=M.length):(n=M,i=s,a=l.length),s=Math.ceil(c/Le),a=s>a?s+1:a+1,r>a&&(r=a,n.length=1),n.reverse();r--;)n.push(0);n.reverse()}for(a=l.length,r=M.length,a-r<0&&(r=a,n=M,M=l,l=n),t=0;r;)t=(l[--r]=l[r]+M[r]+t)/kt|0,l[r]%=kt;for(t&&(l.unshift(t),++i),a=l.length;l[--a]==0;)l.pop();return e.d=l,e.e=Rr(l,i),xe?je(e,c,u):e};re.precision=re.sd=function(e){var t,n=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(un+e);return n.d?(t=$0(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t};re.round=function(){var e=this,t=e.constructor;return je(new t(e),e.e+1,t.rounding)};re.sine=re.sin=function(){var e,t,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(e=i.precision,t=i.rounding,i.precision=e+Math.max(n.e,n.sd())+Le,i.rounding=1,n=Yl(i,n2(i,n)),i.precision=e,i.rounding=t,je(Ht>2?n.neg():n,e,t,!0)):new i(NaN)};re.squareRoot=re.sqrt=function(){var e,t,n,i,r,s,a=this,c=a.d,u=a.e,l=a.s,M=a.constructor;if(l!==1||!c||!c[0])return new M(!l||l<0&&(!c||c[0])?NaN:c?a:1/0);for(xe=!1,l=Math.sqrt(+a),l==0||l==1/0?(t=st(c),(t.length+u)%2==0&&(t+="0"),l=Math.sqrt(t),u=gt((u+1)/2)-(u<0||u%2),l==1/0?t="5e"+u:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+u),i=new M(t)):i=new M(l.toString()),n=(u=M.precision)+3;;)if(s=i,i=s.plus(Ue(a,s,n+2,1)).times(.5),st(s.d).slice(0,n)===(t=st(i.d)).slice(0,n))if(t=t.slice(n-3,n+1),t=="9999"||!r&&t=="4999"){if(!r&&(je(s,u+1,0),s.times(s).eq(a))){i=s;break}n+=4,r=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(je(i,u+1,1),e=!i.times(i).eq(a));break}return xe=!0,je(i,u,M.rounding,e)};re.tangent=re.tan=function(){var e,t,n=this,i=n.constructor;return n.isFinite()?n.isZero()?new i(n):(e=i.precision,t=i.rounding,i.precision=e+10,i.rounding=1,n=n.sin(),n.s=1,n=Ue(n,new i(1).minus(n.times(n)).sqrt(),e+10,0),i.precision=e,i.rounding=t,je(Ht==2||Ht==4?n.neg():n,e,t,!0)):new i(NaN)};re.times=re.mul=function(e){var t,n,i,r,s,a,c,u,l,M=this,g=M.constructor,N=M.d,y=(e=new g(e)).d;if(e.s*=M.s,!N||!N[0]||!y||!y[0])return new g(!e.s||N&&!N[0]&&!y||y&&!y[0]&&!N?NaN:!N||!y?e.s/0:e.s*0);for(n=gt(M.e/Le)+gt(e.e/Le),u=N.length,l=y.length,u<l&&(s=N,N=y,y=s,a=u,u=l,l=a),s=[],a=u+l,i=a;i--;)s.push(0);for(i=l;--i>=0;){for(t=0,r=u+i;r>i;)c=s[r]+y[i]*N[r-i-1]+t,s[r--]=c%kt|0,t=c/kt|0;s[r]=(s[r]+t)%kt|0}for(;!s[--a];)s.pop();return t?++n:s.shift(),e.d=s,e.e=Rr(s,n),xe?je(e,g.precision,g.rounding):e};re.toBinary=function(e,t){return Fs(this,2,e,t)};re.toDecimalPlaces=re.toDP=function(e,t){var n=this,i=n.constructor;return n=new i(n),e===void 0?n:(yt(e,0,Mn),t===void 0?t=i.rounding:yt(t,0,8),je(n,e+n.e+1,t))};re.toExponential=function(e,t){var n,i=this,r=i.constructor;return e===void 0?n=Zt(i,!0):(yt(e,0,Mn),t===void 0?t=r.rounding:yt(t,0,8),i=je(new r(i),e+1,t),n=Zt(i,!0,e+1)),i.isNeg()&&!i.isZero()?"-"+n:n};re.toFixed=function(e,t){var n,i,r=this,s=r.constructor;return e===void 0?n=Zt(r):(yt(e,0,Mn),t===void 0?t=s.rounding:yt(t,0,8),i=je(new s(r),e+r.e+1,t),n=Zt(i,!1,e+i.e+1)),r.isNeg()&&!r.isZero()?"-"+n:n};re.toFraction=function(e){var t,n,i,r,s,a,c,u,l,M,g,N,y=this,T=y.d,d=y.constructor;if(!T)return new d(y);if(l=n=new d(1),i=u=new d(0),t=new d(i),s=t.e=$0(T)-y.e-1,a=s%Le,t.d[0]=Ke(10,a<0?Le+a:a),e==null)e=s>0?t:l;else{if(c=new d(e),!c.isInt()||c.lt(l))throw Error(un+c);e=c.gt(t)?s>0?t:l:c}for(xe=!1,c=new d(st(T)),M=d.precision,d.precision=s=T.length*Le*2;g=Ue(c,t,0,1,1),r=n.plus(g.times(i)),r.cmp(e)!=1;)n=i,i=r,r=l,l=u.plus(g.times(r)),u=r,r=t,t=c.minus(g.times(r)),c=r;return r=Ue(e.minus(n),i,0,1,1),u=u.plus(r.times(l)),n=n.plus(r.times(i)),u.s=l.s=y.s,N=Ue(l,i,s,1).minus(y).abs().cmp(Ue(u,n,s,1).minus(y).abs())<1?[l,i]:[u,n],d.precision=M,xe=!0,N};re.toHexadecimal=re.toHex=function(e,t){return Fs(this,16,e,t)};re.toNearest=function(e,t){var n=this,i=n.constructor;if(n=new i(n),e==null){if(!n.d)return n;e=new i(1),t=i.rounding}else{if(e=new i(e),t===void 0?t=i.rounding:yt(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(xe=!1,n=Ue(n,e,0,t,1).times(e),xe=!0,je(n)):(e.s=n.s,n=e),n};re.toNumber=function(){return+this};re.toOctal=function(e,t){return Fs(this,8,e,t)};re.toPower=re.pow=function(e){var t,n,i,r,s,a,c=this,u=c.constructor,l=+(e=new u(e));if(!c.d||!e.d||!c.d[0]||!e.d[0])return new u(Ke(+c,l));if(c=new u(c),c.eq(1))return c;if(i=u.precision,s=u.rounding,e.eq(1))return je(c,i,s);if(t=gt(e.e/Le),t>=e.d.length-1&&(n=l<0?-l:l)<=Ol)return r=K0(u,c,n,i),e.s<0?new u(1).div(r):je(r,i,s);if(a=c.s,a<0){if(t<e.d.length-1)return new u(NaN);if((e.d[t]&1)==0&&(a=1),c.e==0&&c.d[0]==1&&c.d.length==1)return c.s=a,c}return n=Ke(+c,l),t=n==0||!isFinite(n)?gt(l*(Math.log("0."+st(c.d))/Math.LN10+c.e+1)):new u(n+"").e,t>u.maxE+1||t<u.minE-1?new u(t>0?a/0:0):(xe=!1,u.rounding=c.s=1,n=Math.min(12,(t+"").length),r=Jo(e.times(rn(c,i+n)),i),r.d&&(r=je(r,i+5,1),pi(r.d,i,s)&&(t=i+10,r=je(Jo(e.times(rn(c,t+n)),t),t+5,1),+st(r.d).slice(i+1,i+15)+1==1e14&&(r=je(r,i+1,0)))),r.s=a,xe=!0,u.rounding=s,je(r,i,s))};re.toPrecision=function(e,t){var n,i=this,r=i.constructor;return e===void 0?n=Zt(i,i.e<=r.toExpNeg||i.e>=r.toExpPos):(yt(e,1,Mn),t===void 0?t=r.rounding:yt(t,0,8),i=je(new r(i),e,t),n=Zt(i,e<=i.e||i.e<=r.toExpNeg,e)),i.isNeg()&&!i.isZero()?"-"+n:n};re.toSignificantDigits=re.toSD=function(e,t){var n=this,i=n.constructor;return e===void 0?(e=i.precision,t=i.rounding):(yt(e,1,Mn),t===void 0?t=i.rounding:yt(t,0,8)),je(new i(n),e,t)};re.toString=function(){var e=this,t=e.constructor,n=Zt(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n};re.truncated=re.trunc=function(){return je(new this.constructor(this),this.e+1,1)};re.valueOf=re.toJSON=function(){var e=this,t=e.constructor,n=Zt(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};function st(e){var t,n,i,r=e.length-1,s="",a=e[0];if(r>0){for(s+=a,t=1;t<r;t++)i=e[t]+"",n=Le-i.length,n&&(s+=nn(n)),s+=i;a=e[t],i=a+"",n=Le-i.length,n&&(s+=nn(n))}else if(a===0)return"0";for(;a%10===0;)a/=10;return s+a}function yt(e,t,n){if(e!==~~e||e<t||e>n)throw Error(un+e)}function pi(e,t,n,i){var r,s,a,c;for(s=e[0];s>=10;s/=10)--t;return--t<0?(t+=Le,r=0):(r=Math.ceil((t+1)/Le),t%=Le),s=Ke(10,Le-t),c=e[r]%s|0,i==null?t<3?(t==0?c=c/100|0:t==1&&(c=c/10|0),a=n<4&&c==99999||n>3&&c==49999||c==5e4||c==0):a=(n<4&&c+1==s||n>3&&c+1==s/2)&&(e[r+1]/s/100|0)==Ke(10,t-2)-1||(c==s/2||c==0)&&(e[r+1]/s/100|0)==0:t<4?(t==0?c=c/1e3|0:t==1?c=c/100|0:t==2&&(c=c/10|0),a=(i||n<4)&&c==9999||!i&&n>3&&c==4999):a=((i||n<4)&&c+1==s||!i&&n>3&&c+1==s/2)&&(e[r+1]/s/1e3|0)==Ke(10,t-3)-1,a}function Ji(e,t,n){for(var i,r=[0],s,a=0,c=e.length;a<c;){for(s=r.length;s--;)r[s]*=t;for(r[0]+=Ho.indexOf(e.charAt(a++)),i=0;i<r.length;i++)r[i]>n-1&&(r[i+1]===void 0&&(r[i+1]=0),r[i+1]+=r[i]/n|0,r[i]%=n)}return r.reverse()}function vl(e,t){var n,i,r;if(t.isZero())return t;i=t.d.length,i<32?(n=Math.ceil(i/3),r=(1/_r(4,n)).toString()):(n=16,r="2.3283064365386962890625e-10"),e.precision+=n,t=Jn(e,1,t.times(r),new e(1));for(var s=n;s--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=n,t}var Ue=(function(){function e(i,r,s){var a,c=0,u=i.length;for(i=i.slice();u--;)a=i[u]*r+c,i[u]=a%s|0,c=a/s|0;return c&&i.unshift(c),i}function t(i,r,s,a){var c,u;if(s!=a)u=s>a?1:-1;else for(c=u=0;c<s;c++)if(i[c]!=r[c]){u=i[c]>r[c]?1:-1;break}return u}function n(i,r,s,a){for(var c=0;s--;)i[s]-=c,c=i[s]<r[s]?1:0,i[s]=c*a+i[s]-r[s];for(;!i[0]&&i.length>1;)i.shift()}return function(i,r,s,a,c,u){var l,M,g,N,y,T,d,f,C,m,h,D,j,L,p,S,w,z,U,k,v=i.constructor,Q=i.s==r.s?1:-1,P=i.d,Z=r.d;if(!P||!P[0]||!Z||!Z[0])return new v(!i.s||!r.s||(P?Z&&P[0]==Z[0]:!Z)?NaN:P&&P[0]==0||!Z?Q*0:Q/0);for(u?(y=1,M=i.e-r.e):(u=kt,y=Le,M=gt(i.e/y)-gt(r.e/y)),U=Z.length,w=P.length,C=new v(Q),m=C.d=[],g=0;Z[g]==(P[g]||0);g++);if(Z[g]>(P[g]||0)&&M--,s==null?(L=s=v.precision,a=v.rounding):c?L=s+(i.e-r.e)+1:L=s,L<0)m.push(1),T=!0;else{if(L=L/y+2|0,g=0,U==1){for(N=0,Z=Z[0],L++;(g<w||N)&&L--;g++)p=N*u+(P[g]||0),m[g]=p/Z|0,N=p%Z|0;T=N||g<w}else{for(N=u/(Z[0]+1)|0,N>1&&(Z=e(Z,N,u),P=e(P,N,u),U=Z.length,w=P.length),S=U,h=P.slice(0,U),D=h.length;D<U;)h[D++]=0;k=Z.slice(),k.unshift(0),z=Z[0],Z[1]>=u/2&&++z;do N=0,l=t(Z,h,U,D),l<0?(j=h[0],U!=D&&(j=j*u+(h[1]||0)),N=j/z|0,N>1?(N>=u&&(N=u-1),d=e(Z,N,u),f=d.length,D=h.length,l=t(d,h,f,D),l==1&&(N--,n(d,U<f?k:Z,f,u))):(N==0&&(l=N=1),d=Z.slice()),f=d.length,f<D&&d.unshift(0),n(h,d,D,u),l==-1&&(D=h.length,l=t(Z,h,U,D),l<1&&(N++,n(h,U<D?k:Z,D,u))),D=h.length):l===0&&(N++,h=[0]),m[g++]=N,l&&h[0]?h[D++]=P[S]||0:(h=[P[S]],D=1);while((S++<w||h[0]!==void 0)&&L--);T=h[0]!==void 0}m[0]||m.shift()}if(y==1)C.e=M,G0=T;else{for(g=1,N=m[0];N>=10;N/=10)g++;C.e=g+M*y-1,je(C,c?s+C.e+1:s,a,T)}return C}})();function je(e,t,n,i){var r,s,a,c,u,l,M,g,N,y=e.constructor;e:if(t!=null){if(g=e.d,!g)return e;for(r=1,c=g[0];c>=10;c/=10)r++;if(s=t-r,s<0)s+=Le,a=t,M=g[N=0],u=M/Ke(10,r-a-1)%10|0;else if(N=Math.ceil((s+1)/Le),c=g.length,N>=c)if(i){for(;c++<=N;)g.push(0);M=u=0,r=1,s%=Le,a=s-Le+1}else break e;else{for(M=c=g[N],r=1;c>=10;c/=10)r++;s%=Le,a=s-Le+r,u=a<0?0:M/Ke(10,r-a-1)%10|0}if(i=i||t<0||g[N+1]!==void 0||(a<0?M:M%Ke(10,r-a-1)),l=n<4?(u||i)&&(n==0||n==(e.s<0?3:2)):u>5||u==5&&(n==4||i||n==6&&(s>0?a>0?M/Ke(10,r-a):0:g[N-1])%10&1||n==(e.s<0?8:7)),t<1||!g[0])return g.length=0,l?(t-=e.e+1,g[0]=Ke(10,(Le-t%Le)%Le),e.e=-t||0):g[0]=e.e=0,e;if(s==0?(g.length=N,c=1,N--):(g.length=N+1,c=Ke(10,Le-s),g[N]=a>0?(M/Ke(10,r-a)%Ke(10,a)|0)*c:0),l)for(;;)if(N==0){for(s=1,a=g[0];a>=10;a/=10)s++;for(a=g[0]+=c,c=1;a>=10;a/=10)c++;s!=c&&(e.e++,g[0]==kt&&(g[0]=1));break}else{if(g[N]+=c,g[N]!=kt)break;g[N--]=0,c=1}for(s=g.length;g[--s]===0;)g.pop()}return xe&&(e.e>y.maxE?(e.d=null,e.e=NaN):e.e<y.minE&&(e.e=0,e.d=[0])),e}function Zt(e,t,n){if(!e.isFinite())return t2(e);var i,r=e.e,s=st(e.d),a=s.length;return t?(n&&(i=n-a)>0?s=s.charAt(0)+"."+s.slice(1)+nn(i):a>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):r<0?(s="0."+nn(-r-1)+s,n&&(i=n-a)>0&&(s+=nn(i))):r>=a?(s+=nn(r+1-a),n&&(i=n-r-1)>0&&(s=s+"."+nn(i))):((i=r+1)<a&&(s=s.slice(0,i)+"."+s.slice(i)),n&&(i=n-a)>0&&(r+1===a&&(s+="."),s+=nn(i))),s}function Rr(e,t){var n=e[0];for(t*=Le;n>=10;n/=10)t++;return t}function wr(e,t,n){if(t>kl)throw xe=!0,n&&(e.precision=n),Error(V0);return je(new e(pr),t,1,!0)}function Qt(e,t,n){if(t>Vo)throw Error(V0);return je(new e(Dr),t,n,!0)}function $0(e){var t=e.length-1,n=t*Le+1;if(t=e[t],t){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function nn(e){for(var t="";e--;)t+="0";return t}function K0(e,t,n,i){var r,s=new e(1),a=Math.ceil(i/Le+4);for(xe=!1;;){if(n%2&&(s=s.times(t),A1(s.d,a)&&(r=!0)),n=gt(n/2),n===0){n=s.d.length-1,r&&s.d[n]===0&&++s.d[n];break}t=t.times(t),A1(t.d,a)}return xe=!0,s}function w1(e){return e.d[e.d.length-1]&1}function e2(e,t,n){for(var i,r,s=new e(t[0]),a=0;++a<t.length;){if(r=new e(t[a]),!r.s){s=r;break}i=s.cmp(r),(i===n||i===0&&s.s===n)&&(s=r)}return s}function Jo(e,t){var n,i,r,s,a,c,u,l=0,M=0,g=0,N=e.constructor,y=N.rounding,T=N.precision;if(!e.d||!e.d[0]||e.e>17)return new N(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(t==null?(xe=!1,u=T):u=t,c=new N(.03125);e.e>-2;)e=e.times(c),g+=5;for(i=Math.log(Ke(2,g))/Math.LN10*2+5|0,u+=i,n=s=a=new N(1),N.precision=u;;){if(s=je(s.times(e),u,1),n=n.times(++M),c=a.plus(Ue(s,n,u,1)),st(c.d).slice(0,u)===st(a.d).slice(0,u)){for(r=g;r--;)a=je(a.times(a),u,1);if(t==null)if(l<3&&pi(a.d,u-i,y,l))N.precision=u+=10,n=s=c=new N(1),M=0,l++;else return je(a,N.precision=T,y,xe=!0);else return N.precision=T,a}a=c}}function rn(e,t){var n,i,r,s,a,c,u,l,M,g,N,y=1,T=10,d=e,f=d.d,C=d.constructor,m=C.rounding,h=C.precision;if(d.s<0||!f||!f[0]||!d.e&&f[0]==1&&f.length==1)return new C(f&&!f[0]?-1/0:d.s!=1?NaN:f?0:d);if(t==null?(xe=!1,M=h):M=t,C.precision=M+=T,n=st(f),i=n.charAt(0),Math.abs(s=d.e)<15e14){for(;i<7&&i!=1||i==1&&n.charAt(1)>3;)d=d.times(e),n=st(d.d),i=n.charAt(0),y++;s=d.e,i>1?(d=new C("0."+n),s++):d=new C(i+"."+n.slice(1))}else return l=wr(C,M+2,h).times(s+""),d=rn(new C(i+"."+n.slice(1)),M-T).plus(l),C.precision=h,t==null?je(d,h,m,xe=!0):d;for(g=d,u=a=d=Ue(d.minus(1),d.plus(1),M,1),N=je(d.times(d),M,1),r=3;;){if(a=je(a.times(N),M,1),l=u.plus(Ue(a,new C(r),M,1)),st(l.d).slice(0,M)===st(u.d).slice(0,M))if(u=u.times(2),s!==0&&(u=u.plus(wr(C,M+2,h).times(s+""))),u=Ue(u,new C(y),M,1),t==null)if(pi(u.d,M-T,m,c))C.precision=M+=T,l=a=d=Ue(g.minus(1),g.plus(1),M,1),N=je(d.times(d),M,1),r=c=1;else return je(u,C.precision=h,m,xe=!0);else return C.precision=h,u;u=l,r+=2}}function t2(e){return String(e.s*e.s/0)}function qi(e,t){var n,i,r;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length),i=0;t.charCodeAt(i)===48;i++);for(r=t.length;t.charCodeAt(r-1)===48;--r);if(t=t.slice(i,r),t){if(r-=i,e.e=n=n-i-1,e.d=[],i=(n+1)%Le,n<0&&(i+=Le),i<r){for(i&&e.d.push(+t.slice(0,i)),r-=Le;i<r;)e.d.push(+t.slice(i,i+=Le));t=t.slice(i),i=Le-t.length}else i-=r;for(;i--;)t+="0";e.d.push(+t),xe&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function Ul(e,t){var n,i,r,s,a,c,u,l,M;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),X0.test(t))return qi(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(zl.test(t))n=16,t=t.toLowerCase();else if(El.test(t))n=2;else if(bl.test(t))n=8;else throw Error(un+t);for(s=t.search(/p/i),s>0?(u=+t.slice(s+1),t=t.substring(2,s)):t=t.slice(2),s=t.indexOf("."),a=s>=0,i=e.constructor,a&&(t=t.replace(".",""),c=t.length,s=c-s,r=K0(i,new i(n),s,s*2)),l=Ji(t,n,kt),M=l.length-1,s=M;l[s]===0;--s)l.pop();return s<0?new i(e.s*0):(e.e=Rr(l,M),e.d=l,xe=!1,a&&(e=Ue(e,r,c*4)),u&&(e=e.times(Math.abs(u)<54?Ke(2,u):zi.pow(2,u))),xe=!0,e)}function Yl(e,t){var n,i=t.d.length;if(i<3)return t.isZero()?t:Jn(e,2,t,t);n=1.4*Math.sqrt(i),n=n>16?16:n|0,t=t.times(1/_r(5,n)),t=Jn(e,2,t,t);for(var r,s=new e(5),a=new e(16),c=new e(20);n--;)r=t.times(t),t=t.times(s.plus(r.times(a.times(r).minus(c))));return t}function Jn(e,t,n,i,r){var s,a,c,u,l=e.precision,M=Math.ceil(l/Le);for(xe=!1,u=n.times(n),c=new e(i);;){if(a=Ue(c.times(u),new e(t++*t++),l,1),c=r?i.plus(a):i.minus(a),i=Ue(a.times(u),new e(t++*t++),l,1),a=c.plus(i),a.d[M]!==void 0){for(s=M;a.d[s]===c.d[s]&&s--;);if(s==-1)break}s=c,c=i,i=a,a=s}return xe=!0,a.d.length=M+1,a}function _r(e,t){for(var n=e;--t;)n*=e;return n}function n2(e,t){var n,i=t.s<0,r=Qt(e,e.precision,1),s=r.times(.5);if(t=t.abs(),t.lte(s))return Ht=i?4:1,t;if(n=t.divToInt(r),n.isZero())Ht=i?3:2;else{if(t=t.minus(n.times(r)),t.lte(s))return Ht=w1(n)?i?2:3:i?4:1,t;Ht=w1(n)?i?1:4:i?3:2}return t.minus(r).abs()}function Fs(e,t,n,i){var r,s,a,c,u,l,M,g,N,y=e.constructor,T=n!==void 0;if(T?(yt(n,1,Mn),i===void 0?i=y.rounding:yt(i,0,8)):(n=y.precision,i=y.rounding),!e.isFinite())M=t2(e);else{for(M=Zt(e),a=M.indexOf("."),T?(r=2,t==16?n=n*4-3:t==8&&(n=n*3-2)):r=t,a>=0&&(M=M.replace(".",""),N=new y(1),N.e=M.length-a,N.d=Ji(Zt(N),10,r),N.e=N.d.length),g=Ji(M,10,r),s=u=g.length;g[--u]==0;)g.pop();if(!g[0])M=T?"0p+0":"0";else{if(a<0?s--:(e=new y(e),e.d=g,e.e=s,e=Ue(e,N,n,i,0,r),g=e.d,s=e.e,l=G0),a=g[n],c=r/2,l=l||g[n+1]!==void 0,l=i<4?(a!==void 0||l)&&(i===0||i===(e.s<0?3:2)):a>c||a===c&&(i===4||l||i===6&&g[n-1]&1||i===(e.s<0?8:7)),g.length=n,l)for(;++g[--n]>r-1;)g[n]=0,n||(++s,g.unshift(1));for(u=g.length;!g[u-1];--u);for(a=0,M="";a<u;a++)M+=Ho.charAt(g[a]);if(T){if(u>1)if(t==16||t==8){for(a=t==16?4:3,--u;u%a;u++)M+="0";for(g=Ji(M,r,t),u=g.length;!g[u-1];--u);for(a=1,M="1.";a<u;a++)M+=Ho.charAt(g[a])}else M=M.charAt(0)+"."+M.slice(1);M=M+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)M="0"+M;M="0."+M}else if(++s>u)for(s-=u;s--;)M+="0";else s<u&&(M=M.slice(0,s)+"."+M.slice(s))}M=(t==16?"0x":t==2?"0b":t==8?"0o":"")+M}return e.s<0?"-"+M:M}function A1(e,t){if(e.length>t)return e.length=t,!0}function Rl(e){return new this(e).abs()}function _l(e){return new this(e).acos()}function Ql(e){return new this(e).acosh()}function Pl(e,t){return new this(e).plus(t)}function Bl(e){return new this(e).asin()}function Zl(e){return new this(e).asinh()}function Wl(e){return new this(e).atan()}function Fl(e){return new this(e).atanh()}function Hl(e,t){e=new this(e),t=new this(t);var n,i=this.precision,r=this.rounding,s=i+4;return!e.s||!t.s?n=new this(NaN):!e.d&&!t.d?(n=Qt(this,s,1).times(t.s>0?.25:.75),n.s=e.s):!t.d||e.isZero()?(n=t.s<0?Qt(this,i,r):new this(0),n.s=e.s):!e.d||t.isZero()?(n=Qt(this,s,1).times(.5),n.s=e.s):t.s<0?(this.precision=s,this.rounding=1,n=this.atan(Ue(e,t,s,1)),t=Qt(this,s,1),this.precision=i,this.rounding=r,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(Ue(e,t,s,1)),n}function Gl(e){return new this(e).cbrt()}function Vl(e){return je(e=new this(e),e.e+1,2)}function Jl(e,t,n){return new this(e).clamp(t,n)}function ql(e){if(!e||typeof e!="object")throw Error(Yr+"Object expected");var t,n,i,r=e.defaults===!0,s=["precision",1,Mn,"rounding",0,8,"toExpNeg",-Wn,0,"toExpPos",0,Wn,"maxE",0,Wn,"minE",-Wn,0,"modulo",0,9];for(t=0;t<s.length;t+=3)if(n=s[t],r&&(this[n]=Go[n]),(i=e[n])!==void 0)if(gt(i)===i&&i>=s[t+1]&&i<=s[t+2])this[n]=i;else throw Error(un+n+": "+i);if(n="crypto",r&&(this[n]=Go[n]),(i=e[n])!==void 0)if(i===!0||i===!1||i===0||i===1)if(i)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[n]=!0;else throw Error(J0);else this[n]=!1;else throw Error(un+n+": "+i);return this}function Xl(e){return new this(e).cos()}function $l(e){return new this(e).cosh()}function i2(e){var t,n,i;function r(s){var a,c,u,l=this;if(!(l instanceof r))return new r(s);if(l.constructor=r,S1(s)){l.s=s.s,xe?!s.d||s.e>r.maxE?(l.e=NaN,l.d=null):s.e<r.minE?(l.e=0,l.d=[0]):(l.e=s.e,l.d=s.d.slice()):(l.e=s.e,l.d=s.d?s.d.slice():s.d);return}if(u=typeof s,u==="number"){if(s===0){l.s=1/s<0?-1:1,l.e=0,l.d=[0];return}if(s<0?(s=-s,l.s=-1):l.s=1,s===~~s&&s<1e7){for(a=0,c=s;c>=10;c/=10)a++;xe?a>r.maxE?(l.e=NaN,l.d=null):a<r.minE?(l.e=0,l.d=[0]):(l.e=a,l.d=[s]):(l.e=a,l.d=[s]);return}if(s*0!==0){s||(l.s=NaN),l.e=NaN,l.d=null;return}return qi(l,s.toString())}if(u==="string")return(c=s.charCodeAt(0))===45?(s=s.slice(1),l.s=-1):(c===43&&(s=s.slice(1)),l.s=1),X0.test(s)?qi(l,s):Ul(l,s);if(u==="bigint")return s<0?(s=-s,l.s=-1):l.s=1,qi(l,s.toString());throw Error(un+s)}if(r.prototype=re,r.ROUND_UP=0,r.ROUND_DOWN=1,r.ROUND_CEIL=2,r.ROUND_FLOOR=3,r.ROUND_HALF_UP=4,r.ROUND_HALF_DOWN=5,r.ROUND_HALF_EVEN=6,r.ROUND_HALF_CEIL=7,r.ROUND_HALF_FLOOR=8,r.EUCLID=9,r.config=r.set=ql,r.clone=i2,r.isDecimal=S1,r.abs=Rl,r.acos=_l,r.acosh=Ql,r.add=Pl,r.asin=Bl,r.asinh=Zl,r.atan=Wl,r.atanh=Fl,r.atan2=Hl,r.cbrt=Gl,r.ceil=Vl,r.clamp=Jl,r.cos=Xl,r.cosh=$l,r.div=Kl,r.exp=e3,r.floor=t3,r.hypot=n3,r.ln=i3,r.log=r3,r.log10=s3,r.log2=o3,r.max=a3,r.min=c3,r.mod=u3,r.mul=l3,r.pow=M3,r.random=d3,r.round=g3,r.sign=f3,r.sin=h3,r.sinh=j3,r.sqrt=N3,r.sub=y3,r.sum=I3,r.tan=L3,r.tanh=x3,r.trunc=T3,e===void 0&&(e={}),e&&e.defaults!==!0)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<i.length;)e.hasOwnProperty(n=i[t++])||(e[n]=this[n]);return r.config(e),r}function Kl(e,t){return new this(e).div(t)}function e3(e){return new this(e).exp()}function t3(e){return je(e=new this(e),e.e+1,3)}function n3(){var e,t,n=new this(0);for(xe=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return xe=!0,new this(1/0);n=t}return xe=!0,n.sqrt()}function S1(e){return e instanceof zi||e&&e.toStringTag===q0||!1}function i3(e){return new this(e).ln()}function r3(e,t){return new this(e).log(t)}function o3(e){return new this(e).log(2)}function s3(e){return new this(e).log(10)}function a3(){return e2(this,arguments,-1)}function c3(){return e2(this,arguments,1)}function u3(e,t){return new this(e).mod(t)}function l3(e,t){return new this(e).mul(t)}function M3(e,t){return new this(e).pow(t)}function d3(e){var t,n,i,r,s=0,a=new this(1),c=[];if(e===void 0?e=this.precision:yt(e,1,Mn),i=Math.ceil(e/Le),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(i));s<i;)r=t[s],r>=429e7?t[s]=crypto.getRandomValues(new Uint32Array(1))[0]:c[s++]=r%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(i*=4);s<i;)r=t[s]+(t[s+1]<<8)+(t[s+2]<<16)+((t[s+3]&127)<<24),r>=214e7?crypto.randomBytes(4).copy(t,s):(c.push(r%1e7),s+=4);s=i/4}else throw Error(J0);else for(;s<i;)c[s++]=Math.random()*1e7|0;for(i=c[--s],e%=Le,i&&e&&(r=Ke(10,Le-e),c[s]=(i/r|0)*r);c[s]===0;s--)c.pop();if(s<0)n=0,c=[0];else{for(n=-1;c[0]===0;n-=Le)c.shift();for(i=1,r=c[0];r>=10;r/=10)i++;i<Le&&(n-=Le-i)}return a.e=n,a.d=c,a}function g3(e){return je(e=new this(e),e.e+1,this.rounding)}function f3(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function h3(e){return new this(e).sin()}function j3(e){return new this(e).sinh()}function N3(e){return new this(e).sqrt()}function y3(e,t){return new this(e).sub(t)}function I3(){var e=0,t=arguments,n=new this(t[e]);for(xe=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return xe=!0,je(n,this.precision,this.rounding)}function L3(e){return new this(e).tan()}function x3(e){return new this(e).tanh()}function T3(e){return je(e=new this(e),e.e+1,1)}re[Symbol.for("nodejs.util.inspect.custom")]=re.toString;re[Symbol.toStringTag]="Decimal";var zi=re.constructor=i2(Go);pr=new zi(pr);Dr=new zi(Dr);const E1=new Map,r2=e=>{const t=E1.get(e);if(t)return t;const n=new Intl.NumberFormat(e).formatToParts(12345.6),i={group:n.find(r=>r.type==="group")?.value??",",decimal:n.find(r=>r.type==="decimal")?.value??"."};return E1.set(e,i),i},o2=()=>navigator?.language??document?.documentElement?.lang??"en-US",qo=e=>{if(!e)return"";let t=e;if(e.includes("e")||e.includes("E"))try{t=new zi(e).toFixed()}catch{}const[n,i]=t.split("."),r=n?BigInt(n):0n,s=o2(),{decimal:a}=r2(s),c=new Intl.NumberFormat(s,{useGrouping:!0,minimumFractionDigits:0,maximumFractionDigits:0}).format(r);return i!==void 0||e.endsWith(".")?c+a+(i??""):c},s2=e=>{if(!e)return"";const t=o2(),{group:n,decimal:i}=r2(t);return e.split(n).join("").replace(new RegExp(`\\${i}`,"g"),".")},C3=e=>{if(typeof e!="string")return!1;const t=s2(e);if(t===""||t===".")return!0;const n=t.split(".");if(n.length>2)return!1;const[i,r=""]=n;if(!/^\d*$/.test(i)||!/^\d*$/.test(r))return!1;const s=n.join("."),a=Number(s);return Number.isFinite(a)&&a>=0},z1=e=>{const t=b.display(e),n=parseFloat(t);return n>999?Math.ceil(n).toString():n.toPrecision(3)},m3=(e,t,n)=>{const i=parseFloat(e);if(!Number.isFinite(i)||i===0)return"0";const[r,s]=e.split("."),a=r==="0"?1:r.length;if(a>=t)return r;const c=t-a,u=Math.min(c,n);return!s||u===0?r:`${r}.${s.substring(0,u)}`},p3=e=>{const{amount:t}=Ae(r=>r.transferInput),n=I.useMemo(()=>Object.values(e.failedQuotes).reduce((r,s)=>{if(s?.success||!ku(s?.error))return r;if(!r)return s.error.min;const a=BigInt(s.error.min.amount),c=BigInt(r.amount);return a<c?s.error.min:r},void 0),[e.failedQuotes]),i=I.useMemo(()=>Object.keys(e.quotes).length===0&&Object.keys(e.failedQuotes).length>0,[e.quotes,e.failedQuotes]);return!t||e.disabled?{}:e.balance&&b.units(t)>b.units(e.balance)?{error:"Amount exceeds available balance."}:i?n?{error:`Amount too small (min ~${z1(n)} ${e.tokenSymbol})`}:{error:"No route available."}:n?{info:`More routes available for ${z1(n)} ${e.tokenSymbol} or more.`}:{}},a2=()=>{const{getTokenPrice:e,lastTokenPriceUpdate:t}=ft();return I.useCallback(({token:n,amount:i})=>{const r=b.whole(i);if(!n)return;const a=Number(e(n))*r;return isNaN(a)?void 0:parseFloat(a.toFixed(2))},[t,e])},zn=()=>{const{token:e,destToken:t}=Ae(r=>r.transferInput),n=I.useMemo(()=>e?x.config.tokens.get(e):void 0,[e]),i=I.useMemo(()=>t?x.config.tokens.get(t):void 0,[t]);return{sourceToken:n,destToken:i}},D3=()=>{const{txData:e}=Ae(i=>i.redeem),t=I.useMemo(()=>e?.token?x.config.tokens.get(e?.token):void 0,[e]),n=I.useMemo(()=>e?.receivedToken?x.config.tokens.get(e?.receivedToken):void 0,[e]);return{sourceToken:t,destToken:n}};function w3(e,t,n){return b.display({amount:e.toString(),decimals:t},n)}function c2(e,t){if(typeof e!="string")throw new Error("Invalid argument");return e==="0.0"?"0":e.includes(".")?parseFloat(e).toFixed(t):e}const bt="transactions:inprogress",A3=3,Qi=(e,t)=>{if(x.isEmptyObject(e))return!1;for(const n in t)if(e[n]===null||typeof e[n]!==t[n])return!1;return!0},S3=e=>!(!Qi(e,{receipt:"object",route:"string",timestamp:"number",txDetails:"object",txHash:"string"})||!Qi(e.txDetails,{amount:"object",eta:"number",fromChain:"string",toChain:"string",token:"object"})||!Qi(e.txDetails.amount,{amount:"string",decimals:"number"})||!Qi(e.txDetails.token,{0:"string",1:"string"})),E3=e=>{if(!Array.isArray(e))return!1;for(const t of e)if(!S3(t))return!1;return!0},Qr=()=>{const e=window.localStorage;for(let t=0;t<e.length;t++){const n=e.key(t);if(n?.toLowerCase()===x.config.cacheKey(bt).toLowerCase()){const i=e.getItem(n);if(i)try{const r=JSON.parse(i);if(E3(r))return r;console.log(`Error while parsing localStorage item ${bt}: Not an array of valid transactions`),e.removeItem(x.config.cacheKey(bt));return}catch(r){console.log(`Error while parsing localStorage item ${bt}: ${r}`),e.removeItem(x.config.cacheKey(bt));return}}}},z3=e=>{const t=window.localStorage,n=Qr();let i;n?n.length<A3?i=n.concat([e]):(n.splice(0,1),i=n.concat([e])):i=[e];try{t.setItem(x.config.cacheKey(bt),x.stringifyWithBigInt(i))}catch(r){console.log(`Error while adding item to localStorage ${bt}: ${r}`)}},Xo=e=>{const t=window.localStorage,n=Qr();if(n&&n.length>0){const i=n.findIndex(r=>r.txHash===e);if(i>-1){n.splice(i,1);try{t.setItem(x.config.cacheKey(bt),x.stringifyWithBigInt(n))}catch(r){console.log(`Error while removing item from localStorage ${bt}: ${r}`)}}}},b3=(e,t,n)=>{const i=window.localStorage,r=Qr();if(r&&r.length>0){const s=r.findIndex(a=>a.txHash===e);if(s>-1){r[s][t]=n;try{i.setItem(x.config.cacheKey(bt),x.stringifyWithBigInt(r))}catch(a){console.log(`Error while updating item in localStorage ${bt}: ${a}`)}}}},$o=Object.freeze(new Set(["3","1Gq","1N6XqS","1B64QRxf","1B11Ezqg3AXj","bc1qtnr3t28l","3CuqLrZWn5oCe6DR","TDNKsLvsY2iSznyghddXz7ZDRc","TFwjPScaJRCbSWVAywE1S1WgaU","3F6bbvS1krsc1qR8FsbTDfYQyvkMm","125W5ek3DT6Zqy5S2iPt4FHQdNMCbZA3FU","1295rkVyNfFpqZpXvKGhDqwhP1jZcNNDMV","129zKFLoVad9JtxSmDKeJoLCsjhGR7b3vr","12HQDsicffSBaYdJ6BhnE22sfjTESmmzKx","12NpCkhddSNiDkD9rRYUCHsTT9ReMNiJjG","12QtD5BFwRsdNsAZY76UVE1xyCGNTojH9h","12udabs2TkX7NXCSj6KpqXfakjE52ZPLhz","12w6v1qAaBc4W8h8C2Cu5SKFaKDSv3erUW","12YCfVAEzkEZXBYhUTyJJaRkgMXiFxJgcu","12YyR9EpvHxBjjKjTWqfKqeyoWnvcraxpW","134r8iHv69xdT6p5qVKTsHrcUEuBVZAYak","13f59kUM5FU8MfTG7DCEugYarDhSD7XCoC","13fhnkmpBBWXUQucJd6efWvXdEj78DKavk","13JtX4h7G5ZuNK5mFudKGq9DHLvvMFuNuz","13mnk8SvDGqsQTHbiGiHBXqtaQCUKfcsnP","13RH4JaFhaCxDGPyYE9emjp2aDxdX18uBA","13YBQr2Cp1YY3xqq2qngaPb7ca1o4ugeq6","149w62rY42aZBox8fGcmqNsXUzSStKeq8C","14gM1HuLVDELNHaFU22qpabjtiWek4HhV1","14kqryJUxM3a7aEi117KX9hoLUw592WsMR","14rjAD8ZP5xaL571cMRE98qgxxbg1S8mAN","158treVZBGMBThoaympxccPdZPtqUfYrT9","15cRqR3TXS1JehBGWERuxFE8NhWZzfoeeU","15kZobLkD6HZgEECtz4oS2Vz21XHTnNfSg","15Pt4NwZaUmMUwS2bQbyyncc7mzgWShtv8","15qyVrZvvVGvB7GWiAZ82TNcZ6QWMKu3kx","15uqdxqNXQwVf5H7yZPz4TmEGeSccCwdor","15YK647qtoZQDzNrvY6HJL6QwXduLHfT28","15yqWQ4sqr7jzCwDtZ3U1KaCa8WMEy7Mm2","16PhXY3hNNMTo8kpuJx2emh713KbWpkqci","17a5bpKvEp1j1Trs4qTbcNZrby53JbaS9C","17ezuJoT3XBbdcwFZbkTnrXbup11F4uhiy","17mhyeBX617ABZ1ffThhUTJkHUcMvCkfd5","17UVSMegvrzfobKC82dHXpZLtLcqzW9stF","17V7THwHMiDJmDwZK4unhE5HgKFJKx7VCe","182NGZbPJXwg2WDrhrPpR7tpiGQkNPF844","18dLDAWi8LmrHbEq3QzDJb9SLxCf4uimXB","18gaXypKj9M23S2zT9qZfL9iPbLFM372Q5","18Qj1THHuETfYhuRDZycXJbWwDMGw73Poa","18uKfaUjgG52rVeXEi3wxnveww7zZuECtE","18yWCu6agTxYqAerMxiz9sgHrK3ViezzGa","1986rYHckYbJpGQJy6ornuMyD2N5MTqwDt","19D1iGzDr7FyAdiy3ZZdxMd6ttHj1kj6WW","19D8PHBjZH29uS1uPZ4m3sVyqqfF8UFG9o","19GrL5jnUkGmHXVcraB1Etv5rXCANeLWpq","1A7SKE2dQtezLktCY8peLsdAtkqxV9r1dC","1AeSq93WDNdLoEJ92sex7T8xQZoYYm8BtS","1AjZPMsnmpdK2Rv9KQNfMurTXinscVro9V","1AoxtfiBQ22DvbhqAN9Ctb8sULMRhrdwTr","1AXUTu9y3H8w4wYx4BjyFWgRhZKDhmcMrn","1BiUFjzH6wsT73U3tfy4aXHCQsYQHzjk5h","1CF46Rfbp97absrs7zb7dFfZS6qBXUm9EP","1CPJak9ZyddbawMGJPyEhCiJLXXb4sYv8N","1D6gG9iKEhPitTcWRJiniuj1jYM2hNeAfJ","1DbShx4r8i2XesthoDBf5EkYWz5dsKEusV","1DbvK8P6imBuLcwh2Vruis4xsUb8YAwJQF","1DDA93oZPn7wte2eR1ABwcFoxUFxkKMwCf","1Df883c96LVauVsx9FEgnsourD8DELwCUQ","1DH2xDH7TngrDU6LXciprKCBKNcPA1xX8A","1DJoEMvp95yJYWyxAZy8DDBzuvjnrTVrsN","1DJoVLgn1foJHHngduRPJvRbwpaFEKxvxd","1DT3tenf14cxz9WFNxmYrXFbB6TFiVWA9U","1DYFJ6CuBvrxyoQSuBzVsNcetY9tvdsrag","1ECeZBxCVJ8Wm2JSN3Cyc6rge2gnvD3W5K","1Edue8XZCWNoDBNZgnQkCCivDyr9GEo4x6","1EfMVkxQQuZfBdocpJu6RUsCJvenQWbQyE","1EpMiZkQVekM5ij12nMiEwttFPcDK9XhX6","1EYitrwBYNWuTBcjZFbEUdqHppe2raLpaF","1F2Gdug9ib9NQMhKMGGJczzMk5SuENoqrp","1FCNgfZWpYMeYhy9t18AAkTBu8AsdoAc1Z","1FE2cuvkq8n5VGwj5hi8YYQxskwJpovPyV","1FjubFHV4mpYjBmvjsEhZssyiiA4TNmnm2","1FRyL9gmFGbzfYDAB4iY9836DJe3KSnjP9","1Fz29BQp82pE3vXXcsZoMNQ3KSHfMzfMe3","1G6DuwDKNHiUWqks2Lgu44cesu7ffFbLK7","1G9A8WRjGXdnYY4TNEVRrcaHsMtana4ncF","1G9CKRHA3mx22DoT1QyNYrh85VSQ19Y1em","1Gekw8ACSs37oXcc5XQHvoux3iKoVFtpF4","1GYuu9d5HPikafbys3k5Q3DRJq6debGsoB","1H939dom7i4WDLC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yh7nrUmF2y","1PfwHNxUnkpfkK9MKjMqzR3Xq3KCtq9u17","1PhqQpaGCrqSxQ6QDXcv14QCd1U98Zp34E","1PJp8diNa89cVHpiT1VPu7EQ8LxYM5HX6v","1Q6saNmqKkyFB9mFR68Ck8F7Dp7dTopF2W","1Q9UAQbcDezmyouFrzt94t4dSMxgsUfW1X","31p6woV4e55HUfC2aGynFhzQnGoJFW26cD","32DaxSzUhLBHY2WGSWQYiBSHnRsfQZrrRp","32jgFkZsTEjMFaBvxJnYvJEeTNKTmq5b32","32pTjxTNi7snk8sodrgfmdKao3DEn1nVJM","32wdqwX3zCEX3DhAVEcKwXCEGdzgBnx1R9","33Kja69SQVc8kozpoP7Qw6HFtGxHkiWzTz","33xWfziVZesgo83U5izdNCBVTnrtBpSwK7","347QFbejDBdMZFTxpmn6evvvqyXiqZTCd7","34pFGsSYbWEritXncW9unZtQQE9dKSvKku","35irs2AU6pVgenYbWvMRz22avDBLC9XMkd","35KAdTa2vqnJzitF2xiUzZn1Gmcas2Y465","35LScRJ8hzDvvWh9t9UA8bHGnGNVz3YEfa","35QpLWYkvD3ALhjbge5bK2kd7HfHYcDMu3","35qwVtMEohWDdBWRiCSR7azoP5cbY8SG1Q","3685sEusmTwZBiKJ4cgV73EAhpVD1nbgbe","36ia8qAE1k1PKQePdXENCm1YKLXxZyVnnc","372Wk9NLrMkJzKgqJdatWJy4bYRfxFjgat","374RguZDMNW5Zh5ouW3KhKDcrerKusmsuk","37fKFZQGMqdBkjSUub1jCDWGgSHwv9VxfZ","386sPhHBbLidzPnoxUH74jiiYkHYtobefQ","389Sft4nJFkPGhbagk9FN4jXncA9piYTuU","38ncxqt932N9CcfNfYuHGZgCyR85hDkWBW","38TftW1heYPqvKbiAhT4ttNBqkUPpooXad","39eboeqYNFe2VoLC3mUGx4dh6GNhLB3D2q","39fhoB2DohisGBbHvvfmkdPdShT75CNHdX","39NG2LcGRHXxSr1irpEVnJMw4ydL231sEn","39p8qWp1bkBNhi4vPpFTetKPtH7goqNDZf","39Te8MbphSgs7npDJPj2hbNzhke61NTcnB","3AjyprBY5yhijiCjUC5NUJutGbwhd3AQdE","3AQSmMk5n3c6TKEg9B2WyzYAPm33gJJAA4","3B7S6zrgxQVQUHTU8wstM23tB9afE7ojuX","3BsyZ7qRFSi3NsaoV1Ff724qAgrEpjVUHm","3DNsaQnaUz7wkQny1ZDSmtz6QfbEShxoDD","3E6rY4dSCDW6y2bzJNwrjvTtdmMQjB6yeh","3E6ZCKRrsdPc35chA9Eftp1h3DLW18NFNV","3E7YbpXuhh3CWFks1jmvWoV8y5DvsfzE6n","3EeR8FbcPbkcGj77D6ttneJxmsr3Nu7KGV","3EPqGUw2q89pwPZ1UF8FJspE2AyojSTjdu","3EynPFpoGTPxU9m5bPaEDEUxUanzh7vgQP","3F2sZ4jbhvDKQdGbHYPC6ZxFXEau2m5Lqj","3F6bbvS1krsc1qR8FsbTDfYQyvkMm3QvmR","3FfRvC3kSo2SxiQe5e7SSuNdegwgq8iusL","3FoD1f6Tfnq3s8MYHgJqFPWv9cUrtUdBSv","3Gbs4rjcVUtQd8p3CiFUCxPLZwRqurezRZ","3GXdtA6kbb4M5aqzZm5qqxcFDFRMW8LqdJ","3H3rh85qPaGLy2w6618yZNaH7i8asHv46B","3He6EyDaCUgmdr4GXqhxbeTQukaGLCByU2","3HePkztPU6UsdENxnyQHFrdZA6eVKeMtvz","3HqA7i3ttECLvgqvq69HNxxUP5BL7Z5YgA","3HQRveQzPifZorZLDXHernc5zjoZax8U9f","3JHMz3mTna1gVCZSPp8NgRFiY7phkv5mA8","3JXKQ81JzBqVbB8VHdV9Jtd7auWokkdPgY","3K35dyL85fR9ht7UgzPfd1gLRRXQtNTqE3","3K4rjdh8A5yi6LWvft2rbmyZvqEbPSSSX4","3K7PMJyMNVnxqsfpmK9r9nJDtzDw9wNwNV","3KHfXU24Bt3YD5Ef4J7uNp2buCuhrxfGen","3LbDu1rUXHNyiz4i8eb3KwkSSBMf7C583D","3LhnVMcBq4gsR7aDaRr9XmUo17CuYBV4FN","3Lpoy53K625zVeE47ZasiG5jGkAxJ27kh1","3MkUNScqf21EcfWq6T4x2MFgBeSTqhB5t6","3MKXKqPXf6VxTLkVSXuDKzaTiZZaz5AmiK","3MN8nYo1tt5hLxMwMbxDkXWd7Xu522hb9P","3MTrJTFhYK9v1C6pjHtuweZSopfZa4b1wb","3MTRvM5QrYZHKo8gh5qKcrPK3RLjxcDCZE","3N6WeZ6i34taX8Ditser6LKWBcXmt2XXL4","3N9YcPBDky9UsMx1RTk33tL4jDkZfSnsPk","3NEcQKZ8RwL2eDNhmMPpZ4td9vPsQh9JwM","3NNcbBcMZokPB2JC2dxYuZrpgcetvyGeJn","3NQ1aa9ceirMJ1JvRq3eXefvXj1L639fzX","3NRJ8aXdUiZdHaiFX9ePX3DhGHzcEi14Fq","3NU9zkD8CCVGVmYnNNSN7PbU9sSFQBm5UV","3PiCnZrBvGfWAKQ9hr4cCpfaDjy64yNSpE","3PKiHs4GY4rFg8dpppNVPXGPqMX6K2cBML","3Q5dGfLKkWqWSwYtbMUyc8xGjN5LrRviK4","3Q8H2ZWMtc4R1M3mkmhnTjCoYKTeCFigDP","DFFJhnQNZf8rf67tYnesPu7MuGUpYtzv7Z","GPwg61XoHqQPNmAucFACuQ5H9sGCDv9TpS","LaizKtS5DUhPuP1nTQcc83MS7HwK6vk85z","LeKvNdNEzgQkzVVnRdV3fAu2DSF1nLsNw6","Leo3j36nn1JcsUQruytQhFUdCdCH5YHMR3","LNwgtMxcKUQ51dw7bQL1yPQjBVZh6QEqsd","M8yFL6SFC6TreATegTyuSYkDfDRbisdpT3","TA3941uFAvmVibSkQ6fMJXxmaSNovX86mz","TA39q3p75XRSWYAEaSF7dANtyksoa3sLge","TAoLw5yD5XUoHWeBZRSZ1ExK9HMv2CiPvP","TASWbk6X1wiTku5TMmMQYqYFvshVEtfJy8","TAYhjpL8pPs8T84FSM329nffQpc6jD8GBM","TBATDh41qMQ1yeVYecneEvhpfayYmkAQWS","TBcLqqqyZjNj1ptuXFgj5H768NhNU5nDyn","TBwghbQMsBC5xcUxE7ZpYXhfDMXZAfiFv6","TBWRDpQsW1ZVPGGaBAwVLNb7iqmVBuM1nj","TBYRhsZR7Mdn9ezpGVLwZiNVnGm8wZGLAD","TBZefVsyQpzzxc2WSCLbZBECvxVdzGqdtC","TC4VsFHJdZ66BdwobZxkudVZBVmQZgCP65","TC5UNu3LGrjjVCuLNDdVgjm4oL5cQAyFRZ","TC8axQvzJEVR3NKN6mZnJtGy7537GEmh38","TCA7AfTSuDmgYk2VaezfPuZF4Z4X8wxwcQ","TCA9vmjsYw9MtPKEwRBtGhKFRfr4CLxJAv","TCFD8N3vM5b4Gr5f1kkajQsodRVNyyAq1d","TCu5onCzXuqxjvVzdB2tR4FLuF66d4yRqf","TCzq6m2zxnQkrZrf8cqYcK6bbXQYAfWYKC","TDdbRFoBTEmE3qiR69Y6rKRSG1hoF65QaE","TDFtJtyLPgN3oWUoHh23oJox3T5V5nR11K","TDprk9jeYPVm6khkBp1u7fwuyJcEJFrPWD","TDwN1Eq62bqvVhfGAjdRRJjE46jsi5KNMV","TEAqwfMhXLaomXhZ8KeMhx3njGmQEDnsUR","TEcuHDQthTmULe8fFLUccBPpjfXaTmJuuD","TEFph7dZoUN5233cGEzF6XFwRpjPF8fQDS","TFdTr9C3BqQrzKBXqSxJfAZFTh8UwBAfSg","TFFvv7NAWmbcVfA7QN81mMvUC25TWj1WJx","TGckaiamj5NzaYx6Qp6Zu7kahuHArzUo99","TGJVc32ig2u8tQsYMLE7KXHT5NDQroaVNU","TGsNFrgWfbGN2gX25Wcf8oTejtxtQkvmEx","TGUPpmW2bAnMCLe5ih2CFisfCHk4gTFDsx","TH96tFMn8KGiYSLiwcV3E2UiaJc8jmcbz3","THh5woR8qfmDsNknQ3agPYzQSiRtMnKsTh","TL1k1U6SHohxBqb68kCodxHc9y2LXoDSep","TLM3zA3EWycoDX4ZX4gKze7sgfbdkntTum","TLNRT524dzL5FF1n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6kNVLq9QZ","XnPFsRWTaSgiVauosEwQ6dEitGYXgwznz2","Xs3vzQmNvAxRa3Xo8XzQqUb3BMgb9EogF4","XyARKoupuArYtToA2S6yMdnoquDCDaBsaT","t1g7wowvQ8gn2v8jrU1biyJ26sieNqNsBJy","t1MMXtBrSp1XG38Lx9cePcNUCJj5vdWfUWL","0x08723392Ed15743cc38513C4925f5e6be5c17243","0x0931cA4D13BB4ba75D9B7132AB690265D749a5E7","0x098B716B8Aaf21512996dC57EB0615e2383E2f96","0x12de548F79a50D2bd05481C8515C1eF5183666a9","0x175d44451403Edf28469dF03A9280c1197ADb92c","0x1999EF52700c34De7EC2b68a28aAFB37db0C5ade","0x19F8f2B0915Daa12a3f5C9CF01dF9E24D53794F7","0x21B8d56BDA776bbE68655A16895afd96F5534feD","0x35fB6f6DB4fb05e6A4cE86f2C93691425626d4b1","0x38735f03b30FbC022DdD06ABED01F0Ca823C6a94","0x39D908dac893CBCB53Cc86e0ECc369aA4DeF1A29","0x3AD9dB589d201A710Ed237c829c7860Ba86510Fc","0x3CBdeD43EFdAf0FC77b9C55F6fC9988fCC9b757d","0x3Cffd56B47B7b41c56258D9C7731ABaDc360E073","0x3e37627dEAA754090fBFbb8bd226c1CE66D255e9","0x43fa21d92141BA9db43052492E0DeEE5aa5f0A93","0x4F47Bc496083C727c5fbe3CE9CDf2B0f6496270c","0x530A64c0Ce595026a4A556b703644228179E2d57","0x532B77B33A040587e9FD1800088225f99b8B0E8A","0x53b6936513e738f44FB50d2b9476730C0Ab3Bfc1","0x57EC89A0C056163A0314e413320f9B3ABe761259","0x5A7a51bFb49F190e5A6060a5bc6052Ac14a3b59f","0x5D5b5dAfecBF31BDb08bFd3eDad4f2694372d0ef","0x5f48C2A71B2CC96e3F0CCae4E39318Ff0dc375b2","0x6Be0aE71e6c41f2f9D0D1A3B8d0f75E6f6A0b46e","0x797d7Ae72EbddCDea2a346c1834E04d1F8dF102b","0x7CEd75026204aC29C34bEA98905D4C949F27361e","0x7F367cC41522cE07553e823bf3be79A889DEbe1B","0x7FF9cFad3877F21d41Da833E2F775dB0569eE3D9","0x8Dce2aAC0dE82bdCAf6b4373B79f94331b8e4995","0x901bb9583b24D97e995513C6778dc6888AB6870e","0x931546D9e66836AbF687d2bc64B30407bAc8C568","0x961C5Be54a2ffC17CF4Cb021d863c42daCd47Fc1","0x97B1043ABD9E6FC31681635166d430a458D14F9C","0x983a81ca6FB1e441266D2FbcB7D8E530AC2E05A2","0x9C2Bc757B66F24D60F016B6237F8CdD414a879Fa","0x9F4cda013E354b8fC285BF4b9A60460cEe7f7Ea9","0xa0e1c89Ef1a489c9C7dE96311eD5Ce5D32c20E4B","0xA7e5d5A720f06526557c513402f2e6B5fA20b008","0xb338962B92CD818D6aef0A32a9ECD01212a71f33","0xb6f5ec1A0a9cd1526536D3F0426c429529471F40","0xc103B7Dc095c904b92081EEF0C1640081ec01c10","0xc2a3829F459B3Edd87791c74cD45402BA0a20Be3","0xd5ED34b52AC4ab84d8FA8A231a3218bbF01Ed510","0xD8500C631dC32FA18645B7436344a99E4825e10e","0xd882cFc20F52f2599D84b8e8D58C7FB62cfE344b","0xDb2720ebAd55399117ddB4C4a4afd9a4CCAda8fE","0xdcbEfFBECcE100cCE9E4b153C4e15cB885643193","0xE1E4C5e5Ed8F03Ae61b581e2dEf126025F2b9401","0xE3D35f68383732649669aA990832E017340DbcA5","0xE950DC316b836e4EeFb8308bf32Bf7C72a1358FF","0xeD6e0A7e4Ac94D976eeBfB82ccf777A3c6baD921","0xf3701F445b6BDaFeDbcA97D1e477357839e4120D","0xf4377edA661e04B6DDA78969796Ed31658D602D4","0xF7B31119c2682c88d88D455dBb9d5932c65Cf1bE","0xFAC583C0cF07Ea434052c49115a4682172aB6b4F","0xfEC8A60023265364D066a1212fDE3930F6Ae8da7","bc1q2lpgjntr348pfvxhfy33ehmdzy3gmx8w4052z6","bc1q2we5eqjj8je6lz9xwjattpc3pn4jejc5h0s70f","bc1q3q2lz3cmt4u2f49ugxz5q34xrs0m2z4w2gmkp5","bc1q3y5v2khlyvemcz042wl98dzflywr8ghglqws6s","bc1q45cxufu7x6s5v9adzm9t38k80gwawse75xffwe","bc1q4namcagg5wljs0u20z6h2sqgsq4q5lts8rt2rr","bc1q4yzd2rjmshm8ucrwy6dzj5rna20j0zlf8hf8vz","bc1q5jqgm7nvrhaw2rh2vk0dk8e4gg5g373g0vz07r","bc1q8ew45w2agdffrnwp6adt2gqrc9n4mkev9ns29c","bc1q9lvynkfpaw330uhqmunzdz6gmafsvapv7y3zty","bc1qagp0gy58v8hqvw4p2wsphcxg067rrppp45hexr","bc1qardcxz845jw83vgfvcmewhuxa0ag9gchjwmcfd","bc1qdpazd6smrkq5hmw6lupq98za2fqtgmq3azv3av","bc1qdt3gml5z5n50y5hm04u2yjdphefkm0fl2zdj68","bc1qeth6n6ryxexvkx34wnx3nuynun4474h3j0gkhw","bc1qfg4gfg0y6t6xjnpmlhuwx5k0wlw6nmfzxn2psc","bc1qj2ffj6pepc80sfqpx2k2pd3q278q72dpqv2ens","bc1qjwr3rgww7a8ut7a4x8jqh3vswcue3xvp6dm7qe","bc1ql7dlyh8xz6tpqk92vztrhqh88dmjvcwrmsemrm","bc1qmzmx8res2fgzd2wttyvf2ajqqqtcnxxrgkqc2t","bc1qn6segn8km4nfdp9vueu6msfjsaxaqgun9h60n9","bc1qnujzvts45qka3cr2eqqw8ur3q6g6s0ze2wlk5m","bc1qnykkrlk67f9kdqvzyw2ndu3xmef5z2e52886yl","bc1qpaly5nm7pfka9v92d6qvl4fc2l9xzee8a6ys3s","bc1qsxf77cvwcd6jv6j8d8j3uhh4g0xqw4meswmwuc","bc1qtdupwe722vcc5e0vh94cgwfs0ep4gzwyfsf75q","bc1qte9ret332gwrk6e7vqc87d807npzvdj5savg4h","bc1qtrrfhr0f3ufsrjxfv8a7p3yuqj0spe4cm6vaws","bc1qtsl3ufenrv3zgrgm9z8xarcx22x8mfztuartyn","bc1qu5vngdtcx8nc9d68pq8nv7pzcjrswsy87s66gk","bc1qv4krhj2qmpd9qz9xj9nhvj99fq8s9xsw05d485","bc1qv7k70u2zynvem59u88ctdlaw7hc735d8xep9rq","bc1qvhnfknw852ephxyc5hm4q520zmvf9maphetc9z","bc1qvxlwpgcw260sc97a0u6dm0cjxv027clhd67fvx","bc1qw4cxpe6sxa5dg6sdwxjph959cw6yztrzl4r54s","bc1qw4fxztd5u3sl7vrcqwk2a8v5zh5dllvckx3tlt","bc1qw8evftpgc8wsmkemd8yl5fg2husza5z802xaym","bc1qwtswqzvaxl6lyw3keqqzwt8z937psta3wg9sjy","bc1qwz0l2ceddckwdy5rh6zyrm3x4ha6gn5f2da5zg","bc1qx3e2axj3wsfn0ndtvlwmkghmmgm4583nqg8ngk","bc1qx9upga7f09tsetqf78wa3qrmcjar58mkwz6ng6","bc1qyqvyupkpl6tm60zdecef925y220ssjuagpxsm0","bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23","qpf2cphc5dkuclkqur7lhj2yuqq9pk3hmukle77vhq","qzjv8hrdvz6edu4gkzpnd4w6jc7zf296g5e9kkq4lx","42RLPACwZPx3vYYmxSueqsogfynBDqXK298EDsNoyoHi","bc1q86tl9255vg5wldamfymaaz36uqxzm30gs7fhkljvzdlt9t38s3lqgdwdfq","bc1q90zrdysy4flyacw7hsury3ajs9yzwtwp6guqpypx94w0d3p58hysvz6pde","bc1qkfqh5p2qsakseg5gnwen6zh5xf3elmku2xaup29mw3l0wnncy3es880dss","bc1qq7p0es3dv5hcynjjf40f2xjjr6qp5py47d2f6n847vduuq9gvnyq7y9ecd","bc1qw7vfgv3r5vnehafl0y95sclg3uqsj87wxs9ad628yjjcq33cwessr6ndyw","5be5543ff73456ab9f2d207887e2af87322c651ea1a873c5b25b7ffae456c320","49HqitRzdnhYjgTEAhgGpCfsjdTeMbUTU6cyR4JV1R7k2Eej9rGT8JpFiYDa4tZM6RZiFrHmMzgSrhHEqpDYKBe5B2ufNsL","884Bz8UH63aYsjVdkfWfScRYWZGGNbjFL7pztqvWNSrtYT4reFSwyvkCj9KEGUtheHhhMUj87ciTBFyzoesrMJ4L1FvSoxL"])),O3=e=>!e||!x.config.chains[e]?"Select a source chain":"",k3=(e,t)=>{if(!e||!x.config.chains[e])return"Select a destination chain";if(t&&e===t&&!x.config.routes.isSameChainSwapSupported(e))return"Source chain and destination chain cannot be the same";if(x.config.ui.defaultInputs&&x.config.ui.defaultInputs.requiredChain&&e&&t){const{requiredChain:i}=x.config.ui.defaultInputs,r=x.config.chains[i];if(r&&e!==i&&t!==i)return`Must select ${r.displayName} as either the source or destination chain`}return""},v3=(e,t)=>e&&b.units(e)===0n?"Amount must be greater than 0":"",U3=e=>$o.has(e)||$o.has("0x"+e),b1=async(e,t)=>{if(!e.address)return"Wallet not connected";try{if(U3(e.address))return"This address is restricted, bridging is not available"}catch(i){console.error(i)}if(e.currentAddress&&e.currentAddress!==e.address)return"Switch to connected wallet";const n=we.walletAcceptedChains(e.type);return t&&!n.includes(t)?`Connected wallet is not supported for ${t}`:""},Y3=(e,t)=>e<0?"Amount must be equal to or greater than zero":t&&e>t?"Amount exceeds maximum amount":"",R3=e=>{if(!e)return!1;const t=x.config.routes.get(e);return t?t.AUTOMATIC_DEPOSIT:!1},_3=async(e,t,n)=>{const{fromChain:i,toChain:r,amount:s,route:a}=e,{maxSwapAmt:c,toNativeToken:u}=t,{sending:l,receiving:M}=n,g=R3(a),N={sendingWallet:await b1(l,i),receivingWallet:await b1(M,r),fromChain:O3(i),toChain:k3(r,i),amount:v3(s),toNativeToken:"",relayerFee:"",receiveAmount:""};return g?a==="AutomaticNtt"?N:{...N,toNativeToken:Y3(u,c)}:N},u2=e=>{for(const t of Object.values(e))if(t)return!1;return!0},l2=async({transferInput:e,relay:t,wallet:n},i,r)=>{const s=await _3(e,t,n),a=n.sending.address&&n.receiving.address&&e.fromChain&&e.toChain&&e.token&&e.destToken&&e.amount;r()||i(J4({validations:s,showValidationState:!!a}))},Q3=250,P3=()=>{const e=tt(),t=Ae(a=>a.transferInput),n=Ae(a=>a.relay),i=Ae(a=>a.wallet),r=I.useMemo(()=>({transferInput:t,relay:n,wallet:i}),[t,n,i]),[s]=Nl(r,Q3);I.useEffect(()=>{let a=!1;return l2(s,e,()=>a),()=>{a=!0}},[s,e])},Hs=(e,t)=>{const n=e.toString().padStart(2,"0"),i=t.toString().padStart(2,"0");return`${n}:${i}`},B3=e=>{const t=Math.floor(e/6e4),n=Math.floor(e%6e4/1e3);return Hs(t,n)};class Di{_chain;_chainContextV2;_address;_walletType;_walletProvider;constructor(t,n,i,r,s){this._chain=t,this._chainContextV2=n,this._address=i,this._walletType=r,this._walletProvider=s}static async fromChain(t,n,i,r){const a=(await x.getWormholeContextV2()).getPlatform(b.chainToPlatform(t)).getChain(t);return new Di(t,a,n,i,r)}static async fromPrivateKey(t){const r=(await x.getWormholeContextV2()).getPlatform(b.chainToPlatform(t)).getChain(t).platform.utils()._platform;switch(r){case"Evm":throw new Error("Missing Ethereum private key");case"Solana":throw new Error("Missing Solana private key");case"Sui":throw new Error("Missing Sui private key");default:throw new Error(`Unrecognized platform: ${r}`)}}async signAndSend(t){const n=[],i=this._walletProvider.getWallet(this._chain,this._walletType);if(!i)throw new Error(`No ${this._walletType} wallet available for ${this._chain}`);for(const r of t){const s=await this._walletProvider.signAndSendTransaction(this._chain,i,r);n.push(s)}return n}chain(){return this._chainContextV2.chain}address(){return this._address}provider(){return this._walletProvider}}const Z3=300*1e3,Ar={},M2=new Set,d2=(e,t)=>`${t.chain}:${e}:${t.addressString}`,W3=(e,t)=>{const n=d2(e.address,t),i=Ar[n],r=Date.now();return i&&i.lastUpdated>r-Z3?i:null},Pi=(e,t,n)=>{const i=d2(e.address,t);Ar[i]={balance:n,lastUpdated:Date.now()}},O1=(e,t)=>{M2.add(`${e}:${t}`)},F3=(e,t)=>M2.has(`${e}:${t}`),g2=(e,t)=>{for(const n in Ar)n.startsWith(`${t}:${e.address}`)&&delete Ar[n]},H3=e=>{const t=tt(),[n,i]=I.useState(void 0),[r,s]=I.useState(void 0),[a,c]=I.useState(void 0),u=I.useContext(En),{walletProvider:l}=ln(),M=Ae(k=>k.transferInput),{amount:g,fromChain:N,toChain:y,route:T,validations:d}=M,{sourceToken:f,destToken:C}=zn(),m=Ae(k=>k.wallet),{sending:h,receiving:D}=m,j=Ae(k=>k.relay),{toNativeToken:L}=j,p=e.quotes[T??""],S=p?.success?p:void 0,w=S?.destinationNativeGas,z=a2();return I.useEffect(()=>{n&&(i(void 0),s(void 0)),a&&c(void 0)},[N,f?.key,y,C?.key,g,T]),{onConfirm:async()=>{if(n&&i(void 0),x.config.ui.previewMode){i("Connect is in preview mode");return}if(!N||!f||!y||!C||!g||!T||!S||(await l2({transferInput:M,relay:j,wallet:m},t,()=>!1),!u2(d)||!T))return;const v=Ws(T,f,C,N,y,g,z);if(x.config.validateTransfer)try{const{isValid:Q,error:P}=await x.config.validateTransfer({...v,fromWalletAddress:h.address,toWalletAddress:D.address});if(!Q){i(P??"Transfer validation failed");return}}catch(Q){i("Error validating transfer"),s(Q),console.error(Q);return}t(L1(!0));try{x.config.triggerEvent({type:"transfer.initiate",details:v});let Q;x.config.ui.testOptions?.enableHeadlessSigner?Q=await Di.fromPrivateKey(N):Q=await Di.fromChain(N,h.address,we.TransferWallet.SENDING,l);const[P,Z]=await x.config.routes.execute(T,f,g,N,Q,y,h.address,D.address,C,{nativeGas:L});g2(h,N);const O="originTxs"in Z?Z.originTxs[Z.originTxs.length-1].txid:void 0;if(x.config.triggerEvent({type:"transfer.start",details:{...v,txId:O}}),!O)throw new Error("Can't find txid in receipt");let H;if(S.relayFee){const{token:A,amount:Y}=S.relayFee,E=x.config.tokens.get(A);H={fee:Number.parseFloat(w3(Y.amount,Y.decimals,6)),token:E?.tuple}}const $=Date.now(),_={sendTx:O,sender:h.address,amount:g,recipient:D.address,toChain:Z.to,fromChain:Z.from,receivedToken:C.tuple,token:f.tuple,tokenAddress:f.tuple[1],tokenKey:f.key,tokenDecimals:f.decimals,relayerFee:H,receiveAmount:S.destinationToken.amount,receiveNativeAmount:w,eta:S.eta||0};z3({txDetails:_,txHash:O,timestamp:$,receipt:Z,route:T}),t(E0($)),t(Rs(_)),t(yn("")),u.setRoute(P),u.setReceipt(Z),t(v4(O)),t(_s(T)),t(Bt("redeem")),i(void 0)}catch(Q){const[P,Z]=x.interpretTransferError(Q,v,"send");Z.type===x.ERR_USER_REJECTED?c(P):(console.error("Wormhole Connect: error completing transfer",Q),i(P),s(Q),x.config.triggerEvent({type:"transfer.error",error:Z,details:v}))}finally{t(L1(!1))}},error:n,errorInternal:r,info:a}};async function k1(e,t,n){const{batchSize:i,delayMs:r,maxItems:s}=n,a=s?e.slice(0,s):e,c=[];for(let u=0;u<a.length;u+=i){const l=a.slice(u,u+i),M=await Promise.all(l.map(t));c.push(...M),u+i<a.length&&await x.sleep(r)}return c}const v1=5,U1=100,G3=100,ii=(e,t)=>`${e}-${t.address}`,V3=({source:e,destination:t})=>{const[n,i]=I.useState({}),[r,s]=I.useState(new Set),{getOrFetchToken:a}=ft(),c=I.useRef(new Set),u=I.useCallback(async(d,f,C,m,h)=>{const D=Object.entries(d).filter(([L,p])=>p!==null&&p>1n).sort(([,L],[,p])=>{const S=L??0n,w=p??0n;return S>w?-1:S<w?1:0}),j=[];for(const[L,p]of D){if(p===null)continue;const S=x.config.tokens.get(f,L);if(S){const w=b.fromBaseUnits(p,S.decimals),z={balance:w,lastUpdated:Date.now()};m[S.key]=z,Pi(C,S,w)}else F3(f,L)||j.push([L,p])}j.length>0&&await k1(j,async([L,p])=>{try{const S=await a(b.Wormhole.tokenId(f,L));if(S){const w=b.fromBaseUnits(p,S.decimals),z={balance:w,lastUpdated:Date.now()};m[S.key]=z,Pi(C,S,w)}else O1(f,L)}catch(S){console.error(`Failed to fetch token metadata for ${L}:`,S),O1(f,L)}},{batchSize:v1,delayMs:U1,maxItems:G3});for(const L of h)if(m[L.key]===void 0){const p=b.fromBaseUnits(0n,L.decimals);m[L.key]={balance:p,lastUpdated:Date.now()},Pi(C,L,p)}},[a]),l=I.useCallback(async(d,f,C)=>{const m=x.config.chains[d];if(d==="HyperCore")return{};if(!m||b.chainToPlatform(m.sdkName)!==f.type)return{};const h={},D=[];for(const z of C){const U=W3(f,z);U?h[z.key]=U:D.push(z)}if(D.length===0)return h;const j=await x.getWormholeContextV2(),L=b.chainToPlatform(d),p=j.getPlatform(L),S=p.getRpc(d),w=p.utils();if(b.supportsIndexerUtils(w)&&(L!=="Evm"||x.config.evmIndexers&&(x.config.evmIndexers.alchemy||x.config.evmIndexers.goldRush)))try{const U=await w.getBalances(x.config.network,d,S,f.address,L==="Evm"?x.config.evmIndexers:void 0);return await u(U,d,f,h,D),h}catch(U){console.error(`Error calling getBalances on ${d}:`,U)}return await k1(D,async z=>{try{const U=await w.getBalance(x.config.network,d,S,f.address,z.address),k=b.fromBaseUnits(U??0n,z.decimals);h[z.key]={balance:k,lastUpdated:Date.now()},Pi(f,z,k)}catch(U){console.error(`Failed to fetch balance for token ${z.key}`,U)}},{batchSize:v1,delayMs:U1}),h},[u]);I.useEffect(()=>{const d=new Set;if(e&&d.add(ii(e.chain,e.wallet)),t&&d.add(ii(t.chain,t.wallet)),c.current=d,s(C=>{const m=new Set(C);for(const h of C)d.has(h)||m.delete(h);return m}),d.size===0)return;(async()=>{const C=[];e&&C.push(e),t&&C.push(t),s(new Set(d));try{const m=await Promise.all(C.map(async h=>{const D=ii(h.chain,h.wallet);if(!c.current.has(D))return{key:D,balances:{}};const j=await l(h.chain,h.wallet,h.tokens);return{key:D,balances:j}}));i(h=>{const D={...h};for(const{key:j,balances:L}of m)c.current.has(j)&&Object.keys(L).length>0&&(D[j]=L);for(const j in D)c.current.has(j)||delete D[j];return D})}finally{s(m=>{const h=new Set(m);for(const D of d)h.delete(D);return h})}})()},[e?.chain,e?.wallet?.address,t?.chain,t?.wallet?.address]);const M=e?ii(e.chain,e.wallet):null,g=t?ii(t.chain,t.wallet):null,N=I.useMemo(()=>({balances:M?n[M]||{}:{}}),[n,M]),y=I.useMemo(()=>({balances:g?n[g]||{}:{}}),[n,g]);return{isFetching:r.size>0,source:N,destination:y}},J3=({sendingWallet:e,receivingWallet:t,sourceChain:n,destChain:i,routes:r})=>I.useMemo(()=>{if(r.length===1&&r[0]==="ManualCCTP"){const a=["Petra","Pontem Wallet","Nightly","Continue with Google","Continue with Apple"];if(n==="Aptos"&&!a.includes(e.name)||i==="Aptos"&&!a.includes(t.name))return{isCompatible:!1,warning:"Please use a compatible wallet for this route."}}return{isCompatible:!0}},[e,t,n,i,r]);function f2(e,t,n,i){const{connectWallet:r,swapWallets:s}=ln(),[a,c]=I.useState(!1),u=I.useRef(void 0),l=I.useRef(void 0),M=I.useRef(void 0),g=I.useRef(void 0);return I.useEffect(()=>{const N=e!==u.current,y=t!==l.current,T=n?.address!==M.current?.address,d=i?.address!==g.current?.address,f=N&&y&&e===l.current&&t===u.current;if(u.current=e,l.current=t,M.current=n,g.current=i,f){s();return}const C=N||d&&i?.address&&!n?.address,m=y||T&&n?.address&&!i?.address;if(!C&&!m)return;let h=!1;async function D(){if(c(!0),C&&e&&!h)try{await r(e,we.TransferWallet.SENDING,!0)}catch{}if(m&&t&&!h)try{await r(t,we.TransferWallet.RECEIVING,!0)}catch{}h||c(!1)}return D(),()=>{h=!0}},[e,t,n,i,s,r]),{isConnecting:a}}function q3({route:e,destChain:t,receivingWalletAddress:n,destinationBalances:i,hasUserManuallyChangedGas:r,currentToNativeToken:s,isFetchingBalances:a,allowedChains:c}){const u=tt();I.useEffect(()=>{if(!e||!x.isExecutorRoute(e)||!t||!n||r||!c||c.length===0||!c.includes(t))return;const l=x.config.tokens.getGasToken(t);if(!l)return;if(a){s!==0&&u(Ot(0));return}const M=i[l.key],N=M?.balance&&b.units(M.balance)>0n?0:1;N!==s&&u(Ot(N))},[e,t,i,n,r,s,a,c,u])}function X3(e){const t=We.useTheme(),n=I.useMemo(()=>({separator:{display:"flex",paddingLeft:t.spacing(1),paddingRight:t.spacing(1)}}),[t]);return o.jsx(he,{sx:n.separator,children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 27 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{fill:e.color,d:"M24.536 37.864C22.376 37.72 20.6 37.288 18.728 35.416C17.432 36.328 15.416 37.432 12.008 37.432H11.624C5.096 37.432 0.632 33.832 0.632 27.64V26.824C0.632 22.024 3.608 19.528 6.68 17.464C4.808 14.392 3.176 11.848 3.176 8.632V8.056C3.176 3.832 5.72 0.951998 11.336 0.951998H12.104C18.008 0.951998 20.024 4.072 20.024 8.056V8.248C20.024 12.136 17.864 14.92 13.64 17.992L19.016 26.728C19.448 23.992 19.688 20.872 19.688 16.6H25.448C25.4 21.784 24.536 26.872 22.616 31.24C24.2 32.392 25.592 32.392 26.888 32.536L24.536 37.864ZM9.224 8.392C9.224 10.168 9.848 11.8 11.432 14.44C13.496 11.992 14.072 10.696 14.072 8.632V8.44C14.072 6.184 13.208 5.464 11.672 5.464C10.088 5.464 9.224 6.232 9.224 8.296V8.392ZM12.632 32.536C14.024 32.536 15.032 32.248 15.848 31.72L9.032 21.16C7.928 22.456 6.824 23.896 6.824 26.344V26.584C6.824 30.04 9.032 32.536 12.632 32.536Z"})})})}function Y1(e){return o.jsxs(he,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"4px",width:"fit-content"},children:[o.jsx(Me,{fontSize:"12px",sx:{opacity:.6},children:"Powered by"}),o.jsx(As,{href:"https://wormhole.com/products/connect",paddingBottom:"2px",target:"_blank",children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"78",height:"8",viewBox:"0 0 78 8",fill:"none",children:[o.jsxs("g",{clipPath:"url(#icons_poweredBy_clipPath_0)",children:[o.jsx("path",{d:"M58.9654 0.5H55.3552C53.9676 0.5 52.8438 1.59108 52.8438 2.93817V5.06183C52.8438 6.40892 53.9676 7.5 55.3552 7.5H59.0508V7.49634C60.3982 7.45246 61.4769 6.38088 61.4769 5.06183V2.93817C61.4769 1.59108 60.353 0.5 58.9654 0.5ZM58.5762 6.33699H55.7445V1.66301H58.5762V6.33699Z",fill:e.color}),o.jsx("path",{d:"M18.8612 0.5H15.251C13.8634 0.5 12.7395 1.59108 12.7395 2.93817V5.06183C12.7395 6.40892 13.8634 7.5 15.251 7.5H18.9466V7.49634C20.294 7.45246 21.3726 6.38088 21.3726 5.06183V2.93817C21.3726 1.59108 20.2488 0.5 18.8612 0.5ZM18.4719 6.33699H15.6402V1.66301H18.4719V6.33699Z",fill:e.color}),o.jsx("path",{d:"M39.0683 1.71909L36.9713 5.24469V0.5H35.5184C34.6206 0.5 33.7918 0.964472 33.3435 1.71909L30.3046 6.82828L28.9673 4.58029C29.9279 4.56931 30.7039 3.80982 30.7039 2.87478V2.20672C30.7039 1.26437 29.9166 0.5 28.9459 0.5H22.0708V7.5H24.9715V4.5815H25.6195L27.3549 7.5H31.2452L34.0705 2.748V7.5H36.9713V7.49756L39.7841 2.7675V7.5H42.6848V0.5H41.242C40.3442 0.5 39.5154 0.964472 39.0671 1.71909H39.0683ZM27.8032 3.4185H24.9715V1.66301H27.8032V3.4185Z",fill:e.color}),o.jsx("path",{d:"M49.2273 3.4185H46.3956V0.5H43.4949V7.5H46.3956V4.5815H49.2273V7.5H52.128V0.5H49.2273V3.4185Z",fill:e.color}),o.jsx("path",{d:"M65.0934 0.5H62.1926V5.06183C62.1926 6.40892 63.3165 7.5 64.7041 7.5H68.8379V6.33699H65.0934V0.5Z",fill:e.color}),o.jsx("path",{d:"M77.5001 1.66301V0.5H72.4847H69.584V1.66301V3.4185V4.5815V6.33699V7.5H72.4847H77.5001V6.33699H72.4847V4.5815H76.4541V3.4185H72.4847V1.66301H77.5001Z",fill:e.color}),o.jsx("path",{d:"M11.9409 0.5L9.11555 5.252V0.5H6.21482V0.502438L3.40199 5.2325V0.5H0.5V7.5H1.94283C2.84068 7.5 3.66946 7.03553 4.11775 6.28091L6.21482 2.75531V7.5H7.6677C8.56554 7.5 9.39432 7.03553 9.84262 6.28091L13.2808 0.5H11.9409Z",fill:e.color})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_poweredBy_clipPath_0",children:o.jsx("rect",{width:"77",height:"7",fill:e.color,transform:"translate(0.5 0.5)"})})})]})})]})}function $3(e){const t=We.useTheme(),n=I.useMemo(()=>({partnerLogo:{maxHeight:t.spacing(3)}}),[t]);return o.jsx("img",{src:e.src,alt:"partner",style:n.partnerLogo})}function h2(e){const t={container:{display:"flex",justifyContent:"center",alignContent:"center",alignItems:"center",flexDirection:"row",maxWidth:"100%",flexWrap:"wrap",gap:"20px 4px",mt:"12px"}};return o.jsx(he,{sx:t.container,children:x.config.ui.partnerLogo?o.jsxs(o.Fragment,{children:[o.jsx(Y1,{color:e.color}),o.jsx(X3,{color:e.color}),o.jsx($3,{src:x.config.ui.partnerLogo})]}):o.jsx(Y1,{color:e.color})})}const R1=(e,t,n)=>{if(t&&x.isSameToken(t,e))return 5;if(n&&e.symbol===n.symbol&&!e.isTokenBridgeWrappedToken)return 4;if(b.isNative(e.addressString))return 3;const i=b.usdcContract.get(x.config.network,e.chain);return i&&e.addressString===i?2:e.isTokenBridgeWrappedToken?0:1},_1=(e,t,n)=>{const i=t[x.tokenKey(e)];return!i||!i.balance||i.balance.amount==="0"?0:x.calculateUSDPriceRaw(n,i.balance,e)??0},K3=(e,t,n)=>{if(!t)return[...e];const i=[...e];let r=[];const s=x.config.tokens.get(n.sdkName,t);s&&r.push(s);const a=x.config.tokens.queryBySymbol(n.sdkName,t).filter(c=>!x.isFrankensteinToken(c,n.sdkName));a.length>0&&(r=r.concat(a));for(const c of r)e.find(u=>x.isSameToken(c,u))||i.push(c);return i},e5=(e,t,n,i,r)=>e.sort((s,a)=>{const c=R1(s,t,r),u=R1(a,t,r);if(c>u)return-1;if(u>c)return 1;const l=_1(s,n,i),M=_1(a,n,i);return l!==M?M-l:s.symbol.localeCompare(a.symbol)}),Ko=(e,t)=>{if(!x.config.tokenWhitelist||x.config.tokenWhitelist.length===0)return e;const n=new Set,i=[];for(const r of x.config.tokenWhitelist)if(typeof r=="string")i.push(r);else if(x.isTokenTuple(r)){const s=x.tokenIdFromTuple(r);s.chain===t.sdkName&&n.add(s.address.toString())}for(const r of i){let s=!1;const a=[];for(const c of e)c.symbol===r&&(c.isTokenBridgeWrappedToken?a.push(c):(n.add(c.address.toString()),s=!0));if(!s&&a.length>0){for(const{address:c}of a)n.add(c.toString());a.length>1&&console.warn(`Ambiguous token whitelist item "${r}"; found ${a.length} matching wrapped tokens.`)}}return e.filter(r=>n.has(r.address.toString()))},t5=(e,t,n)=>{const i=x.config.isTokenSupportedHandler;if(!i)return e;const r=n?"source":"destination";return e.filter(s=>i(s,t,r))},n5=e=>e.filter(t=>{const n=t.isNativeGasToken||t.isBuiltin||t.coingeckoWebId||t.isTokenBridgeWrappedToken||x.isNttToken(t);return n||console.debug("Filtering out token for likely being spam",t),n});var vn={},Jr,Q1;function i5(){return Q1||(Q1=1,Jr=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Jr}var qr={},qt={},P1;function bn(){if(P1)return qt;P1=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return qt.getSymbolSize=function(i){if(!i)throw new Error('"version" cannot be null or undefined');if(i<1||i>40)throw new Error('"version" should be in range from 1 to 40');return i*4+17},qt.getSymbolTotalCodewords=function(i){return t[i]},qt.getBCHDigit=function(n){let i=0;for(;n!==0;)i++,n>>>=1;return i},qt.setToSJISFunction=function(i){if(typeof i!="function")throw new Error('"toSJISFunc" is not a valid function.');e=i},qt.isKanjiModeEnabled=function(){return typeof e<"u"},qt.toSJIS=function(i){return e(i)},qt}var Xr={},B1;function Gs(){return B1||(B1=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(i){return i&&typeof i.bit<"u"&&i.bit>=0&&i.bit<4},e.from=function(i,r){if(e.isValid(i))return i;try{return t(i)}catch{return r}}})(Xr)),Xr}var $r,Z1;function r5(){if(Z1)return $r;Z1=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let i=0;i<n;i++)this.putBit((t>>>n-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},$r=e,$r}var Kr,W1;function o5(){if(W1)return Kr;W1=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,i,r){const s=t*this.size+n;this.data[s]=i,r&&(this.reservedBit[s]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,i){this.data[t*this.size+n]^=i},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},Kr=e,Kr}var eo={},F1;function s5(){return F1||(F1=1,(function(e){const t=bn().getSymbolSize;e.getRowColCoords=function(i){if(i===1)return[];const r=Math.floor(i/7)+2,s=t(i),a=s===145?26:Math.ceil((s-13)/(2*r-2))*2,c=[s-7];for(let u=1;u<r-1;u++)c[u]=c[u-1]-a;return c.push(6),c.reverse()},e.getPositions=function(i){const r=[],s=e.getRowColCoords(i),a=s.length;for(let c=0;c<a;c++)for(let u=0;u<a;u++)c===0&&u===0||c===0&&u===a-1||c===a-1&&u===0||r.push([s[c],s[u]]);return r}})(eo)),eo}var to={},H1;function a5(){if(H1)return to;H1=1;const e=bn().getSymbolSize,t=7;return to.getPositions=function(i){const r=e(i);return[[0,0],[r-t,0],[0,r-t]]},to}var no={},G1;function c5(){return G1||(G1=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(r){return r!=null&&r!==""&&!isNaN(r)&&r>=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const s=r.size;let a=0,c=0,u=0,l=null,M=null;for(let g=0;g<s;g++){c=u=0,l=M=null;for(let N=0;N<s;N++){let y=r.get(g,N);y===l?c++:(c>=5&&(a+=t.N1+(c-5)),l=y,c=1),y=r.get(N,g),y===M?u++:(u>=5&&(a+=t.N1+(u-5)),M=y,u=1)}c>=5&&(a+=t.N1+(c-5)),u>=5&&(a+=t.N1+(u-5))}return a},e.getPenaltyN2=function(r){const s=r.size;let a=0;for(let c=0;c<s-1;c++)for(let u=0;u<s-1;u++){const l=r.get(c,u)+r.get(c,u+1)+r.get(c+1,u)+r.get(c+1,u+1);(l===4||l===0)&&a++}return a*t.N2},e.getPenaltyN3=function(r){const s=r.size;let a=0,c=0,u=0;for(let l=0;l<s;l++){c=u=0;for(let M=0;M<s;M++)c=c<<1&2047|r.get(l,M),M>=10&&(c===1488||c===93)&&a++,u=u<<1&2047|r.get(M,l),M>=10&&(u===1488||u===93)&&a++}return a*t.N3},e.getPenaltyN4=function(r){let s=0;const a=r.data.length;for(let u=0;u<a;u++)s+=r.data[u];return Math.abs(Math.ceil(s*100/a/5)-10)*t.N4};function n(i,r,s){switch(i){case e.Patterns.PATTERN000:return(r+s)%2===0;case e.Patterns.PATTERN001:return r%2===0;case e.Patterns.PATTERN010:return s%3===0;case e.Patterns.PATTERN011:return(r+s)%3===0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(s/3))%2===0;case e.Patterns.PATTERN101:return r*s%2+r*s%3===0;case e.Patterns.PATTERN110:return(r*s%2+r*s%3)%2===0;case e.Patterns.PATTERN111:return(r*s%3+(r+s)%2)%2===0;default:throw new Error("bad maskPattern:"+i)}}e.applyMask=function(r,s){const a=s.size;for(let c=0;c<a;c++)for(let u=0;u<a;u++)s.isReserved(u,c)||s.xor(u,c,n(r,u,c))},e.getBestMask=function(r,s){const a=Object.keys(e.Patterns).length;let c=0,u=1/0;for(let l=0;l<a;l++){s(l),e.applyMask(l,r);const M=e.getPenaltyN1(r)+e.getPenaltyN2(r)+e.getPenaltyN3(r)+e.getPenaltyN4(r);e.applyMask(l,r),M<u&&(u=M,c=l)}return c}})(no)),no}var Bi={},V1;function j2(){if(V1)return Bi;V1=1;const e=Gs(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Bi.getBlocksCount=function(r,s){switch(s){case e.L:return t[(r-1)*4+0];case e.M:return t[(r-1)*4+1];case e.Q:return t[(r-1)*4+2];case e.H:return t[(r-1)*4+3];default:return}},Bi.getTotalCodewordsCount=function(r,s){switch(s){case e.L:return n[(r-1)*4+0];case e.M:return n[(r-1)*4+1];case e.Q:return n[(r-1)*4+2];case e.H:return n[(r-1)*4+3];default:return}},Bi}var io={},ri={},J1;function u5(){if(J1)return ri;J1=1;const e=new Uint8Array(512),t=new Uint8Array(256);return(function(){let i=1;for(let r=0;r<255;r++)e[r]=i,t[i]=r,i<<=1,i&256&&(i^=285);for(let r=255;r<512;r++)e[r]=e[r-255]})(),ri.log=function(i){if(i<1)throw new Error("log("+i+")");return t[i]},ri.exp=function(i){return e[i]},ri.mul=function(i,r){return i===0||r===0?0:e[t[i]+t[r]]},ri}var q1;function l5(){return q1||(q1=1,(function(e){const t=u5();e.mul=function(i,r){const s=new Uint8Array(i.length+r.length-1);for(let a=0;a<i.length;a++)for(let c=0;c<r.length;c++)s[a+c]^=t.mul(i[a],r[c]);return s},e.mod=function(i,r){let s=new Uint8Array(i);for(;s.length-r.length>=0;){const a=s[0];for(let u=0;u<r.length;u++)s[u]^=t.mul(r[u],a);let c=0;for(;c<s.length&&s[c]===0;)c++;s=s.slice(c)}return s},e.generateECPolynomial=function(i){let r=new Uint8Array([1]);for(let s=0;s<i;s++)r=e.mul(r,new Uint8Array([1,t.exp(s)]));return r}})(io)),io}var ro,X1;function M5(){if(X1)return ro;X1=1;const e=l5();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(i){this.degree=i,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(i){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(i.length+this.degree);r.set(i);const s=e.mod(r,this.genPoly),a=this.degree-s.length;if(a>0){const c=new Uint8Array(this.degree);return c.set(s,a),c}return s},ro=t,ro}var oo={},so={},ao={},$1;function N2(){return $1||($1=1,ao.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),ao}var Rt={},K1;function y2(){if(K1)return Rt;K1=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
26
|
+
]))+`;Rt.KANJI=new RegExp(n,"g"),Rt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Rt.BYTE=new RegExp(i,"g"),Rt.NUMERIC=new RegExp(e,"g"),Rt.ALPHANUMERIC=new RegExp(t,"g");const r=new RegExp("^"+n+"$"),s=new RegExp("^"+e+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Rt.testKanji=function(u){return r.test(u)},Rt.testNumeric=function(u){return s.test(u)},Rt.testAlphanumeric=function(u){return a.test(u)},Rt}var ea;function On(){return ea||(ea=1,(function(e){const t=N2(),n=y2();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(s,a){if(!s.ccBits)throw new Error("Invalid mode: "+s);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?s.ccBits[0]:a<27?s.ccBits[1]:s.ccBits[2]},e.getBestModeForData=function(s){return n.testNumeric(s)?e.NUMERIC:n.testAlphanumeric(s)?e.ALPHANUMERIC:n.testKanji(s)?e.KANJI:e.BYTE},e.toString=function(s){if(s&&s.id)return s.id;throw new Error("Invalid mode")},e.isValid=function(s){return s&&s.bit&&s.ccBits};function i(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(s,a){if(e.isValid(s))return s;try{return i(s)}catch{return a}}})(so)),so}var ta;function d5(){return ta||(ta=1,(function(e){const t=bn(),n=j2(),i=Gs(),r=On(),s=N2(),a=7973,c=t.getBCHDigit(a);function u(N,y,T){for(let d=1;d<=40;d++)if(y<=e.getCapacity(d,T,N))return d}function l(N,y){return r.getCharCountIndicator(N,y)+4}function M(N,y){let T=0;return N.forEach(function(d){const f=l(d.mode,y);T+=f+d.getBitsLength()}),T}function g(N,y){for(let T=1;T<=40;T++)if(M(N,T)<=e.getCapacity(T,y,r.MIXED))return T}e.from=function(y,T){return s.isValid(y)?parseInt(y,10):T},e.getCapacity=function(y,T,d){if(!s.isValid(y))throw new Error("Invalid QR Code version");typeof d>"u"&&(d=r.BYTE);const f=t.getSymbolTotalCodewords(y),C=n.getTotalCodewordsCount(y,T),m=(f-C)*8;if(d===r.MIXED)return m;const h=m-l(d,y);switch(d){case r.NUMERIC:return Math.floor(h/10*3);case r.ALPHANUMERIC:return Math.floor(h/11*2);case r.KANJI:return Math.floor(h/13);case r.BYTE:default:return Math.floor(h/8)}},e.getBestVersionForData=function(y,T){let d;const f=i.from(T,i.M);if(Array.isArray(y)){if(y.length>1)return g(y,f);if(y.length===0)return 1;d=y[0]}else d=y;return u(d.mode,d.getLength(),f)},e.getEncodedBits=function(y){if(!s.isValid(y)||y<7)throw new Error("Invalid QR Code version");let T=y<<12;for(;t.getBCHDigit(T)-c>=0;)T^=a<<t.getBCHDigit(T)-c;return y<<12|T}})(oo)),oo}var co={},na;function g5(){if(na)return co;na=1;const e=bn(),t=1335,n=21522,i=e.getBCHDigit(t);return co.getEncodedBits=function(s,a){const c=s.bit<<3|a;let u=c<<10;for(;e.getBCHDigit(u)-i>=0;)u^=t<<e.getBCHDigit(u)-i;return(c<<10|u)^n},co}var uo={},lo,ia;function f5(){if(ia)return lo;ia=1;const e=On();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(i){return 10*Math.floor(i/3)+(i%3?i%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(i){let r,s,a;for(r=0;r+3<=this.data.length;r+=3)s=this.data.substr(r,3),a=parseInt(s,10),i.put(a,10);const c=this.data.length-r;c>0&&(s=this.data.substr(r),a=parseInt(s,10),i.put(a,c*3+1))},lo=t,lo}var Mo,ra;function h5(){if(ra)return Mo;ra=1;const e=On(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(i){this.mode=e.ALPHANUMERIC,this.data=i}return n.getBitsLength=function(r){return 11*Math.floor(r/2)+6*(r%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let s;for(s=0;s+2<=this.data.length;s+=2){let a=t.indexOf(this.data[s])*45;a+=t.indexOf(this.data[s+1]),r.put(a,11)}this.data.length%2&&r.put(t.indexOf(this.data[s]),6)},Mo=n,Mo}var go,oa;function j5(){if(oa)return go;oa=1;const e=On();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(i){return i*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let i=0,r=this.data.length;i<r;i++)n.put(this.data[i],8)},go=t,go}var fo,sa;function N5(){if(sa)return fo;sa=1;const e=On(),t=bn();function n(i){this.mode=e.KANJI,this.data=i}return n.getBitsLength=function(r){return r*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(i){let r;for(r=0;r<this.data.length;r++){let s=t.toSJIS(this.data[r]);if(s>=33088&&s<=40956)s-=33088;else if(s>=57408&&s<=60351)s-=49472;else throw new Error("Invalid SJIS character: "+this.data[r]+`
|
|
27
|
+
Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),i.put(s,13)}},fo=n,fo}var aa;function y5(){return aa||(aa=1,(function(e){const t=On(),n=f5(),i=h5(),r=j5(),s=N5(),a=y2(),c=bn(),u=oc.requireDijkstra();function l(C){return unescape(encodeURIComponent(C)).length}function M(C,m,h){const D=[];let j;for(;(j=C.exec(h))!==null;)D.push({data:j[0],index:j.index,mode:m,length:j[0].length});return D}function g(C){const m=M(a.NUMERIC,t.NUMERIC,C),h=M(a.ALPHANUMERIC,t.ALPHANUMERIC,C);let D,j;return c.isKanjiModeEnabled()?(D=M(a.BYTE,t.BYTE,C),j=M(a.KANJI,t.KANJI,C)):(D=M(a.BYTE_KANJI,t.BYTE,C),j=[]),m.concat(h,D,j).sort(function(p,S){return p.index-S.index}).map(function(p){return{data:p.data,mode:p.mode,length:p.length}})}function N(C,m){switch(m){case t.NUMERIC:return n.getBitsLength(C);case t.ALPHANUMERIC:return i.getBitsLength(C);case t.KANJI:return s.getBitsLength(C);case t.BYTE:return r.getBitsLength(C)}}function y(C){return C.reduce(function(m,h){const D=m.length-1>=0?m[m.length-1]:null;return D&&D.mode===h.mode?(m[m.length-1].data+=h.data,m):(m.push(h),m)},[])}function T(C){const m=[];for(let h=0;h<C.length;h++){const D=C[h];switch(D.mode){case t.NUMERIC:m.push([D,{data:D.data,mode:t.ALPHANUMERIC,length:D.length},{data:D.data,mode:t.BYTE,length:D.length}]);break;case t.ALPHANUMERIC:m.push([D,{data:D.data,mode:t.BYTE,length:D.length}]);break;case t.KANJI:m.push([D,{data:D.data,mode:t.BYTE,length:l(D.data)}]);break;case t.BYTE:m.push([{data:D.data,mode:t.BYTE,length:l(D.data)}])}}return m}function d(C,m){const h={},D={start:{}};let j=["start"];for(let L=0;L<C.length;L++){const p=C[L],S=[];for(let w=0;w<p.length;w++){const z=p[w],U=""+L+w;S.push(U),h[U]={node:z,lastCount:0},D[U]={};for(let k=0;k<j.length;k++){const v=j[k];h[v]&&h[v].node.mode===z.mode?(D[v][U]=N(h[v].lastCount+z.length,z.mode)-N(h[v].lastCount,z.mode),h[v].lastCount+=z.length):(h[v]&&(h[v].lastCount=z.length),D[v][U]=N(z.length,z.mode)+4+t.getCharCountIndicator(z.mode,m))}}j=S}for(let L=0;L<j.length;L++)D[j[L]].end=0;return{map:D,table:h}}function f(C,m){let h;const D=t.getBestModeForData(C);if(h=t.from(m,D),h!==t.BYTE&&h.bit<D.bit)throw new Error('"'+C+'" cannot be encoded with mode '+t.toString(h)+`.
|
|
28
|
+
Suggested mode is: `+t.toString(D));switch(h===t.KANJI&&!c.isKanjiModeEnabled()&&(h=t.BYTE),h){case t.NUMERIC:return new n(C);case t.ALPHANUMERIC:return new i(C);case t.KANJI:return new s(C);case t.BYTE:return new r(C)}}e.fromArray=function(m){return m.reduce(function(h,D){return typeof D=="string"?h.push(f(D,null)):D.data&&h.push(f(D.data,D.mode)),h},[])},e.fromString=function(m,h){const D=g(m,c.isKanjiModeEnabled()),j=T(D),L=d(j,h),p=u.find_path(L.map,"start","end"),S=[];for(let w=1;w<p.length-1;w++)S.push(L.table[p[w]].node);return e.fromArray(y(S))},e.rawSplit=function(m){return e.fromArray(g(m,c.isKanjiModeEnabled()))}})(uo)),uo}var ca;function I5(){if(ca)return qr;ca=1;const e=bn(),t=Gs(),n=r5(),i=o5(),r=s5(),s=a5(),a=c5(),c=j2(),u=M5(),l=d5(),M=g5(),g=On(),N=y5();function y(L,p){const S=L.size,w=s.getPositions(p);for(let z=0;z<w.length;z++){const U=w[z][0],k=w[z][1];for(let v=-1;v<=7;v++)if(!(U+v<=-1||S<=U+v))for(let Q=-1;Q<=7;Q++)k+Q<=-1||S<=k+Q||(v>=0&&v<=6&&(Q===0||Q===6)||Q>=0&&Q<=6&&(v===0||v===6)||v>=2&&v<=4&&Q>=2&&Q<=4?L.set(U+v,k+Q,!0,!0):L.set(U+v,k+Q,!1,!0))}}function T(L){const p=L.size;for(let S=8;S<p-8;S++){const w=S%2===0;L.set(S,6,w,!0),L.set(6,S,w,!0)}}function d(L,p){const S=r.getPositions(p);for(let w=0;w<S.length;w++){const z=S[w][0],U=S[w][1];for(let k=-2;k<=2;k++)for(let v=-2;v<=2;v++)k===-2||k===2||v===-2||v===2||k===0&&v===0?L.set(z+k,U+v,!0,!0):L.set(z+k,U+v,!1,!0)}}function f(L,p){const S=L.size,w=l.getEncodedBits(p);let z,U,k;for(let v=0;v<18;v++)z=Math.floor(v/3),U=v%3+S-8-3,k=(w>>v&1)===1,L.set(z,U,k,!0),L.set(U,z,k,!0)}function C(L,p,S){const w=L.size,z=M.getEncodedBits(p,S);let U,k;for(U=0;U<15;U++)k=(z>>U&1)===1,U<6?L.set(U,8,k,!0):U<8?L.set(U+1,8,k,!0):L.set(w-15+U,8,k,!0),U<8?L.set(8,w-U-1,k,!0):U<9?L.set(8,15-U-1+1,k,!0):L.set(8,15-U-1,k,!0);L.set(w-8,8,1,!0)}function m(L,p){const S=L.size;let w=-1,z=S-1,U=7,k=0;for(let v=S-1;v>0;v-=2)for(v===6&&v--;;){for(let Q=0;Q<2;Q++)if(!L.isReserved(z,v-Q)){let P=!1;k<p.length&&(P=(p[k]>>>U&1)===1),L.set(z,v-Q,P),U--,U===-1&&(k++,U=7)}if(z+=w,z<0||S<=z){z-=w,w=-w;break}}}function h(L,p,S){const w=new n;S.forEach(function(Q){w.put(Q.mode.bit,4),w.put(Q.getLength(),g.getCharCountIndicator(Q.mode,L)),Q.write(w)});const z=e.getSymbolTotalCodewords(L),U=c.getTotalCodewordsCount(L,p),k=(z-U)*8;for(w.getLengthInBits()+4<=k&&w.put(0,4);w.getLengthInBits()%8!==0;)w.putBit(0);const v=(k-w.getLengthInBits())/8;for(let Q=0;Q<v;Q++)w.put(Q%2?17:236,8);return D(w,L,p)}function D(L,p,S){const w=e.getSymbolTotalCodewords(p),z=c.getTotalCodewordsCount(p,S),U=w-z,k=c.getBlocksCount(p,S),v=w%k,Q=k-v,P=Math.floor(w/k),Z=Math.floor(U/k),O=Z+1,H=P-Z,$=new u(H);let _=0;const A=new Array(k),Y=new Array(k);let E=0;const R=new Uint8Array(L.buffer);for(let V=0;V<k;V++){const J=V<Q?Z:O;A[V]=R.slice(_,_+J),Y[V]=$.encode(A[V]),_+=J,E=Math.max(E,J)}const q=new Uint8Array(w);let te=0,X,W;for(X=0;X<E;X++)for(W=0;W<k;W++)X<A[W].length&&(q[te++]=A[W][X]);for(X=0;X<H;X++)for(W=0;W<k;W++)q[te++]=Y[W][X];return q}function j(L,p,S,w){let z;if(Array.isArray(L))z=N.fromArray(L);else if(typeof L=="string"){let P=p;if(!P){const Z=N.rawSplit(L);P=l.getBestVersionForData(Z,S)}z=N.fromString(L,P||40)}else throw new Error("Invalid data");const U=l.getBestVersionForData(z,S);if(!U)throw new Error("The amount of data is too big to be stored in a QR Code");if(!p)p=U;else if(p<U)throw new Error(`
|
|
29
29
|
The chosen QR Code version cannot contain this amount of data.
|
|
30
30
|
Minimum version required to store current data is: `+U+`.
|
|
31
|
-
`);const k=h(p,S,z),v=e.getSymbolSize(p),Q=new i(v);return y(Q,p),T(Q),d(Q,p),C(Q,S,0),p>=7&&f(Q,p),m(Q,k),isNaN(w)&&(w=a.getBestMask(Q,C.bind(null,Q,S))),a.applyMask(w,Q),C(Q,S,w),{modules:Q,version:p,errorCorrectionLevel:S,maskPattern:w,segments:z}}return qr.create=function(p,S){if(typeof p>"u"||p==="")throw new Error("No input text");let w=t.M,z,U;return typeof S<"u"&&(w=t.from(S.errorCorrectionLevel,t.M),z=l.from(S.version),U=a.from(S.maskPattern),S.toSJISFunc&&e.setToSJISFunction(S.toSJISFunc)),j(p,z,w,U)},qr}var ho={},jo={},ua;function
|
|
32
|
-
`;return typeof c=="function"&&c(null,f),f},No}var da;function m5(){if(da)return vn;da=1;const e=o5(),t=x5(),n=T5(),i=C5();function r(s,a,c,u,l){const M=[].slice.call(arguments,1),g=M.length,N=typeof M[g-1]=="function";if(!N&&!e())throw new Error("Callback required as last argument");if(N){if(g<2)throw new Error("Too few arguments provided");g===2?(l=c,c=a,a=u=void 0):g===3&&(a.getContext&&typeof l>"u"?(l=u,u=void 0):(l=u,u=c,c=a,a=void 0))}else{if(g<1)throw new Error("Too few arguments provided");return g===1?(c=a,a=u=void 0):g===2&&!a.getContext&&(u=c,c=a,a=void 0),new Promise(function(y,T){try{const d=t.create(c,u);y(s(d,a,u))}catch(d){T(d)}})}try{const y=t.create(c,u);l(null,s(y,a,u))}catch(y){l(y)}}return vn.create=t.create,vn.toCanvas=r.bind(null,n.render),vn.toDataURL=r.bind(null,n.renderToDataURL),vn.toString=r.bind(null,function(s,a,c){return i.render(s,c)}),vn}var p5=m5();const D5=Ze.getDefaultExportFromCjs(p5);var Dt={},gn={},Zi={},ga;function w5(){if(ga)return Zi;ga=1,Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.getCommitment=e;function e(t){switch(t){case"processed":case"confirmed":case"finalized":case void 0:return t;case"recent":return"processed";case"single":case"singleGossip":return"confirmed";case"max":case"root":return"finalized";default:return}}return Zi}var yo={},Io={},fa;function A5(){return fa||(fa=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SOLANA_CHAINS=e.SOLANA_LOCALNET_CHAIN=e.SOLANA_TESTNET_CHAIN=e.SOLANA_DEVNET_CHAIN=e.SOLANA_MAINNET_CHAIN=void 0,e.isSolanaChain=t,e.SOLANA_MAINNET_CHAIN="solana:mainnet",e.SOLANA_DEVNET_CHAIN="solana:devnet",e.SOLANA_TESTNET_CHAIN="solana:testnet",e.SOLANA_LOCALNET_CHAIN="solana:localnet",e.SOLANA_CHAINS=[e.SOLANA_MAINNET_CHAIN,e.SOLANA_DEVNET_CHAIN,e.SOLANA_TESTNET_CHAIN,e.SOLANA_LOCALNET_CHAIN];function t(n){return e.SOLANA_CHAINS.includes(n)}})(Io)),Io}var ha;function S5(){return ha||(ha=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.LOCALNET_ENDPOINT=e.TESTNET_ENDPOINT=e.DEVNET_ENDPOINT=e.MAINNET_ENDPOINT=void 0,e.getChainForEndpoint=n,e.getEndpointForChain=i;const t=A5();e.MAINNET_ENDPOINT="https://api.mainnet-beta.solana.com",e.DEVNET_ENDPOINT="https://api.devnet.solana.com",e.TESTNET_ENDPOINT="https://api.testnet.solana.com",e.LOCALNET_ENDPOINT="http://localhost:8899";function n(r){return r.includes(e.MAINNET_ENDPOINT)?t.SOLANA_MAINNET_CHAIN:/\bdevnet\b/i.test(r)?t.SOLANA_DEVNET_CHAIN:/\btestnet\b/i.test(r)?t.SOLANA_TESTNET_CHAIN:/\blocalhost\b/i.test(r)||/\b127\.0\.0\.1\b/.test(r)?t.SOLANA_LOCALNET_CHAIN:t.SOLANA_MAINNET_CHAIN}function i(r,s){return s||(r===t.SOLANA_MAINNET_CHAIN?e.MAINNET_ENDPOINT:r===t.SOLANA_DEVNET_CHAIN?e.DEVNET_ENDPOINT:r===t.SOLANA_TESTNET_CHAIN?e.TESTNET_ENDPOINT:r===t.SOLANA_LOCALNET_CHAIN?e.LOCALNET_ENDPOINT:e.MAINNET_ENDPOINT)}})(yo)),yo}var _t={},oi={},Lo={},wt={},xo={},ja;function $n(){return ja||(ja=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.notImplemented=e.bitMask=e.utf8ToBytes=e.randomBytes=e.isBytes=e.hexToBytes=e.concatBytes=e.bytesToUtf8=e.bytesToHex=e.anumber=e.abytes=void 0,e.abool=s,e._abool2=a,e._abytes2=c,e.numberToHexUnpadded=u,e.hexToNumber=l,e.bytesToNumberBE=M,e.bytesToNumberLE=g,e.numberToBytesBE=N,e.numberToBytesLE=y,e.numberToVarBytesBE=T,e.ensureBytes=d,e.equalBytes=f,e.copyBytes=C,e.asciiToBytes=m,e.inRange=D,e.aInRange=j,e.bitLen=L,e.bitGet=p,e.bitSet=S,e.createHmacDrbg=z,e.validateObject=k,e.isHash=v,e._validateObject=Q,e.memoized=Z;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const t=x.requireUtils();var n=x.requireUtils();Object.defineProperty(e,"abytes",{enumerable:!0,get:function(){return n.abytes}}),Object.defineProperty(e,"anumber",{enumerable:!0,get:function(){return n.anumber}}),Object.defineProperty(e,"bytesToHex",{enumerable:!0,get:function(){return n.bytesToHex}}),Object.defineProperty(e,"bytesToUtf8",{enumerable:!0,get:function(){return n.bytesToUtf8}}),Object.defineProperty(e,"concatBytes",{enumerable:!0,get:function(){return n.concatBytes}}),Object.defineProperty(e,"hexToBytes",{enumerable:!0,get:function(){return n.hexToBytes}}),Object.defineProperty(e,"isBytes",{enumerable:!0,get:function(){return n.isBytes}}),Object.defineProperty(e,"randomBytes",{enumerable:!0,get:function(){return n.randomBytes}}),Object.defineProperty(e,"utf8ToBytes",{enumerable:!0,get:function(){return n.utf8ToBytes}});const i=BigInt(0),r=BigInt(1);function s(O,H){if(typeof H!="boolean")throw new Error(O+" boolean expected, got "+H)}function a(O,H=""){if(typeof O!="boolean"){const $=H&&`"${H}"`;throw new Error($+"expected boolean, got type="+typeof O)}return O}function c(O,H,$=""){const _=(0,t.isBytes)(O),A=O?.length,Y=H!==void 0;if(!_||Y&&A!==H){const E=$&&`"${$}" `,R=Y?` of length ${H}`:"",q=_?`length=${A}`:`type=${typeof O}`;throw new Error(E+"expected Uint8Array"+R+", got "+q)}return O}function u(O){const H=O.toString(16);return H.length&1?"0"+H:H}function l(O){if(typeof O!="string")throw new Error("hex string expected, got "+typeof O);return O===""?i:BigInt("0x"+O)}function M(O){return l((0,t.bytesToHex)(O))}function g(O){return(0,t.abytes)(O),l((0,t.bytesToHex)(Uint8Array.from(O).reverse()))}function N(O,H){return(0,t.hexToBytes)(O.toString(16).padStart(H*2,"0"))}function y(O,H){return N(O,H).reverse()}function T(O){return(0,t.hexToBytes)(u(O))}function d(O,H,$){let _;if(typeof H=="string")try{_=(0,t.hexToBytes)(H)}catch(Y){throw new Error(O+" must be hex string or Uint8Array, cause: "+Y)}else if((0,t.isBytes)(H))_=Uint8Array.from(H);else throw new Error(O+" must be hex string or Uint8Array");const A=_.length;if(typeof $=="number"&&A!==$)throw new Error(O+" of length "+$+" expected, got "+A);return _}function f(O,H){if(O.length!==H.length)return!1;let $=0;for(let _=0;_<O.length;_++)$|=O[_]^H[_];return $===0}function C(O){return Uint8Array.from(O)}function m(O){return Uint8Array.from(O,(H,$)=>{const _=H.charCodeAt(0);if(H.length!==1||_>127)throw new Error(`string contains non-ASCII character "${O[$]}" with code ${_} at position ${$}`);return _})}const h=O=>typeof O=="bigint"&&i<=O;function D(O,H,$){return h(O)&&h(H)&&h($)&&H<=O&&O<$}function j(O,H,$,_){if(!D(H,$,_))throw new Error("expected valid "+O+": "+$+" <= n < "+_+", got "+H)}function L(O){let H;for(H=0;O>i;O>>=r,H+=1);return H}function p(O,H){return O>>BigInt(H)&r}function S(O,H,$){return O|($?r:i)<<BigInt(H)}const w=O=>(r<<BigInt(O))-r;e.bitMask=w;function z(O,H,$){if(typeof O!="number"||O<2)throw new Error("hashLen must be a number");if(typeof H!="number"||H<2)throw new Error("qByteLen must be a number");if(typeof $!="function")throw new Error("hmacFn must be a function");const _=J=>new Uint8Array(J),A=J=>Uint8Array.of(J);let Y=_(O),E=_(O),R=0;const q=()=>{Y.fill(1),E.fill(0),R=0},te=(...J)=>$(E,Y,...J),X=(J=_(0))=>{E=te(A(0),J),Y=te(),J.length!==0&&(E=te(A(1),J),Y=te())},W=()=>{if(R++>=1e3)throw new Error("drbg: tried 1000 values");let J=0;const ie=[];for(;J<H;){Y=te();const K=Y.slice();ie.push(K),J+=Y.length}return(0,t.concatBytes)(...ie)};return(J,ie)=>{q(),X(J);let K;for(;!(K=ie(W()));)X();return q(),K}}const U={bigint:O=>typeof O=="bigint",function:O=>typeof O=="function",boolean:O=>typeof O=="boolean",string:O=>typeof O=="string",stringOrUint8Array:O=>typeof O=="string"||(0,t.isBytes)(O),isSafeInteger:O=>Number.isSafeInteger(O),array:O=>Array.isArray(O),field:(O,H)=>H.Fp.isValid(O),hash:O=>typeof O=="function"&&Number.isSafeInteger(O.outputLen)};function k(O,H,$={}){const _=(A,Y,E)=>{const R=U[Y];if(typeof R!="function")throw new Error("invalid validator function");const q=O[A];if(!(E&&q===void 0)&&!R(q,O))throw new Error("param "+String(A)+" is invalid. Expected "+Y+", got "+q)};for(const[A,Y]of Object.entries(H))_(A,Y,!1);for(const[A,Y]of Object.entries($))_(A,Y,!0);return O}function v(O){return typeof O=="function"&&Number.isSafeInteger(O.outputLen)}function Q(O,H,$={}){if(!O||typeof O!="object")throw new Error("expected valid options object");function _(A,Y,E){const R=O[A];if(E&&R===void 0)return;const q=typeof R;if(q!==Y||R===null)throw new Error(`param "${A}" is invalid: expected ${Y}, got ${q}`)}Object.entries(H).forEach(([A,Y])=>_(A,Y,!1)),Object.entries($).forEach(([A,Y])=>_(A,Y,!0))}const P=()=>{throw new Error("not implemented")};e.notImplemented=P;function Z(O){const H=new WeakMap;return($,..._)=>{const A=H.get($);if(A!==void 0)return A;const Y=O($,..._);return H.set($,Y),Y}}})(xo)),xo}var _e={},Na;function zi(){if(Na)return _e;Na=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.isNegativeLE=void 0,_e.mod=g,_e.pow=N,_e.pow2=y,_e.invert=T,_e.tonelliShanks=h,_e.FpSqrt=D,_e.validateField=p,_e.FpPow=S,_e.FpInvertBatch=w,_e.FpDiv=z,_e.FpLegendre=U,_e.FpIsSquare=k,_e.nLength=v,_e.Field=Q,_e.FpSqrtOdd=P,_e.FpSqrtEven=Z,_e.hashToPrivateScalar=O,_e.getFieldBytesLength=H,_e.getMinHashLength=$,_e.mapHashToField=_;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=$n(),t=BigInt(0),n=BigInt(1),i=BigInt(2),r=BigInt(3),s=BigInt(4),a=BigInt(5),c=BigInt(7),u=BigInt(8),l=BigInt(9),M=BigInt(16);function g(A,Y){const E=A%Y;return E>=t?E:Y+E}function N(A,Y,E){return S(Q(E),A,Y)}function y(A,Y,E){let R=A;for(;Y-- >t;)R*=R,R%=E;return R}function T(A,Y){if(A===t)throw new Error("invert: expected non-zero number");if(Y<=t)throw new Error("invert: expected positive modulus, got "+Y);let E=g(A,Y),R=Y,q=t,te=n;for(;E!==t;){const W=R/E,V=R%E,J=q-te*W;R=E,E=V,q=te,te=J}if(R!==n)throw new Error("invert: does not exist");return g(q,Y)}function d(A,Y,E){if(!A.eql(A.sqr(Y),E))throw new Error("Cannot find square root")}function f(A,Y){const E=(A.ORDER+n)/s,R=A.pow(Y,E);return d(A,R,Y),R}function C(A,Y){const E=(A.ORDER-a)/u,R=A.mul(Y,i),q=A.pow(R,E),te=A.mul(Y,q),X=A.mul(A.mul(te,i),q),W=A.mul(te,A.sub(X,A.ONE));return d(A,W,Y),W}function m(A){const Y=Q(A),E=h(A),R=E(Y,Y.neg(Y.ONE)),q=E(Y,R),te=E(Y,Y.neg(R)),X=(A+c)/M;return(W,V)=>{let J=W.pow(V,X),ie=W.mul(J,R);const K=W.mul(J,q),G=W.mul(J,te),ee=W.eql(W.sqr(ie),V),ge=W.eql(W.sqr(K),V);J=W.cmov(J,ie,ee),ie=W.cmov(G,K,ge);const fe=W.eql(W.sqr(ie),V),ye=W.cmov(J,ie,fe);return d(W,ye,V),ye}}function h(A){if(A<r)throw new Error("sqrt is not defined for small field");let Y=A-n,E=0;for(;Y%i===t;)Y/=i,E++;let R=i;const q=Q(A);for(;U(q,R)===1;)if(R++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(E===1)return f;let te=q.pow(R,Y);const X=(Y+n)/i;return function(V,J){if(V.is0(J))return J;if(U(V,J)!==1)throw new Error("Cannot find square root");let ie=E,K=V.mul(V.ONE,te),G=V.pow(J,Y),ee=V.pow(J,X);for(;!V.eql(G,V.ONE);){if(V.is0(G))return V.ZERO;let ge=1,fe=V.sqr(G);for(;!V.eql(fe,V.ONE);)if(ge++,fe=V.sqr(fe),ge===ie)throw new Error("Cannot find square root");const ye=n<<BigInt(ie-ge-1),Ce=V.pow(K,ye);ie=ge,K=V.sqr(Ce),G=V.mul(G,K),ee=V.mul(ee,Ce)}return ee}}function D(A){return A%s===r?f:A%u===a?C:A%M===l?m(A):h(A)}const j=(A,Y)=>(g(A,Y)&n)===n;_e.isNegativeLE=j;const L=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function p(A){const Y={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},E=L.reduce((R,q)=>(R[q]="function",R),Y);return(0,e._validateObject)(A,E),A}function S(A,Y,E){if(E<t)throw new Error("invalid exponent, negatives unsupported");if(E===t)return A.ONE;if(E===n)return Y;let R=A.ONE,q=Y;for(;E>t;)E&n&&(R=A.mul(R,q)),q=A.sqr(q),E>>=n;return R}function w(A,Y,E=!1){const R=new Array(Y.length).fill(E?A.ZERO:void 0),q=Y.reduce((X,W,V)=>A.is0(W)?X:(R[V]=X,A.mul(X,W)),A.ONE),te=A.inv(q);return Y.reduceRight((X,W,V)=>A.is0(W)?X:(R[V]=A.mul(X,R[V]),A.mul(X,W)),te),R}function z(A,Y,E){return A.mul(Y,typeof E=="bigint"?T(E,A.ORDER):A.inv(E))}function U(A,Y){const E=(A.ORDER-n)/i,R=A.pow(Y,E),q=A.eql(R,A.ONE),te=A.eql(R,A.ZERO),X=A.eql(R,A.neg(A.ONE));if(!q&&!te&&!X)throw new Error("invalid Legendre symbol result");return q?1:te?0:-1}function k(A,Y){return U(A,Y)===1}function v(A,Y){Y!==void 0&&(0,e.anumber)(Y);const E=Y!==void 0?Y:A.toString(2).length,R=Math.ceil(E/8);return{nBitLength:E,nByteLength:R}}function Q(A,Y,E=!1,R={}){if(A<=t)throw new Error("invalid field: expected ORDER > 0, got "+A);let q,te,X=!1,W;if(typeof Y=="object"&&Y!=null){if(R.sqrt||E)throw new Error("cannot specify opts in two arguments");const G=Y;G.BITS&&(q=G.BITS),G.sqrt&&(te=G.sqrt),typeof G.isLE=="boolean"&&(E=G.isLE),typeof G.modFromBytes=="boolean"&&(X=G.modFromBytes),W=G.allowedLengths}else typeof Y=="number"&&(q=Y),R.sqrt&&(te=R.sqrt);const{nBitLength:V,nByteLength:J}=v(A,q);if(J>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let ie;const K=Object.freeze({ORDER:A,isLE:E,BITS:V,BYTES:J,MASK:(0,e.bitMask)(V),ZERO:t,ONE:n,allowedLengths:W,create:G=>g(G,A),isValid:G=>{if(typeof G!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof G);return t<=G&&G<A},is0:G=>G===t,isValidNot0:G=>!K.is0(G)&&K.isValid(G),isOdd:G=>(G&n)===n,neg:G=>g(-G,A),eql:(G,ee)=>G===ee,sqr:G=>g(G*G,A),add:(G,ee)=>g(G+ee,A),sub:(G,ee)=>g(G-ee,A),mul:(G,ee)=>g(G*ee,A),pow:(G,ee)=>S(K,G,ee),div:(G,ee)=>g(G*T(ee,A),A),sqrN:G=>G*G,addN:(G,ee)=>G+ee,subN:(G,ee)=>G-ee,mulN:(G,ee)=>G*ee,inv:G=>T(G,A),sqrt:te||(G=>(ie||(ie=D(A)),ie(K,G))),toBytes:G=>E?(0,e.numberToBytesLE)(G,J):(0,e.numberToBytesBE)(G,J),fromBytes:(G,ee=!0)=>{if(W){if(!W.includes(G.length)||G.length>J)throw new Error("Field.fromBytes: expected "+W+" bytes, got "+G.length);const fe=new Uint8Array(J);fe.set(G,E?0:fe.length-G.length),G=fe}if(G.length!==J)throw new Error("Field.fromBytes: expected "+J+" bytes, got "+G.length);let ge=E?(0,e.bytesToNumberLE)(G):(0,e.bytesToNumberBE)(G);if(X&&(ge=g(ge,A)),!ee&&!K.isValid(ge))throw new Error("invalid field element: outside of range 0..ORDER");return ge},invertBatch:G=>w(K,G),cmov:(G,ee,ge)=>ge?ee:G});return Object.freeze(K)}function P(A,Y){if(!A.isOdd)throw new Error("Field doesn't have isOdd");const E=A.sqrt(Y);return A.isOdd(E)?E:A.neg(E)}function Z(A,Y){if(!A.isOdd)throw new Error("Field doesn't have isOdd");const E=A.sqrt(Y);return A.isOdd(E)?A.neg(E):E}function O(A,Y,E=!1){A=(0,e.ensureBytes)("privateHash",A);const R=A.length,q=v(Y).nByteLength+8;if(q<24||R<q||R>1024)throw new Error("hashToPrivateScalar: expected "+q+"-1024 bytes of input, got "+R);const te=E?(0,e.bytesToNumberLE)(A):(0,e.bytesToNumberBE)(A);return g(te,Y-n)+n}function H(A){if(typeof A!="bigint")throw new Error("field order must be bigint");const Y=A.toString(2).length;return Math.ceil(Y/8)}function $(A){const Y=H(A);return Y+Math.ceil(Y/2)}function _(A,Y,E=!1){const R=A.length,q=H(Y),te=$(Y);if(R<16||R<te||R>1024)throw new Error("expected "+te+"-1024 bytes of input, got "+R);const X=E?(0,e.bytesToNumberLE)(A):(0,e.bytesToNumberBE)(A),W=g(X,Y-n)+n;return E?(0,e.numberToBytesLE)(W,q):(0,e.numberToBytesBE)(W,q)}return _e}var ya;function x2(){if(ya)return wt;ya=1,Object.defineProperty(wt,"__esModule",{value:!0}),wt.wNAF=void 0,wt.negateCt=r,wt.normalizeZ=s,wt.mulEndoUnsafe=f,wt.pippenger=C,wt.precomputeMSMUnsafe=m,wt.validateBasic=h,wt._createCurveFields=j;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=$n(),t=zi(),n=BigInt(0),i=BigInt(1);function r(L,p){const S=p.negate();return L?S:p}function s(L,p){const S=(0,t.FpInvertBatch)(L.Fp,p.map(w=>w.Z));return p.map((w,z)=>L.fromAffine(w.toAffine(S[z])))}function a(L,p){if(!Number.isSafeInteger(L)||L<=0||L>p)throw new Error("invalid window size, expected [1.."+p+"], got W="+L)}function c(L,p){a(L,p);const S=Math.ceil(p/L)+1,w=2**(L-1),z=2**L,U=(0,e.bitMask)(L),k=BigInt(L);return{windows:S,windowSize:w,mask:U,maxNumber:z,shiftBy:k}}function u(L,p,S){const{windowSize:w,mask:z,maxNumber:U,shiftBy:k}=S;let v=Number(L&z),Q=L>>k;v>w&&(v-=U,Q+=i);const P=p*w,Z=P+Math.abs(v)-1,O=v===0,H=v<0,$=p%2!==0;return{nextN:Q,offset:Z,isZero:O,isNeg:H,isNegF:$,offsetF:P}}function l(L,p){if(!Array.isArray(L))throw new Error("array expected");L.forEach((S,w)=>{if(!(S instanceof p))throw new Error("invalid point at index "+w)})}function M(L,p){if(!Array.isArray(L))throw new Error("array of scalars expected");L.forEach((S,w)=>{if(!p.isValid(S))throw new Error("invalid scalar at index "+w)})}const g=new WeakMap,N=new WeakMap;function y(L){return N.get(L)||1}function T(L){if(L!==n)throw new Error("invalid wNAF")}class d{constructor(p,S){this.BASE=p.BASE,this.ZERO=p.ZERO,this.Fn=p.Fn,this.bits=S}_unsafeLadder(p,S,w=this.ZERO){let z=p;for(;S>n;)S&i&&(w=w.add(z)),z=z.double(),S>>=i;return w}precomputeWindow(p,S){const{windows:w,windowSize:z}=c(S,this.bits),U=[];let k=p,v=k;for(let Q=0;Q<w;Q++){v=k,U.push(v);for(let P=1;P<z;P++)v=v.add(k),U.push(v);k=v.double()}return U}wNAF(p,S,w){if(!this.Fn.isValid(w))throw new Error("invalid scalar");let z=this.ZERO,U=this.BASE;const k=c(p,this.bits);for(let v=0;v<k.windows;v++){const{nextN:Q,offset:P,isZero:Z,isNeg:O,isNegF:H,offsetF:$}=u(w,v,k);w=Q,Z?U=U.add(r(H,S[$])):z=z.add(r(O,S[P]))}return T(w),{p:z,f:U}}wNAFUnsafe(p,S,w,z=this.ZERO){const U=c(p,this.bits);for(let k=0;k<U.windows&&w!==n;k++){const{nextN:v,offset:Q,isZero:P,isNeg:Z}=u(w,k,U);if(w=v,!P){const O=S[Q];z=z.add(Z?O.negate():O)}}return T(w),z}getPrecomputes(p,S,w){let z=g.get(S);return z||(z=this.precomputeWindow(S,p),p!==1&&(typeof w=="function"&&(z=w(z)),g.set(S,z))),z}cached(p,S,w){const z=y(p);return this.wNAF(z,this.getPrecomputes(z,p,w),S)}unsafe(p,S,w,z){const U=y(p);return U===1?this._unsafeLadder(p,S,z):this.wNAFUnsafe(U,this.getPrecomputes(U,p,w),S,z)}createCache(p,S){a(S,this.bits),N.set(p,S),g.delete(p)}hasCache(p){return y(p)!==1}}wt.wNAF=d;function f(L,p,S,w){let z=p,U=L.ZERO,k=L.ZERO;for(;S>n||w>n;)S&i&&(U=U.add(z)),w&i&&(k=k.add(z)),z=z.double(),S>>=i,w>>=i;return{p1:U,p2:k}}function C(L,p,S,w){l(S,L),M(w,p);const z=S.length,U=w.length;if(z!==U)throw new Error("arrays of points and scalars must have equal length");const k=L.ZERO,v=(0,e.bitLen)(BigInt(z));let Q=1;v>12?Q=v-3:v>4?Q=v-2:v>0&&(Q=2);const P=(0,e.bitMask)(Q),Z=new Array(Number(P)+1).fill(k),O=Math.floor((p.BITS-1)/Q)*Q;let H=k;for(let $=O;$>=0;$-=Q){Z.fill(k);for(let A=0;A<U;A++){const Y=w[A],E=Number(Y>>BigInt($)&P);Z[E]=Z[E].add(S[A])}let _=k;for(let A=Z.length-1,Y=k;A>0;A--)Y=Y.add(Z[A]),_=_.add(Y);if(H=H.add(_),$!==0)for(let A=0;A<Q;A++)H=H.double()}return H}function m(L,p,S,w){a(w,p.BITS),l(S,L);const z=L.ZERO,U=2**w-1,k=Math.ceil(p.BITS/w),v=(0,e.bitMask)(w),Q=S.map(P=>{const Z=[];for(let O=0,H=P;O<U;O++)Z.push(H),H=H.add(P);return Z});return P=>{if(M(P,p),P.length>S.length)throw new Error("array of scalars must be smaller than array of points");let Z=z;for(let O=0;O<k;O++){if(Z!==z)for(let $=0;$<w;$++)Z=Z.double();const H=BigInt(k*w-(O+1)*w);for(let $=0;$<P.length;$++){const _=P[$],A=Number(_>>H&v);A&&(Z=Z.add(Q[$][A-1]))}}return Z}}function h(L){return(0,t.validateField)(L.Fp),(0,e.validateObject)(L,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,t.nLength)(L.n,L.nBitLength),...L,p:L.Fp.ORDER})}function D(L,p,S){if(p){if(p.ORDER!==L)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return(0,t.validateField)(p),p}else return(0,t.Field)(L,{isLE:S})}function j(L,p,S={},w){if(w===void 0&&(w=L==="edwards"),!p||typeof p!="object")throw new Error(`expected valid ${L} CURVE object`);for(const Q of["p","n","h"]){const P=p[Q];if(!(typeof P=="bigint"&&P>n))throw new Error(`CURVE.${Q} must be positive bigint`)}const z=D(p.p,S.Fp,w),U=D(p.n,S.Fn,w),v=["Gx","Gy","a",L==="weierstrass"?"b":"d"];for(const Q of v)if(!z.isValid(p[Q]))throw new Error(`CURVE.${Q} must be valid field element of CURVE.Fp`);return p=Object.freeze(Object.assign({},p)),{CURVE:p,Fp:z,Fn:U}}return wt}var Xt={},Ia;function E5(){if(Ia)return Xt;Ia=1,Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.PrimeEdwardsPoint=void 0,Xt.edwards=u,Xt.eddsa=M,Xt.twistedEdwards=y;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=$n(),t=x2(),n=zi(),i=BigInt(0),r=BigInt(1),s=BigInt(2),a=BigInt(8);function c(T,d,f,C){const m=T.sqr(f),h=T.sqr(C),D=T.add(T.mul(d.a,m),h),j=T.add(T.ONE,T.mul(d.d,T.mul(m,h)));return T.eql(D,j)}function u(T,d={}){const f=(0,t._createCurveFields)("edwards",T,d,d.FpFnLE),{Fp:C,Fn:m}=f;let h=f.CURVE;const{h:D}=h;(0,e._validateObject)(d,{},{uvRatio:"function"});const j=s<<BigInt(m.BYTES*8)-r,L=Q=>C.create(Q),p=d.uvRatio||((Q,P)=>{try{return{isValid:!0,value:C.sqrt(C.div(Q,P))}}catch{return{isValid:!1,value:i}}});if(!c(C,h,h.Gx,h.Gy))throw new Error("bad curve params: generator point");function S(Q,P,Z=!1){const O=Z?r:i;return(0,e.aInRange)("coordinate "+Q,P,O,j),P}function w(Q){if(!(Q instanceof k))throw new Error("ExtendedPoint expected")}const z=(0,e.memoized)((Q,P)=>{const{X:Z,Y:O,Z:H}=Q,$=Q.is0();P==null&&(P=$?a:C.inv(H));const _=L(Z*P),A=L(O*P),Y=C.mul(H,P);if($)return{x:i,y:r};if(Y!==r)throw new Error("invZ was invalid");return{x:_,y:A}}),U=(0,e.memoized)(Q=>{const{a:P,d:Z}=h;if(Q.is0())throw new Error("bad point: ZERO");const{X:O,Y:H,Z:$,T:_}=Q,A=L(O*O),Y=L(H*H),E=L($*$),R=L(E*E),q=L(A*P),te=L(E*L(q+Y)),X=L(R+L(Z*L(A*Y)));if(te!==X)throw new Error("bad point: equation left != right (1)");const W=L(O*H),V=L($*_);if(W!==V)throw new Error("bad point: equation left != right (2)");return!0});class k{constructor(P,Z,O,H){this.X=S("x",P),this.Y=S("y",Z),this.Z=S("z",O,!0),this.T=S("t",H),Object.freeze(this)}static CURVE(){return h}static fromAffine(P){if(P instanceof k)throw new Error("extended point not allowed");const{x:Z,y:O}=P||{};return S("x",Z),S("y",O),new k(Z,O,r,L(Z*O))}static fromBytes(P,Z=!1){const O=C.BYTES,{a:H,d:$}=h;P=(0,e.copyBytes)((0,e._abytes2)(P,O,"point")),(0,e._abool2)(Z,"zip215");const _=(0,e.copyBytes)(P),A=P[O-1];_[O-1]=A&-129;const Y=(0,e.bytesToNumberLE)(_),E=Z?j:C.ORDER;(0,e.aInRange)("point.y",Y,i,E);const R=L(Y*Y),q=L(R-r),te=L($*R-H);let{isValid:X,value:W}=p(q,te);if(!X)throw new Error("bad point: invalid y coordinate");const V=(W&r)===r,J=(A&128)!==0;if(!Z&&W===i&&J)throw new Error("bad point: x=0 and x_0=1");return J!==V&&(W=L(-W)),k.fromAffine({x:W,y:Y})}static fromHex(P,Z=!1){return k.fromBytes((0,e.ensureBytes)("point",P),Z)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(P=8,Z=!0){return v.createCache(this,P),Z||this.multiply(s),this}assertValidity(){U(this)}equals(P){w(P);const{X:Z,Y:O,Z:H}=this,{X:$,Y:_,Z:A}=P,Y=L(Z*A),E=L($*H),R=L(O*A),q=L(_*H);return Y===E&&R===q}is0(){return this.equals(k.ZERO)}negate(){return new k(L(-this.X),this.Y,this.Z,L(-this.T))}double(){const{a:P}=h,{X:Z,Y:O,Z:H}=this,$=L(Z*Z),_=L(O*O),A=L(s*L(H*H)),Y=L(P*$),E=Z+O,R=L(L(E*E)-$-_),q=Y+_,te=q-A,X=Y-_,W=L(R*te),V=L(q*X),J=L(R*X),ie=L(te*q);return new k(W,V,ie,J)}add(P){w(P);const{a:Z,d:O}=h,{X:H,Y:$,Z:_,T:A}=this,{X:Y,Y:E,Z:R,T:q}=P,te=L(H*Y),X=L($*E),W=L(A*O*q),V=L(_*R),J=L((H+$)*(Y+E)-te-X),ie=V-W,K=V+W,G=L(X-Z*te),ee=L(J*ie),ge=L(K*G),fe=L(J*G),ye=L(ie*K);return new k(ee,ge,ye,fe)}subtract(P){return this.add(P.negate())}multiply(P){if(!m.isValidNot0(P))throw new Error("invalid scalar: expected 1 <= sc < curve.n");const{p:Z,f:O}=v.cached(this,P,H=>(0,t.normalizeZ)(k,H));return(0,t.normalizeZ)(k,[Z,O])[0]}multiplyUnsafe(P,Z=k.ZERO){if(!m.isValid(P))throw new Error("invalid scalar: expected 0 <= sc < curve.n");return P===i?k.ZERO:this.is0()||P===r?this:v.unsafe(this,P,O=>(0,t.normalizeZ)(k,O),Z)}isSmallOrder(){return this.multiplyUnsafe(D).is0()}isTorsionFree(){return v.unsafe(this,h.n).is0()}toAffine(P){return z(this,P)}clearCofactor(){return D===r?this:this.multiplyUnsafe(D)}toBytes(){const{x:P,y:Z}=this.toAffine(),O=C.toBytes(Z);return O[O.length-1]|=P&r?128:0,O}toHex(){return(0,e.bytesToHex)(this.toBytes())}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get ex(){return this.X}get ey(){return this.Y}get ez(){return this.Z}get et(){return this.T}static normalizeZ(P){return(0,t.normalizeZ)(k,P)}static msm(P,Z){return(0,t.pippenger)(k,m,P,Z)}_setWindowSize(P){this.precompute(P)}toRawBytes(){return this.toBytes()}}k.BASE=new k(h.Gx,h.Gy,r,L(h.Gx*h.Gy)),k.ZERO=new k(i,r,r,i),k.Fp=C,k.Fn=m;const v=new t.wNAF(k,m.BITS);return k.BASE.precompute(8),k}class l{constructor(d){this.ep=d}static fromBytes(d){(0,e.notImplemented)()}static fromHex(d){(0,e.notImplemented)()}get x(){return this.toAffine().x}get y(){return this.toAffine().y}clearCofactor(){return this}assertValidity(){this.ep.assertValidity()}toAffine(d){return this.ep.toAffine(d)}toHex(){return(0,e.bytesToHex)(this.toBytes())}toString(){return this.toHex()}isTorsionFree(){return!0}isSmallOrder(){return!1}add(d){return this.assertSame(d),this.init(this.ep.add(d.ep))}subtract(d){return this.assertSame(d),this.init(this.ep.subtract(d.ep))}multiply(d){return this.init(this.ep.multiply(d))}multiplyUnsafe(d){return this.init(this.ep.multiplyUnsafe(d))}double(){return this.init(this.ep.double())}negate(){return this.init(this.ep.negate())}precompute(d,f){return this.init(this.ep.precompute(d,f))}toRawBytes(){return this.toBytes()}}Xt.PrimeEdwardsPoint=l;function M(T,d,f={}){if(typeof d!="function")throw new Error('"hash" function param is required');(0,e._validateObject)(f,{},{adjustScalarBytes:"function",randomBytes:"function",domain:"function",prehash:"function",mapToCurve:"function"});const{prehash:C}=f,{BASE:m,Fp:h,Fn:D}=T,j=f.randomBytes||e.randomBytes,L=f.adjustScalarBytes||(E=>E),p=f.domain||((E,R,q)=>{if((0,e._abool2)(q,"phflag"),R.length||q)throw new Error("Contexts/pre-hash are not supported");return E});function S(E){return D.create((0,e.bytesToNumberLE)(E))}function w(E){const R=O.secretKey;E=(0,e.ensureBytes)("private key",E,R);const q=(0,e.ensureBytes)("hashed private key",d(E),2*R),te=L(q.slice(0,R)),X=q.slice(R,2*R),W=S(te);return{head:te,prefix:X,scalar:W}}function z(E){const{head:R,prefix:q,scalar:te}=w(E),X=m.multiply(te),W=X.toBytes();return{head:R,prefix:q,scalar:te,point:X,pointBytes:W}}function U(E){return z(E).pointBytes}function k(E=Uint8Array.of(),...R){const q=(0,e.concatBytes)(...R);return S(d(p(q,(0,e.ensureBytes)("context",E),!!C)))}function v(E,R,q={}){E=(0,e.ensureBytes)("message",E),C&&(E=C(E));const{prefix:te,scalar:X,pointBytes:W}=z(R),V=k(q.context,te,E),J=m.multiply(V).toBytes(),ie=k(q.context,J,W,E),K=D.create(V+ie*X);if(!D.isValid(K))throw new Error("sign failed: invalid s");const G=(0,e.concatBytes)(J,D.toBytes(K));return(0,e._abytes2)(G,O.signature,"result")}const Q={zip215:!0};function P(E,R,q,te=Q){const{context:X,zip215:W}=te,V=O.signature;E=(0,e.ensureBytes)("signature",E,V),R=(0,e.ensureBytes)("message",R),q=(0,e.ensureBytes)("publicKey",q,O.publicKey),W!==void 0&&(0,e._abool2)(W,"zip215"),C&&(R=C(R));const J=V/2,ie=E.subarray(0,J),K=(0,e.bytesToNumberLE)(E.subarray(J,V));let G,ee,ge;try{G=T.fromBytes(q,W),ee=T.fromBytes(ie,W),ge=m.multiplyUnsafe(K)}catch{return!1}if(!W&&G.isSmallOrder())return!1;const fe=k(X,ee.toBytes(),G.toBytes(),R);return ee.add(G.multiplyUnsafe(fe)).subtract(ge).clearCofactor().is0()}const Z=h.BYTES,O={secretKey:Z,publicKey:Z,signature:2*Z,seed:Z};function H(E=j(O.seed)){return(0,e._abytes2)(E,O.seed,"seed")}function $(E){const R=Y.randomSecretKey(E);return{secretKey:R,publicKey:U(R)}}function _(E){return(0,e.isBytes)(E)&&E.length===D.BYTES}function A(E,R){try{return!!T.fromBytes(E,R)}catch{return!1}}const Y={getExtendedPublicKey:z,randomSecretKey:H,isValidSecretKey:_,isValidPublicKey:A,toMontgomery(E){const{y:R}=T.fromBytes(E),q=O.publicKey,te=q===32;if(!te&&q!==57)throw new Error("only defined for 25519 and 448");const X=te?h.div(r+R,r-R):h.div(R-r,R+r);return h.toBytes(X)},toMontgomerySecret(E){const R=O.secretKey;(0,e._abytes2)(E,R);const q=d(E.subarray(0,R));return L(q).subarray(0,R)},randomPrivateKey:H,precompute(E=8,R=T.BASE){return R.precompute(E,!1)}};return Object.freeze({keygen:$,getPublicKey:U,sign:v,verify:P,utils:Y,Point:T,lengths:O})}function g(T){const d={a:T.a,d:T.d,p:T.Fp.ORDER,n:T.n,h:T.h,Gx:T.Gx,Gy:T.Gy},f=T.Fp,C=(0,n.Field)(d.n,T.nBitLength,!0),m={Fp:f,Fn:C,uvRatio:T.uvRatio},h={randomBytes:T.randomBytes,adjustScalarBytes:T.adjustScalarBytes,domain:T.domain,prehash:T.prehash,mapToCurve:T.mapToCurve};return{CURVE:d,curveOpts:m,hash:T.hash,eddsaOpts:h}}function N(T,d){const f=d.Point;return Object.assign({},d,{ExtendedPoint:f,CURVE:T,nBitLength:f.Fn.BITS,nByteLength:f.Fn.BYTES})}function y(T){const{CURVE:d,curveOpts:f,hash:C,eddsaOpts:m}=g(T),h=u(d,f),D=M(h,C,m);return N(T,D)}return Xt}var To={},La;function z5(){return La||(La=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e._DST_scalar=void 0,e.expand_message_xmd=u,e.expand_message_xof=l,e.hash_to_field=M,e.isogenyMap=g,e.createHasher=N;const t=$n(),n=zi(),i=t.bytesToNumberBE;function r(y,T){if(a(y),a(T),y<0||y>=1<<8*T)throw new Error("invalid I2OSP input: "+y);const d=Array.from({length:T}).fill(0);for(let f=T-1;f>=0;f--)d[f]=y&255,y>>>=8;return new Uint8Array(d)}function s(y,T){const d=new Uint8Array(y.length);for(let f=0;f<y.length;f++)d[f]=y[f]^T[f];return d}function a(y){if(!Number.isSafeInteger(y))throw new Error("number expected")}function c(y){if(!(0,t.isBytes)(y)&&typeof y!="string")throw new Error("DST must be Uint8Array or string");return typeof y=="string"?(0,t.utf8ToBytes)(y):y}function u(y,T,d,f){(0,t.abytes)(y),a(d),T=c(T),T.length>255&&(T=f((0,t.concatBytes)((0,t.utf8ToBytes)("H2C-OVERSIZE-DST-"),T)));const{outputLen:C,blockLen:m}=f,h=Math.ceil(d/C);if(d>65535||h>255)throw new Error("expand_message_xmd: invalid lenInBytes");const D=(0,t.concatBytes)(T,r(T.length,1)),j=r(0,m),L=r(d,2),p=new Array(h),S=f((0,t.concatBytes)(j,y,L,r(0,1),D));p[0]=f((0,t.concatBytes)(S,r(1,1),D));for(let z=1;z<=h;z++){const U=[s(S,p[z-1]),r(z+1,1),D];p[z]=f((0,t.concatBytes)(...U))}return(0,t.concatBytes)(...p).slice(0,d)}function l(y,T,d,f,C){if((0,t.abytes)(y),a(d),T=c(T),T.length>255){const m=Math.ceil(2*f/8);T=C.create({dkLen:m}).update((0,t.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(T).digest()}if(d>65535||T.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return C.create({dkLen:d}).update(y).update(r(d,2)).update(T).update(r(T.length,1)).digest()}function M(y,T,d){(0,t._validateObject)(d,{p:"bigint",m:"number",k:"number",hash:"function"});const{p:f,k:C,m,hash:h,expand:D,DST:j}=d;if(!(0,t.isHash)(d.hash))throw new Error("expected valid hash");(0,t.abytes)(y),a(T);const L=f.toString(2).length,p=Math.ceil((L+C)/8),S=T*m*p;let w;if(D==="xmd")w=u(y,j,S,h);else if(D==="xof")w=l(y,j,S,C,h);else if(D==="_internal_pass")w=y;else throw new Error('expand must be "xmd" or "xof"');const z=new Array(T);for(let U=0;U<T;U++){const k=new Array(m);for(let v=0;v<m;v++){const Q=p*(v+U*m),P=w.subarray(Q,Q+p);k[v]=(0,n.mod)(i(P),f)}z[U]=k}return z}function g(y,T){const d=T.map(f=>Array.from(f).reverse());return(f,C)=>{const[m,h,D,j]=d.map(S=>S.reduce((w,z)=>y.add(y.mul(w,f),z))),[L,p]=(0,n.FpInvertBatch)(y,[h,j],!0);return f=y.mul(m,L),C=y.mul(C,y.mul(D,p)),{x:f,y:C}}}e._DST_scalar=(0,t.utf8ToBytes)("HashToScalar-");function N(y,T,d){if(typeof T!="function")throw new Error("mapToCurve() must be defined");function f(m){return y.fromAffine(T(m))}function C(m){const h=m.clearCofactor();return h.equals(y.ZERO)?y.ZERO:(h.assertValidity(),h)}return{defaults:d,hashToCurve(m,h){const D=Object.assign({},d,h),j=M(m,2,D),L=f(j[0]),p=f(j[1]);return C(L.add(p))},encodeToCurve(m,h){const D=d.encodeDST?{DST:d.encodeDST}:{},j=Object.assign({},d,D,h),L=M(m,1,j),p=f(L[0]);return C(p)},mapToCurve(m){if(!Array.isArray(m))throw new Error("expected array of bigints");for(const h of m)if(typeof h!="bigint")throw new Error("expected array of bigints");return C(f(m))},hashToScalar(m,h){const D=y.Fn.ORDER,j=Object.assign({},d,{p:D,m:1,DST:e._DST_scalar},h);return M(m,1,j)[0][0]}}}})(To)),To}var Wi={},xa;function b5(){if(xa)return Wi;xa=1,Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.montgomery=a;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=$n(),t=zi(),n=BigInt(0),i=BigInt(1),r=BigInt(2);function s(c){return(0,e._validateObject)(c,{adjustScalarBytes:"function",powPminus2:"function"}),Object.freeze({...c})}function a(c){const u=s(c),{P:l,type:M,adjustScalarBytes:g,powPminus2:N,randomBytes:y}=u,T=M==="x25519";if(!T&&M!=="x448")throw new Error("invalid type");const d=y||e.randomBytes,f=T?255:448,C=T?32:56,m=BigInt(T?9:5),h=BigInt(T?121665:39081),D=T?r**BigInt(254):r**BigInt(447),j=T?BigInt(8)*r**BigInt(251)-i:BigInt(4)*r**BigInt(445)-i,L=D+j+i,p=_=>(0,t.mod)(_,l),S=w(m);function w(_){return(0,e.numberToBytesLE)(p(_),C)}function z(_){const A=(0,e.ensureBytes)("u coordinate",_,C);return T&&(A[31]&=127),p((0,e.bytesToNumberLE)(A))}function U(_){return(0,e.bytesToNumberLE)(g((0,e.ensureBytes)("scalar",_,C)))}function k(_,A){const Y=P(z(A),U(_));if(Y===n)throw new Error("invalid private or public key received");return w(Y)}function v(_){return k(_,S)}function Q(_,A,Y){const E=p(_*(A-Y));return A=p(A-E),Y=p(Y+E),{x_2:A,x_3:Y}}function P(_,A){(0,e.aInRange)("u",_,n,l),(0,e.aInRange)("scalar",A,D,L);const Y=A,E=_;let R=i,q=n,te=_,X=i,W=n;for(let J=BigInt(f-1);J>=n;J--){const ie=Y>>J&i;W^=ie,{x_2:R,x_3:te}=Q(W,R,te),{x_2:q,x_3:X}=Q(W,q,X),W=ie;const K=R+q,G=p(K*K),ee=R-q,ge=p(ee*ee),fe=G-ge,ye=te+X,Ce=te-X,ke=p(Ce*K),ze=p(ye*ee),Qe=ke+ze,Fe=ke-ze;te=p(Qe*Qe),X=p(E*p(Fe*Fe)),R=p(G*ge),q=p(fe*(G+p(h*fe)))}({x_2:R,x_3:te}=Q(W,R,te)),{x_2:q,x_3:X}=Q(W,q,X);const V=N(q);return p(R*V)}const Z={secretKey:C,publicKey:C,seed:C},O=(_=d(C))=>((0,e.abytes)(_,Z.seed),_);function H(_){const A=O(_);return{secretKey:A,publicKey:v(A)}}return{keygen:H,getSharedSecret:(_,A)=>k(_,A),getPublicKey:_=>v(_),scalarMult:k,scalarMultBase:v,utils:{randomSecretKey:O,randomPrivateKey:O},GuBytes:S.slice(),lengths:Z}}return Wi}var Ta;function O5(){return Ta||(Ta=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.hash_to_ristretto255=e.hashToRistretto255=e.encodeToCurve=e.hashToCurve=e.RistrettoPoint=e.edwardsToMontgomery=e.ED25519_TORSION_SUBGROUP=e.ristretto255_hasher=e.ristretto255=e.ed25519_hasher=e.x25519=e.ed25519ph=e.ed25519ctx=e.ed25519=void 0,e.edwardsToMontgomeryPub=te,e.edwardsToMontgomeryPriv=X;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const t=x.requireSha2(),n=x.requireUtils(),i=x2(),r=E5(),s=z5(),a=zi(),c=b5(),u=$n(),l=BigInt(0),M=BigInt(1),g=BigInt(2),N=BigInt(3),y=BigInt(5),T=BigInt(8),d=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),f={p:d,n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:T,a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")};function C(W){const V=BigInt(10),J=BigInt(20),ie=BigInt(40),K=BigInt(80),G=d,ge=W*W%G*W%G,fe=(0,a.pow2)(ge,g,G)*ge%G,ye=(0,a.pow2)(fe,M,G)*W%G,Ce=(0,a.pow2)(ye,y,G)*ye%G,ke=(0,a.pow2)(Ce,V,G)*Ce%G,ze=(0,a.pow2)(ke,J,G)*ke%G,Qe=(0,a.pow2)(ze,ie,G)*ze%G,Fe=(0,a.pow2)(Qe,K,G)*Qe%G,Pe=(0,a.pow2)(Fe,K,G)*Qe%G,He=(0,a.pow2)(Pe,V,G)*Ce%G;return{pow_p_5_8:(0,a.pow2)(He,g,G)*W%G,b2:ge}}function m(W){return W[0]&=248,W[31]&=127,W[31]|=64,W}const h=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");function D(W,V){const J=d,ie=(0,a.mod)(V*V*V,J),K=(0,a.mod)(ie*ie*V,J),G=C(W*K).pow_p_5_8;let ee=(0,a.mod)(W*ie*G,J);const ge=(0,a.mod)(V*ee*ee,J),fe=ee,ye=(0,a.mod)(ee*h,J),Ce=ge===W,ke=ge===(0,a.mod)(-W,J),ze=ge===(0,a.mod)(-W*h,J);return Ce&&(ee=fe),(ke||ze)&&(ee=ye),(0,a.isNegativeLE)(ee,J)&&(ee=(0,a.mod)(-ee,J)),{isValid:Ce||ke,value:ee}}const j=(0,a.Field)(f.p,{isLE:!0}),L=(0,a.Field)(f.n,{isLE:!0}),p={...f,Fp:j,hash:t.sha512,adjustScalarBytes:m,uvRatio:D};e.ed25519=(0,r.twistedEdwards)(p);function S(W,V,J){if(V.length>255)throw new Error("Context is too big");return(0,n.concatBytes)((0,n.utf8ToBytes)("SigEd25519 no Ed25519 collisions"),new Uint8Array([J?1:0,V.length]),V,W)}e.ed25519ctx=(0,r.twistedEdwards)({...p,domain:S}),e.ed25519ph=(0,r.twistedEdwards)(Object.assign({},p,{domain:S,prehash:t.sha512})),e.x25519=(()=>{const W=j.ORDER;return(0,c.montgomery)({P:W,type:"x25519",powPminus2:V=>{const{pow_p_5_8:J,b2:ie}=C(V);return(0,a.mod)((0,a.pow2)(J,N,W)*ie,W)},adjustScalarBytes:m})})();const w=(d+N)/T,z=j.pow(g,w),U=j.sqrt(j.neg(j.ONE));function k(W){const V=(d-y)/T,J=BigInt(486662);let ie=j.sqr(W);ie=j.mul(ie,g);let K=j.add(ie,j.ONE),G=j.neg(J),ee=j.sqr(K),ge=j.mul(ee,K),fe=j.mul(ie,J);fe=j.mul(fe,G),fe=j.add(fe,ee),fe=j.mul(fe,G);let ye=j.sqr(ge);ee=j.sqr(ye),ye=j.mul(ye,ge),ye=j.mul(ye,fe),ee=j.mul(ee,ye);let Ce=j.pow(ee,V);Ce=j.mul(Ce,ye);let ke=j.mul(Ce,U);ee=j.sqr(Ce),ee=j.mul(ee,ge);let ze=j.eql(ee,fe),Qe=j.cmov(ke,Ce,ze),Fe=j.mul(G,ie),Pe=j.mul(Ce,W);Pe=j.mul(Pe,z);let He=j.mul(Pe,U),ne=j.mul(fe,ie);ee=j.sqr(Pe),ee=j.mul(ee,ge);let ue=j.eql(ee,ne),se=j.cmov(He,Pe,ue);ee=j.sqr(Qe),ee=j.mul(ee,ge);let ae=j.eql(ee,fe),oe=j.cmov(Fe,G,ae),le=j.cmov(se,Qe,ae),ce=j.isOdd(le);return le=j.cmov(le,j.neg(le),ae!==ce),{xMn:oe,xMd:K,yMn:le,yMd:M}}const v=(0,a.FpSqrtEven)(j,j.neg(BigInt(486664)));function Q(W){const{xMn:V,xMd:J,yMn:ie,yMd:K}=k(W);let G=j.mul(V,K);G=j.mul(G,v);let ee=j.mul(J,ie),ge=j.sub(V,J),fe=j.add(V,J),ye=j.mul(ee,fe),Ce=j.eql(ye,j.ZERO);G=j.cmov(G,j.ZERO,Ce),ee=j.cmov(ee,j.ONE,Ce),ge=j.cmov(ge,j.ONE,Ce),fe=j.cmov(fe,j.ONE,Ce);const[ke,ze]=(0,a.FpInvertBatch)(j,[ee,fe],!0);return{x:j.mul(G,ke),y:j.mul(ge,ze)}}e.ed25519_hasher=(0,s.createHasher)(e.ed25519.Point,W=>Q(W[0]),{DST:"edwards25519_XMD:SHA-512_ELL2_RO_",encodeDST:"edwards25519_XMD:SHA-512_ELL2_NU_",p:d,m:1,k:128,expand:"xmd",hash:t.sha512});const P=h,Z=BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"),O=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),H=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),$=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"),_=W=>D(M,W),A=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),Y=W=>e.ed25519.Point.Fp.create((0,u.bytesToNumberLE)(W)&A);function E(W){const{d:V}=f,J=d,ie=ne=>j.create(ne),K=ie(P*W*W),G=ie((K+M)*H);let ee=BigInt(-1);const ge=ie((ee-V*K)*ie(K+V));let{isValid:fe,value:ye}=D(G,ge),Ce=ie(ye*W);(0,a.isNegativeLE)(Ce,J)||(Ce=ie(-Ce)),fe||(ye=Ce),fe||(ee=K);const ke=ie(ee*(K-M)*$-ge),ze=ye*ye,Qe=ie((ye+ye)*ge),Fe=ie(ke*Z),Pe=ie(M-ze),He=ie(M+ze);return new e.ed25519.Point(ie(Qe*He),ie(Pe*Fe),ie(Fe*He),ie(Qe*Pe))}function R(W){(0,n.abytes)(W,64);const V=Y(W.subarray(0,32)),J=E(V),ie=Y(W.subarray(32,64)),K=E(ie);return new q(J.add(K))}class q extends r.PrimeEdwardsPoint{constructor(V){super(V)}static fromAffine(V){return new q(e.ed25519.Point.fromAffine(V))}assertSame(V){if(!(V instanceof q))throw new Error("RistrettoPoint expected")}init(V){return new q(V)}static hashToCurve(V){return R((0,u.ensureBytes)("ristrettoHash",V,64))}static fromBytes(V){(0,n.abytes)(V,32);const{a:J,d:ie}=f,K=d,G=ae=>j.create(ae),ee=Y(V);if(!(0,u.equalBytes)(j.toBytes(ee),V)||(0,a.isNegativeLE)(ee,K))throw new Error("invalid ristretto255 encoding 1");const ge=G(ee*ee),fe=G(M+J*ge),ye=G(M-J*ge),Ce=G(fe*fe),ke=G(ye*ye),ze=G(J*ie*Ce-ke),{isValid:Qe,value:Fe}=_(G(ze*ke)),Pe=G(Fe*ye),He=G(Fe*Pe*ze);let ne=G((ee+ee)*Pe);(0,a.isNegativeLE)(ne,K)&&(ne=G(-ne));const ue=G(fe*He),se=G(ne*ue);if(!Qe||(0,a.isNegativeLE)(se,K)||ue===l)throw new Error("invalid ristretto255 encoding 2");return new q(new e.ed25519.Point(ne,ue,M,se))}static fromHex(V){return q.fromBytes((0,u.ensureBytes)("ristrettoHex",V,32))}static msm(V,J){return(0,i.pippenger)(q,e.ed25519.Point.Fn,V,J)}toBytes(){let{X:V,Y:J,Z:ie,T:K}=this.ep;const G=d,ee=He=>j.create(He),ge=ee(ee(ie+J)*ee(ie-J)),fe=ee(V*J),ye=ee(fe*fe),{value:Ce}=_(ee(ge*ye)),ke=ee(Ce*ge),ze=ee(Ce*fe),Qe=ee(ke*ze*K);let Fe;if((0,a.isNegativeLE)(K*Qe,G)){let He=ee(J*P),ne=ee(V*P);V=He,J=ne,Fe=ee(ke*O)}else Fe=ze;(0,a.isNegativeLE)(V*Qe,G)&&(J=ee(-J));let Pe=ee((ie-J)*Fe);return(0,a.isNegativeLE)(Pe,G)&&(Pe=ee(-Pe)),j.toBytes(Pe)}equals(V){this.assertSame(V);const{X:J,Y:ie}=this.ep,{X:K,Y:G}=V.ep,ee=ye=>j.create(ye),ge=ee(J*G)===ee(ie*K),fe=ee(ie*G)===ee(J*K);return ge||fe}is0(){return this.equals(q.ZERO)}}q.BASE=new q(e.ed25519.Point.BASE),q.ZERO=new q(e.ed25519.Point.ZERO),q.Fp=j,q.Fn=L,e.ristretto255={Point:q},e.ristretto255_hasher={hashToCurve(W,V){const J=V?.DST||"ristretto255_XMD:SHA-512_R255MAP_RO_",ie=(0,s.expand_message_xmd)(W,J,64,t.sha512);return R(ie)},hashToScalar(W,V={DST:s._DST_scalar}){const J=(0,s.expand_message_xmd)(W,V.DST,64,t.sha512);return L.create((0,u.bytesToNumberLE)(J))}},e.ED25519_TORSION_SUBGROUP=["0100000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a","0000000000000000000000000000000000000000000000000000000000000080","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05","ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85","0000000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"];function te(W){return e.ed25519.utils.toMontgomery((0,u.ensureBytes)("pub",W))}e.edwardsToMontgomery=te;function X(W){return e.ed25519.utils.toMontgomerySecret((0,u.ensureBytes)("pub",W))}e.RistrettoPoint=q,e.hashToCurve=e.ed25519_hasher.hashToCurve,e.encodeToCurve=e.ed25519_hasher.encodeToCurve,e.hashToRistretto255=e.ristretto255_hasher.hashToCurve,e.hash_to_ristretto255=e.ristretto255_hasher.hashToCurve})(Lo)),Lo}var si={},Ca;function T2(){if(Ca)return si;Ca=1,Object.defineProperty(si,"__esModule",{value:!0}),si.arraysEqual=e,si.bytesEqual=t;function e(n,i){if(n===i)return!0;const r=n.length;if(r!==i.length)return!1;for(let s=0;s<r;s++)if(n[s]!==i[s])return!1;return!0}function t(n,i){return e(n,i)}return si}var ma;function C2(){if(ma)return oi;ma=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.verifyMessageSignature=n,oi.verifySignMessage=i;const e=O5(),t=T2();function n({message:r,signedMessage:s,signature:a,publicKey:c}){return(0,t.bytesEqual)(r,s)&&e.ed25519.verify(a,s,c)}function i(r,s){const{message:a,account:{publicKey:c}}=r,{signedMessage:u,signature:l}=s;return n({message:a,signedMessage:u,signature:l,publicKey:c})}return oi}var pa;function k5(){if(pa)return _t;pa=1,Object.defineProperty(_t,"__esModule",{value:!0}),_t.verifySignIn=n,_t.deriveSignInMessage=i,_t.deriveSignInMessageText=r,_t.parseSignInMessage=s,_t.parseSignInMessageText=D,_t.createSignInMessage=j,_t.createSignInMessageText=L;const e=C2(),t=T2();function n(p,S){const{signedMessage:w,signature:z,account:{publicKey:U}}=S,k=i(p,S);return!!k&&(0,e.verifyMessageSignature)({message:k,signedMessage:w,signature:z,publicKey:U})}function i(p,S){const w=r(p,S);return w?new TextEncoder().encode(w):null}function r(p,S){const w=s(S.signedMessage);if(!w||p.domain&&p.domain!==w.domain||p.address&&p.address!==w.address||p.statement!==w.statement||p.uri!==w.uri||p.version!==w.version||p.chainId!==w.chainId||p.nonce!==w.nonce||p.issuedAt!==w.issuedAt||p.expirationTime!==w.expirationTime||p.notBefore!==w.notBefore||p.requestId!==w.requestId)return null;if(p.resources){if(!w.resources||!(0,t.arraysEqual)(p.resources,w.resources))return null}else if(w.resources)return null;return L(w)}function s(p){const S=new TextDecoder().decode(p);return D(S)}const a="(?<domain>[^\\n]+?) wants you to sign in with your Solana account:\\n",c="(?<address>[^\\n]+)(?:\\n|$)",u="(?:\\n(?<statement>[\\S\\s]*?)(?:\\n|$))??",m="(?:\\nURI: (?<uri>[^\\n]+))?(?:\\nVersion: (?<version>[^\\n]+))?(?:\\nChain ID: (?<chainId>[^\\n]+))?(?:\\nNonce: (?<nonce>[^\\n]+))?(?:\\nIssued At: (?<issuedAt>[^\\n]+))?(?:\\nExpiration Time: (?<expirationTime>[^\\n]+))?(?:\\nNot Before: (?<notBefore>[^\\n]+))?(?:\\nRequest ID: (?<requestId>[^\\n]+))?(?:\\nResources:(?<resources>(?:\\n- [^\\n]+)*))?",h=new RegExp(`^${a}${c}${u}${m}\\n*$`);function D(p){var S;const w=h.exec(p);if(!w)return null;const z=w.groups;return z?{domain:z.domain,address:z.address,statement:z.statement,uri:z.uri,version:z.version,nonce:z.nonce,chainId:z.chainId,issuedAt:z.issuedAt,expirationTime:z.expirationTime,notBefore:z.notBefore,requestId:z.requestId,resources:(S=z.resources)===null||S===void 0?void 0:S.split(`
|
|
31
|
+
`);const k=h(p,S,z),v=e.getSymbolSize(p),Q=new i(v);return y(Q,p),T(Q),d(Q,p),C(Q,S,0),p>=7&&f(Q,p),m(Q,k),isNaN(w)&&(w=a.getBestMask(Q,C.bind(null,Q,S))),a.applyMask(w,Q),C(Q,S,w),{modules:Q,version:p,errorCorrectionLevel:S,maskPattern:w,segments:z}}return qr.create=function(p,S){if(typeof p>"u"||p==="")throw new Error("No input text");let w=t.M,z,U;return typeof S<"u"&&(w=t.from(S.errorCorrectionLevel,t.M),z=l.from(S.version),U=a.from(S.maskPattern),S.toSJISFunc&&e.setToSJISFunction(S.toSJISFunc)),j(p,z,w,U)},qr}var ho={},jo={},ua;function I2(){return ua||(ua=1,(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let i=n.slice().replace("#","").split("");if(i.length<3||i.length===5||i.length>8)throw new Error("Invalid hex color: "+n);(i.length===3||i.length===4)&&(i=Array.prototype.concat.apply([],i.map(function(s){return[s,s]}))),i.length===6&&i.push("F","F");const r=parseInt(i.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+i.slice(0,6).join("")}}e.getOptions=function(i){i||(i={}),i.color||(i.color={});const r=typeof i.margin>"u"||i.margin===null||i.margin<0?4:i.margin,s=i.width&&i.width>=21?i.width:void 0,a=i.scale||4;return{width:s,scale:s?4:a,margin:r,color:{dark:t(i.color.dark||"#000000ff"),light:t(i.color.light||"#ffffffff")},type:i.type,rendererOpts:i.rendererOpts||{}}},e.getScale=function(i,r){return r.width&&r.width>=i+r.margin*2?r.width/(i+r.margin*2):r.scale},e.getImageWidth=function(i,r){const s=e.getScale(i,r);return Math.floor((i+r.margin*2)*s)},e.qrToImageData=function(i,r,s){const a=r.modules.size,c=r.modules.data,u=e.getScale(a,s),l=Math.floor((a+s.margin*2)*u),M=s.margin*u,g=[s.color.light,s.color.dark];for(let N=0;N<l;N++)for(let y=0;y<l;y++){let T=(N*l+y)*4,d=s.color.light;if(N>=M&&y>=M&&N<l-M&&y<l-M){const f=Math.floor((N-M)/u),C=Math.floor((y-M)/u);d=g[c[f*a+C]?1:0]}i[T++]=d.r,i[T++]=d.g,i[T++]=d.b,i[T]=d.a}}})(jo)),jo}var la;function L5(){return la||(la=1,(function(e){const t=I2();function n(r,s,a){r.clearRect(0,0,s.width,s.height),s.style||(s.style={}),s.height=a,s.width=a,s.style.height=a+"px",s.style.width=a+"px"}function i(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(s,a,c){let u=c,l=a;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),a||(l=i()),u=t.getOptions(u);const M=t.getImageWidth(s.modules.size,u),g=l.getContext("2d"),N=g.createImageData(M,M);return t.qrToImageData(N.data,s,u),n(g,l,M),g.putImageData(N,0,0),l},e.renderToDataURL=function(s,a,c){let u=c;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),u||(u={});const l=e.render(s,a,u),M=u.type||"image/png",g=u.rendererOpts||{};return l.toDataURL(M,g.quality)}})(ho)),ho}var No={},Ma;function x5(){if(Ma)return No;Ma=1;const e=I2();function t(r,s){const a=r.a/255,c=s+'="'+r.hex+'"';return a<1?c+" "+s+'-opacity="'+a.toFixed(2).slice(1)+'"':c}function n(r,s,a){let c=r+s;return typeof a<"u"&&(c+=" "+a),c}function i(r,s,a){let c="",u=0,l=!1,M=0;for(let g=0;g<r.length;g++){const N=Math.floor(g%s),y=Math.floor(g/s);!N&&!l&&(l=!0),r[g]?(M++,g>0&&N>0&&r[g-1]||(c+=l?n("M",N+a,.5+y+a):n("m",u,0),u=0,l=!1),N+1<s&&r[g+1]||(c+=n("h",M),M=0)):u++}return c}return No.render=function(s,a,c){const u=e.getOptions(a),l=s.modules.size,M=s.modules.data,g=l+u.margin*2,N=u.color.light.a?"<path "+t(u.color.light,"fill")+' d="M0 0h'+g+"v"+g+'H0z"/>':"",y="<path "+t(u.color.dark,"stroke")+' d="'+i(M,l,u.margin)+'"/>',T='viewBox="0 0 '+g+" "+g+'"',f='<svg xmlns="http://www.w3.org/2000/svg" '+(u.width?'width="'+u.width+'" height="'+u.width+'" ':"")+T+' shape-rendering="crispEdges">'+N+y+`</svg>
|
|
32
|
+
`;return typeof c=="function"&&c(null,f),f},No}var da;function T5(){if(da)return vn;da=1;const e=i5(),t=I5(),n=L5(),i=x5();function r(s,a,c,u,l){const M=[].slice.call(arguments,1),g=M.length,N=typeof M[g-1]=="function";if(!N&&!e())throw new Error("Callback required as last argument");if(N){if(g<2)throw new Error("Too few arguments provided");g===2?(l=c,c=a,a=u=void 0):g===3&&(a.getContext&&typeof l>"u"?(l=u,u=void 0):(l=u,u=c,c=a,a=void 0))}else{if(g<1)throw new Error("Too few arguments provided");return g===1?(c=a,a=u=void 0):g===2&&!a.getContext&&(u=c,c=a,a=void 0),new Promise(function(y,T){try{const d=t.create(c,u);y(s(d,a,u))}catch(d){T(d)}})}try{const y=t.create(c,u);l(null,s(y,a,u))}catch(y){l(y)}}return vn.create=t.create,vn.toCanvas=r.bind(null,n.render),vn.toDataURL=r.bind(null,n.renderToDataURL),vn.toString=r.bind(null,function(s,a,c){return i.render(s,c)}),vn}var C5=T5();const m5=Ze.getDefaultExportFromCjs(C5);var Dt={},gn={},Zi={},ga;function p5(){if(ga)return Zi;ga=1,Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.getCommitment=e;function e(t){switch(t){case"processed":case"confirmed":case"finalized":case void 0:return t;case"recent":return"processed";case"single":case"singleGossip":return"confirmed";case"max":case"root":return"finalized";default:return}}return Zi}var yo={},Io={},fa;function D5(){return fa||(fa=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SOLANA_CHAINS=e.SOLANA_LOCALNET_CHAIN=e.SOLANA_TESTNET_CHAIN=e.SOLANA_DEVNET_CHAIN=e.SOLANA_MAINNET_CHAIN=void 0,e.isSolanaChain=t,e.SOLANA_MAINNET_CHAIN="solana:mainnet",e.SOLANA_DEVNET_CHAIN="solana:devnet",e.SOLANA_TESTNET_CHAIN="solana:testnet",e.SOLANA_LOCALNET_CHAIN="solana:localnet",e.SOLANA_CHAINS=[e.SOLANA_MAINNET_CHAIN,e.SOLANA_DEVNET_CHAIN,e.SOLANA_TESTNET_CHAIN,e.SOLANA_LOCALNET_CHAIN];function t(n){return e.SOLANA_CHAINS.includes(n)}})(Io)),Io}var ha;function w5(){return ha||(ha=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.LOCALNET_ENDPOINT=e.TESTNET_ENDPOINT=e.DEVNET_ENDPOINT=e.MAINNET_ENDPOINT=void 0,e.getChainForEndpoint=n,e.getEndpointForChain=i;const t=D5();e.MAINNET_ENDPOINT="https://api.mainnet-beta.solana.com",e.DEVNET_ENDPOINT="https://api.devnet.solana.com",e.TESTNET_ENDPOINT="https://api.testnet.solana.com",e.LOCALNET_ENDPOINT="http://localhost:8899";function n(r){return r.includes(e.MAINNET_ENDPOINT)?t.SOLANA_MAINNET_CHAIN:/\bdevnet\b/i.test(r)?t.SOLANA_DEVNET_CHAIN:/\btestnet\b/i.test(r)?t.SOLANA_TESTNET_CHAIN:/\blocalhost\b/i.test(r)||/\b127\.0\.0\.1\b/.test(r)?t.SOLANA_LOCALNET_CHAIN:t.SOLANA_MAINNET_CHAIN}function i(r,s){return s||(r===t.SOLANA_MAINNET_CHAIN?e.MAINNET_ENDPOINT:r===t.SOLANA_DEVNET_CHAIN?e.DEVNET_ENDPOINT:r===t.SOLANA_TESTNET_CHAIN?e.TESTNET_ENDPOINT:r===t.SOLANA_LOCALNET_CHAIN?e.LOCALNET_ENDPOINT:e.MAINNET_ENDPOINT)}})(yo)),yo}var _t={},oi={},Lo={},wt={},xo={},ja;function $n(){return ja||(ja=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.notImplemented=e.bitMask=e.utf8ToBytes=e.randomBytes=e.isBytes=e.hexToBytes=e.concatBytes=e.bytesToUtf8=e.bytesToHex=e.anumber=e.abytes=void 0,e.abool=s,e._abool2=a,e._abytes2=c,e.numberToHexUnpadded=u,e.hexToNumber=l,e.bytesToNumberBE=M,e.bytesToNumberLE=g,e.numberToBytesBE=N,e.numberToBytesLE=y,e.numberToVarBytesBE=T,e.ensureBytes=d,e.equalBytes=f,e.copyBytes=C,e.asciiToBytes=m,e.inRange=D,e.aInRange=j,e.bitLen=L,e.bitGet=p,e.bitSet=S,e.createHmacDrbg=z,e.validateObject=k,e.isHash=v,e._validateObject=Q,e.memoized=Z;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const t=x.requireUtils();var n=x.requireUtils();Object.defineProperty(e,"abytes",{enumerable:!0,get:function(){return n.abytes}}),Object.defineProperty(e,"anumber",{enumerable:!0,get:function(){return n.anumber}}),Object.defineProperty(e,"bytesToHex",{enumerable:!0,get:function(){return n.bytesToHex}}),Object.defineProperty(e,"bytesToUtf8",{enumerable:!0,get:function(){return n.bytesToUtf8}}),Object.defineProperty(e,"concatBytes",{enumerable:!0,get:function(){return n.concatBytes}}),Object.defineProperty(e,"hexToBytes",{enumerable:!0,get:function(){return n.hexToBytes}}),Object.defineProperty(e,"isBytes",{enumerable:!0,get:function(){return n.isBytes}}),Object.defineProperty(e,"randomBytes",{enumerable:!0,get:function(){return n.randomBytes}}),Object.defineProperty(e,"utf8ToBytes",{enumerable:!0,get:function(){return n.utf8ToBytes}});const i=BigInt(0),r=BigInt(1);function s(O,H){if(typeof H!="boolean")throw new Error(O+" boolean expected, got "+H)}function a(O,H=""){if(typeof O!="boolean"){const $=H&&`"${H}"`;throw new Error($+"expected boolean, got type="+typeof O)}return O}function c(O,H,$=""){const _=(0,t.isBytes)(O),A=O?.length,Y=H!==void 0;if(!_||Y&&A!==H){const E=$&&`"${$}" `,R=Y?` of length ${H}`:"",q=_?`length=${A}`:`type=${typeof O}`;throw new Error(E+"expected Uint8Array"+R+", got "+q)}return O}function u(O){const H=O.toString(16);return H.length&1?"0"+H:H}function l(O){if(typeof O!="string")throw new Error("hex string expected, got "+typeof O);return O===""?i:BigInt("0x"+O)}function M(O){return l((0,t.bytesToHex)(O))}function g(O){return(0,t.abytes)(O),l((0,t.bytesToHex)(Uint8Array.from(O).reverse()))}function N(O,H){return(0,t.hexToBytes)(O.toString(16).padStart(H*2,"0"))}function y(O,H){return N(O,H).reverse()}function T(O){return(0,t.hexToBytes)(u(O))}function d(O,H,$){let _;if(typeof H=="string")try{_=(0,t.hexToBytes)(H)}catch(Y){throw new Error(O+" must be hex string or Uint8Array, cause: "+Y)}else if((0,t.isBytes)(H))_=Uint8Array.from(H);else throw new Error(O+" must be hex string or Uint8Array");const A=_.length;if(typeof $=="number"&&A!==$)throw new Error(O+" of length "+$+" expected, got "+A);return _}function f(O,H){if(O.length!==H.length)return!1;let $=0;for(let _=0;_<O.length;_++)$|=O[_]^H[_];return $===0}function C(O){return Uint8Array.from(O)}function m(O){return Uint8Array.from(O,(H,$)=>{const _=H.charCodeAt(0);if(H.length!==1||_>127)throw new Error(`string contains non-ASCII character "${O[$]}" with code ${_} at position ${$}`);return _})}const h=O=>typeof O=="bigint"&&i<=O;function D(O,H,$){return h(O)&&h(H)&&h($)&&H<=O&&O<$}function j(O,H,$,_){if(!D(H,$,_))throw new Error("expected valid "+O+": "+$+" <= n < "+_+", got "+H)}function L(O){let H;for(H=0;O>i;O>>=r,H+=1);return H}function p(O,H){return O>>BigInt(H)&r}function S(O,H,$){return O|($?r:i)<<BigInt(H)}const w=O=>(r<<BigInt(O))-r;e.bitMask=w;function z(O,H,$){if(typeof O!="number"||O<2)throw new Error("hashLen must be a number");if(typeof H!="number"||H<2)throw new Error("qByteLen must be a number");if(typeof $!="function")throw new Error("hmacFn must be a function");const _=J=>new Uint8Array(J),A=J=>Uint8Array.of(J);let Y=_(O),E=_(O),R=0;const q=()=>{Y.fill(1),E.fill(0),R=0},te=(...J)=>$(E,Y,...J),X=(J=_(0))=>{E=te(A(0),J),Y=te(),J.length!==0&&(E=te(A(1),J),Y=te())},W=()=>{if(R++>=1e3)throw new Error("drbg: tried 1000 values");let J=0;const ie=[];for(;J<H;){Y=te();const K=Y.slice();ie.push(K),J+=Y.length}return(0,t.concatBytes)(...ie)};return(J,ie)=>{q(),X(J);let K;for(;!(K=ie(W()));)X();return q(),K}}const U={bigint:O=>typeof O=="bigint",function:O=>typeof O=="function",boolean:O=>typeof O=="boolean",string:O=>typeof O=="string",stringOrUint8Array:O=>typeof O=="string"||(0,t.isBytes)(O),isSafeInteger:O=>Number.isSafeInteger(O),array:O=>Array.isArray(O),field:(O,H)=>H.Fp.isValid(O),hash:O=>typeof O=="function"&&Number.isSafeInteger(O.outputLen)};function k(O,H,$={}){const _=(A,Y,E)=>{const R=U[Y];if(typeof R!="function")throw new Error("invalid validator function");const q=O[A];if(!(E&&q===void 0)&&!R(q,O))throw new Error("param "+String(A)+" is invalid. Expected "+Y+", got "+q)};for(const[A,Y]of Object.entries(H))_(A,Y,!1);for(const[A,Y]of Object.entries($))_(A,Y,!0);return O}function v(O){return typeof O=="function"&&Number.isSafeInteger(O.outputLen)}function Q(O,H,$={}){if(!O||typeof O!="object")throw new Error("expected valid options object");function _(A,Y,E){const R=O[A];if(E&&R===void 0)return;const q=typeof R;if(q!==Y||R===null)throw new Error(`param "${A}" is invalid: expected ${Y}, got ${q}`)}Object.entries(H).forEach(([A,Y])=>_(A,Y,!1)),Object.entries($).forEach(([A,Y])=>_(A,Y,!0))}const P=()=>{throw new Error("not implemented")};e.notImplemented=P;function Z(O){const H=new WeakMap;return($,..._)=>{const A=H.get($);if(A!==void 0)return A;const Y=O($,..._);return H.set($,Y),Y}}})(xo)),xo}var _e={},Na;function bi(){if(Na)return _e;Na=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.isNegativeLE=void 0,_e.mod=g,_e.pow=N,_e.pow2=y,_e.invert=T,_e.tonelliShanks=h,_e.FpSqrt=D,_e.validateField=p,_e.FpPow=S,_e.FpInvertBatch=w,_e.FpDiv=z,_e.FpLegendre=U,_e.FpIsSquare=k,_e.nLength=v,_e.Field=Q,_e.FpSqrtOdd=P,_e.FpSqrtEven=Z,_e.hashToPrivateScalar=O,_e.getFieldBytesLength=H,_e.getMinHashLength=$,_e.mapHashToField=_;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=$n(),t=BigInt(0),n=BigInt(1),i=BigInt(2),r=BigInt(3),s=BigInt(4),a=BigInt(5),c=BigInt(7),u=BigInt(8),l=BigInt(9),M=BigInt(16);function g(A,Y){const E=A%Y;return E>=t?E:Y+E}function N(A,Y,E){return S(Q(E),A,Y)}function y(A,Y,E){let R=A;for(;Y-- >t;)R*=R,R%=E;return R}function T(A,Y){if(A===t)throw new Error("invert: expected non-zero number");if(Y<=t)throw new Error("invert: expected positive modulus, got "+Y);let E=g(A,Y),R=Y,q=t,te=n;for(;E!==t;){const W=R/E,V=R%E,J=q-te*W;R=E,E=V,q=te,te=J}if(R!==n)throw new Error("invert: does not exist");return g(q,Y)}function d(A,Y,E){if(!A.eql(A.sqr(Y),E))throw new Error("Cannot find square root")}function f(A,Y){const E=(A.ORDER+n)/s,R=A.pow(Y,E);return d(A,R,Y),R}function C(A,Y){const E=(A.ORDER-a)/u,R=A.mul(Y,i),q=A.pow(R,E),te=A.mul(Y,q),X=A.mul(A.mul(te,i),q),W=A.mul(te,A.sub(X,A.ONE));return d(A,W,Y),W}function m(A){const Y=Q(A),E=h(A),R=E(Y,Y.neg(Y.ONE)),q=E(Y,R),te=E(Y,Y.neg(R)),X=(A+c)/M;return(W,V)=>{let J=W.pow(V,X),ie=W.mul(J,R);const K=W.mul(J,q),G=W.mul(J,te),ee=W.eql(W.sqr(ie),V),ge=W.eql(W.sqr(K),V);J=W.cmov(J,ie,ee),ie=W.cmov(G,K,ge);const fe=W.eql(W.sqr(ie),V),ye=W.cmov(J,ie,fe);return d(W,ye,V),ye}}function h(A){if(A<r)throw new Error("sqrt is not defined for small field");let Y=A-n,E=0;for(;Y%i===t;)Y/=i,E++;let R=i;const q=Q(A);for(;U(q,R)===1;)if(R++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(E===1)return f;let te=q.pow(R,Y);const X=(Y+n)/i;return function(V,J){if(V.is0(J))return J;if(U(V,J)!==1)throw new Error("Cannot find square root");let ie=E,K=V.mul(V.ONE,te),G=V.pow(J,Y),ee=V.pow(J,X);for(;!V.eql(G,V.ONE);){if(V.is0(G))return V.ZERO;let ge=1,fe=V.sqr(G);for(;!V.eql(fe,V.ONE);)if(ge++,fe=V.sqr(fe),ge===ie)throw new Error("Cannot find square root");const ye=n<<BigInt(ie-ge-1),Ce=V.pow(K,ye);ie=ge,K=V.sqr(Ce),G=V.mul(G,K),ee=V.mul(ee,Ce)}return ee}}function D(A){return A%s===r?f:A%u===a?C:A%M===l?m(A):h(A)}const j=(A,Y)=>(g(A,Y)&n)===n;_e.isNegativeLE=j;const L=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function p(A){const Y={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},E=L.reduce((R,q)=>(R[q]="function",R),Y);return(0,e._validateObject)(A,E),A}function S(A,Y,E){if(E<t)throw new Error("invalid exponent, negatives unsupported");if(E===t)return A.ONE;if(E===n)return Y;let R=A.ONE,q=Y;for(;E>t;)E&n&&(R=A.mul(R,q)),q=A.sqr(q),E>>=n;return R}function w(A,Y,E=!1){const R=new Array(Y.length).fill(E?A.ZERO:void 0),q=Y.reduce((X,W,V)=>A.is0(W)?X:(R[V]=X,A.mul(X,W)),A.ONE),te=A.inv(q);return Y.reduceRight((X,W,V)=>A.is0(W)?X:(R[V]=A.mul(X,R[V]),A.mul(X,W)),te),R}function z(A,Y,E){return A.mul(Y,typeof E=="bigint"?T(E,A.ORDER):A.inv(E))}function U(A,Y){const E=(A.ORDER-n)/i,R=A.pow(Y,E),q=A.eql(R,A.ONE),te=A.eql(R,A.ZERO),X=A.eql(R,A.neg(A.ONE));if(!q&&!te&&!X)throw new Error("invalid Legendre symbol result");return q?1:te?0:-1}function k(A,Y){return U(A,Y)===1}function v(A,Y){Y!==void 0&&(0,e.anumber)(Y);const E=Y!==void 0?Y:A.toString(2).length,R=Math.ceil(E/8);return{nBitLength:E,nByteLength:R}}function Q(A,Y,E=!1,R={}){if(A<=t)throw new Error("invalid field: expected ORDER > 0, got "+A);let q,te,X=!1,W;if(typeof Y=="object"&&Y!=null){if(R.sqrt||E)throw new Error("cannot specify opts in two arguments");const G=Y;G.BITS&&(q=G.BITS),G.sqrt&&(te=G.sqrt),typeof G.isLE=="boolean"&&(E=G.isLE),typeof G.modFromBytes=="boolean"&&(X=G.modFromBytes),W=G.allowedLengths}else typeof Y=="number"&&(q=Y),R.sqrt&&(te=R.sqrt);const{nBitLength:V,nByteLength:J}=v(A,q);if(J>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let ie;const K=Object.freeze({ORDER:A,isLE:E,BITS:V,BYTES:J,MASK:(0,e.bitMask)(V),ZERO:t,ONE:n,allowedLengths:W,create:G=>g(G,A),isValid:G=>{if(typeof G!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof G);return t<=G&&G<A},is0:G=>G===t,isValidNot0:G=>!K.is0(G)&&K.isValid(G),isOdd:G=>(G&n)===n,neg:G=>g(-G,A),eql:(G,ee)=>G===ee,sqr:G=>g(G*G,A),add:(G,ee)=>g(G+ee,A),sub:(G,ee)=>g(G-ee,A),mul:(G,ee)=>g(G*ee,A),pow:(G,ee)=>S(K,G,ee),div:(G,ee)=>g(G*T(ee,A),A),sqrN:G=>G*G,addN:(G,ee)=>G+ee,subN:(G,ee)=>G-ee,mulN:(G,ee)=>G*ee,inv:G=>T(G,A),sqrt:te||(G=>(ie||(ie=D(A)),ie(K,G))),toBytes:G=>E?(0,e.numberToBytesLE)(G,J):(0,e.numberToBytesBE)(G,J),fromBytes:(G,ee=!0)=>{if(W){if(!W.includes(G.length)||G.length>J)throw new Error("Field.fromBytes: expected "+W+" bytes, got "+G.length);const fe=new Uint8Array(J);fe.set(G,E?0:fe.length-G.length),G=fe}if(G.length!==J)throw new Error("Field.fromBytes: expected "+J+" bytes, got "+G.length);let ge=E?(0,e.bytesToNumberLE)(G):(0,e.bytesToNumberBE)(G);if(X&&(ge=g(ge,A)),!ee&&!K.isValid(ge))throw new Error("invalid field element: outside of range 0..ORDER");return ge},invertBatch:G=>w(K,G),cmov:(G,ee,ge)=>ge?ee:G});return Object.freeze(K)}function P(A,Y){if(!A.isOdd)throw new Error("Field doesn't have isOdd");const E=A.sqrt(Y);return A.isOdd(E)?E:A.neg(E)}function Z(A,Y){if(!A.isOdd)throw new Error("Field doesn't have isOdd");const E=A.sqrt(Y);return A.isOdd(E)?A.neg(E):E}function O(A,Y,E=!1){A=(0,e.ensureBytes)("privateHash",A);const R=A.length,q=v(Y).nByteLength+8;if(q<24||R<q||R>1024)throw new Error("hashToPrivateScalar: expected "+q+"-1024 bytes of input, got "+R);const te=E?(0,e.bytesToNumberLE)(A):(0,e.bytesToNumberBE)(A);return g(te,Y-n)+n}function H(A){if(typeof A!="bigint")throw new Error("field order must be bigint");const Y=A.toString(2).length;return Math.ceil(Y/8)}function $(A){const Y=H(A);return Y+Math.ceil(Y/2)}function _(A,Y,E=!1){const R=A.length,q=H(Y),te=$(Y);if(R<16||R<te||R>1024)throw new Error("expected "+te+"-1024 bytes of input, got "+R);const X=E?(0,e.bytesToNumberLE)(A):(0,e.bytesToNumberBE)(A),W=g(X,Y-n)+n;return E?(0,e.numberToBytesLE)(W,q):(0,e.numberToBytesBE)(W,q)}return _e}var ya;function L2(){if(ya)return wt;ya=1,Object.defineProperty(wt,"__esModule",{value:!0}),wt.wNAF=void 0,wt.negateCt=r,wt.normalizeZ=s,wt.mulEndoUnsafe=f,wt.pippenger=C,wt.precomputeMSMUnsafe=m,wt.validateBasic=h,wt._createCurveFields=j;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=$n(),t=bi(),n=BigInt(0),i=BigInt(1);function r(L,p){const S=p.negate();return L?S:p}function s(L,p){const S=(0,t.FpInvertBatch)(L.Fp,p.map(w=>w.Z));return p.map((w,z)=>L.fromAffine(w.toAffine(S[z])))}function a(L,p){if(!Number.isSafeInteger(L)||L<=0||L>p)throw new Error("invalid window size, expected [1.."+p+"], got W="+L)}function c(L,p){a(L,p);const S=Math.ceil(p/L)+1,w=2**(L-1),z=2**L,U=(0,e.bitMask)(L),k=BigInt(L);return{windows:S,windowSize:w,mask:U,maxNumber:z,shiftBy:k}}function u(L,p,S){const{windowSize:w,mask:z,maxNumber:U,shiftBy:k}=S;let v=Number(L&z),Q=L>>k;v>w&&(v-=U,Q+=i);const P=p*w,Z=P+Math.abs(v)-1,O=v===0,H=v<0,$=p%2!==0;return{nextN:Q,offset:Z,isZero:O,isNeg:H,isNegF:$,offsetF:P}}function l(L,p){if(!Array.isArray(L))throw new Error("array expected");L.forEach((S,w)=>{if(!(S instanceof p))throw new Error("invalid point at index "+w)})}function M(L,p){if(!Array.isArray(L))throw new Error("array of scalars expected");L.forEach((S,w)=>{if(!p.isValid(S))throw new Error("invalid scalar at index "+w)})}const g=new WeakMap,N=new WeakMap;function y(L){return N.get(L)||1}function T(L){if(L!==n)throw new Error("invalid wNAF")}class d{constructor(p,S){this.BASE=p.BASE,this.ZERO=p.ZERO,this.Fn=p.Fn,this.bits=S}_unsafeLadder(p,S,w=this.ZERO){let z=p;for(;S>n;)S&i&&(w=w.add(z)),z=z.double(),S>>=i;return w}precomputeWindow(p,S){const{windows:w,windowSize:z}=c(S,this.bits),U=[];let k=p,v=k;for(let Q=0;Q<w;Q++){v=k,U.push(v);for(let P=1;P<z;P++)v=v.add(k),U.push(v);k=v.double()}return U}wNAF(p,S,w){if(!this.Fn.isValid(w))throw new Error("invalid scalar");let z=this.ZERO,U=this.BASE;const k=c(p,this.bits);for(let v=0;v<k.windows;v++){const{nextN:Q,offset:P,isZero:Z,isNeg:O,isNegF:H,offsetF:$}=u(w,v,k);w=Q,Z?U=U.add(r(H,S[$])):z=z.add(r(O,S[P]))}return T(w),{p:z,f:U}}wNAFUnsafe(p,S,w,z=this.ZERO){const U=c(p,this.bits);for(let k=0;k<U.windows&&w!==n;k++){const{nextN:v,offset:Q,isZero:P,isNeg:Z}=u(w,k,U);if(w=v,!P){const O=S[Q];z=z.add(Z?O.negate():O)}}return T(w),z}getPrecomputes(p,S,w){let z=g.get(S);return z||(z=this.precomputeWindow(S,p),p!==1&&(typeof w=="function"&&(z=w(z)),g.set(S,z))),z}cached(p,S,w){const z=y(p);return this.wNAF(z,this.getPrecomputes(z,p,w),S)}unsafe(p,S,w,z){const U=y(p);return U===1?this._unsafeLadder(p,S,z):this.wNAFUnsafe(U,this.getPrecomputes(U,p,w),S,z)}createCache(p,S){a(S,this.bits),N.set(p,S),g.delete(p)}hasCache(p){return y(p)!==1}}wt.wNAF=d;function f(L,p,S,w){let z=p,U=L.ZERO,k=L.ZERO;for(;S>n||w>n;)S&i&&(U=U.add(z)),w&i&&(k=k.add(z)),z=z.double(),S>>=i,w>>=i;return{p1:U,p2:k}}function C(L,p,S,w){l(S,L),M(w,p);const z=S.length,U=w.length;if(z!==U)throw new Error("arrays of points and scalars must have equal length");const k=L.ZERO,v=(0,e.bitLen)(BigInt(z));let Q=1;v>12?Q=v-3:v>4?Q=v-2:v>0&&(Q=2);const P=(0,e.bitMask)(Q),Z=new Array(Number(P)+1).fill(k),O=Math.floor((p.BITS-1)/Q)*Q;let H=k;for(let $=O;$>=0;$-=Q){Z.fill(k);for(let A=0;A<U;A++){const Y=w[A],E=Number(Y>>BigInt($)&P);Z[E]=Z[E].add(S[A])}let _=k;for(let A=Z.length-1,Y=k;A>0;A--)Y=Y.add(Z[A]),_=_.add(Y);if(H=H.add(_),$!==0)for(let A=0;A<Q;A++)H=H.double()}return H}function m(L,p,S,w){a(w,p.BITS),l(S,L);const z=L.ZERO,U=2**w-1,k=Math.ceil(p.BITS/w),v=(0,e.bitMask)(w),Q=S.map(P=>{const Z=[];for(let O=0,H=P;O<U;O++)Z.push(H),H=H.add(P);return Z});return P=>{if(M(P,p),P.length>S.length)throw new Error("array of scalars must be smaller than array of points");let Z=z;for(let O=0;O<k;O++){if(Z!==z)for(let $=0;$<w;$++)Z=Z.double();const H=BigInt(k*w-(O+1)*w);for(let $=0;$<P.length;$++){const _=P[$],A=Number(_>>H&v);A&&(Z=Z.add(Q[$][A-1]))}}return Z}}function h(L){return(0,t.validateField)(L.Fp),(0,e.validateObject)(L,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,t.nLength)(L.n,L.nBitLength),...L,p:L.Fp.ORDER})}function D(L,p,S){if(p){if(p.ORDER!==L)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return(0,t.validateField)(p),p}else return(0,t.Field)(L,{isLE:S})}function j(L,p,S={},w){if(w===void 0&&(w=L==="edwards"),!p||typeof p!="object")throw new Error(`expected valid ${L} CURVE object`);for(const Q of["p","n","h"]){const P=p[Q];if(!(typeof P=="bigint"&&P>n))throw new Error(`CURVE.${Q} must be positive bigint`)}const z=D(p.p,S.Fp,w),U=D(p.n,S.Fn,w),v=["Gx","Gy","a",L==="weierstrass"?"b":"d"];for(const Q of v)if(!z.isValid(p[Q]))throw new Error(`CURVE.${Q} must be valid field element of CURVE.Fp`);return p=Object.freeze(Object.assign({},p)),{CURVE:p,Fp:z,Fn:U}}return wt}var Xt={},Ia;function A5(){if(Ia)return Xt;Ia=1,Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.PrimeEdwardsPoint=void 0,Xt.edwards=u,Xt.eddsa=M,Xt.twistedEdwards=y;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=$n(),t=L2(),n=bi(),i=BigInt(0),r=BigInt(1),s=BigInt(2),a=BigInt(8);function c(T,d,f,C){const m=T.sqr(f),h=T.sqr(C),D=T.add(T.mul(d.a,m),h),j=T.add(T.ONE,T.mul(d.d,T.mul(m,h)));return T.eql(D,j)}function u(T,d={}){const f=(0,t._createCurveFields)("edwards",T,d,d.FpFnLE),{Fp:C,Fn:m}=f;let h=f.CURVE;const{h:D}=h;(0,e._validateObject)(d,{},{uvRatio:"function"});const j=s<<BigInt(m.BYTES*8)-r,L=Q=>C.create(Q),p=d.uvRatio||((Q,P)=>{try{return{isValid:!0,value:C.sqrt(C.div(Q,P))}}catch{return{isValid:!1,value:i}}});if(!c(C,h,h.Gx,h.Gy))throw new Error("bad curve params: generator point");function S(Q,P,Z=!1){const O=Z?r:i;return(0,e.aInRange)("coordinate "+Q,P,O,j),P}function w(Q){if(!(Q instanceof k))throw new Error("ExtendedPoint expected")}const z=(0,e.memoized)((Q,P)=>{const{X:Z,Y:O,Z:H}=Q,$=Q.is0();P==null&&(P=$?a:C.inv(H));const _=L(Z*P),A=L(O*P),Y=C.mul(H,P);if($)return{x:i,y:r};if(Y!==r)throw new Error("invZ was invalid");return{x:_,y:A}}),U=(0,e.memoized)(Q=>{const{a:P,d:Z}=h;if(Q.is0())throw new Error("bad point: ZERO");const{X:O,Y:H,Z:$,T:_}=Q,A=L(O*O),Y=L(H*H),E=L($*$),R=L(E*E),q=L(A*P),te=L(E*L(q+Y)),X=L(R+L(Z*L(A*Y)));if(te!==X)throw new Error("bad point: equation left != right (1)");const W=L(O*H),V=L($*_);if(W!==V)throw new Error("bad point: equation left != right (2)");return!0});class k{constructor(P,Z,O,H){this.X=S("x",P),this.Y=S("y",Z),this.Z=S("z",O,!0),this.T=S("t",H),Object.freeze(this)}static CURVE(){return h}static fromAffine(P){if(P instanceof k)throw new Error("extended point not allowed");const{x:Z,y:O}=P||{};return S("x",Z),S("y",O),new k(Z,O,r,L(Z*O))}static fromBytes(P,Z=!1){const O=C.BYTES,{a:H,d:$}=h;P=(0,e.copyBytes)((0,e._abytes2)(P,O,"point")),(0,e._abool2)(Z,"zip215");const _=(0,e.copyBytes)(P),A=P[O-1];_[O-1]=A&-129;const Y=(0,e.bytesToNumberLE)(_),E=Z?j:C.ORDER;(0,e.aInRange)("point.y",Y,i,E);const R=L(Y*Y),q=L(R-r),te=L($*R-H);let{isValid:X,value:W}=p(q,te);if(!X)throw new Error("bad point: invalid y coordinate");const V=(W&r)===r,J=(A&128)!==0;if(!Z&&W===i&&J)throw new Error("bad point: x=0 and x_0=1");return J!==V&&(W=L(-W)),k.fromAffine({x:W,y:Y})}static fromHex(P,Z=!1){return k.fromBytes((0,e.ensureBytes)("point",P),Z)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(P=8,Z=!0){return v.createCache(this,P),Z||this.multiply(s),this}assertValidity(){U(this)}equals(P){w(P);const{X:Z,Y:O,Z:H}=this,{X:$,Y:_,Z:A}=P,Y=L(Z*A),E=L($*H),R=L(O*A),q=L(_*H);return Y===E&&R===q}is0(){return this.equals(k.ZERO)}negate(){return new k(L(-this.X),this.Y,this.Z,L(-this.T))}double(){const{a:P}=h,{X:Z,Y:O,Z:H}=this,$=L(Z*Z),_=L(O*O),A=L(s*L(H*H)),Y=L(P*$),E=Z+O,R=L(L(E*E)-$-_),q=Y+_,te=q-A,X=Y-_,W=L(R*te),V=L(q*X),J=L(R*X),ie=L(te*q);return new k(W,V,ie,J)}add(P){w(P);const{a:Z,d:O}=h,{X:H,Y:$,Z:_,T:A}=this,{X:Y,Y:E,Z:R,T:q}=P,te=L(H*Y),X=L($*E),W=L(A*O*q),V=L(_*R),J=L((H+$)*(Y+E)-te-X),ie=V-W,K=V+W,G=L(X-Z*te),ee=L(J*ie),ge=L(K*G),fe=L(J*G),ye=L(ie*K);return new k(ee,ge,ye,fe)}subtract(P){return this.add(P.negate())}multiply(P){if(!m.isValidNot0(P))throw new Error("invalid scalar: expected 1 <= sc < curve.n");const{p:Z,f:O}=v.cached(this,P,H=>(0,t.normalizeZ)(k,H));return(0,t.normalizeZ)(k,[Z,O])[0]}multiplyUnsafe(P,Z=k.ZERO){if(!m.isValid(P))throw new Error("invalid scalar: expected 0 <= sc < curve.n");return P===i?k.ZERO:this.is0()||P===r?this:v.unsafe(this,P,O=>(0,t.normalizeZ)(k,O),Z)}isSmallOrder(){return this.multiplyUnsafe(D).is0()}isTorsionFree(){return v.unsafe(this,h.n).is0()}toAffine(P){return z(this,P)}clearCofactor(){return D===r?this:this.multiplyUnsafe(D)}toBytes(){const{x:P,y:Z}=this.toAffine(),O=C.toBytes(Z);return O[O.length-1]|=P&r?128:0,O}toHex(){return(0,e.bytesToHex)(this.toBytes())}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get ex(){return this.X}get ey(){return this.Y}get ez(){return this.Z}get et(){return this.T}static normalizeZ(P){return(0,t.normalizeZ)(k,P)}static msm(P,Z){return(0,t.pippenger)(k,m,P,Z)}_setWindowSize(P){this.precompute(P)}toRawBytes(){return this.toBytes()}}k.BASE=new k(h.Gx,h.Gy,r,L(h.Gx*h.Gy)),k.ZERO=new k(i,r,r,i),k.Fp=C,k.Fn=m;const v=new t.wNAF(k,m.BITS);return k.BASE.precompute(8),k}class l{constructor(d){this.ep=d}static fromBytes(d){(0,e.notImplemented)()}static fromHex(d){(0,e.notImplemented)()}get x(){return this.toAffine().x}get y(){return this.toAffine().y}clearCofactor(){return this}assertValidity(){this.ep.assertValidity()}toAffine(d){return this.ep.toAffine(d)}toHex(){return(0,e.bytesToHex)(this.toBytes())}toString(){return this.toHex()}isTorsionFree(){return!0}isSmallOrder(){return!1}add(d){return this.assertSame(d),this.init(this.ep.add(d.ep))}subtract(d){return this.assertSame(d),this.init(this.ep.subtract(d.ep))}multiply(d){return this.init(this.ep.multiply(d))}multiplyUnsafe(d){return this.init(this.ep.multiplyUnsafe(d))}double(){return this.init(this.ep.double())}negate(){return this.init(this.ep.negate())}precompute(d,f){return this.init(this.ep.precompute(d,f))}toRawBytes(){return this.toBytes()}}Xt.PrimeEdwardsPoint=l;function M(T,d,f={}){if(typeof d!="function")throw new Error('"hash" function param is required');(0,e._validateObject)(f,{},{adjustScalarBytes:"function",randomBytes:"function",domain:"function",prehash:"function",mapToCurve:"function"});const{prehash:C}=f,{BASE:m,Fp:h,Fn:D}=T,j=f.randomBytes||e.randomBytes,L=f.adjustScalarBytes||(E=>E),p=f.domain||((E,R,q)=>{if((0,e._abool2)(q,"phflag"),R.length||q)throw new Error("Contexts/pre-hash are not supported");return E});function S(E){return D.create((0,e.bytesToNumberLE)(E))}function w(E){const R=O.secretKey;E=(0,e.ensureBytes)("private key",E,R);const q=(0,e.ensureBytes)("hashed private key",d(E),2*R),te=L(q.slice(0,R)),X=q.slice(R,2*R),W=S(te);return{head:te,prefix:X,scalar:W}}function z(E){const{head:R,prefix:q,scalar:te}=w(E),X=m.multiply(te),W=X.toBytes();return{head:R,prefix:q,scalar:te,point:X,pointBytes:W}}function U(E){return z(E).pointBytes}function k(E=Uint8Array.of(),...R){const q=(0,e.concatBytes)(...R);return S(d(p(q,(0,e.ensureBytes)("context",E),!!C)))}function v(E,R,q={}){E=(0,e.ensureBytes)("message",E),C&&(E=C(E));const{prefix:te,scalar:X,pointBytes:W}=z(R),V=k(q.context,te,E),J=m.multiply(V).toBytes(),ie=k(q.context,J,W,E),K=D.create(V+ie*X);if(!D.isValid(K))throw new Error("sign failed: invalid s");const G=(0,e.concatBytes)(J,D.toBytes(K));return(0,e._abytes2)(G,O.signature,"result")}const Q={zip215:!0};function P(E,R,q,te=Q){const{context:X,zip215:W}=te,V=O.signature;E=(0,e.ensureBytes)("signature",E,V),R=(0,e.ensureBytes)("message",R),q=(0,e.ensureBytes)("publicKey",q,O.publicKey),W!==void 0&&(0,e._abool2)(W,"zip215"),C&&(R=C(R));const J=V/2,ie=E.subarray(0,J),K=(0,e.bytesToNumberLE)(E.subarray(J,V));let G,ee,ge;try{G=T.fromBytes(q,W),ee=T.fromBytes(ie,W),ge=m.multiplyUnsafe(K)}catch{return!1}if(!W&&G.isSmallOrder())return!1;const fe=k(X,ee.toBytes(),G.toBytes(),R);return ee.add(G.multiplyUnsafe(fe)).subtract(ge).clearCofactor().is0()}const Z=h.BYTES,O={secretKey:Z,publicKey:Z,signature:2*Z,seed:Z};function H(E=j(O.seed)){return(0,e._abytes2)(E,O.seed,"seed")}function $(E){const R=Y.randomSecretKey(E);return{secretKey:R,publicKey:U(R)}}function _(E){return(0,e.isBytes)(E)&&E.length===D.BYTES}function A(E,R){try{return!!T.fromBytes(E,R)}catch{return!1}}const Y={getExtendedPublicKey:z,randomSecretKey:H,isValidSecretKey:_,isValidPublicKey:A,toMontgomery(E){const{y:R}=T.fromBytes(E),q=O.publicKey,te=q===32;if(!te&&q!==57)throw new Error("only defined for 25519 and 448");const X=te?h.div(r+R,r-R):h.div(R-r,R+r);return h.toBytes(X)},toMontgomerySecret(E){const R=O.secretKey;(0,e._abytes2)(E,R);const q=d(E.subarray(0,R));return L(q).subarray(0,R)},randomPrivateKey:H,precompute(E=8,R=T.BASE){return R.precompute(E,!1)}};return Object.freeze({keygen:$,getPublicKey:U,sign:v,verify:P,utils:Y,Point:T,lengths:O})}function g(T){const d={a:T.a,d:T.d,p:T.Fp.ORDER,n:T.n,h:T.h,Gx:T.Gx,Gy:T.Gy},f=T.Fp,C=(0,n.Field)(d.n,T.nBitLength,!0),m={Fp:f,Fn:C,uvRatio:T.uvRatio},h={randomBytes:T.randomBytes,adjustScalarBytes:T.adjustScalarBytes,domain:T.domain,prehash:T.prehash,mapToCurve:T.mapToCurve};return{CURVE:d,curveOpts:m,hash:T.hash,eddsaOpts:h}}function N(T,d){const f=d.Point;return Object.assign({},d,{ExtendedPoint:f,CURVE:T,nBitLength:f.Fn.BITS,nByteLength:f.Fn.BYTES})}function y(T){const{CURVE:d,curveOpts:f,hash:C,eddsaOpts:m}=g(T),h=u(d,f),D=M(h,C,m);return N(T,D)}return Xt}var To={},La;function S5(){return La||(La=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e._DST_scalar=void 0,e.expand_message_xmd=u,e.expand_message_xof=l,e.hash_to_field=M,e.isogenyMap=g,e.createHasher=N;const t=$n(),n=bi(),i=t.bytesToNumberBE;function r(y,T){if(a(y),a(T),y<0||y>=1<<8*T)throw new Error("invalid I2OSP input: "+y);const d=Array.from({length:T}).fill(0);for(let f=T-1;f>=0;f--)d[f]=y&255,y>>>=8;return new Uint8Array(d)}function s(y,T){const d=new Uint8Array(y.length);for(let f=0;f<y.length;f++)d[f]=y[f]^T[f];return d}function a(y){if(!Number.isSafeInteger(y))throw new Error("number expected")}function c(y){if(!(0,t.isBytes)(y)&&typeof y!="string")throw new Error("DST must be Uint8Array or string");return typeof y=="string"?(0,t.utf8ToBytes)(y):y}function u(y,T,d,f){(0,t.abytes)(y),a(d),T=c(T),T.length>255&&(T=f((0,t.concatBytes)((0,t.utf8ToBytes)("H2C-OVERSIZE-DST-"),T)));const{outputLen:C,blockLen:m}=f,h=Math.ceil(d/C);if(d>65535||h>255)throw new Error("expand_message_xmd: invalid lenInBytes");const D=(0,t.concatBytes)(T,r(T.length,1)),j=r(0,m),L=r(d,2),p=new Array(h),S=f((0,t.concatBytes)(j,y,L,r(0,1),D));p[0]=f((0,t.concatBytes)(S,r(1,1),D));for(let z=1;z<=h;z++){const U=[s(S,p[z-1]),r(z+1,1),D];p[z]=f((0,t.concatBytes)(...U))}return(0,t.concatBytes)(...p).slice(0,d)}function l(y,T,d,f,C){if((0,t.abytes)(y),a(d),T=c(T),T.length>255){const m=Math.ceil(2*f/8);T=C.create({dkLen:m}).update((0,t.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(T).digest()}if(d>65535||T.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return C.create({dkLen:d}).update(y).update(r(d,2)).update(T).update(r(T.length,1)).digest()}function M(y,T,d){(0,t._validateObject)(d,{p:"bigint",m:"number",k:"number",hash:"function"});const{p:f,k:C,m,hash:h,expand:D,DST:j}=d;if(!(0,t.isHash)(d.hash))throw new Error("expected valid hash");(0,t.abytes)(y),a(T);const L=f.toString(2).length,p=Math.ceil((L+C)/8),S=T*m*p;let w;if(D==="xmd")w=u(y,j,S,h);else if(D==="xof")w=l(y,j,S,C,h);else if(D==="_internal_pass")w=y;else throw new Error('expand must be "xmd" or "xof"');const z=new Array(T);for(let U=0;U<T;U++){const k=new Array(m);for(let v=0;v<m;v++){const Q=p*(v+U*m),P=w.subarray(Q,Q+p);k[v]=(0,n.mod)(i(P),f)}z[U]=k}return z}function g(y,T){const d=T.map(f=>Array.from(f).reverse());return(f,C)=>{const[m,h,D,j]=d.map(S=>S.reduce((w,z)=>y.add(y.mul(w,f),z))),[L,p]=(0,n.FpInvertBatch)(y,[h,j],!0);return f=y.mul(m,L),C=y.mul(C,y.mul(D,p)),{x:f,y:C}}}e._DST_scalar=(0,t.utf8ToBytes)("HashToScalar-");function N(y,T,d){if(typeof T!="function")throw new Error("mapToCurve() must be defined");function f(m){return y.fromAffine(T(m))}function C(m){const h=m.clearCofactor();return h.equals(y.ZERO)?y.ZERO:(h.assertValidity(),h)}return{defaults:d,hashToCurve(m,h){const D=Object.assign({},d,h),j=M(m,2,D),L=f(j[0]),p=f(j[1]);return C(L.add(p))},encodeToCurve(m,h){const D=d.encodeDST?{DST:d.encodeDST}:{},j=Object.assign({},d,D,h),L=M(m,1,j),p=f(L[0]);return C(p)},mapToCurve(m){if(!Array.isArray(m))throw new Error("expected array of bigints");for(const h of m)if(typeof h!="bigint")throw new Error("expected array of bigints");return C(f(m))},hashToScalar(m,h){const D=y.Fn.ORDER,j=Object.assign({},d,{p:D,m:1,DST:e._DST_scalar},h);return M(m,1,j)[0][0]}}}})(To)),To}var Wi={},xa;function E5(){if(xa)return Wi;xa=1,Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.montgomery=a;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const e=$n(),t=bi(),n=BigInt(0),i=BigInt(1),r=BigInt(2);function s(c){return(0,e._validateObject)(c,{adjustScalarBytes:"function",powPminus2:"function"}),Object.freeze({...c})}function a(c){const u=s(c),{P:l,type:M,adjustScalarBytes:g,powPminus2:N,randomBytes:y}=u,T=M==="x25519";if(!T&&M!=="x448")throw new Error("invalid type");const d=y||e.randomBytes,f=T?255:448,C=T?32:56,m=BigInt(T?9:5),h=BigInt(T?121665:39081),D=T?r**BigInt(254):r**BigInt(447),j=T?BigInt(8)*r**BigInt(251)-i:BigInt(4)*r**BigInt(445)-i,L=D+j+i,p=_=>(0,t.mod)(_,l),S=w(m);function w(_){return(0,e.numberToBytesLE)(p(_),C)}function z(_){const A=(0,e.ensureBytes)("u coordinate",_,C);return T&&(A[31]&=127),p((0,e.bytesToNumberLE)(A))}function U(_){return(0,e.bytesToNumberLE)(g((0,e.ensureBytes)("scalar",_,C)))}function k(_,A){const Y=P(z(A),U(_));if(Y===n)throw new Error("invalid private or public key received");return w(Y)}function v(_){return k(_,S)}function Q(_,A,Y){const E=p(_*(A-Y));return A=p(A-E),Y=p(Y+E),{x_2:A,x_3:Y}}function P(_,A){(0,e.aInRange)("u",_,n,l),(0,e.aInRange)("scalar",A,D,L);const Y=A,E=_;let R=i,q=n,te=_,X=i,W=n;for(let J=BigInt(f-1);J>=n;J--){const ie=Y>>J&i;W^=ie,{x_2:R,x_3:te}=Q(W,R,te),{x_2:q,x_3:X}=Q(W,q,X),W=ie;const K=R+q,G=p(K*K),ee=R-q,ge=p(ee*ee),fe=G-ge,ye=te+X,Ce=te-X,ke=p(Ce*K),ze=p(ye*ee),Qe=ke+ze,Fe=ke-ze;te=p(Qe*Qe),X=p(E*p(Fe*Fe)),R=p(G*ge),q=p(fe*(G+p(h*fe)))}({x_2:R,x_3:te}=Q(W,R,te)),{x_2:q,x_3:X}=Q(W,q,X);const V=N(q);return p(R*V)}const Z={secretKey:C,publicKey:C,seed:C},O=(_=d(C))=>((0,e.abytes)(_,Z.seed),_);function H(_){const A=O(_);return{secretKey:A,publicKey:v(A)}}return{keygen:H,getSharedSecret:(_,A)=>k(_,A),getPublicKey:_=>v(_),scalarMult:k,scalarMultBase:v,utils:{randomSecretKey:O,randomPrivateKey:O},GuBytes:S.slice(),lengths:Z}}return Wi}var Ta;function z5(){return Ta||(Ta=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.hash_to_ristretto255=e.hashToRistretto255=e.encodeToCurve=e.hashToCurve=e.RistrettoPoint=e.edwardsToMontgomery=e.ED25519_TORSION_SUBGROUP=e.ristretto255_hasher=e.ristretto255=e.ed25519_hasher=e.x25519=e.ed25519ph=e.ed25519ctx=e.ed25519=void 0,e.edwardsToMontgomeryPub=te,e.edwardsToMontgomeryPriv=X;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const t=x.requireSha2(),n=x.requireUtils(),i=L2(),r=A5(),s=S5(),a=bi(),c=E5(),u=$n(),l=BigInt(0),M=BigInt(1),g=BigInt(2),N=BigInt(3),y=BigInt(5),T=BigInt(8),d=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),f={p:d,n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:T,a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")};function C(W){const V=BigInt(10),J=BigInt(20),ie=BigInt(40),K=BigInt(80),G=d,ge=W*W%G*W%G,fe=(0,a.pow2)(ge,g,G)*ge%G,ye=(0,a.pow2)(fe,M,G)*W%G,Ce=(0,a.pow2)(ye,y,G)*ye%G,ke=(0,a.pow2)(Ce,V,G)*Ce%G,ze=(0,a.pow2)(ke,J,G)*ke%G,Qe=(0,a.pow2)(ze,ie,G)*ze%G,Fe=(0,a.pow2)(Qe,K,G)*Qe%G,Pe=(0,a.pow2)(Fe,K,G)*Qe%G,He=(0,a.pow2)(Pe,V,G)*Ce%G;return{pow_p_5_8:(0,a.pow2)(He,g,G)*W%G,b2:ge}}function m(W){return W[0]&=248,W[31]&=127,W[31]|=64,W}const h=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");function D(W,V){const J=d,ie=(0,a.mod)(V*V*V,J),K=(0,a.mod)(ie*ie*V,J),G=C(W*K).pow_p_5_8;let ee=(0,a.mod)(W*ie*G,J);const ge=(0,a.mod)(V*ee*ee,J),fe=ee,ye=(0,a.mod)(ee*h,J),Ce=ge===W,ke=ge===(0,a.mod)(-W,J),ze=ge===(0,a.mod)(-W*h,J);return Ce&&(ee=fe),(ke||ze)&&(ee=ye),(0,a.isNegativeLE)(ee,J)&&(ee=(0,a.mod)(-ee,J)),{isValid:Ce||ke,value:ee}}const j=(0,a.Field)(f.p,{isLE:!0}),L=(0,a.Field)(f.n,{isLE:!0}),p={...f,Fp:j,hash:t.sha512,adjustScalarBytes:m,uvRatio:D};e.ed25519=(0,r.twistedEdwards)(p);function S(W,V,J){if(V.length>255)throw new Error("Context is too big");return(0,n.concatBytes)((0,n.utf8ToBytes)("SigEd25519 no Ed25519 collisions"),new Uint8Array([J?1:0,V.length]),V,W)}e.ed25519ctx=(0,r.twistedEdwards)({...p,domain:S}),e.ed25519ph=(0,r.twistedEdwards)(Object.assign({},p,{domain:S,prehash:t.sha512})),e.x25519=(()=>{const W=j.ORDER;return(0,c.montgomery)({P:W,type:"x25519",powPminus2:V=>{const{pow_p_5_8:J,b2:ie}=C(V);return(0,a.mod)((0,a.pow2)(J,N,W)*ie,W)},adjustScalarBytes:m})})();const w=(d+N)/T,z=j.pow(g,w),U=j.sqrt(j.neg(j.ONE));function k(W){const V=(d-y)/T,J=BigInt(486662);let ie=j.sqr(W);ie=j.mul(ie,g);let K=j.add(ie,j.ONE),G=j.neg(J),ee=j.sqr(K),ge=j.mul(ee,K),fe=j.mul(ie,J);fe=j.mul(fe,G),fe=j.add(fe,ee),fe=j.mul(fe,G);let ye=j.sqr(ge);ee=j.sqr(ye),ye=j.mul(ye,ge),ye=j.mul(ye,fe),ee=j.mul(ee,ye);let Ce=j.pow(ee,V);Ce=j.mul(Ce,ye);let ke=j.mul(Ce,U);ee=j.sqr(Ce),ee=j.mul(ee,ge);let ze=j.eql(ee,fe),Qe=j.cmov(ke,Ce,ze),Fe=j.mul(G,ie),Pe=j.mul(Ce,W);Pe=j.mul(Pe,z);let He=j.mul(Pe,U),ne=j.mul(fe,ie);ee=j.sqr(Pe),ee=j.mul(ee,ge);let ue=j.eql(ee,ne),se=j.cmov(He,Pe,ue);ee=j.sqr(Qe),ee=j.mul(ee,ge);let ae=j.eql(ee,fe),oe=j.cmov(Fe,G,ae),le=j.cmov(se,Qe,ae),ce=j.isOdd(le);return le=j.cmov(le,j.neg(le),ae!==ce),{xMn:oe,xMd:K,yMn:le,yMd:M}}const v=(0,a.FpSqrtEven)(j,j.neg(BigInt(486664)));function Q(W){const{xMn:V,xMd:J,yMn:ie,yMd:K}=k(W);let G=j.mul(V,K);G=j.mul(G,v);let ee=j.mul(J,ie),ge=j.sub(V,J),fe=j.add(V,J),ye=j.mul(ee,fe),Ce=j.eql(ye,j.ZERO);G=j.cmov(G,j.ZERO,Ce),ee=j.cmov(ee,j.ONE,Ce),ge=j.cmov(ge,j.ONE,Ce),fe=j.cmov(fe,j.ONE,Ce);const[ke,ze]=(0,a.FpInvertBatch)(j,[ee,fe],!0);return{x:j.mul(G,ke),y:j.mul(ge,ze)}}e.ed25519_hasher=(0,s.createHasher)(e.ed25519.Point,W=>Q(W[0]),{DST:"edwards25519_XMD:SHA-512_ELL2_RO_",encodeDST:"edwards25519_XMD:SHA-512_ELL2_NU_",p:d,m:1,k:128,expand:"xmd",hash:t.sha512});const P=h,Z=BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"),O=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),H=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),$=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"),_=W=>D(M,W),A=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),Y=W=>e.ed25519.Point.Fp.create((0,u.bytesToNumberLE)(W)&A);function E(W){const{d:V}=f,J=d,ie=ne=>j.create(ne),K=ie(P*W*W),G=ie((K+M)*H);let ee=BigInt(-1);const ge=ie((ee-V*K)*ie(K+V));let{isValid:fe,value:ye}=D(G,ge),Ce=ie(ye*W);(0,a.isNegativeLE)(Ce,J)||(Ce=ie(-Ce)),fe||(ye=Ce),fe||(ee=K);const ke=ie(ee*(K-M)*$-ge),ze=ye*ye,Qe=ie((ye+ye)*ge),Fe=ie(ke*Z),Pe=ie(M-ze),He=ie(M+ze);return new e.ed25519.Point(ie(Qe*He),ie(Pe*Fe),ie(Fe*He),ie(Qe*Pe))}function R(W){(0,n.abytes)(W,64);const V=Y(W.subarray(0,32)),J=E(V),ie=Y(W.subarray(32,64)),K=E(ie);return new q(J.add(K))}class q extends r.PrimeEdwardsPoint{constructor(V){super(V)}static fromAffine(V){return new q(e.ed25519.Point.fromAffine(V))}assertSame(V){if(!(V instanceof q))throw new Error("RistrettoPoint expected")}init(V){return new q(V)}static hashToCurve(V){return R((0,u.ensureBytes)("ristrettoHash",V,64))}static fromBytes(V){(0,n.abytes)(V,32);const{a:J,d:ie}=f,K=d,G=ae=>j.create(ae),ee=Y(V);if(!(0,u.equalBytes)(j.toBytes(ee),V)||(0,a.isNegativeLE)(ee,K))throw new Error("invalid ristretto255 encoding 1");const ge=G(ee*ee),fe=G(M+J*ge),ye=G(M-J*ge),Ce=G(fe*fe),ke=G(ye*ye),ze=G(J*ie*Ce-ke),{isValid:Qe,value:Fe}=_(G(ze*ke)),Pe=G(Fe*ye),He=G(Fe*Pe*ze);let ne=G((ee+ee)*Pe);(0,a.isNegativeLE)(ne,K)&&(ne=G(-ne));const ue=G(fe*He),se=G(ne*ue);if(!Qe||(0,a.isNegativeLE)(se,K)||ue===l)throw new Error("invalid ristretto255 encoding 2");return new q(new e.ed25519.Point(ne,ue,M,se))}static fromHex(V){return q.fromBytes((0,u.ensureBytes)("ristrettoHex",V,32))}static msm(V,J){return(0,i.pippenger)(q,e.ed25519.Point.Fn,V,J)}toBytes(){let{X:V,Y:J,Z:ie,T:K}=this.ep;const G=d,ee=He=>j.create(He),ge=ee(ee(ie+J)*ee(ie-J)),fe=ee(V*J),ye=ee(fe*fe),{value:Ce}=_(ee(ge*ye)),ke=ee(Ce*ge),ze=ee(Ce*fe),Qe=ee(ke*ze*K);let Fe;if((0,a.isNegativeLE)(K*Qe,G)){let He=ee(J*P),ne=ee(V*P);V=He,J=ne,Fe=ee(ke*O)}else Fe=ze;(0,a.isNegativeLE)(V*Qe,G)&&(J=ee(-J));let Pe=ee((ie-J)*Fe);return(0,a.isNegativeLE)(Pe,G)&&(Pe=ee(-Pe)),j.toBytes(Pe)}equals(V){this.assertSame(V);const{X:J,Y:ie}=this.ep,{X:K,Y:G}=V.ep,ee=ye=>j.create(ye),ge=ee(J*G)===ee(ie*K),fe=ee(ie*G)===ee(J*K);return ge||fe}is0(){return this.equals(q.ZERO)}}q.BASE=new q(e.ed25519.Point.BASE),q.ZERO=new q(e.ed25519.Point.ZERO),q.Fp=j,q.Fn=L,e.ristretto255={Point:q},e.ristretto255_hasher={hashToCurve(W,V){const J=V?.DST||"ristretto255_XMD:SHA-512_R255MAP_RO_",ie=(0,s.expand_message_xmd)(W,J,64,t.sha512);return R(ie)},hashToScalar(W,V={DST:s._DST_scalar}){const J=(0,s.expand_message_xmd)(W,V.DST,64,t.sha512);return L.create((0,u.bytesToNumberLE)(J))}},e.ED25519_TORSION_SUBGROUP=["0100000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a","0000000000000000000000000000000000000000000000000000000000000080","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05","ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85","0000000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"];function te(W){return e.ed25519.utils.toMontgomery((0,u.ensureBytes)("pub",W))}e.edwardsToMontgomery=te;function X(W){return e.ed25519.utils.toMontgomerySecret((0,u.ensureBytes)("pub",W))}e.RistrettoPoint=q,e.hashToCurve=e.ed25519_hasher.hashToCurve,e.encodeToCurve=e.ed25519_hasher.encodeToCurve,e.hashToRistretto255=e.ristretto255_hasher.hashToCurve,e.hash_to_ristretto255=e.ristretto255_hasher.hashToCurve})(Lo)),Lo}var si={},Ca;function x2(){if(Ca)return si;Ca=1,Object.defineProperty(si,"__esModule",{value:!0}),si.arraysEqual=e,si.bytesEqual=t;function e(n,i){if(n===i)return!0;const r=n.length;if(r!==i.length)return!1;for(let s=0;s<r;s++)if(n[s]!==i[s])return!1;return!0}function t(n,i){return e(n,i)}return si}var ma;function T2(){if(ma)return oi;ma=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.verifyMessageSignature=n,oi.verifySignMessage=i;const e=z5(),t=x2();function n({message:r,signedMessage:s,signature:a,publicKey:c}){return(0,t.bytesEqual)(r,s)&&e.ed25519.verify(a,s,c)}function i(r,s){const{message:a,account:{publicKey:c}}=r,{signedMessage:u,signature:l}=s;return n({message:a,signedMessage:u,signature:l,publicKey:c})}return oi}var pa;function b5(){if(pa)return _t;pa=1,Object.defineProperty(_t,"__esModule",{value:!0}),_t.verifySignIn=n,_t.deriveSignInMessage=i,_t.deriveSignInMessageText=r,_t.parseSignInMessage=s,_t.parseSignInMessageText=D,_t.createSignInMessage=j,_t.createSignInMessageText=L;const e=T2(),t=x2();function n(p,S){const{signedMessage:w,signature:z,account:{publicKey:U}}=S,k=i(p,S);return!!k&&(0,e.verifyMessageSignature)({message:k,signedMessage:w,signature:z,publicKey:U})}function i(p,S){const w=r(p,S);return w?new TextEncoder().encode(w):null}function r(p,S){const w=s(S.signedMessage);if(!w||p.domain&&p.domain!==w.domain||p.address&&p.address!==w.address||p.statement!==w.statement||p.uri!==w.uri||p.version!==w.version||p.chainId!==w.chainId||p.nonce!==w.nonce||p.issuedAt!==w.issuedAt||p.expirationTime!==w.expirationTime||p.notBefore!==w.notBefore||p.requestId!==w.requestId)return null;if(p.resources){if(!w.resources||!(0,t.arraysEqual)(p.resources,w.resources))return null}else if(w.resources)return null;return L(w)}function s(p){const S=new TextDecoder().decode(p);return D(S)}const a="(?<domain>[^\\n]+?) wants you to sign in with your Solana account:\\n",c="(?<address>[^\\n]+)(?:\\n|$)",u="(?:\\n(?<statement>[\\S\\s]*?)(?:\\n|$))??",m="(?:\\nURI: (?<uri>[^\\n]+))?(?:\\nVersion: (?<version>[^\\n]+))?(?:\\nChain ID: (?<chainId>[^\\n]+))?(?:\\nNonce: (?<nonce>[^\\n]+))?(?:\\nIssued At: (?<issuedAt>[^\\n]+))?(?:\\nExpiration Time: (?<expirationTime>[^\\n]+))?(?:\\nNot Before: (?<notBefore>[^\\n]+))?(?:\\nRequest ID: (?<requestId>[^\\n]+))?(?:\\nResources:(?<resources>(?:\\n- [^\\n]+)*))?",h=new RegExp(`^${a}${c}${u}${m}\\n*$`);function D(p){var S;const w=h.exec(p);if(!w)return null;const z=w.groups;return z?{domain:z.domain,address:z.address,statement:z.statement,uri:z.uri,version:z.version,nonce:z.nonce,chainId:z.chainId,issuedAt:z.issuedAt,expirationTime:z.expirationTime,notBefore:z.notBefore,requestId:z.requestId,resources:(S=z.resources)===null||S===void 0?void 0:S.split(`
|
|
33
33
|
- `).slice(1)}:null}function j(p){const S=L(p);return new TextEncoder().encode(S)}function L(p){let S=`${p.domain} wants you to sign in with your Solana account:
|
|
34
34
|
`;S+=`${p.address}`,p.statement&&(S+=`
|
|
35
35
|
|
|
36
36
|
${p.statement}`);const w=[];if(p.uri&&w.push(`URI: ${p.uri}`),p.version&&w.push(`Version: ${p.version}`),p.chainId&&w.push(`Chain ID: ${p.chainId}`),p.nonce&&w.push(`Nonce: ${p.nonce}`),p.issuedAt&&w.push(`Issued At: ${p.issuedAt}`),p.expirationTime&&w.push(`Expiration Time: ${p.expirationTime}`),p.notBefore&&w.push(`Not Before: ${p.notBefore}`),p.requestId&&w.push(`Request ID: ${p.requestId}`),p.resources){w.push("Resources:");for(const z of p.resources)w.push(`- ${z}`)}return w.length&&(S+=`
|
|
37
37
|
|
|
38
38
|
${w.join(`
|
|
39
|
-
`)}`),S}return _t}var Da;function v5(){return Da||(Da=1,(function(e){var t=gn&&gn.__createBinding||(Object.create?(function(i,r,s,a){a===void 0&&(a=s);var c=Object.getOwnPropertyDescriptor(r,s);(!c||("get"in c?!r.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return r[s]}}),Object.defineProperty(i,a,c)}):(function(i,r,s,a){a===void 0&&(a=s),i[a]=r[s]})),n=gn&&gn.__exportStar||function(i,r){for(var s in i)s!=="default"&&!Object.prototype.hasOwnProperty.call(r,s)&&t(r,i,s)};Object.defineProperty(e,"__esModule",{value:!0}),n(w5(),e),n(S5(),e),n(k5(),e),n(C2(),e)})(gn)),gn}var wa;function U5(){if(wa)return Dt;wa=1,Object.defineProperty(Dt,"__esModule",{value:!0});var e=v5();const t={ERROR_ASSOCIATION_PORT_OUT_OF_RANGE:"ERROR_ASSOCIATION_PORT_OUT_OF_RANGE",ERROR_REFLECTOR_ID_OUT_OF_RANGE:"ERROR_REFLECTOR_ID_OUT_OF_RANGE",ERROR_FORBIDDEN_WALLET_BASE_URL:"ERROR_FORBIDDEN_WALLET_BASE_URL",ERROR_SECURE_CONTEXT_REQUIRED:"ERROR_SECURE_CONTEXT_REQUIRED",ERROR_SESSION_CLOSED:"ERROR_SESSION_CLOSED",ERROR_SESSION_TIMEOUT:"ERROR_SESSION_TIMEOUT",ERROR_WALLET_NOT_FOUND:"ERROR_WALLET_NOT_FOUND",ERROR_INVALID_PROTOCOL_VERSION:"ERROR_INVALID_PROTOCOL_VERSION",ERROR_BROWSER_NOT_SUPPORTED:"ERROR_BROWSER_NOT_SUPPORTED"};class n extends Error{constructor(...ue){const[se,ae,oe]=ue;super(ae),this.code=se,this.data=oe,this.name="SolanaMobileWalletAdapterError"}}const i={ERROR_AUTHORIZATION_FAILED:-1,ERROR_INVALID_PAYLOADS:-2,ERROR_NOT_SIGNED:-3,ERROR_NOT_SUBMITTED:-4,ERROR_TOO_MANY_PAYLOADS:-5,ERROR_ATTEST_ORIGIN_ANDROID:-100};class r extends Error{constructor(...ue){const[se,ae,oe,le]=ue;super(oe),this.code=ae,this.data=le,this.jsonRpcMessageId=se,this.name="SolanaMobileWalletAdapterProtocolError"}}function s(ne,ue,se,ae){function oe(le){return le instanceof se?le:new se(function(ce){ce(le)})}return new(se||(se=Promise))(function(le,ce){function Ie(Ye){try{me(ae.next(Ye))}catch(vt){ce(vt)}}function Se(Ye){try{me(ae.throw(Ye))}catch(vt){ce(vt)}}function me(Ye){Ye.done?le(Ye.value):oe(Ye.value).then(Ie,Se)}me((ae=ae.apply(ne,[])).next())})}function a(ne){return window.btoa(ne)}function c(ne,ue){const se=window.btoa(String.fromCharCode.call(null,...ne));return ue?se.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):se}function u(ne){return new Uint8Array(window.atob(ne).split("").map(ue=>ue.charCodeAt(0)))}function l(ne,ue){return s(this,void 0,void 0,function*(){const se=yield crypto.subtle.exportKey("raw",ne),ae=yield crypto.subtle.sign({hash:"SHA-256",name:"ECDSA"},ue,se),oe=new Uint8Array(se.byteLength+ae.byteLength);return oe.set(new Uint8Array(se),0),oe.set(new Uint8Array(ae),se.byteLength),oe})}function M(ne){return e.createSignInMessageText(ne)}function g(ne){return a(M(ne))}const N="solana:signTransactions",y="solana:cloneAuthorization",T="solana:signInWithSolana";function d(ne,ue){return new Proxy({},{get(se,ae){return ae==="then"?null:(se[ae]==null&&(se[ae]=function(oe){return s(this,void 0,void 0,function*(){const{method:le,params:ce}=f(ae,oe,ne),Ie=yield ue(le,ce);return le==="authorize"&&ce.sign_in_payload&&!Ie.sign_in_result&&(Ie.sign_in_result=yield m(ce.sign_in_payload,Ie,ue)),C(ae,Ie,ne)})}),se[ae])},defineProperty(){return!1},deleteProperty(){return!1}})}function f(ne,ue,se){let ae=ue,oe=ne.toString().replace(/[A-Z]/g,le=>`_${le.toLowerCase()}`).toLowerCase();switch(ne){case"authorize":{let{chain:le}=ae;if(se==="legacy"){switch(le){case"solana:testnet":{le="testnet";break}case"solana:devnet":{le="devnet";break}case"solana:mainnet":{le="mainnet-beta";break}default:le=ae.cluster}ae.cluster=le}else{switch(le){case"testnet":case"devnet":{le=`solana:${le}`;break}case"mainnet-beta":{le="solana:mainnet";break}}ae.chain=le}}case"reauthorize":{const{auth_token:le,identity:ce}=ae;if(le)switch(se){case"legacy":{oe="reauthorize",ae={auth_token:le,identity:ce};break}default:{oe="authorize";break}}break}}return{method:oe,params:ae}}function C(ne,ue,se){switch(ne){case"getCapabilities":{const ae=ue;switch(se){case"legacy":{const oe=[N];return ae.supports_clone_authorization===!0&&oe.push(y),Object.assign(Object.assign({},ae),{features:oe})}case"v1":return Object.assign(Object.assign({},ae),{supports_sign_and_send_transactions:!0,supports_clone_authorization:ae.features.includes(y)})}}}return ue}function m(ne,ue,se){var ae;return s(this,void 0,void 0,function*(){const oe=(ae=ne.domain)!==null&&ae!==void 0?ae:window.location.host,le=ue.accounts[0].address,ce=g(Object.assign(Object.assign({},ne),{domain:oe,address:le})),Ie=yield se("sign_messages",{addresses:[le],payloads:[ce]});return{address:le,signed_message:ce,signature:Ie.signed_payloads[0].slice(ce.length)}})}const h=4;function D(ne){if(ne>=4294967296)throw new Error("Outbound sequence number overflow. The maximum sequence number is 32-bytes.");const ue=new ArrayBuffer(h);return new DataView(ue).setUint32(0,ne,!1),new Uint8Array(ue)}const j=12,L=65;function p(ne,ue,se){return s(this,void 0,void 0,function*(){const ae=D(ue),oe=new Uint8Array(j);crypto.getRandomValues(oe);const le=yield crypto.subtle.encrypt(w(ae,oe),se,new TextEncoder().encode(ne)),ce=new Uint8Array(ae.byteLength+oe.byteLength+le.byteLength);return ce.set(new Uint8Array(ae),0),ce.set(new Uint8Array(oe),ae.byteLength),ce.set(new Uint8Array(le),ae.byteLength+oe.byteLength),ce})}function S(ne,ue){return s(this,void 0,void 0,function*(){const se=ne.slice(0,h),ae=ne.slice(h,h+j),oe=ne.slice(h+j),le=yield crypto.subtle.decrypt(w(se,ae),ue,oe);return U().decode(le)})}function w(ne,ue){return{additionalData:ne,iv:ue,name:"AES-GCM",tagLength:128}}let z;function U(){return z===void 0&&(z=new TextDecoder("utf-8")),z}function k(){return s(this,void 0,void 0,function*(){return yield crypto.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!1,["sign"])})}function v(){return s(this,void 0,void 0,function*(){return yield crypto.subtle.generateKey({name:"ECDH",namedCurve:"P-256"},!1,["deriveKey","deriveBits"])})}function Q(ne){let ue="";const se=new Uint8Array(ne),ae=se.byteLength;for(let oe=0;oe<ae;oe++)ue+=String.fromCharCode(se[oe]);return window.btoa(ue)}function P(){return Z(49152+Math.floor(Math.random()*16384))}function Z(ne){if(ne<49152||ne>65535)throw new n(t.ERROR_ASSOCIATION_PORT_OUT_OF_RANGE,`Association port number must be between 49152 and 65535. ${ne} given.`,{port:ne});return ne}function O(ne){return ne.replace(/[/+=]/g,ue=>({"/":"_","+":"-","=":"."})[ue])}const H="solana-wallet";function $(ne){return ne.replace(/(^\/+|\/+$)/g,"").split("/")}function _(ne,ue){let se=null;if(ue){try{se=new URL(ue)}catch{}if(se?.protocol!=="https:")throw new n(t.ERROR_FORBIDDEN_WALLET_BASE_URL,"Base URLs supplied by wallets must be valid `https` URLs")}se||(se=new URL(`${H}:/`));const ae=ne.startsWith("/")?ne:[...$(se.pathname),...$(ne)].join("/");return new URL(ae,se)}function A(ne,ue,se,ae=["v1"]){return s(this,void 0,void 0,function*(){const oe=Z(ue),le=yield crypto.subtle.exportKey("raw",ne),ce=Q(le),Ie=_("v1/associate/local",se);return Ie.searchParams.set("association",O(ce)),Ie.searchParams.set("port",`${oe}`),ae.forEach(Se=>{Ie.searchParams.set("v",Se)}),Ie})}function Y(ne,ue,se,ae,oe=["v1"]){return s(this,void 0,void 0,function*(){const le=yield crypto.subtle.exportKey("raw",ne),ce=Q(le),Ie=_("v1/associate/remote",ae);return Ie.searchParams.set("association",O(ce)),Ie.searchParams.set("reflector",`${ue}`),Ie.searchParams.set("id",`${c(se,!0)}`),oe.forEach(Se=>{Ie.searchParams.set("v",Se)}),Ie})}function E(ne,ue){return s(this,void 0,void 0,function*(){const se=JSON.stringify(ne),ae=ne.id;return p(se,ae,ue)})}function R(ne,ue){return s(this,void 0,void 0,function*(){const se=yield S(ne,ue),ae=JSON.parse(se);if(Object.hasOwnProperty.call(ae,"error"))throw new r(ae.id,ae.error.code,ae.error.message);return ae})}function q(ne,ue,se){return s(this,void 0,void 0,function*(){const[ae,oe]=yield Promise.all([crypto.subtle.exportKey("raw",ue),crypto.subtle.importKey("raw",ne.slice(0,L),{name:"ECDH",namedCurve:"P-256"},!1,[])]),le=yield crypto.subtle.deriveBits({name:"ECDH",public:oe},se,256),ce=yield crypto.subtle.importKey("raw",le,"HKDF",!1,["deriveKey"]);return yield crypto.subtle.deriveKey({name:"HKDF",hash:"SHA-256",salt:new Uint8Array(ae),info:new Uint8Array},ce,{name:"AES-GCM",length:128},!1,["encrypt","decrypt"])})}function te(ne,ue){return s(this,void 0,void 0,function*(){const se=yield S(ne,ue),ae=JSON.parse(se);let oe="legacy";if(Object.hasOwnProperty.call(ae,"v"))switch(ae.v){case 1:case"1":case"v1":oe="v1";break;case"legacy":oe="legacy";break;default:throw new n(t.ERROR_INVALID_PROTOCOL_VERSION,`Unknown/unsupported protocol version: ${ae.v}`)}return{protocol_version:oe}})}const X={Firefox:0,Other:1};function W(ne){return ne}function V(){return navigator.userAgent.indexOf("Firefox/")!==-1?X.Firefox:X.Other}function J(){return new Promise((ne,ue)=>{function se(){clearTimeout(oe),window.removeEventListener("blur",ae)}function ae(){se(),ne()}window.addEventListener("blur",ae);const oe=setTimeout(()=>{se(),ue()},3e3)})}let ie=null;function K(ne){ie==null&&(ie=document.createElement("iframe"),ie.style.display="none",document.body.appendChild(ie)),ie.contentWindow.location.href=ne.toString()}function G(ne){return s(this,void 0,void 0,function*(){if(ne.protocol==="https:")window.location.assign(ne);else try{const ue=V();switch(ue){case X.Firefox:K(ne);break;case X.Other:{const se=J();window.location.assign(ne),yield se;break}default:}}catch{throw new n(t.ERROR_WALLET_NOT_FOUND,"Found no installed wallet that supports the mobile wallet protocol.")}})}function ee(ne,ue){return s(this,void 0,void 0,function*(){const se=P(),ae=yield A(ne,se,ue);return yield G(ae),se})}const ge={retryDelayScheduleMs:[150,150,200,500,500,750,750,1e3],timeoutMs:3e4},fe="com.solana.mobilewalletadapter.v1",ye="com.solana.mobilewalletadapter.v1.base64";function Ce(){if(typeof window>"u"||window.isSecureContext!==!0)throw new n(t.ERROR_SECURE_CONTEXT_REQUIRED,"The mobile wallet adapter protocol must be used in a secure context (`https`).")}function ke(ne){let ue;try{ue=new URL(ne)}catch{throw new n(t.ERROR_FORBIDDEN_WALLET_BASE_URL,"Invalid base URL supplied by wallet")}if(ue.protocol!=="https:")throw new n(t.ERROR_FORBIDDEN_WALLET_BASE_URL,"Base URLs supplied by wallets must be valid `https` URLs")}function ze(ne){return new DataView(ne).getUint32(0,!1)}function Qe(ne){var ue=new Uint8Array(ne),se=ne.byteLength,ae=10,oe=0,le=0,ce;do{if(le>=se||le>ae)throw new RangeError("Failed to decode varint");ce=ue[le++],oe|=(ce&127)<<7*le}while(ce>=128);return{value:oe,offset:le}}function Fe(ne){let{value:ue,offset:se}=Qe(ne);return new Uint8Array(ne.slice(se,se+ue))}function Pe(ne,ue){return s(this,void 0,void 0,function*(){Ce();const se=yield k(),oe=`ws://localhost:${yield ee(se.publicKey,ue?.baseUri)}/solana-wallet`;let le;const ce=(()=>{const Ye=[...ge.retryDelayScheduleMs];return()=>Ye.length>1?Ye.shift():Ye[0]})();let Ie=1,Se=0,me={__type:"disconnected"};return new Promise((Ye,vt)=>{let it;const Jt={},kn=()=>s(this,void 0,void 0,function*(){if(me.__type!=="connecting"){console.warn(`Expected adapter state to be \`connecting\` at the moment the websocket opens. Got \`${me.__type}\`.`);return}it.removeEventListener("open",kn);const{associationKeypair:at}=me,rt=yield v();it.send(yield l(rt.publicKey,at.privateKey)),me={__type:"hello_req_sent",associationPublicKey:at.publicKey,ecdhPrivateKey:rt.privateKey}}),It=at=>{at.wasClean?me={__type:"disconnected"}:vt(new n(t.ERROR_SESSION_CLOSED,`The wallet session dropped unexpectedly (${at.code}: ${at.reason}).`,{closeEvent:at})),Ct()},Ut=at=>s(this,void 0,void 0,function*(){Ct(),Date.now()-le>=ge.timeoutMs?vt(new n(t.ERROR_SESSION_TIMEOUT,`Failed to connect to the wallet websocket at ${oe}.`)):(yield new Promise(rt=>{const Be=ce();dn=window.setTimeout(rt,Be)}),mt())}),Tt=at=>s(this,void 0,void 0,function*(){const rt=yield at.data.arrayBuffer();switch(me.__type){case"connecting":if(rt.byteLength!==0)throw new Error("Encountered unexpected message while connecting");const Be=yield v();it.send(yield l(Be.publicKey,se.privateKey)),me={__type:"hello_req_sent",associationPublicKey:se.publicKey,ecdhPrivateKey:Be.privateKey};break;case"connected":try{const Re=rt.slice(0,h),Je=ze(Re);if(Je!==Se+1)throw new Error("Encrypted message has invalid sequence number");Se=Je;const pt=yield R(rt,me.sharedSecret),Yt=Jt[pt.id];delete Jt[pt.id],Yt.resolve(pt.result)}catch(Re){if(Re instanceof r){const Je=Jt[Re.jsonRpcMessageId];delete Jt[Re.jsonRpcMessageId],Je.reject(Re)}else throw Re}break;case"hello_req_sent":{if(rt.byteLength===0){const ct=yield v();it.send(yield l(ct.publicKey,se.privateKey)),me={__type:"hello_req_sent",associationPublicKey:se.publicKey,ecdhPrivateKey:ct.privateKey};break}const Re=yield q(rt,me.associationPublicKey,me.ecdhPrivateKey),Je=rt.slice(L),pt=Je.byteLength!==0?yield s(this,void 0,void 0,function*(){const ct=Je.slice(0,h),Wt=ze(ct);if(Wt!==Se+1)throw new Error("Encrypted message has invalid sequence number");return Se=Wt,te(Je,Re)}):{protocol_version:"legacy"};me={__type:"connected",sharedSecret:Re,sessionProperties:pt};const Yt=d(pt.protocol_version,(ct,Wt)=>s(this,void 0,void 0,function*(){const Kn=Ie++;return it.send(yield E({id:Kn,jsonrpc:"2.0",method:ct,params:Wt??{}},Re)),new Promise((Pr,ei)=>{Jt[Kn]={resolve(ti){switch(ct){case"authorize":case"reauthorize":{const{wallet_uri_base:ni}=ti;if(ni!=null)try{ke(ni)}catch(Br){ei(Br);return}break}}Pr(ti)},reject:ei}})}));try{Ye(yield ne(Yt))}catch(ct){vt(ct)}finally{Ct(),it.close()}break}}});let Ct,dn;const mt=()=>{Ct&&Ct(),me={__type:"connecting",associationKeypair:se},le===void 0&&(le=Date.now()),it=new WebSocket(oe,[fe]),it.addEventListener("open",kn),it.addEventListener("close",It),it.addEventListener("error",Ut),it.addEventListener("message",Tt),Ct=()=>{window.clearTimeout(dn),it.removeEventListener("open",kn),it.removeEventListener("close",It),it.removeEventListener("error",Ut),it.removeEventListener("message",Tt)}};mt()})})}function He(ne){return s(this,void 0,void 0,function*(){Ce();const ue=yield k(),se=`wss://${ne?.remoteHostAuthority}/reflect`;let ae;const oe=(()=>{const It=[...ge.retryDelayScheduleMs];return()=>It.length>1?It.shift():It[0]})();let le=1,ce=0,Ie,Se={__type:"disconnected"},me,Ye,vt=It=>s(this,void 0,void 0,function*(){if(Ie=="base64"){const Ut=yield It.data;return u(Ut).buffer}else return yield It.data.arrayBuffer()});const it=yield new Promise((It,Ut)=>{const Tt=()=>s(this,void 0,void 0,function*(){if(Se.__type!=="connecting"){console.warn(`Expected adapter state to be \`connecting\` at the moment the websocket opens. Got \`${Se.__type}\`.`);return}me.protocol.includes(ye)?Ie="base64":Ie="binary",me.removeEventListener("open",Tt)}),Ct=Be=>{Be.wasClean?Se={__type:"disconnected"}:Ut(new n(t.ERROR_SESSION_CLOSED,`The wallet session dropped unexpectedly (${Be.code}: ${Be.reason}).`,{closeEvent:Be})),Ye()},dn=Be=>s(this,void 0,void 0,function*(){Ye(),Date.now()-ae>=ge.timeoutMs?Ut(new n(t.ERROR_SESSION_TIMEOUT,`Failed to connect to the wallet websocket at ${se}.`)):(yield new Promise(Re=>{const Je=oe();at=window.setTimeout(Re,Je)}),rt())}),mt=Be=>s(this,void 0,void 0,function*(){const Re=yield vt(Be);if(Se.__type==="connecting"){if(Re.byteLength==0)throw new Error("Encountered unexpected message while connecting");const Je=Fe(Re);Se={__type:"reflector_id_received",reflectorId:Je};const pt=yield Y(ue.publicKey,ne.remoteHostAuthority,Je,ne?.baseUri);me.removeEventListener("message",mt),It(pt)}});let at;const rt=()=>{Ye&&Ye(),Se={__type:"connecting",associationKeypair:ue},ae===void 0&&(ae=Date.now()),me=new WebSocket(se,[fe,ye]),me.addEventListener("open",Tt),me.addEventListener("close",Ct),me.addEventListener("error",dn),me.addEventListener("message",mt),Ye=()=>{window.clearTimeout(at),me.removeEventListener("open",Tt),me.removeEventListener("close",Ct),me.removeEventListener("error",dn),me.removeEventListener("message",mt)}};rt()});let Jt=!1,kn;return{associationUrl:it,close:()=>{me.close(),kn()},wallet:new Promise((It,Ut)=>{const Tt={},Ct=dn=>s(this,void 0,void 0,function*(){const mt=yield vt(dn);switch(Se.__type){case"reflector_id_received":if(mt.byteLength!==0)throw new Error("Encountered unexpected message while awaiting reflection");const at=yield v(),rt=yield l(at.publicKey,ue.privateKey);Ie=="base64"?me.send(c(rt)):me.send(rt),Se={__type:"hello_req_sent",associationPublicKey:ue.publicKey,ecdhPrivateKey:at.privateKey};break;case"connected":try{const Be=mt.slice(0,h),Re=ze(Be);if(Re!==ce+1)throw new Error("Encrypted message has invalid sequence number");ce=Re;const Je=yield R(mt,Se.sharedSecret),pt=Tt[Je.id];delete Tt[Je.id],pt.resolve(Je.result)}catch(Be){if(Be instanceof r){const Re=Tt[Be.jsonRpcMessageId];delete Tt[Be.jsonRpcMessageId],Re.reject(Be)}else throw Be}break;case"hello_req_sent":{const Be=yield q(mt,Se.associationPublicKey,Se.ecdhPrivateKey),Re=mt.slice(L),Je=Re.byteLength!==0?yield s(this,void 0,void 0,function*(){const Yt=Re.slice(0,h),ct=ze(Yt);if(ct!==ce+1)throw new Error("Encrypted message has invalid sequence number");return ce=ct,te(Re,Be)}):{protocol_version:"legacy"};Se={__type:"connected",sharedSecret:Be,sessionProperties:Je};const pt=d(Je.protocol_version,(Yt,ct)=>s(this,void 0,void 0,function*(){const Wt=le++,Kn=yield E({id:Wt,jsonrpc:"2.0",method:Yt,params:ct??{}},Be);return Ie=="base64"?me.send(c(Kn)):me.send(Kn),new Promise((Pr,ei)=>{Tt[Wt]={resolve(ti){switch(Yt){case"authorize":case"reauthorize":{const{wallet_uri_base:ni}=ti;if(ni!=null)try{ke(ni)}catch(Br){ei(Br);return}break}}Pr(ti)},reject:ei}})}));Jt=!0;try{It(pt)}catch(Yt){Ut(Yt)}break}}});me.addEventListener("message",Ct),kn=()=>{me.removeEventListener("message",Ct),Ye(),Jt||Ut(new n(t.ERROR_SESSION_CLOSED,"The wallet session was closed before connection.",{closeEvent:new CloseEvent("socket was closed before connection")}))}})}})}return Dt.SolanaCloneAuthorization=y,Dt.SolanaMobileWalletAdapterError=n,Dt.SolanaMobileWalletAdapterErrorCode=t,Dt.SolanaMobileWalletAdapterProtocolError=r,Dt.SolanaMobileWalletAdapterProtocolErrorCode=i,Dt.SolanaSignInWithSolana=T,Dt.SolanaSignTransactions=N,Dt.startRemoteScenario=He,Dt.transact=Pe,Dt}var m2=U5(),Co,Aa;function Y5(){if(Aa)return Co;Aa=1;function e(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),i=0;i<n.length;i++)n[i]=255;for(var r=0;r<t.length;r++){var s=t.charAt(r),a=s.charCodeAt(0);if(n[a]!==255)throw new TypeError(s+" is ambiguous");n[a]=r}var c=t.length,u=t.charAt(0),l=Math.log(c)/Math.log(256),M=Math.log(256)/Math.log(c);function g(T){if(T instanceof Uint8Array||(ArrayBuffer.isView(T)?T=new Uint8Array(T.buffer,T.byteOffset,T.byteLength):Array.isArray(T)&&(T=Uint8Array.from(T))),!(T instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(T.length===0)return"";for(var d=0,f=0,C=0,m=T.length;C!==m&&T[C]===0;)C++,d++;for(var h=(m-C)*M+1>>>0,D=new Uint8Array(h);C!==m;){for(var j=T[C],L=0,p=h-1;(j!==0||L<f)&&p!==-1;p--,L++)j+=256*D[p]>>>0,D[p]=j%c>>>0,j=j/c>>>0;if(j!==0)throw new Error("Non-zero carry");f=L,C++}for(var S=h-f;S!==h&&D[S]===0;)S++;for(var w=u.repeat(d);S<h;++S)w+=t.charAt(D[S]);return w}function N(T){if(typeof T!="string")throw new TypeError("Expected String");if(T.length===0)return new Uint8Array;for(var d=0,f=0,C=0;T[d]===u;)f++,d++;for(var m=(T.length-d)*l+1>>>0,h=new Uint8Array(m);T[d];){var D=T.charCodeAt(d);if(D>255)return;var j=n[D];if(j===255)return;for(var L=0,p=m-1;(j!==0||L<C)&&p!==-1;p--,L++)j+=c*h[p]>>>0,h[p]=j%256>>>0,j=j/256>>>0;if(j!==0)throw new Error("Non-zero carry");C=L,d++}for(var S=m-C;S!==m&&h[S]===0;)S++;for(var w=new Uint8Array(f+(m-S)),z=f;S!==m;)w[z++]=h[S++];return w}function y(T){var d=N(T);if(d)return d;throw new Error("Non-base"+c+" character")}return{encode:g,decodeUnsafe:N,decode:y}}return Co=e,Co}var mo,Sa;function R5(){return Sa||(Sa=1,mo=Y5()("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")),mo}var _5=R5();const Di=Ze.getDefaultExportFromCjs(_5);function Te(e,t,n,i){function r(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function c(M){try{l(i.next(M))}catch(g){a(g)}}function u(M){try{l(i.throw(M))}catch(g){a(g)}}function l(M){M.done?s(M.value):r(M.value).then(c,u)}l((i=i.apply(e,[])).next())})}function F(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)}function pe(e,t,n,i,r){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var ui,$e,hn,Un,p2,D2,w2,Xi;const Q5=`
|
|
39
|
+
`)}`),S}return _t}var Da;function O5(){return Da||(Da=1,(function(e){var t=gn&&gn.__createBinding||(Object.create?(function(i,r,s,a){a===void 0&&(a=s);var c=Object.getOwnPropertyDescriptor(r,s);(!c||("get"in c?!r.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return r[s]}}),Object.defineProperty(i,a,c)}):(function(i,r,s,a){a===void 0&&(a=s),i[a]=r[s]})),n=gn&&gn.__exportStar||function(i,r){for(var s in i)s!=="default"&&!Object.prototype.hasOwnProperty.call(r,s)&&t(r,i,s)};Object.defineProperty(e,"__esModule",{value:!0}),n(p5(),e),n(w5(),e),n(b5(),e),n(T2(),e)})(gn)),gn}var wa;function k5(){if(wa)return Dt;wa=1,Object.defineProperty(Dt,"__esModule",{value:!0});var e=O5();const t={ERROR_ASSOCIATION_PORT_OUT_OF_RANGE:"ERROR_ASSOCIATION_PORT_OUT_OF_RANGE",ERROR_REFLECTOR_ID_OUT_OF_RANGE:"ERROR_REFLECTOR_ID_OUT_OF_RANGE",ERROR_FORBIDDEN_WALLET_BASE_URL:"ERROR_FORBIDDEN_WALLET_BASE_URL",ERROR_SECURE_CONTEXT_REQUIRED:"ERROR_SECURE_CONTEXT_REQUIRED",ERROR_SESSION_CLOSED:"ERROR_SESSION_CLOSED",ERROR_SESSION_TIMEOUT:"ERROR_SESSION_TIMEOUT",ERROR_WALLET_NOT_FOUND:"ERROR_WALLET_NOT_FOUND",ERROR_INVALID_PROTOCOL_VERSION:"ERROR_INVALID_PROTOCOL_VERSION",ERROR_BROWSER_NOT_SUPPORTED:"ERROR_BROWSER_NOT_SUPPORTED"};class n extends Error{constructor(...ue){const[se,ae,oe]=ue;super(ae),this.code=se,this.data=oe,this.name="SolanaMobileWalletAdapterError"}}const i={ERROR_AUTHORIZATION_FAILED:-1,ERROR_INVALID_PAYLOADS:-2,ERROR_NOT_SIGNED:-3,ERROR_NOT_SUBMITTED:-4,ERROR_TOO_MANY_PAYLOADS:-5,ERROR_ATTEST_ORIGIN_ANDROID:-100};class r extends Error{constructor(...ue){const[se,ae,oe,le]=ue;super(oe),this.code=ae,this.data=le,this.jsonRpcMessageId=se,this.name="SolanaMobileWalletAdapterProtocolError"}}function s(ne,ue,se,ae){function oe(le){return le instanceof se?le:new se(function(ce){ce(le)})}return new(se||(se=Promise))(function(le,ce){function Ie(Ye){try{me(ae.next(Ye))}catch(vt){ce(vt)}}function Se(Ye){try{me(ae.throw(Ye))}catch(vt){ce(vt)}}function me(Ye){Ye.done?le(Ye.value):oe(Ye.value).then(Ie,Se)}me((ae=ae.apply(ne,[])).next())})}function a(ne){return window.btoa(ne)}function c(ne,ue){const se=window.btoa(String.fromCharCode.call(null,...ne));return ue?se.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):se}function u(ne){return new Uint8Array(window.atob(ne).split("").map(ue=>ue.charCodeAt(0)))}function l(ne,ue){return s(this,void 0,void 0,function*(){const se=yield crypto.subtle.exportKey("raw",ne),ae=yield crypto.subtle.sign({hash:"SHA-256",name:"ECDSA"},ue,se),oe=new Uint8Array(se.byteLength+ae.byteLength);return oe.set(new Uint8Array(se),0),oe.set(new Uint8Array(ae),se.byteLength),oe})}function M(ne){return e.createSignInMessageText(ne)}function g(ne){return a(M(ne))}const N="solana:signTransactions",y="solana:cloneAuthorization",T="solana:signInWithSolana";function d(ne,ue){return new Proxy({},{get(se,ae){return ae==="then"?null:(se[ae]==null&&(se[ae]=function(oe){return s(this,void 0,void 0,function*(){const{method:le,params:ce}=f(ae,oe,ne),Ie=yield ue(le,ce);return le==="authorize"&&ce.sign_in_payload&&!Ie.sign_in_result&&(Ie.sign_in_result=yield m(ce.sign_in_payload,Ie,ue)),C(ae,Ie,ne)})}),se[ae])},defineProperty(){return!1},deleteProperty(){return!1}})}function f(ne,ue,se){let ae=ue,oe=ne.toString().replace(/[A-Z]/g,le=>`_${le.toLowerCase()}`).toLowerCase();switch(ne){case"authorize":{let{chain:le}=ae;if(se==="legacy"){switch(le){case"solana:testnet":{le="testnet";break}case"solana:devnet":{le="devnet";break}case"solana:mainnet":{le="mainnet-beta";break}default:le=ae.cluster}ae.cluster=le}else{switch(le){case"testnet":case"devnet":{le=`solana:${le}`;break}case"mainnet-beta":{le="solana:mainnet";break}}ae.chain=le}}case"reauthorize":{const{auth_token:le,identity:ce}=ae;if(le)switch(se){case"legacy":{oe="reauthorize",ae={auth_token:le,identity:ce};break}default:{oe="authorize";break}}break}}return{method:oe,params:ae}}function C(ne,ue,se){switch(ne){case"getCapabilities":{const ae=ue;switch(se){case"legacy":{const oe=[N];return ae.supports_clone_authorization===!0&&oe.push(y),Object.assign(Object.assign({},ae),{features:oe})}case"v1":return Object.assign(Object.assign({},ae),{supports_sign_and_send_transactions:!0,supports_clone_authorization:ae.features.includes(y)})}}}return ue}function m(ne,ue,se){var ae;return s(this,void 0,void 0,function*(){const oe=(ae=ne.domain)!==null&&ae!==void 0?ae:window.location.host,le=ue.accounts[0].address,ce=g(Object.assign(Object.assign({},ne),{domain:oe,address:le})),Ie=yield se("sign_messages",{addresses:[le],payloads:[ce]});return{address:le,signed_message:ce,signature:Ie.signed_payloads[0].slice(ce.length)}})}const h=4;function D(ne){if(ne>=4294967296)throw new Error("Outbound sequence number overflow. The maximum sequence number is 32-bytes.");const ue=new ArrayBuffer(h);return new DataView(ue).setUint32(0,ne,!1),new Uint8Array(ue)}const j=12,L=65;function p(ne,ue,se){return s(this,void 0,void 0,function*(){const ae=D(ue),oe=new Uint8Array(j);crypto.getRandomValues(oe);const le=yield crypto.subtle.encrypt(w(ae,oe),se,new TextEncoder().encode(ne)),ce=new Uint8Array(ae.byteLength+oe.byteLength+le.byteLength);return ce.set(new Uint8Array(ae),0),ce.set(new Uint8Array(oe),ae.byteLength),ce.set(new Uint8Array(le),ae.byteLength+oe.byteLength),ce})}function S(ne,ue){return s(this,void 0,void 0,function*(){const se=ne.slice(0,h),ae=ne.slice(h,h+j),oe=ne.slice(h+j),le=yield crypto.subtle.decrypt(w(se,ae),ue,oe);return U().decode(le)})}function w(ne,ue){return{additionalData:ne,iv:ue,name:"AES-GCM",tagLength:128}}let z;function U(){return z===void 0&&(z=new TextDecoder("utf-8")),z}function k(){return s(this,void 0,void 0,function*(){return yield crypto.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!1,["sign"])})}function v(){return s(this,void 0,void 0,function*(){return yield crypto.subtle.generateKey({name:"ECDH",namedCurve:"P-256"},!1,["deriveKey","deriveBits"])})}function Q(ne){let ue="";const se=new Uint8Array(ne),ae=se.byteLength;for(let oe=0;oe<ae;oe++)ue+=String.fromCharCode(se[oe]);return window.btoa(ue)}function P(){return Z(49152+Math.floor(Math.random()*16384))}function Z(ne){if(ne<49152||ne>65535)throw new n(t.ERROR_ASSOCIATION_PORT_OUT_OF_RANGE,`Association port number must be between 49152 and 65535. ${ne} given.`,{port:ne});return ne}function O(ne){return ne.replace(/[/+=]/g,ue=>({"/":"_","+":"-","=":"."})[ue])}const H="solana-wallet";function $(ne){return ne.replace(/(^\/+|\/+$)/g,"").split("/")}function _(ne,ue){let se=null;if(ue){try{se=new URL(ue)}catch{}if(se?.protocol!=="https:")throw new n(t.ERROR_FORBIDDEN_WALLET_BASE_URL,"Base URLs supplied by wallets must be valid `https` URLs")}se||(se=new URL(`${H}:/`));const ae=ne.startsWith("/")?ne:[...$(se.pathname),...$(ne)].join("/");return new URL(ae,se)}function A(ne,ue,se,ae=["v1"]){return s(this,void 0,void 0,function*(){const oe=Z(ue),le=yield crypto.subtle.exportKey("raw",ne),ce=Q(le),Ie=_("v1/associate/local",se);return Ie.searchParams.set("association",O(ce)),Ie.searchParams.set("port",`${oe}`),ae.forEach(Se=>{Ie.searchParams.set("v",Se)}),Ie})}function Y(ne,ue,se,ae,oe=["v1"]){return s(this,void 0,void 0,function*(){const le=yield crypto.subtle.exportKey("raw",ne),ce=Q(le),Ie=_("v1/associate/remote",ae);return Ie.searchParams.set("association",O(ce)),Ie.searchParams.set("reflector",`${ue}`),Ie.searchParams.set("id",`${c(se,!0)}`),oe.forEach(Se=>{Ie.searchParams.set("v",Se)}),Ie})}function E(ne,ue){return s(this,void 0,void 0,function*(){const se=JSON.stringify(ne),ae=ne.id;return p(se,ae,ue)})}function R(ne,ue){return s(this,void 0,void 0,function*(){const se=yield S(ne,ue),ae=JSON.parse(se);if(Object.hasOwnProperty.call(ae,"error"))throw new r(ae.id,ae.error.code,ae.error.message);return ae})}function q(ne,ue,se){return s(this,void 0,void 0,function*(){const[ae,oe]=yield Promise.all([crypto.subtle.exportKey("raw",ue),crypto.subtle.importKey("raw",ne.slice(0,L),{name:"ECDH",namedCurve:"P-256"},!1,[])]),le=yield crypto.subtle.deriveBits({name:"ECDH",public:oe},se,256),ce=yield crypto.subtle.importKey("raw",le,"HKDF",!1,["deriveKey"]);return yield crypto.subtle.deriveKey({name:"HKDF",hash:"SHA-256",salt:new Uint8Array(ae),info:new Uint8Array},ce,{name:"AES-GCM",length:128},!1,["encrypt","decrypt"])})}function te(ne,ue){return s(this,void 0,void 0,function*(){const se=yield S(ne,ue),ae=JSON.parse(se);let oe="legacy";if(Object.hasOwnProperty.call(ae,"v"))switch(ae.v){case 1:case"1":case"v1":oe="v1";break;case"legacy":oe="legacy";break;default:throw new n(t.ERROR_INVALID_PROTOCOL_VERSION,`Unknown/unsupported protocol version: ${ae.v}`)}return{protocol_version:oe}})}const X={Firefox:0,Other:1};function W(ne){return ne}function V(){return navigator.userAgent.indexOf("Firefox/")!==-1?X.Firefox:X.Other}function J(){return new Promise((ne,ue)=>{function se(){clearTimeout(oe),window.removeEventListener("blur",ae)}function ae(){se(),ne()}window.addEventListener("blur",ae);const oe=setTimeout(()=>{se(),ue()},3e3)})}let ie=null;function K(ne){ie==null&&(ie=document.createElement("iframe"),ie.style.display="none",document.body.appendChild(ie)),ie.contentWindow.location.href=ne.toString()}function G(ne){return s(this,void 0,void 0,function*(){if(ne.protocol==="https:")window.location.assign(ne);else try{const ue=V();switch(ue){case X.Firefox:K(ne);break;case X.Other:{const se=J();window.location.assign(ne),yield se;break}default:}}catch{throw new n(t.ERROR_WALLET_NOT_FOUND,"Found no installed wallet that supports the mobile wallet protocol.")}})}function ee(ne,ue){return s(this,void 0,void 0,function*(){const se=P(),ae=yield A(ne,se,ue);return yield G(ae),se})}const ge={retryDelayScheduleMs:[150,150,200,500,500,750,750,1e3],timeoutMs:3e4},fe="com.solana.mobilewalletadapter.v1",ye="com.solana.mobilewalletadapter.v1.base64";function Ce(){if(typeof window>"u"||window.isSecureContext!==!0)throw new n(t.ERROR_SECURE_CONTEXT_REQUIRED,"The mobile wallet adapter protocol must be used in a secure context (`https`).")}function ke(ne){let ue;try{ue=new URL(ne)}catch{throw new n(t.ERROR_FORBIDDEN_WALLET_BASE_URL,"Invalid base URL supplied by wallet")}if(ue.protocol!=="https:")throw new n(t.ERROR_FORBIDDEN_WALLET_BASE_URL,"Base URLs supplied by wallets must be valid `https` URLs")}function ze(ne){return new DataView(ne).getUint32(0,!1)}function Qe(ne){var ue=new Uint8Array(ne),se=ne.byteLength,ae=10,oe=0,le=0,ce;do{if(le>=se||le>ae)throw new RangeError("Failed to decode varint");ce=ue[le++],oe|=(ce&127)<<7*le}while(ce>=128);return{value:oe,offset:le}}function Fe(ne){let{value:ue,offset:se}=Qe(ne);return new Uint8Array(ne.slice(se,se+ue))}function Pe(ne,ue){return s(this,void 0,void 0,function*(){Ce();const se=yield k(),oe=`ws://localhost:${yield ee(se.publicKey,ue?.baseUri)}/solana-wallet`;let le;const ce=(()=>{const Ye=[...ge.retryDelayScheduleMs];return()=>Ye.length>1?Ye.shift():Ye[0]})();let Ie=1,Se=0,me={__type:"disconnected"};return new Promise((Ye,vt)=>{let it;const Jt={},kn=()=>s(this,void 0,void 0,function*(){if(me.__type!=="connecting"){console.warn(`Expected adapter state to be \`connecting\` at the moment the websocket opens. Got \`${me.__type}\`.`);return}it.removeEventListener("open",kn);const{associationKeypair:at}=me,rt=yield v();it.send(yield l(rt.publicKey,at.privateKey)),me={__type:"hello_req_sent",associationPublicKey:at.publicKey,ecdhPrivateKey:rt.privateKey}}),It=at=>{at.wasClean?me={__type:"disconnected"}:vt(new n(t.ERROR_SESSION_CLOSED,`The wallet session dropped unexpectedly (${at.code}: ${at.reason}).`,{closeEvent:at})),Ct()},Ut=at=>s(this,void 0,void 0,function*(){Ct(),Date.now()-le>=ge.timeoutMs?vt(new n(t.ERROR_SESSION_TIMEOUT,`Failed to connect to the wallet websocket at ${oe}.`)):(yield new Promise(rt=>{const Be=ce();dn=window.setTimeout(rt,Be)}),mt())}),Tt=at=>s(this,void 0,void 0,function*(){const rt=yield at.data.arrayBuffer();switch(me.__type){case"connecting":if(rt.byteLength!==0)throw new Error("Encountered unexpected message while connecting");const Be=yield v();it.send(yield l(Be.publicKey,se.privateKey)),me={__type:"hello_req_sent",associationPublicKey:se.publicKey,ecdhPrivateKey:Be.privateKey};break;case"connected":try{const Re=rt.slice(0,h),Je=ze(Re);if(Je!==Se+1)throw new Error("Encrypted message has invalid sequence number");Se=Je;const pt=yield R(rt,me.sharedSecret),Yt=Jt[pt.id];delete Jt[pt.id],Yt.resolve(pt.result)}catch(Re){if(Re instanceof r){const Je=Jt[Re.jsonRpcMessageId];delete Jt[Re.jsonRpcMessageId],Je.reject(Re)}else throw Re}break;case"hello_req_sent":{if(rt.byteLength===0){const ct=yield v();it.send(yield l(ct.publicKey,se.privateKey)),me={__type:"hello_req_sent",associationPublicKey:se.publicKey,ecdhPrivateKey:ct.privateKey};break}const Re=yield q(rt,me.associationPublicKey,me.ecdhPrivateKey),Je=rt.slice(L),pt=Je.byteLength!==0?yield s(this,void 0,void 0,function*(){const ct=Je.slice(0,h),Wt=ze(ct);if(Wt!==Se+1)throw new Error("Encrypted message has invalid sequence number");return Se=Wt,te(Je,Re)}):{protocol_version:"legacy"};me={__type:"connected",sharedSecret:Re,sessionProperties:pt};const Yt=d(pt.protocol_version,(ct,Wt)=>s(this,void 0,void 0,function*(){const Kn=Ie++;return it.send(yield E({id:Kn,jsonrpc:"2.0",method:ct,params:Wt??{}},Re)),new Promise((Pr,ei)=>{Jt[Kn]={resolve(ti){switch(ct){case"authorize":case"reauthorize":{const{wallet_uri_base:ni}=ti;if(ni!=null)try{ke(ni)}catch(Br){ei(Br);return}break}}Pr(ti)},reject:ei}})}));try{Ye(yield ne(Yt))}catch(ct){vt(ct)}finally{Ct(),it.close()}break}}});let Ct,dn;const mt=()=>{Ct&&Ct(),me={__type:"connecting",associationKeypair:se},le===void 0&&(le=Date.now()),it=new WebSocket(oe,[fe]),it.addEventListener("open",kn),it.addEventListener("close",It),it.addEventListener("error",Ut),it.addEventListener("message",Tt),Ct=()=>{window.clearTimeout(dn),it.removeEventListener("open",kn),it.removeEventListener("close",It),it.removeEventListener("error",Ut),it.removeEventListener("message",Tt)}};mt()})})}function He(ne){return s(this,void 0,void 0,function*(){Ce();const ue=yield k(),se=`wss://${ne?.remoteHostAuthority}/reflect`;let ae;const oe=(()=>{const It=[...ge.retryDelayScheduleMs];return()=>It.length>1?It.shift():It[0]})();let le=1,ce=0,Ie,Se={__type:"disconnected"},me,Ye,vt=It=>s(this,void 0,void 0,function*(){if(Ie=="base64"){const Ut=yield It.data;return u(Ut).buffer}else return yield It.data.arrayBuffer()});const it=yield new Promise((It,Ut)=>{const Tt=()=>s(this,void 0,void 0,function*(){if(Se.__type!=="connecting"){console.warn(`Expected adapter state to be \`connecting\` at the moment the websocket opens. Got \`${Se.__type}\`.`);return}me.protocol.includes(ye)?Ie="base64":Ie="binary",me.removeEventListener("open",Tt)}),Ct=Be=>{Be.wasClean?Se={__type:"disconnected"}:Ut(new n(t.ERROR_SESSION_CLOSED,`The wallet session dropped unexpectedly (${Be.code}: ${Be.reason}).`,{closeEvent:Be})),Ye()},dn=Be=>s(this,void 0,void 0,function*(){Ye(),Date.now()-ae>=ge.timeoutMs?Ut(new n(t.ERROR_SESSION_TIMEOUT,`Failed to connect to the wallet websocket at ${se}.`)):(yield new Promise(Re=>{const Je=oe();at=window.setTimeout(Re,Je)}),rt())}),mt=Be=>s(this,void 0,void 0,function*(){const Re=yield vt(Be);if(Se.__type==="connecting"){if(Re.byteLength==0)throw new Error("Encountered unexpected message while connecting");const Je=Fe(Re);Se={__type:"reflector_id_received",reflectorId:Je};const pt=yield Y(ue.publicKey,ne.remoteHostAuthority,Je,ne?.baseUri);me.removeEventListener("message",mt),It(pt)}});let at;const rt=()=>{Ye&&Ye(),Se={__type:"connecting",associationKeypair:ue},ae===void 0&&(ae=Date.now()),me=new WebSocket(se,[fe,ye]),me.addEventListener("open",Tt),me.addEventListener("close",Ct),me.addEventListener("error",dn),me.addEventListener("message",mt),Ye=()=>{window.clearTimeout(at),me.removeEventListener("open",Tt),me.removeEventListener("close",Ct),me.removeEventListener("error",dn),me.removeEventListener("message",mt)}};rt()});let Jt=!1,kn;return{associationUrl:it,close:()=>{me.close(),kn()},wallet:new Promise((It,Ut)=>{const Tt={},Ct=dn=>s(this,void 0,void 0,function*(){const mt=yield vt(dn);switch(Se.__type){case"reflector_id_received":if(mt.byteLength!==0)throw new Error("Encountered unexpected message while awaiting reflection");const at=yield v(),rt=yield l(at.publicKey,ue.privateKey);Ie=="base64"?me.send(c(rt)):me.send(rt),Se={__type:"hello_req_sent",associationPublicKey:ue.publicKey,ecdhPrivateKey:at.privateKey};break;case"connected":try{const Be=mt.slice(0,h),Re=ze(Be);if(Re!==ce+1)throw new Error("Encrypted message has invalid sequence number");ce=Re;const Je=yield R(mt,Se.sharedSecret),pt=Tt[Je.id];delete Tt[Je.id],pt.resolve(Je.result)}catch(Be){if(Be instanceof r){const Re=Tt[Be.jsonRpcMessageId];delete Tt[Be.jsonRpcMessageId],Re.reject(Be)}else throw Be}break;case"hello_req_sent":{const Be=yield q(mt,Se.associationPublicKey,Se.ecdhPrivateKey),Re=mt.slice(L),Je=Re.byteLength!==0?yield s(this,void 0,void 0,function*(){const Yt=Re.slice(0,h),ct=ze(Yt);if(ct!==ce+1)throw new Error("Encrypted message has invalid sequence number");return ce=ct,te(Re,Be)}):{protocol_version:"legacy"};Se={__type:"connected",sharedSecret:Be,sessionProperties:Je};const pt=d(Je.protocol_version,(Yt,ct)=>s(this,void 0,void 0,function*(){const Wt=le++,Kn=yield E({id:Wt,jsonrpc:"2.0",method:Yt,params:ct??{}},Be);return Ie=="base64"?me.send(c(Kn)):me.send(Kn),new Promise((Pr,ei)=>{Tt[Wt]={resolve(ti){switch(Yt){case"authorize":case"reauthorize":{const{wallet_uri_base:ni}=ti;if(ni!=null)try{ke(ni)}catch(Br){ei(Br);return}break}}Pr(ti)},reject:ei}})}));Jt=!0;try{It(pt)}catch(Yt){Ut(Yt)}break}}});me.addEventListener("message",Ct),kn=()=>{me.removeEventListener("message",Ct),Ye(),Jt||Ut(new n(t.ERROR_SESSION_CLOSED,"The wallet session was closed before connection.",{closeEvent:new CloseEvent("socket was closed before connection")}))}})}})}return Dt.SolanaCloneAuthorization=y,Dt.SolanaMobileWalletAdapterError=n,Dt.SolanaMobileWalletAdapterErrorCode=t,Dt.SolanaMobileWalletAdapterProtocolError=r,Dt.SolanaMobileWalletAdapterProtocolErrorCode=i,Dt.SolanaSignInWithSolana=T,Dt.SolanaSignTransactions=N,Dt.startRemoteScenario=He,Dt.transact=Pe,Dt}var C2=k5(),Co,Aa;function v5(){if(Aa)return Co;Aa=1;function e(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),i=0;i<n.length;i++)n[i]=255;for(var r=0;r<t.length;r++){var s=t.charAt(r),a=s.charCodeAt(0);if(n[a]!==255)throw new TypeError(s+" is ambiguous");n[a]=r}var c=t.length,u=t.charAt(0),l=Math.log(c)/Math.log(256),M=Math.log(256)/Math.log(c);function g(T){if(T instanceof Uint8Array||(ArrayBuffer.isView(T)?T=new Uint8Array(T.buffer,T.byteOffset,T.byteLength):Array.isArray(T)&&(T=Uint8Array.from(T))),!(T instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(T.length===0)return"";for(var d=0,f=0,C=0,m=T.length;C!==m&&T[C]===0;)C++,d++;for(var h=(m-C)*M+1>>>0,D=new Uint8Array(h);C!==m;){for(var j=T[C],L=0,p=h-1;(j!==0||L<f)&&p!==-1;p--,L++)j+=256*D[p]>>>0,D[p]=j%c>>>0,j=j/c>>>0;if(j!==0)throw new Error("Non-zero carry");f=L,C++}for(var S=h-f;S!==h&&D[S]===0;)S++;for(var w=u.repeat(d);S<h;++S)w+=t.charAt(D[S]);return w}function N(T){if(typeof T!="string")throw new TypeError("Expected String");if(T.length===0)return new Uint8Array;for(var d=0,f=0,C=0;T[d]===u;)f++,d++;for(var m=(T.length-d)*l+1>>>0,h=new Uint8Array(m);T[d];){var D=T.charCodeAt(d);if(D>255)return;var j=n[D];if(j===255)return;for(var L=0,p=m-1;(j!==0||L<C)&&p!==-1;p--,L++)j+=c*h[p]>>>0,h[p]=j%256>>>0,j=j/256>>>0;if(j!==0)throw new Error("Non-zero carry");C=L,d++}for(var S=m-C;S!==m&&h[S]===0;)S++;for(var w=new Uint8Array(f+(m-S)),z=f;S!==m;)w[z++]=h[S++];return w}function y(T){var d=N(T);if(d)return d;throw new Error("Non-base"+c+" character")}return{encode:g,decodeUnsafe:N,decode:y}}return Co=e,Co}var mo,Sa;function U5(){return Sa||(Sa=1,mo=v5()("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")),mo}var Y5=U5();const wi=Ze.getDefaultExportFromCjs(Y5);function Te(e,t,n,i){function r(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function c(M){try{l(i.next(M))}catch(g){a(g)}}function u(M){try{l(i.throw(M))}catch(g){a(g)}}function l(M){M.done?s(M.value):r(M.value).then(c,u)}l((i=i.apply(e,[])).next())})}function F(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)}function pe(e,t,n,i,r){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var ui,$e,hn,Un,m2,p2,D2,Xi;const R5=`
|
|
40
40
|
<div class="mobile-wallet-adapter-embedded-modal-container" role="dialog" aria-modal="true" aria-labelledby="modal-title">
|
|
41
41
|
<div data-modal-close style="position: absolute; width: 100%; height: 100%;"></div>
|
|
42
42
|
<div class="mobile-wallet-adapter-embedded-modal-card">
|
|
@@ -50,7 +50,7 @@ ${w.join(`
|
|
|
50
50
|
<div class="mobile-wallet-adapter-embedded-modal-content"></div>
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
|
-
`,
|
|
53
|
+
`,_5=`
|
|
54
54
|
.mobile-wallet-adapter-embedded-modal-container {
|
|
55
55
|
display: flex; /* Use flexbox to center content */
|
|
56
56
|
justify-content: center; /* Center horizontally */
|
|
@@ -106,11 +106,11 @@ ${w.join(`
|
|
|
106
106
|
.mobile-wallet-adapter-embedded-modal-close:hover svg {
|
|
107
107
|
fill: #fff;
|
|
108
108
|
}
|
|
109
|
-
`,
|
|
109
|
+
`,Q5=`
|
|
110
110
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
111
111
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
112
112
|
<link href="https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
|
|
113
|
-
`;class
|
|
113
|
+
`;class w2{constructor(){ui.add(this),$e.set(this,null),hn.set(this,{}),Un.set(this,!1),this.dom=null,this.open=()=>{console.debug("Modal open"),F(this,ui,"m",p2).call(this),F(this,$e,"f")&&(F(this,$e,"f").style.display="flex")},this.close=(t=void 0)=>{var n;console.debug("Modal close"),F(this,ui,"m",D2).call(this),F(this,$e,"f")&&(F(this,$e,"f").style.display="none"),(n=F(this,hn,"f").close)===null||n===void 0||n.forEach(i=>i(t))},Xi.set(this,t=>{t.key==="Escape"&&this.close(t)}),this.init=this.init.bind(this),pe(this,$e,document.getElementById("mobile-wallet-adapter-embedded-root-ui"))}init(){return Te(this,void 0,void 0,function*(){console.log("Injecting modal"),F(this,ui,"m",m2).call(this)})}addEventListener(t,n){var i;return!((i=F(this,hn,"f")[t])===null||i===void 0)&&i.push(n)||(F(this,hn,"f")[t]=[n]),()=>this.removeEventListener(t,n)}removeEventListener(t,n){var i;F(this,hn,"f")[t]=(i=F(this,hn,"f")[t])===null||i===void 0?void 0:i.filter(r=>n!==r)}}$e=new WeakMap,hn=new WeakMap,Un=new WeakMap,Xi=new WeakMap,ui=new WeakSet,m2=function(){if(document.getElementById("mobile-wallet-adapter-embedded-root-ui")){F(this,$e,"f")||pe(this,$e,document.getElementById("mobile-wallet-adapter-embedded-root-ui"));return}pe(this,$e,document.createElement("div")),F(this,$e,"f").id="mobile-wallet-adapter-embedded-root-ui",F(this,$e,"f").innerHTML=R5,F(this,$e,"f").style.display="none";const t=F(this,$e,"f").querySelector(".mobile-wallet-adapter-embedded-modal-content");t&&(t.innerHTML=this.contentHtml);const n=document.createElement("style");n.id="mobile-wallet-adapter-embedded-modal-styles",n.textContent=_5+this.contentStyles;const i=document.createElement("div");i.innerHTML=Q5,this.dom=i.attachShadow({mode:"closed"}),this.dom.appendChild(n),this.dom.appendChild(F(this,$e,"f")),document.body.appendChild(i)},p2=function(){if(!F(this,$e,"f")||F(this,Un,"f"))return;[...F(this,$e,"f").querySelectorAll("[data-modal-close]")].forEach(n=>n?.addEventListener("click",this.close)),window.addEventListener("load",this.close),document.addEventListener("keydown",F(this,Xi,"f")),pe(this,Un,!0)},D2=function(){if(!F(this,Un,"f")||(window.removeEventListener("load",this.close),document.removeEventListener("keydown",F(this,Xi,"f")),!F(this,$e,"f")))return;[...F(this,$e,"f").querySelectorAll("[data-modal-close]")].forEach(n=>n?.removeEventListener("click",this.close)),pe(this,Un,!1)};class P5 extends w2{constructor(){super(...arguments),this.contentStyles=Z5,this.contentHtml=B5}initWithQR(t){const n=Object.create(null,{init:{get:()=>super.init}});return Te(this,void 0,void 0,function*(){n.init.call(this),this.populateQRCode(t)})}populateQRCode(t){var n;return Te(this,void 0,void 0,function*(){const i=(n=this.dom)===null||n===void 0?void 0:n.getElementById("mobile-wallet-adapter-embedded-modal-qr-code-container");if(i){const r=yield m5.toCanvas(t,{width:200,margin:0});i.firstElementChild!==null?i.replaceChild(r,i.firstElementChild):i.appendChild(r)}else console.error("QRCode Container not found")})}}const B5=`
|
|
114
114
|
<div class="mobile-wallet-adapter-embedded-modal-qr-content">
|
|
115
115
|
<div>
|
|
116
116
|
<svg class="mobile-wallet-adapter-embedded-modal-icon" width="100%" height="100%">
|
|
@@ -151,7 +151,7 @@ ${w.join(`
|
|
|
151
151
|
<div>Waiting for scan</div>
|
|
152
152
|
</div>
|
|
153
153
|
</div>
|
|
154
|
-
`,
|
|
154
|
+
`,Z5=`
|
|
155
155
|
.mobile-wallet-adapter-embedded-modal-qr-content {
|
|
156
156
|
display: flex;
|
|
157
157
|
margin-top: 10px;
|
|
@@ -346,9 +346,9 @@ ${w.join(`
|
|
|
346
346
|
transform-origin: 100% 50%;
|
|
347
347
|
animation: spinRight 2.5s cubic-bezier(.2,0,.8,1) infinite;
|
|
348
348
|
}
|
|
349
|
-
`,S2="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03IDIuNUgxN0MxNy44Mjg0IDIuNSAxOC41IDMuMTcxNTcgMTguNSA0VjIwQzE4LjUgMjAuODI4NCAxNy44Mjg0IDIxLjUgMTcgMjEuNUg3QzYuMTcxNTcgMjEuNSA1LjUgMjAuODI4NCA1LjUgMjBWNEM1LjUgMy4xNzE1NyA2LjE3MTU3IDIuNSA3IDIuNVpNMyA0QzMgMS43OTA4NiA0Ljc5MDg2IDAgNyAwSDE3QzE5LjIwOTEgMCAyMSAxLjc5MDg2IDIxIDRWMjBDMjEgMjIuMjA5MSAxOS4yMDkxIDI0IDE3IDI0SDdDNC43OTA4NiAyNCAzIDIyLjIwOTEgMyAyMFY0Wk0xMSA0LjYxNTM4QzEwLjQ0NzcgNC42MTUzOCAxMCA1LjA2MzEgMTAgNS42MTUzOFY2LjM4NDYyQzEwIDYuOTM2OSAxMC40NDc3IDcuMzg0NjIgMTEgNy4zODQ2MkgxM0MxMy41NTIzIDcuMzg0NjIgMTQgNi45MzY5IDE0IDYuMzg0NjJWNS42MTUzOEMxNCA1LjA2MzEgMTMuNTUyMyA0LjYxNTM4IDEzIDQuNjE1MzhIMTFaIiBmaWxsPSIjRENCOEZGIi8+Cjwvc3ZnPgo=";function on(e){return window.btoa(String.fromCharCode.call(null,...e))}function Mt(e){return new Uint8Array(window.atob(e).split("").map(t=>t.charCodeAt(0)))}var Yn,In,es,ts,ns,is,li,ut,Ft,Kt,Rn,jn,$i,Mi,Ki,rs,er,E2,os,tr,_n,nr,di,ir,Qn,gi,rr,ss,as,or,sr,cs,us,ar,Pn,Ln,ls,Ms,ds,gs,fi,lt,en,tn,Bn,Nn,cr,hi,ur,lr,Et,fs,Mr,z2,hs,dr,ji,js,Ni,gr,Zn,yi,fr,Ns,ys,hr,jr,Is,Ls,Nr;const b2="Mobile Wallet Adapter",O2=64,k2=[Ee.SolanaSignAndSendTransaction,Ee.SolanaSignTransaction,Ee.SolanaSignMessage,Ee.SolanaSignIn];class H5{constructor(t){Yn.add(this),In.set(this,{}),es.set(this,"1.0.0"),ts.set(this,b2),ns.set(this,"https://solanamobile.com/wallets"),is.set(this,S2),li.set(this,void 0),ut.set(this,void 0),Ft.set(this,void 0),Kt.set(this,!1),Rn.set(this,0),jn.set(this,[]),$i.set(this,void 0),Mi.set(this,void 0),Ki.set(this,void 0),rs.set(this,(n,i)=>{var r;return!((r=F(this,In,"f")[n])===null||r===void 0)&&r.push(i)||(F(this,In,"f")[n]=[i]),()=>F(this,Yn,"m",E2).call(this,n,i)}),os.set(this,({silent:n}={})=>Te(this,void 0,void 0,function*(){if(F(this,Kt,"f")||this.connected)return{accounts:this.accounts};pe(this,Kt,!0);try{if(n){const i=yield F(this,Ft,"f").get();if(i)yield F(this,nr,"f").call(this,i.capabilities),yield F(this,_n,"f").call(this,i);else return{accounts:this.accounts}}else yield F(this,tr,"f").call(this)}catch(i){throw new Error(i instanceof Error&&i.message||"Unknown error")}finally{pe(this,Kt,!1)}return{accounts:this.accounts}})),tr.set(this,n=>Te(this,void 0,void 0,function*(){try{const i=yield F(this,Ft,"f").get();if(i)return F(this,_n,"f").call(this,i),i;const r=yield F(this,$i,"f").select(F(this,jn,"f"));return yield F(this,Qn,"f").call(this,s=>Te(this,void 0,void 0,function*(){const[a,c]=yield Promise.all([s.getCapabilities(),s.authorize({chain:r,identity:F(this,li,"f"),sign_in_payload:n})]),u=F(this,rr,"f").call(this,c.accounts),l=Object.assign(Object.assign({},c),{accounts:u,chain:r,capabilities:a});return Promise.all([F(this,nr,"f").call(this,a),F(this,Ft,"f").set(l),F(this,_n,"f").call(this,l)]),l}))}catch(i){throw new Error(i instanceof Error&&i.message||"Unknown error")}})),_n.set(this,n=>Te(this,void 0,void 0,function*(){var i;const r=F(this,ut,"f")==null||((i=F(this,ut,"f"))===null||i===void 0?void 0:i.accounts.length)!==n.accounts.length||F(this,ut,"f").accounts.some((s,a)=>s.address!==n.accounts[a].address);pe(this,ut,n),r&&F(this,Yn,"m",er).call(this,"change",{accounts:this.accounts})})),nr.set(this,n=>Te(this,void 0,void 0,function*(){const i=n.features.includes("solana:signTransactions"),r=n.supports_sign_and_send_transactions,s=Ee.SolanaSignAndSendTransaction in this.features!==r||Ee.SolanaSignTransaction in this.features!==i;pe(this,Mi,Object.assign(Object.assign({},(r||!r&&!i)&&{[Ee.SolanaSignAndSendTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signAndSendTransaction:F(this,or,"f")}}),i&&{[Ee.SolanaSignTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signTransaction:F(this,sr,"f")}})),s&&F(this,Yn,"m",er).call(this,"change",{features:this.features})})),di.set(this,(n,i,r)=>Te(this,void 0,void 0,function*(){var s,a;try{const[c,u]=yield Promise.all([(a=(s=F(this,ut,"f"))===null||s===void 0?void 0:s.capabilities)!==null&&a!==void 0?a:yield n.getCapabilities(),n.authorize({auth_token:i,identity:F(this,li,"f"),chain:r})]),l=F(this,rr,"f").call(this,u.accounts),M=Object.assign(Object.assign({},u),{accounts:l,chain:r,capabilities:c});Promise.all([F(this,Ft,"f").set(M),F(this,_n,"f").call(this,M)])}catch(c){throw F(this,ir,"f").call(this),new Error(c instanceof Error&&c.message||"Unknown error")}})),ir.set(this,()=>Te(this,void 0,void 0,function*(){var n;F(this,Ft,"f").clear(),pe(this,Kt,!1),pe(this,Rn,(n=F(this,Rn,"f"),n++,n)),pe(this,ut,void 0),F(this,Yn,"m",er).call(this,"change",{accounts:this.accounts})})),Qn.set(this,n=>Te(this,void 0,void 0,function*(){var i;const r=(i=F(this,ut,"f"))===null||i===void 0?void 0:i.wallet_uri_base,s=r?{baseUri:r}:void 0,a=F(this,Rn,"f");try{return yield m2.transact(n,s)}catch(c){throw F(this,Rn,"f")!==a&&(yield new Promise(()=>{})),c instanceof Error&&c.name==="SolanaMobileWalletAdapterError"&&c.code==="ERROR_WALLET_NOT_FOUND"&&(yield F(this,Ki,"f").call(this,this)),c}})),gi.set(this,()=>{if(!F(this,ut,"f"))throw new Error("Wallet not connected");return{authToken:F(this,ut,"f").auth_token,chain:F(this,ut,"f").chain}}),rr.set(this,n=>n.map(i=>{var r,s;const a=Mt(i.address);return{address:Di.encode(a),publicKey:a,label:i.label,icon:i.icon,chains:(r=i.chains)!==null&&r!==void 0?r:F(this,jn,"f"),features:(s=i.features)!==null&&s!==void 0?s:k2}})),ss.set(this,n=>Te(this,void 0,void 0,function*(){const{authToken:i,chain:r}=F(this,gi,"f").call(this);try{const s=n.map(a=>on(a));return yield F(this,Qn,"f").call(this,a=>Te(this,void 0,void 0,function*(){return yield F(this,di,"f").call(this,a,i,r),(yield a.signTransactions({payloads:s})).signed_payloads.map(Mt)}))}catch(s){throw new Error(s instanceof Error&&s.message||"Unknown error")}})),as.set(this,(n,i)=>Te(this,void 0,void 0,function*(){const{authToken:r,chain:s}=F(this,gi,"f").call(this);try{return yield F(this,Qn,"f").call(this,a=>Te(this,void 0,void 0,function*(){const[c,u]=yield Promise.all([a.getCapabilities(),F(this,di,"f").call(this,a,r,s)]);if(c.supports_sign_and_send_transactions){const l=on(n);return(yield a.signAndSendTransactions(Object.assign(Object.assign({},i),{payloads:[l]}))).signatures.map(Mt)[0]}else throw new Error("connected wallet does not support signAndSendTransaction")}))}catch(a){throw new Error(a instanceof Error&&a.message||"Unknown error")}})),or.set(this,(...n)=>Te(this,void 0,void 0,function*(){const i=[];for(const r of n){const s=yield F(this,as,"f").call(this,r.transaction,r.options);i.push({signature:s})}return i})),sr.set(this,(...n)=>Te(this,void 0,void 0,function*(){return(yield F(this,ss,"f").call(this,n.map(({transaction:i})=>i))).map(i=>({signedTransaction:i}))})),cs.set(this,(...n)=>Te(this,void 0,void 0,function*(){const{authToken:i,chain:r}=F(this,gi,"f").call(this),s=n.map(({account:c})=>on(c.publicKey)),a=n.map(({message:c})=>on(c));try{return yield F(this,Qn,"f").call(this,c=>Te(this,void 0,void 0,function*(){return yield F(this,di,"f").call(this,c,i,r),(yield c.signMessages({addresses:s,payloads:a})).signed_payloads.map(Mt).map(l=>({signedMessage:l,signature:l.slice(-O2)}))}))}catch(c){throw new Error(c instanceof Error&&c.message||"Unknown error")}})),us.set(this,(...n)=>Te(this,void 0,void 0,function*(){const i=[];if(n.length>1)for(const r of n)i.push(yield F(this,ar,"f").call(this,r));else return[yield F(this,ar,"f").call(this,n[0])];return i})),ar.set(this,n=>Te(this,void 0,void 0,function*(){var i,r,s;pe(this,Kt,!0);try{const a=yield F(this,tr,"f").call(this,Object.assign(Object.assign({},n),{domain:(i=n?.domain)!==null&&i!==void 0?i:window.location.host}));if(!a.sign_in_result)throw new Error("Sign in failed, no sign in result returned by wallet");const c=a.sign_in_result.address,u=a.accounts.find(l=>l.address==c);return{account:Object.assign(Object.assign({},u??{address:Di.encode(Mt(c))}),{publicKey:Mt(c),chains:(r=u?.chains)!==null&&r!==void 0?r:F(this,jn,"f"),features:(s=u?.features)!==null&&s!==void 0?s:a.capabilities.features}),signedMessage:Mt(a.sign_in_result.signed_message),signature:Mt(a.sign_in_result.signature)}}catch(a){throw new Error(a instanceof Error&&a.message||"Unknown error")}finally{pe(this,Kt,!1)}})),pe(this,Ft,t.authorizationCache),pe(this,li,t.appIdentity),pe(this,jn,t.chains),pe(this,$i,t.chainSelector),pe(this,Ki,t.onWalletNotFound),pe(this,Mi,{[Ee.SolanaSignAndSendTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signAndSendTransaction:F(this,or,"f")},[Ee.SolanaSignTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signTransaction:F(this,sr,"f")}})}get version(){return F(this,es,"f")}get name(){return F(this,ts,"f")}get url(){return F(this,ns,"f")}get icon(){return F(this,is,"f")}get chains(){return F(this,jn,"f")}get features(){return Object.assign({[Ee.StandardConnect]:{version:"1.0.0",connect:F(this,os,"f")},[Ee.StandardDisconnect]:{version:"1.0.0",disconnect:F(this,ir,"f")},[Ee.StandardEvents]:{version:"1.0.0",on:F(this,rs,"f")},[Ee.SolanaSignMessage]:{version:"1.0.0",signMessage:F(this,cs,"f")},[Ee.SolanaSignIn]:{version:"1.0.0",signIn:F(this,us,"f")}},F(this,Mi,"f"))}get accounts(){var t,n;return(n=(t=F(this,ut,"f"))===null||t===void 0?void 0:t.accounts)!==null&&n!==void 0?n:[]}get connected(){return!!F(this,ut,"f")}get isAuthorized(){return!!F(this,ut,"f")}get currentAuthorization(){return F(this,ut,"f")}get cachedAuthorizationResult(){return F(this,Ft,"f").get()}}In=new WeakMap,es=new WeakMap,ts=new WeakMap,ns=new WeakMap,is=new WeakMap,li=new WeakMap,ut=new WeakMap,Ft=new WeakMap,Kt=new WeakMap,Rn=new WeakMap,jn=new WeakMap,$i=new WeakMap,Mi=new WeakMap,Ki=new WeakMap,rs=new WeakMap,os=new WeakMap,tr=new WeakMap,_n=new WeakMap,nr=new WeakMap,di=new WeakMap,ir=new WeakMap,Qn=new WeakMap,gi=new WeakMap,rr=new WeakMap,ss=new WeakMap,as=new WeakMap,or=new WeakMap,sr=new WeakMap,cs=new WeakMap,us=new WeakMap,ar=new WeakMap,Yn=new WeakSet,er=function(t,...n){var i;(i=F(this,In,"f")[t])===null||i===void 0||i.forEach(r=>r.apply(null,n))},E2=function(t,n){var i;F(this,In,"f")[t]=(i=F(this,In,"f")[t])===null||i===void 0?void 0:i.filter(r=>n!==r)};class G5{constructor(t){Pn.add(this),Ln.set(this,{}),ls.set(this,"1.0.0"),Ms.set(this,b2),ds.set(this,"https://solanamobile.com/wallets"),gs.set(this,S2),fi.set(this,void 0),lt.set(this,void 0),en.set(this,void 0),tn.set(this,!1),Bn.set(this,0),Nn.set(this,[]),cr.set(this,void 0),hi.set(this,void 0),ur.set(this,void 0),lr.set(this,void 0),Et.set(this,void 0),fs.set(this,(n,i)=>{var r;return!((r=F(this,Ln,"f")[n])===null||r===void 0)&&r.push(i)||(F(this,Ln,"f")[n]=[i]),()=>F(this,Pn,"m",z2).call(this,n,i)}),hs.set(this,({silent:n}={})=>Te(this,void 0,void 0,function*(){if(F(this,tn,"f")||this.connected)return{accounts:this.accounts};pe(this,tn,!0);try{yield F(this,dr,"f").call(this)}catch(i){throw new Error(i instanceof Error&&i.message||"Unknown error")}finally{pe(this,tn,!1)}return{accounts:this.accounts}})),dr.set(this,n=>Te(this,void 0,void 0,function*(){try{const i=yield F(this,en,"f").get();if(i)return F(this,ji,"f").call(this,i),i;F(this,Et,"f")&&pe(this,Et,void 0,"f");const r=yield F(this,cr,"f").select(F(this,Nn,"f"));return yield F(this,Zn,"f").call(this,s=>Te(this,void 0,void 0,function*(){const[a,c]=yield Promise.all([s.getCapabilities(),s.authorize({chain:r,identity:F(this,fi,"f"),sign_in_payload:n})]),u=F(this,fr,"f").call(this,c.accounts),l=Object.assign(Object.assign({},c),{accounts:u,chain:r,capabilities:a});return Promise.all([F(this,js,"f").call(this,a),F(this,en,"f").set(l),F(this,ji,"f").call(this,l)]),l}))}catch(i){throw new Error(i instanceof Error&&i.message||"Unknown error")}})),ji.set(this,n=>Te(this,void 0,void 0,function*(){var i;const r=F(this,lt,"f")==null||((i=F(this,lt,"f"))===null||i===void 0?void 0:i.accounts.length)!==n.accounts.length||F(this,lt,"f").accounts.some((s,a)=>s.address!==n.accounts[a].address);pe(this,lt,n),r&&F(this,Pn,"m",Mr).call(this,"change",{accounts:this.accounts})})),js.set(this,n=>Te(this,void 0,void 0,function*(){const i=n.features.includes("solana:signTransactions"),r=n.supports_sign_and_send_transactions||n.features.includes("solana:signAndSendTransaction"),s=Ee.SolanaSignAndSendTransaction in this.features!==r||Ee.SolanaSignTransaction in this.features!==i;pe(this,hi,Object.assign(Object.assign({},r&&{[Ee.SolanaSignAndSendTransaction]:{version:"1.0.0",supportedTransactionVersions:n.supported_transaction_versions,signAndSendTransaction:F(this,hr,"f")}}),i&&{[Ee.SolanaSignTransaction]:{version:"1.0.0",supportedTransactionVersions:n.supported_transaction_versions,signTransaction:F(this,jr,"f")}})),s&&F(this,Pn,"m",Mr).call(this,"change",{features:this.features})})),Ni.set(this,(n,i,r)=>Te(this,void 0,void 0,function*(){var s,a;try{const[c,u]=yield Promise.all([(a=(s=F(this,lt,"f"))===null||s===void 0?void 0:s.capabilities)!==null&&a!==void 0?a:yield n.getCapabilities(),n.authorize({auth_token:i,identity:F(this,fi,"f"),chain:r})]),l=F(this,fr,"f").call(this,u.accounts),M=Object.assign(Object.assign({},u),{accounts:l,chain:r,capabilities:c});Promise.all([F(this,en,"f").set(M),F(this,ji,"f").call(this,M)])}catch(c){throw F(this,gr,"f").call(this),new Error(c instanceof Error&&c.message||"Unknown error")}})),gr.set(this,()=>Te(this,void 0,void 0,function*(){var n,i;(n=F(this,Et,"f"))===null||n===void 0||n.close(),F(this,en,"f").clear(),pe(this,tn,!1),pe(this,Bn,(i=F(this,Bn,"f"),i++,i)),pe(this,lt,void 0),pe(this,Et,void 0),F(this,Pn,"m",Mr).call(this,"change",{accounts:this.accounts})})),Zn.set(this,n=>Te(this,void 0,void 0,function*(){var i;const r=(i=F(this,lt,"f"))===null||i===void 0?void 0:i.wallet_uri_base,a=Object.assign(Object.assign({},r?{baseUri:r}:void 0),{remoteHostAuthority:F(this,lr,"f")}),c=F(this,Bn,"f"),u=new Z5;if(F(this,Et,"f"))return n(F(this,Et,"f").wallet);try{const{associationUrl:l,close:M,wallet:g}=yield m2.startRemoteScenario(a),N=u.addEventListener("close",y=>{y&&M()});return u.initWithQR(l.toString()),u.open(),pe(this,Et,{close:M,wallet:yield g},"f"),N(),u.close(),yield n(F(this,Et,"f").wallet)}catch(l){throw u.close(),F(this,Bn,"f")!==c&&(yield new Promise(()=>{})),l instanceof Error&&l.name==="SolanaMobileWalletAdapterError"&&l.code==="ERROR_WALLET_NOT_FOUND"&&(yield F(this,ur,"f").call(this,this)),l}})),yi.set(this,()=>{if(!F(this,lt,"f"))throw new Error("Wallet not connected");return{authToken:F(this,lt,"f").auth_token,chain:F(this,lt,"f").chain}}),fr.set(this,n=>n.map(i=>{var r,s;const a=Mt(i.address);return{address:Di.encode(a),publicKey:a,label:i.label,icon:i.icon,chains:(r=i.chains)!==null&&r!==void 0?r:F(this,Nn,"f"),features:(s=i.features)!==null&&s!==void 0?s:k2}})),Ns.set(this,n=>Te(this,void 0,void 0,function*(){const{authToken:i,chain:r}=F(this,yi,"f").call(this);try{return yield F(this,Zn,"f").call(this,s=>Te(this,void 0,void 0,function*(){return yield F(this,Ni,"f").call(this,s,i,r),(yield s.signTransactions({payloads:n.map(on)})).signed_payloads.map(Mt)}))}catch(s){throw new Error(s instanceof Error&&s.message||"Unknown error")}})),ys.set(this,(n,i)=>Te(this,void 0,void 0,function*(){const{authToken:r,chain:s}=F(this,yi,"f").call(this);try{return yield F(this,Zn,"f").call(this,a=>Te(this,void 0,void 0,function*(){const[c,u]=yield Promise.all([a.getCapabilities(),F(this,Ni,"f").call(this,a,r,s)]);if(c.supports_sign_and_send_transactions)return(yield a.signAndSendTransactions(Object.assign(Object.assign({},i),{payloads:[on(n)]}))).signatures.map(Mt)[0];throw new Error("connected wallet does not support signAndSendTransaction")}))}catch(a){throw new Error(a instanceof Error&&a.message||"Unknown error")}})),hr.set(this,(...n)=>Te(this,void 0,void 0,function*(){const i=[];for(const r of n){const s=yield F(this,ys,"f").call(this,r.transaction,r.options);i.push({signature:s})}return i})),jr.set(this,(...n)=>Te(this,void 0,void 0,function*(){return(yield F(this,Ns,"f").call(this,n.map(({transaction:i})=>i))).map(i=>({signedTransaction:i}))})),Is.set(this,(...n)=>Te(this,void 0,void 0,function*(){const{authToken:i,chain:r}=F(this,yi,"f").call(this),s=n.map(({account:c})=>on(c.publicKey)),a=n.map(({message:c})=>on(c));try{return yield F(this,Zn,"f").call(this,c=>Te(this,void 0,void 0,function*(){return yield F(this,Ni,"f").call(this,c,i,r),(yield c.signMessages({addresses:s,payloads:a})).signed_payloads.map(Mt).map(l=>({signedMessage:l,signature:l.slice(-O2)}))}))}catch(c){throw new Error(c instanceof Error&&c.message||"Unknown error")}})),Ls.set(this,(...n)=>Te(this,void 0,void 0,function*(){const i=[];if(n.length>1)for(const r of n)i.push(yield F(this,Nr,"f").call(this,r));else return[yield F(this,Nr,"f").call(this,n[0])];return i})),Nr.set(this,n=>Te(this,void 0,void 0,function*(){var i,r,s;pe(this,tn,!0);try{const a=yield F(this,dr,"f").call(this,Object.assign(Object.assign({},n),{domain:(i=n?.domain)!==null&&i!==void 0?i:window.location.host}));if(!a.sign_in_result)throw new Error("Sign in failed, no sign in result returned by wallet");const c=a.sign_in_result.address,u=a.accounts.find(l=>l.address==c);return{account:Object.assign(Object.assign({},u??{address:Di.encode(Mt(c))}),{publicKey:Mt(c),chains:(r=u?.chains)!==null&&r!==void 0?r:F(this,Nn,"f"),features:(s=u?.features)!==null&&s!==void 0?s:a.capabilities.features}),signedMessage:Mt(a.sign_in_result.signed_message),signature:Mt(a.sign_in_result.signature)}}catch(a){throw new Error(a instanceof Error&&a.message||"Unknown error")}finally{pe(this,tn,!1)}})),pe(this,en,t.authorizationCache),pe(this,fi,t.appIdentity),pe(this,Nn,t.chains),pe(this,cr,t.chainSelector),pe(this,lr,t.remoteHostAuthority),pe(this,ur,t.onWalletNotFound),pe(this,hi,{[Ee.SolanaSignAndSendTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signAndSendTransaction:F(this,hr,"f")},[Ee.SolanaSignTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signTransaction:F(this,jr,"f")}})}get version(){return F(this,ls,"f")}get name(){return F(this,Ms,"f")}get url(){return F(this,ds,"f")}get icon(){return F(this,gs,"f")}get chains(){return F(this,Nn,"f")}get features(){return Object.assign({[Ee.StandardConnect]:{version:"1.0.0",connect:F(this,hs,"f")},[Ee.StandardDisconnect]:{version:"1.0.0",disconnect:F(this,gr,"f")},[Ee.StandardEvents]:{version:"1.0.0",on:F(this,fs,"f")},[Ee.SolanaSignMessage]:{version:"1.0.0",signMessage:F(this,Is,"f")},[Ee.SolanaSignIn]:{version:"1.0.0",signIn:F(this,Ls,"f")}},F(this,hi,"f"))}get accounts(){var t,n;return(n=(t=F(this,lt,"f"))===null||t===void 0?void 0:t.accounts)!==null&&n!==void 0?n:[]}get connected(){return!!F(this,Et,"f")&&!!F(this,lt,"f")}get isAuthorized(){return!!F(this,lt,"f")}get currentAuthorization(){return F(this,lt,"f")}get cachedAuthorizationResult(){return F(this,en,"f").get()}}Ln=new WeakMap,ls=new WeakMap,Ms=new WeakMap,ds=new WeakMap,gs=new WeakMap,fi=new WeakMap,lt=new WeakMap,en=new WeakMap,tn=new WeakMap,Bn=new WeakMap,Nn=new WeakMap,cr=new WeakMap,hi=new WeakMap,ur=new WeakMap,lr=new WeakMap,Et=new WeakMap,fs=new WeakMap,hs=new WeakMap,dr=new WeakMap,ji=new WeakMap,js=new WeakMap,Ni=new WeakMap,gr=new WeakMap,Zn=new WeakMap,yi=new WeakMap,fr=new WeakMap,Ns=new WeakMap,ys=new WeakMap,hr=new WeakMap,jr=new WeakMap,Is=new WeakMap,Ls=new WeakMap,Nr=new WeakMap,Pn=new WeakSet,Mr=function(t,...n){var i;(i=F(this,Ln,"f")[t])===null||i===void 0||i.forEach(r=>r.apply(null,n))},z2=function(t,n){var i;F(this,Ln,"f")[t]=(i=F(this,Ln,"f")[t])===null||i===void 0?void 0:i.filter(r=>n!==r)};var V5=function(e,t,n,i,r){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?r.call(e,n):r?r.value=n:t.set(e,n),n},J5=function(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},yr;function Ea(e){const t=({register:n})=>n(e);try{window.dispatchEvent(new q5(t))}catch(n){console.error(`wallet-standard:register-wallet event could not be dispatched
|
|
349
|
+
`,A2="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03IDIuNUgxN0MxNy44Mjg0IDIuNSAxOC41IDMuMTcxNTcgMTguNSA0VjIwQzE4LjUgMjAuODI4NCAxNy44Mjg0IDIxLjUgMTcgMjEuNUg3QzYuMTcxNTcgMjEuNSA1LjUgMjAuODI4NCA1LjUgMjBWNEM1LjUgMy4xNzE1NyA2LjE3MTU3IDIuNSA3IDIuNVpNMyA0QzMgMS43OTA4NiA0Ljc5MDg2IDAgNyAwSDE3QzE5LjIwOTEgMCAyMSAxLjc5MDg2IDIxIDRWMjBDMjEgMjIuMjA5MSAxOS4yMDkxIDI0IDE3IDI0SDdDNC43OTA4NiAyNCAzIDIyLjIwOTEgMyAyMFY0Wk0xMSA0LjYxNTM4QzEwLjQ0NzcgNC42MTUzOCAxMCA1LjA2MzEgMTAgNS42MTUzOFY2LjM4NDYyQzEwIDYuOTM2OSAxMC40NDc3IDcuMzg0NjIgMTEgNy4zODQ2MkgxM0MxMy41NTIzIDcuMzg0NjIgMTQgNi45MzY5IDE0IDYuMzg0NjJWNS42MTUzOEMxNCA1LjA2MzEgMTMuNTUyMyA0LjYxNTM4IDEzIDQuNjE1MzhIMTFaIiBmaWxsPSIjRENCOEZGIi8+Cjwvc3ZnPgo=";function on(e){return window.btoa(String.fromCharCode.call(null,...e))}function Mt(e){return new Uint8Array(window.atob(e).split("").map(t=>t.charCodeAt(0)))}var Yn,In,es,ts,ns,is,li,ut,Ft,Kt,Rn,jn,$i,Mi,Ki,rs,er,S2,os,tr,_n,nr,di,ir,Qn,gi,rr,ss,as,or,sr,cs,us,ar,Pn,Ln,ls,Ms,ds,gs,fi,lt,en,tn,Bn,Nn,cr,hi,ur,lr,Et,fs,Mr,E2,hs,dr,ji,js,Ni,gr,Zn,yi,fr,Ns,ys,hr,jr,Is,Ls,Nr;const z2="Mobile Wallet Adapter",b2=64,O2=[Ee.SolanaSignAndSendTransaction,Ee.SolanaSignTransaction,Ee.SolanaSignMessage,Ee.SolanaSignIn];class W5{constructor(t){Yn.add(this),In.set(this,{}),es.set(this,"1.0.0"),ts.set(this,z2),ns.set(this,"https://solanamobile.com/wallets"),is.set(this,A2),li.set(this,void 0),ut.set(this,void 0),Ft.set(this,void 0),Kt.set(this,!1),Rn.set(this,0),jn.set(this,[]),$i.set(this,void 0),Mi.set(this,void 0),Ki.set(this,void 0),rs.set(this,(n,i)=>{var r;return!((r=F(this,In,"f")[n])===null||r===void 0)&&r.push(i)||(F(this,In,"f")[n]=[i]),()=>F(this,Yn,"m",S2).call(this,n,i)}),os.set(this,({silent:n}={})=>Te(this,void 0,void 0,function*(){if(F(this,Kt,"f")||this.connected)return{accounts:this.accounts};pe(this,Kt,!0);try{if(n){const i=yield F(this,Ft,"f").get();if(i)yield F(this,nr,"f").call(this,i.capabilities),yield F(this,_n,"f").call(this,i);else return{accounts:this.accounts}}else yield F(this,tr,"f").call(this)}catch(i){throw new Error(i instanceof Error&&i.message||"Unknown error")}finally{pe(this,Kt,!1)}return{accounts:this.accounts}})),tr.set(this,n=>Te(this,void 0,void 0,function*(){try{const i=yield F(this,Ft,"f").get();if(i)return F(this,_n,"f").call(this,i),i;const r=yield F(this,$i,"f").select(F(this,jn,"f"));return yield F(this,Qn,"f").call(this,s=>Te(this,void 0,void 0,function*(){const[a,c]=yield Promise.all([s.getCapabilities(),s.authorize({chain:r,identity:F(this,li,"f"),sign_in_payload:n})]),u=F(this,rr,"f").call(this,c.accounts),l=Object.assign(Object.assign({},c),{accounts:u,chain:r,capabilities:a});return Promise.all([F(this,nr,"f").call(this,a),F(this,Ft,"f").set(l),F(this,_n,"f").call(this,l)]),l}))}catch(i){throw new Error(i instanceof Error&&i.message||"Unknown error")}})),_n.set(this,n=>Te(this,void 0,void 0,function*(){var i;const r=F(this,ut,"f")==null||((i=F(this,ut,"f"))===null||i===void 0?void 0:i.accounts.length)!==n.accounts.length||F(this,ut,"f").accounts.some((s,a)=>s.address!==n.accounts[a].address);pe(this,ut,n),r&&F(this,Yn,"m",er).call(this,"change",{accounts:this.accounts})})),nr.set(this,n=>Te(this,void 0,void 0,function*(){const i=n.features.includes("solana:signTransactions"),r=n.supports_sign_and_send_transactions,s=Ee.SolanaSignAndSendTransaction in this.features!==r||Ee.SolanaSignTransaction in this.features!==i;pe(this,Mi,Object.assign(Object.assign({},(r||!r&&!i)&&{[Ee.SolanaSignAndSendTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signAndSendTransaction:F(this,or,"f")}}),i&&{[Ee.SolanaSignTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signTransaction:F(this,sr,"f")}})),s&&F(this,Yn,"m",er).call(this,"change",{features:this.features})})),di.set(this,(n,i,r)=>Te(this,void 0,void 0,function*(){var s,a;try{const[c,u]=yield Promise.all([(a=(s=F(this,ut,"f"))===null||s===void 0?void 0:s.capabilities)!==null&&a!==void 0?a:yield n.getCapabilities(),n.authorize({auth_token:i,identity:F(this,li,"f"),chain:r})]),l=F(this,rr,"f").call(this,u.accounts),M=Object.assign(Object.assign({},u),{accounts:l,chain:r,capabilities:c});Promise.all([F(this,Ft,"f").set(M),F(this,_n,"f").call(this,M)])}catch(c){throw F(this,ir,"f").call(this),new Error(c instanceof Error&&c.message||"Unknown error")}})),ir.set(this,()=>Te(this,void 0,void 0,function*(){var n;F(this,Ft,"f").clear(),pe(this,Kt,!1),pe(this,Rn,(n=F(this,Rn,"f"),n++,n)),pe(this,ut,void 0),F(this,Yn,"m",er).call(this,"change",{accounts:this.accounts})})),Qn.set(this,n=>Te(this,void 0,void 0,function*(){var i;const r=(i=F(this,ut,"f"))===null||i===void 0?void 0:i.wallet_uri_base,s=r?{baseUri:r}:void 0,a=F(this,Rn,"f");try{return yield C2.transact(n,s)}catch(c){throw F(this,Rn,"f")!==a&&(yield new Promise(()=>{})),c instanceof Error&&c.name==="SolanaMobileWalletAdapterError"&&c.code==="ERROR_WALLET_NOT_FOUND"&&(yield F(this,Ki,"f").call(this,this)),c}})),gi.set(this,()=>{if(!F(this,ut,"f"))throw new Error("Wallet not connected");return{authToken:F(this,ut,"f").auth_token,chain:F(this,ut,"f").chain}}),rr.set(this,n=>n.map(i=>{var r,s;const a=Mt(i.address);return{address:wi.encode(a),publicKey:a,label:i.label,icon:i.icon,chains:(r=i.chains)!==null&&r!==void 0?r:F(this,jn,"f"),features:(s=i.features)!==null&&s!==void 0?s:O2}})),ss.set(this,n=>Te(this,void 0,void 0,function*(){const{authToken:i,chain:r}=F(this,gi,"f").call(this);try{const s=n.map(a=>on(a));return yield F(this,Qn,"f").call(this,a=>Te(this,void 0,void 0,function*(){return yield F(this,di,"f").call(this,a,i,r),(yield a.signTransactions({payloads:s})).signed_payloads.map(Mt)}))}catch(s){throw new Error(s instanceof Error&&s.message||"Unknown error")}})),as.set(this,(n,i)=>Te(this,void 0,void 0,function*(){const{authToken:r,chain:s}=F(this,gi,"f").call(this);try{return yield F(this,Qn,"f").call(this,a=>Te(this,void 0,void 0,function*(){const[c,u]=yield Promise.all([a.getCapabilities(),F(this,di,"f").call(this,a,r,s)]);if(c.supports_sign_and_send_transactions){const l=on(n);return(yield a.signAndSendTransactions(Object.assign(Object.assign({},i),{payloads:[l]}))).signatures.map(Mt)[0]}else throw new Error("connected wallet does not support signAndSendTransaction")}))}catch(a){throw new Error(a instanceof Error&&a.message||"Unknown error")}})),or.set(this,(...n)=>Te(this,void 0,void 0,function*(){const i=[];for(const r of n){const s=yield F(this,as,"f").call(this,r.transaction,r.options);i.push({signature:s})}return i})),sr.set(this,(...n)=>Te(this,void 0,void 0,function*(){return(yield F(this,ss,"f").call(this,n.map(({transaction:i})=>i))).map(i=>({signedTransaction:i}))})),cs.set(this,(...n)=>Te(this,void 0,void 0,function*(){const{authToken:i,chain:r}=F(this,gi,"f").call(this),s=n.map(({account:c})=>on(c.publicKey)),a=n.map(({message:c})=>on(c));try{return yield F(this,Qn,"f").call(this,c=>Te(this,void 0,void 0,function*(){return yield F(this,di,"f").call(this,c,i,r),(yield c.signMessages({addresses:s,payloads:a})).signed_payloads.map(Mt).map(l=>({signedMessage:l,signature:l.slice(-b2)}))}))}catch(c){throw new Error(c instanceof Error&&c.message||"Unknown error")}})),us.set(this,(...n)=>Te(this,void 0,void 0,function*(){const i=[];if(n.length>1)for(const r of n)i.push(yield F(this,ar,"f").call(this,r));else return[yield F(this,ar,"f").call(this,n[0])];return i})),ar.set(this,n=>Te(this,void 0,void 0,function*(){var i,r,s;pe(this,Kt,!0);try{const a=yield F(this,tr,"f").call(this,Object.assign(Object.assign({},n),{domain:(i=n?.domain)!==null&&i!==void 0?i:window.location.host}));if(!a.sign_in_result)throw new Error("Sign in failed, no sign in result returned by wallet");const c=a.sign_in_result.address,u=a.accounts.find(l=>l.address==c);return{account:Object.assign(Object.assign({},u??{address:wi.encode(Mt(c))}),{publicKey:Mt(c),chains:(r=u?.chains)!==null&&r!==void 0?r:F(this,jn,"f"),features:(s=u?.features)!==null&&s!==void 0?s:a.capabilities.features}),signedMessage:Mt(a.sign_in_result.signed_message),signature:Mt(a.sign_in_result.signature)}}catch(a){throw new Error(a instanceof Error&&a.message||"Unknown error")}finally{pe(this,Kt,!1)}})),pe(this,Ft,t.authorizationCache),pe(this,li,t.appIdentity),pe(this,jn,t.chains),pe(this,$i,t.chainSelector),pe(this,Ki,t.onWalletNotFound),pe(this,Mi,{[Ee.SolanaSignAndSendTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signAndSendTransaction:F(this,or,"f")},[Ee.SolanaSignTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signTransaction:F(this,sr,"f")}})}get version(){return F(this,es,"f")}get name(){return F(this,ts,"f")}get url(){return F(this,ns,"f")}get icon(){return F(this,is,"f")}get chains(){return F(this,jn,"f")}get features(){return Object.assign({[Ee.StandardConnect]:{version:"1.0.0",connect:F(this,os,"f")},[Ee.StandardDisconnect]:{version:"1.0.0",disconnect:F(this,ir,"f")},[Ee.StandardEvents]:{version:"1.0.0",on:F(this,rs,"f")},[Ee.SolanaSignMessage]:{version:"1.0.0",signMessage:F(this,cs,"f")},[Ee.SolanaSignIn]:{version:"1.0.0",signIn:F(this,us,"f")}},F(this,Mi,"f"))}get accounts(){var t,n;return(n=(t=F(this,ut,"f"))===null||t===void 0?void 0:t.accounts)!==null&&n!==void 0?n:[]}get connected(){return!!F(this,ut,"f")}get isAuthorized(){return!!F(this,ut,"f")}get currentAuthorization(){return F(this,ut,"f")}get cachedAuthorizationResult(){return F(this,Ft,"f").get()}}In=new WeakMap,es=new WeakMap,ts=new WeakMap,ns=new WeakMap,is=new WeakMap,li=new WeakMap,ut=new WeakMap,Ft=new WeakMap,Kt=new WeakMap,Rn=new WeakMap,jn=new WeakMap,$i=new WeakMap,Mi=new WeakMap,Ki=new WeakMap,rs=new WeakMap,os=new WeakMap,tr=new WeakMap,_n=new WeakMap,nr=new WeakMap,di=new WeakMap,ir=new WeakMap,Qn=new WeakMap,gi=new WeakMap,rr=new WeakMap,ss=new WeakMap,as=new WeakMap,or=new WeakMap,sr=new WeakMap,cs=new WeakMap,us=new WeakMap,ar=new WeakMap,Yn=new WeakSet,er=function(t,...n){var i;(i=F(this,In,"f")[t])===null||i===void 0||i.forEach(r=>r.apply(null,n))},S2=function(t,n){var i;F(this,In,"f")[t]=(i=F(this,In,"f")[t])===null||i===void 0?void 0:i.filter(r=>n!==r)};class F5{constructor(t){Pn.add(this),Ln.set(this,{}),ls.set(this,"1.0.0"),Ms.set(this,z2),ds.set(this,"https://solanamobile.com/wallets"),gs.set(this,A2),fi.set(this,void 0),lt.set(this,void 0),en.set(this,void 0),tn.set(this,!1),Bn.set(this,0),Nn.set(this,[]),cr.set(this,void 0),hi.set(this,void 0),ur.set(this,void 0),lr.set(this,void 0),Et.set(this,void 0),fs.set(this,(n,i)=>{var r;return!((r=F(this,Ln,"f")[n])===null||r===void 0)&&r.push(i)||(F(this,Ln,"f")[n]=[i]),()=>F(this,Pn,"m",E2).call(this,n,i)}),hs.set(this,({silent:n}={})=>Te(this,void 0,void 0,function*(){if(F(this,tn,"f")||this.connected)return{accounts:this.accounts};pe(this,tn,!0);try{yield F(this,dr,"f").call(this)}catch(i){throw new Error(i instanceof Error&&i.message||"Unknown error")}finally{pe(this,tn,!1)}return{accounts:this.accounts}})),dr.set(this,n=>Te(this,void 0,void 0,function*(){try{const i=yield F(this,en,"f").get();if(i)return F(this,ji,"f").call(this,i),i;F(this,Et,"f")&&pe(this,Et,void 0,"f");const r=yield F(this,cr,"f").select(F(this,Nn,"f"));return yield F(this,Zn,"f").call(this,s=>Te(this,void 0,void 0,function*(){const[a,c]=yield Promise.all([s.getCapabilities(),s.authorize({chain:r,identity:F(this,fi,"f"),sign_in_payload:n})]),u=F(this,fr,"f").call(this,c.accounts),l=Object.assign(Object.assign({},c),{accounts:u,chain:r,capabilities:a});return Promise.all([F(this,js,"f").call(this,a),F(this,en,"f").set(l),F(this,ji,"f").call(this,l)]),l}))}catch(i){throw new Error(i instanceof Error&&i.message||"Unknown error")}})),ji.set(this,n=>Te(this,void 0,void 0,function*(){var i;const r=F(this,lt,"f")==null||((i=F(this,lt,"f"))===null||i===void 0?void 0:i.accounts.length)!==n.accounts.length||F(this,lt,"f").accounts.some((s,a)=>s.address!==n.accounts[a].address);pe(this,lt,n),r&&F(this,Pn,"m",Mr).call(this,"change",{accounts:this.accounts})})),js.set(this,n=>Te(this,void 0,void 0,function*(){const i=n.features.includes("solana:signTransactions"),r=n.supports_sign_and_send_transactions||n.features.includes("solana:signAndSendTransaction"),s=Ee.SolanaSignAndSendTransaction in this.features!==r||Ee.SolanaSignTransaction in this.features!==i;pe(this,hi,Object.assign(Object.assign({},r&&{[Ee.SolanaSignAndSendTransaction]:{version:"1.0.0",supportedTransactionVersions:n.supported_transaction_versions,signAndSendTransaction:F(this,hr,"f")}}),i&&{[Ee.SolanaSignTransaction]:{version:"1.0.0",supportedTransactionVersions:n.supported_transaction_versions,signTransaction:F(this,jr,"f")}})),s&&F(this,Pn,"m",Mr).call(this,"change",{features:this.features})})),Ni.set(this,(n,i,r)=>Te(this,void 0,void 0,function*(){var s,a;try{const[c,u]=yield Promise.all([(a=(s=F(this,lt,"f"))===null||s===void 0?void 0:s.capabilities)!==null&&a!==void 0?a:yield n.getCapabilities(),n.authorize({auth_token:i,identity:F(this,fi,"f"),chain:r})]),l=F(this,fr,"f").call(this,u.accounts),M=Object.assign(Object.assign({},u),{accounts:l,chain:r,capabilities:c});Promise.all([F(this,en,"f").set(M),F(this,ji,"f").call(this,M)])}catch(c){throw F(this,gr,"f").call(this),new Error(c instanceof Error&&c.message||"Unknown error")}})),gr.set(this,()=>Te(this,void 0,void 0,function*(){var n,i;(n=F(this,Et,"f"))===null||n===void 0||n.close(),F(this,en,"f").clear(),pe(this,tn,!1),pe(this,Bn,(i=F(this,Bn,"f"),i++,i)),pe(this,lt,void 0),pe(this,Et,void 0),F(this,Pn,"m",Mr).call(this,"change",{accounts:this.accounts})})),Zn.set(this,n=>Te(this,void 0,void 0,function*(){var i;const r=(i=F(this,lt,"f"))===null||i===void 0?void 0:i.wallet_uri_base,a=Object.assign(Object.assign({},r?{baseUri:r}:void 0),{remoteHostAuthority:F(this,lr,"f")}),c=F(this,Bn,"f"),u=new P5;if(F(this,Et,"f"))return n(F(this,Et,"f").wallet);try{const{associationUrl:l,close:M,wallet:g}=yield C2.startRemoteScenario(a),N=u.addEventListener("close",y=>{y&&M()});return u.initWithQR(l.toString()),u.open(),pe(this,Et,{close:M,wallet:yield g},"f"),N(),u.close(),yield n(F(this,Et,"f").wallet)}catch(l){throw u.close(),F(this,Bn,"f")!==c&&(yield new Promise(()=>{})),l instanceof Error&&l.name==="SolanaMobileWalletAdapterError"&&l.code==="ERROR_WALLET_NOT_FOUND"&&(yield F(this,ur,"f").call(this,this)),l}})),yi.set(this,()=>{if(!F(this,lt,"f"))throw new Error("Wallet not connected");return{authToken:F(this,lt,"f").auth_token,chain:F(this,lt,"f").chain}}),fr.set(this,n=>n.map(i=>{var r,s;const a=Mt(i.address);return{address:wi.encode(a),publicKey:a,label:i.label,icon:i.icon,chains:(r=i.chains)!==null&&r!==void 0?r:F(this,Nn,"f"),features:(s=i.features)!==null&&s!==void 0?s:O2}})),Ns.set(this,n=>Te(this,void 0,void 0,function*(){const{authToken:i,chain:r}=F(this,yi,"f").call(this);try{return yield F(this,Zn,"f").call(this,s=>Te(this,void 0,void 0,function*(){return yield F(this,Ni,"f").call(this,s,i,r),(yield s.signTransactions({payloads:n.map(on)})).signed_payloads.map(Mt)}))}catch(s){throw new Error(s instanceof Error&&s.message||"Unknown error")}})),ys.set(this,(n,i)=>Te(this,void 0,void 0,function*(){const{authToken:r,chain:s}=F(this,yi,"f").call(this);try{return yield F(this,Zn,"f").call(this,a=>Te(this,void 0,void 0,function*(){const[c,u]=yield Promise.all([a.getCapabilities(),F(this,Ni,"f").call(this,a,r,s)]);if(c.supports_sign_and_send_transactions)return(yield a.signAndSendTransactions(Object.assign(Object.assign({},i),{payloads:[on(n)]}))).signatures.map(Mt)[0];throw new Error("connected wallet does not support signAndSendTransaction")}))}catch(a){throw new Error(a instanceof Error&&a.message||"Unknown error")}})),hr.set(this,(...n)=>Te(this,void 0,void 0,function*(){const i=[];for(const r of n){const s=yield F(this,ys,"f").call(this,r.transaction,r.options);i.push({signature:s})}return i})),jr.set(this,(...n)=>Te(this,void 0,void 0,function*(){return(yield F(this,Ns,"f").call(this,n.map(({transaction:i})=>i))).map(i=>({signedTransaction:i}))})),Is.set(this,(...n)=>Te(this,void 0,void 0,function*(){const{authToken:i,chain:r}=F(this,yi,"f").call(this),s=n.map(({account:c})=>on(c.publicKey)),a=n.map(({message:c})=>on(c));try{return yield F(this,Zn,"f").call(this,c=>Te(this,void 0,void 0,function*(){return yield F(this,Ni,"f").call(this,c,i,r),(yield c.signMessages({addresses:s,payloads:a})).signed_payloads.map(Mt).map(l=>({signedMessage:l,signature:l.slice(-b2)}))}))}catch(c){throw new Error(c instanceof Error&&c.message||"Unknown error")}})),Ls.set(this,(...n)=>Te(this,void 0,void 0,function*(){const i=[];if(n.length>1)for(const r of n)i.push(yield F(this,Nr,"f").call(this,r));else return[yield F(this,Nr,"f").call(this,n[0])];return i})),Nr.set(this,n=>Te(this,void 0,void 0,function*(){var i,r,s;pe(this,tn,!0);try{const a=yield F(this,dr,"f").call(this,Object.assign(Object.assign({},n),{domain:(i=n?.domain)!==null&&i!==void 0?i:window.location.host}));if(!a.sign_in_result)throw new Error("Sign in failed, no sign in result returned by wallet");const c=a.sign_in_result.address,u=a.accounts.find(l=>l.address==c);return{account:Object.assign(Object.assign({},u??{address:wi.encode(Mt(c))}),{publicKey:Mt(c),chains:(r=u?.chains)!==null&&r!==void 0?r:F(this,Nn,"f"),features:(s=u?.features)!==null&&s!==void 0?s:a.capabilities.features}),signedMessage:Mt(a.sign_in_result.signed_message),signature:Mt(a.sign_in_result.signature)}}catch(a){throw new Error(a instanceof Error&&a.message||"Unknown error")}finally{pe(this,tn,!1)}})),pe(this,en,t.authorizationCache),pe(this,fi,t.appIdentity),pe(this,Nn,t.chains),pe(this,cr,t.chainSelector),pe(this,lr,t.remoteHostAuthority),pe(this,ur,t.onWalletNotFound),pe(this,hi,{[Ee.SolanaSignAndSendTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signAndSendTransaction:F(this,hr,"f")},[Ee.SolanaSignTransaction]:{version:"1.0.0",supportedTransactionVersions:["legacy",0],signTransaction:F(this,jr,"f")}})}get version(){return F(this,ls,"f")}get name(){return F(this,Ms,"f")}get url(){return F(this,ds,"f")}get icon(){return F(this,gs,"f")}get chains(){return F(this,Nn,"f")}get features(){return Object.assign({[Ee.StandardConnect]:{version:"1.0.0",connect:F(this,hs,"f")},[Ee.StandardDisconnect]:{version:"1.0.0",disconnect:F(this,gr,"f")},[Ee.StandardEvents]:{version:"1.0.0",on:F(this,fs,"f")},[Ee.SolanaSignMessage]:{version:"1.0.0",signMessage:F(this,Is,"f")},[Ee.SolanaSignIn]:{version:"1.0.0",signIn:F(this,Ls,"f")}},F(this,hi,"f"))}get accounts(){var t,n;return(n=(t=F(this,lt,"f"))===null||t===void 0?void 0:t.accounts)!==null&&n!==void 0?n:[]}get connected(){return!!F(this,Et,"f")&&!!F(this,lt,"f")}get isAuthorized(){return!!F(this,lt,"f")}get currentAuthorization(){return F(this,lt,"f")}get cachedAuthorizationResult(){return F(this,en,"f").get()}}Ln=new WeakMap,ls=new WeakMap,Ms=new WeakMap,ds=new WeakMap,gs=new WeakMap,fi=new WeakMap,lt=new WeakMap,en=new WeakMap,tn=new WeakMap,Bn=new WeakMap,Nn=new WeakMap,cr=new WeakMap,hi=new WeakMap,ur=new WeakMap,lr=new WeakMap,Et=new WeakMap,fs=new WeakMap,hs=new WeakMap,dr=new WeakMap,ji=new WeakMap,js=new WeakMap,Ni=new WeakMap,gr=new WeakMap,Zn=new WeakMap,yi=new WeakMap,fr=new WeakMap,Ns=new WeakMap,ys=new WeakMap,hr=new WeakMap,jr=new WeakMap,Is=new WeakMap,Ls=new WeakMap,Nr=new WeakMap,Pn=new WeakSet,Mr=function(t,...n){var i;(i=F(this,Ln,"f")[t])===null||i===void 0||i.forEach(r=>r.apply(null,n))},E2=function(t,n){var i;F(this,Ln,"f")[t]=(i=F(this,Ln,"f")[t])===null||i===void 0?void 0:i.filter(r=>n!==r)};var H5=function(e,t,n,i,r){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?r.call(e,n):r?r.value=n:t.set(e,n),n},G5=function(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},yr;function Ea(e){const t=({register:n})=>n(e);try{window.dispatchEvent(new V5(t))}catch(n){console.error(`wallet-standard:register-wallet event could not be dispatched
|
|
350
350
|
`,n)}try{window.addEventListener("wallet-standard:app-ready",({detail:n})=>t(n))}catch(n){console.error(`wallet-standard:app-ready event listener could not be added
|
|
351
|
-
`,n)}}class
|
|
351
|
+
`,n)}}class V5 extends Event{constructor(t){super("wallet-standard:register-wallet",{bubbles:!1,cancelable:!1,composed:!1}),yr.set(this,void 0),H5(this,yr,t,"f")}get detail(){return G5(this,yr,"f")}get type(){return"wallet-standard:register-wallet"}preventDefault(){throw new Error("preventDefault cannot be called")}stopImmediatePropagation(){throw new Error("stopImmediatePropagation cannot be called")}stopPropagation(){throw new Error("stopPropagation cannot be called")}}yr=new WeakMap;function J5(){return typeof window<"u"&&window.isSecureContext&&typeof document<"u"&&/android/i.test(navigator.userAgent)}function q5(){return typeof window<"u"&&window.isSecureContext&&typeof document<"u"&&!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function X5(e){J5()?Ea(new W5(e)):q5()&&e.remoteHostAuthority!==void 0&&Ea(new F5(Object.assign(Object.assign({},e),{remoteHostAuthority:e.remoteHostAuthority})))}const $5="To use mobile wallet adapter, you must have a compatible mobile wallet application installed on your device.",K5="This browser appears to be incompatible with mobile wallet adapter. Open this page in a compatible mobile browser app and try again.";class eM extends w2{constructor(){super(...arguments),this.contentStyles=nM,this.contentHtml=tM}initWithError(t){super.init(),this.populateError(t)}populateError(t){var n,i;const r=(n=this.dom)===null||n===void 0?void 0:n.getElementById("mobile-wallet-adapter-error-message"),s=(i=this.dom)===null||i===void 0?void 0:i.getElementById("mobile-wallet-adapter-error-action");if(r){if(t.name==="SolanaMobileWalletAdapterError")switch(t.code){case"ERROR_WALLET_NOT_FOUND":r.innerHTML=$5,s&&s.addEventListener("click",()=>{window.location.href="https://solanamobile.com/wallets"});return;case"ERROR_BROWSER_NOT_SUPPORTED":r.innerHTML=K5,s&&(s.style.display="none");return}r.innerHTML=`An unexpected error occurred: ${t.message}`}else console.log("Failed to locate error dialog element")}}const tM=`
|
|
352
352
|
<svg class="mobile-wallet-adapter-embedded-modal-error-icon" xmlns="http://www.w3.org/2000/svg" height="50px" viewBox="0 -960 960 960" width="50px" fill="#000000"><path d="M 280,-80 Q 197,-80 138.5,-138.5 80,-197 80,-280 80,-363 138.5,-421.5 197,-480 280,-480 q 83,0 141.5,58.5 58.5,58.5 58.5,141.5 0,83 -58.5,141.5 Q 363,-80 280,-80 Z M 824,-120 568,-376 Q 556,-389 542.5,-402.5 529,-416 516,-428 q 38,-24 61,-64 23,-40 23,-88 0,-75 -52.5,-127.5 Q 495,-760 420,-760 345,-760 292.5,-707.5 240,-655 240,-580 q 0,6 0.5,11.5 0.5,5.5 1.5,11.5 -18,2 -39.5,8 -21.5,6 -38.5,14 -2,-11 -3,-22 -1,-11 -1,-23 0,-109 75.5,-184.5 Q 311,-840 420,-840 q 109,0 184.5,75.5 75.5,75.5 75.5,184.5 0,43 -13.5,81.5 Q 653,-460 629,-428 l 251,252 z m -615,-61 71,-71 70,71 29,-28 -71,-71 71,-71 -28,-28 -71,71 -71,-71 -28,28 71,71 -71,71 z"/></svg>
|
|
353
353
|
<div class="mobile-wallet-adapter-embedded-modal-title">We can't find a wallet.</div>
|
|
354
354
|
<div id="mobile-wallet-adapter-error-message" class="mobile-wallet-adapter-embedded-modal-subtitle"></div>
|
|
@@ -357,7 +357,7 @@ ${w.join(`
|
|
|
357
357
|
Find a wallet
|
|
358
358
|
</button>
|
|
359
359
|
</div>
|
|
360
|
-
`,
|
|
360
|
+
`,nM=`
|
|
361
361
|
.mobile-wallet-adapter-embedded-modal-content {
|
|
362
362
|
text-align: center;
|
|
363
363
|
}
|
|
@@ -405,53 +405,8 @@ ${w.join(`
|
|
|
405
405
|
margin-left: 12px;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
`;function oM(){return Te(this,void 0,void 0,function*(){if(typeof window<"u"){const e=window.navigator.userAgent.toLowerCase(),t=new nM;e.includes("wv")?t.initWithError({name:"SolanaMobileWalletAdapterError",code:"ERROR_BROWSER_NOT_SUPPORTED",message:""}):t.initWithError({name:"SolanaMobileWalletAdapterError",code:"ERROR_WALLET_NOT_FOUND",message:""}),t.open()}})}function sM(){return()=>Te(this,void 0,void 0,function*(){oM()})}const po="SolanaMobileWalletAdapterDefaultAuthorizationCache";function aM(){let e;try{e=window.localStorage}catch{}return{clear(){return Te(this,void 0,void 0,function*(){if(e)try{e.removeItem(po)}catch{}})},get(){return Te(this,void 0,void 0,function*(){if(e)try{const t=JSON.parse(e.getItem(po));if(t&&t.accounts){const n=t.accounts.map(i=>Object.assign(Object.assign({},i),{publicKey:"publicKey"in i?new Uint8Array(Object.values(i.publicKey)):Di.decode(i.address)}));return Object.assign(Object.assign({},t),{accounts:n})}else return t||void 0}catch{}})},set(t){return Te(this,void 0,void 0,function*(){if(e)try{e.setItem(po,JSON.stringify(t))}catch{}})}}}function cM(){return{select(e){return Te(this,void 0,void 0,function*(){return e.length===1?e[0]:e.includes(Ee.SOLANA_MAINNET_CHAIN)?Ee.SOLANA_MAINNET_CHAIN:e[0]})}}}let dt;const ht={};function Sr(e,t,n,i){const r=Vs(e,t),s=n.getName();!(i||!r?void 0:!!localStorage.getItem(r))&&r&&s!==Sn.NAME&&localStorage.setItem(r,s)}function Er(e,t){const n=Vs(e,t);n&&localStorage.removeItem(n)}function v2(e,t,n){ht[t]={chain:e,wallet:n},Sr(e,t,n,!0);const i=t===we.TransferWallet.RECEIVING?we.TransferWallet.SENDING:we.TransferWallet.RECEIVING;Sr(e,i,n,!1)}async function U2(e,t){const n=b.networkChainToNativeChainId.get(x.config.network,t),i=typeof n=="bigint"?Number(n):n;if(i===void 0)throw new Error(`Native chain ID not found for ${t} on ${x.config.network}`);if(await e.connect({chainId:i}),!e.getAddress())throw new Error(`Wallet ${e.getName()} did not return an address for chain ${t}`)}function Vs(e,t){const n=x.config.chains[e];if(!n)return null;const i=b.chainToPlatform(n.sdkName);return x.config.cacheKey(`wallet:${i}:${t}`)}async function uM(e,t){const n=Vs(e,t);if(!n)return null;const i=localStorage.getItem(n);if(!i||i==="WalletConnect")return null;try{const r=x.config.chains[e],a=(await we.getWalletOptions(r)).find(c=>c.name===i);return a?.isReady?(await U2(a.wallet,e),v2(e,t,a.wallet),a.wallet):(Er(e,t),null)}catch{return Er(e,t),null}}async function lM(e,t,n){if(n)return await uM(e,t);if(dt)return dt.chain!==e||dt.type!==t?Promise.reject("Connect wallet pending for other chain/type"):dt.promise;let i,r;const s=new Promise((a,c)=>{i=a,r=c});return dt={chain:e,type:t,promise:s,resolve:i,reject:r},s}function MM(e,t){const n=ht[t];if(!n||n.chain!==e)return;ht[t]=void 0,Er(e,t);const i=t===we.TransferWallet.RECEIVING?we.TransferWallet.SENDING:we.TransferWallet.RECEIVING;Er(e,i);try{n.wallet.disconnect()}catch(r){console.error("Error disconnecting wallet:",r)}}function dM(e,t){const n=ht[t];return!n||!e||b.chainToPlatform(n.chain)!==b.chainToPlatform(e)?null:n.wallet}async function gM(e,t,n){return await we.signAndSendTransaction(e,n,t)}function fM(){let e=ht.sending,t=ht.receiving;t?.wallet.getName()===Sn.NAME&&t.wallet.disconnect();const n=ht.sending;ht.sending=ht.receiving,ht.receiving=n,e=ht.sending,t=ht.receiving,e&&Sr(e?.chain,we.TransferWallet.SENDING,e?.wallet,!0),t&&Sr(t?.chain,we.TransferWallet.RECEIVING,t?.wallet,!0)}function hM(e,t){}function jM(e,t){}async function NM(e,t,n){if(!dt)throw new Error("No pending wallet connection request");if(dt.chain!==t||dt.type!==n)throw new Error(`Wallet selection mismatch: expected ${dt.chain}/${dt.type}, but got ${t}/${n}`);try{await U2(e,t),v2(t,n,e),dt.resolve(e)}catch(i){dt.reject(i)}finally{dt=void 0}}function yM(){dt&&(dt.reject(new Error("User cancelled wallet connection")),dt=void 0)}function IM(){ht.sending=void 0,ht.receiving=void 0}const LM={isInternal:!0,connectWallet:lM,disconnectWallet:MM,clearWallets:IM,getWallet:dM,signAndSendTransaction:gM,swapWallets:fM,on:hM,off:jM,onWalletSelected:NM,onWalletSelectCancelled:yM};function xM(e){return Object.hasOwn(e,"isInternal")}function TM({onClose:e,title:t}){const n=B.useTheme(),i={header:{display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},title:{fontSize:"20px",fontWeight:600,lineHeight:"32px",display:"flex",alignItems:"center",justifyContent:"center"},iconButton:{position:"absolute",backgroundColor:n.palette.formContainer.background,border:"1px solid "+n.palette.input.border,"&:hover":{backgroundColor:n.palette.formContainer.background},height:"32px",width:"32px",fontSize:"16px",right:"16px"}};return o.jsxs(B.DialogTitle,{sx:i.header,children:[o.jsx(Me,{sx:i.title,role:"heading","aria-level":2,children:t}),o.jsx(Tn,{sx:i.iconButton,onClick:e,"aria-label":"Close wallet picker",children:o.jsx(Es,{fontSize:"inherit"})})]})}const Y2=I.memo(TM),CM="Failed to load wallets. Please refresh and try again.",mM=e=>{const{chain:t,supportedChains:n}=e,[i,r]=I.useState({state:"loading"});return I.useEffect(()=>{let s=!1;async function a(){if(!t)return[];const c=x.config.chains[t];return c&&n.has(b.chainToPlatform(c.sdkName))?await we.getWalletOptions(c):[]}return(async()=>{try{const c=await a();!s&&c&&r({state:"result",options:c})}catch(c){console.error(`Error loading wallet options for ${t}: ${c}`),r({state:"error",error:CM})}})(),()=>{s=!0}},[t,n]),{walletOptionsResult:i}};function pM(e){const t=e.size||32,{icon:n,name:i}=e,r=I.useMemo(()=>({container:{height:t,width:t,...vr},icon:{maxHeight:"100%",maxWidth:"100%"}}),[t]);return o.jsx(B.Box,{sx:r.container,children:n&&o.jsx("img",{style:r.icon,src:n,alt:i})})}function DM(e){if(!e.startsWith("0x")||e.length!==42||!b.hex.valid(e))return!1;try{return b.getAddress(e),!0}catch{return!1}}async function wM(e){try{const t=new Ze.PublicKey(e);if(x.config.rpcs.Solana){const n=new Ze.Connection(x.config.rpcs.Solana);if((await Promise.allSettled([At.getAccount(n,t,"finalized",At.TOKEN_PROGRAM_ID),At.getAccount(n,t,"finalized",At.TOKEN_2022_PROGRAM_ID)])).some(r=>r.status==="fulfilled"))return!1}return!0}catch{return!1}}function AM(e){return e.startsWith("0x")&&e.length===66&&b.hex.valid(e)}async function SM(e,t){const n=b.chainToPlatform(e);switch(n){case"Evm":if(!DM(t))return null;break;case"Solana":if(!await wM(t))return null;break;case"Sui":if(!cc.isValidSuiAddress(t))return null;break;case"Aptos":if(!AM(t))return null;break;default:return console.warn(`Unsupported platform: ${n}`),null}try{return b.toNative(e,t)}catch(i){console.error(`Invalid address for chain ${e}: ${t}, error: ${i}`)}return null}function EM({onSelect:e,showAddressInput:t,walletType:n}){const i=tt(),r=B.useTheme(),{walletProvider:s}=ln(),a=s,c=I.useMemo(()=>({listButton:{display:"flex",flexDirection:"row",padding:"12px 16px"},drawer:{width:"360px"},notInstalled:{opacity:.6},title:{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},smOnly:{display:"none",[r.breakpoints.down("sm")]:{display:"block"}},addressInputContainer:{display:"flex",flexDirection:"row",gap:"8px",padding:"16px"},addressField:{flex:1},submitButton:{width:"100%"}}),[r]),{fromChain:u,toChain:l}=Ae(D=>D.transferInput),[M,g]=I.useState(""),[N,y]=I.useState(""),T=I.useMemo(()=>{const D=x.config.chainsArr.map(j=>b.chainToPlatform(j.sdkName));return new Set(D)},[]),d=I.useMemo(()=>n===we.TransferWallet.SENDING?u:l,[n,u,l]),{walletOptionsResult:f}=mM({chain:d,supportedChains:T}),C=I.useCallback(async D=>{if(d){e();try{await a.onWalletSelected(D.wallet,d,n)}catch(j){console.error("Failed to select wallet:",j)}}},[d,n,e,a]),m=I.useCallback(async()=>{if(!d||!M||!x.config.chains[d])return;const j=await SM(d,M);if(!j){y("Invalid Address"),i(Ci(we.TransferWallet.RECEIVING));return}for(const p of $o)if(j.toString().toLowerCase()===p.toLowerCase()){y("Restricted Address"),i(Ci(we.TransferWallet.RECEIVING));return}const L=new Sn(j,d);e();try{await a.onWalletSelected(L,d,we.TransferWallet.RECEIVING)}catch(p){console.error("Failed to select wallet:",p)}},[M,d,e,i,a]),h=I.useCallback(D=>[...D].sort(L=>L.isReady?-1:1).map(L=>o.jsxs(sn,{sx:c.listButton,dense:!0,onClick:()=>L.isReady?C(L):window.open(L.wallet.getUrl()),children:[o.jsx(bs,{children:o.jsx(pM,{name:L.name,icon:L.icon})}),o.jsxs(he,{sx:{display:"flex",flexDirection:"column"},children:[o.jsx(Me,{component:"div",fontSize:14,children:o.jsxs(he,{sx:L.isReady?{}:c.notInstalled,children:[!L.isReady&&"Install"," ",L.name]})}),L.description&&o.jsx(Me,{component:"div",fontSize:12,color:r.palette.text.secondary,sx:{marginTop:"2px"},children:L.description})]})]},L.name)),[c.listButton,c.notInstalled,C,r.palette.text.secondary]);return f.state==="loading"?o.jsx(St,{}):f.state==="error"?o.jsx(Vn,{error:!0,children:f.error}):f.options?.length?o.jsxs(o.Fragment,{children:[o.jsx(zs,{sx:{overflow:"auto",flex:1},children:h(f.options)}),t&&o.jsxs(he,{sx:c.addressInputContainer,children:[o.jsx(Os,{sx:c.addressField,fullWidth:!0,placeholder:"Send to a wallet address",size:"small",variant:"outlined",value:M,onChange:D=>{g(D.target.value),y("")},error:!!N,helperText:N}),o.jsx("div",{children:o.jsx(r0,{variant:"contained",color:"primary",onClick:m,disabled:!M,children:"Submit"})})]})]}):o.jsx(he,{sx:{display:"flex",justifyContent:"center",paddingY:5},children:o.jsx(Me,{children:"No available wallets"})})}const R2=I.memo(EM);function zM({open:e,onCancel:t,onOpen:n,onSelect:i,showAddressInput:r,title:s,walletType:a}){const c=B.useTheme();return o.jsxs(Ss,{anchor:"bottom",open:e,slotProps:{paper:{sx:{background:c.palette.input.background,borderRadius:"8px",height:"calc(100vh - 40px)",maxWidth:"100vw",display:"flex",flexDirection:"column",overflow:"hidden"}}},transitionDuration:200,onOpen:n,onClose:t,children:[o.jsx(De,{alignItems:"center",paddingBottom:"4px",paddingTop:"8px",children:o.jsx(he,{sx:{width:"40px",height:"5px",backgroundColor:c.palette.text.secondary,borderRadius:"8px"}})}),o.jsx(Y2,{onClose:t,title:s}),o.jsx(R2,{onSelect:i,walletType:a,showAddressInput:r})]})}const bM=I.memo(zM);function OM({open:e,onCancel:t,onSelect:n,showAddressInput:i,title:r,walletType:s}){const a=B.useTheme();return o.jsxs(B.Dialog,{open:e,onClose:t,slotProps:{paper:{sx:{width:"400px",maxHeight:"80vh",borderRadius:"8px",background:a.palette.input.background,backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.24)",display:"flex",flexDirection:"column",overflow:"hidden"}},root:{sx:{display:"flex",justifyContent:"center",alignItems:"center",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"}}},children:[o.jsx(Y2,{onClose:t,title:r}),o.jsx(R2,{onSelect:n,walletType:s,showAddressInput:i})]})}function kM({isAddressInputVisible:e,open:t,setIsOpen:n,walletType:i}){const r=B.useTheme(),s=B.useMediaQuery(r.breakpoints.down("sm")),{walletProvider:a}=ln(),c=a,u=e&&i===we.TransferWallet.RECEIVING,l=I.useCallback(()=>{c.onWalletSelectCancelled(),n(!1)},[c,n]),M=I.useCallback(()=>{n(!1)},[n]),g=I.useCallback(()=>{n(!0)},[n]);if(!xM(a))return null;const N=i===we.TransferWallet.RECEIVING?"Select destination wallet":"Connect a wallet";return s?o.jsx(bM,{open:t,onCancel:l,onSelect:M,onOpen:g,showAddressInput:u,walletType:i,title:N}):o.jsx(OM,{open:t,onCancel:l,onSelect:M,showAddressInput:u,walletType:i,title:N})}const Js=I.memo(kM),vM=e=>{const{disabled:t=!1,type:n}=e,i=Ae(y=>y.wallet[n]),{fromChain:r,toChain:s}=Ae(y=>y.transferInput),{connectWallet:a}=ln(),c=n===we.TransferWallet.SENDING?r:s,[u,l]=I.useState(!1);I.useEffect(()=>{K5({appIdentity:{name:"Wormhole Connect",uri:"https://portalbridge.com/",icon:"/logo192.png"},authorizationCache:aM(),chains:["solana:devnet","solana:mainnet"],chainSelector:cM(),onWalletNotFound:sM()})},[]);const M=I.useCallback(async y=>{t||!c||(y?.close(),l(!0),await a(c,n))},[t,c,n,a]),g=I.useMemo(()=>i?.address?o.jsx("div",{children:`Connected to ${x.displayWalletAddress(i.type,i.address)}`}):null,[i.address,i.type]),N=I.useMemo(()=>{const y=o.jsx("span",{style:{width:"100%"},children:o.jsx(zt,{disableRipple:!0,variant:"primary","data-testid":`${e.side}-section-connect-wallet-button`,disabled:t,styleOverrides:{"&:disabled":{cursor:"not-allowed",pointerEvents:"all !important"}},onClick:()=>M(),children:o.jsx(Me,{textTransform:"none",children:`Connect ${e.side} wallet`})})});return t?o.jsx(zr,{title:`Please select a ${e.side} network`,children:y}):o.jsxs(o.Fragment,{children:[y,o.jsx(Js,{open:u,walletType:e.type,setIsOpen:l,isAddressInputVisible:!0})]})},[t,u,e.side,e.type,M]);return i&&i.address?g:N};function ai(e){if(typeof window>"u")return e;const t=qe.useRef(null);return qe.useLayoutEffect(()=>{t.current=e}),qe.useCallback((...n)=>{var i;(i=t.current)===null||i===void 0||i.call(t,...n)},[])}const za={};function UM(e,t){za[e]||(za[e]=!0,console.error("[material-ui-popup-state] WARNING",t))}const YM={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},ba=qe,RM="useId"in ba?()=>ba.useId():()=>{};function _2({parentPopupState:e,popupId:t=RM(),variant:n,disableAutoFocus:i}){const r=I.useRef(!0);I.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]);const[s,a]=I.useState(YM),c=I.useCallback(m=>{r.current&&a(m)},[]),u=I.useCallback(m=>c(h=>({...h,setAnchorElUsed:!0,anchorEl:m??void 0})),[]),l=ai(m=>(s.isOpen?N(m):M(m),s)),M=ai(m=>{const h=m instanceof Element?void 0:m,D=m instanceof Element?m:m?.currentTarget instanceof Element?m.currentTarget:void 0;if(h?.type==="touchstart"){c(w=>({...w,_deferNextOpen:!0}));return}const j=h?.clientX,L=h?.clientY,p=typeof j=="number"&&typeof L=="number"?{left:j,top:L}:void 0,S=w=>{if(!m&&!w.setAnchorElUsed&&n!=="dialog"&&UM("missingEventOrAnchorEl","eventOrAnchorEl should be defined if setAnchorEl is not used"),e){if(!e.isOpen)return w;setTimeout(()=>e._setChildPopupState(C))}const z={...w,isOpen:!0,anchorPosition:p,hovered:h?.type==="mouseover"||w.hovered,focused:h?.type==="focus"||w.focused,_openEventType:h?.type};return w.setAnchorElUsed||(h!=null&&h.currentTarget?z.anchorEl=h.currentTarget:D&&(z.anchorEl=D)),z};c(w=>w._deferNextOpen?(setTimeout(()=>c(S),0),{...w,_deferNextOpen:!1}):S(w))}),g=m=>{const{_childPopupState:h}=m;return setTimeout(()=>{h?.close(),e?._setChildPopupState(null)}),{...m,isOpen:!1,hovered:!1,focused:!1}},N=ai(m=>{const h=m instanceof Element?void 0:m;if(h?.type==="touchstart"){c(D=>({...D,_deferNextClose:!0}));return}c(D=>D._deferNextClose?(setTimeout(()=>c(g),0),{...D,_deferNextClose:!1}):g(D))}),y=I.useCallback((m,h)=>{m?M(h):N(h)},[]),T=ai(m=>{const{relatedTarget:h}=m;c(D=>D.hovered&&!(h instanceof Element&&xs(h,C))?D.focused?{...D,hovered:!1}:g(D):D)}),d=ai(m=>{if(!m)return;const{relatedTarget:h}=m;c(D=>D.focused&&!(h instanceof Element&&xs(h,C))?D.hovered?{...D,focused:!1}:g(D):D)}),f=I.useCallback(m=>c(h=>({...h,_childPopupState:m})),[]),C={...s,setAnchorEl:u,popupId:t??void 0,variant:n,open:M,close:N,toggle:l,setOpen:y,onBlur:d,onMouseLeave:T,disableAutoFocus:i??!!(s.hovered||s.focused),_setChildPopupState:f};return C}function _M({isOpen:e,popupId:t,variant:n}){return{...n==="popover"?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:n==="popper"?{"aria-describedby":e?t:void 0}:void 0}}function Q2(e){return{..._M(e),onClick:e.open,onTouchStart:e.open}}function P2({isOpen:e,anchorEl:t,anchorPosition:n,close:i,popupId:r,onMouseLeave:s,disableAutoFocus:a,_openEventType:c}){return{id:r,anchorEl:t,anchorPosition:n,anchorReference:c==="contextmenu"?"anchorPosition":"anchorEl",open:e,onClose:i,onMouseLeave:s,...a&&{disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function QM(e,{popupId:t}){if(!t)return null;const n=typeof e.getRootNode=="function"?e.getRootNode():document;return typeof n.getElementById=="function"?n.getElementById(t):null}function xs(e,t){const{anchorEl:n,_childPopupState:i}=t;return Oa(n,e)||Oa(QM(e,t),e)||i!=null&&xs(e,i)}function Oa(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const PM=({tokenList:e,searchQuery:t,selectedChainConfig:n,selectedToken:i,sourceToken:r,destToken:s,wallet:a,balances:c,isSourceList:u=!1})=>{const{getTokenPrice:l,lastTokenPriceUpdate:M}=ft();return I.useMemo(()=>{if(!e)return[];let g=t5(e,t,n);return g=n5(g,i,c,l,u?s:r),g=Ko(g,n),g=i5(g,r,u),u&&!t&&x.config.network==="Mainnet"&&(g=r5(g)),g},[e,t,n,i,a.address,c,l,M,u,r,s])};/**
|
|
409
|
-
* @license lucide-react v0.554.0 - ISC
|
|
410
|
-
*
|
|
411
|
-
* This source code is licensed under the ISC license.
|
|
412
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
413
|
-
*/const BM=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ZM=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,i)=>i?i.toUpperCase():n.toLowerCase()),ka=e=>{const t=ZM(e);return t.charAt(0).toUpperCase()+t.slice(1)},B2=(...e)=>e.filter((t,n,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===n).join(" ").trim(),WM=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
|
|
414
|
-
* @license lucide-react v0.554.0 - ISC
|
|
415
|
-
*
|
|
416
|
-
* This source code is licensed under the ISC license.
|
|
417
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
418
|
-
*/var FM={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
419
|
-
* @license lucide-react v0.554.0 - ISC
|
|
420
|
-
*
|
|
421
|
-
* This source code is licensed under the ISC license.
|
|
422
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
423
|
-
*/const HM=I.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:r="",children:s,iconNode:a,...c},u)=>I.createElement("svg",{ref:u,...FM,width:t,height:t,stroke:e,strokeWidth:i?Number(n)*24/Number(t):n,className:B2("lucide",r),...!s&&!WM(c)&&{"aria-hidden":"true"},...c},[...a.map(([l,M])=>I.createElement(l,M)),...Array.isArray(s)?s:[s]]));/**
|
|
424
|
-
* @license lucide-react v0.554.0 - ISC
|
|
425
|
-
*
|
|
426
|
-
* This source code is licensed under the ISC license.
|
|
427
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
428
|
-
*/const bi=(e,t)=>{const n=I.forwardRef(({className:i,...r},s)=>I.createElement(HM,{ref:s,iconNode:t,className:B2(`lucide-${BM(ka(e))}`,`lucide-${e}`,i),...r}));return n.displayName=ka(e),n};/**
|
|
429
|
-
* @license lucide-react v0.554.0 - ISC
|
|
430
|
-
*
|
|
431
|
-
* This source code is licensed under the ISC license.
|
|
432
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
433
|
-
*/const GM=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],VM=bi("copy",GM);/**
|
|
434
|
-
* @license lucide-react v0.554.0 - ISC
|
|
435
|
-
*
|
|
436
|
-
* This source code is licensed under the ISC license.
|
|
437
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
438
|
-
*/const JM=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],qM=bi("external-link",JM);/**
|
|
439
|
-
* @license lucide-react v0.554.0 - ISC
|
|
440
|
-
*
|
|
441
|
-
* This source code is licensed under the ISC license.
|
|
442
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
443
|
-
*/const XM=[["path",{d:"m2 9 3-3 3 3",key:"1ltn5i"}],["path",{d:"M13 18H7a2 2 0 0 1-2-2V6",key:"1r6tfw"}],["path",{d:"m22 15-3 3-3-3",key:"4rnwn2"}],["path",{d:"M11 6h6a2 2 0 0 1 2 2v10",key:"2f72bc"}]],$M=bi("repeat-2",XM);/**
|
|
444
|
-
* @license lucide-react v0.554.0 - ISC
|
|
445
|
-
*
|
|
446
|
-
* This source code is licensed under the ISC license.
|
|
447
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
448
|
-
*/const KM=[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]],ed=bi("unplug",KM);/**
|
|
449
|
-
* @license lucide-react v0.554.0 - ISC
|
|
450
|
-
*
|
|
451
|
-
* This source code is licensed under the ISC license.
|
|
452
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
453
|
-
*/const td=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],nd=bi("wallet",td),id=e=>{const{address:t,href:n,target:i="_blank",label:r="Transactions",sx:s}=e,a=I.useCallback(()=>window.open(n.replace("{:address}",t),i),[t,n,i]);return o.jsxs(B.ListItemButton,{onClick:a,sx:s,children:[o.jsx(B.Typography,{children:r}),o.jsx(B.ListItemIcon,{children:o.jsx(qM,{size:14})})]})};function rd({isDisabled:e,wallet:t}){const n=!!t?.address,i=We.useTheme(),r=n?x.displayWalletAddress(t.type,t.address):"Not connected",s=I.useMemo(()=>({container:{display:"flex",alignItems:"center",gap:"8px",opacity:1,...n&&{border:`1px solid ${i.palette.input.border}`,borderRadius:"16px",padding:"2px 8px",cursor:"pointer","&:hover":{borderColor:i.palette.primary.main}}},walletAddress:{color:i.palette.text.secondary},greenDot:{width:"5px",height:"5px",borderRadius:"50%",backgroundColor:"#4caf50"},disabled:{opacity:"0.6",cursor:"default",pointerEvents:"none"}}),[n,i.palette.input.border,i.palette.primary.main,i.palette.text.secondary]);return o.jsxs(he,{sx:[s.container,e&&s.disabled],children:[o.jsx(Me,{sx:s.walletAddress,fontSize:12,fontWeight:400,children:r}),o.jsx(nd,{size:14}),n&&o.jsx("div",{style:s.greenDot})]})}const od=1e3,sd=e=>{const{connectWallet:t,disconnectWallet:n}=ln(),{isTransactionInProgress:i,fromChain:r,toChain:s}=Ae(D=>D.transferInput),a=Ae(D=>D.wallet[e.type]),c=e.type===we.TransferWallet.SENDING,u=c?r:s,l=c?!x.config.ui.hideSourceChangeWallet:!x.config.ui.hideDestinationChangeWallet,M=c?!x.config.ui.hideSourceDisconnectWallet:!x.config.ui.hideDestinationDisconnectWallet,[g,N]=I.useState(!1),[y,T]=I.useState(!1),d=_2({variant:"popover",popupId:`connected-wallet-popover-${e.type}`}),f=I.useCallback(async()=>{u&&(d?.close(),N(!0),await t(u,e.type))},[u,e.type,t,d]),C=I.useCallback(()=>{x.copyTextToClipboard(a.address),d?.close(),T(!0)},[d,a.address]),m=I.useCallback(async()=>{u&&(await n(u,e.type),d?.close())},[n,d,u,e.type]);I.useEffect(()=>{y&&setTimeout(()=>{T(!1)},od)},[y]);const h=i?{}:Q2(d);return o.jsxs(o.Fragment,{children:[o.jsx(B.Tooltip,{title:"Copied",open:y,placement:"top",arrow:!0,children:o.jsx(he,{...h,children:o.jsx(rd,{wallet:a,isDisabled:i})})}),!!a.address&&o.jsx(o0,{...P2(d),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{sx:{marginTop:"4px"}}},sx:{"& .MuiTypography-root":{fontSize:14,flexGrow:1},"& .MuiListItemIcon-root":{justifyContent:"flex-end"}},children:o.jsxs(zs,{children:[o.jsxs(sn,{onClick:C,children:[o.jsx(Me,{children:"Copy address"}),o.jsx(B.ListItemIcon,{children:o.jsx(VM,{size:14})})]}),x.config.ui.explorer?o.jsx(id,{address:a.address,href:x.config.ui.explorer.href,target:x.config.ui.explorer.target,label:x.config.ui.explorer.label}):null,l&&o.jsxs(sn,{onClick:f,children:[o.jsx(Me,{children:"Change wallet"}),o.jsx(B.ListItemIcon,{children:o.jsx($M,{size:14})})]}),M&&o.jsxs(sn,{onClick:m,children:[o.jsx(Me,{children:"Disconnect"}),o.jsx(B.ListItemIcon,{children:o.jsx(ed,{size:14})})]})]})}),o.jsx(Js,{open:g,walletType:e.type,setIsOpen:N,isAddressInputVisible:!0})]})},ad=500,cd=I.memo(({value:e,onChange:t,onDebouncedChange:n,...i})=>{const[r,s]=I.useState(e??""),[a,c]=I.useState(!1),u=Zs(n,ad),l=I.useCallback(M=>{if(!p3(M.target.value))return;const g=a2(M.target.value);t(g),u(g),s(qo(g))},[u,t]);return I.useEffect(()=>{a||s(qo(e))},[e]),o.jsx(Os,{...i,value:r,focused:a,onChange:l,onFocus:()=>c(!0),onBlur:()=>c(!1)})});function ud(e){const t=B.useTheme(),n=I.useMemo(()=>({"aria-label":"Amount input",maxLength:22,style:{color:e.error?t.palette.error.main:t.palette.text.primary,fontSize:e.value.length>12?"20px":e.value.length>6?"28px":"36px",height:"36px",textAlign:"right"},step:"0.1",onWheel:u=>{u.currentTarget.blur()}}),[e.error,e.value.length,t.palette.error.main,t.palette.text.primary]),i=I.useMemo(()=>({amountContainer:{width:"100%",maxWidth:"250px",display:"flex",alignItems:"center"},amountInput:{background:t.palette.input.background,borderRadius:"8px",border:"none"},amountCardContent:{display:"flex",alignItems:"center",height:"38px",padding:0,":last-child":{padding:0}},balance:{color:t.palette.text.secondary,fontSize:"14px",lineHeight:"14px",textAlign:"right"}}),[t]),{fromChain:r,isTransactionInProgress:s}=Ae(u=>u.transferInput),{sourceToken:a}=zn(),c=s||!r||!a;return o.jsx(he,{sx:i.amountContainer,children:o.jsx(wn,{sx:i.amountInput,children:o.jsx(An,{sx:i.amountCardContent,children:o.jsx(cd,{fullWidth:!0,autoComplete:"off",disabled:c,placeholder:"0",slotProps:{htmlInput:n,input:{disableUnderline:!0}},variant:"standard",value:e.debouncedValue??"",onChange:e.onChange,onDebouncedChange:e.onDebouncedChange})})})})}const ld=I.memo(ud);function Md(e){const t=We.useTheme(),n=B.useMediaQuery(t.breakpoints.down("sm")),i=I.useMemo(()=>({input:{"& fieldset":{borderRadius:"100vh"},"& input::placeholder":{color:t.palette.text.primary,opacity:.2},"& .MuiOutlinedInput-root":{"& .MuiOutlinedInput-input::placeholder":{fontWeight:300},"& .MuiOutlinedInput-notchedOutline":{borderWidth:"1px"}}},icon:{height:20,width:20,color:t.palette.text.primary,opacity:.2}}),[t]);return o.jsx(B.Box,{sx:{padding:"0 16px"},children:o.jsx(Os,{sx:i.input,ref:r=>{!n&&r&&setTimeout(()=>{r.querySelector("input")?.focus()},10)},"data-testid":`${e.dataTestId}-input`,fullWidth:!0,placeholder:e.placeholder,"aria-label":"Search",size:"small",variant:"outlined",value:e.value,onChange:r=>e.onChange(r.target.value),slotProps:{input:{startAdornment:o.jsx(uc,{position:"start",children:o.jsx(Z0,{sx:i.icon})})},htmlInput:{style:{fontSize:16,height:22,lineHeight:22}}}})})}function dd(e){const t=Mu(),n={wrapper:{maxHeight:"240px",display:"flex",flexDirection:"column",padding:0},searchList:{marginTop:0,overflow:"auto"}},{items:i,filterFn:r,searchQuery:s}=e,a=I.useMemo(()=>e.listTitle?o.jsx(he,{sx:{padding:"16px"},children:e.listTitle}):o.jsx("div",{style:{paddingTop:"16px"}}),[e.listTitle]),c=I.useMemo(()=>r?i.filter(u=>r(u,s)):i,[i,r,s]);return o.jsxs(he,{sx:{...n.wrapper,...e.sx},className:e?.className||"",children:[e.title,o.jsx(Md,{value:e.searchQuery,dataTestId:e.dataTestId,onChange:e.onQueryChange,placeholder:e.searchPlaceholder}),o.jsxs(zs,{disablePadding:!0,sx:{...n.searchList,...t},"data-testid":e.dataTestId,children:[a,e.loading||c.map(e.renderFn)]})]})}const Z2=I.memo(dd),gd=B.createSvgIcon(o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"currentColor"}),o.jsx("path",{d:"M17.1429 17.6429V12.5H18.8571V17.6429H24V19.3571H18.8571V24.5H17.1429V19.3571H12V17.6429H17.1429Z",fill:"white"})]}),"Plus");function fd({chains:e,selectedChain:t,showMoreButton:n,onChainSelect:i,onShowMore:r}){const s=We.useTheme(),a=B.useMediaQuery(s.breakpoints.down("sm")),c=I.useMemo(()=>({chainButton:{display:"flex",flexDirection:"column",padding:"8px",backgroundColor:s.palette.input.background,border:`1px solid ${s.palette.input.border}`,borderRadius:"8px",width:a?"56px":"78px",minWidth:"56px",maxWidth:"78px",position:"relative",overflow:"hidden","&.Mui-selected":{border:"1px solid",borderColor:s.palette.primary.main},"& svg":{pointerEvents:"none"},"&:hover":{backgroundColor:s.palette.primary.main+Nt[10],border:"1px solid",borderColor:s.palette.primary.main}},chainTileLabel:{color:s.palette.text.secondary,fontSize:"11px",fontFamily:s.typography.fontFamily,fontWeight:400,lineHeight:"12px",marginTop:"8px",whiteSpace:"nowrap"},chainIcon:{borderRadius:"100%",width:"24px",height:"24px",overflow:"hidden",pointerEvents:"none"}}),[s,a]),u=I.useMemo(()=>{const N=e.length>=6?Math.ceil(e.length/2):e.length,y=e.slice(0,N),T=e.slice(N);return{firstRowChains:y,secondRowChains:T}},[e]),l=I.useCallback(g=>o.jsxs(sn,{selected:t?.sdkName===g.sdkName,sx:c.chainButton,"data-testid":`chain-button-${g.sdkName.toLowerCase()}`,"aria-label":`Select ${g.displayName}`,onClick:()=>i(g.sdkName),children:[o.jsx(he,{sx:c.chainIcon,children:o.jsx(pn,{icon:g.icon,height:24})}),o.jsx(Me,{sx:c.chainTileLabel,children:g.displayName})]},g.sdkName),[i,t,c.chainButton,c.chainIcon,c.chainTileLabel]),M=I.useMemo(()=>o.jsxs(sn,{sx:c.chainButton,onClick:r,children:[o.jsx(he,{sx:c.chainIcon,children:o.jsx(gd,{htmlColor:s.palette.text.tertiary,sx:{height:"24px",width:"24px"}})}),o.jsx(Me,{sx:c.chainTileLabel,children:"More"})]},"moreButton"),[r,c.chainButton,c.chainIcon,c.chainTileLabel,s.palette.text.tertiary]);return o.jsxs(he,{sx:{maxWidth:"456px"},children:[o.jsx(he,{display:"flex",flexDirection:"row",gap:"16px",marginBottom:u.secondRowChains.length>0?"16px":"0",children:u.firstRowChains.map(g=>l(g))}),u.secondRowChains.length>0&&o.jsxs(he,{display:"flex",flexDirection:"row",gap:"16px",children:[u.secondRowChains.map(g=>l(g)),n&&M]})]})}const hd=I.memo(fd),Fi=10;function jd(e){const t=We.useTheme(),[n,i]=I.useState(""),r=I.useMemo(()=>({card:{background:t.palette.input.background,maxWidth:"488px",[t.breakpoints.down("sm")]:{width:"100vw",minHeight:"194px"}},cardContent:{paddingBottom:"0!important",[t.breakpoints.down("sm")]:{padding:"16px 10px",":last-child":{padding:"16px 10px"}}},title:{fontSize:"24px",fontWeight:600,lineHeight:"32px",marginBottom:"12px",display:"flex",alignItems:"center",justifyContent:"center"},chainSearchList:{maxHeight:"516px",[t.breakpoints.down("sm")]:{maxHeight:"640px"}},chainSearchItem:{display:"flex",flexDirection:"row",padding:"8px",borderRadius:"8px"},chainIcon:{borderRadius:"100%",width:"24px",height:"24px",overflow:"hidden",pointerEvents:"none"}}),[t]),{chainList:s,selectedChainConfig:a,showSearch:c,setShowSearch:u,onChainSelect:l}=e,M=I.useMemo(()=>{const y=s??[],T=y.findIndex(d=>d.sdkName===a?.sdkName);return a&&T&&T>=Fi-1?[a,...y.slice(0,Fi-2)]:y.slice(0,Fi-1)},[s,a]),g=(s?.length??0)>Fi-1,N=I.useMemo(()=>o.jsx(Z2,{searchPlaceholder:"Search for a chain",sx:r.chainSearchList,items:s??[],searchQuery:n,onQueryChange:i,filterFn:(y,T)=>!T||y.displayName.toLowerCase().includes(T.toLowerCase()),renderFn:y=>o.jsxs(sn,{dense:!0,sx:r.chainSearchItem,onClick:()=>{l(y.sdkName),u(!1)},children:[o.jsx(bs,{sx:{minWidth:"50px"},children:o.jsx(he,{sx:r.chainIcon,children:o.jsx(pn,{icon:y.icon,height:24})})}),o.jsx(Me,{fontSize:"16px",fontWeight:500,children:y.displayName})]},y.sdkName)}),[r.chainSearchList,r.chainSearchItem,r.chainIcon,s,n,l,u]);return M.length<1?o.jsx(he,{sx:{display:"flex",justifyContent:"center",paddingY:5},children:o.jsx(Me,{children:"No available chains"})}):o.jsx(wn,{sx:r.card,variant:"elevation",children:o.jsxs(An,{sx:r.cardContent,children:[o.jsx(Me,{fontSize:"14px",fontWeight:500,paddingBottom:"16px",role:"heading","aria-level":3,children:"Choose network"}),c?N:o.jsx(hd,{chains:M,selectedChain:a,showMoreButton:g,onChainSelect:l,onShowMore:()=>u(!0)})]})})}const W2=I.memo(jd),Ne="data:image/svg+xml;base64,";function va(e){if(e==="Solana")return Ne+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5NiIgaGVpZ2h0PSI4NCIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aC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iIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0NCA3MS42OTkxQzE0NCAxMTkuMzA2IDExNC44NjYgMTM0LjU4MiA5OS41MTU2IDEyMC45OEM4Ni44ODA0IDEwOS44ODkgODMuMTIxMSA4Ni40NTIxIDY0LjExNiA4NC4wNDU2QzM5Ljk5NDIgODEuMDExMyAzNy45MDU3IDExMy4xMzMgMjIuMDMzNCAxMTMuMTMzQzMuNTUwNCAxMTMuMTMzIDAgODYuMjQyOCAwIDcyLjQzMTVDMCA1OC4zMDYzIDMuOTY4MDkgMzkuMDU0MiAxOS43MzYgMzkuMDU0MkMzOC4xMTQ2IDM5LjA1NDIgMzkuMTU4OCA2Ni41NzIyIDYyLjEzMiA2NS4xMDczQzg1LjAwMDcgNjMuNTM3OSA4NS40MTg0IDM0Ljg2ODkgMTAwLjI0NyAyMi42MjcxQzExMy4xOTUgMTIuMDU5MyAxNDQgMjMuNDY0MSAxNDQgNzEuNjk5MVoiIGZpbGw9IiM5N0ZDRTQiLz48L3N2Zz4=";{const t=e;return""}}function Nd(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"200",height:"201",viewBox:"0 0 200 201",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{clipPath:"url(#icons_tokens_wbtc_clipPath_0)",children:[o.jsx("path",{d:"M197.008 124.204C183.651 177.782 129.385 210.389 75.8004 197.028C22.2386 183.671 -10.3679 129.402 2.99519 75.8283C16.3465 22.2444 70.6123 -10.3645 124.18 2.99268C177.76 16.3499 210.365 70.625 197.006 124.205L197.007 124.204H197.008Z",fill:"#F7931A"}),o.jsx("path",{d:"M144.1 85.7619C146.091 72.4526 135.958 65.2984 122.102 60.5258L126.597 42.4971L115.623 39.7625L111.247 57.3165C108.362 56.5969 105.399 55.9189 102.454 55.2467L106.862 37.5769L95.8939 34.8423L91.3965 52.8651C89.009 52.3215 86.664 51.7842 84.3889 51.2181L84.4016 51.1614L69.2674 47.3822L66.3481 59.1037C66.3481 59.1037 74.4903 60.9701 74.3187 61.085C78.7628 62.1942 79.5665 65.1361 79.433 67.4679L74.3128 88.0067C74.6188 88.0844 75.0158 88.1969 75.4538 88.3729C75.0876 88.2819 74.698 88.1827 74.2938 88.0859L67.117 116.858C66.5739 118.208 65.1954 120.234 62.0883 119.465C62.1982 119.624 54.1118 117.474 54.1118 117.474L48.6631 130.037L62.9447 133.597C65.6016 134.263 68.2052 134.96 70.7692 135.616L66.2278 153.851L77.1897 156.586L81.6871 138.544C84.6817 139.357 87.5879 140.107 90.433 140.814L85.9508 158.771L96.9258 161.505L101.467 143.304C120.181 146.846 134.252 145.418 140.175 128.491C144.948 114.863 139.937 107.002 130.092 101.876C137.263 100.222 142.664 95.5061 144.104 85.7634L144.101 85.7609L144.1 85.7619ZM119.026 120.923C115.634 134.551 92.689 127.184 85.2498 125.336L91.2763 101.178C98.715 103.035 122.571 106.71 119.027 120.923H119.026ZM122.42 85.5644C119.326 97.9606 100.228 91.6628 94.0333 90.1185L99.4972 68.208C105.692 69.7522 125.643 72.6345 122.421 85.5644H122.42Z",fill:"white"})]})})}function yd(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{clipPath:"url(#icons_tokens_busd_clipPath_0)",children:[o.jsx("path",{d:"M99.6979 0.420898L124.296 25.6121L62.3557 87.5527L37.7573 62.9542L99.6979 0.420898Z",fill:"#F0B90B",stroke:"#F0B90B"}),o.jsx("path",{d:"M137.04 37.7632L161.639 62.9543L62.3557 162.237L37.7573 137.639L137.04 37.7632Z",fill:"#F0B90B",stroke:"#F0B90B"}),o.jsx("path",{d:"M25.0135 75.1055L49.6119 100.297L25.0135 124.895L0.415039 100.297L25.0135 75.1055Z",fill:"#F0B90B",stroke:"#F0B90B"}),o.jsx("path",{d:"M174.382 75.1055L198.981 100.297L99.698 199.579L75.0996 174.981L174.382 75.1055Z",fill:"#F0B90B",stroke:"#F0B90B"})]})})}function Id(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"230",height:"200",viewBox:"0 0 230 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{clipPath:"url(#icons_tokens_usdt_clipPath_0)",children:[o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.0972 0.982283L0.176253 89.0373C0.0167314 89.3648 -0.0338199 89.7348 0.0319915 90.0931C0.0978028 90.4514 0.276524 90.7792 0.54202 91.0287L113.76 199.519C114.082 199.828 114.51 200 114.956 200C115.402 200 115.83 199.828 116.151 199.519L229.37 91.0355C229.635 90.786 229.814 90.4582 229.88 90.0998C229.946 89.7415 229.895 89.3716 229.736 89.0441L187.815 0.989056C187.679 0.69333 187.462 0.442813 187.188 0.267445C186.914 0.0920761 186.596 -0.00072543 186.27 0.000131083H43.6551C43.3283 -0.00393409 43.0074 0.086632 42.731 0.260904C42.4545 0.435177 42.2344 0.68571 42.0972 0.982283Z",fill:"#50AF95"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M129.502 98.0801C128.689 98.1411 124.49 98.3917 115.122 98.3917C107.671 98.3917 102.381 98.1682 100.525 98.0801C71.7311 96.8135 50.2389 91.8011 50.2389 85.7998C50.2389 79.7985 71.7311 74.7929 100.525 73.506V93.0881C102.408 93.2235 107.8 93.5419 115.251 93.5419C124.192 93.5419 128.669 93.1693 129.475 93.0948V73.5195C158.208 74.7997 179.653 79.8121 179.653 85.7998C179.653 91.7876 158.215 96.7999 129.475 98.0733L129.502 98.0801ZM129.502 71.4943V53.9713H169.601V27.25H60.4262V53.9713H100.518V71.4875C67.9312 72.9844 43.4248 79.4395 43.4248 87.1748C43.4248 94.9101 67.9312 101.358 100.518 102.862V159.014H129.495V102.842C162.008 101.345 186.474 94.8966 186.474 87.1681C186.474 79.4395 162.028 72.9912 129.495 71.4875L129.502 71.4943Z",fill:"white"})]})})}function Ld(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{clipPath:"url(#icons_tokens_dai_clipPath_0)",children:[o.jsx("path",{d:"M100 0C155.234 0 200 44.7754 200 100C200 155.234 155.234 200 100 200C44.7754 200 0 155.229 0 100C0 44.7754 44.7754 0 100 0Z",fill:"#F5AC37"}),o.jsx("path",{d:"M103.686 107.06H141.684C142.494 107.06 142.877 107.06 142.935 105.998C143.246 102.133 143.246 98.2448 142.935 94.3748C142.935 93.6233 142.562 93.3128 141.747 93.3128H66.1237C65.1877 93.3128 64.9357 93.6233 64.9357 94.5008V105.625C64.9357 107.06 64.9357 107.06 66.4343 107.06H103.686ZM138.691 80.3121C138.799 80.0286 138.799 79.7181 138.691 79.4391C138.057 78.0576 137.305 76.7391 136.432 75.5016C135.118 73.3866 133.57 71.4381 131.806 69.6875C130.974 68.63 130.011 67.6805 128.931 66.875C123.522 62.2715 117.091 59.0134 110.179 57.3754C106.692 56.5924 103.128 56.2189 99.5546 56.2504H65.9932C65.0572 56.2504 64.9312 56.6239 64.9312 57.4384V79.6236C64.9312 80.5597 64.9312 80.8117 66.1192 80.8117H138.241C138.241 80.8117 138.867 80.6857 138.993 80.3121H138.687H138.691ZM138.691 120.061C137.629 119.944 136.558 119.944 135.496 120.061H66.1868C65.2507 120.061 64.9357 120.061 64.9357 121.312V143.002C64.9357 144.001 64.9357 144.253 66.1868 144.253H98.1866C99.7166 144.37 101.247 144.262 102.745 143.943C107.389 143.61 111.957 142.602 116.313 140.941C117.897 140.392 119.427 139.677 120.871 138.817H121.308C128.809 134.916 134.902 128.787 138.745 121.263C138.745 121.263 139.182 120.318 138.691 120.07V120.061ZM52.3761 155.499V155.125V140.563V135.627V120.939C52.3761 120.124 52.3761 120.003 51.3771 120.003H37.814C37.0625 120.003 36.752 120.003 36.752 119.004V107.128H51.2511C52.0611 107.128 52.3761 107.128 52.3761 106.066V94.3163C52.3761 93.5648 52.3761 93.3803 51.3771 93.3803H37.814C37.0625 93.3803 36.752 93.3803 36.752 92.3813V81.3832C36.752 80.6947 36.752 80.5102 37.751 80.5102H51.1881C52.1241 80.5102 52.3761 80.5102 52.3761 79.3221V45.6348C52.3761 44.6358 52.3761 44.3838 53.6271 44.3838H100.5C103.902 44.5188 107.281 44.8923 110.625 45.5088C117.514 46.7823 124.134 49.2438 130.186 52.7584C134.2 55.1209 137.895 57.9739 141.184 61.259C143.66 63.8285 145.892 66.6095 147.872 69.5705C149.838 72.5721 151.472 75.7806 152.754 79.1331C152.912 80.0061 153.749 80.5957 154.622 80.4472H165.809C167.244 80.4472 167.244 80.4472 167.307 81.8242V92.0753C167.307 93.0743 166.934 93.3263 165.93 93.3263H157.304C156.431 93.3263 156.179 93.3263 156.242 94.4513C156.584 98.2583 156.584 102.079 156.242 105.886C156.242 106.948 156.242 107.074 157.434 107.074H167.303C167.739 107.636 167.303 108.199 167.303 108.766C167.366 109.49 167.366 110.224 167.303 110.948V118.513C167.303 119.575 166.992 119.89 166.052 119.89H154.239C153.416 119.733 152.615 120.259 152.426 121.078C149.613 128.391 145.113 134.947 139.299 140.203C137.175 142.116 134.943 143.916 132.612 145.576C130.11 147.016 127.675 148.515 125.11 149.703C120.39 151.827 115.44 153.393 110.359 154.387C105.535 155.251 100.644 155.643 95.734 155.575H52.3581V155.512L52.3761 155.499Z",fill:"#FEFEFD"})]})})}function xd(){return o.jsx("svg",{width:"92",height:"91",viewBox:"0 0 92 91",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M91.3583 45.4564C91.3583 20.351 70.9064 0 45.6817 0C20.4571 0 0 20.351 0 45.4564C0 50.6467 0.876215 55.6319 2.48433 60.2786C2.49464 60.2991 2.58226 60.5658 2.58226 60.5658C3.23169 62.6224 0.0103084 63.4277 0.0103084 64.6586C0.0103084 66.587 6.80355 66.3254 6.80355 68.5667C6.80355 70.5208 0.0824673 71.126 0.0824673 73.0954C0.0824673 75.8188 14.9627 74.87 15.1534 77.2087C15.2977 79.014 10.0352 79.1269 10.0043 81.0553C9.95277 84.1377 30.3119 83.1273 30.3119 85.1788C30.3119 86.7329 21.0498 86.1687 21.0498 88.0048C21.0498 89.8409 33.2395 91 46.6765 91C60.1135 91 69.3808 89.5127 69.3808 87.9073C69.3808 86.302 60.732 86.6303 60.9124 85.184C61.2217 82.6555 80.4211 83.9479 80.4211 81.0194C80.4211 79.4756 75.1432 79.1166 75.3133 77.4549C75.5555 75.1059 91.3583 75.4547 91.3583 73.0134C91.3583 71.0952 83.5239 70.6233 83.5394 68.6283C83.5497 66.5921 91.3583 66.6793 91.3068 64.7714C91.2655 63.3046 87.8122 63.3405 88.8946 60.2324C90.4924 55.6011 91.3686 50.6313 91.3686 45.4564H91.3583ZM76.8441 58.3656C75.2566 61.9403 71.6899 61.2223 71.2878 62.725C70.8704 64.279 75.6844 64.5047 75.6844 66.1305C75.6844 68.1051 61.0104 67.3153 61.1547 69.9207C61.2474 71.5619 71.5765 71.8389 71.3806 73.5519C71.0971 76.0342 55.3768 74.7931 55.2222 77.1728C55.1088 78.9166 62.8968 78.9781 62.9123 80.5681C62.9277 81.9067 56.7994 82.635 45.0581 82.635C31.6881 82.635 25.1835 81.9169 25.9257 80.4245C26.6163 79.0294 38.4555 79.2859 38.337 77.0907C38.2184 74.9008 17.313 75.5419 16.6842 73.4134C16.1584 71.644 23.5547 71.2798 23.5083 69.5976C23.462 67.8846 14.0401 68.2744 13.8339 66.1972C13.6999 64.8381 18.7562 64.9201 18.5397 63.2071C18.3799 61.9608 16.2924 62.1352 15.0554 59.5657C13.0608 55.2729 11.9371 50.4929 11.9371 45.4513C11.9371 26.9056 27.0493 11.868 45.6869 11.868C64.3245 11.868 79.4366 26.9056 79.4366 45.4513C79.4366 50.0262 78.514 54.3856 76.8492 58.3604L76.8441 58.3656Z",fill:"white"})})}function Td(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 254 254",width:"254",height:"254",viewBox:"0 0 254 254",children:[o.jsx("circle",{cx:"127",cy:"127",r:"127",fill:"#e84142",fillRule:"evenodd",clipRule:"evenodd"}),o.jsx("path",{fill:"#fff",d:"M171.8 130.3c4.4-7.6 11.5-7.6 15.9 0l27.4 48.1c4.4 7.6.8 13.8-8 13.8h-55.2c-8.7 0-12.3-6.2-8-13.8l27.9-48.1zm-53-92.6c4.4-7.6 11.4-7.6 15.8 0l6.1 11L155.1 74c3.5 7.2 3.5 15.7 0 22.9l-48.3 83.7c-4.4 6.8-11.7 11.1-19.8 11.6H46.9c-8.8 0-12.4-6.1-8-13.8l79.9-140.7z"})]})}function Cd(){return o.jsxs("svg",{id:"icons_tokens_bnb_svg",style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",width:"511.97",height:"511.97",viewBox:"0 0 511.97 511.97",children:[o.jsx("title",{children:"binance-coin-bnb"}),o.jsx("g",{id:"icons_tokens_bnb_g_0","data-name":"icons_tokens_bnb_g_0",children:o.jsxs("g",{id:"icons_tokens_bnb_g_1","data-name":"icons_tokens_bnb_g_1",children:[o.jsx("path",{fill:"#f3ba2f",d:"M156.56,215.14,256,115.71l99.47,99.47,57.86-57.85L256,0,98.71,157.28l57.85,57.85M0,256l57.86-57.87L115.71,256,57.85,313.83Zm156.56,40.85L256,396.27l99.47-99.47,57.89,57.82,0,0L256,512,98.71,354.7l-.08-.09,57.93-57.77M396.27,256l57.85-57.85L512,256l-57.85,57.85Z"}),o.jsx("path",{fill:"#f3ba2f",d:"M314.66,256h0L256,197.25,212.6,240.63h0l-5,5L197.33,255.9l-.08.08.08.08L256,314.72l58.7-58.7,0,0-.05,0"})]})})]})}function md(){return o.jsx("svg",{version:"1.1",id:"Symbol",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 384 383",style:{width:"100%",height:"100%"},xmlSpace:"preserve",children:o.jsx("path",{fill:"#FFF572",d:`M383.5,0H0.5v383h383V249.3h-63.6C298,298.1,248.7,332,192.3,332c-77.8,0-140.8-63.6-140.8-140.8
|
|
454
|
-
C51.4,114,114.5,51,192.3,51c57.5,0,106.8,35,128.7,84.9h62.5V0z`})})}function pd(){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",height:"182",width:"182",viewBox:"0 0 182 182",style:{maxHeight:"100%",maxWidth:"100%"},focusable:"false",children:o.jsx("g",{children:o.jsx("g",{id:"Layer_1",children:o.jsxs("g",{children:[o.jsx("path",{d:"M90.9,181v-45.2l-55.9-32.7,55.9,77.8Z",fill:"#f0cdc2",stroke:"#1616b4",strokeLinejoin:"round"}),o.jsx("path",{d:"M91.1,181v-45.2l55.9-32.7-55.9,77.8Z",fill:"#c9b3f5",stroke:"#1616b4",strokeLinejoin:"round"}),o.jsx("path",{d:"M90.9,124.6v-57.6l-56.5,25.3,56.5,32.3Z",fill:"#88aaf1",stroke:"#1616b4",strokeLinejoin:"round"}),o.jsx("path",{d:"M91.1,124.6v-57.6l56.5,25.3-56.5,32.3Z",fill:"#c9b3f5",stroke:"#1616b4",strokeLinejoin:"round"}),o.jsx("path",{d:"M34.4,92.3L90.9,1v66l-56.5,25.3Z",fill:"#f0cdc2",stroke:"#1616b4",strokeLinejoin:"round"}),o.jsx("path",{d:"M147.6,92.3L91.1,1v66l56.5,25.3Z",fill:"#b8faf6",stroke:"#1616b4",strokeLinejoin:"round"})]})})})})}function Dd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"100",height:"100",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M50 100C77.6142 100 100 77.6142 100 50C100 22.3858 77.6142 0 50 0C22.3858 0 0 22.3858 0 50C0 77.6142 22.3858 100 50 100Z",fill:"#13B5EC"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.75 40.3125L65 33.75V46.875L53.75 40.3125ZM65 68.4375L50 77.1875L35 68.4375V53.125L50 61.875L65 53.125V68.4375ZM35 33.75L46.25 40.3125L35 46.875V33.75ZM51.875 43.4375L63.125 50L51.875 56.5625V43.4375ZM48.125 56.5625L36.875 50L48.125 43.4375V56.5625ZM63.125 30.625L50 38.125L36.875 30.625L50 22.8125L63.125 30.625ZM31.25 29.375V70.3125L50 80.9375L68.75 70.3125V29.375L50 18.75L31.25 29.375Z",fill:"white"})]})}function wd(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"96",height:"84",viewBox:"0 0 96 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("g",{clipPath:"url(#icons_tokens_sol_clipPath_0)",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.368 64.052A3.214 3.214 0 0 1 19.744 63l73.312.06a1.612 1.612 0 0 1 1.188 2.698l-15.612 17.19A3.213 3.213 0 0 1 76.254 84l-73.31-.06a1.611 1.611 0 0 1-1.188-2.698l15.612-17.19Zm76.876-14.31a1.611 1.611 0 0 1-1.188 2.698l-73.31.06a3.213 3.213 0 0 1-2.378-1.052l-15.612-17.2a1.612 1.612 0 0 1 1.188-2.698l73.312-.06a3.213 3.213 0 0 1 2.376 1.052l15.612 17.2ZM17.368 1.052A3.215 3.215 0 0 1 19.744 0l73.312.06a1.612 1.612 0 0 1 1.188 2.698l-15.612 17.19A3.213 3.213 0 0 1 76.254 21l-73.31-.06a1.611 1.611 0 0 1-1.188-2.698l15.612-17.19Z",fill:"url(#icons_tokens_sol_linearGradient_0)"})})})}function Ad(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"200",height:"200",version:"1.2",baseProfile:"tiny",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 112",overflow:"visible",xmlSpace:"preserve",children:o.jsx("path",{fill:"currentColor",d:"M86.6 37.4h-9.9c-1.1 0-2.2-.5-3-1.3l-4-4.5c-1.2-1.3-3.1-1.4-4.5-.3l-.3.3-3.4 3.9c-1.1 1.3-2.8 2-4.5 2H2.9C1.4 41.9.4 46.6 0 51.3h51.2c.9 0 1.8-.4 2.4-1l4.8-5c.6-.6 1.4-1 2.3-1h.2c.9 0 1.8.4 2.4 1.1l4 4.5c.8.9 1.9 1.4 3 1.4H112c-.4-4.7-1.4-9.4-2.9-13.8H86.6zM53.8 65l-4-4.5c-1.2-1.3-3.1-1.4-4.5-.3l-.3.3-3.5 3.9c-1.1 1.3-2.7 2-4.4 2H.8c.9 4.8 2.5 9.5 4.6 14h25.5c.9 0 1.7-.4 2.4-1l4.8-5c.6-.6 1.4-1 2.3-1h.2c.9 0 1.8.4 2.4 1.1l4 4.5c.8.9 1.9 1.4 3 1.4h56.6c2.1-4.4 3.7-9.1 4.6-14H56.8c-1.2 0-2.3-.5-3-1.4zm19.6-43.6 4.8-5c.6-.6 1.4-1 2.3-1h.2c.9 0 1.8.4 2.4 1l4 4.5c.8.9 1.9 1.3 3 1.3h10.8c-18.8-24.8-54.1-29.7-79-11-4.1 3.1-7.8 6.8-11 11H71c1 .2 1.8-.2 2.4-.8zM34.7 94.2c-1.2 0-2.3-.5-3-1.3l-4-4.5c-1.2-1.3-3.2-1.4-4.5-.2l-.2.2-3.5 3.9c-1.1 1.3-2.7 2-4.4 2h-.2C36 116.9 71.7 118 94.4 96.7c.9-.8 1.7-1.7 2.6-2.6H34.7z"})})}function Sd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{cx:"100",cy:"100",r:"100",fill:"#6FBCEF"}),o.jsx("mask",{id:"mask0_309_9859",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"200",children:o.jsx("path",{d:"M200 100C200 155.228 155.228 200 100 200C44.7715 200 0 155.228 0 100C0 44.7715 44.7715 0 100 0C155.228 0 200 44.7715 200 100Z",fill:"#8DCBF5"})}),o.jsxs("g",{mask:"url(#mask0_309_9859)",children:[o.jsx("path",{d:"M113 -4L174 19L196 63.5C196 63.5 169.5 40.5 138.5 24.5C107.5 8.5 58.5 4 58.5 4L113 -4Z",fill:"#7AC1F2"}),o.jsx("path",{d:"M15.8341 34.0023C15.8341 34.0023 72.9887 50.5017 103.494 64.5009C134 78.5001 144.388 89.0206 163.495 112.001C175.611 126.574 189.379 153.053 189.379 153.053L165.999 179.499C165.999 179.499 158.272 146.022 145.999 128.499C129.42 104.828 107.493 94.0004 86.4965 84.5002C65.5 75 -0.00518256 57.0917 -0.00518256 57.0917L15.8341 34.0023Z",fill:"#7AC1F2"}),o.jsx("path",{d:"M2.49892 130.498L-1.50005 100.5C-1.50005 100.5 45.5 117.5 75.5 138.5C105.5 159.5 123.499 199.998 123.499 199.998L89.9989 201.498C89.9989 201.498 86.5 192 62.5 165.5C38.5 139 2.49892 130.498 2.49892 130.498Z",fill:"#7AC1F2"})]}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.4743 158.743C56.7736 178.317 77.0124 190 99.6108 190C122.209 190 142.444 178.317 153.747 158.743C165.047 139.175 165.047 115.807 153.747 96.2343L106.133 13.7657C103.234 8.74477 95.9873 8.74478 93.0885 13.7657L45.4743 96.2343C34.1752 115.803 34.1752 139.17 45.4743 158.743ZM86.1978 52.9996L96.3497 35.416C97.799 32.9054 101.423 32.9054 102.872 35.416L141.927 103.062C149.102 115.489 150.448 129.872 145.967 143.034C145.501 140.887 144.848 138.69 143.969 136.47C138.575 122.856 126.377 112.351 107.708 105.244C94.8728 100.375 86.6799 93.2146 83.3509 83.96C79.063 72.0315 83.5416 59.0237 86.1978 52.9996ZM68.8873 82.9829L57.2949 103.062C48.4619 118.361 48.4619 136.624 57.2949 151.924C66.128 167.222 81.9447 176.352 99.6108 176.352C111.344 176.352 122.265 172.321 130.864 165.131C131.986 162.307 135.458 151.973 131.168 141.32C127.205 131.484 117.669 123.632 102.821 117.976C86.0386 111.61 75.1351 101.671 70.4201 88.4448C69.7707 86.6237 69.2662 84.7988 68.8873 82.9829Z",fill:"white"})]})}function Ed(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"256",height:"256",viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m 127.67411,256 c 38.02499,0 72.18784,-16.49691 95.68658,-42.70676 -10.93123,-9.47577 -27.40461,-10.05162 -39.04159,-0.68556 l -2.22314,1.78953 c -21.30703,17.14908 -52.35448,14.61676 -70.58505,-5.7577 -9.94332,-11.11197 -26.972141,-12.24661 -38.308517,-2.55277 L 47.570215,228.00608 C 69.524032,245.52451 97.372724,256 127.67411,256 Z m 41.60702,-61.98133 C 189.57566,177.68394 218.1014,178.27 237.62049,194.0459 249.28754,174.76386 256,152.16374 256,128.00034 c 0,-26.85042 -8.28793,-51.769568 -22.45139,-72.350916 -9.131,-1.939587 -19.02787,0.325741 -26.54036,6.966212 l -2.13843,1.889976 C 184.37854,82.617466 153.24774,81.516899 134.09348,62.003681 123.64732,51.36103 106.58366,51.011574 95.70776,61.217474 L 65.879285,89.2086 49.470132,71.811468 79.298607,43.820001 C 99.6717,24.70176 131.636,25.356444 151.20497,45.292785 c 10.2248,10.416813 26.8437,11.004304 37.78245,1.335536 l 2.13842,-1.889909 c 6.64005,-5.869189 14.32197,-9.825846 22.366,-11.906837 C 190.75623,12.421275 160.66937,0 127.67411,0 62.5305,0 8.7242884,48.41669 0.45065936,111.14157 20.23734,101.67056 44.644196,105.31504 60.77713,121.79424 c 10.185043,10.40324 26.584631,11.50108 38.071994,2.54936 l 16.677656,-12.99623 c 20.96064,-16.333367 50.58976,-15.542866 70.64448,1.88493 l 32.46987,28.21744 -15.73073,18.00977 -32.46987,-28.21675 c -11.40333,-9.91056 -28.25178,-10.36033 -40.17025,-1.07263 l -16.67765,12.9969 C 92.486461,159.61353 62.356352,157.59639 43.643919,138.48264 32.762761,127.36794 14.966434,126.98019 3.609064,137.61037 L 0,140.98839 c 2.7009241,26.73389 13.649562,51.04108 30.269414,70.34973 l 27.34647,-23.38517 c 21.235909,-18.16038 53.135306,-16.03488 71.761456,4.78115 9.73221,10.87688 26.30602,12.22823 37.67997,3.07342 z",fill:"#ffffff",id:"path1050",style:{strokeWidth:6.82333}})})}function zd(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"111",height:"111",viewBox:"0 0 111 111",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M54.921 110.034C85.359 110.034 110.034 85.402 110.034 55.017C110.034 24.6319 85.359 0 54.921 0C26.0432 0 2.35281 22.1714 0 50.3923H72.8467V59.6416H3.9565e-07C2.35281 87.8625 26.0432 110.034 54.921 110.034Z",fill:"#0052FF"})})}function bd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"360",height:"360",viewBox:"0 0 360 360",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"360",height:"360",rx:"180",fill:"#6C00F6"}),o.jsx("path",{d:"M218.804 99.5819L168.572 128.432V218.473L140.856 234.539L112.97 218.46V186.313L140.856 170.39L158.786 180.788V154.779L140.699 144.511L90.4795 173.687V231.399L140.869 260.418L191.088 231.399V141.371L218.974 125.291L246.846 141.371V173.374L218.974 189.597L200.887 179.107V204.986L218.804 215.319L269.519 186.47V128.432L218.804 99.5819Z",fill:"white"})]})}function Od(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"100",height:"100",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M50.7548 0L24.1998 15.3175L33.9648 20.975L50.7573 11.3175L67.5498 20.975L77.3148 15.3175L50.7548 0ZM67.5498 28.975L77.3148 34.635V45.9525L60.5198 55.61V74.9275L50.7573 80.585L40.9923 74.9275V55.61L24.1973 45.95V34.6325L33.9623 28.9725L50.7548 38.6325L67.5498 28.9725V28.975Z",fill:"#F0B90B"}),o.jsx("path",{d:"M77.3148 53.95V65.2675L67.5498 70.9275V59.61L77.3148 53.95Z",fill:"#F0B90B"}),o.jsx("path",{d:"M67.4525 78.925L84.2475 69.2675V49.95L94.0125 44.2925V74.9275L67.4525 90.245V78.925ZM84.25 30.635L74.48 24.975L84.25 19.3175L94.015 24.975V36.2925L84.25 41.9525V30.635ZM40.9925 94.3425V83.025L50.755 88.6825L60.52 83.025V94.3425L50.7575 100L40.9925 94.3425ZM33.9625 70.925L24.1975 65.2675V53.9525L33.9625 59.61V70.925ZM50.755 30.635L40.9925 24.975L50.755 19.3175L60.52 24.975L50.755 30.635ZM27.03 24.975L17.265 30.635V41.9525L7.5 36.2925V24.975L17.265 19.3175L27.03 24.975Z",fill:"#F0B90B"}),o.jsx("path",{d:"M7.5 44.2925L17.265 49.9525V69.2675L34.06 78.9275V90.245L7.5 74.925V44.2925Z",fill:"#F0B90B"})]})}function kd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg","data-name":"86977684-12db-4850-8f30-233a7c267d11",width:"2000",height:"2000",viewBox:"0 0 2000 2000",children:[o.jsx("path",{fill:"#2775ca",d:"M1000 2000c554.17 0 1000-445.83 1000-1000S1554.17 0 1000 0 0 445.83 0 1000s445.83 1000 1000 1000z"}),o.jsx("path",{fill:"#fff",d:"M1275 1158.33c0-145.83-87.5-195.83-262.5-216.66-125-16.67-150-50-150-108.34s41.67-95.83 125-95.83c75 0 116.67 25 137.5 87.5 4.17 12.5 16.67 20.83 29.17 20.83h66.66c16.67 0 29.17-12.5 29.17-29.16v-4.17c-16.67-91.67-91.67-162.5-187.5-170.83v-100c0-16.67-12.5-29.17-33.33-33.34h-62.5c-16.67 0-29.17 12.5-33.34 33.34v95.83c-125 16.67-204.16 100-204.16 204.17 0 137.5 83.33 191.66 258.33 212.5 116.67 20.83 154.17 45.83 154.17 112.5s-58.34 112.5-137.5 112.5c-108.34 0-145.84-45.84-158.34-108.34-4.16-16.66-16.66-25-29.16-25h-70.84c-16.66 0-29.16 12.5-29.16 29.17v4.17c16.66 104.16 83.33 179.16 220.83 200v100c0 16.66 12.5 29.16 33.33 33.33h62.5c16.67 0 29.17-12.5 33.34-33.33v-100c125-20.84 208.33-108.34 208.33-220.84z"}),o.jsx("path",{fill:"#fff",d:"M787.5 1595.83c-325-116.66-491.67-479.16-370.83-800 62.5-175 200-308.33 370.83-370.83 16.67-8.33 25-20.83 25-41.67V325c0-16.67-8.33-29.17-25-33.33-4.17 0-12.5 0-16.67 4.16-395.83 125-612.5 545.84-487.5 941.67 75 233.33 254.17 412.5 487.5 487.5 16.67 8.33 33.34 0 37.5-16.67 4.17-4.16 4.17-8.33 4.17-16.66v-58.34c0-12.5-12.5-29.16-25-37.5zm441.67-1300c-16.67-8.33-33.34 0-37.5 16.67-4.17 4.17-4.17 8.33-4.17 16.67v58.33c0 16.67 12.5 33.33 25 41.67 325 116.66 491.67 479.16 370.83 800-62.5 175-200 308.33-370.83 370.83-16.67 8.33-25 20.83-25 41.67V1700c0 16.67 8.33 29.17 25 33.33 4.17 0 12.5 0 16.67-4.16 395.83-125 612.5-545.84 487.5-941.67-75-237.5-258.34-416.67-487.5-491.67z"})]})}function vd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"470.29",height:"514.25",viewBox:"0 0 470.29 514.25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"m291.13 237.47 35.654-60.5 96.103 149.68 0.046 28.727-0.313-197.67c-0.228-4.832-2.794-9.252-6.887-11.859l-173.02-99.525c-4.045-1.99-9.18-1.967-13.22 0.063-0.546 0.272-1.06 0.57-1.548 0.895l-0.604 0.379-167.94 97.322-0.651 0.296c-0.838 0.385-1.686 0.875-2.48 1.444-3.185 2.283-5.299 5.66-5.983 9.448-0.103 0.574-0.179 1.158-0.214 1.749l0.264 161.08 89.515-138.74c11.271-18.397 35.825-24.323 58.62-24.001l26.753 0.706-157.64 252.8 18.582 10.697 159.52-263.24 70.51-0.256-159.11 269.88 66.306 38.138 7.922 4.556c3.351 1.362 7.302 1.431 10.681 0.21l175.45-101.68-33.544 19.438-92.775-150.04zm13.602 195.93-66.969-105.11 40.881-69.371 87.952 138.63-61.864 35.851z",fill:"#2D374B"}),o.jsx("polygon",{points:"237.77 328.29 304.74 433.4 366.6 397.54 278.65 258.92",fill:"#28A0F0"}),o.jsx("path",{d:"m422.94 355.38-0.046-28.727-96.103-149.68-35.654 60.5 92.774 150.04 33.544-19.438c3.29-2.673 5.281-6.594 5.49-10.825l-5e-3 -1.869z",fill:"#28A0F0"}),o.jsx("path",{d:"m20.219 382.47 47.369 27.296 157.63-252.8-26.753-0.706c-22.795-0.322-47.35 5.604-58.62 24.001l-89.515 138.74-30.115 46.271v17.194z",fill:"#fff"}),o.jsx("polygon",{points:"316.2 156.96 245.69 157.22 86.17 420.46 141.93 452.56 157.09 426.85",fill:"#fff"}),o.jsx("path",{d:"m452.65 156.6c-0.59-14.746-8.574-28.245-21.08-36.104l-175.29-100.8c-12.371-6.229-27.825-6.237-40.218-4e-3 -1.465 0.739-170.46 98.752-170.46 98.752-2.339 1.122-4.592 2.458-6.711 3.975-11.164 8.001-17.969 20.435-18.668 34.095v208.76l30.115-46.271-0.263-161.08c0.035-0.589 0.109-1.169 0.214-1.741 0.681-3.79 2.797-7.171 5.983-9.456 0.795-0.569 172.68-100.06 173.23-100.34 4.04-2.029 9.175-2.053 13.22-0.063l173.02 99.523c4.093 2.607 6.659 7.027 6.887 11.859v199.54c-0.209 4.231-1.882 8.152-5.172 10.825l-33.544 19.438-17.308 10.031-61.864 35.852-62.737 36.357c-3.379 1.221-7.33 1.152-10.681-0.21l-74.228-42.693-15.163 25.717 66.706 38.406c2.206 1.255 4.171 2.367 5.784 3.272 2.497 1.4 4.199 2.337 4.8 2.629 4.741 2.303 11.563 3.643 17.71 3.643 5.636 0 11.132-1.035 16.332-3.072l182.22-105.53c10.459-8.104 16.612-20.325 17.166-33.564v-201.75z",fill:"#96BEDC"})]})}function Ud(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",id:"optimism-logo-circle",width:"122",height:"122",viewBox:"0 0 122 122",children:[o.jsx("circle",{id:"Ellipse_11","data-name":"Ellipse 11",cx:"61",cy:"61",r:"61",fill:"#ff0420"}),o.jsx("path",{id:"Path_139","data-name":"Path 139",d:"M113.533,178.026a14.656,14.656,0,0,1-8.924-2.563,8.762,8.762,0,0,1-3.432-7.413,16.433,16.433,0,0,1,.229-2.471q.595-3.3,1.693-7.917,3.112-12.585,16.062-12.585a15.966,15.966,0,0,1,6.315,1.19,9.6,9.6,0,0,1,4.393,3.478,9.333,9.333,0,0,1,1.6,5.492,16.288,16.288,0,0,1-.229,2.425q-.687,4.073-1.647,7.917-1.6,6.269-5.537,9.381Q120.123,178.026,113.533,178.026Zm.641-6.59a6.5,6.5,0,0,0,4.348-1.51,8.424,8.424,0,0,0,2.608-4.622q1.053-4.3,1.6-7.505a10.5,10.5,0,0,0,.183-1.968q0-4.165-4.347-4.164a6.681,6.681,0,0,0-4.393,1.51,8.573,8.573,0,0,0-2.563,4.622q-.824,3.066-1.647,7.505a9.791,9.791,0,0,0-.183,1.922Q109.78,171.436,114.174,171.436Z",transform:"translate(-70.332 -100.849)",fill:"#fff"}),o.jsx("path",{id:"Path_140","data-name":"Path 140",d:"M205.3,178.612a.97.97,0,0,1-.778-.32,1.1,1.1,0,0,1-.137-.824l6.315-29.746a1.31,1.31,0,0,1,.5-.824,1.4,1.4,0,0,1,.87-.32h12.173a14.148,14.148,0,0,1,8.146,2.105,6.9,6.9,0,0,1,3.112,6.087,10.955,10.955,0,0,1-.275,2.38,12.39,12.39,0,0,1-4.622,7.78q-3.432,2.517-9.427,2.517H215l-2.105,10.022a1.311,1.311,0,0,1-.5.824,1.4,1.4,0,0,1-.869.32Zm16.2-17.482a5.451,5.451,0,0,0,3.341-1.052,4.942,4.942,0,0,0,1.922-3.02,8.022,8.022,0,0,0,.137-1.373,2.543,2.543,0,0,0-.778-2.014,3.836,3.836,0,0,0-2.654-.732h-5.491l-1.739,8.191Z",transform:"translate(-142.055 -101.892)",fill:"#fff"})]})}function Yd(){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",style:{maxHeight:"100%",maxWidth:"100%"},width:"256",height:"256",fill:"none",viewBox:"0 0 800 800",children:o.jsxs("g",{clipPath:"url(#icons_chains_osmo_clipPath_0)",children:[o.jsx("path",{fill:"#5E12A0",d:"M673.964 193.237C667.62 168.805 647.227 144.373 610.519 117.174C581.062 95.5081 549.792 83.0615 524.867 83.0615C519.882 83.0615 515.35 83.5225 510.819 84.4445C499.489 86.7494 489.519 95.0471 483.174 107.494C475.47 122.245 473.658 142.068 478.643 154.053C480.455 157.741 482.721 162.351 485.44 166.5C461.422 181.251 447.826 185.4 446.013 185.861C508.553 207.067 560.669 251.321 593.298 308.944L593.751 303.413C595.111 288.2 599.642 270.683 605.987 252.704C612.332 254.548 618.676 255.47 625.021 255.47C641.788 255.47 656.29 248.555 665.354 236.109C674.418 223.662 678.043 207.067 673.964 193.237Z"}),o.jsx("path",{fill:"url(#icons_chains_osmo_radialGradient_0)",d:"M608.706 239.342C649.945 250.867 666.713 218.598 661.275 196.932C655.383 175.265 636.35 153.138 602.814 128.245C569.279 103.352 535.29 93.2098 513.537 97.8197C491.784 102.43 485.44 136.081 490.878 148.989C493.144 154.06 498.129 161.436 504.927 169.733C496.316 175.726 488.159 180.336 481.361 184.485C523.054 203.385 559.309 232.888 586.5 269.767C589.672 257.321 594.204 246.257 598.282 236.576C601.455 237.037 605.08 237.959 608.706 239.342Z"}),o.jsx("path",{fill:"url(#icons_chains_osmo_radialGradient_1)",d:"M372.594 691.101C512.504 691.101 625.924 575.729 625.924 433.41C625.924 291.091 512.504 175.719 372.594 175.719C232.685 175.719 119.265 291.091 119.265 433.41C119.265 575.729 232.685 691.101 372.594 691.101Z"}),o.jsx("path",{fill:"#A98698",d:"M640.427 175.721C605.985 138.842 576.982 129.161 542.087 121.325C514.896 114.871 522.146 99.1973 555.229 102.424C539.367 96.8924 524.412 95.5094 513.536 97.8143C491.783 102.424 485.439 136.076 490.877 148.984C493.143 154.055 498.128 161.43 504.925 169.728C492.69 178.026 482.266 184.019 473.656 188.629C477.735 190.472 482.72 192.777 488.611 196.004C504.019 204.302 520.787 218.132 520.787 218.132C495.409 196.004 500.847 185.863 535.742 160.969C546.618 153.133 566.558 154.055 585.139 163.735C603.719 173.416 625.472 197.848 625.472 197.848L604.626 238.415C605.985 238.876 607.345 239.337 608.704 239.798C621.847 243.486 632.27 242.564 640.427 239.337C649.944 233.344 674.869 213.061 640.427 175.721Z",opacity:".6"}),o.jsx("path",{fill:"#5E12A0",d:"M541.631 143.45C550.695 147.138 562.478 153.592 576.979 163.273C594.2 174.797 609.155 187.705 618.672 197.847C602.811 219.052 592.388 248.094 586.043 268.377C589.215 272.987 592.841 277.597 596.013 282.207C599.185 270.682 604.624 253.626 611.875 236.569C613.687 237.03 615.953 237.03 618.219 237.03C623.657 237.03 630.002 236.108 634.987 231.96C638.612 229.194 642.691 224.123 642.238 214.903C642.238 206.144 635.44 195.081 621.391 181.712C611.421 172.031 597.826 161.429 584.23 151.748C545.257 125.472 518.066 118.096 505.83 130.543C497.672 138.84 498.579 148.982 501.298 156.358C486.796 166.039 474.56 172.953 466.403 177.563C471.841 179.407 476.826 181.712 482.264 184.017C496.766 176.18 517.613 162.812 541.631 143.45ZM627.283 209.371C628.642 211.676 629.095 213.981 629.095 215.364C629.095 219.513 627.736 220.896 626.83 221.818C625.017 223.201 621.391 224.123 618.219 224.123C620.938 218.591 624.11 213.981 627.283 209.371ZM515.347 140.684C516.706 139.301 520.332 138.379 526.223 139.301C521.691 142.989 517.159 146.216 512.628 149.443C512.174 146.216 512.627 142.989 515.347 140.684Z"}),o.jsx("path",{fill:"#5E12A0",d:"M372.596 160.503C224.405 160.503 104.311 282.664 104.311 433.406C104.311 584.149 224.405 706.31 372.596 706.31C520.786 706.31 640.88 584.149 640.88 433.406C640.88 282.664 520.333 160.503 372.596 160.503ZM372.596 691.098C232.562 691.098 119.266 575.851 119.266 433.406C119.266 290.962 232.562 175.715 372.596 175.715C512.629 175.715 625.925 290.962 625.925 433.406C625.925 575.851 512.176 691.098 372.596 691.098Z"}),o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_0)",d:"M372.594 691.101C512.504 691.101 625.924 575.729 625.924 433.41C625.924 291.091 512.504 175.719 372.594 175.719C232.685 175.719 119.265 291.091 119.265 433.41C119.265 575.729 232.685 691.101 372.594 691.101Z",opacity:".6"}),o.jsx("path",{fill:"#A98698",d:"M370.783 659.75C232.562 637.161 138.754 504.858 161.413 364.258C171.383 302.025 202.199 249.011 245.705 210.75C182.259 248.089 135.128 313.088 122.439 392.378C100.233 532.978 194.042 665.281 331.809 687.87C408.851 700.777 483.173 676.345 538.008 628.403C489.517 656.984 430.603 669.43 370.783 659.75Z",opacity:".6"}),o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_1)",d:"M412.93 179.411C349.031 168.808 286.945 183.56 236.189 216.29C235.282 217.212 234.376 218.133 234.376 218.133C253.863 206.148 282.413 195.545 282.413 195.545C208.998 238.878 186.339 288.203 186.339 288.203C214.889 231.963 298.728 192.318 364.439 189.552C430.151 186.786 473.203 206.609 525.772 249.481C578.342 292.813 610.064 381.322 606.892 451.392C604.173 521.462 567.918 578.163 567.918 578.163C592.844 545.433 607.799 521.462 617.315 497.03C619.128 489.654 620.941 482.278 621.847 474.441C644.506 334.302 551.151 201.999 412.93 179.411Z",opacity:".6"}),o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_2)",d:"M613.235 431.104C613.235 566.173 505.377 675.887 372.595 675.887C239.812 675.887 131.501 566.173 131.501 431.104H613.235Z"}),o.jsx("g",{opacity:".6",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_3)",d:"M594.201 431.104C594.201 562.946 491.781 670.817 363.077 675.887C366.25 675.887 369.422 675.887 372.594 675.887C505.377 675.887 613.234 566.173 613.234 431.104H594.201Z",opacity:".6"})}),o.jsx("g",{opacity:".7",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_4)",d:"M165.49 431.104H131.501C131.501 566.173 239.359 675.887 372.142 675.887C378.033 675.887 383.471 675.887 388.909 675.426C264.284 666.207 165.49 560.18 165.49 431.104Z",opacity:".7"})}),o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_5)",d:"M612.781 433.407C612.781 405.287 564.744 389.153 500.845 383.621C454.621 379.933 407.943 384.543 354.467 401.138C308.243 414.968 266.55 412.663 236.187 408.975C168.662 401.138 131.501 400.216 131.501 433.407C131.501 481.35 227.576 541.278 371.688 520.533C444.651 509.931 482.265 488.264 525.317 473.513C571.995 457.839 612.781 458.3 612.781 433.407Z"}),o.jsx("path",{fill:"#fff",d:"M451.448 317.236C473.974 317.236 492.234 298.661 492.234 275.747C492.234 252.833 473.974 234.258 451.448 234.258C428.922 234.258 410.661 252.833 410.661 275.747C410.661 298.661 428.922 317.236 451.448 317.236Z"}),o.jsx("path",{fill:"#fff",d:"M518.067 348.13C527.578 348.13 535.288 340.287 535.288 330.612C535.288 320.938 527.578 313.095 518.067 313.095C508.556 313.095 500.846 320.938 500.846 330.612C500.846 340.287 508.556 348.13 518.067 348.13Z"}),o.jsx("g",{opacity:".6",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_6)",d:"M579.703 242.563C579.25 242.563 578.796 242.563 578.796 242.563C576.077 242.102 574.265 239.336 574.718 236.109C578.796 214.904 596.017 194.62 596.924 193.698C598.736 191.393 602.362 191.393 604.175 193.237C606.441 195.081 606.44 198.769 604.628 200.613C604.175 201.074 588.313 219.975 584.688 238.414C584.235 241.18 581.969 242.563 579.703 242.563Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M355.905 625.64C362.913 625.64 368.594 619.861 368.594 612.732C368.594 605.604 362.913 599.825 355.905 599.825C348.897 599.825 343.216 605.604 343.216 612.732C343.216 619.861 348.897 625.64 355.905 625.64Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_7)",d:"M348.577 621.135C343.592 616.065 343.592 607.767 348.577 602.696C349.484 601.774 350.39 601.313 351.296 600.391C349.484 600.852 348.124 601.774 346.765 603.157C341.78 608.228 341.78 616.526 346.765 621.596C350.843 625.745 357.188 626.667 362.173 623.901C357.641 625.745 352.203 624.823 348.577 621.135Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M360.361 609.042C361.863 609.042 363.08 607.804 363.08 606.276C363.08 604.749 361.863 603.51 360.361 603.51C358.859 603.51 357.642 604.749 357.642 606.276C357.642 607.804 358.859 609.042 360.361 609.042Z",opacity:".3"}),o.jsx("path",{fill:"#fff",d:"M422.07 619.19C429.078 619.19 434.759 613.411 434.759 606.282C434.759 599.153 429.078 593.375 422.07 593.375C415.062 593.375 409.381 599.153 409.381 606.282C409.381 613.411 415.062 619.19 422.07 619.19Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_8)",d:"M414.742 614.685C409.757 609.614 409.757 601.317 414.742 596.246C415.648 595.324 416.555 594.863 417.461 593.941C415.648 594.402 414.289 595.324 412.929 596.707C407.944 601.778 407.944 610.075 412.929 615.146C417.008 619.295 423.352 620.217 428.337 617.451C423.806 619.295 418.367 618.373 414.742 614.685Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M426.526 602.592C428.027 602.592 429.245 601.354 429.245 599.826C429.245 598.298 428.027 597.06 426.526 597.06C425.024 597.06 423.806 598.298 423.806 599.826C423.806 601.354 425.024 602.592 426.526 602.592Z",opacity:".3"}),o.jsx("path",{fill:"#fff",d:"M389.361 649.153C394.617 649.153 398.878 644.819 398.878 639.472C398.878 634.126 394.617 629.792 389.361 629.792C384.105 629.792 379.845 634.126 379.845 639.472C379.845 644.819 384.105 649.153 389.361 649.153Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_9)",d:"M383.923 645.57C380.298 641.882 380.298 635.429 383.923 631.741C384.376 631.28 385.283 630.819 385.736 630.358C384.376 630.819 383.47 631.741 382.564 632.663C378.938 636.351 378.938 642.805 382.564 646.492C385.736 649.719 390.268 650.18 394.346 647.875C390.721 649.258 386.642 648.336 383.923 645.57Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M392.532 636.243C393.534 636.243 394.345 635.418 394.345 634.4C394.345 633.381 393.534 632.556 392.532 632.556C391.531 632.556 390.72 633.381 390.72 634.4C390.72 635.418 391.531 636.243 392.532 636.243Z",opacity:".3"}),o.jsx("path",{fill:"#fff",d:"M447.825 642.238C453.081 642.238 457.342 637.904 457.342 632.558C457.342 627.211 453.081 622.877 447.825 622.877C442.569 622.877 438.308 627.211 438.308 632.558C438.308 637.904 442.569 642.238 447.825 642.238Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_10)",d:"M442.387 638.656C438.761 634.968 438.761 628.514 442.387 624.826C442.84 624.365 443.746 623.904 444.199 623.443C442.84 623.904 441.934 624.826 441.027 625.748C437.402 629.436 437.402 635.89 441.027 639.578C444.199 642.805 448.731 643.266 452.81 640.961C449.184 642.344 445.106 641.422 442.387 638.656Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M450.996 629.338C451.997 629.338 452.809 628.512 452.809 627.494C452.809 626.475 451.997 625.65 450.996 625.65C449.995 625.65 449.183 626.475 449.183 627.494C449.183 628.512 449.995 629.338 450.996 629.338Z",opacity:".3"}),o.jsx("path",{fill:"#fff",d:"M301.896 621.034C313.41 621.034 322.743 611.54 322.743 599.829C322.743 588.118 313.41 578.624 301.896 578.624C290.383 578.624 281.05 588.118 281.05 599.829C281.05 611.54 290.383 621.034 301.896 621.034Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_11)",d:"M290.128 613.192C281.971 604.895 281.971 591.526 290.128 583.228C291.488 581.845 292.847 580.923 294.66 580.001C291.941 580.923 289.675 582.767 287.409 584.611C279.252 592.909 279.252 606.278 287.409 614.575C294.207 621.49 304.63 622.873 312.787 617.802C305.083 621.029 296.019 619.646 290.128 613.192Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M309.15 593.372C311.653 593.372 313.682 591.308 313.682 588.762C313.682 586.216 311.653 584.152 309.15 584.152C306.647 584.152 304.618 586.216 304.618 588.762C304.618 591.308 306.647 593.372 309.15 593.372Z",opacity:".3"}),o.jsx("path",{fill:"#fff",d:"M488.23 568.936C499.743 568.936 509.076 559.442 509.076 547.731C509.076 536.019 499.743 526.525 488.23 526.525C476.717 526.525 467.383 536.019 467.383 547.731C467.383 559.442 476.717 568.936 488.23 568.936Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_12)",d:"M475.92 561.103C467.763 552.805 467.763 539.436 475.92 531.139C477.28 529.756 478.639 528.834 480.452 527.912C477.733 528.834 475.467 530.678 473.201 532.521C465.044 540.819 465.044 554.188 473.201 562.486C479.999 569.4 490.422 570.783 498.579 565.713C490.875 568.939 482.265 567.556 475.92 561.103Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M495.407 541.282C497.91 541.282 499.939 539.218 499.939 536.672C499.939 534.126 497.91 532.062 495.407 532.062C492.904 532.062 490.875 534.126 490.875 536.672C490.875 539.218 492.904 541.282 495.407 541.282Z",opacity:".3"})]})})}function Rd(){return o.jsxs("svg",{width:"144",height:"144",viewBox:"0 0 144 144",style:{maxHeight:"100%",maxWidth:"100%"},fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M71.85 143.7C111.532 143.7 143.7 111.532 143.7 71.85C143.7 32.1683 111.532 0 71.85 0C32.1683 0 0 32.1683 0 71.85C0 111.532 32.1683 143.7 71.85 143.7Z",fill:"#1D2229"}),o.jsx("path",{d:"M59.5621 65.1122H47.531V77.1433H59.5621V65.1122Z",fill:"white"}),o.jsx("path",{d:"M47.5309 53.081H35.4997V65.1121L47.531 65.1122L47.5309 53.081Z",fill:"white"}),o.jsx("path",{d:"M35.4978 65.1122H23.4667V77.1433H35.4978V65.1122Z",fill:"white"}),o.jsx("path",{d:"M47.531 77.1433L35.4997 77.1427V89.1738H47.5309L47.531 77.1433Z",fill:"white"}),o.jsx("path",{d:"M115.922 55.6723C115.074 46.824 107.437 43.8538 97.791 43.0056V37.3377H90.3225V42.6822C88.3601 42.6822 86.3535 42.7198 84.3579 42.7575V37.3333H76.8938V42.9989C75.2769 43.0299 65.3433 43.0211 65.3433 43.0211L65.3211 49.6058L71.5538 49.6413V92.7977H65.3233L65.268 99.2895C67.0775 99.2895 75.1308 99.3249 76.8761 99.336V104.931H84.3401V99.4689C86.3867 99.5132 88.3712 99.5309 90.307 99.5287V104.933H97.7777V99.3626C110.338 98.6472 119.133 95.4866 120.225 83.6947C121.111 74.1974 116.646 69.9626 109.516 68.2394C113.849 66.0246 116.558 62.1463 115.926 55.6701L115.922 55.6723ZM105.457 82.2129C105.457 91.491 89.5739 90.4301 84.5063 90.4323V73.9847C89.5716 73.9847 105.448 72.5384 105.45 82.2129H105.457ZM101.99 59.0057C101.99 67.4465 88.7366 66.4565 84.5173 66.4565V51.5372C88.7433 51.5394 101.995 50.2016 101.99 59.0057Z",fill:"white"})]})}function _d(){return o.jsxs("svg",{width:"512",height:"512",viewBox:"0 0 512 512",style:{maxHeight:"100%",maxWidth:"100%"},fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"512",height:"512",rx:"256",fill:"#00A3FF"}),o.jsx("path",{opacity:"0.6",d:"M361.012 237.812L363.878 242.209C396.204 291.798 388.984 356.742 346.52 398.348C321.539 422.826 288.798 435.066 256.056 435.069C256.056 435.069 256.056 435.069 361.012 237.812Z",fill:"white"}),o.jsx("path",{opacity:"0.2",d:"M256.044 297.764L361 237.812C256.045 435.069 256.044 435.069 256.044 435.069C256.044 392.108 256.044 342.88 256.044 297.764Z",fill:"white"}),o.jsx("path",{d:"M150.988 237.812L148.122 242.209C115.796 291.798 123.016 356.742 165.48 398.348C190.461 422.826 223.202 435.066 255.944 435.069C255.944 435.069 255.944 435.069 150.988 237.812Z",fill:"white"}),o.jsx("path",{opacity:"0.6",d:"M255.914 297.764L150.958 237.812C255.914 435.069 255.914 435.069 255.914 435.069C255.914 392.108 255.914 342.88 255.914 297.764Z",fill:"white"}),o.jsx("path",{opacity:"0.2",d:"M256.083 163.833V267.233L346.491 215.566L256.083 163.833Z",fill:"white"}),o.jsx("path",{opacity:"0.6",d:"M256.056 163.833L165.583 215.565L256.056 267.233V163.833Z",fill:"white"}),o.jsx("path",{d:"M256.056 76.875L165.583 215.599L256.056 163.722V76.875Z",fill:"white"}),o.jsx("path",{opacity:"0.6",d:"M256.083 163.706L346.56 215.585L256.083 76.7916V163.706Z",fill:"white"})]})}function Qd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"156",height:"156",viewBox:"0 0 156 156",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{cx:"77.5713",cy:"77.5713",r:"77.5713",fill:"#ED4E33"}),o.jsx("path",{d:"M63.5871 41.5434C42.4254 49.6802 40.4869 70.5184 34.419 80.2503C28.2792 90.0978 14.2132 95.5313 16.1367 100.55C18.0601 105.568 32.1429 100.178 43.2844 103.38C54.2939 106.544 69.655 120.732 90.8167 112.595C101.597 108.45 109.403 99.9185 112.993 89.8133C113.379 88.7286 112.657 87.5686 111.512 87.4614C110.8 87.3945 110.117 87.7678 109.796 88.4072C106.549 94.8851 100.979 100.22 93.6894 103.022C81.6555 107.649 68.4886 104.016 60.4019 94.9052C58.5653 92.8363 56.9944 90.4811 55.7544 87.8782C55.4135 87.1618 55.0893 86.4337 54.8019 85.6804C54.5128 84.9272 54.2671 84.1689 54.0415 83.4073C60.4019 80.4378 67.7415 77.2926 76.0622 74.0938C84.2207 70.9569 91.6456 68.4126 98.2566 66.3772C102.729 65.0012 106.828 63.8563 110.529 62.9206C110.797 62.8536 111.061 62.7867 111.323 62.7214C111.883 62.5825 112.458 62.8821 112.665 63.4211L112.669 63.4311C112.791 63.7508 112.896 64.0722 113.009 64.3936C113.741 66.4676 114.29 68.5633 114.652 70.664C114.811 71.583 115.814 72.0835 116.636 71.6416C119.674 70.0078 122.453 68.4143 124.936 66.881C134.19 61.1731 139.32 56.3322 138.267 53.5887C137.216 50.8435 130.17 50.6862 119.48 52.6446C116.083 53.2673 112.316 54.1042 108.257 55.1404C107.555 55.3195 106.845 55.5053 106.126 55.6961C102.71 56.6034 99.1072 57.6428 95.3555 58.8062C88.3785 60.9705 80.8934 63.5634 73.1661 66.5345C65.9367 69.3148 59.085 72.1973 52.8015 75.0697C52.7247 62.8788 60.0827 51.354 72.1166 46.7274C79.4045 43.9253 87.1084 44.1547 93.8498 46.7944C94.5149 47.0555 95.272 46.8747 95.7583 46.3475C96.537 45.5021 96.298 44.1563 95.287 43.6073C85.8684 38.507 74.3676 37.3989 63.5871 41.5434Z",fill:"white"})]})}function Pd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",width:"800",height:"800",fill:"none",viewBox:"0 0 800 800",children:[o.jsx("path",{fill:"#2E3148",fillRule:"evenodd",d:"M400.012 0.768066C620.509 0.768066 799.257 179.501 799.257 399.98C799.257 620.458 620.509 799.192 400.012 799.192C179.516 799.192 0.767944 620.458 0.767944 399.98C0.767944 179.501 179.516 0.768066 400.012 0.768066Z",clipRule:"evenodd"}),o.jsx("path",{fill:"#1B1E36",fillRule:"evenodd",d:"M399.226 169.68C526.431 169.68 629.552 272.801 629.552 400.007C629.552 527.212 526.431 630.333 399.226 630.333C272.02 630.333 168.899 527.212 168.899 400.007C168.899 272.801 272.02 169.68 399.226 169.68Z",clipRule:"evenodd"}),o.jsx("path",{fillRule:"evenodd",stroke:"#6F7390",strokeWidth:"15",d:"M401.181 58.2666C394.32 58.2666 386.121 65.8115 377.843 81.5569C368.982 98.411 360.796 123.281 353.849 154.523C339.501 219.047 331.271 306.552 331.271 399.977C331.271 493.402 339.501 580.908 353.849 645.431C360.796 676.673 368.982 701.543 377.843 718.397C386.121 734.143 394.32 741.688 401.181 741.688C408.042 741.688 416.241 734.143 424.519 718.397C433.38 701.543 441.566 676.673 448.513 645.431C462.862 580.908 471.092 493.402 471.092 399.977C471.092 306.552 462.862 219.047 448.513 154.523C441.566 123.281 433.38 98.411 424.519 81.5569C416.241 65.8115 408.042 58.2666 401.181 58.2666Z",clipRule:"evenodd"}),o.jsx("path",{fillRule:"evenodd",stroke:"#6F7390",strokeWidth:"15",d:"M697.298 229.144C693.869 223.208 683.229 219.884 665.444 220.592C646.407 221.351 620.761 226.702 590.213 236.311C527.123 256.157 447.177 292.789 366.216 339.504C285.255 386.219 213.538 437.098 164.797 481.78C141.196 503.415 123.737 522.936 113.562 539.033C104.057 554.069 101.618 564.935 105.046 570.868C108.475 576.804 119.115 580.129 136.9 579.42C155.937 578.662 181.583 573.311 212.131 563.701C275.221 543.856 355.167 507.224 436.129 460.508C517.09 413.793 588.806 362.915 637.547 318.233C661.148 296.598 678.607 277.077 688.783 260.98C698.287 245.944 700.726 235.078 697.298 229.144V229.144ZM697.298 229.144C697.298 229.144 697.298 229.144 697.298 229.144L697.298 229.144C697.298 229.144 697.298 229.144 697.298 229.144V229.144Z",clipRule:"evenodd"}),o.jsx("path",{fillRule:"evenodd",stroke:"#6F7390",strokeWidth:"15",d:"M697.298 570.868L697.298 570.868C700.726 564.935 698.288 554.069 688.783 539.033C678.607 522.936 661.148 503.415 637.548 481.78C588.806 437.098 517.09 386.219 436.129 339.504C355.167 292.789 275.221 256.157 212.131 236.311C181.583 226.702 155.937 221.351 136.9 220.592C119.115 219.884 108.475 223.208 105.046 229.144C101.618 235.078 104.057 245.944 113.562 260.98C123.737 277.077 141.196 296.598 164.797 318.233C213.538 362.915 285.255 413.793 366.216 460.508C447.177 507.224 527.123 543.856 590.213 563.701C620.761 573.311 646.407 578.662 665.444 579.42C683.229 580.129 693.869 576.804 697.298 570.868Z",clipRule:"evenodd"}),o.jsx("path",{fill:"#B7B9C8",fillRule:"evenodd",d:"M177.765 302.102C191.34 302.102 202.345 313.112 202.345 326.694C202.345 340.276 191.34 351.286 177.765 351.286C164.189 351.286 153.185 340.276 153.185 326.694C153.185 313.112 164.189 302.102 177.765 302.102Z",clipRule:"evenodd"}),o.jsx("path",{fill:"#B7B9C8",fillRule:"evenodd",d:"M568.451 217.905C582.033 217.905 593.043 228.915 593.043 242.497C593.043 256.079 582.033 267.089 568.451 267.089C554.869 267.089 543.859 256.079 543.859 242.497C543.859 228.915 554.869 217.905 568.451 217.905Z",clipRule:"evenodd"}),o.jsx("path",{fill:"#B7B9C8",fillRule:"evenodd",d:"M351.649 603.909C365.231 603.909 376.241 614.914 376.241 628.489C376.241 642.064 365.231 653.069 351.649 653.069C338.067 653.069 327.057 642.064 327.057 628.489C327.057 614.914 338.067 603.909 351.649 603.909Z",clipRule:"evenodd"}),o.jsx("path",{fill:"#B7B9C8",fillRule:"evenodd",d:"M399.811 358.173C422.806 358.173 441.447 376.814 441.447 399.809C441.447 422.803 422.806 441.444 399.811 441.444C376.817 441.444 358.176 422.803 358.176 399.809C358.176 376.814 376.817 358.173 399.811 358.173Z",clipRule:"evenodd"})]})}function Bd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"100px",height:"100px",viewBox:"0 0 100 100",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("title",{children:"kuji"}),o.jsxs("g",{id:"kuji",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[o.jsx("circle",{id:"Oval",fill:"#22242F",cx:"50",cy:"50",r:"50"}),o.jsx("path",{d:"M50,2 C76.509668,2 98,23.490332 98,50 C98,76.509668 76.509668,98 50,98 C23.490332,98 2,76.509668 2,50 C2,23.490332 23.490332,2 50,2 Z M50,5.38823529 C25.3616027,5.38823529 5.38823529,25.3616027 5.38823529,50 C5.38823529,74.6383973 25.3616027,94.6117647 50,94.6117647 C74.6383973,94.6117647 94.6117647,74.6383973 94.6117647,50 C94.6117647,25.3616027 74.6383973,5.38823529 50,5.38823529 Z",id:"Oval",fill:"#E53935",fillRule:"nonzero"}),o.jsx("path",{d:"M80.2507798,31.0832298 L80.2507798,26.7229814 L66.4391765,26.7229814 C65.6980661,23.9055901 64.9569557,21.4236025 64.1484716,19.1428571 L59.4996881,19.9478261 C60.3081722,21.9602484 61.1166563,24.2409938 61.8577667,26.7229814 L47.2376794,26.7229814 L47.2376794,31.0832298 L80.2507798,31.0832298 Z M44.8796007,63.4832298 L44.8796007,35.6447205 L38.0748596,35.6447205 C39.4897068,33.5652174 40.904554,31.0161491 42.3194011,27.9304348 L42.3194011,24.710559 L31.2027449,24.710559 C31.8091079,23.3689441 32.3480973,22.0273292 32.8870867,20.6186335 L28.5751716,19.2770186 C26.5539613,25.8509317 23.3873986,31.1503106 19.1428571,35.242236 L20.1534623,40.0049689 C21.02932,39.2 21.9051778,38.3950311 22.7136619,37.5229814 L22.7136619,63.4832298 L44.8796007,63.4832298 Z M33.4260761,35.6447205 L24.3980037,35.6447205 C26.1497193,33.4981366 27.8340611,31.0832298 29.316282,28.5341615 L37.8053649,28.5341615 C36.3231441,31.2173913 34.9082969,33.6322981 33.4260761,35.6447205 Z M61.1840299,80.8571429 C64.5527137,80.8571429 66.3044292,78.978882 66.3044292,75.289441 L66.3044292,56.1714286 L77.0168434,56.1714286 L77.0168434,37.1204969 L50.8084841,37.1204969 L50.8084841,56.1714286 L61.588272,56.1714286 L61.588272,74.1490683 C61.588272,75.826087 60.9145352,76.6981366 59.5670618,76.6981366 C58.0174672,76.6981366 56.4004991,76.5639752 54.7835309,76.3627329 L55.7267623,80.8571429 L61.1840299,80.8571429 Z M31.8764816,47.5850932 L26.8908297,47.5850932 L26.8908297,39.6024845 L31.8764816,39.6024845 L31.8764816,47.5850932 Z M40.7024329,47.5850932 L35.7841547,47.5850932 L35.7841547,39.6024845 L40.7024329,39.6024845 L40.7024329,47.5850932 Z M72.4354336,51.9453416 L55.3898939,51.9453416 L55.3898939,41.4136646 L72.4354336,41.4136646 L72.4354336,51.9453416 Z M40.7024329,59.4583851 L35.7841547,59.4583851 L35.7841547,51.4757764 L40.7024329,51.4757764 L40.7024329,59.4583851 Z M31.8764816,59.4583851 L26.8908297,59.4583851 L26.8908297,51.4757764 L31.8764816,51.4757764 L31.8764816,59.4583851 Z M77.2863381,77.7714286 L80.8571429,75.289441 C79.0380536,70.9962733 76.477854,66.0322981 73.1091703,60.3304348 L69.5383656,62.4770186 C72.7723019,68.0447205 75.3998752,73.1428571 77.2863381,77.7714286 Z M49.0567686,78.9118012 C52.0212102,74.2832298 54.5814099,68.7826087 56.7373674,62.4770186 L52.8296943,60.5987578 C50.7411104,66.6360248 48.2482845,71.868323 45.4185901,76.2956522 L49.0567686,78.9118012 Z M43.4647536,74.3503106 L46.7660636,73.5453416 C45.8228322,70.3254658 44.8796007,67.5080745 43.801622,65.0931677 L40.6350593,66.0322981 C41.7130381,68.715528 42.6562695,71.4658385 43.4647536,74.3503106 Z M36.3231441,78.2409938 L39.8265752,77.8385093 C39.4223331,72.7403727 38.6812227,68.715528 37.6032439,65.7639752 L34.2345602,66.1664596 C35.312539,68.9838509 35.9862757,73.0086957 36.3231441,78.2409938 Z M23.4547723,80.0521739 C24.8696195,76.0944099 25.7454772,71.6 26.1497193,66.5018634 L22.5115409,66.0322981 C22.1746725,70.8621118 21.231441,75.1552795 19.7492202,78.9118012 L23.4547723,80.0521739 Z M29.1141609,79.247205 L32.617592,78.8447205 C32.4828447,73.5453416 32.1459763,69.3192547 31.6743606,66.2335404 L28.4404242,66.6360248 C28.7772926,69.5875776 28.9794136,73.8136646 29.1141609,79.247205 Z",id:"鯨",fill:"#E53935",fillRule:"nonzero"})]})]})}function Zd(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"72",height:"72",viewBox:"0 0 72 72",fill:"none",children:[o.jsx("path",{d:"M0 35.9864C0 16.2622 15.9896 0 35.7138 0V0C55.438 0 71.4276 16.2622 71.4276 35.9864V35.9864C71.4276 55.7106 55.438 71.9728 35.7138 71.9728V71.9728C15.9896 71.9728 0 55.7106 0 35.9864V35.9864Z",fill:"#040404"}),o.jsx("g",{clipPath:"url(#clip0_2310_14480)",children:o.jsx("path",{d:"M34.6646 25.2973C34.6646 23.701 35.9571 22.4006 37.5438 22.4006H42.6955V15.353H40.1196H37.5438C32.0857 15.353 27.6598 19.8059 27.6598 25.2973C27.6598 26.7302 27.963 28.0923 28.5052 29.3217C24.2661 31.1245 21.4514 34.9549 20.7959 39.8022C20.0302 45.1241 22.1497 50.865 26.7655 53.6385C30.885 56.2486 37.3262 56.076 40.8057 52.4551V54.8588H47.9759V28.1939H37.5467C35.9602 28.1939 34.6646 26.8936 34.6646 25.2973ZM40.965 35.2446V41.9377C40.965 45.6356 37.9848 48.6309 34.3124 48.6309C30.64 48.6309 27.6598 45.6325 27.6598 41.9377C27.6598 38.2429 30.64 35.2446 34.3124 35.2446H40.965Z",fill:"#BFF009"})})]})}function Wd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"1000",height:"1000",viewBox:"0 0 1000 1000",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M1000 500C1000 776.142 776.142 1000 500 1000C223.858 1000 0 776.142 0 500C0 223.858 223.858 0 500 0C776.142 0 1000 223.858 1000 500Z",fill:"#E6DAFE"}),o.jsx("path",{d:"M575.336 459.157C575.336 494.675 546.559 523.473 511.068 523.473V587.789C582.05 587.789 639.604 530.193 639.604 459.157C639.604 388.122 582.05 330.526 511.068 330.526C487.669 330.526 465.695 336.78 446.801 347.746C408.374 369.97 382.533 411.539 382.533 459.157V780.736L446.801 845.052V459.157C446.801 423.64 475.577 394.841 511.068 394.841C546.559 394.841 575.336 423.64 575.336 459.157Z",fill:"#242235"}),o.jsx("path",{d:"M511.07 201.904C464.243 201.904 420.352 214.442 382.535 236.346C358.322 250.338 336.638 268.169 318.268 289.026C278.271 334.376 254 393.95 254 459.168V652.115L318.268 716.431V459.168C318.268 402.037 343.091 350.695 382.535 315.351C401.08 298.771 422.851 285.681 446.803 277.245C466.888 270.089 488.543 266.22 511.07 266.22C617.543 266.22 703.873 352.614 703.873 459.168C703.873 565.721 617.543 652.115 511.07 652.115V716.431C653.063 716.431 768.14 601.238 768.14 459.168C768.14 317.097 653.063 201.904 511.07 201.904Z",fill:"#242235"})]})}function Fd(){return o.jsxs("svg",{viewBox:"100 100 400 400",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:`M148.497 169.135C150.981 166.013 153.613 163.009 156.245
|
|
408
|
+
`;function iM(){return Te(this,void 0,void 0,function*(){if(typeof window<"u"){const e=window.navigator.userAgent.toLowerCase(),t=new eM;e.includes("wv")?t.initWithError({name:"SolanaMobileWalletAdapterError",code:"ERROR_BROWSER_NOT_SUPPORTED",message:""}):t.initWithError({name:"SolanaMobileWalletAdapterError",code:"ERROR_WALLET_NOT_FOUND",message:""}),t.open()}})}function rM(){return()=>Te(this,void 0,void 0,function*(){iM()})}const po="SolanaMobileWalletAdapterDefaultAuthorizationCache";function oM(){let e;try{e=window.localStorage}catch{}return{clear(){return Te(this,void 0,void 0,function*(){if(e)try{e.removeItem(po)}catch{}})},get(){return Te(this,void 0,void 0,function*(){if(e)try{const t=JSON.parse(e.getItem(po));if(t&&t.accounts){const n=t.accounts.map(i=>Object.assign(Object.assign({},i),{publicKey:"publicKey"in i?new Uint8Array(Object.values(i.publicKey)):wi.decode(i.address)}));return Object.assign(Object.assign({},t),{accounts:n})}else return t||void 0}catch{}})},set(t){return Te(this,void 0,void 0,function*(){if(e)try{e.setItem(po,JSON.stringify(t))}catch{}})}}}function sM(){return{select(e){return Te(this,void 0,void 0,function*(){return e.length===1?e[0]:e.includes(Ee.SOLANA_MAINNET_CHAIN)?Ee.SOLANA_MAINNET_CHAIN:e[0]})}}}let dt;const ht={};function Sr(e,t,n,i){const r=Vs(e,t),s=n.getName();!(i||!r?void 0:!!localStorage.getItem(r))&&r&&s!==Sn.NAME&&localStorage.setItem(r,s)}function Er(e,t){const n=Vs(e,t);n&&localStorage.removeItem(n)}function k2(e,t,n){ht[t]={chain:e,wallet:n},Sr(e,t,n,!0);const i=t===we.TransferWallet.RECEIVING?we.TransferWallet.SENDING:we.TransferWallet.RECEIVING;Sr(e,i,n,!1)}async function v2(e,t){const n=b.networkChainToNativeChainId.get(x.config.network,t),i=typeof n=="bigint"?Number(n):n;if(i===void 0)throw new Error(`Native chain ID not found for ${t} on ${x.config.network}`);if(await e.connect({chainId:i}),!e.getAddress())throw new Error(`Wallet ${e.getName()} did not return an address for chain ${t}`)}function Vs(e,t){const n=x.config.chains[e];if(!n)return null;const i=b.chainToPlatform(n.sdkName);return x.config.cacheKey(`wallet:${i}:${t}`)}async function aM(e,t){const n=Vs(e,t);if(!n)return null;const i=localStorage.getItem(n);if(!i||i==="WalletConnect")return null;try{const r=x.config.chains[e],a=(await we.getWalletOptions(r)).find(c=>c.name===i);return a?.isReady?(await v2(a.wallet,e),k2(e,t,a.wallet),a.wallet):(Er(e,t),null)}catch{return Er(e,t),null}}async function cM(e,t,n){if(n)return await aM(e,t);if(dt)return dt.chain!==e||dt.type!==t?Promise.reject("Connect wallet pending for other chain/type"):dt.promise;let i,r;const s=new Promise((a,c)=>{i=a,r=c});return dt={chain:e,type:t,promise:s,resolve:i,reject:r},s}function uM(e,t){const n=ht[t];if(!n||n.chain!==e)return;ht[t]=void 0,Er(e,t);const i=t===we.TransferWallet.RECEIVING?we.TransferWallet.SENDING:we.TransferWallet.RECEIVING;Er(e,i);try{n.wallet.disconnect()}catch(r){console.error("Error disconnecting wallet:",r)}}function lM(e,t){const n=ht[t];return!n||!e||b.chainToPlatform(n.chain)!==b.chainToPlatform(e)?null:n.wallet}async function MM(e,t,n){return await we.signAndSendTransaction(e,n,t)}function dM(){let e=ht.sending,t=ht.receiving;t?.wallet.getName()===Sn.NAME&&t.wallet.disconnect();const n=ht.sending;ht.sending=ht.receiving,ht.receiving=n,e=ht.sending,t=ht.receiving,e&&Sr(e?.chain,we.TransferWallet.SENDING,e?.wallet,!0),t&&Sr(t?.chain,we.TransferWallet.RECEIVING,t?.wallet,!0)}function gM(e,t){}function fM(e,t){}async function hM(e,t,n){if(!dt)throw new Error("No pending wallet connection request");if(dt.chain!==t||dt.type!==n)throw new Error(`Wallet selection mismatch: expected ${dt.chain}/${dt.type}, but got ${t}/${n}`);try{await v2(e,t),k2(t,n,e),dt.resolve(e)}catch(i){dt.reject(i)}finally{dt=void 0}}function jM(){dt&&(dt.reject(new Error("User cancelled wallet connection")),dt=void 0)}function NM(){ht.sending=void 0,ht.receiving=void 0}const yM={isInternal:!0,connectWallet:cM,disconnectWallet:uM,clearWallets:NM,getWallet:lM,signAndSendTransaction:MM,swapWallets:dM,on:gM,off:fM,onWalletSelected:hM,onWalletSelectCancelled:jM};function IM(e){return Object.hasOwn(e,"isInternal")}function LM({onClose:e,title:t}){const n=B.useTheme(),i={header:{display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},title:{fontSize:"20px",fontWeight:600,lineHeight:"32px",display:"flex",alignItems:"center",justifyContent:"center"},iconButton:{position:"absolute",backgroundColor:n.palette.formContainer.background,border:"1px solid "+n.palette.input.border,"&:hover":{backgroundColor:n.palette.formContainer.background},height:"32px",width:"32px",fontSize:"16px",right:"16px"}};return o.jsxs(B.DialogTitle,{sx:i.header,children:[o.jsx(Me,{sx:i.title,role:"heading","aria-level":2,children:t}),o.jsx(Tn,{sx:i.iconButton,onClick:e,"aria-label":"Close wallet picker",children:o.jsx(Es,{fontSize:"inherit"})})]})}const U2=I.memo(LM),xM="Failed to load wallets. Please refresh and try again.",TM=e=>{const{chain:t,supportedChains:n}=e,[i,r]=I.useState({state:"loading"});return I.useEffect(()=>{let s=!1;async function a(){if(!t)return[];const c=x.config.chains[t];return c&&n.has(b.chainToPlatform(c.sdkName))?await we.getWalletOptions(c):[]}return(async()=>{try{const c=await a();!s&&c&&r({state:"result",options:c})}catch(c){console.error(`Error loading wallet options for ${t}: ${c}`),r({state:"error",error:xM})}})(),()=>{s=!0}},[t,n]),{walletOptionsResult:i}};function CM(e){const t=e.size||32,{icon:n,name:i}=e,r=I.useMemo(()=>({container:{height:t,width:t,...vr},icon:{maxHeight:"100%",maxWidth:"100%"}}),[t]);return o.jsx(B.Box,{sx:r.container,children:n&&o.jsx("img",{style:r.icon,src:n,alt:i})})}function mM(e){if(!e.startsWith("0x")||e.length!==42||!b.hex.valid(e))return!1;try{return b.getAddress(e),!0}catch{return!1}}async function pM(e){try{const t=new Ze.PublicKey(e);if(x.config.rpcs.Solana){const n=new Ze.Connection(x.config.rpcs.Solana);if((await Promise.allSettled([At.getAccount(n,t,"finalized",At.TOKEN_PROGRAM_ID),At.getAccount(n,t,"finalized",At.TOKEN_2022_PROGRAM_ID)])).some(r=>r.status==="fulfilled"))return!1}return!0}catch{return!1}}function DM(e){return e.startsWith("0x")&&e.length===66&&b.hex.valid(e)}async function wM(e,t){const n=b.chainToPlatform(e);switch(n){case"Evm":if(!mM(t))return null;break;case"Solana":if(!await pM(t))return null;break;case"Sui":if(!sc.isValidSuiAddress(t))return null;break;case"Aptos":if(!DM(t))return null;break;default:return console.warn(`Unsupported platform: ${n}`),null}try{return b.toNative(e,t)}catch(i){console.error(`Invalid address for chain ${e}: ${t}, error: ${i}`)}return null}function AM({onSelect:e,showAddressInput:t,walletType:n}){const i=tt(),r=B.useTheme(),{walletProvider:s}=ln(),a=s,c=I.useMemo(()=>({listButton:{display:"flex",flexDirection:"row",padding:"12px 16px"},drawer:{width:"360px"},notInstalled:{opacity:.6},title:{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},smOnly:{display:"none",[r.breakpoints.down("sm")]:{display:"block"}},addressInputContainer:{display:"flex",flexDirection:"row",gap:"8px",padding:"16px"},addressField:{flex:1},submitButton:{width:"100%"}}),[r]),{fromChain:u,toChain:l}=Ae(D=>D.transferInput),[M,g]=I.useState(""),[N,y]=I.useState(""),T=I.useMemo(()=>{const D=x.config.chainsArr.map(j=>b.chainToPlatform(j.sdkName));return new Set(D)},[]),d=I.useMemo(()=>n===we.TransferWallet.SENDING?u:l,[n,u,l]),{walletOptionsResult:f}=TM({chain:d,supportedChains:T}),C=I.useCallback(async D=>{if(d){e();try{await a.onWalletSelected(D.wallet,d,n)}catch(j){console.error("Failed to select wallet:",j)}}},[d,n,e,a]),m=I.useCallback(async()=>{if(!d||!M||!x.config.chains[d])return;const j=await wM(d,M);if(!j){y("Invalid Address"),i(mi(we.TransferWallet.RECEIVING));return}for(const p of $o)if(j.toString().toLowerCase()===p.toLowerCase()){y("Restricted Address"),i(mi(we.TransferWallet.RECEIVING));return}const L=new Sn(j,d);e();try{await a.onWalletSelected(L,d,we.TransferWallet.RECEIVING)}catch(p){console.error("Failed to select wallet:",p)}},[M,d,e,i,a]),h=I.useCallback(D=>[...D].sort(L=>L.isReady?-1:1).map(L=>o.jsxs(sn,{sx:c.listButton,dense:!0,onClick:()=>L.isReady?C(L):window.open(L.wallet.getUrl()),children:[o.jsx(bs,{children:o.jsx(CM,{name:L.name,icon:L.icon})}),o.jsxs(he,{sx:{display:"flex",flexDirection:"column"},children:[o.jsx(Me,{component:"div",fontSize:14,children:o.jsxs(he,{sx:L.isReady?{}:c.notInstalled,children:[!L.isReady&&"Install"," ",L.name]})}),L.description&&o.jsx(Me,{component:"div",fontSize:12,color:r.palette.text.secondary,sx:{marginTop:"2px"},children:L.description})]})]},L.name)),[c.listButton,c.notInstalled,C,r.palette.text.secondary]);return f.state==="loading"?o.jsx(St,{}):f.state==="error"?o.jsx(Vn,{error:!0,children:f.error}):f.options?.length?o.jsxs(o.Fragment,{children:[o.jsx(zs,{sx:{overflow:"auto",flex:1},children:h(f.options)}),t&&o.jsxs(he,{sx:c.addressInputContainer,children:[o.jsx(Os,{sx:c.addressField,fullWidth:!0,placeholder:"Send to a wallet address",size:"small",variant:"outlined",value:M,onChange:D=>{g(D.target.value),y("")},error:!!N,helperText:N}),o.jsx("div",{children:o.jsx(i0,{variant:"contained",color:"primary",onClick:m,disabled:!M,children:"Submit"})})]})]}):o.jsx(he,{sx:{display:"flex",justifyContent:"center",paddingY:5},children:o.jsx(Me,{children:"No available wallets"})})}const Y2=I.memo(AM);function SM({open:e,onCancel:t,onOpen:n,onSelect:i,showAddressInput:r,title:s,walletType:a}){const c=B.useTheme();return o.jsxs(Ss,{anchor:"bottom",open:e,slotProps:{paper:{sx:{background:c.palette.input.background,borderRadius:"8px",height:"calc(100vh - 40px)",maxWidth:"100vw",display:"flex",flexDirection:"column",overflow:"hidden"}}},transitionDuration:200,onOpen:n,onClose:t,children:[o.jsx(De,{alignItems:"center",paddingBottom:"4px",paddingTop:"8px",children:o.jsx(he,{sx:{width:"40px",height:"5px",backgroundColor:c.palette.text.secondary,borderRadius:"8px"}})}),o.jsx(U2,{onClose:t,title:s}),o.jsx(Y2,{onSelect:i,walletType:a,showAddressInput:r})]})}const EM=I.memo(SM);function zM({open:e,onCancel:t,onSelect:n,showAddressInput:i,title:r,walletType:s}){const a=B.useTheme();return o.jsxs(B.Dialog,{open:e,onClose:t,slotProps:{paper:{sx:{width:"400px",maxHeight:"80vh",borderRadius:"8px",background:a.palette.input.background,backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.24)",display:"flex",flexDirection:"column",overflow:"hidden"}},root:{sx:{display:"flex",justifyContent:"center",alignItems:"center",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"}}},children:[o.jsx(U2,{onClose:t,title:r}),o.jsx(Y2,{onSelect:n,walletType:s,showAddressInput:i})]})}function bM({isAddressInputVisible:e,open:t,setIsOpen:n,walletType:i}){const r=B.useTheme(),s=B.useMediaQuery(r.breakpoints.down("sm")),{walletProvider:a}=ln(),c=a,u=e&&i===we.TransferWallet.RECEIVING,l=I.useCallback(()=>{c.onWalletSelectCancelled(),n(!1)},[c,n]),M=I.useCallback(()=>{n(!1)},[n]),g=I.useCallback(()=>{n(!0)},[n]);if(!IM(a))return null;const N=i===we.TransferWallet.RECEIVING?"Select destination wallet":"Connect a wallet";return s?o.jsx(EM,{open:t,onCancel:l,onSelect:M,onOpen:g,showAddressInput:u,walletType:i,title:N}):o.jsx(zM,{open:t,onCancel:l,onSelect:M,showAddressInput:u,walletType:i,title:N})}const Js=I.memo(bM),OM=e=>{const{disabled:t=!1,type:n}=e,i=Ae(y=>y.wallet[n]),{fromChain:r,toChain:s}=Ae(y=>y.transferInput),{connectWallet:a}=ln(),c=n===we.TransferWallet.SENDING?r:s,[u,l]=I.useState(!1);I.useEffect(()=>{X5({appIdentity:{name:"Wormhole Connect",uri:"https://portalbridge.com/",icon:"/logo192.png"},authorizationCache:oM(),chains:["solana:devnet","solana:mainnet"],chainSelector:sM(),onWalletNotFound:rM()})},[]);const M=I.useCallback(async y=>{t||!c||(y?.close(),l(!0),await a(c,n))},[t,c,n,a]),g=I.useMemo(()=>i?.address?o.jsx("div",{children:`Connected to ${x.displayWalletAddress(i.type,i.address)}`}):null,[i.address,i.type]),N=I.useMemo(()=>{const y=o.jsx("span",{style:{width:"100%"},children:o.jsx(zt,{disableRipple:!0,variant:"primary","data-testid":`${e.side}-section-connect-wallet-button`,disabled:t,styleOverrides:{"&:disabled":{cursor:"not-allowed",pointerEvents:"all !important"}},onClick:()=>M(),children:o.jsx(Me,{textTransform:"none",children:`Connect ${e.side} wallet`})})});return t?o.jsx(zr,{title:`Please select a ${e.side} network`,children:y}):o.jsxs(o.Fragment,{children:[y,o.jsx(Js,{open:u,walletType:e.type,setIsOpen:l,isAddressInputVisible:!0})]})},[t,u,e.side,e.type,M]);return i&&i.address?g:N};function ai(e){if(typeof window>"u")return e;const t=qe.useRef(null);return qe.useLayoutEffect(()=>{t.current=e}),qe.useCallback((...n)=>{var i;(i=t.current)===null||i===void 0||i.call(t,...n)},[])}const za={};function kM(e,t){za[e]||(za[e]=!0,console.error("[material-ui-popup-state] WARNING",t))}const vM={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},ba=qe,UM="useId"in ba?()=>ba.useId():()=>{};function R2({parentPopupState:e,popupId:t=UM(),variant:n,disableAutoFocus:i}){const r=I.useRef(!0);I.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]);const[s,a]=I.useState(vM),c=I.useCallback(m=>{r.current&&a(m)},[]),u=I.useCallback(m=>c(h=>({...h,setAnchorElUsed:!0,anchorEl:m??void 0})),[]),l=ai(m=>(s.isOpen?N(m):M(m),s)),M=ai(m=>{const h=m instanceof Element?void 0:m,D=m instanceof Element?m:m?.currentTarget instanceof Element?m.currentTarget:void 0;if(h?.type==="touchstart"){c(w=>({...w,_deferNextOpen:!0}));return}const j=h?.clientX,L=h?.clientY,p=typeof j=="number"&&typeof L=="number"?{left:j,top:L}:void 0,S=w=>{if(!m&&!w.setAnchorElUsed&&n!=="dialog"&&kM("missingEventOrAnchorEl","eventOrAnchorEl should be defined if setAnchorEl is not used"),e){if(!e.isOpen)return w;setTimeout(()=>e._setChildPopupState(C))}const z={...w,isOpen:!0,anchorPosition:p,hovered:h?.type==="mouseover"||w.hovered,focused:h?.type==="focus"||w.focused,_openEventType:h?.type};return w.setAnchorElUsed||(h!=null&&h.currentTarget?z.anchorEl=h.currentTarget:D&&(z.anchorEl=D)),z};c(w=>w._deferNextOpen?(setTimeout(()=>c(S),0),{...w,_deferNextOpen:!1}):S(w))}),g=m=>{const{_childPopupState:h}=m;return setTimeout(()=>{h?.close(),e?._setChildPopupState(null)}),{...m,isOpen:!1,hovered:!1,focused:!1}},N=ai(m=>{const h=m instanceof Element?void 0:m;if(h?.type==="touchstart"){c(D=>({...D,_deferNextClose:!0}));return}c(D=>D._deferNextClose?(setTimeout(()=>c(g),0),{...D,_deferNextClose:!1}):g(D))}),y=I.useCallback((m,h)=>{m?M(h):N(h)},[]),T=ai(m=>{const{relatedTarget:h}=m;c(D=>D.hovered&&!(h instanceof Element&&xs(h,C))?D.focused?{...D,hovered:!1}:g(D):D)}),d=ai(m=>{if(!m)return;const{relatedTarget:h}=m;c(D=>D.focused&&!(h instanceof Element&&xs(h,C))?D.hovered?{...D,focused:!1}:g(D):D)}),f=I.useCallback(m=>c(h=>({...h,_childPopupState:m})),[]),C={...s,setAnchorEl:u,popupId:t??void 0,variant:n,open:M,close:N,toggle:l,setOpen:y,onBlur:d,onMouseLeave:T,disableAutoFocus:i??!!(s.hovered||s.focused),_setChildPopupState:f};return C}function YM({isOpen:e,popupId:t,variant:n}){return{...n==="popover"?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:n==="popper"?{"aria-describedby":e?t:void 0}:void 0}}function _2(e){return{...YM(e),onClick:e.open,onTouchStart:e.open}}function Q2({isOpen:e,anchorEl:t,anchorPosition:n,close:i,popupId:r,onMouseLeave:s,disableAutoFocus:a,_openEventType:c}){return{id:r,anchorEl:t,anchorPosition:n,anchorReference:c==="contextmenu"?"anchorPosition":"anchorEl",open:e,onClose:i,onMouseLeave:s,...a&&{disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function RM(e,{popupId:t}){if(!t)return null;const n=typeof e.getRootNode=="function"?e.getRootNode():document;return typeof n.getElementById=="function"?n.getElementById(t):null}function xs(e,t){const{anchorEl:n,_childPopupState:i}=t;return Oa(n,e)||Oa(RM(e,t),e)||i!=null&&xs(e,i)}function Oa(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}const _M=({tokenList:e,searchQuery:t,selectedChainConfig:n,selectedToken:i,sourceToken:r,destToken:s,wallet:a,balances:c,isSourceList:u=!1})=>{const{getTokenPrice:l,lastTokenPriceUpdate:M}=ft();return I.useMemo(()=>{if(!e)return[];let g=K3(e,t,n);return g=e5(g,i,c,l,u?s:r),g=Ko(g,n),g=t5(g,r,u),u&&!t&&x.config.network==="Mainnet"&&(g=n5(g)),g},[e,t,n,i,a.address,c,l,M,u,r,s])},QM=e=>{const{address:t,href:n,target:i="_blank",label:r="Transactions",sx:s}=e,a=I.useCallback(()=>window.open(n.replace("{:address}",t),i),[t,n,i]);return o.jsxs(B.ListItemButton,{onClick:a,sx:s,children:[o.jsx(B.Typography,{children:r}),o.jsx(B.ListItemIcon,{children:o.jsx(Li.ExternalLinkIcon,{size:14})})]})};function PM({isDisabled:e,wallet:t}){const n=!!t?.address,i=We.useTheme(),r=n?x.displayWalletAddress(t.type,t.address):"Not connected",s=I.useMemo(()=>({container:{display:"flex",alignItems:"center",gap:"8px",opacity:1,...n&&{border:`1px solid ${i.palette.input.border}`,borderRadius:"16px",padding:"2px 8px",cursor:"pointer","&:hover":{borderColor:i.palette.primary.main}}},walletAddress:{color:i.palette.text.secondary},greenDot:{width:"5px",height:"5px",borderRadius:"50%",backgroundColor:"#4caf50"},disabled:{opacity:"0.6",cursor:"default",pointerEvents:"none"}}),[n,i.palette.input.border,i.palette.primary.main,i.palette.text.secondary]);return o.jsxs(he,{sx:[s.container,e&&s.disabled],children:[o.jsx(Me,{sx:s.walletAddress,fontSize:12,fontWeight:400,children:r}),o.jsx(Li.WalletIcon,{size:14}),n&&o.jsx("div",{style:s.greenDot})]})}const BM=1e3,ZM=e=>{const{connectWallet:t,disconnectWallet:n}=ln(),{isTransactionInProgress:i,fromChain:r,toChain:s}=Ae(D=>D.transferInput),a=Ae(D=>D.wallet[e.type]),c=e.type===we.TransferWallet.SENDING,u=c?r:s,l=c?!x.config.ui.hideSourceChangeWallet:!x.config.ui.hideDestinationChangeWallet,M=c?!x.config.ui.hideSourceDisconnectWallet:!x.config.ui.hideDestinationDisconnectWallet,[g,N]=I.useState(!1),[y,T]=I.useState(!1),d=R2({variant:"popover",popupId:`connected-wallet-popover-${e.type}`}),f=I.useCallback(async()=>{u&&(d?.close(),N(!0),await t(u,e.type))},[u,e.type,t,d]),C=I.useCallback(()=>{x.copyTextToClipboard(a.address),d?.close(),T(!0)},[d,a.address]),m=I.useCallback(async()=>{u&&(await n(u,e.type),d?.close())},[n,d,u,e.type]);I.useEffect(()=>{y&&setTimeout(()=>{T(!1)},BM)},[y]);const h=i?{}:_2(d);return o.jsxs(o.Fragment,{children:[o.jsx(B.Tooltip,{title:"Copied",open:y,placement:"top",arrow:!0,children:o.jsx(he,{...h,children:o.jsx(PM,{wallet:a,isDisabled:i})})}),!!a.address&&o.jsx(r0,{...Q2(d),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{sx:{marginTop:"4px"}}},sx:{"& .MuiTypography-root":{fontSize:14,flexGrow:1},"& .MuiListItemIcon-root":{justifyContent:"flex-end"}},children:o.jsxs(zs,{children:[o.jsxs(sn,{onClick:C,children:[o.jsx(Me,{children:"Copy address"}),o.jsx(B.ListItemIcon,{children:o.jsx(Li.CopyIcon,{size:14})})]}),x.config.ui.explorer?o.jsx(QM,{address:a.address,href:x.config.ui.explorer.href,target:x.config.ui.explorer.target,label:x.config.ui.explorer.label}):null,l&&o.jsxs(sn,{onClick:f,children:[o.jsx(Me,{children:"Change wallet"}),o.jsx(B.ListItemIcon,{children:o.jsx(Li.Repeat2Icon,{size:14})})]}),M&&o.jsxs(sn,{onClick:m,children:[o.jsx(Me,{children:"Disconnect"}),o.jsx(B.ListItemIcon,{children:o.jsx(Li.UnplugIcon,{size:14})})]})]})}),o.jsx(Js,{open:g,walletType:e.type,setIsOpen:N,isAddressInputVisible:!0})]})},WM=500,FM=I.memo(({value:e,onChange:t,onDebouncedChange:n,...i})=>{const[r,s]=I.useState(e??""),[a,c]=I.useState(!1),u=Zs(n,WM),l=I.useCallback(M=>{if(!C3(M.target.value))return;const g=s2(M.target.value);t(g),u(g),s(qo(g))},[u,t]);return I.useEffect(()=>{a||s(qo(e))},[e]),o.jsx(Os,{...i,value:r,focused:a,onChange:l,onFocus:()=>c(!0),onBlur:()=>c(!1)})});function HM(e){const t=B.useTheme(),n=I.useMemo(()=>({"aria-label":"Amount input",maxLength:22,style:{color:e.error?t.palette.error.main:t.palette.text.primary,fontSize:e.value.length>12?"20px":e.value.length>6?"28px":"36px",height:"36px",textAlign:"right"},step:"0.1",onWheel:u=>{u.currentTarget.blur()}}),[e.error,e.value.length,t.palette.error.main,t.palette.text.primary]),i=I.useMemo(()=>({amountContainer:{width:"100%",maxWidth:"250px",display:"flex",alignItems:"center"},amountInput:{background:t.palette.input.background,borderRadius:"8px",border:"none"},amountCardContent:{display:"flex",alignItems:"center",height:"38px",padding:0,":last-child":{padding:0}},balance:{color:t.palette.text.secondary,fontSize:"14px",lineHeight:"14px",textAlign:"right"}}),[t]),{fromChain:r,isTransactionInProgress:s}=Ae(u=>u.transferInput),{sourceToken:a}=zn(),c=s||!r||!a;return o.jsx(he,{sx:i.amountContainer,children:o.jsx(wn,{sx:i.amountInput,children:o.jsx(An,{sx:i.amountCardContent,children:o.jsx(FM,{fullWidth:!0,autoComplete:"off",disabled:c,placeholder:"0",slotProps:{htmlInput:n,input:{disableUnderline:!0}},variant:"standard",value:e.debouncedValue??"",onChange:e.onChange,onDebouncedChange:e.onDebouncedChange})})})})}const GM=I.memo(HM);function VM(e){const t=We.useTheme(),n=B.useMediaQuery(t.breakpoints.down("sm")),i=I.useMemo(()=>({input:{"& fieldset":{borderRadius:"100vh"},"& input::placeholder":{color:t.palette.text.primary,opacity:.2},"& .MuiOutlinedInput-root":{"& .MuiOutlinedInput-input::placeholder":{fontWeight:300},"& .MuiOutlinedInput-notchedOutline":{borderWidth:"1px"}}},icon:{height:20,width:20,color:t.palette.text.primary,opacity:.2}}),[t]);return o.jsx(B.Box,{sx:{padding:"0 16px"},children:o.jsx(Os,{sx:i.input,ref:r=>{!n&&r&&setTimeout(()=>{r.querySelector("input")?.focus()},10)},"data-testid":`${e.dataTestId}-input`,fullWidth:!0,placeholder:e.placeholder,"aria-label":"Search",size:"small",variant:"outlined",value:e.value,onChange:r=>e.onChange(r.target.value),slotProps:{input:{startAdornment:o.jsx(ac,{position:"start",children:o.jsx(B0,{sx:i.icon})})},htmlInput:{style:{fontSize:16,height:22,lineHeight:22}}}})})}function JM(e){const t=uu(),n={wrapper:{maxHeight:"240px",display:"flex",flexDirection:"column",padding:0},searchList:{marginTop:0,overflow:"auto"}},{items:i,filterFn:r,searchQuery:s}=e,a=I.useMemo(()=>e.listTitle?o.jsx(he,{sx:{padding:"16px"},children:e.listTitle}):o.jsx("div",{style:{paddingTop:"16px"}}),[e.listTitle]),c=I.useMemo(()=>r?i.filter(u=>r(u,s)):i,[i,r,s]);return o.jsxs(he,{sx:{...n.wrapper,...e.sx},className:e?.className||"",children:[e.title,o.jsx(VM,{value:e.searchQuery,dataTestId:e.dataTestId,onChange:e.onQueryChange,placeholder:e.searchPlaceholder}),o.jsxs(zs,{disablePadding:!0,sx:{...n.searchList,...t},"data-testid":e.dataTestId,children:[a,e.loading||c.map(e.renderFn)]})]})}const P2=I.memo(JM),qM=B.createSvgIcon(o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"36",height:"36",rx:"6",fill:"currentColor"}),o.jsx("path",{d:"M17.1429 17.6429V12.5H18.8571V17.6429H24V19.3571H18.8571V24.5H17.1429V19.3571H12V17.6429H17.1429Z",fill:"white"})]}),"Plus");function XM({chains:e,selectedChain:t,showMoreButton:n,onChainSelect:i,onShowMore:r}){const s=We.useTheme(),a=B.useMediaQuery(s.breakpoints.down("sm")),c=I.useMemo(()=>({chainButton:{display:"flex",flexDirection:"column",padding:"8px",backgroundColor:s.palette.input.background,border:`1px solid ${s.palette.input.border}`,borderRadius:"8px",width:a?"56px":"78px",minWidth:"56px",maxWidth:"78px",position:"relative",overflow:"hidden","&.Mui-selected":{border:"1px solid",borderColor:s.palette.primary.main},"& svg":{pointerEvents:"none"},"&:hover":{backgroundColor:s.palette.primary.main+Nt[10],border:"1px solid",borderColor:s.palette.primary.main}},chainTileLabel:{color:s.palette.text.secondary,fontSize:"11px",fontFamily:s.typography.fontFamily,fontWeight:400,lineHeight:"12px",marginTop:"8px",whiteSpace:"nowrap"},chainIcon:{borderRadius:"100%",width:"24px",height:"24px",overflow:"hidden",pointerEvents:"none"}}),[s,a]),u=I.useMemo(()=>{const N=e.length>=6?Math.ceil(e.length/2):e.length,y=e.slice(0,N),T=e.slice(N);return{firstRowChains:y,secondRowChains:T}},[e]),l=I.useCallback(g=>o.jsxs(sn,{selected:t?.sdkName===g.sdkName,sx:c.chainButton,"data-testid":`chain-button-${g.sdkName.toLowerCase()}`,"aria-label":`Select ${g.displayName}`,onClick:()=>i(g.sdkName),children:[o.jsx(he,{sx:c.chainIcon,children:o.jsx(pn,{icon:g.icon,height:24})}),o.jsx(Me,{sx:c.chainTileLabel,children:g.displayName})]},g.sdkName),[i,t,c.chainButton,c.chainIcon,c.chainTileLabel]),M=I.useMemo(()=>o.jsxs(sn,{sx:c.chainButton,onClick:r,children:[o.jsx(he,{sx:c.chainIcon,children:o.jsx(qM,{htmlColor:s.palette.text.tertiary,sx:{height:"24px",width:"24px"}})}),o.jsx(Me,{sx:c.chainTileLabel,children:"More"})]},"moreButton"),[r,c.chainButton,c.chainIcon,c.chainTileLabel,s.palette.text.tertiary]);return o.jsxs(he,{sx:{maxWidth:"456px"},children:[o.jsx(he,{display:"flex",flexDirection:"row",gap:"16px",marginBottom:u.secondRowChains.length>0?"16px":"0",children:u.firstRowChains.map(g=>l(g))}),u.secondRowChains.length>0&&o.jsxs(he,{display:"flex",flexDirection:"row",gap:"16px",children:[u.secondRowChains.map(g=>l(g)),n&&M]})]})}const $M=I.memo(XM),Fi=10;function KM(e){const t=We.useTheme(),[n,i]=I.useState(""),r=I.useMemo(()=>({card:{background:t.palette.input.background,maxWidth:"488px",[t.breakpoints.down("sm")]:{width:"100vw",minHeight:"194px"}},cardContent:{paddingBottom:"0!important",[t.breakpoints.down("sm")]:{padding:"16px 10px",":last-child":{padding:"16px 10px"}}},title:{fontSize:"24px",fontWeight:600,lineHeight:"32px",marginBottom:"12px",display:"flex",alignItems:"center",justifyContent:"center"},chainSearchList:{maxHeight:"516px",[t.breakpoints.down("sm")]:{maxHeight:"640px"}},chainSearchItem:{display:"flex",flexDirection:"row",padding:"8px",borderRadius:"8px"},chainIcon:{borderRadius:"100%",width:"24px",height:"24px",overflow:"hidden",pointerEvents:"none"}}),[t]),{chainList:s,selectedChainConfig:a,showSearch:c,setShowSearch:u,onChainSelect:l}=e,M=I.useMemo(()=>{const y=s??[],T=y.findIndex(d=>d.sdkName===a?.sdkName);return a&&T&&T>=Fi-1?[a,...y.slice(0,Fi-2)]:y.slice(0,Fi-1)},[s,a]),g=(s?.length??0)>Fi-1,N=I.useMemo(()=>o.jsx(P2,{searchPlaceholder:"Search for a chain",sx:r.chainSearchList,items:s??[],searchQuery:n,onQueryChange:i,filterFn:(y,T)=>!T||y.displayName.toLowerCase().includes(T.toLowerCase()),renderFn:y=>o.jsxs(sn,{dense:!0,sx:r.chainSearchItem,onClick:()=>{l(y.sdkName),u(!1)},children:[o.jsx(bs,{sx:{minWidth:"50px"},children:o.jsx(he,{sx:r.chainIcon,children:o.jsx(pn,{icon:y.icon,height:24})})}),o.jsx(Me,{fontSize:"16px",fontWeight:500,children:y.displayName})]},y.sdkName)}),[r.chainSearchList,r.chainSearchItem,r.chainIcon,s,n,l,u]);return M.length<1?o.jsx(he,{sx:{display:"flex",justifyContent:"center",paddingY:5},children:o.jsx(Me,{children:"No available chains"})}):o.jsx(wn,{sx:r.card,variant:"elevation",children:o.jsxs(An,{sx:r.cardContent,children:[o.jsx(Me,{fontSize:"14px",fontWeight:500,paddingBottom:"16px",role:"heading","aria-level":3,children:"Choose network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cC1jb2xvcj0id2hpdGUiLz48c3RvcCBvZmZzZXQ9IjAuMzgiIHN0b3AtY29sb3I9IiNBN0IzRkYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM3NEE0RkYiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=";if(e==="HyperCore")return Ne+"PHN2ZyB3aWR0aD0iMTQ0IiBoZWlnaHQ9IjE0NCIgdmlld0JveD0iMCAwIDE0NCAxNDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0NCA3MS42OTkxQzE0NCAxMTkuMzA2IDExNC44NjYgMTM0LjU4MiA5OS41MTU2IDEyMC45OEM4Ni44ODA0IDEwOS44ODkgODMuMTIxMSA4Ni40NTIxIDY0LjExNiA4NC4wNDU2QzM5Ljk5NDIgODEuMDExMyAzNy45MDU3IDExMy4xMzMgMjIuMDMzNCAxMTMuMTMzQzMuNTUwNCAxMTMuMTMzIDAgODYuMjQyOCAwIDcyLjQzMTVDMCA1OC4zMDYzIDMuOTY4MDkgMzkuMDU0MiAxOS43MzYgMzkuMDU0MkMzOC4xMTQ2IDM5LjA1NDIgMzkuMTU4OCA2Ni41NzIyIDYyLjEzMiA2NS4xMDczQzg1LjAwMDcgNjMuNTM3OSA4NS40MTg0IDM0Ljg2ODkgMTAwLjI0NyAyMi42MjcxQzExMy4xOTUgMTIuMDU5MyAxNDQgMjMuNDY0MSAxNDQgNzEuNjk5MVoiIGZpbGw9IiM5N0ZDRTQiLz48L3N2Zz4=";{const t=e;return""}}function ed(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"200",height:"201",viewBox:"0 0 200 201",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{clipPath:"url(#icons_tokens_wbtc_clipPath_0)",children:[o.jsx("path",{d:"M197.008 124.204C183.651 177.782 129.385 210.389 75.8004 197.028C22.2386 183.671 -10.3679 129.402 2.99519 75.8283C16.3465 22.2444 70.6123 -10.3645 124.18 2.99268C177.76 16.3499 210.365 70.625 197.006 124.205L197.007 124.204H197.008Z",fill:"#F7931A"}),o.jsx("path",{d:"M144.1 85.7619C146.091 72.4526 135.958 65.2984 122.102 60.5258L126.597 42.4971L115.623 39.7625L111.247 57.3165C108.362 56.5969 105.399 55.9189 102.454 55.2467L106.862 37.5769L95.8939 34.8423L91.3965 52.8651C89.009 52.3215 86.664 51.7842 84.3889 51.2181L84.4016 51.1614L69.2674 47.3822L66.3481 59.1037C66.3481 59.1037 74.4903 60.9701 74.3187 61.085C78.7628 62.1942 79.5665 65.1361 79.433 67.4679L74.3128 88.0067C74.6188 88.0844 75.0158 88.1969 75.4538 88.3729C75.0876 88.2819 74.698 88.1827 74.2938 88.0859L67.117 116.858C66.5739 118.208 65.1954 120.234 62.0883 119.465C62.1982 119.624 54.1118 117.474 54.1118 117.474L48.6631 130.037L62.9447 133.597C65.6016 134.263 68.2052 134.96 70.7692 135.616L66.2278 153.851L77.1897 156.586L81.6871 138.544C84.6817 139.357 87.5879 140.107 90.433 140.814L85.9508 158.771L96.9258 161.505L101.467 143.304C120.181 146.846 134.252 145.418 140.175 128.491C144.948 114.863 139.937 107.002 130.092 101.876C137.263 100.222 142.664 95.5061 144.104 85.7634L144.101 85.7609L144.1 85.7619ZM119.026 120.923C115.634 134.551 92.689 127.184 85.2498 125.336L91.2763 101.178C98.715 103.035 122.571 106.71 119.027 120.923H119.026ZM122.42 85.5644C119.326 97.9606 100.228 91.6628 94.0333 90.1185L99.4972 68.208C105.692 69.7522 125.643 72.6345 122.421 85.5644H122.42Z",fill:"white"})]})})}function td(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{clipPath:"url(#icons_tokens_busd_clipPath_0)",children:[o.jsx("path",{d:"M99.6979 0.420898L124.296 25.6121L62.3557 87.5527L37.7573 62.9542L99.6979 0.420898Z",fill:"#F0B90B",stroke:"#F0B90B"}),o.jsx("path",{d:"M137.04 37.7632L161.639 62.9543L62.3557 162.237L37.7573 137.639L137.04 37.7632Z",fill:"#F0B90B",stroke:"#F0B90B"}),o.jsx("path",{d:"M25.0135 75.1055L49.6119 100.297L25.0135 124.895L0.415039 100.297L25.0135 75.1055Z",fill:"#F0B90B",stroke:"#F0B90B"}),o.jsx("path",{d:"M174.382 75.1055L198.981 100.297L99.698 199.579L75.0996 174.981L174.382 75.1055Z",fill:"#F0B90B",stroke:"#F0B90B"})]})})}function nd(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"230",height:"200",viewBox:"0 0 230 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{clipPath:"url(#icons_tokens_usdt_clipPath_0)",children:[o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.0972 0.982283L0.176253 89.0373C0.0167314 89.3648 -0.0338199 89.7348 0.0319915 90.0931C0.0978028 90.4514 0.276524 90.7792 0.54202 91.0287L113.76 199.519C114.082 199.828 114.51 200 114.956 200C115.402 200 115.83 199.828 116.151 199.519L229.37 91.0355C229.635 90.786 229.814 90.4582 229.88 90.0998C229.946 89.7415 229.895 89.3716 229.736 89.0441L187.815 0.989056C187.679 0.69333 187.462 0.442813 187.188 0.267445C186.914 0.0920761 186.596 -0.00072543 186.27 0.000131083H43.6551C43.3283 -0.00393409 43.0074 0.086632 42.731 0.260904C42.4545 0.435177 42.2344 0.68571 42.0972 0.982283Z",fill:"#50AF95"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M129.502 98.0801C128.689 98.1411 124.49 98.3917 115.122 98.3917C107.671 98.3917 102.381 98.1682 100.525 98.0801C71.7311 96.8135 50.2389 91.8011 50.2389 85.7998C50.2389 79.7985 71.7311 74.7929 100.525 73.506V93.0881C102.408 93.2235 107.8 93.5419 115.251 93.5419C124.192 93.5419 128.669 93.1693 129.475 93.0948V73.5195C158.208 74.7997 179.653 79.8121 179.653 85.7998C179.653 91.7876 158.215 96.7999 129.475 98.0733L129.502 98.0801ZM129.502 71.4943V53.9713H169.601V27.25H60.4262V53.9713H100.518V71.4875C67.9312 72.9844 43.4248 79.4395 43.4248 87.1748C43.4248 94.9101 67.9312 101.358 100.518 102.862V159.014H129.495V102.842C162.008 101.345 186.474 94.8966 186.474 87.1681C186.474 79.4395 162.028 72.9912 129.495 71.4875L129.502 71.4943Z",fill:"white"})]})})}function id(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{clipPath:"url(#icons_tokens_dai_clipPath_0)",children:[o.jsx("path",{d:"M100 0C155.234 0 200 44.7754 200 100C200 155.234 155.234 200 100 200C44.7754 200 0 155.229 0 100C0 44.7754 44.7754 0 100 0Z",fill:"#F5AC37"}),o.jsx("path",{d:"M103.686 107.06H141.684C142.494 107.06 142.877 107.06 142.935 105.998C143.246 102.133 143.246 98.2448 142.935 94.3748C142.935 93.6233 142.562 93.3128 141.747 93.3128H66.1237C65.1877 93.3128 64.9357 93.6233 64.9357 94.5008V105.625C64.9357 107.06 64.9357 107.06 66.4343 107.06H103.686ZM138.691 80.3121C138.799 80.0286 138.799 79.7181 138.691 79.4391C138.057 78.0576 137.305 76.7391 136.432 75.5016C135.118 73.3866 133.57 71.4381 131.806 69.6875C130.974 68.63 130.011 67.6805 128.931 66.875C123.522 62.2715 117.091 59.0134 110.179 57.3754C106.692 56.5924 103.128 56.2189 99.5546 56.2504H65.9932C65.0572 56.2504 64.9312 56.6239 64.9312 57.4384V79.6236C64.9312 80.5597 64.9312 80.8117 66.1192 80.8117H138.241C138.241 80.8117 138.867 80.6857 138.993 80.3121H138.687H138.691ZM138.691 120.061C137.629 119.944 136.558 119.944 135.496 120.061H66.1868C65.2507 120.061 64.9357 120.061 64.9357 121.312V143.002C64.9357 144.001 64.9357 144.253 66.1868 144.253H98.1866C99.7166 144.37 101.247 144.262 102.745 143.943C107.389 143.61 111.957 142.602 116.313 140.941C117.897 140.392 119.427 139.677 120.871 138.817H121.308C128.809 134.916 134.902 128.787 138.745 121.263C138.745 121.263 139.182 120.318 138.691 120.07V120.061ZM52.3761 155.499V155.125V140.563V135.627V120.939C52.3761 120.124 52.3761 120.003 51.3771 120.003H37.814C37.0625 120.003 36.752 120.003 36.752 119.004V107.128H51.2511C52.0611 107.128 52.3761 107.128 52.3761 106.066V94.3163C52.3761 93.5648 52.3761 93.3803 51.3771 93.3803H37.814C37.0625 93.3803 36.752 93.3803 36.752 92.3813V81.3832C36.752 80.6947 36.752 80.5102 37.751 80.5102H51.1881C52.1241 80.5102 52.3761 80.5102 52.3761 79.3221V45.6348C52.3761 44.6358 52.3761 44.3838 53.6271 44.3838H100.5C103.902 44.5188 107.281 44.8923 110.625 45.5088C117.514 46.7823 124.134 49.2438 130.186 52.7584C134.2 55.1209 137.895 57.9739 141.184 61.259C143.66 63.8285 145.892 66.6095 147.872 69.5705C149.838 72.5721 151.472 75.7806 152.754 79.1331C152.912 80.0061 153.749 80.5957 154.622 80.4472H165.809C167.244 80.4472 167.244 80.4472 167.307 81.8242V92.0753C167.307 93.0743 166.934 93.3263 165.93 93.3263H157.304C156.431 93.3263 156.179 93.3263 156.242 94.4513C156.584 98.2583 156.584 102.079 156.242 105.886C156.242 106.948 156.242 107.074 157.434 107.074H167.303C167.739 107.636 167.303 108.199 167.303 108.766C167.366 109.49 167.366 110.224 167.303 110.948V118.513C167.303 119.575 166.992 119.89 166.052 119.89H154.239C153.416 119.733 152.615 120.259 152.426 121.078C149.613 128.391 145.113 134.947 139.299 140.203C137.175 142.116 134.943 143.916 132.612 145.576C130.11 147.016 127.675 148.515 125.11 149.703C120.39 151.827 115.44 153.393 110.359 154.387C105.535 155.251 100.644 155.643 95.734 155.575H52.3581V155.512L52.3761 155.499Z",fill:"#FEFEFD"})]})})}function rd(){return o.jsx("svg",{width:"92",height:"91",viewBox:"0 0 92 91",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M91.3583 45.4564C91.3583 20.351 70.9064 0 45.6817 0C20.4571 0 0 20.351 0 45.4564C0 50.6467 0.876215 55.6319 2.48433 60.2786C2.49464 60.2991 2.58226 60.5658 2.58226 60.5658C3.23169 62.6224 0.0103084 63.4277 0.0103084 64.6586C0.0103084 66.587 6.80355 66.3254 6.80355 68.5667C6.80355 70.5208 0.0824673 71.126 0.0824673 73.0954C0.0824673 75.8188 14.9627 74.87 15.1534 77.2087C15.2977 79.014 10.0352 79.1269 10.0043 81.0553C9.95277 84.1377 30.3119 83.1273 30.3119 85.1788C30.3119 86.7329 21.0498 86.1687 21.0498 88.0048C21.0498 89.8409 33.2395 91 46.6765 91C60.1135 91 69.3808 89.5127 69.3808 87.9073C69.3808 86.302 60.732 86.6303 60.9124 85.184C61.2217 82.6555 80.4211 83.9479 80.4211 81.0194C80.4211 79.4756 75.1432 79.1166 75.3133 77.4549C75.5555 75.1059 91.3583 75.4547 91.3583 73.0134C91.3583 71.0952 83.5239 70.6233 83.5394 68.6283C83.5497 66.5921 91.3583 66.6793 91.3068 64.7714C91.2655 63.3046 87.8122 63.3405 88.8946 60.2324C90.4924 55.6011 91.3686 50.6313 91.3686 45.4564H91.3583ZM76.8441 58.3656C75.2566 61.9403 71.6899 61.2223 71.2878 62.725C70.8704 64.279 75.6844 64.5047 75.6844 66.1305C75.6844 68.1051 61.0104 67.3153 61.1547 69.9207C61.2474 71.5619 71.5765 71.8389 71.3806 73.5519C71.0971 76.0342 55.3768 74.7931 55.2222 77.1728C55.1088 78.9166 62.8968 78.9781 62.9123 80.5681C62.9277 81.9067 56.7994 82.635 45.0581 82.635C31.6881 82.635 25.1835 81.9169 25.9257 80.4245C26.6163 79.0294 38.4555 79.2859 38.337 77.0907C38.2184 74.9008 17.313 75.5419 16.6842 73.4134C16.1584 71.644 23.5547 71.2798 23.5083 69.5976C23.462 67.8846 14.0401 68.2744 13.8339 66.1972C13.6999 64.8381 18.7562 64.9201 18.5397 63.2071C18.3799 61.9608 16.2924 62.1352 15.0554 59.5657C13.0608 55.2729 11.9371 50.4929 11.9371 45.4513C11.9371 26.9056 27.0493 11.868 45.6869 11.868C64.3245 11.868 79.4366 26.9056 79.4366 45.4513C79.4366 50.0262 78.514 54.3856 76.8492 58.3604L76.8441 58.3656Z",fill:"white"})})}function od(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 254 254",width:"254",height:"254",viewBox:"0 0 254 254",children:[o.jsx("circle",{cx:"127",cy:"127",r:"127",fill:"#e84142",fillRule:"evenodd",clipRule:"evenodd"}),o.jsx("path",{fill:"#fff",d:"M171.8 130.3c4.4-7.6 11.5-7.6 15.9 0l27.4 48.1c4.4 7.6.8 13.8-8 13.8h-55.2c-8.7 0-12.3-6.2-8-13.8l27.9-48.1zm-53-92.6c4.4-7.6 11.4-7.6 15.8 0l6.1 11L155.1 74c3.5 7.2 3.5 15.7 0 22.9l-48.3 83.7c-4.4 6.8-11.7 11.1-19.8 11.6H46.9c-8.8 0-12.4-6.1-8-13.8l79.9-140.7z"})]})}function sd(){return o.jsxs("svg",{id:"icons_tokens_bnb_svg",style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",width:"511.97",height:"511.97",viewBox:"0 0 511.97 511.97",children:[o.jsx("title",{children:"binance-coin-bnb"}),o.jsx("g",{id:"icons_tokens_bnb_g_0","data-name":"icons_tokens_bnb_g_0",children:o.jsxs("g",{id:"icons_tokens_bnb_g_1","data-name":"icons_tokens_bnb_g_1",children:[o.jsx("path",{fill:"#f3ba2f",d:"M156.56,215.14,256,115.71l99.47,99.47,57.86-57.85L256,0,98.71,157.28l57.85,57.85M0,256l57.86-57.87L115.71,256,57.85,313.83Zm156.56,40.85L256,396.27l99.47-99.47,57.89,57.82,0,0L256,512,98.71,354.7l-.08-.09,57.93-57.77M396.27,256l57.85-57.85L512,256l-57.85,57.85Z"}),o.jsx("path",{fill:"#f3ba2f",d:"M314.66,256h0L256,197.25,212.6,240.63h0l-5,5L197.33,255.9l-.08.08.08.08L256,314.72l58.7-58.7,0,0-.05,0"})]})})]})}function ad(){return o.jsx("svg",{version:"1.1",id:"Symbol",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 384 383",style:{width:"100%",height:"100%"},xmlSpace:"preserve",children:o.jsx("path",{fill:"#FFF572",d:`M383.5,0H0.5v383h383V249.3h-63.6C298,298.1,248.7,332,192.3,332c-77.8,0-140.8-63.6-140.8-140.8
|
|
409
|
+
C51.4,114,114.5,51,192.3,51c57.5,0,106.8,35,128.7,84.9h62.5V0z`})})}function cd(){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",height:"182",width:"182",viewBox:"0 0 182 182",style:{maxHeight:"100%",maxWidth:"100%"},focusable:"false",children:o.jsx("g",{children:o.jsx("g",{id:"Layer_1",children:o.jsxs("g",{children:[o.jsx("path",{d:"M90.9,181v-45.2l-55.9-32.7,55.9,77.8Z",fill:"#f0cdc2",stroke:"#1616b4",strokeLinejoin:"round"}),o.jsx("path",{d:"M91.1,181v-45.2l55.9-32.7-55.9,77.8Z",fill:"#c9b3f5",stroke:"#1616b4",strokeLinejoin:"round"}),o.jsx("path",{d:"M90.9,124.6v-57.6l-56.5,25.3,56.5,32.3Z",fill:"#88aaf1",stroke:"#1616b4",strokeLinejoin:"round"}),o.jsx("path",{d:"M91.1,124.6v-57.6l56.5,25.3-56.5,32.3Z",fill:"#c9b3f5",stroke:"#1616b4",strokeLinejoin:"round"}),o.jsx("path",{d:"M34.4,92.3L90.9,1v66l-56.5,25.3Z",fill:"#f0cdc2",stroke:"#1616b4",strokeLinejoin:"round"}),o.jsx("path",{d:"M147.6,92.3L91.1,1v66l56.5,25.3Z",fill:"#b8faf6",stroke:"#1616b4",strokeLinejoin:"round"})]})})})})}function ud(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"100",height:"100",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M50 100C77.6142 100 100 77.6142 100 50C100 22.3858 77.6142 0 50 0C22.3858 0 0 22.3858 0 50C0 77.6142 22.3858 100 50 100Z",fill:"#13B5EC"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.75 40.3125L65 33.75V46.875L53.75 40.3125ZM65 68.4375L50 77.1875L35 68.4375V53.125L50 61.875L65 53.125V68.4375ZM35 33.75L46.25 40.3125L35 46.875V33.75ZM51.875 43.4375L63.125 50L51.875 56.5625V43.4375ZM48.125 56.5625L36.875 50L48.125 43.4375V56.5625ZM63.125 30.625L50 38.125L36.875 30.625L50 22.8125L63.125 30.625ZM31.25 29.375V70.3125L50 80.9375L68.75 70.3125V29.375L50 18.75L31.25 29.375Z",fill:"white"})]})}function ld(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"96",height:"84",viewBox:"0 0 96 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("g",{clipPath:"url(#icons_tokens_sol_clipPath_0)",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.368 64.052A3.214 3.214 0 0 1 19.744 63l73.312.06a1.612 1.612 0 0 1 1.188 2.698l-15.612 17.19A3.213 3.213 0 0 1 76.254 84l-73.31-.06a1.611 1.611 0 0 1-1.188-2.698l15.612-17.19Zm76.876-14.31a1.611 1.611 0 0 1-1.188 2.698l-73.31.06a3.213 3.213 0 0 1-2.378-1.052l-15.612-17.2a1.612 1.612 0 0 1 1.188-2.698l73.312-.06a3.213 3.213 0 0 1 2.376 1.052l15.612 17.2ZM17.368 1.052A3.215 3.215 0 0 1 19.744 0l73.312.06a1.612 1.612 0 0 1 1.188 2.698l-15.612 17.19A3.213 3.213 0 0 1 76.254 21l-73.31-.06a1.611 1.611 0 0 1-1.188-2.698l15.612-17.19Z",fill:"url(#icons_tokens_sol_linearGradient_0)"})})})}function Md(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"200",height:"200",version:"1.2",baseProfile:"tiny",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 112",overflow:"visible",xmlSpace:"preserve",children:o.jsx("path",{fill:"currentColor",d:"M86.6 37.4h-9.9c-1.1 0-2.2-.5-3-1.3l-4-4.5c-1.2-1.3-3.1-1.4-4.5-.3l-.3.3-3.4 3.9c-1.1 1.3-2.8 2-4.5 2H2.9C1.4 41.9.4 46.6 0 51.3h51.2c.9 0 1.8-.4 2.4-1l4.8-5c.6-.6 1.4-1 2.3-1h.2c.9 0 1.8.4 2.4 1.1l4 4.5c.8.9 1.9 1.4 3 1.4H112c-.4-4.7-1.4-9.4-2.9-13.8H86.6zM53.8 65l-4-4.5c-1.2-1.3-3.1-1.4-4.5-.3l-.3.3-3.5 3.9c-1.1 1.3-2.7 2-4.4 2H.8c.9 4.8 2.5 9.5 4.6 14h25.5c.9 0 1.7-.4 2.4-1l4.8-5c.6-.6 1.4-1 2.3-1h.2c.9 0 1.8.4 2.4 1.1l4 4.5c.8.9 1.9 1.4 3 1.4h56.6c2.1-4.4 3.7-9.1 4.6-14H56.8c-1.2 0-2.3-.5-3-1.4zm19.6-43.6 4.8-5c.6-.6 1.4-1 2.3-1h.2c.9 0 1.8.4 2.4 1l4 4.5c.8.9 1.9 1.3 3 1.3h10.8c-18.8-24.8-54.1-29.7-79-11-4.1 3.1-7.8 6.8-11 11H71c1 .2 1.8-.2 2.4-.8zM34.7 94.2c-1.2 0-2.3-.5-3-1.3l-4-4.5c-1.2-1.3-3.2-1.4-4.5-.2l-.2.2-3.5 3.9c-1.1 1.3-2.7 2-4.4 2h-.2C36 116.9 71.7 118 94.4 96.7c.9-.8 1.7-1.7 2.6-2.6H34.7z"})})}function dd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{cx:"100",cy:"100",r:"100",fill:"#6FBCEF"}),o.jsx("mask",{id:"mask0_309_9859",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"200",children:o.jsx("path",{d:"M200 100C200 155.228 155.228 200 100 200C44.7715 200 0 155.228 0 100C0 44.7715 44.7715 0 100 0C155.228 0 200 44.7715 200 100Z",fill:"#8DCBF5"})}),o.jsxs("g",{mask:"url(#mask0_309_9859)",children:[o.jsx("path",{d:"M113 -4L174 19L196 63.5C196 63.5 169.5 40.5 138.5 24.5C107.5 8.5 58.5 4 58.5 4L113 -4Z",fill:"#7AC1F2"}),o.jsx("path",{d:"M15.8341 34.0023C15.8341 34.0023 72.9887 50.5017 103.494 64.5009C134 78.5001 144.388 89.0206 163.495 112.001C175.611 126.574 189.379 153.053 189.379 153.053L165.999 179.499C165.999 179.499 158.272 146.022 145.999 128.499C129.42 104.828 107.493 94.0004 86.4965 84.5002C65.5 75 -0.00518256 57.0917 -0.00518256 57.0917L15.8341 34.0023Z",fill:"#7AC1F2"}),o.jsx("path",{d:"M2.49892 130.498L-1.50005 100.5C-1.50005 100.5 45.5 117.5 75.5 138.5C105.5 159.5 123.499 199.998 123.499 199.998L89.9989 201.498C89.9989 201.498 86.5 192 62.5 165.5C38.5 139 2.49892 130.498 2.49892 130.498Z",fill:"#7AC1F2"})]}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.4743 158.743C56.7736 178.317 77.0124 190 99.6108 190C122.209 190 142.444 178.317 153.747 158.743C165.047 139.175 165.047 115.807 153.747 96.2343L106.133 13.7657C103.234 8.74477 95.9873 8.74478 93.0885 13.7657L45.4743 96.2343C34.1752 115.803 34.1752 139.17 45.4743 158.743ZM86.1978 52.9996L96.3497 35.416C97.799 32.9054 101.423 32.9054 102.872 35.416L141.927 103.062C149.102 115.489 150.448 129.872 145.967 143.034C145.501 140.887 144.848 138.69 143.969 136.47C138.575 122.856 126.377 112.351 107.708 105.244C94.8728 100.375 86.6799 93.2146 83.3509 83.96C79.063 72.0315 83.5416 59.0237 86.1978 52.9996ZM68.8873 82.9829L57.2949 103.062C48.4619 118.361 48.4619 136.624 57.2949 151.924C66.128 167.222 81.9447 176.352 99.6108 176.352C111.344 176.352 122.265 172.321 130.864 165.131C131.986 162.307 135.458 151.973 131.168 141.32C127.205 131.484 117.669 123.632 102.821 117.976C86.0386 111.61 75.1351 101.671 70.4201 88.4448C69.7707 86.6237 69.2662 84.7988 68.8873 82.9829Z",fill:"white"})]})}function gd(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"256",height:"256",viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m 127.67411,256 c 38.02499,0 72.18784,-16.49691 95.68658,-42.70676 -10.93123,-9.47577 -27.40461,-10.05162 -39.04159,-0.68556 l -2.22314,1.78953 c -21.30703,17.14908 -52.35448,14.61676 -70.58505,-5.7577 -9.94332,-11.11197 -26.972141,-12.24661 -38.308517,-2.55277 L 47.570215,228.00608 C 69.524032,245.52451 97.372724,256 127.67411,256 Z m 41.60702,-61.98133 C 189.57566,177.68394 218.1014,178.27 237.62049,194.0459 249.28754,174.76386 256,152.16374 256,128.00034 c 0,-26.85042 -8.28793,-51.769568 -22.45139,-72.350916 -9.131,-1.939587 -19.02787,0.325741 -26.54036,6.966212 l -2.13843,1.889976 C 184.37854,82.617466 153.24774,81.516899 134.09348,62.003681 123.64732,51.36103 106.58366,51.011574 95.70776,61.217474 L 65.879285,89.2086 49.470132,71.811468 79.298607,43.820001 C 99.6717,24.70176 131.636,25.356444 151.20497,45.292785 c 10.2248,10.416813 26.8437,11.004304 37.78245,1.335536 l 2.13842,-1.889909 c 6.64005,-5.869189 14.32197,-9.825846 22.366,-11.906837 C 190.75623,12.421275 160.66937,0 127.67411,0 62.5305,0 8.7242884,48.41669 0.45065936,111.14157 20.23734,101.67056 44.644196,105.31504 60.77713,121.79424 c 10.185043,10.40324 26.584631,11.50108 38.071994,2.54936 l 16.677656,-12.99623 c 20.96064,-16.333367 50.58976,-15.542866 70.64448,1.88493 l 32.46987,28.21744 -15.73073,18.00977 -32.46987,-28.21675 c -11.40333,-9.91056 -28.25178,-10.36033 -40.17025,-1.07263 l -16.67765,12.9969 C 92.486461,159.61353 62.356352,157.59639 43.643919,138.48264 32.762761,127.36794 14.966434,126.98019 3.609064,137.61037 L 0,140.98839 c 2.7009241,26.73389 13.649562,51.04108 30.269414,70.34973 l 27.34647,-23.38517 c 21.235909,-18.16038 53.135306,-16.03488 71.761456,4.78115 9.73221,10.87688 26.30602,12.22823 37.67997,3.07342 z",fill:"#ffffff",id:"path1050",style:{strokeWidth:6.82333}})})}function fd(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"111",height:"111",viewBox:"0 0 111 111",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M54.921 110.034C85.359 110.034 110.034 85.402 110.034 55.017C110.034 24.6319 85.359 0 54.921 0C26.0432 0 2.35281 22.1714 0 50.3923H72.8467V59.6416H3.9565e-07C2.35281 87.8625 26.0432 110.034 54.921 110.034Z",fill:"#0052FF"})})}function hd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"360",height:"360",viewBox:"0 0 360 360",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"360",height:"360",rx:"180",fill:"#6C00F6"}),o.jsx("path",{d:"M218.804 99.5819L168.572 128.432V218.473L140.856 234.539L112.97 218.46V186.313L140.856 170.39L158.786 180.788V154.779L140.699 144.511L90.4795 173.687V231.399L140.869 260.418L191.088 231.399V141.371L218.974 125.291L246.846 141.371V173.374L218.974 189.597L200.887 179.107V204.986L218.804 215.319L269.519 186.47V128.432L218.804 99.5819Z",fill:"white"})]})}function jd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"100",height:"100",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M50.7548 0L24.1998 15.3175L33.9648 20.975L50.7573 11.3175L67.5498 20.975L77.3148 15.3175L50.7548 0ZM67.5498 28.975L77.3148 34.635V45.9525L60.5198 55.61V74.9275L50.7573 80.585L40.9923 74.9275V55.61L24.1973 45.95V34.6325L33.9623 28.9725L50.7548 38.6325L67.5498 28.9725V28.975Z",fill:"#F0B90B"}),o.jsx("path",{d:"M77.3148 53.95V65.2675L67.5498 70.9275V59.61L77.3148 53.95Z",fill:"#F0B90B"}),o.jsx("path",{d:"M67.4525 78.925L84.2475 69.2675V49.95L94.0125 44.2925V74.9275L67.4525 90.245V78.925ZM84.25 30.635L74.48 24.975L84.25 19.3175L94.015 24.975V36.2925L84.25 41.9525V30.635ZM40.9925 94.3425V83.025L50.755 88.6825L60.52 83.025V94.3425L50.7575 100L40.9925 94.3425ZM33.9625 70.925L24.1975 65.2675V53.9525L33.9625 59.61V70.925ZM50.755 30.635L40.9925 24.975L50.755 19.3175L60.52 24.975L50.755 30.635ZM27.03 24.975L17.265 30.635V41.9525L7.5 36.2925V24.975L17.265 19.3175L27.03 24.975Z",fill:"#F0B90B"}),o.jsx("path",{d:"M7.5 44.2925L17.265 49.9525V69.2675L34.06 78.9275V90.245L7.5 74.925V44.2925Z",fill:"#F0B90B"})]})}function Nd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg","data-name":"86977684-12db-4850-8f30-233a7c267d11",width:"2000",height:"2000",viewBox:"0 0 2000 2000",children:[o.jsx("path",{fill:"#2775ca",d:"M1000 2000c554.17 0 1000-445.83 1000-1000S1554.17 0 1000 0 0 445.83 0 1000s445.83 1000 1000 1000z"}),o.jsx("path",{fill:"#fff",d:"M1275 1158.33c0-145.83-87.5-195.83-262.5-216.66-125-16.67-150-50-150-108.34s41.67-95.83 125-95.83c75 0 116.67 25 137.5 87.5 4.17 12.5 16.67 20.83 29.17 20.83h66.66c16.67 0 29.17-12.5 29.17-29.16v-4.17c-16.67-91.67-91.67-162.5-187.5-170.83v-100c0-16.67-12.5-29.17-33.33-33.34h-62.5c-16.67 0-29.17 12.5-33.34 33.34v95.83c-125 16.67-204.16 100-204.16 204.17 0 137.5 83.33 191.66 258.33 212.5 116.67 20.83 154.17 45.83 154.17 112.5s-58.34 112.5-137.5 112.5c-108.34 0-145.84-45.84-158.34-108.34-4.16-16.66-16.66-25-29.16-25h-70.84c-16.66 0-29.16 12.5-29.16 29.17v4.17c16.66 104.16 83.33 179.16 220.83 200v100c0 16.66 12.5 29.16 33.33 33.33h62.5c16.67 0 29.17-12.5 33.34-33.33v-100c125-20.84 208.33-108.34 208.33-220.84z"}),o.jsx("path",{fill:"#fff",d:"M787.5 1595.83c-325-116.66-491.67-479.16-370.83-800 62.5-175 200-308.33 370.83-370.83 16.67-8.33 25-20.83 25-41.67V325c0-16.67-8.33-29.17-25-33.33-4.17 0-12.5 0-16.67 4.16-395.83 125-612.5 545.84-487.5 941.67 75 233.33 254.17 412.5 487.5 487.5 16.67 8.33 33.34 0 37.5-16.67 4.17-4.16 4.17-8.33 4.17-16.66v-58.34c0-12.5-12.5-29.16-25-37.5zm441.67-1300c-16.67-8.33-33.34 0-37.5 16.67-4.17 4.17-4.17 8.33-4.17 16.67v58.33c0 16.67 12.5 33.33 25 41.67 325 116.66 491.67 479.16 370.83 800-62.5 175-200 308.33-370.83 370.83-16.67 8.33-25 20.83-25 41.67V1700c0 16.67 8.33 29.17 25 33.33 4.17 0 12.5 0 16.67-4.16 395.83-125 612.5-545.84 487.5-941.67-75-237.5-258.34-416.67-487.5-491.67z"})]})}function yd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"470.29",height:"514.25",viewBox:"0 0 470.29 514.25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"m291.13 237.47 35.654-60.5 96.103 149.68 0.046 28.727-0.313-197.67c-0.228-4.832-2.794-9.252-6.887-11.859l-173.02-99.525c-4.045-1.99-9.18-1.967-13.22 0.063-0.546 0.272-1.06 0.57-1.548 0.895l-0.604 0.379-167.94 97.322-0.651 0.296c-0.838 0.385-1.686 0.875-2.48 1.444-3.185 2.283-5.299 5.66-5.983 9.448-0.103 0.574-0.179 1.158-0.214 1.749l0.264 161.08 89.515-138.74c11.271-18.397 35.825-24.323 58.62-24.001l26.753 0.706-157.64 252.8 18.582 10.697 159.52-263.24 70.51-0.256-159.11 269.88 66.306 38.138 7.922 4.556c3.351 1.362 7.302 1.431 10.681 0.21l175.45-101.68-33.544 19.438-92.775-150.04zm13.602 195.93-66.969-105.11 40.881-69.371 87.952 138.63-61.864 35.851z",fill:"#2D374B"}),o.jsx("polygon",{points:"237.77 328.29 304.74 433.4 366.6 397.54 278.65 258.92",fill:"#28A0F0"}),o.jsx("path",{d:"m422.94 355.38-0.046-28.727-96.103-149.68-35.654 60.5 92.774 150.04 33.544-19.438c3.29-2.673 5.281-6.594 5.49-10.825l-5e-3 -1.869z",fill:"#28A0F0"}),o.jsx("path",{d:"m20.219 382.47 47.369 27.296 157.63-252.8-26.753-0.706c-22.795-0.322-47.35 5.604-58.62 24.001l-89.515 138.74-30.115 46.271v17.194z",fill:"#fff"}),o.jsx("polygon",{points:"316.2 156.96 245.69 157.22 86.17 420.46 141.93 452.56 157.09 426.85",fill:"#fff"}),o.jsx("path",{d:"m452.65 156.6c-0.59-14.746-8.574-28.245-21.08-36.104l-175.29-100.8c-12.371-6.229-27.825-6.237-40.218-4e-3 -1.465 0.739-170.46 98.752-170.46 98.752-2.339 1.122-4.592 2.458-6.711 3.975-11.164 8.001-17.969 20.435-18.668 34.095v208.76l30.115-46.271-0.263-161.08c0.035-0.589 0.109-1.169 0.214-1.741 0.681-3.79 2.797-7.171 5.983-9.456 0.795-0.569 172.68-100.06 173.23-100.34 4.04-2.029 9.175-2.053 13.22-0.063l173.02 99.523c4.093 2.607 6.659 7.027 6.887 11.859v199.54c-0.209 4.231-1.882 8.152-5.172 10.825l-33.544 19.438-17.308 10.031-61.864 35.852-62.737 36.357c-3.379 1.221-7.33 1.152-10.681-0.21l-74.228-42.693-15.163 25.717 66.706 38.406c2.206 1.255 4.171 2.367 5.784 3.272 2.497 1.4 4.199 2.337 4.8 2.629 4.741 2.303 11.563 3.643 17.71 3.643 5.636 0 11.132-1.035 16.332-3.072l182.22-105.53c10.459-8.104 16.612-20.325 17.166-33.564v-201.75z",fill:"#96BEDC"})]})}function Id(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",id:"optimism-logo-circle",width:"122",height:"122",viewBox:"0 0 122 122",children:[o.jsx("circle",{id:"Ellipse_11","data-name":"Ellipse 11",cx:"61",cy:"61",r:"61",fill:"#ff0420"}),o.jsx("path",{id:"Path_139","data-name":"Path 139",d:"M113.533,178.026a14.656,14.656,0,0,1-8.924-2.563,8.762,8.762,0,0,1-3.432-7.413,16.433,16.433,0,0,1,.229-2.471q.595-3.3,1.693-7.917,3.112-12.585,16.062-12.585a15.966,15.966,0,0,1,6.315,1.19,9.6,9.6,0,0,1,4.393,3.478,9.333,9.333,0,0,1,1.6,5.492,16.288,16.288,0,0,1-.229,2.425q-.687,4.073-1.647,7.917-1.6,6.269-5.537,9.381Q120.123,178.026,113.533,178.026Zm.641-6.59a6.5,6.5,0,0,0,4.348-1.51,8.424,8.424,0,0,0,2.608-4.622q1.053-4.3,1.6-7.505a10.5,10.5,0,0,0,.183-1.968q0-4.165-4.347-4.164a6.681,6.681,0,0,0-4.393,1.51,8.573,8.573,0,0,0-2.563,4.622q-.824,3.066-1.647,7.505a9.791,9.791,0,0,0-.183,1.922Q109.78,171.436,114.174,171.436Z",transform:"translate(-70.332 -100.849)",fill:"#fff"}),o.jsx("path",{id:"Path_140","data-name":"Path 140",d:"M205.3,178.612a.97.97,0,0,1-.778-.32,1.1,1.1,0,0,1-.137-.824l6.315-29.746a1.31,1.31,0,0,1,.5-.824,1.4,1.4,0,0,1,.87-.32h12.173a14.148,14.148,0,0,1,8.146,2.105,6.9,6.9,0,0,1,3.112,6.087,10.955,10.955,0,0,1-.275,2.38,12.39,12.39,0,0,1-4.622,7.78q-3.432,2.517-9.427,2.517H215l-2.105,10.022a1.311,1.311,0,0,1-.5.824,1.4,1.4,0,0,1-.869.32Zm16.2-17.482a5.451,5.451,0,0,0,3.341-1.052,4.942,4.942,0,0,0,1.922-3.02,8.022,8.022,0,0,0,.137-1.373,2.543,2.543,0,0,0-.778-2.014,3.836,3.836,0,0,0-2.654-.732h-5.491l-1.739,8.191Z",transform:"translate(-142.055 -101.892)",fill:"#fff"})]})}function Ld(){return o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",style:{maxHeight:"100%",maxWidth:"100%"},width:"256",height:"256",fill:"none",viewBox:"0 0 800 800",children:o.jsxs("g",{clipPath:"url(#icons_chains_osmo_clipPath_0)",children:[o.jsx("path",{fill:"#5E12A0",d:"M673.964 193.237C667.62 168.805 647.227 144.373 610.519 117.174C581.062 95.5081 549.792 83.0615 524.867 83.0615C519.882 83.0615 515.35 83.5225 510.819 84.4445C499.489 86.7494 489.519 95.0471 483.174 107.494C475.47 122.245 473.658 142.068 478.643 154.053C480.455 157.741 482.721 162.351 485.44 166.5C461.422 181.251 447.826 185.4 446.013 185.861C508.553 207.067 560.669 251.321 593.298 308.944L593.751 303.413C595.111 288.2 599.642 270.683 605.987 252.704C612.332 254.548 618.676 255.47 625.021 255.47C641.788 255.47 656.29 248.555 665.354 236.109C674.418 223.662 678.043 207.067 673.964 193.237Z"}),o.jsx("path",{fill:"url(#icons_chains_osmo_radialGradient_0)",d:"M608.706 239.342C649.945 250.867 666.713 218.598 661.275 196.932C655.383 175.265 636.35 153.138 602.814 128.245C569.279 103.352 535.29 93.2098 513.537 97.8197C491.784 102.43 485.44 136.081 490.878 148.989C493.144 154.06 498.129 161.436 504.927 169.733C496.316 175.726 488.159 180.336 481.361 184.485C523.054 203.385 559.309 232.888 586.5 269.767C589.672 257.321 594.204 246.257 598.282 236.576C601.455 237.037 605.08 237.959 608.706 239.342Z"}),o.jsx("path",{fill:"url(#icons_chains_osmo_radialGradient_1)",d:"M372.594 691.101C512.504 691.101 625.924 575.729 625.924 433.41C625.924 291.091 512.504 175.719 372.594 175.719C232.685 175.719 119.265 291.091 119.265 433.41C119.265 575.729 232.685 691.101 372.594 691.101Z"}),o.jsx("path",{fill:"#A98698",d:"M640.427 175.721C605.985 138.842 576.982 129.161 542.087 121.325C514.896 114.871 522.146 99.1973 555.229 102.424C539.367 96.8924 524.412 95.5094 513.536 97.8143C491.783 102.424 485.439 136.076 490.877 148.984C493.143 154.055 498.128 161.43 504.925 169.728C492.69 178.026 482.266 184.019 473.656 188.629C477.735 190.472 482.72 192.777 488.611 196.004C504.019 204.302 520.787 218.132 520.787 218.132C495.409 196.004 500.847 185.863 535.742 160.969C546.618 153.133 566.558 154.055 585.139 163.735C603.719 173.416 625.472 197.848 625.472 197.848L604.626 238.415C605.985 238.876 607.345 239.337 608.704 239.798C621.847 243.486 632.27 242.564 640.427 239.337C649.944 233.344 674.869 213.061 640.427 175.721Z",opacity:".6"}),o.jsx("path",{fill:"#5E12A0",d:"M541.631 143.45C550.695 147.138 562.478 153.592 576.979 163.273C594.2 174.797 609.155 187.705 618.672 197.847C602.811 219.052 592.388 248.094 586.043 268.377C589.215 272.987 592.841 277.597 596.013 282.207C599.185 270.682 604.624 253.626 611.875 236.569C613.687 237.03 615.953 237.03 618.219 237.03C623.657 237.03 630.002 236.108 634.987 231.96C638.612 229.194 642.691 224.123 642.238 214.903C642.238 206.144 635.44 195.081 621.391 181.712C611.421 172.031 597.826 161.429 584.23 151.748C545.257 125.472 518.066 118.096 505.83 130.543C497.672 138.84 498.579 148.982 501.298 156.358C486.796 166.039 474.56 172.953 466.403 177.563C471.841 179.407 476.826 181.712 482.264 184.017C496.766 176.18 517.613 162.812 541.631 143.45ZM627.283 209.371C628.642 211.676 629.095 213.981 629.095 215.364C629.095 219.513 627.736 220.896 626.83 221.818C625.017 223.201 621.391 224.123 618.219 224.123C620.938 218.591 624.11 213.981 627.283 209.371ZM515.347 140.684C516.706 139.301 520.332 138.379 526.223 139.301C521.691 142.989 517.159 146.216 512.628 149.443C512.174 146.216 512.627 142.989 515.347 140.684Z"}),o.jsx("path",{fill:"#5E12A0",d:"M372.596 160.503C224.405 160.503 104.311 282.664 104.311 433.406C104.311 584.149 224.405 706.31 372.596 706.31C520.786 706.31 640.88 584.149 640.88 433.406C640.88 282.664 520.333 160.503 372.596 160.503ZM372.596 691.098C232.562 691.098 119.266 575.851 119.266 433.406C119.266 290.962 232.562 175.715 372.596 175.715C512.629 175.715 625.925 290.962 625.925 433.406C625.925 575.851 512.176 691.098 372.596 691.098Z"}),o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_0)",d:"M372.594 691.101C512.504 691.101 625.924 575.729 625.924 433.41C625.924 291.091 512.504 175.719 372.594 175.719C232.685 175.719 119.265 291.091 119.265 433.41C119.265 575.729 232.685 691.101 372.594 691.101Z",opacity:".6"}),o.jsx("path",{fill:"#A98698",d:"M370.783 659.75C232.562 637.161 138.754 504.858 161.413 364.258C171.383 302.025 202.199 249.011 245.705 210.75C182.259 248.089 135.128 313.088 122.439 392.378C100.233 532.978 194.042 665.281 331.809 687.87C408.851 700.777 483.173 676.345 538.008 628.403C489.517 656.984 430.603 669.43 370.783 659.75Z",opacity:".6"}),o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_1)",d:"M412.93 179.411C349.031 168.808 286.945 183.56 236.189 216.29C235.282 217.212 234.376 218.133 234.376 218.133C253.863 206.148 282.413 195.545 282.413 195.545C208.998 238.878 186.339 288.203 186.339 288.203C214.889 231.963 298.728 192.318 364.439 189.552C430.151 186.786 473.203 206.609 525.772 249.481C578.342 292.813 610.064 381.322 606.892 451.392C604.173 521.462 567.918 578.163 567.918 578.163C592.844 545.433 607.799 521.462 617.315 497.03C619.128 489.654 620.941 482.278 621.847 474.441C644.506 334.302 551.151 201.999 412.93 179.411Z",opacity:".6"}),o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_2)",d:"M613.235 431.104C613.235 566.173 505.377 675.887 372.595 675.887C239.812 675.887 131.501 566.173 131.501 431.104H613.235Z"}),o.jsx("g",{opacity:".6",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_3)",d:"M594.201 431.104C594.201 562.946 491.781 670.817 363.077 675.887C366.25 675.887 369.422 675.887 372.594 675.887C505.377 675.887 613.234 566.173 613.234 431.104H594.201Z",opacity:".6"})}),o.jsx("g",{opacity:".7",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_4)",d:"M165.49 431.104H131.501C131.501 566.173 239.359 675.887 372.142 675.887C378.033 675.887 383.471 675.887 388.909 675.426C264.284 666.207 165.49 560.18 165.49 431.104Z",opacity:".7"})}),o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_5)",d:"M612.781 433.407C612.781 405.287 564.744 389.153 500.845 383.621C454.621 379.933 407.943 384.543 354.467 401.138C308.243 414.968 266.55 412.663 236.187 408.975C168.662 401.138 131.501 400.216 131.501 433.407C131.501 481.35 227.576 541.278 371.688 520.533C444.651 509.931 482.265 488.264 525.317 473.513C571.995 457.839 612.781 458.3 612.781 433.407Z"}),o.jsx("path",{fill:"#fff",d:"M451.448 317.236C473.974 317.236 492.234 298.661 492.234 275.747C492.234 252.833 473.974 234.258 451.448 234.258C428.922 234.258 410.661 252.833 410.661 275.747C410.661 298.661 428.922 317.236 451.448 317.236Z"}),o.jsx("path",{fill:"#fff",d:"M518.067 348.13C527.578 348.13 535.288 340.287 535.288 330.612C535.288 320.938 527.578 313.095 518.067 313.095C508.556 313.095 500.846 320.938 500.846 330.612C500.846 340.287 508.556 348.13 518.067 348.13Z"}),o.jsx("g",{opacity:".6",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_6)",d:"M579.703 242.563C579.25 242.563 578.796 242.563 578.796 242.563C576.077 242.102 574.265 239.336 574.718 236.109C578.796 214.904 596.017 194.62 596.924 193.698C598.736 191.393 602.362 191.393 604.175 193.237C606.441 195.081 606.44 198.769 604.628 200.613C604.175 201.074 588.313 219.975 584.688 238.414C584.235 241.18 581.969 242.563 579.703 242.563Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M355.905 625.64C362.913 625.64 368.594 619.861 368.594 612.732C368.594 605.604 362.913 599.825 355.905 599.825C348.897 599.825 343.216 605.604 343.216 612.732C343.216 619.861 348.897 625.64 355.905 625.64Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_7)",d:"M348.577 621.135C343.592 616.065 343.592 607.767 348.577 602.696C349.484 601.774 350.39 601.313 351.296 600.391C349.484 600.852 348.124 601.774 346.765 603.157C341.78 608.228 341.78 616.526 346.765 621.596C350.843 625.745 357.188 626.667 362.173 623.901C357.641 625.745 352.203 624.823 348.577 621.135Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M360.361 609.042C361.863 609.042 363.08 607.804 363.08 606.276C363.08 604.749 361.863 603.51 360.361 603.51C358.859 603.51 357.642 604.749 357.642 606.276C357.642 607.804 358.859 609.042 360.361 609.042Z",opacity:".3"}),o.jsx("path",{fill:"#fff",d:"M422.07 619.19C429.078 619.19 434.759 613.411 434.759 606.282C434.759 599.153 429.078 593.375 422.07 593.375C415.062 593.375 409.381 599.153 409.381 606.282C409.381 613.411 415.062 619.19 422.07 619.19Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_8)",d:"M414.742 614.685C409.757 609.614 409.757 601.317 414.742 596.246C415.648 595.324 416.555 594.863 417.461 593.941C415.648 594.402 414.289 595.324 412.929 596.707C407.944 601.778 407.944 610.075 412.929 615.146C417.008 619.295 423.352 620.217 428.337 617.451C423.806 619.295 418.367 618.373 414.742 614.685Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M426.526 602.592C428.027 602.592 429.245 601.354 429.245 599.826C429.245 598.298 428.027 597.06 426.526 597.06C425.024 597.06 423.806 598.298 423.806 599.826C423.806 601.354 425.024 602.592 426.526 602.592Z",opacity:".3"}),o.jsx("path",{fill:"#fff",d:"M389.361 649.153C394.617 649.153 398.878 644.819 398.878 639.472C398.878 634.126 394.617 629.792 389.361 629.792C384.105 629.792 379.845 634.126 379.845 639.472C379.845 644.819 384.105 649.153 389.361 649.153Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_9)",d:"M383.923 645.57C380.298 641.882 380.298 635.429 383.923 631.741C384.376 631.28 385.283 630.819 385.736 630.358C384.376 630.819 383.47 631.741 382.564 632.663C378.938 636.351 378.938 642.805 382.564 646.492C385.736 649.719 390.268 650.18 394.346 647.875C390.721 649.258 386.642 648.336 383.923 645.57Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M392.532 636.243C393.534 636.243 394.345 635.418 394.345 634.4C394.345 633.381 393.534 632.556 392.532 632.556C391.531 632.556 390.72 633.381 390.72 634.4C390.72 635.418 391.531 636.243 392.532 636.243Z",opacity:".3"}),o.jsx("path",{fill:"#fff",d:"M447.825 642.238C453.081 642.238 457.342 637.904 457.342 632.558C457.342 627.211 453.081 622.877 447.825 622.877C442.569 622.877 438.308 627.211 438.308 632.558C438.308 637.904 442.569 642.238 447.825 642.238Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_10)",d:"M442.387 638.656C438.761 634.968 438.761 628.514 442.387 624.826C442.84 624.365 443.746 623.904 444.199 623.443C442.84 623.904 441.934 624.826 441.027 625.748C437.402 629.436 437.402 635.89 441.027 639.578C444.199 642.805 448.731 643.266 452.81 640.961C449.184 642.344 445.106 641.422 442.387 638.656Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M450.996 629.338C451.997 629.338 452.809 628.512 452.809 627.494C452.809 626.475 451.997 625.65 450.996 625.65C449.995 625.65 449.183 626.475 449.183 627.494C449.183 628.512 449.995 629.338 450.996 629.338Z",opacity:".3"}),o.jsx("path",{fill:"#fff",d:"M301.896 621.034C313.41 621.034 322.743 611.54 322.743 599.829C322.743 588.118 313.41 578.624 301.896 578.624C290.383 578.624 281.05 588.118 281.05 599.829C281.05 611.54 290.383 621.034 301.896 621.034Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_11)",d:"M290.128 613.192C281.971 604.895 281.971 591.526 290.128 583.228C291.488 581.845 292.847 580.923 294.66 580.001C291.941 580.923 289.675 582.767 287.409 584.611C279.252 592.909 279.252 606.278 287.409 614.575C294.207 621.49 304.63 622.873 312.787 617.802C305.083 621.029 296.019 619.646 290.128 613.192Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M309.15 593.372C311.653 593.372 313.682 591.308 313.682 588.762C313.682 586.216 311.653 584.152 309.15 584.152C306.647 584.152 304.618 586.216 304.618 588.762C304.618 591.308 306.647 593.372 309.15 593.372Z",opacity:".3"}),o.jsx("path",{fill:"#fff",d:"M488.23 568.936C499.743 568.936 509.076 559.442 509.076 547.731C509.076 536.019 499.743 526.525 488.23 526.525C476.717 526.525 467.383 536.019 467.383 547.731C467.383 559.442 476.717 568.936 488.23 568.936Z",opacity:".2"}),o.jsx("g",{opacity:".4",children:o.jsx("path",{fill:"url(#icons_chains_osmo_linearGradient_12)",d:"M475.92 561.103C467.763 552.805 467.763 539.436 475.92 531.139C477.28 529.756 478.639 528.834 480.452 527.912C477.733 528.834 475.467 530.678 473.201 532.521C465.044 540.819 465.044 554.188 473.201 562.486C479.999 569.4 490.422 570.783 498.579 565.713C490.875 568.939 482.265 567.556 475.92 561.103Z",opacity:".6"})}),o.jsx("path",{fill:"#fff",d:"M495.407 541.282C497.91 541.282 499.939 539.218 499.939 536.672C499.939 534.126 497.91 532.062 495.407 532.062C492.904 532.062 490.875 534.126 490.875 536.672C490.875 539.218 492.904 541.282 495.407 541.282Z",opacity:".3"})]})})}function xd(){return o.jsxs("svg",{width:"144",height:"144",viewBox:"0 0 144 144",style:{maxHeight:"100%",maxWidth:"100%"},fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M71.85 143.7C111.532 143.7 143.7 111.532 143.7 71.85C143.7 32.1683 111.532 0 71.85 0C32.1683 0 0 32.1683 0 71.85C0 111.532 32.1683 143.7 71.85 143.7Z",fill:"#1D2229"}),o.jsx("path",{d:"M59.5621 65.1122H47.531V77.1433H59.5621V65.1122Z",fill:"white"}),o.jsx("path",{d:"M47.5309 53.081H35.4997V65.1121L47.531 65.1122L47.5309 53.081Z",fill:"white"}),o.jsx("path",{d:"M35.4978 65.1122H23.4667V77.1433H35.4978V65.1122Z",fill:"white"}),o.jsx("path",{d:"M47.531 77.1433L35.4997 77.1427V89.1738H47.5309L47.531 77.1433Z",fill:"white"}),o.jsx("path",{d:"M115.922 55.6723C115.074 46.824 107.437 43.8538 97.791 43.0056V37.3377H90.3225V42.6822C88.3601 42.6822 86.3535 42.7198 84.3579 42.7575V37.3333H76.8938V42.9989C75.2769 43.0299 65.3433 43.0211 65.3433 43.0211L65.3211 49.6058L71.5538 49.6413V92.7977H65.3233L65.268 99.2895C67.0775 99.2895 75.1308 99.3249 76.8761 99.336V104.931H84.3401V99.4689C86.3867 99.5132 88.3712 99.5309 90.307 99.5287V104.933H97.7777V99.3626C110.338 98.6472 119.133 95.4866 120.225 83.6947C121.111 74.1974 116.646 69.9626 109.516 68.2394C113.849 66.0246 116.558 62.1463 115.926 55.6701L115.922 55.6723ZM105.457 82.2129C105.457 91.491 89.5739 90.4301 84.5063 90.4323V73.9847C89.5716 73.9847 105.448 72.5384 105.45 82.2129H105.457ZM101.99 59.0057C101.99 67.4465 88.7366 66.4565 84.5173 66.4565V51.5372C88.7433 51.5394 101.995 50.2016 101.99 59.0057Z",fill:"white"})]})}function Td(){return o.jsxs("svg",{width:"512",height:"512",viewBox:"0 0 512 512",style:{maxHeight:"100%",maxWidth:"100%"},fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{width:"512",height:"512",rx:"256",fill:"#00A3FF"}),o.jsx("path",{opacity:"0.6",d:"M361.012 237.812L363.878 242.209C396.204 291.798 388.984 356.742 346.52 398.348C321.539 422.826 288.798 435.066 256.056 435.069C256.056 435.069 256.056 435.069 361.012 237.812Z",fill:"white"}),o.jsx("path",{opacity:"0.2",d:"M256.044 297.764L361 237.812C256.045 435.069 256.044 435.069 256.044 435.069C256.044 392.108 256.044 342.88 256.044 297.764Z",fill:"white"}),o.jsx("path",{d:"M150.988 237.812L148.122 242.209C115.796 291.798 123.016 356.742 165.48 398.348C190.461 422.826 223.202 435.066 255.944 435.069C255.944 435.069 255.944 435.069 150.988 237.812Z",fill:"white"}),o.jsx("path",{opacity:"0.6",d:"M255.914 297.764L150.958 237.812C255.914 435.069 255.914 435.069 255.914 435.069C255.914 392.108 255.914 342.88 255.914 297.764Z",fill:"white"}),o.jsx("path",{opacity:"0.2",d:"M256.083 163.833V267.233L346.491 215.566L256.083 163.833Z",fill:"white"}),o.jsx("path",{opacity:"0.6",d:"M256.056 163.833L165.583 215.565L256.056 267.233V163.833Z",fill:"white"}),o.jsx("path",{d:"M256.056 76.875L165.583 215.599L256.056 163.722V76.875Z",fill:"white"}),o.jsx("path",{opacity:"0.6",d:"M256.083 163.706L346.56 215.585L256.083 76.7916V163.706Z",fill:"white"})]})}function Cd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"156",height:"156",viewBox:"0 0 156 156",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{cx:"77.5713",cy:"77.5713",r:"77.5713",fill:"#ED4E33"}),o.jsx("path",{d:"M63.5871 41.5434C42.4254 49.6802 40.4869 70.5184 34.419 80.2503C28.2792 90.0978 14.2132 95.5313 16.1367 100.55C18.0601 105.568 32.1429 100.178 43.2844 103.38C54.2939 106.544 69.655 120.732 90.8167 112.595C101.597 108.45 109.403 99.9185 112.993 89.8133C113.379 88.7286 112.657 87.5686 111.512 87.4614C110.8 87.3945 110.117 87.7678 109.796 88.4072C106.549 94.8851 100.979 100.22 93.6894 103.022C81.6555 107.649 68.4886 104.016 60.4019 94.9052C58.5653 92.8363 56.9944 90.4811 55.7544 87.8782C55.4135 87.1618 55.0893 86.4337 54.8019 85.6804C54.5128 84.9272 54.2671 84.1689 54.0415 83.4073C60.4019 80.4378 67.7415 77.2926 76.0622 74.0938C84.2207 70.9569 91.6456 68.4126 98.2566 66.3772C102.729 65.0012 106.828 63.8563 110.529 62.9206C110.797 62.8536 111.061 62.7867 111.323 62.7214C111.883 62.5825 112.458 62.8821 112.665 63.4211L112.669 63.4311C112.791 63.7508 112.896 64.0722 113.009 64.3936C113.741 66.4676 114.29 68.5633 114.652 70.664C114.811 71.583 115.814 72.0835 116.636 71.6416C119.674 70.0078 122.453 68.4143 124.936 66.881C134.19 61.1731 139.32 56.3322 138.267 53.5887C137.216 50.8435 130.17 50.6862 119.48 52.6446C116.083 53.2673 112.316 54.1042 108.257 55.1404C107.555 55.3195 106.845 55.5053 106.126 55.6961C102.71 56.6034 99.1072 57.6428 95.3555 58.8062C88.3785 60.9705 80.8934 63.5634 73.1661 66.5345C65.9367 69.3148 59.085 72.1973 52.8015 75.0697C52.7247 62.8788 60.0827 51.354 72.1166 46.7274C79.4045 43.9253 87.1084 44.1547 93.8498 46.7944C94.5149 47.0555 95.272 46.8747 95.7583 46.3475C96.537 45.5021 96.298 44.1563 95.287 43.6073C85.8684 38.507 74.3676 37.3989 63.5871 41.5434Z",fill:"white"})]})}function md(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",width:"800",height:"800",fill:"none",viewBox:"0 0 800 800",children:[o.jsx("path",{fill:"#2E3148",fillRule:"evenodd",d:"M400.012 0.768066C620.509 0.768066 799.257 179.501 799.257 399.98C799.257 620.458 620.509 799.192 400.012 799.192C179.516 799.192 0.767944 620.458 0.767944 399.98C0.767944 179.501 179.516 0.768066 400.012 0.768066Z",clipRule:"evenodd"}),o.jsx("path",{fill:"#1B1E36",fillRule:"evenodd",d:"M399.226 169.68C526.431 169.68 629.552 272.801 629.552 400.007C629.552 527.212 526.431 630.333 399.226 630.333C272.02 630.333 168.899 527.212 168.899 400.007C168.899 272.801 272.02 169.68 399.226 169.68Z",clipRule:"evenodd"}),o.jsx("path",{fillRule:"evenodd",stroke:"#6F7390",strokeWidth:"15",d:"M401.181 58.2666C394.32 58.2666 386.121 65.8115 377.843 81.5569C368.982 98.411 360.796 123.281 353.849 154.523C339.501 219.047 331.271 306.552 331.271 399.977C331.271 493.402 339.501 580.908 353.849 645.431C360.796 676.673 368.982 701.543 377.843 718.397C386.121 734.143 394.32 741.688 401.181 741.688C408.042 741.688 416.241 734.143 424.519 718.397C433.38 701.543 441.566 676.673 448.513 645.431C462.862 580.908 471.092 493.402 471.092 399.977C471.092 306.552 462.862 219.047 448.513 154.523C441.566 123.281 433.38 98.411 424.519 81.5569C416.241 65.8115 408.042 58.2666 401.181 58.2666Z",clipRule:"evenodd"}),o.jsx("path",{fillRule:"evenodd",stroke:"#6F7390",strokeWidth:"15",d:"M697.298 229.144C693.869 223.208 683.229 219.884 665.444 220.592C646.407 221.351 620.761 226.702 590.213 236.311C527.123 256.157 447.177 292.789 366.216 339.504C285.255 386.219 213.538 437.098 164.797 481.78C141.196 503.415 123.737 522.936 113.562 539.033C104.057 554.069 101.618 564.935 105.046 570.868C108.475 576.804 119.115 580.129 136.9 579.42C155.937 578.662 181.583 573.311 212.131 563.701C275.221 543.856 355.167 507.224 436.129 460.508C517.09 413.793 588.806 362.915 637.547 318.233C661.148 296.598 678.607 277.077 688.783 260.98C698.287 245.944 700.726 235.078 697.298 229.144V229.144ZM697.298 229.144C697.298 229.144 697.298 229.144 697.298 229.144L697.298 229.144C697.298 229.144 697.298 229.144 697.298 229.144V229.144Z",clipRule:"evenodd"}),o.jsx("path",{fillRule:"evenodd",stroke:"#6F7390",strokeWidth:"15",d:"M697.298 570.868L697.298 570.868C700.726 564.935 698.288 554.069 688.783 539.033C678.607 522.936 661.148 503.415 637.548 481.78C588.806 437.098 517.09 386.219 436.129 339.504C355.167 292.789 275.221 256.157 212.131 236.311C181.583 226.702 155.937 221.351 136.9 220.592C119.115 219.884 108.475 223.208 105.046 229.144C101.618 235.078 104.057 245.944 113.562 260.98C123.737 277.077 141.196 296.598 164.797 318.233C213.538 362.915 285.255 413.793 366.216 460.508C447.177 507.224 527.123 543.856 590.213 563.701C620.761 573.311 646.407 578.662 665.444 579.42C683.229 580.129 693.869 576.804 697.298 570.868Z",clipRule:"evenodd"}),o.jsx("path",{fill:"#B7B9C8",fillRule:"evenodd",d:"M177.765 302.102C191.34 302.102 202.345 313.112 202.345 326.694C202.345 340.276 191.34 351.286 177.765 351.286C164.189 351.286 153.185 340.276 153.185 326.694C153.185 313.112 164.189 302.102 177.765 302.102Z",clipRule:"evenodd"}),o.jsx("path",{fill:"#B7B9C8",fillRule:"evenodd",d:"M568.451 217.905C582.033 217.905 593.043 228.915 593.043 242.497C593.043 256.079 582.033 267.089 568.451 267.089C554.869 267.089 543.859 256.079 543.859 242.497C543.859 228.915 554.869 217.905 568.451 217.905Z",clipRule:"evenodd"}),o.jsx("path",{fill:"#B7B9C8",fillRule:"evenodd",d:"M351.649 603.909C365.231 603.909 376.241 614.914 376.241 628.489C376.241 642.064 365.231 653.069 351.649 653.069C338.067 653.069 327.057 642.064 327.057 628.489C327.057 614.914 338.067 603.909 351.649 603.909Z",clipRule:"evenodd"}),o.jsx("path",{fill:"#B7B9C8",fillRule:"evenodd",d:"M399.811 358.173C422.806 358.173 441.447 376.814 441.447 399.809C441.447 422.803 422.806 441.444 399.811 441.444C376.817 441.444 358.176 422.803 358.176 399.809C358.176 376.814 376.817 358.173 399.811 358.173Z",clipRule:"evenodd"})]})}function pd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"100px",height:"100px",viewBox:"0 0 100 100",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("title",{children:"kuji"}),o.jsxs("g",{id:"kuji",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[o.jsx("circle",{id:"Oval",fill:"#22242F",cx:"50",cy:"50",r:"50"}),o.jsx("path",{d:"M50,2 C76.509668,2 98,23.490332 98,50 C98,76.509668 76.509668,98 50,98 C23.490332,98 2,76.509668 2,50 C2,23.490332 23.490332,2 50,2 Z M50,5.38823529 C25.3616027,5.38823529 5.38823529,25.3616027 5.38823529,50 C5.38823529,74.6383973 25.3616027,94.6117647 50,94.6117647 C74.6383973,94.6117647 94.6117647,74.6383973 94.6117647,50 C94.6117647,25.3616027 74.6383973,5.38823529 50,5.38823529 Z",id:"Oval",fill:"#E53935",fillRule:"nonzero"}),o.jsx("path",{d:"M80.2507798,31.0832298 L80.2507798,26.7229814 L66.4391765,26.7229814 C65.6980661,23.9055901 64.9569557,21.4236025 64.1484716,19.1428571 L59.4996881,19.9478261 C60.3081722,21.9602484 61.1166563,24.2409938 61.8577667,26.7229814 L47.2376794,26.7229814 L47.2376794,31.0832298 L80.2507798,31.0832298 Z M44.8796007,63.4832298 L44.8796007,35.6447205 L38.0748596,35.6447205 C39.4897068,33.5652174 40.904554,31.0161491 42.3194011,27.9304348 L42.3194011,24.710559 L31.2027449,24.710559 C31.8091079,23.3689441 32.3480973,22.0273292 32.8870867,20.6186335 L28.5751716,19.2770186 C26.5539613,25.8509317 23.3873986,31.1503106 19.1428571,35.242236 L20.1534623,40.0049689 C21.02932,39.2 21.9051778,38.3950311 22.7136619,37.5229814 L22.7136619,63.4832298 L44.8796007,63.4832298 Z M33.4260761,35.6447205 L24.3980037,35.6447205 C26.1497193,33.4981366 27.8340611,31.0832298 29.316282,28.5341615 L37.8053649,28.5341615 C36.3231441,31.2173913 34.9082969,33.6322981 33.4260761,35.6447205 Z M61.1840299,80.8571429 C64.5527137,80.8571429 66.3044292,78.978882 66.3044292,75.289441 L66.3044292,56.1714286 L77.0168434,56.1714286 L77.0168434,37.1204969 L50.8084841,37.1204969 L50.8084841,56.1714286 L61.588272,56.1714286 L61.588272,74.1490683 C61.588272,75.826087 60.9145352,76.6981366 59.5670618,76.6981366 C58.0174672,76.6981366 56.4004991,76.5639752 54.7835309,76.3627329 L55.7267623,80.8571429 L61.1840299,80.8571429 Z M31.8764816,47.5850932 L26.8908297,47.5850932 L26.8908297,39.6024845 L31.8764816,39.6024845 L31.8764816,47.5850932 Z M40.7024329,47.5850932 L35.7841547,47.5850932 L35.7841547,39.6024845 L40.7024329,39.6024845 L40.7024329,47.5850932 Z M72.4354336,51.9453416 L55.3898939,51.9453416 L55.3898939,41.4136646 L72.4354336,41.4136646 L72.4354336,51.9453416 Z M40.7024329,59.4583851 L35.7841547,59.4583851 L35.7841547,51.4757764 L40.7024329,51.4757764 L40.7024329,59.4583851 Z M31.8764816,59.4583851 L26.8908297,59.4583851 L26.8908297,51.4757764 L31.8764816,51.4757764 L31.8764816,59.4583851 Z M77.2863381,77.7714286 L80.8571429,75.289441 C79.0380536,70.9962733 76.477854,66.0322981 73.1091703,60.3304348 L69.5383656,62.4770186 C72.7723019,68.0447205 75.3998752,73.1428571 77.2863381,77.7714286 Z M49.0567686,78.9118012 C52.0212102,74.2832298 54.5814099,68.7826087 56.7373674,62.4770186 L52.8296943,60.5987578 C50.7411104,66.6360248 48.2482845,71.868323 45.4185901,76.2956522 L49.0567686,78.9118012 Z M43.4647536,74.3503106 L46.7660636,73.5453416 C45.8228322,70.3254658 44.8796007,67.5080745 43.801622,65.0931677 L40.6350593,66.0322981 C41.7130381,68.715528 42.6562695,71.4658385 43.4647536,74.3503106 Z M36.3231441,78.2409938 L39.8265752,77.8385093 C39.4223331,72.7403727 38.6812227,68.715528 37.6032439,65.7639752 L34.2345602,66.1664596 C35.312539,68.9838509 35.9862757,73.0086957 36.3231441,78.2409938 Z M23.4547723,80.0521739 C24.8696195,76.0944099 25.7454772,71.6 26.1497193,66.5018634 L22.5115409,66.0322981 C22.1746725,70.8621118 21.231441,75.1552795 19.7492202,78.9118012 L23.4547723,80.0521739 Z M29.1141609,79.247205 L32.617592,78.8447205 C32.4828447,73.5453416 32.1459763,69.3192547 31.6743606,66.2335404 L28.4404242,66.6360248 C28.7772926,69.5875776 28.9794136,73.8136646 29.1141609,79.247205 Z",id:"鯨",fill:"#E53935",fillRule:"nonzero"})]})]})}function Dd(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"72",height:"72",viewBox:"0 0 72 72",fill:"none",children:[o.jsx("path",{d:"M0 35.9864C0 16.2622 15.9896 0 35.7138 0V0C55.438 0 71.4276 16.2622 71.4276 35.9864V35.9864C71.4276 55.7106 55.438 71.9728 35.7138 71.9728V71.9728C15.9896 71.9728 0 55.7106 0 35.9864V35.9864Z",fill:"#040404"}),o.jsx("g",{clipPath:"url(#clip0_2310_14480)",children:o.jsx("path",{d:"M34.6646 25.2973C34.6646 23.701 35.9571 22.4006 37.5438 22.4006H42.6955V15.353H40.1196H37.5438C32.0857 15.353 27.6598 19.8059 27.6598 25.2973C27.6598 26.7302 27.963 28.0923 28.5052 29.3217C24.2661 31.1245 21.4514 34.9549 20.7959 39.8022C20.0302 45.1241 22.1497 50.865 26.7655 53.6385C30.885 56.2486 37.3262 56.076 40.8057 52.4551V54.8588H47.9759V28.1939H37.5467C35.9602 28.1939 34.6646 26.8936 34.6646 25.2973ZM40.965 35.2446V41.9377C40.965 45.6356 37.9848 48.6309 34.3124 48.6309C30.64 48.6309 27.6598 45.6325 27.6598 41.9377C27.6598 38.2429 30.64 35.2446 34.3124 35.2446H40.965Z",fill:"#BFF009"})})]})}function wd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"1000",height:"1000",viewBox:"0 0 1000 1000",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M1000 500C1000 776.142 776.142 1000 500 1000C223.858 1000 0 776.142 0 500C0 223.858 223.858 0 500 0C776.142 0 1000 223.858 1000 500Z",fill:"#E6DAFE"}),o.jsx("path",{d:"M575.336 459.157C575.336 494.675 546.559 523.473 511.068 523.473V587.789C582.05 587.789 639.604 530.193 639.604 459.157C639.604 388.122 582.05 330.526 511.068 330.526C487.669 330.526 465.695 336.78 446.801 347.746C408.374 369.97 382.533 411.539 382.533 459.157V780.736L446.801 845.052V459.157C446.801 423.64 475.577 394.841 511.068 394.841C546.559 394.841 575.336 423.64 575.336 459.157Z",fill:"#242235"}),o.jsx("path",{d:"M511.07 201.904C464.243 201.904 420.352 214.442 382.535 236.346C358.322 250.338 336.638 268.169 318.268 289.026C278.271 334.376 254 393.95 254 459.168V652.115L318.268 716.431V459.168C318.268 402.037 343.091 350.695 382.535 315.351C401.08 298.771 422.851 285.681 446.803 277.245C466.888 270.089 488.543 266.22 511.07 266.22C617.543 266.22 703.873 352.614 703.873 459.168C703.873 565.721 617.543 652.115 511.07 652.115V716.431C653.063 716.431 768.14 601.238 768.14 459.168C768.14 317.097 653.063 201.904 511.07 201.904Z",fill:"#242235"})]})}function Ad(){return o.jsxs("svg",{viewBox:"100 100 400 400",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:`M148.497 169.135C150.981 166.013 153.613 163.009 156.245
|
|
455
410
|
160.005C156.363 159.856 156.63 159.826 156.748 159.677C156.985 159.38 157.37
|
|
456
411
|
159.201 157.606 158.903L157.843 158.606C159.678 156.91 161.63 155.064
|
|
457
412
|
163.881 153.456C171.845 147.41 180.11 142.817 188.825 139.795C216.778
|
|
@@ -474,18 +429,18 @@ ${w.join(`
|
|
|
474
429
|
350.784C333.887 394.401 386.876 441.618 425.888 388.905C446.28 361.434
|
|
475
430
|
481.956 283.697 469.558 226.035C462.309 193.336 452.647 169.501 414.337
|
|
476
431
|
136.759C421.441 140.951 428.34 145.706 435.032 151.026C524.043 233.94
|
|
477
|
-
513.716 362.141 451.503 430.865Z`,fill:"url(#icons_tokens_inj_linearGradient_1)"})]})}function Hd(){return o.jsxs("svg",{viewBox:"316.829 225.555 66.146 48.89",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("g",{filter:"url(#icons_tokens_ntt_filter_0)",transform:"matrix(1, 0, 0, 1, 307.15521240234375, 224.00100708007812)",children:o.jsx("path",{d:"M42.3874 29.5938C40.2035 29.5938 38.433 27.8234 38.433 25.6394C38.433 23.4555 40.2035 21.6851 42.3874 21.6851C44.5714 21.6851 46.3418 23.4555 46.3418 25.6394C46.3418 27.8234 44.5714 29.5938 42.3874 29.5938Z",fill:"white"})}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 316.829 249.281 L 382.975 249.281 L 382.975 250.719 L 316.829 250.719 L 316.829 249.281 Z",fill:"url(#icons_tokens_ntt_linearGradient_0)"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 349.903 273.007 C 362.609 273.007 372.91 262.707 372.91 250 C 372.91 237.293 362.609 226.993 349.903 226.993 C 337.196 226.993 326.896 237.293 326.896 250 C 326.896 262.707 337.196 273.007 349.903 273.007 Z M 349.903 274.445 C 363.404 274.445 374.348 263.501 374.348 250 C 374.348 236.499 363.404 225.555 349.903 225.555 C 336.402 225.555 325.458 236.499 325.458 250 C 325.458 263.501 336.402 274.445 349.903 274.445 Z",fill:"url(#icons_tokens_ntt_linearGradient_1)"})]})}function Gd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"444",height:"444",viewBox:"0 0 444 444",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("style",{children:".st0{fill:#ffeeda}.st2{fill:#101010}"}),o.jsx("path",{d:"M0 0h444v444H0z",className:"st0"}),o.jsx("path",{d:"M333.4 262V110.6c-.2-12.7-10.3-22.9-23-22.9h-158c-34.1.5-61.5 28.4-61.5 62.6 0 11.5 3.1 21.4 7.8 30.1 4 7.2 10.3 14 16.5 19.1 1.8 1.4.9.8 6.3 4.1 7.4 4.5 15.9 6.8 15.9 6.8l-.1 90.6c.2 4.3.6 8.4 1.8 12.3 3.5 12.8 12.4 22.6 24.4 27.3 5 2 10.7 3.3 16.8 3.4l126.2.4c25.1 0 45.5-20.4 45.5-45.6.1-15-7.4-28.4-18.6-36.8z",className:"st0"}),o.jsx("path",{d:"M336.5 299.9C336 316 322.7 329 306.4 329l-86.8-.3c6.9-8 11.1-18.4 11.1-29.8 0-17.8-10.6-30.1-10.6-30.1h86.4c16.6 0 30.1 13.5 30.1 30.1l-.1 1z",style:{fill:"#ebc28e"}}),o.jsx("path",{d:"M123.5 186.7c-10-9.5-17-21.7-17-36.3v-1.5c.8-24.8 21.2-44.8 46-45.5h158c4.1.2 7.4 3.1 7.4 7.3v133.7c3.6.6 5.4 1.1 8.9 2.4 2.8 1 6.6 3.2 6.6 3.2V110.7c-.2-12.7-10.3-22.9-23-22.9h-158c-34.1.5-61.5 28.4-61.5 62.6 0 19.9 9.1 36.9 23.9 48.8 1 .8 2 1.9 4.6 1.9 4.6 0 7.9-3.7 7.7-7.7 0-3.4-1.5-4.6-3.6-6.7z",className:"st2"}),o.jsx("path",{d:"M306.4 253.2H182.5c-8.3.1-15 6.8-15 15.1v17.8c.2 8.2 7.2 15.2 15.6 15.2h9.2v-15.2H183v-17.4h5c15.7 0 27.2 14.5 27.2 30.1 0 13.8-12.6 31.4-33.6 30-18.6-1.2-28.7-17.8-28.7-30v-151c0-6.8-5.6-12.4-12.4-12.4h-12.4v15.5h9.2v148c-.5 30.1 21.4 45.2 44.3 45.2l124.9.4c25.1 0 45.5-20.4 45.5-45.6.1-25.2-20.4-45.7-45.6-45.7zm30.1 46.7C336 316 322.7 329 306.4 329l-86.8-.3c6.9-8 11.1-18.4 11.1-29.8 0-17.8-10.6-30.1-10.6-30.1h86.4c16.6 0 30.1 13.5 30.1 30.1l-.1 1zM273 153.7h-93.4v-15.5H273c4.2 0 7.7 3.4 7.7 7.7.1 4.3-3.3 7.8-7.7 7.8z",className:"st2"}),o.jsx("path",{d:"M273 226.4h-93.4V211H273c4.2 0 7.7 3.4 7.7 7.7.1 4.2-3.3 7.7-7.7 7.7zm16.5-36.4H179.6v-15.5h109.8c4.2 0 7.7 3.4 7.7 7.7.2 4.3-3.3 7.8-7.6 7.8z",className:"st2"})]})}function Vd(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{cx:"18",cy:"18",r:"18",fill:"black"}),o.jsx("path",{d:"M28.3266 11.8302L17.9483 11.8466C14.5118 11.8466 11.7258 14.6326 11.7258 18.069C11.7258 21.5055 14.5118 24.2915 17.9483 24.2915H27.9424",stroke:"white",strokeWidth:"2.18153",strokeMiterlimit:"10",strokeLinecap:"round"}),o.jsx("path",{d:"M6.16479 18.069H30.138",stroke:"white",strokeWidth:"2.18153",strokeMiterlimit:"10",strokeLinecap:"round"}),o.jsx("path",{d:"M18.069 6C24.7345 6 30.1379 11.4035 30.1379 18.069C30.1379 24.7345 24.7345 30.1379 18.069 30.1379C11.4035 30.1379 6 24.7345 6 18.069C6 11.4035 11.4035 6 18.069 6Z",stroke:"white",strokeWidth:"2.18153",strokeMiterlimit:"10",strokeLinecap:"round"})]})}function Jd(){return o.jsxs("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{cx:"32",cy:"32",r:"32",fill:"#814625"}),o.jsx("path",{d:"M30.8066 30.3796C30.7714 30.2733 30.7468 30.1643 30.7278 30.0542C30.7191 30.0032 30.7089 29.9524 30.6974 29.902C30.6723 29.7925 30.6444 29.6836 30.6143 29.5753V29.575C31.1133 28.8474 33.4988 25.0525 30.7842 22.6167C27.7714 19.9133 24.2512 23.4567 24.2512 23.4567L24.2621 23.4724C22.6799 23.0093 20.9643 22.955 19.2952 23.4565C19.295 23.4565 19.2949 23.4565 19.2949 23.4565C19.2743 23.4358 15.7659 19.9212 12.762 22.6167C9.75706 25.313 13.0019 29.6752 13.0188 29.698C13.0188 29.698 13.0188 29.6981 13.0188 29.6983C12.9843 29.8008 12.9564 29.9054 12.938 30.0117C12.6129 31.8784 10.3999 32.4545 10.3999 35.7061C10.3999 38.9576 12.715 41.6321 17.4404 41.6321H19.3794C19.3794 41.6321 19.3796 41.6321 19.3797 41.6321C19.3884 41.644 20.1867 42.7339 21.826 42.7327C23.3478 42.7316 24.3528 41.6414 24.3615 41.6321C24.3615 41.6321 24.3615 41.6321 24.3618 41.6321H26.2117C30.9371 41.6321 33.2522 39.0204 33.2522 35.7061C33.2522 32.6781 31.3331 31.9702 30.8068 30.3796H30.8066Z",fill:"white"}),o.jsx("path",{d:"M53.3886 26.6644C53.3886 26.6644 53.74 23.5305 51.0687 22.8571V21.6002H48.9999V22.8257C46.182 23.4261 46.5451 26.6644 46.5451 26.6644V27.2017C46.5451 27.2017 46.1818 30.4407 49.0009 31.0405H49.0006V33.7308C46.0304 34.252 46.4057 37.5966 46.4057 37.5966V38.1339C46.4057 38.1339 46.0424 41.3722 48.8604 41.9725V43.1981H50.9292V41.9412C53.6007 41.2678 53.2491 38.1339 53.2491 38.1339C53.3659 38.1339 53.4606 38.0427 53.4606 37.9303V37.8003C53.4606 37.6878 53.3659 37.5966 53.2491 37.5966C53.2491 37.5966 53.5977 34.4899 50.9638 33.7984V31.0405H50.9327C53.7518 30.4407 53.3885 27.2017 53.3885 27.2017C53.5052 27.2017 53.5999 27.1105 53.5999 26.998V26.868C53.5999 26.7556 53.5052 26.6644 53.3885 26.6644H53.3886ZM51.7027 37.5966H51.5134C51.3967 37.5966 51.302 37.6878 51.302 37.8003V37.9303C51.302 38.0427 51.3967 38.1339 51.5134 38.1339H51.7027C51.7027 40.0779 51.0324 40.405 50.8069 40.4601C50.7698 40.4691 50.7338 40.4426 50.7338 40.4058V39.7862C50.7338 39.4436 50.5072 39.256 50.2806 39.1539C49.9941 39.0249 49.6605 39.0249 49.3741 39.1539C49.1475 39.256 48.9208 39.4436 48.9208 39.7862V40.4058C48.9208 40.4421 48.8855 40.4692 48.849 40.4603C48.6248 40.4062 47.952 40.0817 47.952 38.1339V37.5966C47.952 35.6526 48.6222 35.3255 48.8478 35.2705C48.8848 35.2615 48.9208 35.2879 48.9208 35.3247V35.9444C48.9208 36.2869 49.1475 36.4746 49.3741 36.5767C49.6605 36.7056 49.9941 36.7056 50.2806 36.5767C50.5072 36.4746 50.7338 36.2869 50.7338 35.9444V35.3247C50.7338 35.2885 50.7691 35.2613 50.8056 35.2702C51.0299 35.3243 51.7027 35.6489 51.7027 37.5966ZM51.6529 27.2017H51.8421C51.8421 29.1494 51.1694 29.4741 50.9451 29.5281C50.9086 29.537 50.8733 29.5098 50.8733 29.4736V28.8539C50.8733 28.5114 50.6467 28.3237 50.42 28.2216C50.1336 28.0927 49.8 28.0927 49.5135 28.2216C49.2869 28.3237 49.0603 28.5114 49.0603 28.8539V29.4736C49.0603 29.5104 49.0243 29.5368 48.9872 29.5278C48.7617 29.4728 48.0915 29.1457 48.0915 27.2017V26.6644C48.0915 24.7166 48.7642 24.3919 48.9885 24.3379C49.025 24.3291 49.0603 24.3564 49.0603 24.3925V25.0121C49.0603 25.3547 49.2869 25.5423 49.5135 25.6444C49.8 25.7734 50.1336 25.7734 50.42 25.6444C50.6467 25.5423 50.8733 25.3547 50.8733 25.0121V24.3925C50.8733 24.3557 50.9093 24.3292 50.9464 24.3382C51.1719 24.3933 51.8421 24.7204 51.8421 26.6644H51.6529C51.5361 26.6644 51.4414 26.7556 51.4414 26.868V26.998C51.4414 27.1105 51.5361 27.2017 51.6529 27.2017Z",fill:"white"}),o.jsx("path",{d:"M43.036 32.1987C43.036 32.1987 43.4013 28.9416 40.5566 28.355V25.4288C43.3256 24.8038 42.9663 21.6002 42.9663 21.6002C42.9663 21.6002 41.4134 21.6002 41.4198 21.6002C41.4198 23.548 40.7471 23.8726 40.5228 23.9266C40.4863 23.9355 40.451 23.9082 40.451 23.8721V23.2524C40.451 22.9099 40.2244 22.7223 39.9977 22.6202C39.7113 22.4912 39.3777 22.4912 39.0912 22.6202C38.8646 22.7223 38.638 22.9099 38.638 23.2524V23.8721C38.638 23.9089 38.602 23.9354 38.5649 23.9264C38.3394 23.8713 37.6692 23.5442 37.6692 21.6002C37.6757 21.6002 36.1227 21.6002 36.1227 21.6002C36.1227 21.6002 35.7499 24.9246 38.6908 25.4611V28.351C35.8255 28.927 36.1924 32.1985 36.1924 32.1985V32.7358C36.1924 32.7358 35.8255 36.0074 38.6908 36.5834V39.339C35.7499 39.8756 36.1227 43.1998 36.1227 43.1998C36.1227 43.1998 37.6756 43.1998 37.6692 43.1998C37.6692 41.2521 38.3419 40.9274 38.5662 40.8734C38.6027 40.8645 38.638 40.8917 38.638 40.9279V41.5476C38.638 41.8901 38.8646 42.0778 39.0912 42.1799C39.3777 42.3088 39.7113 42.3088 39.9977 42.1799C40.2244 42.0778 40.451 41.8901 40.451 41.5476V40.9279C40.451 40.8911 40.487 40.8647 40.5241 40.8737C40.7496 40.9287 41.4198 41.2558 41.4198 43.1998C41.4133 43.1998 42.9663 43.1998 42.9663 43.1998C42.9663 43.1998 43.3256 39.9962 40.5566 39.3712V36.5794C43.4013 35.9927 43.036 32.7357 43.036 32.7357C43.1528 32.7357 43.2475 32.6445 43.2475 32.5321V32.402C43.2475 32.2896 43.1528 32.1984 43.036 32.1984V32.1987ZM41.3003 32.736H41.4895C41.4895 34.6837 40.8168 35.0084 40.5925 35.0624C40.556 35.0713 40.5207 35.0441 40.5207 35.0079V34.3882C40.5207 34.0457 40.2941 33.858 40.0675 33.7559C39.781 33.627 39.4474 33.627 39.161 33.7559C38.9343 33.858 38.7077 34.0457 38.7077 34.3882V35.0079C38.7077 35.0447 38.6717 35.0711 38.6346 35.0621C38.4091 35.007 37.7389 34.68 37.7389 32.736V32.1987C37.7389 30.2509 38.4116 29.9262 38.6359 29.8722C38.6724 29.8634 38.7077 29.8906 38.7077 29.9268V30.5464C38.7077 30.889 38.9343 31.0766 39.161 31.1787C39.4474 31.3077 39.781 31.3077 40.0675 31.1787C40.2941 31.0766 40.5207 30.889 40.5207 30.5464V29.9268C40.5207 29.89 40.5567 29.8635 40.5938 29.8725C40.8193 29.9276 41.4895 30.2547 41.4895 32.1987H41.3003C41.1836 32.1987 41.0889 32.2899 41.0889 32.4023V32.5323C41.0889 32.6448 41.1836 32.736 41.3003 32.736Z",fill:"white"})]})}function qd(){return o.jsx("svg",{width:"36",height:"36",viewBox:"0 0 275 275",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M275 137.5C275 61.5608 213.439 -3.31941e-06 137.5 0C61.5608 3.31941e-06 -3.31941e-06 61.5608 0 137.5C3.31941e-06 213.439 61.5608 275 137.5 275C213.439 275 275 213.439 275 137.5ZM157.125 240.407C157.125 249.735 149.469 257.317 138.602 257.535C138.301 257.538 138 257.539 137.698 257.54H137.302C71.0969 257.433 17.4603 203.73 17.4603 137.5C17.4603 71.2041 71.2039 17.4605 137.5 17.4605C137.857 17.4605 138.215 17.4621 138.571 17.4652C150.834 17.6836 157.125 25.2654 157.125 34.5929C157.125 44.0859 148.733 51.0715 139.843 51.0715C130.952 51.0715 130.516 51.0715 122.006 51.7534C113.495 52.4354 104.695 59.4209 104.695 68.8859C104.695 78.4071 112.43 86.0745 122.006 86.0745H197.48C207.028 86.0745 214.762 93.742 214.762 103.207C214.762 112.672 207.028 120.339 197.48 120.339H81.2298C71.6539 120.339 63.9195 128.035 63.9195 137.528C63.9195 146.993 71.6539 154.661 81.2298 154.661H139.843C149.391 154.661 157.125 162.328 157.125 171.821C157.125 181.286 149.391 188.954 139.843 188.954H122.006C112.43 188.954 104.695 196.621 104.695 206.086C104.695 215.579 112.622 222.509 122.006 223.219C122.745 223.275 123.422 223.326 124.045 223.374C127.347 223.625 129.151 223.763 130.958 223.838C133.134 223.929 135.314 223.929 140.119 223.929C149.667 223.929 157.125 230.942 157.125 240.407Z",fill:"#7132F5"})})}function Xd(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",height:"64",width:"64",viewBox:"0 0 64 64",children:o.jsxs("g",{transform:"translate(0.00630876,-0.00301984)",children:[o.jsx("path",{fill:"#f7931a",d:"m63.033,39.744c-4.274,17.143-21.637,27.576-38.782,23.301-17.138-4.274-27.571-21.638-23.295-38.78,4.272-17.145,21.635-27.579,38.775-23.305,17.144,4.274,27.576,21.64,23.302,38.784z"}),o.jsx("path",{fill:"#FFF",d:"m46.103,27.444c0.637-4.258-2.605-6.547-7.038-8.074l1.438-5.768-3.511-0.875-1.4,5.616c-0.923-0.23-1.871-0.447-2.813-0.662l1.41-5.653-3.509-0.875-1.439,5.766c-0.764-0.174-1.514-0.346-2.242-0.527l0.004-0.018-4.842-1.209-0.934,3.75s2.605,0.597,2.55,0.634c1.422,0.355,1.679,1.296,1.636,2.042l-1.638,6.571c0.098,0.025,0.225,0.061,0.365,0.117-0.117-0.029-0.242-0.061-0.371-0.092l-2.296,9.205c-0.174,0.432-0.615,1.08-1.609,0.834,0.035,0.051-2.552-0.637-2.552-0.637l-1.743,4.019,4.569,1.139c0.85,0.213,1.683,0.436,2.503,0.646l-1.453,5.834,3.507,0.875,1.439-5.772c0.958,0.26,1.888,0.5,2.798,0.726l-1.434,5.745,3.511,0.875,1.453-5.823c5.987,1.133,10.489,0.676,12.384-4.739,1.527-4.36-0.076-6.875-3.226-8.515,2.294-0.529,4.022-2.038,4.483-5.155zm-8.022,11.249c-1.085,4.36-8.426,2.003-10.806,1.412l1.928-7.729c2.38,0.594,10.012,1.77,8.878,6.317zm1.086-11.312c-0.99,3.966-7.1,1.951-9.082,1.457l1.748-7.01c1.982,0.494,8.365,1.416,7.334,5.553z"})]})})}function $d(){return o.jsxs("svg",{width:"500",height:"500",viewBox:"0 0 500 500",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#clip0_94_16)",children:[o.jsx("path",{d:"M500 250C500 111.929 388.071 0 250 0C111.929 0 0 111.929 0 250C0 388.071 111.929 500 250 500C388.071 500 500 388.071 500 250Z",fill:"#FF3D00"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M127.127 128.8V225.574L161.674 260.159V163.385L257.97 163.708L223.441 129.105L127.146 128.782L127.127 128.8ZM302.322 206.204V293.578L267.774 258.993V171.619L302.322 206.204ZM206.005 302.671H293.24L258.711 268.07H171.477L206.005 302.671ZM351.418 342.316V255.38L316.871 220.795V317.57L220.576 317.246L255.105 351.849L342.186 352.141L360.551 370.535L372.31 372.22L370.07 361.002L351.418 342.316Z",fill:"white"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_94_16",children:o.jsx("rect",{width:"500",height:"500",fill:"white"})})})]})}function Kd(){return o.jsxs("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{fill:"#ff3d00",d:"M512 0A512 512 0 0 0 0 512a512 512 0 0 0 512 512 512 512 0 0 0 512-512A512 512 0 0 0 512 0Z"}),o.jsx("path",{fill:"#fff",d:"M692.844 236.366H469.997l-31.935 128.058h-96.23l-40.464 162.444a34.12 34.12 0 0 0 33 42.41h81.463L339.407 876.12l259.74-274.8c20.552-21.752 5.198-57.632-24.657-57.632H450.27l38.253-153.674h209.6l27.669-111.21a34.12 34.12 0 0 0-32.974-42.438z"})]})}function e6(){return o.jsxs("svg",{width:"254",height:"254",viewBox:"0 0 254 254",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{maxHeight:"100%",maxWidth:"100%"},focusable:"false",children:[o.jsx("circle",{cx:"127",cy:"127",r:"127",fill:"#102623",fillRule:"evenodd",clipRule:"evenodd"}),o.jsx("path",{d:"M217.7 125.6C217.9 139.8 214.6 153.4 208.9 166.6C200.1 186.8 178.3 203.1 158.3 186.0C142.1 171.0 138.9 144.6 116.5 140.0C85.2 136.0 84.4 171.1 66.4 175.3C46.0 180.1 39.9 143.0 40.2 125.2C40.5 107.4 44.5 83.7 64.2 83.7C86.8 83.7 88.5 118.5 112.4 116.7C136.0 114.9 136.5 78.8 158.5 63.3C175.3 50.2 194.9 59.9 203.8 75.9C211.9 90.7 216.7 107.3 216.9 124.9L217.7 125.6Z",fill:"#AFF9E5"})]})}function t6(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[o.jsxs("g",{clipPath:"url(#clip0_4139_29575)",children:[o.jsx("path",{d:"M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z",fill:"#23292F"}),o.jsx("path",{d:"M23.07 8H25.96L19.945 13.957C18.8934 14.9931 17.4763 15.5739 16 15.5739C14.5237 15.5739 13.1066 14.9931 12.055 13.957L6.035 8H8.93L13.5 12.523C14.1655 13.1799 15.0629 13.5482 15.998 13.5482C16.9331 13.5482 17.8305 13.1799 18.496 12.523L23.07 8ZM8.895 24.563H6L12.055 18.57C13.1066 17.5339 14.5237 16.9531 16 16.9531C17.4763 16.9531 18.8934 17.5339 19.945 18.57L26 24.562H23.105L18.5 20C17.8345 19.3431 16.9371 18.9748 16.002 18.9748C15.0669 18.9748 14.1695 19.3431 13.504 20L8.894 24.563H8.895Z",fill:"white"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_4139_29575",children:o.jsx("rect",{width:"32",height:"32",fill:"white"})})})]})}function n6(){return o.jsxs("svg",{width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{cx:"100.003",cy:"100.003",r:"90.9091",fill:"#282A2C"}),o.jsx("path",{d:"M99.999 45.4531C120.178 45.4531 137.797 56.414 147.233 72.7051L137.79 78.1719C130.245 65.1354 116.148 56.3623 99.999 56.3623C75.8989 56.3624 56.3624 75.8989 56.3623 99.999C56.3623 124.099 75.8988 143.636 99.999 143.636C116.129 143.636 130.218 134.881 137.77 121.866L147.218 127.32C137.778 143.596 120.169 154.545 99.999 154.545C69.8745 154.545 45.4531 130.124 45.4531 99.999C45.4532 69.8746 69.8746 45.4532 99.999 45.4531ZM99.999 89.0898C104.032 89.0898 107.548 91.2873 109.436 94.5449H154.545V105.454H109.436C107.551 108.712 104.035 110.908 99.999 110.908C93.9748 110.908 89.0898 106.023 89.0898 99.999C89.0899 93.9748 93.9748 89.0899 99.999 89.0898Z",fill:"white"})]})}function i6(){return o.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M15.9999 0C11.3795 0 0 11.3792 0 15.9999C0 20.6206 11.3795 32 15.9999 32C20.6203 32 32 20.6204 32 15.9999C32 11.3794 20.6205 0 15.9999 0ZM13.5066 25.1492C11.5582 24.6183 6.31981 15.455 6.85083 13.5066C7.38185 11.5581 16.545 6.31979 18.4933 6.8508C20.4418 7.38173 25.6802 16.5449 25.1492 18.4934C24.6182 20.4418 15.455 25.6802 13.5066 25.1492Z",fill:"#836EF9"})})}function r6(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",width:"1080",height:"1080",viewBox:"100 130 880 880",fill:"none",children:[o.jsx("circle",{cx:"540",cy:"570",r:"440",fill:"#9A9350"}),o.jsx("path",{d:"M527.038 264V478.893C527.038 487.749 516.356 492.245 510.035 486.025L409.299 387.047L451.52 276.812C454.461 269.104 461.864 264 470.146 264H527.004H527.038Z",fill:"white"}),o.jsx("path",{d:"M527.037 556.607V677.322C527.037 685.299 517.47 689.423 511.69 683.947L355.582 536.122L401.387 416.591L515.273 528.482C522.811 535.885 527.07 546.027 527.07 556.573L527.037 556.607Z",fill:"white"}),o.jsx("path",{d:"M527.036 751.266V805.387H284.965C270.97 805.387 261.336 791.358 266.339 778.31L347.638 566.256L515.948 725.609C523.013 732.302 527.002 741.564 527.002 751.3L527.036 751.266Z",fill:"white"}),o.jsx("path",{d:"M552.866 264V478.893C552.866 487.749 563.549 492.245 569.87 486.025L670.606 387.047L628.385 276.812C625.444 269.104 618.041 264 609.759 264H552.9H552.866Z",fill:"white"}),o.jsx("path",{d:"M552.868 556.607V677.322C552.868 685.3 562.435 689.424 568.215 683.947L724.323 536.122L678.518 416.591L564.632 528.482C557.094 535.885 552.834 546.027 552.834 556.574L552.868 556.607Z",fill:"white"}),o.jsx("path",{d:"M552.869 751.266V805.387H794.94C808.935 805.387 818.569 791.358 813.566 778.31L732.267 566.257L563.956 725.609C556.891 732.302 552.903 741.565 552.903 751.3L552.869 751.266Z",fill:"white"})]})}function o6(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 150 150",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#a)",children:[o.jsx("path",{fill:"#fff",d:"M0 0h150v150H0z"}),o.jsx("path",{fill:"#FFFEFE",d:"M0 0h150v150H0z"}),o.jsx("path",{fill:"#EF61B4",d:"M95.258 85.215c1.01-3.619-1.405-7.295-5.392-8.21-3.987-.916-8.037 1.275-9.046 4.894-1.008 3.619 1.406 7.294 5.393 8.21 3.987.916 8.037-1.275 9.045-4.894Z"}),o.jsx("path",{fill:"#EF61B4",d:"M125.975 106.567c-.882.485-1.764.647-2.645.647-1.853 0-3.705-.889-4.675-2.504L89.023 57.62 59.39 104.71c-1.5 2.342-4.762 3.15-7.32 1.777-2.558-1.373-3.44-4.362-1.94-6.704l18.52-29.401-8.025-12.762-29.633 47.09c-.97 1.615-2.822 2.504-4.674 2.504a6.06 6.06 0 0 1-2.646-.647c-2.558-1.373-3.44-4.361-1.94-6.704l34.307-54.44c.97-1.535 2.734-2.423 4.674-2.423 1.94 0 3.704.97 4.674 2.423L75 60.608l9.613-15.185c.97-1.535 2.734-2.423 4.674-2.423 1.94 0 3.704.97 4.674 2.423l34.307 54.44c1.5 2.343.618 5.331-1.94 6.704h-.353Z"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"a",children:o.jsx("path",{fill:"#fff",d:"M0 0h150v150H0z"})})})]})}const Ua={[x.TokenIcon.WBTC]:Nd(),[x.TokenIcon.BUSD]:yd(),[x.TokenIcon.USDT]:Id(),[x.TokenIcon.DAI]:Ld(),[x.TokenIcon.GLMR]:xd(),[x.TokenIcon.AVAX]:Td(),[x.TokenIcon.BNB]:Cd(),[x.TokenIcon.BSC]:Od(),[x.TokenIcon.CELO]:md(),[x.TokenIcon.ETH]:pd(),[x.TokenIcon.FANTOM]:Dd(),[x.TokenIcon.POLYGON]:bd(),[x.TokenIcon.SOLANA]:wd(),[x.TokenIcon.USDC]:kd(),[x.TokenIcon.SUI]:Sd(),[x.TokenIcon.APT]:Ad(),[x.TokenIcon.ARBITRUM]:vd(),[x.TokenIcon.OPTIMISM]:Ud(),[x.TokenIcon.SEI]:Ed(),[x.TokenIcon.BASE]:zd(),[x.TokenIcon.OSMO]:Yd(),[x.TokenIcon.TBTC]:Rd(),[x.TokenIcon.WSTETH]:_d(),[x.TokenIcon.ATOM]:Pd(),[x.TokenIcon.EVMOS]:Qd(),[x.TokenIcon.KUJI]:Bd(),[x.TokenIcon.PYTH]:Wd(),[x.TokenIcon.KLAY]:Zd(),[x.TokenIcon.INJ]:Fd(),[x.TokenIcon.NTT]:Hd(),[x.TokenIcon.SCROLL]:Gd(),[x.TokenIcon.XLAYER]:o.jsx("img",{style:{maxHeight:"100%",maxWidth:"100%"},src:va("Xlayer")}),[x.TokenIcon.MANTLE]:o.jsx("img",{style:{maxHeight:"100%",maxWidth:"100%"},src:va("Mantle")}),[x.TokenIcon.WORLDCHAIN]:Vd(),[x.TokenIcon.BERA]:Jd(),[x.TokenIcon.INK]:qd(),[x.TokenIcon.BTC]:Xd(),[x.TokenIcon.SONIC]:F0(),[x.TokenIcon.PLUME]:$d(),[x.TokenIcon.FOGO]:Kd(),[x.TokenIcon.HYPE]:e6(),[x.TokenIcon.XRP]:t6(),[x.TokenIcon.CTC]:n6(),[x.TokenIcon.MONAD]:i6(),[x.TokenIcon.AUSD]:r6(),[x.TokenIcon.MOCA]:o6()};function s6(e){return Object.values(x.TokenIcon).includes(e)}function a6(e){const t=B.useTheme(),n=I.useMemo(()=>t.palette.text&&t.palette.input?{...e.style,background:`color-mix(in hsl, ${t.palette.text.secondary}, ${t.palette.input.background} 80%)`}:e.style,[e.style,t.palette.input,t.palette.text]);return o.jsx(B.Box,{sx:n})}function qs(e){const t=I.useMemo(()=>({container:{...e.containerStyle||{width:"36px",height:"36px"},...vr},iconImage:{...e.style||{width:"36px",height:"36px"},borderRadius:"50px"}}),[e.containerStyle,e.style]);return s6(e.icon)&&Ua[e.icon]?o.jsx(B.Box,{sx:t.container,children:Ua[e.icon]}):typeof e.icon=="string"?o.jsx(B.Box,{sx:t.container,children:o.jsx("img",{style:t.iconImage,src:e.icon,alt:"token icon"})}):o.jsx(B.Box,{sx:t.container,children:o.jsx(a6,{style:t.iconImage})})}const Pt={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},F2=Object.create(null);for(const e in Pt)Object.hasOwn(Pt,e)&&(F2[Pt[e]]=e);const et={to:{},get:{}};et.get=function(e){const t=e.slice(0,3).toLowerCase();let n,i;switch(t){case"hsl":{n=et.get.hsl(e),i="hsl";break}case"hwb":{n=et.get.hwb(e),i="hwb";break}default:{n=et.get.rgb(e),i="rgb";break}}return n?{model:i,value:n}:null};et.get.rgb=function(e){if(!e)return null;const t=/^#([a-f\d]{3,4})$/i,n=/^#([a-f\d]{6})([a-f\d]{2})?$/i,i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,s=/^(\w+)$/;let a=[0,0,0,1],c,u,l;if(c=e.match(n)){for(l=c[2],c=c[1],u=0;u<3;u++){const M=u*2;a[u]=Number.parseInt(c.slice(M,M+2),16)}l&&(a[3]=Number.parseInt(l,16)/255)}else if(c=e.match(t)){for(c=c[1],l=c[3],u=0;u<3;u++)a[u]=Number.parseInt(c[u]+c[u],16);l&&(a[3]=Number.parseInt(l+l,16)/255)}else if(c=e.match(i)){for(u=0;u<3;u++)a[u]=Number.parseInt(c[u+1],10);c[4]&&(a[3]=c[5]?Number.parseFloat(c[4])*.01:Number.parseFloat(c[4]))}else if(c=e.match(r)){for(u=0;u<3;u++)a[u]=Math.round(Number.parseFloat(c[u+1])*2.55);c[4]&&(a[3]=c[5]?Number.parseFloat(c[4])*.01:Number.parseFloat(c[4]))}else return(c=e.match(s))?c[1]==="transparent"?[0,0,0,0]:Object.hasOwn(Pt,c[1])?(a=Pt[c[1]],a[3]=1,a):null:null;for(u=0;u<3;u++)a[u]=an(a[u],0,255);return a[3]=an(a[3],0,1),a};et.get.hsl=function(e){if(!e)return null;const t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(t);if(n){const i=Number.parseFloat(n[4]),r=(Number.parseFloat(n[1])%360+360)%360,s=an(Number.parseFloat(n[2]),0,100),a=an(Number.parseFloat(n[3]),0,100),c=an(Number.isNaN(i)?1:i,0,1);return[r,s,a,c]}return null};et.get.hwb=function(e){if(!e)return null;const t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(t);if(n){const i=Number.parseFloat(n[4]),r=(Number.parseFloat(n[1])%360+360)%360,s=an(Number.parseFloat(n[2]),0,100),a=an(Number.parseFloat(n[3]),0,100),c=an(Number.isNaN(i)?1:i,0,1);return[r,s,a,c]}return null};et.to.hex=function(...e){return"#"+Hi(e[0])+Hi(e[1])+Hi(e[2])+(e[3]<1?Hi(Math.round(e[3]*255)):"")};et.to.rgb=function(...e){return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"};et.to.rgb.percent=function(...e){const t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+t+"%, "+n+"%, "+i+"%)":"rgba("+t+"%, "+n+"%, "+i+"%, "+e[3]+")"};et.to.hsl=function(...e){return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"};et.to.hwb=function(...e){let t="";return e.length>=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};et.to.keyword=function(...e){return F2[e.slice(0,3)]};function an(e,t,n){return Math.min(Math.max(t,e),n)}function Hi(e){const t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}const H2={};for(const e of Object.keys(Pt))H2[Pt[e]]=e;const de={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},Gt=(6/29)**3;function Fn(e){const t=e>.0031308?1.055*e**.4166666666666667-.055:e*12.92;return Math.min(Math.max(0,t),1)}function Hn(e){return e>.04045?((e+.055)/1.055)**2.4:e/12.92}for(const e of Object.keys(de)){if(!("channels"in de[e]))throw new Error("missing channels property: "+e);if(!("labels"in de[e]))throw new Error("missing channel labels property: "+e);if(de[e].labels.length!==de[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=de[e];delete de[e].channels,delete de[e].labels,Object.defineProperty(de[e],"channels",{value:t}),Object.defineProperty(de[e],"labels",{value:n})}de.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(t,n,i),s=Math.max(t,n,i),a=s-r;let c,u;switch(s){case r:{c=0;break}case t:{c=(n-i)/a;break}case n:{c=2+(i-t)/a;break}case i:{c=4+(t-n)/a;break}}c=Math.min(c*60,360),c<0&&(c+=360);const l=(r+s)/2;return s===r?u=0:l<=.5?u=a/(s+r):u=a/(2-s-r),[c,u*100,l*100]};de.rgb.hsv=function(e){let t,n,i,r,s;const a=e[0]/255,c=e[1]/255,u=e[2]/255,l=Math.max(a,c,u),M=l-Math.min(a,c,u),g=function(N){return(l-N)/6/M+1/2};if(M===0)r=0,s=0;else{switch(s=M/l,t=g(a),n=g(c),i=g(u),l){case a:{r=i-n;break}case c:{r=1/3+t-i;break}case u:{r=2/3+n-t;break}}r<0?r+=1:r>1&&(r-=1)}return[r*360,s*100,l*100]};de.rgb.hwb=function(e){const t=e[0],n=e[1];let i=e[2];const r=de.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(n,i));return i=1-1/255*Math.max(t,Math.max(n,i)),[r,s*100,i*100]};de.rgb.oklab=function(e){const t=Hn(e[0]/255),n=Hn(e[1]/255),i=Hn(e[2]/255),r=Math.cbrt(.4122214708*t+.5363325363*n+.0514459929*i),s=Math.cbrt(.2119034982*t+.6806995451*n+.1073969566*i),a=Math.cbrt(.0883024619*t+.2817188376*n+.6299787005*i),c=.2104542553*r+.793617785*s-.0040720468*a,u=1.9779984951*r-2.428592205*s+.4505937099*a,l=.0259040371*r+.7827717662*s-.808675766*a;return[c*100,u*100,l*100]};de.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(1-t,1-n,1-i),s=(1-t-r)/(1-r)||0,a=(1-n-r)/(1-r)||0,c=(1-i-r)/(1-r)||0;return[s*100,a*100,c*100,r*100]};function c6(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}de.rgb.keyword=function(e){const t=H2[e];if(t)return t;let n=Number.POSITIVE_INFINITY,i;for(const r of Object.keys(Pt)){const s=Pt[r],a=c6(e,s);a<n&&(n=a,i=r)}return i};de.keyword.rgb=function(e){return Pt[e]};de.rgb.xyz=function(e){const t=Hn(e[0]/255),n=Hn(e[1]/255),i=Hn(e[2]/255),r=t*.4124564+n*.3575761+i*.1804375,s=t*.2126729+n*.7151522+i*.072175,a=t*.0193339+n*.119192+i*.9503041;return[r*100,s*100,a*100]};de.rgb.lab=function(e){const t=de.rgb.xyz(e);let n=t[0],i=t[1],r=t[2];n/=95.047,i/=100,r/=108.883,n=n>Gt?n**(1/3):7.787*n+16/116,i=i>Gt?i**(1/3):7.787*i+16/116,r=r>Gt?r**(1/3):7.787*r+16/116;const s=116*i-16,a=500*(n-i),c=200*(i-r);return[s,a,c]};de.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,i=e[2]/100;let r,s;if(n===0)return s=i*255,[s,s,s];const a=i<.5?i*(1+n):i+n-i*n,c=2*i-a,u=[0,0,0];for(let l=0;l<3;l++)r=t+1/3*-(l-1),r<0&&r++,r>1&&r--,6*r<1?s=c+(a-c)*6*r:2*r<1?s=a:3*r<2?s=c+(a-c)*(2/3-r)*6:s=c,u[l]=s*255;return u};de.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,i=e[2]/100,r=n;const s=Math.max(i,.01);i*=2,n*=i<=1?i:2-i,r*=s<=1?s:2-s;const a=(i+n)/2,c=i===0?2*r/(s+r):2*n/(i+n);return[t,c*100,a*100]};de.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let i=e[2]/100;const r=Math.floor(t)%6,s=t-Math.floor(t),a=255*i*(1-n),c=255*i*(1-n*s),u=255*i*(1-n*(1-s));switch(i*=255,r){case 0:return[i,u,a];case 1:return[c,i,a];case 2:return[a,i,u];case 3:return[a,c,i];case 4:return[u,a,i];case 5:return[i,a,c]}};de.hsv.hsl=function(e){const t=e[0],n=e[1]/100,i=e[2]/100,r=Math.max(i,.01);let s,a;a=(2-n)*i;const c=(2-n)*r;return s=n*r,s/=c<=1?c:2-c,s=s||0,a/=2,[t,s*100,a*100]};de.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,i=e[2]/100;const r=n+i;let s;r>1&&(n/=r,i/=r);const a=Math.floor(6*t),c=1-i;s=6*t-a,(a&1)!==0&&(s=1-s);const u=n+s*(c-n);let l,M,g;switch(a){default:case 6:case 0:{l=c,M=u,g=n;break}case 1:{l=u,M=c,g=n;break}case 2:{l=n,M=c,g=u;break}case 3:{l=n,M=u,g=c;break}case 4:{l=u,M=n,g=c;break}case 5:{l=c,M=n,g=u;break}}return[l*255,M*255,g*255]};de.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100,s=1-Math.min(1,t*(1-r)+r),a=1-Math.min(1,n*(1-r)+r),c=1-Math.min(1,i*(1-r)+r);return[s*255,a*255,c*255]};de.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,i=e[2]/100;let r,s,a;return r=t*3.2404542+n*-1.5371385+i*-.4985314,s=t*-.969266+n*1.8760108+i*.041556,a=t*.0556434+n*-.2040259+i*1.0572252,r=Fn(r),s=Fn(s),a=Fn(a),[r*255,s*255,a*255]};de.xyz.lab=function(e){let t=e[0],n=e[1],i=e[2];t/=95.047,n/=100,i/=108.883,t=t>Gt?t**(1/3):7.787*t+16/116,n=n>Gt?n**(1/3):7.787*n+16/116,i=i>Gt?i**(1/3):7.787*i+16/116;const r=116*n-16,s=500*(t-n),a=200*(n-i);return[r,s,a]};de.xyz.oklab=function(e){const t=e[0]/100,n=e[1]/100,i=e[2]/100,r=Math.cbrt(.8189330101*t+.3618667424*n-.1288597137*i),s=Math.cbrt(.0329845436*t+.9293118715*n+.0361456387*i),a=Math.cbrt(.0482003018*t+.2643662691*n+.633851707*i),c=.2104542553*r+.793617785*s-.0040720468*a,u=1.9779984951*r-2.428592205*s+.4505937099*a,l=.0259040371*r+.7827717662*s-.808675766*a;return[c*100,u*100,l*100]};de.oklab.oklch=function(e){return de.lab.lch(e)};de.oklab.xyz=function(e){const t=e[0]/100,n=e[1]/100,i=e[2]/100,r=(.999999998*t+.396337792*n+.215803758*i)**3,s=(1.000000008*t-.105561342*n-.063854175*i)**3,a=(1.000000055*t-.089484182*n-1.291485538*i)**3,c=1.227013851*r-.55779998*s+.281256149*a,u=-.040580178*r+1.11225687*s-.071676679*a,l=-.076381285*r-.421481978*s+1.58616322*a;return[c*100,u*100,l*100]};de.oklab.rgb=function(e){const t=e[0]/100,n=e[1]/100,i=e[2]/100,r=(t+.3963377774*n+.2158037573*i)**3,s=(t-.1055613458*n-.0638541728*i)**3,a=(t-.0894841775*n-1.291485548*i)**3,c=Fn(4.0767416621*r-3.3077115913*s+.2309699292*a),u=Fn(-1.2684380046*r+2.6097574011*s-.3413193965*a),l=Fn(-.0041960863*r-.7034186147*s+1.707614701*a);return[c*255,u*255,l*255]};de.oklch.oklab=function(e){return de.lch.lab(e)};de.lab.xyz=function(e){const t=e[0],n=e[1],i=e[2];let r,s,a;s=(t+16)/116,r=n/500+s,a=s-i/200;const c=s**3,u=r**3,l=a**3;return s=c>Gt?c:(s-16/116)/7.787,r=u>Gt?u:(r-16/116)/7.787,a=l>Gt?l:(a-16/116)/7.787,r*=95.047,s*=100,a*=108.883,[r,s,a]};de.lab.lch=function(e){const t=e[0],n=e[1],i=e[2];let r;r=Math.atan2(i,n)*360/2/Math.PI,r<0&&(r+=360);const a=Math.sqrt(n*n+i*i);return[t,a,r]};de.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI,s=n*Math.cos(r),a=n*Math.sin(r);return[t,s,a]};de.rgb.ansi16=function(e,t=null){const[n,i,r]=e;let s=t===null?de.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),s===0)return 30;let a=30+(Math.round(r/255)<<2|Math.round(i/255)<<1|Math.round(n/255));return s===2&&(a+=60),a};de.hsv.ansi16=function(e){return de.rgb.ansi16(de.hsv.rgb(e),e[2])};de.rgb.ansi256=function(e){const t=e[0],n=e[1],i=e[2];return t>>4===n>>4&&n>>4===i>>4?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)};de.ansi16.rgb=function(e){e=e[0];let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(Math.trunc(e>50)+1)*.5,i=(t&1)*n*255,r=(t>>1&1)*n*255,s=(t>>2&1)*n*255;return[i,r,s]};de.ansi256.rgb=function(e){if(e=e[0],e>=232){const s=(e-232)*10+8;return[s,s,s]}e-=16;let t;const n=Math.floor(e/36)/5*255,i=Math.floor((t=e%36)/6)/5*255,r=t%6/5*255;return[n,i,r]};de.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".slice(n.length)+n};de.hex.rgb=function(e){const t=e.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=[...n].map(c=>c+c).join(""));const i=Number.parseInt(n,16),r=i>>16&255,s=i>>8&255,a=i&255;return[r,s,a]};de.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(Math.max(t,n),i),s=Math.min(Math.min(t,n),i),a=r-s;let c;const u=a<1?s/(1-a):0;return a<=0?c=0:r===t?c=(n-i)/a%6:r===n?c=2+(i-t)/a:c=4+(t-n)/a,c/=6,c%=1,[c*360,a*100,u*100]};de.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,i=n<.5?2*t*n:2*t*(1-n);let r=0;return i<1&&(r=(n-.5*i)/(1-i)),[e[0],i*100,r*100]};de.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,i=t*n;let r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],i*100,r*100]};de.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,i=e[2]/100;if(n===0)return[i*255,i*255,i*255];const r=[0,0,0],s=t%1*6,a=s%1,c=1-a;let u=0;switch(Math.floor(s)){case 0:{r[0]=1,r[1]=a,r[2]=0;break}case 1:{r[0]=c,r[1]=1,r[2]=0;break}case 2:{r[0]=0,r[1]=1,r[2]=a;break}case 3:{r[0]=0,r[1]=c,r[2]=1;break}case 4:{r[0]=a,r[1]=0,r[2]=1;break}default:r[0]=1,r[1]=0,r[2]=c}return u=(1-n)*i,[(n*r[0]+u)*255,(n*r[1]+u)*255,(n*r[2]+u)*255]};de.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,i=t+n*(1-t);let r=0;return i>0&&(r=t/i),[e[0],r*100,i*100]};de.hcg.hsl=function(e){const t=e[1]/100,i=e[2]/100*(1-t)+.5*t;let r=0;return i>0&&i<.5?r=t/(2*i):i>=.5&&i<1&&(r=t/(2*(1-i))),[e[0],r*100,i*100]};de.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,i=t+n*(1-t);return[e[0],(i-t)*100,(1-i)*100]};de.hwb.hcg=function(e){const t=e[1]/100,i=1-e[2]/100,r=i-t;let s=0;return r<1&&(s=(i-r)/(1-r)),[e[0],r*100,s*100]};de.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};de.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};de.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};de.gray.hsl=function(e){return[0,0,e[0]]};de.gray.hsv=de.gray.hsl;de.gray.hwb=function(e){return[0,100,e[0]]};de.gray.cmyk=function(e){return[0,0,0,e[0]]};de.gray.lab=function(e){return[e[0],0,0]};de.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".slice(i.length)+i};de.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};function u6(){const e={},t=Object.keys(de);for(let{length:n}=t,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function l6(e){const t=u6(),n=[e];for(t[e].distance=0;n.length>0;){const i=n.pop(),r=Object.keys(de[i]);for(let{length:s}=r,a=0;a<s;a++){const c=r[a],u=t[c];u.distance===-1&&(u.distance=t[i].distance+1,u.parent=i,n.unshift(c))}}return t}function M6(e,t){return function(n){return t(e(n))}}function d6(e,t){const n=[t[e].parent,e];let i=de[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),i=M6(de[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}function g6(e){const t=l6(e),n={},i=Object.keys(t);for(let{length:r}=i,s=0;s<r;s++){const a=i[s];t[a].parent!==null&&(n[a]=d6(a,t))}return n}const nt={},f6=Object.keys(de);function h6(e){const t=function(...n){const i=n[0];return i==null?i:(i.length>1&&(n=i),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function j6(e){const t=function(...n){const i=n[0];if(i==null)return i;i.length>1&&(n=i);const r=e(n);if(typeof r=="object")for(let{length:s}=r,a=0;a<s;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}for(const e of f6){nt[e]={},Object.defineProperty(nt[e],"channels",{value:de[e].channels}),Object.defineProperty(nt[e],"labels",{value:de[e].labels});const t=g6(e),n=Object.keys(t);for(const i of n){const r=t[i];nt[e][i]=j6(r),nt[e][i].raw=h6(r)}}const G2=["keyword","gray","hex"],Ts={};for(const e of Object.keys(nt))Ts[[...nt[e].labels].sort().join("")]=e;const Cs={};function Ge(e,t){if(!(this instanceof Ge))return new Ge(e,t);if(t&&t in G2&&(t=null),t&&!(t in nt))throw new Error("Unknown model: "+t);let n,i;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof Ge)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){const r=et.get(e);if(r===null)throw new Error("Unable to parse color from string: "+e);this.model=r.model,i=nt[this.model].channels,this.color=r.value.slice(0,i),this.valpha=typeof r.value[i]=="number"?r.value[i]:1}else if(e.length>0){this.model=t||"rgb",i=nt[this.model].channels;const r=Array.prototype.slice.call(e,0,i);this.color=ms(r,i),this.valpha=typeof e[i]=="number"?e[i]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;const r=Object.keys(e);"alpha"in e&&(r.splice(r.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);const s=r.sort().join("");if(!(s in Ts))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=Ts[s];const{labels:a}=nt[this.model],c=[];for(n=0;n<a.length;n++)c.push(e[a[n]]);this.color=ms(c)}if(Cs[this.model])for(i=nt[this.model].channels,n=0;n<i;n++){const r=Cs[this.model][n];r&&(this.color[n]=r(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Ge.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in et.to?this:this.rgb();t=t.round(typeof e=="number"?e:1);const n=t.valpha===1?t.color:[...t.color,this.valpha];return et.to[t.model](...n)},percentString(e){const t=this.rgb().round(typeof e=="number"?e:1),n=t.valpha===1?t.color:[...t.color,this.valpha];return et.to.rgb.percent(...n)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=nt[this.model],{labels:n}=nt[this.model];for(let i=0;i<t;i++)e[n[i]]=this.color[i];return this.valpha!==1&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,this.valpha!==1&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,this.valpha!==1&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new Ge([...this.color.map(y6(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new Ge([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:Ve("rgb",0,Xe(255)),green:Ve("rgb",1,Xe(255)),blue:Ve("rgb",2,Xe(255)),hue:Ve(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:Ve("hsl",1,Xe(100)),lightness:Ve("hsl",2,Xe(100)),saturationv:Ve("hsv",1,Xe(100)),value:Ve("hsv",2,Xe(100)),chroma:Ve("hcg",1,Xe(100)),gray:Ve("hcg",2,Xe(100)),white:Ve("hwb",1,Xe(100)),wblack:Ve("hwb",2,Xe(100)),cyan:Ve("cmyk",0,Xe(100)),magenta:Ve("cmyk",1,Xe(100)),yellow:Ve("cmyk",2,Xe(100)),black:Ve("cmyk",3,Xe(100)),x:Ve("xyz",0,Xe(95.047)),y:Ve("xyz",1,Xe(100)),z:Ve("xyz",2,Xe(108.833)),l:Ve("lab",0,Xe(100)),a:Ve("lab",1),b:Ve("lab",2),keyword(e){return e!==void 0?new Ge(e):nt[this.model].keyword(this.color)},hex(e){return e!==void 0?new Ge(e):et.to.hex(...this.rgb().round().color)},hexa(e){if(e!==void 0)return new Ge(e);const t=this.rgb().round().color;let n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),et.to.hex(...t)+n},rgbNumber(){const e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){const e=this.rgb().color,t=[];for(const[n,i]of e.entries()){const r=i/255;t[n]=r<=.04045?r/12.92:((r+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return Ge.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),i=this.rgb(),r=t===void 0?.5:t,s=2*r-1,a=n.alpha()-i.alpha(),c=((s*a===-1?s:(s+a)/(1+s*a))+1)/2,u=1-c;return Ge.rgb(c*n.red()+u*i.red(),c*n.green()+u*i.green(),c*n.blue()+u*i.blue(),n.alpha()*r+i.alpha()*(1-r))}};for(const e of Object.keys(nt)){if(G2.includes(e))continue;const{channels:t}=nt[e];Ge.prototype[e]=function(...n){return this.model===e?new Ge(this):n.length>0?new Ge(n,e):new Ge([...I6(nt[this.model][e].raw(this.color)),this.valpha],e)},Ge[e]=function(...n){let i=n[0];return typeof i=="number"&&(i=ms(n,t)),new Ge(i,e)}}function N6(e,t){return Number(e.toFixed(t))}function y6(e){return function(t){return N6(t,e)}}function Ve(e,t,n){e=Array.isArray(e)?e:[e];for(const i of e)(Cs[i]||=[])[t]=n;return e=e[0],function(i){let r;return i!==void 0?(n&&(i=n(i)),r=this[e](),r.color[t]=i,r):(r=this[e]().color[t],n&&(r=n(r)),r)}}function Xe(e){return function(t){return Math.max(0,Math.min(e,t))}}function I6(e){return Array.isArray(e)?e:[e]}function ms(e,t){for(let n=0;n<t;n++)typeof e[n]!="number"&&(e[n]=0);return e}const L6=({balance:e,isFetching:t,price:n})=>{const i=We.useTheme(),r=!e||b.display(e)==="0",s=120;return t?o.jsx(B.Box,{sx:{width:s},children:o.jsxs(B.Stack,{alignItems:"flex-end",children:[o.jsx(B.Skeleton,{variant:"rounded",height:14,width:"80%",sx:{borderRadius:"8px"}}),o.jsx(B.Skeleton,{variant:"rounded",height:14,width:"60%",sx:{borderRadius:"8px",mt:.5}})]})}):o.jsx(B.Box,{sx:{width:s},children:o.jsxs(B.Stack,{alignItems:"flex-end",children:[o.jsx(B.Typography,{fontSize:14,children:e&&!r?b.display(b.truncate(e,6)):""}),n&&!r&&o.jsx(B.Typography,{color:i.palette.text.secondary,fontSize:"10px",children:n})]})})};function x6(e){const t=We.useTheme(),n=I.useMemo(()=>({tokenListItem:{display:"flex",justifyContent:"space-between",padding:"8px 32px",borderRadius:0,":hover":{backgroundColor:Ge(t.palette.primary.main).alpha(.07).hexa()}},tokenListItemSelected:{backgroundColor:Ge(t.palette.primary.main).alpha(.07).hexa()},tokenDetails:{display:"flex",flexDirection:"row",alignItems:"center"},addressLink:{display:"inline-flex",alignItems:"center",height:"10px",overflow:"hidden",color:t.palette.text.primary,opacity:.6},wormholeWrappedDisclaimer:{display:"inline",marginRight:4}}),[t]),{chain:i,token:r}=e,s=r.tokenId?.address.toString(),a=s?x.getTokenExplorerUrl(i,s):"",c=`${r.shortAddress}`,u=x.getTokenDisplaySymbolByTokenAddress(r);return o.jsxs(sn,{sx:{...n.tokenListItem,...e.isSelected&&n.tokenListItemSelected,...e.isDimmed?{opacity:.6}:{}},dense:!0,"data-testid":`token-button-${i.toLowerCase()}-${r.address.toString()}`,"aria-label":`Select ${u||r.symbol}`,onMouseDown:e.onClick,children:[o.jsxs(B.Box,{sx:n.tokenDetails,children:[o.jsx(bs,{children:o.jsx(qs,{icon:e.token.icon})}),o.jsxs("div",{children:[o.jsx(Me,{children:u}),o.jsxs(B.Box,{display:"flex",children:[r.tokenBridgeOriginalTokenId?o.jsx(B.Tooltip,{title:`Wormhole-wrapped from ${x.chainDisplayName(r.tokenBridgeOriginalTokenId.chain)}`,children:o.jsx(B.Box,{margin:"2px",marginRight:"5px",children:o.jsx(pn,{height:10,icon:r.tokenBridgeOriginalTokenId.chain})})}):null,u?o.jsx(Me,{fontSize:10,color:t.palette.text.secondary,children:u}):null,u&&!r.isNativeGasToken?o.jsx(Me,{fontSize:10,color:t.palette.text.secondary,marginLeft:1,marginRight:1,children:"•"}):null,r.isNativeGasToken?null:o.jsx(Me,{fontSize:10,color:t.palette.text.secondary,children:!b.isNative(s)&&o.jsxs(As,{onMouseDown:l=>l.stopPropagation(),onClick:l=>l.stopPropagation(),sx:n.addressLink,href:a,rel:"noreferrer noopener",target:"_blank",children:[c,o.jsx(lc,{sx:{height:"10px",width:"10px",marginLeft:"2px"}})]})})]})]})]}),o.jsx(L6,{balance:e.balance,price:e.price,isFetching:e.isFetchingBalance})]})}const T6=I.memo(x6),C6=({baseTokenList:e,searchQuery:t,chain:n,isSource:i,isSameChainSwap:r,sourceToken:s,balances:a,tokenPastingEnabled:c=!0})=>{const[u,l]=I.useState([]),{getOrFetchToken:M,getTokenPrices:g}=ft(),N=I.useDeferredValue(t),y=N?N.toLowerCase():"",T=I.useCallback(m=>{l(h=>[...h,m])},[]),d=I.useMemo(()=>!r||!n||i?void 0:x.getWrappedNativeToken(x.config.network,n)?.toLowerCase(),[r,n,i]);I.useEffect(()=>{if(!n||!c||!N){l([]);return}if(N.length<10){l([]);return}try{const m=b.toNative(n,N);if(m){const h=x.config.tokens.get(n,N);h?I.startTransition(()=>T(h)):M({chain:n,address:m}).then(D=>{D&&I.startTransition(()=>T(D))})}}catch{}},[N,n,M,c,T]);const f=I.useMemo(()=>{let m=N?wl(e,u,h=>h.key):e;return N&&(m=m.filter(h=>{const D=x.getTokenDisplaySymbolByTokenAddress(h)?.toLowerCase(),j=h.symbol?.toLowerCase().includes(y),L=h.name?.toLowerCase().includes(y),p=D?.includes(y);return!!(j||L||p||h.addressString.toLowerCase().includes(y)||h.tokenBridgeOriginalTokenId&&h.tokenBridgeOriginalTokenId.address.toString().toLowerCase().includes(y))})),s&&r&&!i&&(m=m.filter(h=>!x.shouldFilterSameChainToken(s,d,h))),n&&(m=m.filter(h=>{if(!x.isFrankensteinToken(h,n))return!0;if(!i)return!1;if(a){const D=a[h.key]?.balance;return D&&b.units(D)>0n}return!1})),m},[e,u,N,y,s,r,i,d,n,a]),C=I.useMemo(()=>g(f),[g,f]);return{sortedTokens:f,tokenPrices:C}},m6=({label:e})=>{const t=B.useTheme();return o.jsx(B.Box,{sx:{position:"sticky",top:0,zIndex:2,padding:`${t.spacing(1)} 16px 4px 16px`,background:t.palette.input.background,transition:"background-color 150ms ease"},children:o.jsx(B.Typography,{fontSize:14,color:t.palette.text.secondary,children:e})})};function p6({sortedTokens:e,isGroupingEnabled:t,isWalletConnected:n,balances:i}){return I.useMemo(()=>{if(!t)return{listItems:e,ownedCount:0};const r=M=>{if(!n)return!1;const g=i?.[M.key]?.balance;return g!=null&&b.units(g)>0n},s=e.find(M=>M.isNativeGasToken),a=s?.key,c=e.filter(r),u=new Set(c.map(M=>M.key));return{listItems:[...c,...s&&a&&!u.has(a)?[s]:[],...e.filter(M=>!u.has(M.key)&&M.key!==a)],ownedCount:c.length}},[e,t,n,i])}const D6=()=>{const e=I.useMemo(()=>({skeletonItem:{borderRadius:"8px",marginTop:"4px"}}),[]);return o.jsx(B.Box,{children:Array.from({length:6}).map((t,n)=>o.jsxs(B.ListItemButton,{dense:!0,disabled:!0,sx:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"8px 16px",borderRadius:0,cursor:"default"},children:[o.jsxs(B.Box,{sx:{display:"flex",alignItems:"center",padding:"2px 0"},children:[o.jsx(B.ListItemIcon,{sx:{minWidth:0,marginRight:"20px"},children:o.jsx(B.Skeleton,{variant:"circular",width:"36px",height:"36px"})}),o.jsxs(B.Box,{children:[o.jsx(B.Skeleton,{variant:"rounded",width:"100px",height:"14px",sx:e.skeletonItem}),o.jsx(B.Skeleton,{variant:"rounded",width:"120px",height:"14px",sx:e.skeletonItem})]})]}),o.jsx(B.Box,{children:o.jsxs(B.Stack,{alignItems:"flex-end",children:[o.jsx(B.Skeleton,{variant:"rounded",height:"14px",width:"100px",sx:e.skeletonItem}),o.jsx(B.Skeleton,{variant:"rounded",height:"14px",width:"80px",sx:e.skeletonItem})]})})]},n))})},w6=e=>{const t=B.useTheme(),n=x.config.ui.disableUserInputtedTokens!==!0,{sortedTokens:i,tokenPrices:r}=C6({baseTokenList:e.tokenList,searchQuery:e.searchQuery,chain:e.selectedChainConfig.sdkName,isSource:e.isSource,isSameChainSwap:e.isSameChainSwap,sourceToken:e.sourceToken,balances:e.balances,tokenPastingEnabled:n}),s=I.useMemo(()=>{let y="";return e.isSource?e.searchQuery?y="No tokens found matching your search":y=e.wallet?.address?"No supported tokens found in wallet":"":y="No supported destination tokens for this route",o.jsx(Me,{variant:"body2",color:t.palette.grey.A400,children:y})},[e.wallet?.address,e.isSource,e.searchQuery,t.palette.grey.A400]),a=`Search for a token${n?" or paste an address":""}`,c=I.useMemo(()=>({card:{background:t.palette.input.background,maxWidth:"488px"},tokenListContainer:{padding:"16px 0 0 0 !important"},tokenList:{maxHeight:"360px",[t.breakpoints.down("sm")]:{maxHeight:"520px"}}}),[t]),u=I.useMemo(()=>e.isFetching?"loading":i.length===0?"empty":"ready",[e.isFetching,i.length]),l=e.isSource&&!e.searchQuery,M=!!e.wallet?.address,{listItems:g,ownedCount:N}=p6({sortedTokens:i,isWalletConnected:M,isGroupingEnabled:l,balances:e.balances});return o.jsx(B.Card,{sx:c.card,variant:"elevation",children:o.jsx(B.CardContent,{sx:c.tokenListContainer,children:o.jsx(Z2,{searchPlaceholder:a,sx:c.tokenList,dataTestId:"token-search-list",searchQuery:e.searchQuery,listTitle:u==="empty"?s:"",items:g,loading:u==="loading"?o.jsx(D6,{}):void 0,onQueryChange:e.onSearchQueryChange,renderFn:(y,T)=>{const d=e.balances?.[y.key]?.balance,f=r.get(y.key),C=d&&f!==void 0?x.getUSDFormat(x.calculateUSDPriceRaw(f,d,y)):null,m=l&&M&&T>=N,h=l?T===0&&N>0?"Your tokens":T===N?"All tokens":null:null;return o.jsxs(I.Fragment,{children:[h&&o.jsx(m6,{label:h}),o.jsx(T6,{token:y,chain:e.selectedChainConfig.sdkName,onClick:()=>e.onSelectToken(y),isSource:e.isSource,balance:d,price:C,isSelected:y.key===e.selectedToken?.key,isFetchingBalance:e.isFetchingBalances,isDimmed:m})]},y.key)}})})})},V2=I.memo(w6);function A6({onClose:e,showSearch:t=!1,onBack:n}){const i=B.useTheme(),r={header:{display:"flex",justifyContent:"center",alignItems:"center",position:"relative",padding:"16px",paddingBottom:"8px"},title:{fontSize:"24px",fontWeight:600,lineHeight:"32px",display:"flex",alignItems:"center",justifyContent:"center"},iconButton:{position:"absolute",backgroundColor:i.palette.formContainer.background,border:"1px solid "+i.palette.input.border,"&:hover":{backgroundColor:i.palette.formContainer.background},height:"32px",width:"32px",fontSize:"16px"}};return o.jsx(o.Fragment,{children:o.jsxs(he,{sx:r.header,children:[t&&n&&o.jsx(Tn,{sx:{...r.iconButton,left:"16px"},onClick:n,"aria-label":"Go back","data-testid":"back-button",children:o.jsx(n0,{fontSize:"inherit"})}),o.jsx(Me,{sx:r.title,role:"heading","aria-level":2,children:"Select token"}),o.jsx(Tn,{sx:{...r.iconButton,right:"16px"},onClick:e,"aria-label":"Close routes","data-testid":"routes-close-button",children:o.jsx(Es,{fontSize:"inherit"})})]})})}const J2=I.memo(A6);function S6({isDrawerOpen:e,setIsDrawerOpen:t,chainList:n,chainConfig:i,showChainSearch:r,setShowChainSearch:s,wallet:a,sortedTokens:c,balances:u,isFetchingBalances:l,isConnectingWallet:M,isFetchingTokens:g,isSameChainSwap:N,token:y,sourceToken:T,isSource:d,searchQuery:f,setSearchQuery:C,onChainSelect:m,onTokenSelect:h}){const D=B.useTheme(),j=o.jsx(De,{alignItems:"center",paddingBottom:"4px",paddingTop:"8px",children:o.jsx(he,{sx:{width:"40px",height:"5px",backgroundColor:D.palette.text.secondary,borderRadius:"8px"}})});return o.jsx(Ss,{anchor:"bottom",open:e,slotProps:{paper:{sx:{background:D.palette.input.background,borderRadius:"8px",height:"calc(100vh - 40px)",maxWidth:"100vw"}}},transitionDuration:200,onOpen:()=>t(!0),onClose:()=>t(!1),children:e&&o.jsxs(o.Fragment,{children:[j,o.jsx(J2,{onClose:()=>t(!1),showSearch:r,onBack:()=>s(!1)}),o.jsx(W2,{chainList:n,selectedChainConfig:i,showSearch:r,setShowSearch:s,wallet:a,onChainSelect:m}),!r&&i&&o.jsx(V2,{tokenList:c,balances:u,isFetchingBalances:l,isConnectingWallet:M,isFetching:g,isSameChainSwap:N,selectedChainConfig:i,selectedToken:y,sourceToken:T,isSource:d,wallet:a,searchQuery:f,onSearchQueryChange:C,onSelectToken:h})]})})}const E6=I.memo(S6);function z6({popupState:e,anchorEl:t,chainList:n,chainConfig:i,showChainSearch:r,setShowChainSearch:s,wallet:a,sortedTokens:c,balances:u,isFetchingBalances:l,isConnectingWallet:M,isFetchingTokens:g,isSameChainSwap:N,token:y,sourceToken:T,isSource:d,searchQuery:f,setSearchQuery:C,onChainSelect:m,onTokenSelect:h}){const D=B.useTheme();return o.jsx(o0,{...P2(e),transitionDuration:200,anchorEl:t,anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},marginThreshold:4,slotProps:{paper:{sx:{width:"100%",maxWidth:"488px",borderRadius:"8px",background:D.palette.input.background,backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.24)"}},root:{sx:{backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"}}},children:e.isOpen&&o.jsxs(o.Fragment,{children:[o.jsx(J2,{onClose:()=>e.close(),showSearch:r,onBack:()=>s(!1)}),o.jsx(W2,{chainList:n,selectedChainConfig:i,showSearch:r,setShowSearch:s,wallet:a,onChainSelect:m}),!r&&i&&o.jsx(V2,{tokenList:c,balances:u,isFetchingBalances:l,isConnectingWallet:M,isFetching:g,selectedChainConfig:i,selectedToken:y,sourceToken:T,isSameChainSwap:N,isSource:d,wallet:a,searchQuery:f,onSearchQueryChange:C,onSelectToken:h})]})})}const b6=I.memo(z6),ps=(e,t)=>{x.config.triggerEvent({type:"user.action",details:{value:e,action:t?x.UserActions.SelectSrcChain:x.UserActions.SelectDestChain}})},Ds=(e,t)=>{x.config.triggerEvent({type:"user.action",details:{value:e,action:t?x.UserActions.SelectSrcToken:x.UserActions.SelectDestToken}})};function O6(){const e=B.useTheme(),{amount:t,route:n}=Ae(c=>c.transferInput),{sourceToken:i,destToken:r}=zn(),s=I.useMemo(()=>x.calculateFeeOffset(n,t,i,r),[n,t,i,r]),a=I.useMemo(()=>!x.config.ui?.experimental?.feeOffsetting||!s||b.units(s)===0n?null:o.jsxs(o.Fragment,{children:[o.jsxs(B.Typography,{color:e.palette.text.secondary,fontSize:"12px",lineHeight:"14px",height:"14px",children:["+",b.display(s)," ",i?.symbol]}),o.jsx(B.Tooltip,{title:"Portal's fee is added on top of your input amount.",children:o.jsx(s0,{sx:{height:"14px",width:"14px",color:e.palette.text.secondary,marginLeft:"4px"}})})]}),[s,i?.symbol,e.palette.text.secondary]);return o.jsx(B.Box,{sx:{display:"flex",justifyContent:"flex-end",position:"relative",height:"14px",bottom:"4px",marginBottom:"2px"},children:a})}const k6=I.memo(O6);function ws(e){const n=x.config.chains[e]?.gasReserve;if(n)try{const i=x.getGasToken(e);return b.parse(n,i.decimals)}catch{return}}function wi(e){const t=We.useTheme(),{chainConfig:n,token:i}=e,r=I.useMemo(()=>({badgeContent:{border:`2px solid ${t.palette.input.background}`,borderRadius:"4px"}}),[t]);return o.jsx(Mc,{badgeContent:o.jsx(he,{sx:r.badgeContent,children:o.jsx(pn,{icon:n?.icon,height:13})}),sx:{zIndex:0,height:"34px",marginRight:"8px","& .MuiBadge-badge":{right:0,top:30}},children:o.jsx(qs,{icon:i?.icon,style:{width:"34px",height:"34px"},containerStyle:{width:"34px",height:"34px"}})})}function v6({symbol:e,isSelectable:t}){const n=o.jsx(B.Typography,{component:"div",fontSize:"16px",fontWeight:500,maxWidth:"64px",noWrap:!0,children:e||"Select"});return t?o.jsx(B.Tooltip,{title:e||"Select a token",children:n}):n}function U6({chainConfig:e,dataTestId:t,isSource:n,isTransactionInProgress:i,openDrawer:r,token:s,triggerProps:a}){const c=n?!x.config.ui.disableSourceTokenPicker:!x.config.ui.disableDestinationTokenPicker,u=We.useTheme(),l=B.useMediaQuery(u.breakpoints.down("sm")),M=s?x.getTokenDisplaySymbolByTokenAddress(s):"",g=n?"Select source asset":"Select destination asset",N=c&&!i,T=N?l?{onClick:r}:a:void 0,d=N?"button":void 0,f=N?g:void 0,C=I.useMemo(()=>({selector:{cursor:N?"pointer":"default",borderRadius:"48px",border:`1px solid ${u.palette.input.border}`,background:u.palette.input.background,minWidth:"120px",height:"48px","&:hover":{borderColor:N?u.palette.primary.main:u.palette.input.border}},disabled:{opacity:"0.6",cursor:"default",pointerEvents:"none"},cardContent:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:"8px",paddingRight:"12px",paddingTop:"6px",paddingBottom:"6px",":last-child":{paddingLeft:"8px",paddingRight:"12px",paddingTop:"6px",paddingBottom:"6px"}},chainSelector:{display:"flex",alignItems:"center",justifyContent:"space-between"}}),[u,N]);return o.jsx(wn,{sx:[C.selector,!N&&C.disabled],"data-testid":t,role:d,"aria-label":f,variant:"elevation",...T,children:o.jsx(An,{sx:C.cardContent,children:o.jsxs(Me,{sx:C.chainSelector,component:"div",gap:1,children:[o.jsx(wi,{chainConfig:e,token:s}),o.jsx(v6,{symbol:M,isSelectable:N})]})})})}const Y6=I.memo(U6),R6=[25,50,100],_6="You don't have enough funds in your wallet to cover both this amount and the gas cost of the transfer.",Q6="A small amount of the network token balance is reserved to cover the network cost of this transaction.";function P6(e){const t=B.useTheme(),{route:n}=Ae(T=>T.transferInput),{sourceToken:i,destToken:r}=zn(),[s,a]=I.useState(void 0),c=I.useMemo(()=>({percentButton:{borderRadius:"50px",color:t.palette.text.primary,height:"22px",minWidth:"36px",padding:"0 8px",opacity:.7},percentButtonSelected:{color:t.palette.formContainer.background,backgroundColor:t.palette.primary.main,opacity:"unset"}}),[t]),u=I.useMemo(()=>{if(!i||!e.chain)return!1;try{const T=x.getGasToken(e.chain);return b.isSameToken(i,T)}catch{return!1}},[i,e.chain]),l=I.useMemo(()=>{if(!e.tokenBalance||!e.chain||!u)return!1;const T=ws(e.chain);return T?b.units(e.tokenBalance)<=b.units(T):!1},[e.tokenBalance,e.chain,u]),M=I.useCallback(T=>{if(!e.tokenBalance)return null;let d=b.units(e.tokenBalance)*BigInt(T)/BigInt(100);if(T===100){if(x.config.ui?.experimental?.feeOffsetting&&n&&i&&r){const f=x.calculateFeeOffset(x.config.routes.get(n),e.tokenBalance,i,r);f&&(d-=b.units(f))}if(u&&e.chain){const f=ws(e.chain);f&&(d-=b.units(f))}}return b.display(b.fromBaseUnits(d,e.tokenBalance.decimals))},[e.tokenBalance,e.chain,n,i,r,u]),g=I.useCallback((T,d)=>{if(T.stopPropagation(),l&&u){a(d);return}const f=M(d);f&&(e.onAmountChange(f),e.onDebouncedAmountChange(f),e.onPercentSelect(d))},[l,u,M,e]),N=I.useCallback((T,d)=>u?l?o.jsx(B.ClickAwayListener,{onClickAway:()=>a(void 0),children:o.jsx(B.Tooltip,{open:s===d,onClose:()=>a(void 0),title:_6,arrow:!0,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,children:T})}):d===100?o.jsx(B.Tooltip,{title:Q6,arrow:!0,children:T}):T:T,[u,l,s]),y=I.useCallback(T=>{const d=o.jsx(B.Button,{sx:{...c.percentButton,...e.selectedPercent===T?c.percentButtonSelected:{}},disabled:e.isTransactionInProgress,onClick:f=>g(f,T),children:o.jsx(B.Typography,{fontSize:12,fontWeight:600,textTransform:"none",children:T===100?"Max":`${T}%`})});return N(d,T)},[c,e,g,N]);return o.jsx(B.Box,{sx:{display:"flex",gap:"6px"},children:R6.map(T=>o.jsx(I.Fragment,{children:y(T)},T))})}const B6=I.memo(P6);function Z6(e){const t=We.useTheme(),n=tt(),i=B.useMediaQuery(t.breakpoints.down("sm")),{amount:r,route:s}=Ae(E=>E.transferInput),{sourceToken:a,destToken:c}=zn(),{getTokenPrice:u}=ft(),[l,M]=I.useState(!1),[g,N]=I.useState(!1),[y,T]=I.useState(""),[d,f]=I.useState(r?b.display(r):""),[C,m]=I.useState(r?b.display(r):""),[h,D]=I.useState(0),j=PM({tokenList:e.tokenList||[],searchQuery:y,selectedChainConfig:e.chain?x.config.chains[e.chain]:{},selectedToken:e.token,sourceToken:e.sourceToken,destToken:e.destToken,wallet:e.wallet,balances:e.balances,isSourceList:e.isSource}),L=_2({variant:"popover",popupId:"asset-picker"}),p=I.useMemo(()=>e.isSource&&e.balances&&e.token?e.balances[e.token.key]?.balance:null,[e.isSource,e.balances,e.token]),S=I.useMemo(()=>{if(!p)return null;const R=`${D3(b.display(p),9,4)} ${e.token?x.getTokenDisplaySymbolByTokenAddress(e.token):""}`;return o.jsx(Me,{component:"div",sx:{color:t.palette.text.tertiary,fontSize:"12px",fontWeight:500,maxWidth:"240px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:R})},[e.token,t.palette.text.tertiary,p]);I.useEffect(()=>{(i&&!g||!i&&!L.isOpen)&&setTimeout(()=>{M(!1)},300)},[g,i,L.isOpen]),I.useEffect(()=>{if(i&&g&&!e.chain||!i&&L.isOpen&&!e.chain){const E=e.chainList.find(R=>!k0(R.sdkName,e.wallet));E&&e.setChain(E.sdkName)}},[i,g,L.isOpen]);const w=I.useMemo(()=>e.chain?x.config.chains[e.chain]:void 0,[e.chain]),z=Q2(L),U=I.useMemo(()=>({root:{maxWidth:"488px",background:t.palette.input.background,borderRadius:"8px",padding:"16px"},container:{display:"flex",flexDirection:"column",height:"114px",maxWidth:"488px"},title:{color:t.palette.text.secondary,display:"flex",height:"12px",alignItems:"center",justifyContent:"space-between",marginBottom:"16px"}}),[t]),k=!r||r.amount===""||r.amount==="0"?0:e.quote?b.whole(e.quote?.destinationToken.amount):void 0,v=k?k.toString():"",Q=I.useMemo(()=>{const E=e.isSource?r:e.quote?.destinationToken.amount;return e.token&&E?x.calculateUSDPrice(u,E,e.token):null},[e.isSource,e.quote?.destinationToken.amount,e.token,r,u]),P=e.token&&Q?o.jsx(Me,{color:t.palette.text.secondary,fontSize:"12px",children:Q??null}):null,Z=I.useCallback(E=>{f(E),D(0),E||n(yn(E))},[n]),O=I.useCallback(E=>{m(E),E&&n(yn(E))},[n]),H=I.useCallback(E=>{ps(E,e.isSource),e.setChain(E),T("")},[e]),$=I.useCallback(E=>{Ds(E,e.isSource),e.isSource&&e.token?.key!==E.key&&(Z(""),O("")),e.setToken(E)},[Z,O,e]),_=I.useCallback(()=>{N(!0)},[]);I.useEffect(()=>{!r&&(d||C)&&(Z(""),O(""))},[r]),I.useEffect(()=>{e.isSource&&(d||C)&&(Z(""),O(""),D(0))},[e.wallet.address]),I.useEffect(()=>{if(h!==100||!e.isSource||!e.chain||!p||!r||!s||!a||!c)return;const E=b.units(r);let R=b.units(p),q=!1;try{const X=x.getGasToken(e.chain);q=b.isSameToken(a,X)}catch{}if(q){const X=ws(e.chain);if(X){const W=b.units(X);R>W&&(R-=W)}}const te=x.calculateFeeOffset(x.config.routes.get(s),p,a,c);if(te){const X=R-b.units(te);if(X<E){const W=b.display(b.fromBaseUnits(X,p.decimals));f(W),m(W),n(yn(W))}}else if(E<R){const X=b.display(b.fromBaseUnits(R,p.decimals));f(X),m(X),n(yn(X))}},[s]);const A=I.useMemo(()=>{if(!e.token)return null;const E=x.calculateUSDPrice(u,b.parse("1",e.token.decimals),e.token);return E?o.jsx(B.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end"},children:o.jsx(Me,{color:t.palette.text.secondary+Nt[50],fontSize:"12px",fontWeight:500,children:`1 ${x.getTokenDisplaySymbolByTokenAddress(e.token)} = ${E}`})}):null},[e.token,u,t.palette.text.secondary]),Y=!e.wallet.address||!p?null:o.jsx(B6,{tokenBalance:p,chain:e.chain,isTransactionInProgress:e.isTransactionInProgress,selectedPercent:h,onAmountChange:Z,onDebouncedAmountChange:O,onPercentSelect:D});return o.jsxs(B.Box,{sx:U.root,children:[o.jsxs(B.Box,{sx:U.container,children:[o.jsxs(B.Box,{sx:U.title,children:[o.jsx(Me,{color:t.palette.text.tertiary,fontSize:12,fontWeight:500,variant:"body2",children:e.isSource?"From":"To"}),o.jsxs(B.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px"},children:[S,o.jsx(sd,{type:e.isSource?we.TransferWallet.SENDING:we.TransferWallet.RECEIVING})]})]}),o.jsxs(B.Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:e.isSource?0:"16px"},children:[o.jsx(Y6,{isTransactionInProgress:e.isTransactionInProgress,isSource:e.isSource,dataTestId:e.dataTestId,triggerProps:z,chainConfig:w,token:e.token,openDrawer:_}),e.isSource?o.jsx(ld,{value:d,debouncedValue:C,receiveAmount:k,supportedSourceTokens:e.tokenList||[],tokenBalance:e.token?e.balances[e.token.key]?.balance:null,warning:e.amountValidation?.warning,error:e.amountValidation?.error,onChange:Z,onDebouncedChange:O}):o.jsx(B.Box,{sx:{display:"flex",alignContent:"center",alignItems:"center",width:"100%",maxWidth:"250px",height:"38px"},children:o.jsx(B.TextField,{fullWidth:!0,disabled:!0,placeholder:"0",slotProps:{htmlInput:{maxLength:22,style:{fontSize:v.length>12?"20px":v.length>6?"28px":"36px",height:"36px",textAlign:"right"}},input:{disableUnderline:!0}},variant:"standard",value:qo(v)})})]}),e.isSource&&o.jsx(k6,{}),o.jsxs(B.Box,{sx:{height:"22px",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",gap:"8px"},children:[o.jsx(B.Box,{children:!e.isSource&&A}),e.isSource?o.jsx(B.Box,{children:Y}):o.jsx(B.Box,{children:P})]})]}),i?o.jsx(E6,{isDrawerOpen:g,setIsDrawerOpen:N,chainList:e.chainList,chainConfig:w,showChainSearch:l,setShowChainSearch:M,wallet:e.wallet,sortedTokens:j,balances:e.balances,isFetchingBalances:e.isFetchingBalances,isConnectingWallet:e.isConnectingWallet,isFetchingTokens:e.isFetchingTokens,isSameChainSwap:e.isSameChainSwap,token:e.token,sourceToken:e.sourceToken,isSource:e.isSource,searchQuery:y,setSearchQuery:T,onChainSelect:H,onTokenSelect:E=>{$(E),N(!1)}}):o.jsx(b6,{popupState:L,anchorEl:e.anchorEl,chainList:e.chainList,chainConfig:w,showChainSearch:l,setShowChainSearch:M,wallet:e.wallet,sortedTokens:j,balances:e.balances,isFetchingBalances:e.isFetchingBalances,isConnectingWallet:e.isConnectingWallet,isFetchingTokens:e.isFetchingTokens,isSameChainSwap:e.isSameChainSwap,token:e.token,sourceToken:e.sourceToken,isSource:e.isSource,searchQuery:y,setSearchQuery:T,onChainSelect:H,onTokenSelect:E=>{$(E),L.close()}})]})}const Ya=I.memo(Z6),W6=e=>{const{destChain:t,destToken:n,route:i,isTransactionInProgress:r}=e,a=r||i==="BaseBridgeRoute"&&t==="Base",c=!!i&&x.config.routes.get(i).NATIVE_GAS_DROPOFF_SUPPORTED&&!n?.isNativeGasToken;return{disabled:a,showGasSlider:c}},F6=B.createSvgIcon(o.jsxs("svg",{width:"34",height:"35",viewBox:"0 0 34 35",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{opacity:"0.1",cx:"17",cy:"17.5",r:"17",fill:"currentColor"}),o.jsx("path",{d:"M17 11C13.1386 11 10 14.1386 10 18C10 21.8614 13.1386 25 17 25C20.8614 25 24 21.8614 24 18C24 14.1386 20.8614 11 17 11ZM17 24.0233C13.6791 24.0233 10.9767 21.3209 10.9767 18C10.9767 14.6791 13.6791 11.9767 17 11.9767C20.3209 11.9767 23.0233 14.6791 23.0233 18C23.0233 21.3209 20.3209 24.0233 17 24.0233ZM16.5116 18.6512V14.7442C16.5116 14.4772 16.733 14.2558 17 14.2558C17.267 14.2558 17.4884 14.4772 17.4884 14.7442V18.6512C17.4884 18.9181 17.267 19.1395 17 19.1395C16.733 19.1395 16.5116 18.9181 16.5116 18.6512ZM17.814 20.9302C17.814 21.3795 17.4493 21.7442 17 21.7442C16.5507 21.7442 16.186 21.3795 16.186 20.9302C16.186 20.4809 16.5507 20.1163 17 20.1163C17.4493 20.1163 17.814 20.4809 17.814 20.9302Z",fill:"currentColor"})]}),"Error"),Do=B.createSvgIcon(o.jsxs("svg",{width:"34",height:"35",viewBox:"0 0 34 35",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{opacity:"0.1",cx:"17",cy:"17.5",r:"17",fill:"currentColor"}),o.jsx("path",{d:"M17 10.5C13.1386 10.5 10 13.6386 10 17.5C10 21.3614 13.1386 24.5 17 24.5C20.8614 24.5 24 21.3614 24 17.5C24 13.6386 20.8614 10.5 17 10.5ZM17 23.5233C13.6791 23.5233 10.9767 20.8209 10.9767 17.5C10.9767 14.1791 13.6791 11.4767 17 11.4767C20.3209 11.4767 23.0233 14.1791 23.0233 17.5C23.0233 20.8209 20.3209 23.5233 17 23.5233ZM16.5116 18.1512V14.2442C16.5116 13.9772 16.733 13.7558 17 13.7558C17.267 13.7558 17.4884 13.9772 17.4884 14.2442V18.1512C17.4884 18.4181 17.267 18.6395 17 18.6395C16.733 18.6395 16.5116 18.4181 16.5116 18.1512ZM17.814 20.4302C17.814 20.8795 17.4493 21.2442 17 21.2442C16.5507 21.2442 16.186 20.8795 16.186 20.4302C16.186 19.9809 16.5507 19.6163 17 19.6163C17.4493 19.6163 17.814 19.9809 17.814 20.4302Z",fill:"currentColor"})]}),"Warning"),H6=e=>{const t=We.useTheme(),n=I.useMemo(()=>({content:{cursor:"pointer",maxWidth:"408px",overflow:"visible",padding:"16px 20px",[t.breakpoints.down("sm")]:{maxWidth:"372px"}},container:{display:"flex",flexDirection:"column",gap:"8px",width:"100%"},amounts:{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:"8px",width:"100%"},toggleButton:{backgroundColor:Ge(t.palette.text.primary).alpha(.1).hexa(),border:"1px solid transparent",borderRadius:"8px","&.Mui-selected":{border:`1px solid ${t.palette.primary.main}`,borderRadius:"8px"},"&.MuiToggleButtonGroup-middleButton":{margin:"0 2px"},"&.MuiToggleButtonGroup-lastButton":{margin:"0"}}}),[t]),{destinationGasDrop:i,disabled:r,isExecutorRoute:s,isSelected:a,onGasChange:c}=e,{toNativeToken:u}=Ae(j=>({...j.relay})),{fromChain:l,toChain:M}=Ae(j=>j.transferInput),{getTokenPrice:g,lastTokenPriceUpdate:N}=ft(),y=x.config.tokens.getGasToken(M),T=x.config.tokens.getGasToken(l),[d,f]=I.useState(!1),[C,m]=I.useState(u);I.useEffect(()=>{a&&i.amount!=="0"&&u&&f(!0)},[i.amount,a,u]),I.useEffect(()=>{a||(f(!1),m(0))},[a]);const h=I.useMemo(()=>{if(!M||!y)return null;const j=b.display(b.truncate(i,6)),L=x.calculateUSDPrice(g,i,y),p=L?`(${L})`:"";return`+${j} ${y.symbol} ${p}`},[y,N,i,M]),D=I.useMemo(()=>o.jsxs(a0,{exclusive:!0,fullWidth:!0,value:C.toString(),onChange:j=>{const L=Number(j.currentTarget.value);m(L),c(L)},children:[o.jsx(Li,{sx:n.toggleButton,disableRipple:!0,value:"0.05",children:"5%"}),o.jsx(Li,{sx:n.toggleButton,disableRipple:!0,value:"0.1",children:"10%"}),o.jsx(Li,{sx:n.toggleButton,disableRipple:!0,value:"0.15",children:"15%"})]}),[C,n.toggleButton,c]);return!T||!y?o.jsx(o.Fragment,{}):o.jsxs(B.Box,{sx:n.content,children:[o.jsxs(B.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[o.jsx(B.Typography,{children:`Need extra ${y.symbol} on ${x.chainDisplayName(M)}?`}),o.jsx(gc,{sx:{padding:"9px 12px",right:"-9px","& .MuiSwitch-switchBase.Mui-checked":{color:t.palette.primary.main},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:t.palette.primary.main},"& .MuiSwitch-track":{height:"20px",borderRadius:"9px"}},checked:d,disabled:r||!a,onClick:j=>{const{checked:L}=j.target;f(L),L?s&&(m(100),c(1)):(m(0),c(0))}})]}),o.jsx(u0,{in:d,unmountOnExit:!0,children:o.jsx(B.Box,{sx:n.container,children:o.jsxs(B.Stack,{children:[!s&&D,o.jsxs(B.Box,{sx:n.amounts,children:[o.jsxs(B.Stack,{alignItems:"center",flexDirection:"row",children:[o.jsx(B.Typography,{color:t.palette.text.secondary,fontSize:14,marginRight:"4px",children:"Gas amount"}),o.jsx(zr,{title:s?`Add a small amount of ${T.symbol} to your transaction to receive ${h} on ${x.chainDisplayName(M)}.`:"This additional gas is swapped from a percentage of your transfer amount.",children:o.jsx(s0,{sx:{color:t.palette.text.secondary,fontSize:"16px"}})})]}),o.jsx(B.Typography,{color:t.palette.primary.main,fontSize:14,children:h})]})]})})})]})},G6=B.createSvgIcon(o.jsx("svg",{width:"9",height:"14",viewBox:"0 0 9 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M8.9,5.7c0-.1-.2-.2-.4-.2h-4c-.3,0-.5-.2-.5-.4V0L0,7.9c0,.1,0,.3,0,.4,0,.1.2.2.4.2h4c.3,0,.5.2.5.4v5.1l4-7.9c0-.1,0-.3,0-.4Z"})}),"Fastest"),V6=B.createSvgIcon(o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M8 0C3.58176 0 0 3.58175 0 8C0 12.4182 3.58176 16 8 16C12.4182 16 16 12.4182 16 8C16 3.58175 12.4182 0 8 0ZM8 3.2C8.35347 3.2 8.64 3.48653 8.64 3.84V4.24C9.47859 4.42669 10.1222 4.95047 10.47 5.53C10.5134 5.60223 10.5421 5.68231 10.5545 5.76562C10.5669 5.84894 10.5627 5.93388 10.5423 6.01561C10.5219 6.09733 10.4856 6.17423 10.4354 6.24191C10.3853 6.3096 10.3223 6.36674 10.25 6.41008C10.1778 6.45342 10.0977 6.48212 10.0144 6.49451C9.9311 6.50691 9.84615 6.50276 9.76443 6.48232C9.68271 6.46189 9.60581 6.42555 9.53813 6.37539C9.47045 6.32523 9.41332 6.26224 9.36998 6.19C9.23664 5.96766 8.98048 5.72765 8.64 5.58V7.54C8.96957 7.65606 9.30963 7.78298 9.64998 7.99002C10.1285 8.28109 10.56 8.87142 10.56 9.6C10.56 10.2691 10.2489 10.8727 9.76998 11.26C9.44806 11.5204 9.06211 11.6949 8.64 11.78V12.16C8.64 12.5135 8.35347 12.8 8 12.8C7.64656 12.8 7.36 12.5135 7.36 12.16V11.76C6.52138 11.5708 5.87776 11.0396 5.52998 10.46C5.44248 10.3141 5.41651 10.1395 5.45778 9.97445C5.49904 9.80943 5.60417 9.66755 5.75004 9.58004C5.8959 9.49252 6.07055 9.46654 6.23558 9.50779C6.4006 9.54904 6.54248 9.65415 6.63002 9.8C6.76342 10.0223 7.01949 10.2694 7.36 10.42V8.45002C7.0304 8.33396 6.69037 8.20707 6.35002 8C5.87149 7.7089 5.44 7.12858 5.44 6.4C5.44 5.73091 5.75114 5.11733 6.23002 4.73C6.55184 4.46974 6.93808 4.30211 7.36 4.22V3.84C7.36 3.48653 7.64656 3.2 8 3.2ZM7.36 5.55C7.23514 5.59806 7.1264 5.66014 7.04 5.73C6.82934 5.90037 6.72 6.09974 6.72 6.4C6.72 6.73619 6.77373 6.76018 7.02 6.91C7.10707 6.96296 7.22624 7.01659 7.36 7.07V5.55ZM8.64 8.92V10.44C8.76483 10.39 8.8736 10.3299 8.96 10.26C9.17062 10.0896 9.28 9.90026 9.28 9.6C9.28 9.26381 9.22627 9.22982 8.98 9.08C8.89293 9.02704 8.77373 8.97341 8.64 8.92Z",fill:"currentColor"})}),"CheapestRoute"),J6=({isFastest:e,isCheapest:t,isOnlyChoice:n})=>{const i=B.useTheme();return n?null:e?o.jsxs(B.Box,{sx:{display:"flex",alignItems:"center"},children:[o.jsx(G6,{sx:{width:"16px",height:"16px",marginRight:"4px",fill:i.palette.primary.main}}),o.jsx(B.Typography,{component:"span",fontSize:"14px",lineHeight:"14px",children:t?"Best":"Fastest"})]}):t?o.jsxs(B.Box,{sx:{display:"flex",alignItems:"center"},children:[o.jsx(V6,{sx:{width:"16px",height:"16px",marginRight:"4px",color:i.palette.primary.main}}),o.jsx(B.Typography,{component:"span",fontSize:"14px",lineHeight:"14px",children:"Cheapest"})]}):null},q6=I.memo(J6);function X6({destChain:e,eta:t}){const n=B.useTheme();return t?o.jsxs(De,{direction:"row",justifyContent:"space-between",children:[o.jsxs(Me,{color:n.palette.text.secondary,component:"div",fontSize:"14px",lineHeight:"14px",children:["Time to ",e]}),o.jsx(Me,{component:"div",fontSize:"14px",lineHeight:"14px",sx:{color:t<60*1e3?n.palette.success.main:n.palette.text.primary},children:x.millisToHumanString(t)})]}):null}const $6=I.memo(X6);function q2(e,t,n,i,r){if(r)return r;const s=t==="AutomaticNtt"&&i==="wstETH"&&(n==="Ethereum"&&e==="Bsc"||n==="Bsc"&&e==="Ethereum"),a=t==="MayanSwapMONOCHAIN",c=a&&n==="Solana"&&e==="Solana";let u="";return s?u="NTT: Wormhole + Axelar":c?u="Jupiter":a?u="Mayan":t&&(u=x.config.routes.get(t)?.rc.meta.provider||""),u}function K6({destChain:e,provider:t,route:n,sourceChain:i,sourceTokenSymbol:r,usdValue:s}){const a=q2(e,n,i,r,t);return a?`${s} via ${a}`:s}const e9=I.memo(K6),Ra=10,t9=e=>{const t=B.useTheme(),n=I.useMemo(()=>({container:{width:"100%"},card:{border:"2px solid transparent",borderRadius:"8px",width:"calc(100% - 4px)",maxWidth:"448px","&:hover":{backgroundColor:t.palette.input.background},[t.breakpoints.down("sm")]:{maxWidth:"412px"}},cardSelected:{border:"2px solid",borderColor:t.palette.primary.main},cardHeader:{padding:"20px 20px 0px"},cardContent:{marginTop:"18px",padding:"0px 20px 20px"},errorIcon:{color:t.palette.error.main,height:"34px",width:"34px",marginRight:"24px"},messageContainer:{padding:"12px 0px 0px"},warningIcon:{color:t.palette.warning.main,height:"34px",width:"34px",marginRight:"12px"},disabled:{opacity:"0.6",cursor:"default",pointerEvents:"none"}}),[t]),i=x.config.routes.get(e.route),{toChain:r,fromChain:s,amount:a,isTransactionInProgress:c}=Ae(U=>U.transferInput),{getTokenPrice:u,lastTokenPriceUpdate:l}=ft(),{quote:M,isSelected:g}=e,{sourceToken:N,destToken:y}=zn(),{disabled:T,showGasSlider:d}=W6({destChain:r,destToken:y,route:e.route,isTransactionInProgress:c}),f=I.useMemo(()=>{if(!M||!N||!y||!a)return{isHighFee:!1};const U=x.calculateUSDPriceRaw(u,b.whole(M.sourceToken.amount),N),k=b.whole(M.destinationToken.amount),v=x.calculateUSDPriceRaw(u,k,y);return U===void 0||v===void 0||U<=0?!1:Math.max(0,U-v)/U*100>=Ra},[u,M,N,y,a]),C=I.useMemo(()=>{if(!r||e.destinationGasDrop===void 0||b.units(e.destinationGasDrop)===0n)return o.jsx(o.Fragment,{});const U=x.config.chains[r],k=x.config.tokens.getGasToken(r);if(!U||!k)return o.jsx(o.Fragment,{});const v=x.calculateUSDPrice(u,e.destinationGasDrop,k),Q=b.display(b.truncate(e.destinationGasDrop,6)),P=v?` (${v})`:"";return o.jsxs(De,{direction:"row",justifyContent:"space-between",children:[o.jsx(Me,{color:t.palette.text.secondary,component:"div",fontSize:"14px",lineHeight:"14px",children:"Additional gas"}),o.jsx(Me,{color:t.palette.text.primary,component:"div",fontSize:"14px",lineHeight:"14px",children:`${Q} ${k.symbol}${P}`})]})},[r,l,e.destinationGasDrop,u,l,t.palette.text.secondary,t.palette.text.primary]),m=I.useMemo(()=>e.route?!i.AUTOMATIC_DEPOSIT:!1,[e.route,i.AUTOMATIC_DEPOSIT]),h=I.useMemo(()=>o.jsx(vo,{flexItem:!0,sx:{marginTop:"24px"}}),[]),D=I.useMemo(()=>e.error?o.jsxs(o.Fragment,{children:[h,o.jsxs(De,{sx:n.messageContainer,direction:"row",alignItems:"center",children:[o.jsx(F6,{sx:n.errorIcon}),o.jsx(Me,{color:t.palette.error.main,fontSize:"14px",lineHeight:"18px",children:e.error})]})]}):null,[n.errorIcon,n.messageContainer,h,e.error,t.palette.error.main]),j=I.useMemo(()=>{const U=[];m&&U.push(o.jsxs("div",{children:[h,o.jsxs(De,{sx:n.messageContainer,direction:"row",alignItems:"center",children:[o.jsx(Do,{sx:n.warningIcon}),o.jsxs(De,{children:[o.jsx(Me,{color:t.palette.warning.main,fontSize:14,lineHeight:"18px",children:"This transfer requires two transactions."}),o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,lineHeight:"18px",children:"You will need to make two wallet approvals and have gas on the destination chain."})]})]})]},"ManualTransactionWarning"));for(const k of M?.warnings||[])if(k.type==="DestinationCapacityWarning"&&k.delayDurationSec){const v=x.formatDuration(k.delayDurationSec);U.push(o.jsxs("div",{children:[h,o.jsxs(De,{sx:n.messageContainer,direction:"row",alignItems:"center",children:[o.jsx(Do,{sx:n.warningIcon}),o.jsx(Me,{color:t.palette.warning.main,fontSize:14,lineHeight:"18px",children:`Your transfer to ${r} may be delayed due to rate limits set by ${y.display}. If your transfer is delayed, you will need to return after ${v} to complete the transfer. Please consider this before proceeding.`})]})]},`${k.type}-${k.delayDurationSec}`))}return f&&U.push(o.jsxs("div",{children:[h,o.jsxs(De,{sx:n.messageContainer,direction:"row",alignItems:"center",children:[o.jsx(Do,{sx:n.warningIcon}),o.jsxs(De,{children:[o.jsx(Me,{color:t.palette.warning.main,fontSize:14,lineHeight:"18px",children:`Price impact is greater than ${Ra}%`}),o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,lineHeight:"18px",children:"Please check before proceeding."})]})]})]},"HighFee")),U},[m,f,h,n.warningIcon,n.messageContainer,t.palette.warning.main,t.palette.text.secondary,M?.warnings,y,r]),L=I.useMemo(()=>M?b.whole(M?.destinationToken.amount):void 0,[M]),p=I.useMemo(()=>{if(M)return b.display(b.truncate(M.destinationToken.amount,6))},[M]),S=I.useMemo(()=>{if(e.error)return o.jsx(Me,{color:"error",children:"Route is unavailable"});if(L===void 0||!y)return null;const U=f?t.palette.warning.main:t.palette.text.primary;return o.jsxs(Me,{fontSize:"18px",lineHeight:"18px",color:U,component:"div",marginBottom:"6px",children:[p," ",x.getTokenDisplaySymbolByTokenAddress(y)]})},[e.error,L,p,y,f,t.palette.warning.main,t.palette.text.primary]),w=I.useMemo(()=>{if(e.error||!r||!y||L===void 0)return null;const U=x.calculateUSDPrice(u,L,y);return o.jsx(Me,{fontSize:"14px",lineHeight:"14px",color:t.palette.text.secondary,component:"div",children:o.jsx(e9,{destChain:r,provider:M?.provider,route:e.route,sourceChain:s,sourceTokenSymbol:N?.symbol,usdValue:U})})},[r,y,u,l,e.error,e.route,L,s,N,t.palette.text.secondary]),z=I.useMemo(()=>g||typeof e.onSelect!="function"?"default":e.error?"not-allowed":"pointer",[e.error,g,e.onSelect]);return e.route?o.jsx(he,{sx:n.container,"data-testid":`route-${e.route}${g?"-selected":""}`,children:o.jsx(wn,{sx:{...n.card,...g&&n.cardSelected,...c&&n.disabled},children:o.jsxs(ks,{component:"div","aria-label":`Select ${e.route} route`,disabled:c||typeof e.onSelect!="function"||e.error!==void 0,disableTouchRipple:!0,sx:{cursor:z},onClick:()=>{e.onSelect?.(e.route)},children:[o.jsx(c0,{sx:n.cardHeader,avatar:o.jsx(qs,{icon:y?.icon}),title:S,subheader:w,action:o.jsx(q6,{isFastest:e.isFastest,isCheapest:e.isCheapest,isOnlyChoice:e.isOnlyChoice})}),o.jsxs(An,{sx:n.cardContent,children:[o.jsxs(De,{gap:"14px",children:[i.AUTOMATIC_DEPOSIT?null:`You pay gas on ${r}`,C,o.jsx($6,{destChain:r,eta:M?.eta})]}),D,j]}),d&&o.jsxs(o.Fragment,{children:[o.jsx(vo,{flexItem:!0,sx:{margin:"0px 16px"}}),o.jsx(H6,{destinationGasDrop:M?.destinationNativeGas||b.fromBaseUnits(0n,8),disabled:T||!!e.isLoading,isExecutorRoute:x.isExecutorRoute(e.route),isSelected:g,onGasChange:U=>{typeof e.onGasChange=="function"&&e.onGasChange(U)}})]})]})})},e.route):o.jsx(o.Fragment,{})},n9=I.memo(t9),i9=({routesWithQuotes:e,highlightedRoute:t,quotes:n,fastestRoute:i,cheapestRoute:r,isLoading:s,onRouteSelect:a,onGasChange:c})=>o.jsx(De,{sx:{gap:"8px",overflowY:"auto",maxHeight:"75vh",scrollbarWidth:"thin"},children:e.map(u=>{const l=u===t,M=n[u],g=M?.success?M:void 0,N=M?.success===!1?M?.error?.message??`Error while getting a quote for ${u}.`:void 0;return o.jsx(n9,{route:u,error:N,isSelected:l&&!N,isFastest:u===i.name,isCheapest:u===r.name,isOnlyChoice:e.length===1,onSelect:a,onGasChange:c,quote:g,isLoading:s},u)})}),X2=I.memo(i9);function r9({open:e,onOpen:t,onClose:n,routesWithQuotes:i,highlightedRoute:r,quotes:s,fastestRoute:a,cheapestRoute:c,selectButtonDisabled:u,isLoading:l,onRouteSelect:M,onGasChange:g,onRouteConfirm:N}){const y=B.useTheme(),T=o.jsxs(he,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},children:[o.jsx(Me,{component:"span",fontSize:"16px",fontWeight:600,children:"Routes"}),o.jsx(Tn,{sx:{opacity:.5,padding:0},onClick:n,"aria-label":"Close routes","data-testid":"routes-close-button",children:o.jsx(dc,{sx:{height:"24px",width:"24px"}})})]}),d=o.jsx(zt,{variant:"primary",styleOverrides:{padding:"16px 24px",height:"48px",borderRadius:"48px"},onClick:N,disabled:u,"aria-label":"Select route","data-testid":"select-route-button",fullWidth:!0,children:o.jsx(Me,{fontSize:"16px",fontWeight:600,textTransform:"none",children:"Select"})});return o.jsx(Ss,{anchor:"bottom",open:e,slotProps:{paper:{sx:{background:y.palette.input.background,borderRadius:"8px",height:"calc(100vh - 40px)",maxWidth:"100vw"}}},transitionDuration:200,onOpen:t,onClose:n,children:o.jsxs(he,{sx:{backgroundColor:y.palette.input.background,padding:"8px",borderRadius:"12px",gap:"16px",display:"flex",flexDirection:"column",maxWidth:"420px"},children:[T,o.jsx(X2,{routesWithQuotes:i,highlightedRoute:r,quotes:s,fastestRoute:a,cheapestRoute:c,isLoading:l,onRouteSelect:M,onGasChange:g}),d]})})}const o9=I.memo(r9);function s9({open:e,onClose:t,routesWithQuotes:n,highlightedRoute:i,quotes:r,fastestRoute:s,cheapestRoute:a,selectButtonDisabled:c,isLoading:u,onRouteSelect:l,onGasChange:M,onRouteConfirm:g}){const N=B.useTheme(),y=o.jsxs(he,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",position:"relative"},children:[o.jsx(Me,{color:N.palette.text.primary,fontSize:"24px",fontWeight:600,children:"Routes"}),o.jsx(Tn,{sx:{opacity:.5,padding:0,position:"absolute",right:0},onClick:t,"aria-label":"Close routes","data-testid":"routes-close-button",children:o.jsx(Es,{sx:{height:"24px",width:"24px"}})})]}),T=o.jsx(zt,{variant:"primary",styleOverrides:{padding:"16px 24px",height:"48px",borderRadius:"48px"},onClick:g,disabled:c,"aria-label":"Select route","data-testid":"select-route-button",fullWidth:!0,children:o.jsx(Me,{fontSize:"16px",fontWeight:600,textTransform:"none",children:"Select Route"})});return o.jsx(fc,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},open:e,onClose:t,slotProps:{backdrop:{sx:{backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"}}},children:o.jsxs(he,{sx:{backgroundColor:N.palette.input.background,padding:"24px",borderRadius:"12px",gap:"16px",display:"flex",flexDirection:"column",width:"456px",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"},children:[y,o.jsx(X2,{routesWithQuotes:n,highlightedRoute:i,quotes:r,fastestRoute:s,cheapestRoute:a,isLoading:u,onRouteSelect:l,onGasChange:M}),T]})})}const a9=I.memo(s9),c9=()=>o.jsxs(he,{sx:{display:"flex",flexDirection:"column",height:"54px",width:"100%",gap:"12px"},children:[o.jsxs(he,{sx:{display:"flex",height:"20px",width:"100%",justifyContent:"space-between"},children:[o.jsx(Zr,{variant:"rounded",height:20,width:"70%",sx:{borderRadius:"20px"}}),o.jsx(Zr,{variant:"rounded",height:20,width:"25%",sx:{borderRadius:"20px"}})]}),o.jsx(Zr,{variant:"rounded",height:20,width:"100%",sx:{borderRadius:"20px"}})]}),u9=I.memo(c9),l9=B.createSvgIcon(o.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M0.625 8.625H1.325C1.975 8.625 2.575 8.325 2.975 7.775L6.025 3.475C6.375 2.925 7.025 2.625 7.675 2.625H10.625M10.625 2.625L8.625 0.625M10.625 2.625L8.625 4.625M0.625 2.625H1.575C2.325 2.625 3.025 3.075 3.375 3.725M10.625 8.62495H7.67502C7.02502 8.62495 6.37502 8.27495 6.02502 7.72495L5.77502 7.32495M10.625 8.62495L8.625 6.625M10.625 8.62495L8.625 10.625",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),"RouteSwitch");function M9({destChain:e,provider:t,route:n,sourceChain:i,sourceTokenSymbol:r,onClick:s}){const a=q2(e,n,i,r,t),c=We.useTheme();return o.jsx(r0,{onClick:s,disableRipple:!0,variant:"text",sx:{minWidth:0,padding:0,justifyContent:"flex-start",textTransform:"none",color:c.palette.text.secondary,cursor:"pointer","&:hover":{backgroundColor:"transparent",color:c.palette.text.accent}},children:o.jsxs(De,{direction:"row",sx:{flexGrow:1,whiteSpace:"nowrap",alignItems:"center",transition:"0.3s"},children:[o.jsx(Me,{variant:"body2",fontWeight:500,children:a?`Routing via ${a}`:"Route"}),o.jsx(l9,{sx:{width:12,height:12,marginLeft:c.spacing(.5)}})]})})}const d9=I.memo(M9),g9=B.createSvgIcon(o.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M6 0C4.81331 0 3.65327 0.351894 2.66658 1.01118C1.67989 1.67047 0.910851 2.60754 0.456725 3.7039C0.00259973 4.80026 -0.11622 6.00665 0.115291 7.17054C0.346802 8.33443 0.918247 9.40352 1.75736 10.2426C2.59648 11.0818 3.66557 11.6532 4.82946 11.8847C5.99335 12.1162 7.19974 11.9974 8.2961 11.5433C9.39246 11.0891 10.3295 10.3201 10.9888 9.33342C11.6481 8.34673 12 7.18669 12 6C12 4.4087 11.3679 2.88258 10.2426 1.75736C9.11742 0.632141 7.5913 0 6 0ZM8.37805 6.87818H5.88071C5.69132 6.87818 5.50969 6.80295 5.37577 6.66903C5.24185 6.53512 5.16662 6.35349 5.16662 6.1641V2.32764C5.16662 2.13825 5.24185 1.95662 5.37577 1.8227C5.50969 1.68879 5.69132 1.61355 5.88071 1.61355C6.07009 1.61355 6.25172 1.68879 6.38564 1.8227C6.51956 1.95662 6.59479 2.13825 6.59479 2.32764V5.45001H8.37805C8.56743 5.45001 8.74906 5.52525 8.88298 5.65916C9.0169 5.79308 9.09213 5.97471 9.09213 6.1641C9.09213 6.35349 9.0169 6.53512 8.88298 6.66903C8.74906 6.80295 8.56743 6.87818 8.37805 6.87818Z",fill:"currentColor"})}),"Clock");function f9({eta:e}){const t=B.useTheme();return e?o.jsx(he,{sx:{display:"flex",fontSize:"14px",justifyContent:"flex-end"},children:o.jsxs(he,{sx:{display:"flex",height:"32px",alignItems:"center",gap:"6px",padding:"4px 0"},children:[o.jsx(g9,{sx:{color:t.palette.text.secondary,width:"12px",height:"12px"}}),o.jsx(Me,{component:"span",color:t.palette.text.primary,fontSize:"14px",lineHeight:"14px",children:x.millisToHumanString(e)})]})}):null}const h9=I.memo(f9);function j9({slippage:e}){const t=We.useTheme();return e?o.jsxs(he,{sx:{display:"flex",marginTop:"0px",alignItems:"center",justifyContent:"space-between",width:"100%",paddingLeft:t.spacing(1),paddingRight:t.spacing(3)},children:[o.jsx(B.Typography,{variant:"body2",fontWeight:500,fontSize:12,color:t.palette.text.primary,sx:{display:"block",opacity:.5},children:"Max slippage"}),o.jsx(B.Typography,{variant:"body2",fontSize:12,fontWeight:600,color:t.palette.text.primary,sx:{display:"block",opacity:.5},children:e?`${e/100}%`:null})]}):null}const N9=4;function y9({minOutput:e,outputToken:t}){const n=We.useTheme();return!e||!t?null:o.jsxs(he,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",paddingLeft:n.spacing(1),paddingRight:n.spacing(3)},children:[o.jsx(B.Typography,{variant:"body2",fontSize:12,fontWeight:"500",color:n.palette.text.primary,sx:{display:"block",opacity:.5},children:"Minimum output"}),o.jsx(B.Stack,{direction:"row",spacing:n.spacing(1),children:o.jsxs(B.Typography,{variant:"body2",fontSize:12,fontWeight:"600",color:n.palette.text.primary,sx:{display:"block",opacity:.5},children:[u2(e.toString(),N9),t]})})]})}var wo,_a;function I9(){if(_a)return wo;_a=1;var e="Expected a function",t=NaN,n="[object Symbol]",i=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt,u=typeof Ze.commonjsGlobal=="object"&&Ze.commonjsGlobal&&Ze.commonjsGlobal.Object===Object&&Ze.commonjsGlobal,l=typeof self=="object"&&self&&self.Object===Object&&self,M=u||l||Function("return this")(),g=Object.prototype,N=g.toString,y=Math.max,T=Math.min,d=function(){return M.Date.now()};function f(j,L,p){var S,w,z,U,k,v,Q=0,P=!1,Z=!1,O=!0;if(typeof j!="function")throw new TypeError(e);L=D(L)||0,C(p)&&(P=!!p.leading,Z="maxWait"in p,z=Z?y(D(p.maxWait)||0,L):z,O="trailing"in p?!!p.trailing:O);function H(X){var W=S,V=w;return S=w=void 0,Q=X,U=j.apply(V,W),U}function $(X){return Q=X,k=setTimeout(Y,L),P?H(X):U}function _(X){var W=X-v,V=X-Q,J=L-W;return Z?T(J,z-V):J}function A(X){var W=X-v,V=X-Q;return v===void 0||W>=L||W<0||Z&&V>=z}function Y(){var X=d();if(A(X))return E(X);k=setTimeout(Y,_(X))}function E(X){return k=void 0,O&&S?H(X):(S=w=void 0,U)}function R(){k!==void 0&&clearTimeout(k),Q=0,S=v=w=k=void 0}function q(){return k===void 0?U:E(d())}function te(){var X=d(),W=A(X);if(S=arguments,w=this,v=X,W){if(k===void 0)return $(v);if(Z)return k=setTimeout(Y,L),H(v)}return k===void 0&&(k=setTimeout(Y,L)),U}return te.cancel=R,te.flush=q,te}function C(j){var L=typeof j;return!!j&&(L=="object"||L=="function")}function m(j){return!!j&&typeof j=="object"}function h(j){return typeof j=="symbol"||m(j)&&N.call(j)==n}function D(j){if(typeof j=="number")return j;if(h(j))return t;if(C(j)){var L=typeof j.valueOf=="function"?j.valueOf():j;j=C(L)?L+"":L}if(typeof j!="string")return j===0?j:+j;j=j.replace(i,"");var p=s.test(j);return p||a.test(j)?c(j.slice(2),p?2:8):r.test(j)?t:+j}return wo=f,wo}I9();function L9(e){const[t,n]=I.useState(!1),i=I.useCallback(()=>{n(r=>!r)},[]);return[t,i,n]}function x9({expanded:e,onToggle:t,sx:n}){return e?o.jsx(jc,{sx:{cursor:"pointer",width:18,height:18,marginLeft:"4px",...n},onClick:t}):o.jsx(hc,{sx:{cursor:"pointer",width:18,height:18,marginLeft:"4px",...n},onClick:t})}function T9({destChain:e,provider:t,eta:n,selectedRoute:i,handleToggleRoutes:r,sourceChain:s,quoteSlippageBps:a,minReceived:c,outputToken:u}){const l=We.useTheme(),[M,g]=L9(),N=c||a,y=!!n,T=!x.config.ui.hideRouteSelection,d=!x.config.ui.hideRouteDetails,f=T?"space-between":"end";return o.jsxs(De,{direction:"column",useFlexGap:!0,sx:{width:"100%"},children:[o.jsxs(De,{direction:"row",sx:{paddingLeft:l.spacing(.5),paddingRight:l.spacing(.5)},height:18,alignItems:"center",justifyContent:f,children:[T&&o.jsx(d9,{destChain:e,provider:t,route:i,sourceChain:s,onClick:r}),d&&o.jsxs(De,{direction:"row",gap:l.spacing(1),height:18,alignItems:"center",children:[o.jsx(h9,{eta:n}),o.jsxs(De,{direction:"row",sx:{transition:"0.3s",color:y?l.palette.text.primary:l.palette.text.secondary,"&:hover":{color:l.palette.text.accent}},children:[!y&&o.jsx(Me,{variant:"body2",sx:{fontWeight:500,cursor:"pointer"},onClick:g,children:"Details"}),N&&o.jsx(x9,{expanded:M,onToggle:g})]})]})]}),N&&o.jsxs(u0,{in:M,timeout:500,children:[o.jsx(j9,{slippage:a}),o.jsx(y9,{minOutput:c,outputToken:u})]})]})}function C9(e){if(!(!e||!e.success))return e.details?.slippageBps}function m9(e){if(!(!e||!e.success))return e.details?.minReceived}function p9({routes:e,selectedRoute:t,onRouteChange:n,quotes:i,isLoading:r,onManualGasChange:s}){const a=tt(),c=B.useTheme(),u=B.useMediaQuery(c.breakpoints.down("sm")),{toNativeToken:l}=Ae(E=>({...E.relay})),{toChain:M,fromChain:g}=Ae(E=>E.transferInput),[N,y]=I.useState(!1),[T,d]=I.useState(!1),[f,C]=I.useState(),[m,h]=I.useState(l),[D,j]=I.useState(t),[L,p]=I.useState("fastest"),S=e.filter(E=>i[E]!==void 0),{fastestRoute:w,cheapestRoute:z}=x.getBestRoutes(S,i),U=I.useMemo(()=>{if(!t)return;const E=i[t];return E?.success?E:void 0},[t,i]);I.useEffect(()=>{t&&(t!==f&&C(t),t===w.name?p("fastest"):t===z.name?p("cheapest"):p(""))},[t,w.name,z.name]);const k=I.useMemo(()=>({toggleGroup:{height:"32px",width:"100%",maxWidth:"174px",gap:"4px",padding:"4px",backgroundColor:c.palette.toggle.background,borderRadius:"24px"},toggleButton:{border:"none",borderRadius:"24px !important",color:c.palette.toggle.text,width:"100%",padding:"4px 0",fontSize:"12px",fontWeight:600,textTransform:"none","&:hover":{backgroundColor:c.palette.toggle.background,color:c.palette.toggle.text},"&.Mui-selected, &.Mui-selected:hover":{backgroundColor:c.palette.toggle.active,color:c.palette.toggle.activeText}},toggleButtonLabel:{fontSize:"12px",fontWeight:600,textTransform:"none"}}),[c]),v=I.useCallback(()=>{y(!1),f!==D&&(C(D),a(Ot(m)))},[f,D,m,a]),Q=I.useCallback(()=>{d(!1),f!==D&&(C(D),a(Ot(m)))},[f,D,m,a]),P=I.useCallback(()=>{h(l),j(t),u?d(!0):y(E=>!E)},[u,t,l]),Z=I.useCallback(E=>{E!==f&&(C(E),l!==0&&a(Ot(0)))},[a,f,l]),O=I.useCallback(E=>{E!==l&&(a(Ot(E)),s())},[a,l,s]),H=I.useCallback(()=>{f&&n(f),h(l),j(f),u?d(!1):y(!1)},[f,l,u,n]),$=!x.config.ui.hideRouteSelectionPills&&!!w.name&&!!z.name&&z.name!==w.name,_=I.useMemo(()=>$?o.jsx(he,{sx:{paddingLeft:c.spacing(.5),display:"flex",width:"100%",justifyContent:"flex-start",alignItems:"center"},children:o.jsxs(a0,{exclusive:!0,size:"small",value:L,sx:k.toggleGroup,onChange:(E,R)=>{R==="fastest"&&w.name?(n(w.name),p("fastest")):R==="cheapest"&&z.name&&(n(z.name),p("cheapest"))},children:[o.jsx(Li,{disableRipple:!0,value:"fastest",disabled:!w.name,sx:k.toggleButton,children:"Fastest"}),o.jsx(Li,{disableRipple:!0,value:"cheapest",disabled:!z.name,sx:k.toggleButton,children:"Cheapest"})]})}):null,[$,c,w.name,z.name,L,k.toggleGroup,k.toggleButton,n]),A=!!t&&t===f;return!!x.config.ui.hideRouteSelection&&!!x.config.ui.hideRouteDetails||!r&&e.length===0?null:o.jsxs(o.Fragment,{children:[r?o.jsx(u9,{}):o.jsx(o.Fragment,{children:o.jsxs(De,{sx:{width:"100%",alignItems:"center",gap:"16px",paddingBottom:c.spacing(3)},children:[_,o.jsx(T9,{destChain:M,provider:U?.provider,eta:U?.eta,selectedRoute:t,sourceChain:g,handleToggleRoutes:P,quoteSlippageBps:C9(U),minReceived:m9(U),outputToken:U?.details?.toToken?.symbol})]})}),u?o.jsx(o9,{open:T,onOpen:()=>d(!0),onClose:Q,routesWithQuotes:S,highlightedRoute:f,quotes:i,fastestRoute:w,cheapestRoute:z,onRouteSelect:Z,onGasChange:O,onRouteConfirm:H,selectButtonDisabled:A}):o.jsx(a9,{open:N,onClose:v,routesWithQuotes:S,highlightedRoute:f,quotes:i,fastestRoute:w,cheapestRoute:z,onRouteSelect:Z,onGasChange:O,onRouteConfirm:H,selectButtonDisabled:A})]})}const D9=I.memo(p9),w9=B.createSvgIcon(o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{y:"0.5",width:"36",height:"36",rx:"8",fill:"none"}),o.jsx("path",{d:"M18.5 14.8235L15 11.3235L11.5 14.8235",stroke:"currentColor",strokeWidth:"1.5"}),o.jsx("path",{d:"M24.5 21.8235L21 25.3235L17.5 21.8235",stroke:"currentColor",strokeWidth:"1.5"}),o.jsx("path",{d:"M21 25.3235L21 16.3235",stroke:"currentColor",strokeWidth:"1.5"}),o.jsx("path",{d:"M15 11.3235L15 20.3235",stroke:"currentColor",strokeWidth:"1.5"})]}),"SwapVertical");function A9(){const e=tt(),t=B.useTheme(),[n,i]=I.useState(""),{isTransactionInProgress:r,fromChain:s,toChain:a,token:c,destToken:u}=Ae(N=>N.transferInput),l=I.useMemo(()=>({swapButton:{display:"flex",position:"absolute",backgroundColor:t.palette.input.background,border:`2px solid ${t.palette.input.border}`,borderRadius:"36px",left:"calc(50% - 18px)",top:"calc(50% - 18px)",width:36,height:36,zIndex:1,transition:"background-color 0.2s ease-in-out",animation:`${n} 0.3s linear 1`,"@keyframes spinRight":{"0%":{transform:"rotate(-180deg)"},"100%":{transform:"rotate(0deg)"}},"@keyframes spinLeft":{"0%":{transform:"rotate(180deg)"},"100%":{transform:"rotate(0deg)"}},"&:disabled":{backgroundColor:t.palette.input.background},"&:hover:not(:disabled)":{backgroundColor:t.palette.mode==="dark"?Ge(t.palette.input.background).lighten(.1).hex():Ge(t.palette.input.background).darken(.1).hex()}}}),[t.palette.input.background,t.palette.input.border,t.palette.mode,n]),M=!r&&s&&a,g=I.useCallback(()=>{if(!(!M||r)){if(i(N=>N==="spinRight"?"spinLeft":"spinRight"),e(Ot(0)),e(nu()),e(yn("")),ps(s,!1),ps(a,!0),c){const N=x.config.tokens.get(c);N&&Ds(N,!1)}if(u){const N=x.config.tokens.get(u);N&&Ds(N,!0)}}},[M,r,e,a,s,c,u]);return o.jsx(Tn,{sx:l.swapButton,disabled:!M,disableRipple:!0,onClick:g,children:o.jsx(w9,{sx:{width:"36px",height:"36px",color:M?t.palette.text.primary:t.palette.text.disabled}})})}const S9=I.memo(A9);function E9({title:e,align:t="left",description:n}){const i=We.useTheme(),r=I.useMemo(()=>({container:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",marginBottom:"0px",[i.breakpoints.down("sm")]:{marginBottom:"20px"}},header:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},left:{display:"flex",flexGrow:1,alignItems:"center",textAlign:t},description:{fontWeight:"300",fontSize:"14px",opacity:"0.6",marginBottom:"40px"}}),[i,t]);return o.jsxs(he,{sx:r.container,children:[o.jsx(he,{sx:r.header,children:o.jsx(he,{sx:r.left,children:o.jsx(Xn,{text:e,align:t})})}),n&&o.jsx(he,{sx:r.description,children:n})]})}const Xs=()=>{const e={text:"",align:"left"},t=typeof x.config.ui.pageHeader=="string"?{...e,text:x.config.ui.pageHeader}:{...e,...x.config.ui.pageHeader};return t.text?o.jsx(E9,{title:t.text,align:t.align}):null},z9=B.createSvgIcon(o.jsxs("svg",{width:"16",height:"19",viewBox:"0 0 16 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M7.75316 14.4526C7.75341 13.6108 7.98056 12.7845 8.41069 12.0608C8.84083 11.3372 9.45805 10.7428 10.1974 10.3402C10.9368 9.93769 11.771 9.74185 12.6123 9.77334C13.4536 9.80482 14.2708 10.0625 14.978 10.5191C14.983 10.1722 14.9857 9.80192 14.9857 9.40238C14.9857 7.34816 14.9158 6.06606 14.7778 4.73805H14.7974C14.7211 3.99804 14.4385 3.29433 13.9818 2.70707C13.5251 2.11981 12.9127 1.6726 12.2142 1.41636C12.1773 1.40238 12.1404 1.38908 12.1031 1.37643C11.8271 1.28366 11.5418 1.22152 11.2522 1.19114L11.2246 1.18814C10.1198 1.07471 9.94245 0.983887 7.61277 0.983887C5.2831 0.983887 4.90619 1.07471 3.8024 1.18981L3.77478 1.1928C3.47079 1.22473 3.17151 1.29171 2.8829 1.3924V1.37743C2.16329 1.6221 1.52891 2.06797 1.05498 2.66219C0.581041 3.25641 0.287419 3.97405 0.208915 4.73006C0.0705256 6.06073 0 7.34417 0 9.40238C0 11.4606 0.0705256 12.744 0.208915 14.0747C0.303414 14.9827 0.707339 15.8307 1.35292 16.4762C1.99849 17.1217 2.84644 17.5255 3.75449 17.6199L3.7821 17.6229C4.88689 17.738 5.06387 17.8289 7.39355 17.8289C8.16534 17.8289 8.72422 17.8189 9.16301 17.8013C8.71616 17.3656 8.36117 16.8448 8.11902 16.2697C7.87687 15.6945 7.75246 15.0767 7.75316 14.4526ZM3.86094 5.41336H11.1234C11.3336 5.41336 11.5351 5.49685 11.6837 5.64545C11.8323 5.79406 11.9158 5.99562 11.9158 6.20578C11.9158 6.41594 11.8323 6.61749 11.6837 6.7661C11.5351 6.91471 11.3336 6.99819 11.1234 6.99819H3.86261C3.65245 6.99819 3.45089 6.91471 3.30229 6.7661C3.15368 6.61749 3.07019 6.41594 3.07019 6.20578C3.07019 5.99562 3.15368 5.79406 3.30229 5.64545C3.45089 5.49685 3.65245 5.41336 3.86261 5.41336H3.86094ZM3.86094 10.3891C3.65355 10.3848 3.45608 10.2995 3.31091 10.1513C3.16574 10.0031 3.08444 9.80393 3.08444 9.59649C3.08444 9.38906 3.16574 9.18988 3.31091 9.04171C3.45608 8.89353 3.65355 8.80816 3.86094 8.80391H8.00299C8.10844 8.80175 8.21326 8.82066 8.31132 8.85952C8.40937 8.89838 8.49868 8.95641 8.57402 9.03023C8.64936 9.10404 8.70921 9.19214 8.75007 9.28938C8.79093 9.38661 8.81198 9.49102 8.81198 9.59649C8.81198 9.70197 8.79093 9.80638 8.75007 9.90361C8.70921 10.0008 8.64936 10.089 8.57402 10.1628C8.49868 10.2366 8.40937 10.2946 8.31132 10.3335C8.21326 10.3723 8.10844 10.3912 8.00299 10.3891H3.86094Z",fill:"currentColor"}),o.jsx("path",{d:"M12.4362 10.8887C11.7313 10.8887 11.0423 11.0977 10.4562 11.4893C9.87013 11.8809 9.41334 12.4375 9.1436 13.0887C8.87386 13.7399 8.80328 14.4565 8.94079 15.1478C9.07831 15.8391 9.41773 16.4742 9.91615 16.9726C10.4146 17.471 11.0496 17.8104 11.7409 17.9479C12.4322 18.0855 13.1488 18.0149 13.8 17.7451C14.4512 17.4754 15.0078 17.0186 15.3994 16.4325C15.791 15.8465 16.0001 15.1574 16.0001 14.4525C16.0001 13.5073 15.6246 12.6009 14.9562 11.9325C14.2879 11.2642 13.3814 10.8887 12.4362 10.8887ZM13.8487 14.9742H12.3653C12.2528 14.9742 12.145 14.9295 12.0654 14.8499C11.9859 14.7704 11.9412 14.6625 11.9412 14.55V12.2712C11.9412 12.1587 11.9859 12.0509 12.0654 11.9713C12.145 11.8918 12.2528 11.8471 12.3653 11.8471C12.4778 11.8471 12.5857 11.8918 12.6653 11.9713C12.7448 12.0509 12.7895 12.1587 12.7895 12.2712V14.1259H13.8487C13.9612 14.1259 14.0691 14.1706 14.1486 14.2501C14.2282 14.3296 14.2728 14.4375 14.2728 14.55C14.2728 14.6625 14.2282 14.7704 14.1486 14.8499C14.0691 14.9295 13.9612 14.9742 13.8487 14.9742Z",fill:"currentColor"})]}),"History");var Ir={exports:{}},b9=Ir.exports,Qa;function O9(){return Qa||(Qa=1,(function(e,t){(function(n,i){e.exports=i(I)})(typeof self<"u"?self:b9,(n=>(()=>{var i={155:d=>{d.exports=n}},r={};function s(d){var f=r[d];if(f!==void 0)return f.exports;var C=r[d]={exports:{}};return i[d](C,C.exports,s),C.exports}s.d=(d,f)=>{for(var C in f)s.o(f,C)&&!s.o(d,C)&&Object.defineProperty(d,C,{enumerable:!0,get:f[C]})},s.o=(d,f)=>Object.prototype.hasOwnProperty.call(d,f),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var a={};s.r(a),s.d(a,{useStopwatch:()=>y,useTime:()=>T,useTimer:()=>N});var c=s(155);class u{static getTimeFromMilliseconds(f,C=!0){const m=C?Math.ceil(f/1e3):Math.floor(f/1e3),h=Math.floor(m/86400),D=Math.floor(m%86400/3600),j=Math.floor(m%3600/60),L=Math.floor(m%60);return{totalMilliseconds:f,totalSeconds:m,milliseconds:Math.floor(f%1e3),seconds:L,minutes:j,hours:D,days:h}}static getMillisecondsFromExpiry(f){const C=new Date().getTime(),m=f?.getTime()-C;return m>0?m:0}static getMillisecondsFromPrevTime(f){const C=new Date().getTime()-f;return C>0?C:0}static getMillisecondsFromTimeNow(){const f=new Date;return f.getTime()-60*f.getTimezoneOffset()*1e3}static getFormattedTimeFromMilliseconds(f,C){const{milliseconds:m,seconds:h,minutes:D,hours:j}=u.getTimeFromMilliseconds(f);let L="",p=j;return C==="12-hour"&&(L=j>=12?"pm":"am",p=j%12),{milliseconds:m,seconds:h,minutes:D,hours:p,ampm:L}}}class l{static expiryTimestamp(f){const C=new Date(f).getTime()>0;return C||console.warn("react-timer-hook: { useTimer } Invalid expiryTimestamp settings",f),C}static onExpire(f){const C=f&&typeof f=="function";return f&&!C&&console.warn("react-timer-hook: { useTimer } Invalid onExpire settings function",f),C}}function M(d,f){const C=(0,c.useRef)(d);(0,c.useEffect)((()=>{C.current=d})),(0,c.useEffect)((()=>{if(!f)return()=>{};const m=setInterval((()=>{var h;(h=C?.current)===null||h===void 0||h.call(C)}),f);return()=>clearInterval(m)}),[f])}const g=1e3;function N({expiryTimestamp:d,onExpire:f=()=>{},autoStart:C=!0,interval:m=g}){const[h,D]=(0,c.useState)(d),[j,L]=(0,c.useState)(u.getMillisecondsFromExpiry(h)),[p,S]=(0,c.useState)(C),[w,z]=(0,c.useState)(C),[U,k]=(0,c.useState)(m),v=(0,c.useCallback)((()=>{l.onExpire(f)&&f(),S(!1),k(null)}),[f]),Q=(0,c.useCallback)((()=>{S(!1)}),[]),P=(0,c.useCallback)(((H,$=!0)=>{k(m),z($),S($),D(H),L(u.getMillisecondsFromExpiry(H))}),[m]),Z=(0,c.useCallback)((()=>{const H=new Date;H.setMilliseconds(H.getMilliseconds()+j),P(H)}),[j,P]),O=(0,c.useCallback)((()=>{w?(L(u.getMillisecondsFromExpiry(h)),S(!0)):Z()}),[h,w,Z]);return M((()=>{const H=u.getMillisecondsFromExpiry(h);L(H),H<=0?v():U&&H<U&&k(H)}),p?U:null),(0,c.useEffect)((()=>{l.expiryTimestamp(h)}),[h]),Object.assign(Object.assign({},u.getTimeFromMilliseconds(j)),{start:O,pause:Q,resume:Z,restart:P,isRunning:p})}function y({autoStart:d=!0,offsetTimestamp:f,interval:C=g}={}){const m=f?u.getMillisecondsFromExpiry(f):0,[h,D]=(0,c.useState)(new Date().getTime()-new Date(m).getTime()),[j,L]=(0,c.useState)(u.getMillisecondsFromPrevTime(h||0)),[p,S]=(0,c.useState)(d),w=g-j%g,[z,U]=(0,c.useState)(C<w?C:w);M((()=>{z!==C&&U(C),L(u.getMillisecondsFromPrevTime(h))}),p?z:null);const k=(0,c.useCallback)((()=>{D(new Date().getTime()-new Date(j).getTime()),S(!0)}),[j]),v=(0,c.useCallback)((()=>{p&&(L(u.getMillisecondsFromPrevTime(h)),S(!1))}),[h,p]),Q=(0,c.useCallback)(((P,Z=!0)=>{const O=P?u.getMillisecondsFromExpiry(P):0,H=new Date().getTime()-new Date(O).getTime(),$=u.getMillisecondsFromPrevTime(H),_=g-$%g;D(H),L($),U(C<_?C:_),S(Z)}),[C]);return Object.assign(Object.assign({},u.getTimeFromMilliseconds(j,!1)),{start:k,pause:v,reset:Q,isRunning:p})}function T({format:d,interval:f=g}={}){const[C,m]=(0,c.useState)(u.getMillisecondsFromTimeNow());return M((()=>{m(u.getMillisecondsFromTimeNow())}),f),Object.assign({},u.getFormattedTimeFromMilliseconds(C,d))}return a})()))})(Ir)),Ir.exports}var $2=O9();const Pa=60*1e3,k9=120*1e3,K2=e=>{const[t,n]=I.useState(!1),[i,r]=I.useState(!1),[s,a]=I.useState(),{getOrFetchToken:c}=ft(),{eta:u,route:l,receivedTokenId:M}=e,g=Ae(y=>y.wallet),{receiving:N}=g;return I.useEffect(()=>{e.receipt&&a(e.receipt)},[e.receipt]),I.useEffect(()=>{let y=!0;return(async()=>{if(!l||!s)return;const d=x.config.routes.get(l);if(!d)return;const f=h=>h.valueOf()-new Date().valueOf(),C=await x.getWormholeContextV2(),m=new d.rc(C);for(;y&&!b.isCompleted(s);){if(u!==void 0){const D=f(u);D>Pa&&await x.sleep(D-Pa)}try{for await(const D of m.track(s,k9)){if(!y)break;if(D.state!==s.state){if(a(D),b.isCompleted(D)){n(!0),M&&c(M).catch(j=>console.error("Error fetching token:",j)),f2(N,s.to);break}!d.AUTOMATIC_DEPOSIT&&D.state>=b.TransferState.Attested&&r(!0)}}}catch(D){console.error("Error tracking transfer:",D)}let h=5e3;u!==void 0&&d.AUTOMATIC_DEPOSIT&&f(u)<1e4&&(h=3e3),await x.sleep(h)}})(),()=>{y=!1}},[u,s,l,N,M,c]),{isCompleted:t,isReadyToClaim:i,receipt:s}},v9=B.createSvgIcon(o.jsx("path",{d:"M4 12H20M20 12L13 5M20 12L13 19",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),"ArrowRight"),ec=B.createSvgIcon(o.jsxs("svg",{width:"107",height:"106",viewBox:"0 0 107 106",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.2079 105.5C82.2486 105.5 105.791 81.9949 105.791 53C105.791 24.0051 82.2486 0.5 53.2079 0.5C24.1672 0.5 0.625 24.0051 0.625 53C0.625 81.9949 24.1672 105.5 53.2079 105.5ZM53.207 102.097C80.3654 102.097 102.382 80.1157 102.382 53.0001C102.382 25.8844 80.3654 3.90283 53.207 3.90283C26.0485 3.90283 4.03223 25.8844 4.03223 53.0001C4.03223 80.1157 26.0485 102.097 53.207 102.097Z",fill:"currentColor"}),o.jsx("path",{d:"M46.8789 68L32.628906 53.75L36.19141 50.1875L46.8789 60.875L69.8164 37.9375L73.3789 41.5L46.8789 68Z",fill:"currentColor"})]}),"Alert"),U9=e=>{const[t,n]=I.useState(""),[i,r]=I.useState(!1),s=tt(),a=I.useContext(En),c=We.useTheme(),u=I.useMemo(()=>({alertBanner:{marginTop:"12px"},arrowIcon:{fontSize:"16px",margin:"0 4px"},card:{width:"100%",boxShadow:`0px 0px 3.5px 0px ${c.palette.primary.main}`},cardContent:{padding:"16px 20px",":last-child":{padding:"16px 20px"}},cardActionArea:{height:"72px"},chainIconContainer:{border:`2px solid ${c.palette.input.background}`,borderRadius:"6px",display:"flex",alignItems:"center",justifyContent:"center"},completedIcon:{color:c.palette.success.main,height:"24px",width:"24px"},container:{width:"100%",maxWidth:"456px"},progressBar:{borderRadius:"4px",marginTop:"8px"}}),[c]),{data:l}=e,{receipt:M,route:g,timestamp:N,txDetails:y,txHash:T}=l,{amount:d,eta:f,fromChain:C,toChain:m,token:h,receivedToken:D}=y||{},j=x.config.tokens.get(h),L=x.config.tokens.get(D),{seconds:p,minutes:S,totalSeconds:w,isRunning:z,restart:U}=$2.useTimer({expiryTimestamp:new Date,autoStart:!1,onExpire:()=>r(!0)}),k=I.useMemo(()=>{if(f&&N)return new Date(N+f)},[f,N]),{isCompleted:v,isReadyToClaim:Q,receipt:P}=K2({eta:k,receipt:M,route:g,receivedTokenId:L});I.useEffect(()=>{v&&T&&Xo(T)},[v,T]);const Z=P||M,O=I.useMemo(()=>{if(!f||!N)return 0;const A=Date.now()-N;return f<A?0:f-A},[f,N,w]),H=I.useMemo(()=>Q||l.isReadyToClaim?"Ready to claim...":i||O===0?"Wrapping up...":z?Hs(S,p):o.jsx(St,{size:16}),[i,O,Q,z,S,p,l]),$=I.useMemo(()=>!f||O>f||!i&&O===0?0:i?100:(f-O)/f*100,[f,i,O]);I.useEffect(()=>{!z&&!v&&O&&U(new Date(Date.now()+O),!0)},[O,v,z,U]);const _=I.useCallback(async()=>{if(n(""),!Z){n("No receipt found for this transaction");return}try{const A=await x.getWormholeContextV2(),Y=new(x.config.routes.get(g)).rc(A);s(z0(N)),s(Rs(y)),s(E0(!0)),s(_s(g)),s(Qs(y.toChain)),s(Bt("redeem")),a.setReceipt(Z),a.setRoute(Y)}catch{n(`Error resuming transaction: ${y.sendTx}`)}},[s,Z,g,a,N,y]);return!l||!j?o.jsx(o.Fragment,{}):o.jsxs(he,{sx:u.container,children:[o.jsx(wn,{sx:u.card,children:o.jsx(ks,{disableTouchRipple:!0,sx:u.cardActionArea,disabled:e.disabled||!y,onClick:_,children:o.jsxs(An,{sx:u.cardContent,children:[o.jsxs(De,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[o.jsx(Me,{display:"flex",justifyContent:"space-between",children:v?o.jsx(ec,{sx:u.completedIcon}):H}),o.jsxs(De,{direction:"row",alignItems:"center",children:[o.jsx(Me,{fontSize:14,marginRight:"8px",children:`${b.display(b.truncate(d,6))} ${x.getTokenDisplaySymbolByTokenAddress(j)}`}),o.jsx(he,{sx:u.chainIconContainer,children:o.jsx(pn,{icon:x.config.chains[C]?.icon,height:24})}),o.jsx(v9,{sx:u.arrowIcon}),o.jsx(he,{sx:u.chainIconContainer,children:o.jsx(pn,{icon:x.config.chains[m]?.icon,height:24})})]})]}),!v&&o.jsx(yc,{variant:"determinate",value:$,sx:u.progressBar})]})})}),t&&o.jsx(Vn,{sx:u.alertBanner,color:t?c.palette.error.light:c.palette.grey.A400,error:!!t,children:t})]})},Y9=e=>{const t=B.useTheme(),[n,i]=I.useState();return I.useEffect(()=>{const s=Qr()?.filter(a=>{if(!a?.txDetails?.token)return!1;try{return!!x.config.tokens.get(a?.txDetails?.token)}catch(c){return console.log("Error while parsing token from local storage (in-progress widget):",c),!1}});i(s)},[]),!n||n.length===0?o.jsx(o.Fragment,{}):o.jsxs(B.Box,{sx:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"16px",alignItems:"center",justifyContent:"center",width:"100%"},children:[o.jsx(B.Box,{sx:{width:"100%",display:"flex",alignItems:"center"},children:o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,children:"Transactions in progress"})}),n.map(r=>o.jsx(U9,{data:r,disabled:e.disabled},r.txHash))]})},R9=B.createSvgIcon(o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M10 8C10 9.10457 9.10457 10 8 10C6.89543 10 6 9.10457 6 8M10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8M10 8H14M6 8H2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})}),"Alert"),_9=({showHistory:e,isTransactionInProgress:t,isWalletConnected:n,onToggleHistory:i})=>{const r=B.useTheme(),s=B.useMediaQuery(r.breakpoints.down("sm")),a=I.useMemo(()=>({titleContent:{maxWidth:s?"420px":"488px"},bridgeHeader:{width:"100%",minHeight:"28px",display:"flex",alignItems:"center"}}),[s]),c=!n||t,u=!n&&"No connected wallets found"||(e?"Show bridge":"Show history");return o.jsxs(he,{sx:a.titleContent,children:[o.jsx(Xs,{}),x.config.ui.showInProgressWidget&&o.jsx(Y9,{disabled:t}),o.jsxs(he,{sx:a.bridgeHeader,children:[o.jsx(R9,{style:{marginRight:"4px"}}),o.jsx(Xn,{align:"left",text:x.config.ui.title??"Bridge",size:24,weight:600}),!x.config.ui.hideHistory&&o.jsx(zr,{title:u,children:o.jsx("span",{children:o.jsx(Tn,{"data-testid":"history-button","aria-label":e?"Show bridge":"Show history",sx:{backgroundColor:r.palette.formContainer.background+Nt[20],color:r.palette.icon.secondary,padding:"12px",width:"40px",height:"40px",border:`1px solid ${r.palette.input.border}`,borderRadius:"40px"},disabled:c,onClick:i,children:e?o.jsx(Nc,{sx:{fontSize:"16px"}}):o.jsx(z9,{sx:{fontSize:"16px"}})})})})]})]})},Q9=I.memo(_9),P9=({validation:e})=>{const t=e.error||e.warning||e.info;return t?o.jsx(Vn,{error:!!e.error,warning:!!e.warning,children:t}):null},B9=I.memo(P9);function Z9(e){return"payloadType"in e.content.payload&&e.content.payload.payloadType===2}const Ao=8,W9=e=>{const[t,n]=I.useState(),[i,r]=I.useState(""),[s,a]=I.useState(!1),[c,u]=I.useState(!0),{getOrFetchToken:l}=ft(),{address:M,page:g=0,pageSize:N=30,chains:y}=e,T=I.useMemo(()=>{if(!(!y||y.length===0))return y.map(w=>b.chainToChainId(w))},[y]),d=I.useCallback(async w=>{const{content:z,data:U,sourceChain:k,targetChain:v}=w,{standarizedProperties:Q,payload:P}=z||{},Z=Q.fromChain||k?.chainId,O=Q.toChain||v?.chainId,H=Q.tokenChain,$=b.chainIdToChain(Z);if(!$)return;const _=H?b.chainIdToChain(H):b.chainIdToChain(O);if(!_)return;let A;try{A=await l(b.Wormhole.tokenId(_,Q.tokenAddress))}catch{}if(!A){const V=U?.symbol&&x.config.tokens.findBySymbol(_,U.symbol);V&&(A=V)}A||console.warn("Can't find token",w);const Y=b.chainIdToChain(O);let E,R,q;if(U&&U.tokenAmount?E=U.tokenAmount:Q.amount&&(E=b.display({amount:Q.amount,decimals:Ao},0)),Q.amount){const V=Q.fee||P.fee||P.parsedPayload?.feeAmount||P.parsedPayload?.relayerFee||"0",J=BigInt(Q.amount)-BigInt(V);J>0&&(R=b.display({amount:J.toString(),decimals:Ao},0))}U&&U.usdAmount&&(q=Number(U.usdAmount));const te=k.transaction?.txHash,X=k?.status?.toLowerCase()==="confirmed"&&v?.status?.toLowerCase()!=="completed";return{txHash:te,sender:Q.fromAddress||k.from,recipient:Q.toAddress,amount:E,amountUsd:q,receiveAmount:R,fromChain:$,fromToken:A,toChain:Y,toToken:A,senderTimestamp:k?.timestamp,receiverTimestamp:v?.timestamp,explorerLink:`${i0.WORMSCAN}tx/${te}${x.config.isMainnet?"":"?network=TESTNET"}`,inProgress:X}},[l]),f=I.useCallback(w=>{if(!Z9(w))return d(w)},[d]),C=I.useCallback(w=>d(w),[d]),m=I.useCallback(w=>d(w),[d]),h=I.useCallback(w=>d(w),[d]),D=I.useCallback(w=>d(w),[d]),j=I.useCallback(async w=>{const z=await d(w);if(!z)return;const U=w.content.payload.parsedPayload,{finalTokenAddress:k,flagSet:v,minAmountFinish:Q,recipientAddress:P,relayerFee:Z}=U,O=x.config.tokens.get(b.chainIdToChain(w.content.standarizedProperties.tokenChain),w.content.standarizedProperties.tokenAddress);if(!O)return;const H=v.flags?.shouldWrapNative?x.getGasToken(z.fromChain):O,$=x.config.tokens.get(b.Wormhole.tokenId(z.toChain,b.toNative(z.toChain,k).toString()));if(!$)return;const _=BigInt(Q)-BigInt(Z);return z.fromToken=H,z.toToken=v.flags.shouldUnwrapNative?x.getGasToken(z.toChain):$,z.receiveAmount=_>0?u2(b.display(b.fromBaseUnits(_,$.decimals),0),Ao):"",z.recipient=b.toNative(z.toChain,P).toString(),z},[d]),L=I.useCallback(w=>d(w),[d]),p=I.useMemo(()=>({PORTAL_TOKEN_BRIDGE:f,GENERIC_RELAYER:C,NATIVE_TOKEN_TRANSFER:m,MTT:h,CCTP_WORMHOLE_INTEGRATION:D,ETH_BRIDGE:j,USDT_BRIDGE:j,FAST_TRANSFERS:L,WORMHOLE_LIQUIDITY_LAYER:L}),[D,m,h,j,f,L,C]),S=I.useCallback(async w=>(await Promise.all(w.map(async z=>{const U=z.content?.standarizedProperties?.appIds||[];if(U.includes("ETH_BRIDGE")||U.includes("USDT_BRIDGE"))return j(z);for(const k of U){const v=p[k];if(v)return v(z)}}))).filter(z=>!!z),[p,j]);return I.useEffect(()=>{let w=!1;const z=new Headers({accept:"application/json"});return(async()=>{a(!0);try{let k=`${x.config.wormholeApi}api/v1/operations?address=${M}&page=${g}&pageSize=${N}`;T&&T.length>0&&(k+=`&includesChain=${T.join(",")}`);const v=await fetch(k,{headers:z});if(v.status!==200)n([]),u(!1);else{const Q=await v.json();if(!w){const P=Q?.operations;if(P){const Z=await S(P);n(O=>{if(O&&O.length>0){const H=new Set;return O.forEach($=>{$?.txHash&&H.add($.txHash)}),O.concat(Z.filter($=>!H.has($.txHash)))}return Z})}P?.length<N&&u(!1)}}}catch(k){w||(u(!1),r(`Error fetching transaction history from WormholeScan: ${k}`))}finally{a(!1)}})(),()=>{w=!0}},[M,g,N,S,T]),{transactions:t,error:i,isFetching:s,hasMore:c}},F9=e=>{const[t,n]=I.useState(),[i,r]=I.useState(""),[s,a]=I.useState(!1),[c,u]=I.useState(!0),{address:l,page:M=0,pageSize:g=30,chains:N}=e,y=d=>{const{fromAmount:f,sourceChain:C,destChain:m,fromTokenPrice:h,fromTokenAddress:D,initiatedAt:j,toAmount:L,toTokenAddress:p,sourceTxHash:S,trader:w,destAddress:z,clientStatus:U}=d,k=U?.toLowerCase();if(k==="refunded")return;const v=b.chainIdToChain(C),Q=b.chainIdToChain(m);if(!v||!Q)return;let P,Z;try{P=x.config.tokens.get(Ba(v,D)),Z=x.config.tokens.get(Ba(Q,p))}catch($){console.error($);return}if(!P&&d.fromTokenSymbol){const $=x.config.tokens.findBySymbol(v,d.fromTokenSymbol);$&&(P=$)}if(!Z&&d.toTokenSymbol){const $=x.config.tokens.findBySymbol(Q,d.toTokenSymbol);$&&(Z=$)}if(!P||!Z){console.error("Cant find tokenz");return}const O=k!=="completed";return{txHash:S,sender:w,amount:f,amountUsd:Number(f)*h,recipient:z,fromChain:v,fromToken:P,toChain:Q,toToken:Z,receiveAmount:L,senderTimestamp:j,explorerLink:`https://explorer.mayan.finance/swap/${S}`,inProgress:O}},T=I.useCallback(d=>{const f=d.map(C=>y(C)).filter(C=>!!C);return N&&N.length>0?f.filter(C=>C?N.includes(C.fromChain)||N.includes(C.toChain):!1):f},[N]);return I.useEffect(()=>{let d=!1;return(async()=>{a(!0);const C=g,m=C*M;try{const h=await fetch(`${x.config.mayanApi}/v3/swaps?trader=${l}&offset=${m}&limit=${C}`);if(h.status!==200)n([]),u(!1);else{const D=await h.json();if(!d){const j=D?.data;j&&n(L=>{const p=T(j);if(L&&L.length>0){const S=new Set;return L.forEach(w=>{w?.txHash&&S.add(w.txHash)}),L.concat(p.filter(w=>!S.has(w.txHash)))}return p}),(N&&N.length>0||j?.length<C)&&u(!1)}}}catch(h){d||(u(!1),r(`Error fetching transaction history from Mayan: ${h}`))}finally{a(!1)}})(),()=>{d=!0}},[l,M,g,N,T]),{transactions:t,error:i,isFetching:s,hasMore:c}};function Ba(e,t){if(t==="0x0000000000000000000000000000000000000000")return{chain:e,address:"native"};const n=b.toNative(e,t);return{chain:e,address:n}}const Za=10080*60,H9=365*24*60*60,G9=e=>{const[t,n]=I.useState(),[i,r]=I.useState(""),[s,a]=I.useState(!1),[c,u]=I.useState(!0),{address:l,page:M=0,pageSize:g=30,chains:N}=e,y=()=>{n(f=>f?.length===0?f:[])},T=f=>{try{const{sending:C,receiving:m,fromAddress:h,toAddress:D,status:j}=f,L=Ks.lifiChainIdToChain(C.chainId),p=m?Ks.lifiChainIdToChain(m.chainId):void 0;if(!L||!p)return;const S=e1.findToken(L,C.token.address,C.token.symbol),w=m?e1.findToken(p,m.token.address,m.token.symbol):void 0;if(!S||!w)return;let z,U;try{z=b.fromBaseUnits(BigInt(C.amount),S.decimals),U=m?.amount?b.fromBaseUnits(BigInt(m.amount),w.decimals):void 0}catch{return}const k=parseInt(C.timestamp,10),v=isNaN(k)?new Date:new Date(k*1e3),Q=m?.timestamp?parseInt(m.timestamp,10):void 0,P=Q&&!isNaN(Q)?new Date(Q*1e3):void 0;return{txHash:C.txHash,sender:h,recipient:D,amount:b.display(z),amountUsd:C.amountUSD?parseFloat(C.amountUSD):void 0,receiveAmount:U?b.display(U):void 0,fromChain:L,fromToken:S,toChain:p,toToken:w,senderTimestamp:v.toISOString(),receiverTimestamp:P?.toISOString(),explorerLink:`https://scan.li.fi/tx/${C.txHash}`,inProgress:j==="PENDING"}}catch(C){console.error("Error parsing LiFi transaction:",C);return}},d=I.useCallback(f=>{const C=f.map(m=>T(m)).filter(m=>!!m);return N&&N.length>0?C.filter(m=>m?N.includes(m.fromChain)||N.includes(m.toChain):!1):C},[N]);return I.useEffect(()=>{let f=!1;return(async()=>{if(!(!c&&M>0)){a(!0);try{const m=Date.now()/1e3,h=M*Za,D=m-h,j=D-Za;if(j<m-H9){u(!1);return}const L=new URLSearchParams({wallet:l,fromTimestamp:j.toString(),toTimestamp:D.toString(),status:"ALL"}),p=await fetch(`${x.config.lifiExplorerUrl}/v1/analytics/transfers?${L}`);if(!p.ok){p.status===429?r("Rate limit exceeded. Please try again later."):p.status>=500?r("LiFi service is temporarily unavailable."):p.status!==404&&r("Failed to fetch LiFi transactions."),y(),u(!1);return}let S;try{S=await p.json()}catch{r("Invalid response from LiFi service"),y(),u(!1);return}if(!f){const w=S?.transfers||S;Array.isArray(w)?(n(z=>{const U=d(w);if(z&&z.length>0){const k=new Set;return z.forEach(v=>{v?.txHash&&k.add(v.txHash)}),z.concat(U.filter(v=>!k.has(v.txHash)))}return U}),(N&&N.length>0||w.length<g)&&u(!1)):(y(),u(!1))}}catch(m){if(!f){const h=m instanceof Error?m.message:String(m);u(!1),h.includes("NetworkError")||h.includes("Failed to fetch")?r("Unable to connect to LiFi service."):h.includes("timeout")?r("LiFi request timed out."):r("Failed to load LiFi transactions.")}}finally{a(!1)}}})(),()=>{f=!0}},[l,M,g,N,d,c]),{transactions:t,error:i,isFetching:s,hasMore:c}};function V9(e){return[...e].sort((t,n)=>t.time?n.time?n.time.getTime()-t.time.getTime():-1:1)}const J9=e=>{const{page:t=0,pageSize:n=30}=e||{},[i,r]=I.useState(0),[s,a]=I.useState(0),[c,u]=I.useState(0),[l,M]=I.useState(t),[g,N]=I.useState(t),[y,T]=I.useState(t),[d,f]=I.useState(),{address:C}=Ae(H=>H.wallet.sending),{transactions:m,isFetching:h,hasMore:D,error:j}=W9({address:C,page:g,pageSize:n,chains:x.config.ui.transactionHistoryChains}),{transactions:L,isFetching:p,hasMore:S,error:w}=F9({address:C,page:l,pageSize:n,chains:x.config.ui.transactionHistoryChains}),{transactions:z,isFetching:U,hasMore:k,error:v}=G9({address:C,page:y,pageSize:n,chains:x.config.ui.transactionHistoryChains}),Q=I.useCallback((H,$)=>H?H.concat($):$,[]),P=I.useCallback(H=>{(!m||H<=m?.length)&&a(H)},[m]),Z=I.useCallback(H=>{(!L||H<=L?.length)&&r(H)},[L]),O=I.useCallback(H=>{(!z||H<=z?.length)&&u(H)},[z]);return I.useEffect(()=>{S&&l!==t&&M(t),D&&g!==t&&N(t),k&&y!==t&&T(t)},[S,D,k,l,t,g,y]),I.useEffect(()=>{if(!m?.length&&!L?.length&&!z?.length)return;const H=m||[],$=L||[],_=z||[],A=[];let Y=s,E=i,R=c;for(let X=0;X<n;X++){if(Y===H.length&&D||E===$.length&&S||R===_.length&&k){P(Y),Z(E),O(R);const ee=Q(d,A);f(ee);return}const W=H[Y],V=$[E],J=_[R];if(!W&&!V&&!J){P(Y),Z(E),O(R);const ee=Q(d,A);f(ee);return}const ie=[];W&&ie.push({item:W,source:"whscan",time:new Date(W.senderTimestamp)}),V&&ie.push({item:V,source:"mayan",time:new Date(V.senderTimestamp)}),J&&ie.push({item:J,source:"lifi",time:new Date(J.senderTimestamp)});const G=V9(ie)[0];G.item&&A.push(G.item),G.source==="whscan"?Y+=1:G.source==="mayan"?E+=1:G.source==="lifi"&&(R+=1)}P(Y),Z(E),O(R);const q=new Set,te=Q(d,A).filter(X=>X.txHash&&q.has(X.txHash)?!1:(q.add(X.txHash),!0));f(te)},[m,L,z]),{transactions:d,error:[j,w,v],isFetching:h||p||U,hasMore:D||S||k}};var Gi={exports:{}},Vi={exports:{}},be={};/** @license React v16.13.1
|
|
432
|
+
513.716 362.141 451.503 430.865Z`,fill:"url(#icons_tokens_inj_linearGradient_1)"})]})}function Sd(){return o.jsxs("svg",{viewBox:"316.829 225.555 66.146 48.89",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("g",{filter:"url(#icons_tokens_ntt_filter_0)",transform:"matrix(1, 0, 0, 1, 307.15521240234375, 224.00100708007812)",children:o.jsx("path",{d:"M42.3874 29.5938C40.2035 29.5938 38.433 27.8234 38.433 25.6394C38.433 23.4555 40.2035 21.6851 42.3874 21.6851C44.5714 21.6851 46.3418 23.4555 46.3418 25.6394C46.3418 27.8234 44.5714 29.5938 42.3874 29.5938Z",fill:"white"})}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 316.829 249.281 L 382.975 249.281 L 382.975 250.719 L 316.829 250.719 L 316.829 249.281 Z",fill:"url(#icons_tokens_ntt_linearGradient_0)"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 349.903 273.007 C 362.609 273.007 372.91 262.707 372.91 250 C 372.91 237.293 362.609 226.993 349.903 226.993 C 337.196 226.993 326.896 237.293 326.896 250 C 326.896 262.707 337.196 273.007 349.903 273.007 Z M 349.903 274.445 C 363.404 274.445 374.348 263.501 374.348 250 C 374.348 236.499 363.404 225.555 349.903 225.555 C 336.402 225.555 325.458 236.499 325.458 250 C 325.458 263.501 336.402 274.445 349.903 274.445 Z",fill:"url(#icons_tokens_ntt_linearGradient_1)"})]})}function Ed(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},width:"444",height:"444",viewBox:"0 0 444 444",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("style",{children:".st0{fill:#ffeeda}.st2{fill:#101010}"}),o.jsx("path",{d:"M0 0h444v444H0z",className:"st0"}),o.jsx("path",{d:"M333.4 262V110.6c-.2-12.7-10.3-22.9-23-22.9h-158c-34.1.5-61.5 28.4-61.5 62.6 0 11.5 3.1 21.4 7.8 30.1 4 7.2 10.3 14 16.5 19.1 1.8 1.4.9.8 6.3 4.1 7.4 4.5 15.9 6.8 15.9 6.8l-.1 90.6c.2 4.3.6 8.4 1.8 12.3 3.5 12.8 12.4 22.6 24.4 27.3 5 2 10.7 3.3 16.8 3.4l126.2.4c25.1 0 45.5-20.4 45.5-45.6.1-15-7.4-28.4-18.6-36.8z",className:"st0"}),o.jsx("path",{d:"M336.5 299.9C336 316 322.7 329 306.4 329l-86.8-.3c6.9-8 11.1-18.4 11.1-29.8 0-17.8-10.6-30.1-10.6-30.1h86.4c16.6 0 30.1 13.5 30.1 30.1l-.1 1z",style:{fill:"#ebc28e"}}),o.jsx("path",{d:"M123.5 186.7c-10-9.5-17-21.7-17-36.3v-1.5c.8-24.8 21.2-44.8 46-45.5h158c4.1.2 7.4 3.1 7.4 7.3v133.7c3.6.6 5.4 1.1 8.9 2.4 2.8 1 6.6 3.2 6.6 3.2V110.7c-.2-12.7-10.3-22.9-23-22.9h-158c-34.1.5-61.5 28.4-61.5 62.6 0 19.9 9.1 36.9 23.9 48.8 1 .8 2 1.9 4.6 1.9 4.6 0 7.9-3.7 7.7-7.7 0-3.4-1.5-4.6-3.6-6.7z",className:"st2"}),o.jsx("path",{d:"M306.4 253.2H182.5c-8.3.1-15 6.8-15 15.1v17.8c.2 8.2 7.2 15.2 15.6 15.2h9.2v-15.2H183v-17.4h5c15.7 0 27.2 14.5 27.2 30.1 0 13.8-12.6 31.4-33.6 30-18.6-1.2-28.7-17.8-28.7-30v-151c0-6.8-5.6-12.4-12.4-12.4h-12.4v15.5h9.2v148c-.5 30.1 21.4 45.2 44.3 45.2l124.9.4c25.1 0 45.5-20.4 45.5-45.6.1-25.2-20.4-45.7-45.6-45.7zm30.1 46.7C336 316 322.7 329 306.4 329l-86.8-.3c6.9-8 11.1-18.4 11.1-29.8 0-17.8-10.6-30.1-10.6-30.1h86.4c16.6 0 30.1 13.5 30.1 30.1l-.1 1zM273 153.7h-93.4v-15.5H273c4.2 0 7.7 3.4 7.7 7.7.1 4.3-3.3 7.8-7.7 7.8z",className:"st2"}),o.jsx("path",{d:"M273 226.4h-93.4V211H273c4.2 0 7.7 3.4 7.7 7.7.1 4.2-3.3 7.7-7.7 7.7zm16.5-36.4H179.6v-15.5h109.8c4.2 0 7.7 3.4 7.7 7.7.2 4.3-3.3 7.8-7.6 7.8z",className:"st2"})]})}function zd(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{cx:"18",cy:"18",r:"18",fill:"black"}),o.jsx("path",{d:"M28.3266 11.8302L17.9483 11.8466C14.5118 11.8466 11.7258 14.6326 11.7258 18.069C11.7258 21.5055 14.5118 24.2915 17.9483 24.2915H27.9424",stroke:"white",strokeWidth:"2.18153",strokeMiterlimit:"10",strokeLinecap:"round"}),o.jsx("path",{d:"M6.16479 18.069H30.138",stroke:"white",strokeWidth:"2.18153",strokeMiterlimit:"10",strokeLinecap:"round"}),o.jsx("path",{d:"M18.069 6C24.7345 6 30.1379 11.4035 30.1379 18.069C30.1379 24.7345 24.7345 30.1379 18.069 30.1379C11.4035 30.1379 6 24.7345 6 18.069C6 11.4035 11.4035 6 18.069 6Z",stroke:"white",strokeWidth:"2.18153",strokeMiterlimit:"10",strokeLinecap:"round"})]})}function bd(){return o.jsxs("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{cx:"32",cy:"32",r:"32",fill:"#814625"}),o.jsx("path",{d:"M30.8066 30.3796C30.7714 30.2733 30.7468 30.1643 30.7278 30.0542C30.7191 30.0032 30.7089 29.9524 30.6974 29.902C30.6723 29.7925 30.6444 29.6836 30.6143 29.5753V29.575C31.1133 28.8474 33.4988 25.0525 30.7842 22.6167C27.7714 19.9133 24.2512 23.4567 24.2512 23.4567L24.2621 23.4724C22.6799 23.0093 20.9643 22.955 19.2952 23.4565C19.295 23.4565 19.2949 23.4565 19.2949 23.4565C19.2743 23.4358 15.7659 19.9212 12.762 22.6167C9.75706 25.313 13.0019 29.6752 13.0188 29.698C13.0188 29.698 13.0188 29.6981 13.0188 29.6983C12.9843 29.8008 12.9564 29.9054 12.938 30.0117C12.6129 31.8784 10.3999 32.4545 10.3999 35.7061C10.3999 38.9576 12.715 41.6321 17.4404 41.6321H19.3794C19.3794 41.6321 19.3796 41.6321 19.3797 41.6321C19.3884 41.644 20.1867 42.7339 21.826 42.7327C23.3478 42.7316 24.3528 41.6414 24.3615 41.6321C24.3615 41.6321 24.3615 41.6321 24.3618 41.6321H26.2117C30.9371 41.6321 33.2522 39.0204 33.2522 35.7061C33.2522 32.6781 31.3331 31.9702 30.8068 30.3796H30.8066Z",fill:"white"}),o.jsx("path",{d:"M53.3886 26.6644C53.3886 26.6644 53.74 23.5305 51.0687 22.8571V21.6002H48.9999V22.8257C46.182 23.4261 46.5451 26.6644 46.5451 26.6644V27.2017C46.5451 27.2017 46.1818 30.4407 49.0009 31.0405H49.0006V33.7308C46.0304 34.252 46.4057 37.5966 46.4057 37.5966V38.1339C46.4057 38.1339 46.0424 41.3722 48.8604 41.9725V43.1981H50.9292V41.9412C53.6007 41.2678 53.2491 38.1339 53.2491 38.1339C53.3659 38.1339 53.4606 38.0427 53.4606 37.9303V37.8003C53.4606 37.6878 53.3659 37.5966 53.2491 37.5966C53.2491 37.5966 53.5977 34.4899 50.9638 33.7984V31.0405H50.9327C53.7518 30.4407 53.3885 27.2017 53.3885 27.2017C53.5052 27.2017 53.5999 27.1105 53.5999 26.998V26.868C53.5999 26.7556 53.5052 26.6644 53.3885 26.6644H53.3886ZM51.7027 37.5966H51.5134C51.3967 37.5966 51.302 37.6878 51.302 37.8003V37.9303C51.302 38.0427 51.3967 38.1339 51.5134 38.1339H51.7027C51.7027 40.0779 51.0324 40.405 50.8069 40.4601C50.7698 40.4691 50.7338 40.4426 50.7338 40.4058V39.7862C50.7338 39.4436 50.5072 39.256 50.2806 39.1539C49.9941 39.0249 49.6605 39.0249 49.3741 39.1539C49.1475 39.256 48.9208 39.4436 48.9208 39.7862V40.4058C48.9208 40.4421 48.8855 40.4692 48.849 40.4603C48.6248 40.4062 47.952 40.0817 47.952 38.1339V37.5966C47.952 35.6526 48.6222 35.3255 48.8478 35.2705C48.8848 35.2615 48.9208 35.2879 48.9208 35.3247V35.9444C48.9208 36.2869 49.1475 36.4746 49.3741 36.5767C49.6605 36.7056 49.9941 36.7056 50.2806 36.5767C50.5072 36.4746 50.7338 36.2869 50.7338 35.9444V35.3247C50.7338 35.2885 50.7691 35.2613 50.8056 35.2702C51.0299 35.3243 51.7027 35.6489 51.7027 37.5966ZM51.6529 27.2017H51.8421C51.8421 29.1494 51.1694 29.4741 50.9451 29.5281C50.9086 29.537 50.8733 29.5098 50.8733 29.4736V28.8539C50.8733 28.5114 50.6467 28.3237 50.42 28.2216C50.1336 28.0927 49.8 28.0927 49.5135 28.2216C49.2869 28.3237 49.0603 28.5114 49.0603 28.8539V29.4736C49.0603 29.5104 49.0243 29.5368 48.9872 29.5278C48.7617 29.4728 48.0915 29.1457 48.0915 27.2017V26.6644C48.0915 24.7166 48.7642 24.3919 48.9885 24.3379C49.025 24.3291 49.0603 24.3564 49.0603 24.3925V25.0121C49.0603 25.3547 49.2869 25.5423 49.5135 25.6444C49.8 25.7734 50.1336 25.7734 50.42 25.6444C50.6467 25.5423 50.8733 25.3547 50.8733 25.0121V24.3925C50.8733 24.3557 50.9093 24.3292 50.9464 24.3382C51.1719 24.3933 51.8421 24.7204 51.8421 26.6644H51.6529C51.5361 26.6644 51.4414 26.7556 51.4414 26.868V26.998C51.4414 27.1105 51.5361 27.2017 51.6529 27.2017Z",fill:"white"}),o.jsx("path",{d:"M43.036 32.1987C43.036 32.1987 43.4013 28.9416 40.5566 28.355V25.4288C43.3256 24.8038 42.9663 21.6002 42.9663 21.6002C42.9663 21.6002 41.4134 21.6002 41.4198 21.6002C41.4198 23.548 40.7471 23.8726 40.5228 23.9266C40.4863 23.9355 40.451 23.9082 40.451 23.8721V23.2524C40.451 22.9099 40.2244 22.7223 39.9977 22.6202C39.7113 22.4912 39.3777 22.4912 39.0912 22.6202C38.8646 22.7223 38.638 22.9099 38.638 23.2524V23.8721C38.638 23.9089 38.602 23.9354 38.5649 23.9264C38.3394 23.8713 37.6692 23.5442 37.6692 21.6002C37.6757 21.6002 36.1227 21.6002 36.1227 21.6002C36.1227 21.6002 35.7499 24.9246 38.6908 25.4611V28.351C35.8255 28.927 36.1924 32.1985 36.1924 32.1985V32.7358C36.1924 32.7358 35.8255 36.0074 38.6908 36.5834V39.339C35.7499 39.8756 36.1227 43.1998 36.1227 43.1998C36.1227 43.1998 37.6756 43.1998 37.6692 43.1998C37.6692 41.2521 38.3419 40.9274 38.5662 40.8734C38.6027 40.8645 38.638 40.8917 38.638 40.9279V41.5476C38.638 41.8901 38.8646 42.0778 39.0912 42.1799C39.3777 42.3088 39.7113 42.3088 39.9977 42.1799C40.2244 42.0778 40.451 41.8901 40.451 41.5476V40.9279C40.451 40.8911 40.487 40.8647 40.5241 40.8737C40.7496 40.9287 41.4198 41.2558 41.4198 43.1998C41.4133 43.1998 42.9663 43.1998 42.9663 43.1998C42.9663 43.1998 43.3256 39.9962 40.5566 39.3712V36.5794C43.4013 35.9927 43.036 32.7357 43.036 32.7357C43.1528 32.7357 43.2475 32.6445 43.2475 32.5321V32.402C43.2475 32.2896 43.1528 32.1984 43.036 32.1984V32.1987ZM41.3003 32.736H41.4895C41.4895 34.6837 40.8168 35.0084 40.5925 35.0624C40.556 35.0713 40.5207 35.0441 40.5207 35.0079V34.3882C40.5207 34.0457 40.2941 33.858 40.0675 33.7559C39.781 33.627 39.4474 33.627 39.161 33.7559C38.9343 33.858 38.7077 34.0457 38.7077 34.3882V35.0079C38.7077 35.0447 38.6717 35.0711 38.6346 35.0621C38.4091 35.007 37.7389 34.68 37.7389 32.736V32.1987C37.7389 30.2509 38.4116 29.9262 38.6359 29.8722C38.6724 29.8634 38.7077 29.8906 38.7077 29.9268V30.5464C38.7077 30.889 38.9343 31.0766 39.161 31.1787C39.4474 31.3077 39.781 31.3077 40.0675 31.1787C40.2941 31.0766 40.5207 30.889 40.5207 30.5464V29.9268C40.5207 29.89 40.5567 29.8635 40.5938 29.8725C40.8193 29.9276 41.4895 30.2547 41.4895 32.1987H41.3003C41.1836 32.1987 41.0889 32.2899 41.0889 32.4023V32.5323C41.0889 32.6448 41.1836 32.736 41.3003 32.736Z",fill:"white"})]})}function Od(){return o.jsx("svg",{width:"36",height:"36",viewBox:"0 0 275 275",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M275 137.5C275 61.5608 213.439 -3.31941e-06 137.5 0C61.5608 3.31941e-06 -3.31941e-06 61.5608 0 137.5C3.31941e-06 213.439 61.5608 275 137.5 275C213.439 275 275 213.439 275 137.5ZM157.125 240.407C157.125 249.735 149.469 257.317 138.602 257.535C138.301 257.538 138 257.539 137.698 257.54H137.302C71.0969 257.433 17.4603 203.73 17.4603 137.5C17.4603 71.2041 71.2039 17.4605 137.5 17.4605C137.857 17.4605 138.215 17.4621 138.571 17.4652C150.834 17.6836 157.125 25.2654 157.125 34.5929C157.125 44.0859 148.733 51.0715 139.843 51.0715C130.952 51.0715 130.516 51.0715 122.006 51.7534C113.495 52.4354 104.695 59.4209 104.695 68.8859C104.695 78.4071 112.43 86.0745 122.006 86.0745H197.48C207.028 86.0745 214.762 93.742 214.762 103.207C214.762 112.672 207.028 120.339 197.48 120.339H81.2298C71.6539 120.339 63.9195 128.035 63.9195 137.528C63.9195 146.993 71.6539 154.661 81.2298 154.661H139.843C149.391 154.661 157.125 162.328 157.125 171.821C157.125 181.286 149.391 188.954 139.843 188.954H122.006C112.43 188.954 104.695 196.621 104.695 206.086C104.695 215.579 112.622 222.509 122.006 223.219C122.745 223.275 123.422 223.326 124.045 223.374C127.347 223.625 129.151 223.763 130.958 223.838C133.134 223.929 135.314 223.929 140.119 223.929C149.667 223.929 157.125 230.942 157.125 240.407Z",fill:"#7132F5"})})}function kd(){return o.jsx("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",height:"64",width:"64",viewBox:"0 0 64 64",children:o.jsxs("g",{transform:"translate(0.00630876,-0.00301984)",children:[o.jsx("path",{fill:"#f7931a",d:"m63.033,39.744c-4.274,17.143-21.637,27.576-38.782,23.301-17.138-4.274-27.571-21.638-23.295-38.78,4.272-17.145,21.635-27.579,38.775-23.305,17.144,4.274,27.576,21.64,23.302,38.784z"}),o.jsx("path",{fill:"#FFF",d:"m46.103,27.444c0.637-4.258-2.605-6.547-7.038-8.074l1.438-5.768-3.511-0.875-1.4,5.616c-0.923-0.23-1.871-0.447-2.813-0.662l1.41-5.653-3.509-0.875-1.439,5.766c-0.764-0.174-1.514-0.346-2.242-0.527l0.004-0.018-4.842-1.209-0.934,3.75s2.605,0.597,2.55,0.634c1.422,0.355,1.679,1.296,1.636,2.042l-1.638,6.571c0.098,0.025,0.225,0.061,0.365,0.117-0.117-0.029-0.242-0.061-0.371-0.092l-2.296,9.205c-0.174,0.432-0.615,1.08-1.609,0.834,0.035,0.051-2.552-0.637-2.552-0.637l-1.743,4.019,4.569,1.139c0.85,0.213,1.683,0.436,2.503,0.646l-1.453,5.834,3.507,0.875,1.439-5.772c0.958,0.26,1.888,0.5,2.798,0.726l-1.434,5.745,3.511,0.875,1.453-5.823c5.987,1.133,10.489,0.676,12.384-4.739,1.527-4.36-0.076-6.875-3.226-8.515,2.294-0.529,4.022-2.038,4.483-5.155zm-8.022,11.249c-1.085,4.36-8.426,2.003-10.806,1.412l1.928-7.729c2.38,0.594,10.012,1.77,8.878,6.317zm1.086-11.312c-0.99,3.966-7.1,1.951-9.082,1.457l1.748-7.01c1.982,0.494,8.365,1.416,7.334,5.553z"})]})})}function vd(){return o.jsxs("svg",{width:"500",height:"500",viewBox:"0 0 500 500",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#clip0_94_16)",children:[o.jsx("path",{d:"M500 250C500 111.929 388.071 0 250 0C111.929 0 0 111.929 0 250C0 388.071 111.929 500 250 500C388.071 500 500 388.071 500 250Z",fill:"#FF3D00"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M127.127 128.8V225.574L161.674 260.159V163.385L257.97 163.708L223.441 129.105L127.146 128.782L127.127 128.8ZM302.322 206.204V293.578L267.774 258.993V171.619L302.322 206.204ZM206.005 302.671H293.24L258.711 268.07H171.477L206.005 302.671ZM351.418 342.316V255.38L316.871 220.795V317.57L220.576 317.246L255.105 351.849L342.186 352.141L360.551 370.535L372.31 372.22L370.07 361.002L351.418 342.316Z",fill:"white"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_94_16",children:o.jsx("rect",{width:"500",height:"500",fill:"white"})})})]})}function Ud(){return o.jsxs("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{fill:"#ff3d00",d:"M512 0A512 512 0 0 0 0 512a512 512 0 0 0 512 512 512 512 0 0 0 512-512A512 512 0 0 0 512 0Z"}),o.jsx("path",{fill:"#fff",d:"M692.844 236.366H469.997l-31.935 128.058h-96.23l-40.464 162.444a34.12 34.12 0 0 0 33 42.41h81.463L339.407 876.12l259.74-274.8c20.552-21.752 5.198-57.632-24.657-57.632H450.27l38.253-153.674h209.6l27.669-111.21a34.12 34.12 0 0 0-32.974-42.438z"})]})}function Yd(){return o.jsxs("svg",{width:"254",height:"254",viewBox:"0 0 254 254",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{maxHeight:"100%",maxWidth:"100%"},focusable:"false",children:[o.jsx("circle",{cx:"127",cy:"127",r:"127",fill:"#102623",fillRule:"evenodd",clipRule:"evenodd"}),o.jsx("path",{d:"M217.7 125.6C217.9 139.8 214.6 153.4 208.9 166.6C200.1 186.8 178.3 203.1 158.3 186.0C142.1 171.0 138.9 144.6 116.5 140.0C85.2 136.0 84.4 171.1 66.4 175.3C46.0 180.1 39.9 143.0 40.2 125.2C40.5 107.4 44.5 83.7 64.2 83.7C86.8 83.7 88.5 118.5 112.4 116.7C136.0 114.9 136.5 78.8 158.5 63.3C175.3 50.2 194.9 59.9 203.8 75.9C211.9 90.7 216.7 107.3 216.9 124.9L217.7 125.6Z",fill:"#AFF9E5"})]})}function Rd(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[o.jsxs("g",{clipPath:"url(#clip0_4139_29575)",children:[o.jsx("path",{d:"M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z",fill:"#23292F"}),o.jsx("path",{d:"M23.07 8H25.96L19.945 13.957C18.8934 14.9931 17.4763 15.5739 16 15.5739C14.5237 15.5739 13.1066 14.9931 12.055 13.957L6.035 8H8.93L13.5 12.523C14.1655 13.1799 15.0629 13.5482 15.998 13.5482C16.9331 13.5482 17.8305 13.1799 18.496 12.523L23.07 8ZM8.895 24.563H6L12.055 18.57C13.1066 17.5339 14.5237 16.9531 16 16.9531C17.4763 16.9531 18.8934 17.5339 19.945 18.57L26 24.562H23.105L18.5 20C17.8345 19.3431 16.9371 18.9748 16.002 18.9748C15.0669 18.9748 14.1695 19.3431 13.504 20L8.894 24.563H8.895Z",fill:"white"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_4139_29575",children:o.jsx("rect",{width:"32",height:"32",fill:"white"})})})]})}function _d(){return o.jsxs("svg",{width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{cx:"100.003",cy:"100.003",r:"90.9091",fill:"#282A2C"}),o.jsx("path",{d:"M99.999 45.4531C120.178 45.4531 137.797 56.414 147.233 72.7051L137.79 78.1719C130.245 65.1354 116.148 56.3623 99.999 56.3623C75.8989 56.3624 56.3624 75.8989 56.3623 99.999C56.3623 124.099 75.8988 143.636 99.999 143.636C116.129 143.636 130.218 134.881 137.77 121.866L147.218 127.32C137.778 143.596 120.169 154.545 99.999 154.545C69.8745 154.545 45.4531 130.124 45.4531 99.999C45.4532 69.8746 69.8746 45.4532 99.999 45.4531ZM99.999 89.0898C104.032 89.0898 107.548 91.2873 109.436 94.5449H154.545V105.454H109.436C107.551 108.712 104.035 110.908 99.999 110.908C93.9748 110.908 89.0898 106.023 89.0898 99.999C89.0899 93.9748 93.9748 89.0899 99.999 89.0898Z",fill:"white"})]})}function Qd(){return o.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M15.9999 0C11.3795 0 0 11.3792 0 15.9999C0 20.6206 11.3795 32 15.9999 32C20.6203 32 32 20.6204 32 15.9999C32 11.3794 20.6205 0 15.9999 0ZM13.5066 25.1492C11.5582 24.6183 6.31981 15.455 6.85083 13.5066C7.38185 11.5581 16.545 6.31979 18.4933 6.8508C20.4418 7.38173 25.6802 16.5449 25.1492 18.4934C24.6182 20.4418 15.455 25.6802 13.5066 25.1492Z",fill:"#836EF9"})})}function Pd(){return o.jsxs("svg",{style:{maxHeight:"100%",maxWidth:"100%"},xmlns:"http://www.w3.org/2000/svg",width:"1080",height:"1080",viewBox:"100 130 880 880",fill:"none",children:[o.jsx("circle",{cx:"540",cy:"570",r:"440",fill:"#9A9350"}),o.jsx("path",{d:"M527.038 264V478.893C527.038 487.749 516.356 492.245 510.035 486.025L409.299 387.047L451.52 276.812C454.461 269.104 461.864 264 470.146 264H527.004H527.038Z",fill:"white"}),o.jsx("path",{d:"M527.037 556.607V677.322C527.037 685.299 517.47 689.423 511.69 683.947L355.582 536.122L401.387 416.591L515.273 528.482C522.811 535.885 527.07 546.027 527.07 556.573L527.037 556.607Z",fill:"white"}),o.jsx("path",{d:"M527.036 751.266V805.387H284.965C270.97 805.387 261.336 791.358 266.339 778.31L347.638 566.256L515.948 725.609C523.013 732.302 527.002 741.564 527.002 751.3L527.036 751.266Z",fill:"white"}),o.jsx("path",{d:"M552.866 264V478.893C552.866 487.749 563.549 492.245 569.87 486.025L670.606 387.047L628.385 276.812C625.444 269.104 618.041 264 609.759 264H552.9H552.866Z",fill:"white"}),o.jsx("path",{d:"M552.868 556.607V677.322C552.868 685.3 562.435 689.424 568.215 683.947L724.323 536.122L678.518 416.591L564.632 528.482C557.094 535.885 552.834 546.027 552.834 556.574L552.868 556.607Z",fill:"white"}),o.jsx("path",{d:"M552.869 751.266V805.387H794.94C808.935 805.387 818.569 791.358 813.566 778.31L732.267 566.257L563.956 725.609C556.891 732.302 552.903 741.565 552.903 751.3L552.869 751.266Z",fill:"white"})]})}function Bd(){return o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 150 150",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#a)",children:[o.jsx("path",{fill:"#fff",d:"M0 0h150v150H0z"}),o.jsx("path",{fill:"#FFFEFE",d:"M0 0h150v150H0z"}),o.jsx("path",{fill:"#EF61B4",d:"M95.258 85.215c1.01-3.619-1.405-7.295-5.392-8.21-3.987-.916-8.037 1.275-9.046 4.894-1.008 3.619 1.406 7.294 5.393 8.21 3.987.916 8.037-1.275 9.045-4.894Z"}),o.jsx("path",{fill:"#EF61B4",d:"M125.975 106.567c-.882.485-1.764.647-2.645.647-1.853 0-3.705-.889-4.675-2.504L89.023 57.62 59.39 104.71c-1.5 2.342-4.762 3.15-7.32 1.777-2.558-1.373-3.44-4.362-1.94-6.704l18.52-29.401-8.025-12.762-29.633 47.09c-.97 1.615-2.822 2.504-4.674 2.504a6.06 6.06 0 0 1-2.646-.647c-2.558-1.373-3.44-4.361-1.94-6.704l34.307-54.44c.97-1.535 2.734-2.423 4.674-2.423 1.94 0 3.704.97 4.674 2.423L75 60.608l9.613-15.185c.97-1.535 2.734-2.423 4.674-2.423 1.94 0 3.704.97 4.674 2.423l34.307 54.44c1.5 2.343.618 5.331-1.94 6.704h-.353Z"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"a",children:o.jsx("path",{fill:"#fff",d:"M0 0h150v150H0z"})})})]})}const va={[x.TokenIcon.WBTC]:ed(),[x.TokenIcon.BUSD]:td(),[x.TokenIcon.USDT]:nd(),[x.TokenIcon.DAI]:id(),[x.TokenIcon.GLMR]:rd(),[x.TokenIcon.AVAX]:od(),[x.TokenIcon.BNB]:sd(),[x.TokenIcon.BSC]:jd(),[x.TokenIcon.CELO]:ad(),[x.TokenIcon.ETH]:cd(),[x.TokenIcon.FANTOM]:ud(),[x.TokenIcon.POLYGON]:hd(),[x.TokenIcon.SOLANA]:ld(),[x.TokenIcon.USDC]:Nd(),[x.TokenIcon.SUI]:dd(),[x.TokenIcon.APT]:Md(),[x.TokenIcon.ARBITRUM]:yd(),[x.TokenIcon.OPTIMISM]:Id(),[x.TokenIcon.SEI]:gd(),[x.TokenIcon.BASE]:fd(),[x.TokenIcon.OSMO]:Ld(),[x.TokenIcon.TBTC]:xd(),[x.TokenIcon.WSTETH]:Td(),[x.TokenIcon.ATOM]:md(),[x.TokenIcon.EVMOS]:Cd(),[x.TokenIcon.KUJI]:pd(),[x.TokenIcon.PYTH]:wd(),[x.TokenIcon.KLAY]:Dd(),[x.TokenIcon.INJ]:Ad(),[x.TokenIcon.NTT]:Sd(),[x.TokenIcon.SCROLL]:Ed(),[x.TokenIcon.XLAYER]:o.jsx("img",{style:{maxHeight:"100%",maxWidth:"100%"},src:ka("Xlayer")}),[x.TokenIcon.MANTLE]:o.jsx("img",{style:{maxHeight:"100%",maxWidth:"100%"},src:ka("Mantle")}),[x.TokenIcon.WORLDCHAIN]:zd(),[x.TokenIcon.BERA]:bd(),[x.TokenIcon.INK]:Od(),[x.TokenIcon.BTC]:kd(),[x.TokenIcon.SONIC]:W0(),[x.TokenIcon.PLUME]:vd(),[x.TokenIcon.FOGO]:Ud(),[x.TokenIcon.HYPE]:Yd(),[x.TokenIcon.XRP]:Rd(),[x.TokenIcon.CTC]:_d(),[x.TokenIcon.MONAD]:Qd(),[x.TokenIcon.AUSD]:Pd(),[x.TokenIcon.MOCA]:Bd()};function Zd(e){return Object.values(x.TokenIcon).includes(e)}function Wd(e){const t=B.useTheme(),n=I.useMemo(()=>t.palette.text&&t.palette.input?{...e.style,background:`color-mix(in hsl, ${t.palette.text.secondary}, ${t.palette.input.background} 80%)`}:e.style,[e.style,t.palette.input,t.palette.text]);return o.jsx(B.Box,{sx:n})}function qs(e){const t=I.useMemo(()=>({container:{...e.containerStyle||{width:"36px",height:"36px"},...vr},iconImage:{...e.style||{width:"36px",height:"36px"},borderRadius:"50px"}}),[e.containerStyle,e.style]);return Zd(e.icon)&&va[e.icon]?o.jsx(B.Box,{sx:t.container,children:va[e.icon]}):typeof e.icon=="string"?o.jsx(B.Box,{sx:t.container,children:o.jsx("img",{style:t.iconImage,src:e.icon,alt:"token icon"})}):o.jsx(B.Box,{sx:t.container,children:o.jsx(Wd,{style:t.iconImage})})}const Pt={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Z2=Object.create(null);for(const e in Pt)Object.hasOwn(Pt,e)&&(Z2[Pt[e]]=e);const et={to:{},get:{}};et.get=function(e){const t=e.slice(0,3).toLowerCase();let n,i;switch(t){case"hsl":{n=et.get.hsl(e),i="hsl";break}case"hwb":{n=et.get.hwb(e),i="hwb";break}default:{n=et.get.rgb(e),i="rgb";break}}return n?{model:i,value:n}:null};et.get.rgb=function(e){if(!e)return null;const t=/^#([a-f\d]{3,4})$/i,n=/^#([a-f\d]{6})([a-f\d]{2})?$/i,i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,s=/^(\w+)$/;let a=[0,0,0,1],c,u,l;if(c=e.match(n)){for(l=c[2],c=c[1],u=0;u<3;u++){const M=u*2;a[u]=Number.parseInt(c.slice(M,M+2),16)}l&&(a[3]=Number.parseInt(l,16)/255)}else if(c=e.match(t)){for(c=c[1],l=c[3],u=0;u<3;u++)a[u]=Number.parseInt(c[u]+c[u],16);l&&(a[3]=Number.parseInt(l+l,16)/255)}else if(c=e.match(i)){for(u=0;u<3;u++)a[u]=Number.parseInt(c[u+1],10);c[4]&&(a[3]=c[5]?Number.parseFloat(c[4])*.01:Number.parseFloat(c[4]))}else if(c=e.match(r)){for(u=0;u<3;u++)a[u]=Math.round(Number.parseFloat(c[u+1])*2.55);c[4]&&(a[3]=c[5]?Number.parseFloat(c[4])*.01:Number.parseFloat(c[4]))}else return(c=e.match(s))?c[1]==="transparent"?[0,0,0,0]:Object.hasOwn(Pt,c[1])?(a=Pt[c[1]],a[3]=1,a):null:null;for(u=0;u<3;u++)a[u]=an(a[u],0,255);return a[3]=an(a[3],0,1),a};et.get.hsl=function(e){if(!e)return null;const t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(t);if(n){const i=Number.parseFloat(n[4]),r=(Number.parseFloat(n[1])%360+360)%360,s=an(Number.parseFloat(n[2]),0,100),a=an(Number.parseFloat(n[3]),0,100),c=an(Number.isNaN(i)?1:i,0,1);return[r,s,a,c]}return null};et.get.hwb=function(e){if(!e)return null;const t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(t);if(n){const i=Number.parseFloat(n[4]),r=(Number.parseFloat(n[1])%360+360)%360,s=an(Number.parseFloat(n[2]),0,100),a=an(Number.parseFloat(n[3]),0,100),c=an(Number.isNaN(i)?1:i,0,1);return[r,s,a,c]}return null};et.to.hex=function(...e){return"#"+Hi(e[0])+Hi(e[1])+Hi(e[2])+(e[3]<1?Hi(Math.round(e[3]*255)):"")};et.to.rgb=function(...e){return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"};et.to.rgb.percent=function(...e){const t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+t+"%, "+n+"%, "+i+"%)":"rgba("+t+"%, "+n+"%, "+i+"%, "+e[3]+")"};et.to.hsl=function(...e){return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"};et.to.hwb=function(...e){let t="";return e.length>=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};et.to.keyword=function(...e){return Z2[e.slice(0,3)]};function an(e,t,n){return Math.min(Math.max(t,e),n)}function Hi(e){const t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}const W2={};for(const e of Object.keys(Pt))W2[Pt[e]]=e;const de={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},Gt=(6/29)**3;function Fn(e){const t=e>.0031308?1.055*e**.4166666666666667-.055:e*12.92;return Math.min(Math.max(0,t),1)}function Hn(e){return e>.04045?((e+.055)/1.055)**2.4:e/12.92}for(const e of Object.keys(de)){if(!("channels"in de[e]))throw new Error("missing channels property: "+e);if(!("labels"in de[e]))throw new Error("missing channel labels property: "+e);if(de[e].labels.length!==de[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=de[e];delete de[e].channels,delete de[e].labels,Object.defineProperty(de[e],"channels",{value:t}),Object.defineProperty(de[e],"labels",{value:n})}de.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(t,n,i),s=Math.max(t,n,i),a=s-r;let c,u;switch(s){case r:{c=0;break}case t:{c=(n-i)/a;break}case n:{c=2+(i-t)/a;break}case i:{c=4+(t-n)/a;break}}c=Math.min(c*60,360),c<0&&(c+=360);const l=(r+s)/2;return s===r?u=0:l<=.5?u=a/(s+r):u=a/(2-s-r),[c,u*100,l*100]};de.rgb.hsv=function(e){let t,n,i,r,s;const a=e[0]/255,c=e[1]/255,u=e[2]/255,l=Math.max(a,c,u),M=l-Math.min(a,c,u),g=function(N){return(l-N)/6/M+1/2};if(M===0)r=0,s=0;else{switch(s=M/l,t=g(a),n=g(c),i=g(u),l){case a:{r=i-n;break}case c:{r=1/3+t-i;break}case u:{r=2/3+n-t;break}}r<0?r+=1:r>1&&(r-=1)}return[r*360,s*100,l*100]};de.rgb.hwb=function(e){const t=e[0],n=e[1];let i=e[2];const r=de.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(n,i));return i=1-1/255*Math.max(t,Math.max(n,i)),[r,s*100,i*100]};de.rgb.oklab=function(e){const t=Hn(e[0]/255),n=Hn(e[1]/255),i=Hn(e[2]/255),r=Math.cbrt(.4122214708*t+.5363325363*n+.0514459929*i),s=Math.cbrt(.2119034982*t+.6806995451*n+.1073969566*i),a=Math.cbrt(.0883024619*t+.2817188376*n+.6299787005*i),c=.2104542553*r+.793617785*s-.0040720468*a,u=1.9779984951*r-2.428592205*s+.4505937099*a,l=.0259040371*r+.7827717662*s-.808675766*a;return[c*100,u*100,l*100]};de.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(1-t,1-n,1-i),s=(1-t-r)/(1-r)||0,a=(1-n-r)/(1-r)||0,c=(1-i-r)/(1-r)||0;return[s*100,a*100,c*100,r*100]};function Fd(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}de.rgb.keyword=function(e){const t=W2[e];if(t)return t;let n=Number.POSITIVE_INFINITY,i;for(const r of Object.keys(Pt)){const s=Pt[r],a=Fd(e,s);a<n&&(n=a,i=r)}return i};de.keyword.rgb=function(e){return Pt[e]};de.rgb.xyz=function(e){const t=Hn(e[0]/255),n=Hn(e[1]/255),i=Hn(e[2]/255),r=t*.4124564+n*.3575761+i*.1804375,s=t*.2126729+n*.7151522+i*.072175,a=t*.0193339+n*.119192+i*.9503041;return[r*100,s*100,a*100]};de.rgb.lab=function(e){const t=de.rgb.xyz(e);let n=t[0],i=t[1],r=t[2];n/=95.047,i/=100,r/=108.883,n=n>Gt?n**(1/3):7.787*n+16/116,i=i>Gt?i**(1/3):7.787*i+16/116,r=r>Gt?r**(1/3):7.787*r+16/116;const s=116*i-16,a=500*(n-i),c=200*(i-r);return[s,a,c]};de.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,i=e[2]/100;let r,s;if(n===0)return s=i*255,[s,s,s];const a=i<.5?i*(1+n):i+n-i*n,c=2*i-a,u=[0,0,0];for(let l=0;l<3;l++)r=t+1/3*-(l-1),r<0&&r++,r>1&&r--,6*r<1?s=c+(a-c)*6*r:2*r<1?s=a:3*r<2?s=c+(a-c)*(2/3-r)*6:s=c,u[l]=s*255;return u};de.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,i=e[2]/100,r=n;const s=Math.max(i,.01);i*=2,n*=i<=1?i:2-i,r*=s<=1?s:2-s;const a=(i+n)/2,c=i===0?2*r/(s+r):2*n/(i+n);return[t,c*100,a*100]};de.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let i=e[2]/100;const r=Math.floor(t)%6,s=t-Math.floor(t),a=255*i*(1-n),c=255*i*(1-n*s),u=255*i*(1-n*(1-s));switch(i*=255,r){case 0:return[i,u,a];case 1:return[c,i,a];case 2:return[a,i,u];case 3:return[a,c,i];case 4:return[u,a,i];case 5:return[i,a,c]}};de.hsv.hsl=function(e){const t=e[0],n=e[1]/100,i=e[2]/100,r=Math.max(i,.01);let s,a;a=(2-n)*i;const c=(2-n)*r;return s=n*r,s/=c<=1?c:2-c,s=s||0,a/=2,[t,s*100,a*100]};de.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,i=e[2]/100;const r=n+i;let s;r>1&&(n/=r,i/=r);const a=Math.floor(6*t),c=1-i;s=6*t-a,(a&1)!==0&&(s=1-s);const u=n+s*(c-n);let l,M,g;switch(a){default:case 6:case 0:{l=c,M=u,g=n;break}case 1:{l=u,M=c,g=n;break}case 2:{l=n,M=c,g=u;break}case 3:{l=n,M=u,g=c;break}case 4:{l=u,M=n,g=c;break}case 5:{l=c,M=n,g=u;break}}return[l*255,M*255,g*255]};de.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100,s=1-Math.min(1,t*(1-r)+r),a=1-Math.min(1,n*(1-r)+r),c=1-Math.min(1,i*(1-r)+r);return[s*255,a*255,c*255]};de.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,i=e[2]/100;let r,s,a;return r=t*3.2404542+n*-1.5371385+i*-.4985314,s=t*-.969266+n*1.8760108+i*.041556,a=t*.0556434+n*-.2040259+i*1.0572252,r=Fn(r),s=Fn(s),a=Fn(a),[r*255,s*255,a*255]};de.xyz.lab=function(e){let t=e[0],n=e[1],i=e[2];t/=95.047,n/=100,i/=108.883,t=t>Gt?t**(1/3):7.787*t+16/116,n=n>Gt?n**(1/3):7.787*n+16/116,i=i>Gt?i**(1/3):7.787*i+16/116;const r=116*n-16,s=500*(t-n),a=200*(n-i);return[r,s,a]};de.xyz.oklab=function(e){const t=e[0]/100,n=e[1]/100,i=e[2]/100,r=Math.cbrt(.8189330101*t+.3618667424*n-.1288597137*i),s=Math.cbrt(.0329845436*t+.9293118715*n+.0361456387*i),a=Math.cbrt(.0482003018*t+.2643662691*n+.633851707*i),c=.2104542553*r+.793617785*s-.0040720468*a,u=1.9779984951*r-2.428592205*s+.4505937099*a,l=.0259040371*r+.7827717662*s-.808675766*a;return[c*100,u*100,l*100]};de.oklab.oklch=function(e){return de.lab.lch(e)};de.oklab.xyz=function(e){const t=e[0]/100,n=e[1]/100,i=e[2]/100,r=(.999999998*t+.396337792*n+.215803758*i)**3,s=(1.000000008*t-.105561342*n-.063854175*i)**3,a=(1.000000055*t-.089484182*n-1.291485538*i)**3,c=1.227013851*r-.55779998*s+.281256149*a,u=-.040580178*r+1.11225687*s-.071676679*a,l=-.076381285*r-.421481978*s+1.58616322*a;return[c*100,u*100,l*100]};de.oklab.rgb=function(e){const t=e[0]/100,n=e[1]/100,i=e[2]/100,r=(t+.3963377774*n+.2158037573*i)**3,s=(t-.1055613458*n-.0638541728*i)**3,a=(t-.0894841775*n-1.291485548*i)**3,c=Fn(4.0767416621*r-3.3077115913*s+.2309699292*a),u=Fn(-1.2684380046*r+2.6097574011*s-.3413193965*a),l=Fn(-.0041960863*r-.7034186147*s+1.707614701*a);return[c*255,u*255,l*255]};de.oklch.oklab=function(e){return de.lch.lab(e)};de.lab.xyz=function(e){const t=e[0],n=e[1],i=e[2];let r,s,a;s=(t+16)/116,r=n/500+s,a=s-i/200;const c=s**3,u=r**3,l=a**3;return s=c>Gt?c:(s-16/116)/7.787,r=u>Gt?u:(r-16/116)/7.787,a=l>Gt?l:(a-16/116)/7.787,r*=95.047,s*=100,a*=108.883,[r,s,a]};de.lab.lch=function(e){const t=e[0],n=e[1],i=e[2];let r;r=Math.atan2(i,n)*360/2/Math.PI,r<0&&(r+=360);const a=Math.sqrt(n*n+i*i);return[t,a,r]};de.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI,s=n*Math.cos(r),a=n*Math.sin(r);return[t,s,a]};de.rgb.ansi16=function(e,t=null){const[n,i,r]=e;let s=t===null?de.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),s===0)return 30;let a=30+(Math.round(r/255)<<2|Math.round(i/255)<<1|Math.round(n/255));return s===2&&(a+=60),a};de.hsv.ansi16=function(e){return de.rgb.ansi16(de.hsv.rgb(e),e[2])};de.rgb.ansi256=function(e){const t=e[0],n=e[1],i=e[2];return t>>4===n>>4&&n>>4===i>>4?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)};de.ansi16.rgb=function(e){e=e[0];let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(Math.trunc(e>50)+1)*.5,i=(t&1)*n*255,r=(t>>1&1)*n*255,s=(t>>2&1)*n*255;return[i,r,s]};de.ansi256.rgb=function(e){if(e=e[0],e>=232){const s=(e-232)*10+8;return[s,s,s]}e-=16;let t;const n=Math.floor(e/36)/5*255,i=Math.floor((t=e%36)/6)/5*255,r=t%6/5*255;return[n,i,r]};de.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".slice(n.length)+n};de.hex.rgb=function(e){const t=e.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=[...n].map(c=>c+c).join(""));const i=Number.parseInt(n,16),r=i>>16&255,s=i>>8&255,a=i&255;return[r,s,a]};de.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(Math.max(t,n),i),s=Math.min(Math.min(t,n),i),a=r-s;let c;const u=a<1?s/(1-a):0;return a<=0?c=0:r===t?c=(n-i)/a%6:r===n?c=2+(i-t)/a:c=4+(t-n)/a,c/=6,c%=1,[c*360,a*100,u*100]};de.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,i=n<.5?2*t*n:2*t*(1-n);let r=0;return i<1&&(r=(n-.5*i)/(1-i)),[e[0],i*100,r*100]};de.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,i=t*n;let r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],i*100,r*100]};de.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,i=e[2]/100;if(n===0)return[i*255,i*255,i*255];const r=[0,0,0],s=t%1*6,a=s%1,c=1-a;let u=0;switch(Math.floor(s)){case 0:{r[0]=1,r[1]=a,r[2]=0;break}case 1:{r[0]=c,r[1]=1,r[2]=0;break}case 2:{r[0]=0,r[1]=1,r[2]=a;break}case 3:{r[0]=0,r[1]=c,r[2]=1;break}case 4:{r[0]=a,r[1]=0,r[2]=1;break}default:r[0]=1,r[1]=0,r[2]=c}return u=(1-n)*i,[(n*r[0]+u)*255,(n*r[1]+u)*255,(n*r[2]+u)*255]};de.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,i=t+n*(1-t);let r=0;return i>0&&(r=t/i),[e[0],r*100,i*100]};de.hcg.hsl=function(e){const t=e[1]/100,i=e[2]/100*(1-t)+.5*t;let r=0;return i>0&&i<.5?r=t/(2*i):i>=.5&&i<1&&(r=t/(2*(1-i))),[e[0],r*100,i*100]};de.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,i=t+n*(1-t);return[e[0],(i-t)*100,(1-i)*100]};de.hwb.hcg=function(e){const t=e[1]/100,i=1-e[2]/100,r=i-t;let s=0;return r<1&&(s=(i-r)/(1-r)),[e[0],r*100,s*100]};de.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};de.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};de.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};de.gray.hsl=function(e){return[0,0,e[0]]};de.gray.hsv=de.gray.hsl;de.gray.hwb=function(e){return[0,100,e[0]]};de.gray.cmyk=function(e){return[0,0,0,e[0]]};de.gray.lab=function(e){return[e[0],0,0]};de.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".slice(i.length)+i};de.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};function Hd(){const e={},t=Object.keys(de);for(let{length:n}=t,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function Gd(e){const t=Hd(),n=[e];for(t[e].distance=0;n.length>0;){const i=n.pop(),r=Object.keys(de[i]);for(let{length:s}=r,a=0;a<s;a++){const c=r[a],u=t[c];u.distance===-1&&(u.distance=t[i].distance+1,u.parent=i,n.unshift(c))}}return t}function Vd(e,t){return function(n){return t(e(n))}}function Jd(e,t){const n=[t[e].parent,e];let i=de[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),i=Vd(de[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}function qd(e){const t=Gd(e),n={},i=Object.keys(t);for(let{length:r}=i,s=0;s<r;s++){const a=i[s];t[a].parent!==null&&(n[a]=Jd(a,t))}return n}const nt={},Xd=Object.keys(de);function $d(e){const t=function(...n){const i=n[0];return i==null?i:(i.length>1&&(n=i),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Kd(e){const t=function(...n){const i=n[0];if(i==null)return i;i.length>1&&(n=i);const r=e(n);if(typeof r=="object")for(let{length:s}=r,a=0;a<s;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}for(const e of Xd){nt[e]={},Object.defineProperty(nt[e],"channels",{value:de[e].channels}),Object.defineProperty(nt[e],"labels",{value:de[e].labels});const t=qd(e),n=Object.keys(t);for(const i of n){const r=t[i];nt[e][i]=Kd(r),nt[e][i].raw=$d(r)}}const F2=["keyword","gray","hex"],Ts={};for(const e of Object.keys(nt))Ts[[...nt[e].labels].sort().join("")]=e;const Cs={};function Ge(e,t){if(!(this instanceof Ge))return new Ge(e,t);if(t&&t in F2&&(t=null),t&&!(t in nt))throw new Error("Unknown model: "+t);let n,i;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof Ge)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){const r=et.get(e);if(r===null)throw new Error("Unable to parse color from string: "+e);this.model=r.model,i=nt[this.model].channels,this.color=r.value.slice(0,i),this.valpha=typeof r.value[i]=="number"?r.value[i]:1}else if(e.length>0){this.model=t||"rgb",i=nt[this.model].channels;const r=Array.prototype.slice.call(e,0,i);this.color=ms(r,i),this.valpha=typeof e[i]=="number"?e[i]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;const r=Object.keys(e);"alpha"in e&&(r.splice(r.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);const s=r.sort().join("");if(!(s in Ts))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=Ts[s];const{labels:a}=nt[this.model],c=[];for(n=0;n<a.length;n++)c.push(e[a[n]]);this.color=ms(c)}if(Cs[this.model])for(i=nt[this.model].channels,n=0;n<i;n++){const r=Cs[this.model][n];r&&(this.color[n]=r(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Ge.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in et.to?this:this.rgb();t=t.round(typeof e=="number"?e:1);const n=t.valpha===1?t.color:[...t.color,this.valpha];return et.to[t.model](...n)},percentString(e){const t=this.rgb().round(typeof e=="number"?e:1),n=t.valpha===1?t.color:[...t.color,this.valpha];return et.to.rgb.percent(...n)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=nt[this.model],{labels:n}=nt[this.model];for(let i=0;i<t;i++)e[n[i]]=this.color[i];return this.valpha!==1&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,this.valpha!==1&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,this.valpha!==1&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new Ge([...this.color.map(t6(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new Ge([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:Ve("rgb",0,Xe(255)),green:Ve("rgb",1,Xe(255)),blue:Ve("rgb",2,Xe(255)),hue:Ve(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:Ve("hsl",1,Xe(100)),lightness:Ve("hsl",2,Xe(100)),saturationv:Ve("hsv",1,Xe(100)),value:Ve("hsv",2,Xe(100)),chroma:Ve("hcg",1,Xe(100)),gray:Ve("hcg",2,Xe(100)),white:Ve("hwb",1,Xe(100)),wblack:Ve("hwb",2,Xe(100)),cyan:Ve("cmyk",0,Xe(100)),magenta:Ve("cmyk",1,Xe(100)),yellow:Ve("cmyk",2,Xe(100)),black:Ve("cmyk",3,Xe(100)),x:Ve("xyz",0,Xe(95.047)),y:Ve("xyz",1,Xe(100)),z:Ve("xyz",2,Xe(108.833)),l:Ve("lab",0,Xe(100)),a:Ve("lab",1),b:Ve("lab",2),keyword(e){return e!==void 0?new Ge(e):nt[this.model].keyword(this.color)},hex(e){return e!==void 0?new Ge(e):et.to.hex(...this.rgb().round().color)},hexa(e){if(e!==void 0)return new Ge(e);const t=this.rgb().round().color;let n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),et.to.hex(...t)+n},rgbNumber(){const e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){const e=this.rgb().color,t=[];for(const[n,i]of e.entries()){const r=i/255;t[n]=r<=.04045?r/12.92:((r+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return Ge.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),i=this.rgb(),r=t===void 0?.5:t,s=2*r-1,a=n.alpha()-i.alpha(),c=((s*a===-1?s:(s+a)/(1+s*a))+1)/2,u=1-c;return Ge.rgb(c*n.red()+u*i.red(),c*n.green()+u*i.green(),c*n.blue()+u*i.blue(),n.alpha()*r+i.alpha()*(1-r))}};for(const e of Object.keys(nt)){if(F2.includes(e))continue;const{channels:t}=nt[e];Ge.prototype[e]=function(...n){return this.model===e?new Ge(this):n.length>0?new Ge(n,e):new Ge([...n6(nt[this.model][e].raw(this.color)),this.valpha],e)},Ge[e]=function(...n){let i=n[0];return typeof i=="number"&&(i=ms(n,t)),new Ge(i,e)}}function e6(e,t){return Number(e.toFixed(t))}function t6(e){return function(t){return e6(t,e)}}function Ve(e,t,n){e=Array.isArray(e)?e:[e];for(const i of e)(Cs[i]||=[])[t]=n;return e=e[0],function(i){let r;return i!==void 0?(n&&(i=n(i)),r=this[e](),r.color[t]=i,r):(r=this[e]().color[t],n&&(r=n(r)),r)}}function Xe(e){return function(t){return Math.max(0,Math.min(e,t))}}function n6(e){return Array.isArray(e)?e:[e]}function ms(e,t){for(let n=0;n<t;n++)typeof e[n]!="number"&&(e[n]=0);return e}const i6=({balance:e,isFetching:t,price:n})=>{const i=We.useTheme(),r=!e||b.display(e)==="0",s=120;return t?o.jsx(B.Box,{sx:{width:s},children:o.jsxs(B.Stack,{alignItems:"flex-end",children:[o.jsx(B.Skeleton,{variant:"rounded",height:14,width:"80%",sx:{borderRadius:"8px"}}),o.jsx(B.Skeleton,{variant:"rounded",height:14,width:"60%",sx:{borderRadius:"8px",mt:.5}})]})}):o.jsx(B.Box,{sx:{width:s},children:o.jsxs(B.Stack,{alignItems:"flex-end",children:[o.jsx(B.Typography,{fontSize:14,children:e&&!r?b.display(b.truncate(e,6)):""}),n&&!r&&o.jsx(B.Typography,{color:i.palette.text.secondary,fontSize:"10px",children:n})]})})};function r6(e){const t=We.useTheme(),n=I.useMemo(()=>({tokenListItem:{display:"flex",justifyContent:"space-between",padding:"8px 32px",borderRadius:0,":hover":{backgroundColor:Ge(t.palette.primary.main).alpha(.07).hexa()}},tokenListItemSelected:{backgroundColor:Ge(t.palette.primary.main).alpha(.07).hexa()},tokenDetails:{display:"flex",flexDirection:"row",alignItems:"center"},addressLink:{display:"inline-flex",alignItems:"center",height:"10px",overflow:"hidden",color:t.palette.text.primary,opacity:.6},wormholeWrappedDisclaimer:{display:"inline",marginRight:4}}),[t]),{chain:i,token:r}=e,s=r.tokenId?.address.toString(),a=s?x.getTokenExplorerUrl(i,s):"",c=`${r.shortAddress}`,u=x.getTokenDisplaySymbolByTokenAddress(r);return o.jsxs(sn,{sx:{...n.tokenListItem,...e.isSelected&&n.tokenListItemSelected,...e.isDimmed?{opacity:.6}:{}},dense:!0,"data-testid":`token-button-${i.toLowerCase()}-${r.address.toString()}`,"aria-label":`Select ${u||r.symbol}`,onMouseDown:e.onClick,children:[o.jsxs(B.Box,{sx:n.tokenDetails,children:[o.jsx(bs,{children:o.jsx(qs,{icon:e.token.icon})}),o.jsxs("div",{children:[o.jsx(Me,{children:u}),o.jsxs(B.Box,{display:"flex",children:[r.tokenBridgeOriginalTokenId?o.jsx(B.Tooltip,{title:`Wormhole-wrapped from ${x.chainDisplayName(r.tokenBridgeOriginalTokenId.chain)}`,children:o.jsx(B.Box,{margin:"2px",marginRight:"5px",children:o.jsx(pn,{height:10,icon:r.tokenBridgeOriginalTokenId.chain})})}):null,u?o.jsx(Me,{fontSize:10,color:t.palette.text.secondary,children:u}):null,u&&!r.isNativeGasToken?o.jsx(Me,{fontSize:10,color:t.palette.text.secondary,marginLeft:1,marginRight:1,children:"•"}):null,r.isNativeGasToken?null:o.jsx(Me,{fontSize:10,color:t.palette.text.secondary,children:!b.isNative(s)&&o.jsxs(As,{onMouseDown:l=>l.stopPropagation(),onClick:l=>l.stopPropagation(),sx:n.addressLink,href:a,rel:"noreferrer noopener",target:"_blank",children:[c,o.jsx(cc,{sx:{height:"10px",width:"10px",marginLeft:"2px"}})]})})]})]})]}),o.jsx(i6,{balance:e.balance,price:e.price,isFetching:e.isFetchingBalance})]})}const o6=I.memo(r6),s6=({baseTokenList:e,searchQuery:t,chain:n,isSource:i,isSameChainSwap:r,sourceToken:s,balances:a,tokenPastingEnabled:c=!0})=>{const[u,l]=I.useState([]),{getOrFetchToken:M,getTokenPrices:g}=ft(),N=I.useDeferredValue(t),y=N?N.toLowerCase():"",T=I.useCallback(m=>{l(h=>[...h,m])},[]),d=I.useMemo(()=>!r||!n||i?void 0:x.getWrappedNativeToken(x.config.network,n)?.toLowerCase(),[r,n,i]);I.useEffect(()=>{if(!n||!c||!N){l([]);return}if(N.length<10){l([]);return}try{const m=b.toNative(n,N);if(m){const h=x.config.tokens.get(n,N);h?I.startTransition(()=>T(h)):M({chain:n,address:m}).then(D=>{D&&I.startTransition(()=>T(D))})}}catch{}},[N,n,M,c,T]);const f=I.useMemo(()=>{let m=N?pl(e,u,h=>h.key):e;return N&&(m=m.filter(h=>{const D=x.getTokenDisplaySymbolByTokenAddress(h)?.toLowerCase(),j=h.symbol?.toLowerCase().includes(y),L=h.name?.toLowerCase().includes(y),p=D?.includes(y);return!!(j||L||p||h.addressString.toLowerCase().includes(y)||h.tokenBridgeOriginalTokenId&&h.tokenBridgeOriginalTokenId.address.toString().toLowerCase().includes(y))})),s&&r&&!i&&(m=m.filter(h=>!x.shouldFilterSameChainToken(s,d,h))),n&&(m=m.filter(h=>{if(!x.isFrankensteinToken(h,n))return!0;if(!i)return!1;if(a){const D=a[h.key]?.balance;return D&&b.units(D)>0n}return!1})),m},[e,u,N,y,s,r,i,d,n,a]),C=I.useMemo(()=>g(f),[g,f]);return{sortedTokens:f,tokenPrices:C}},a6=({label:e})=>{const t=B.useTheme();return o.jsx(B.Box,{sx:{position:"sticky",top:0,zIndex:2,padding:`${t.spacing(1)} 16px 4px 16px`,background:t.palette.input.background,transition:"background-color 150ms ease"},children:o.jsx(B.Typography,{fontSize:14,color:t.palette.text.secondary,children:e})})};function c6({sortedTokens:e,isGroupingEnabled:t,isWalletConnected:n,balances:i}){return I.useMemo(()=>{if(!t)return{listItems:e,ownedCount:0};const r=M=>{if(!n)return!1;const g=i?.[M.key]?.balance;return g!=null&&b.units(g)>0n},s=e.find(M=>M.isNativeGasToken),a=s?.key,c=e.filter(r),u=new Set(c.map(M=>M.key));return{listItems:[...c,...s&&a&&!u.has(a)?[s]:[],...e.filter(M=>!u.has(M.key)&&M.key!==a)],ownedCount:c.length}},[e,t,n,i])}const u6=()=>{const e=I.useMemo(()=>({skeletonItem:{borderRadius:"8px",marginTop:"4px"}}),[]);return o.jsx(B.Box,{children:Array.from({length:6}).map((t,n)=>o.jsxs(B.ListItemButton,{dense:!0,disabled:!0,sx:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"8px 16px",borderRadius:0,cursor:"default"},children:[o.jsxs(B.Box,{sx:{display:"flex",alignItems:"center",padding:"2px 0"},children:[o.jsx(B.ListItemIcon,{sx:{minWidth:0,marginRight:"20px"},children:o.jsx(B.Skeleton,{variant:"circular",width:"36px",height:"36px"})}),o.jsxs(B.Box,{children:[o.jsx(B.Skeleton,{variant:"rounded",width:"100px",height:"14px",sx:e.skeletonItem}),o.jsx(B.Skeleton,{variant:"rounded",width:"120px",height:"14px",sx:e.skeletonItem})]})]}),o.jsx(B.Box,{children:o.jsxs(B.Stack,{alignItems:"flex-end",children:[o.jsx(B.Skeleton,{variant:"rounded",height:"14px",width:"100px",sx:e.skeletonItem}),o.jsx(B.Skeleton,{variant:"rounded",height:"14px",width:"80px",sx:e.skeletonItem})]})})]},n))})},l6=e=>{const t=B.useTheme(),n=x.config.ui.disableUserInputtedTokens!==!0,{sortedTokens:i,tokenPrices:r}=s6({baseTokenList:e.tokenList,searchQuery:e.searchQuery,chain:e.selectedChainConfig.sdkName,isSource:e.isSource,isSameChainSwap:e.isSameChainSwap,sourceToken:e.sourceToken,balances:e.balances,tokenPastingEnabled:n}),s=I.useMemo(()=>{let y="";return e.isSource?e.searchQuery?y="No tokens found matching your search":y=e.wallet?.address?"No supported tokens found in wallet":"":y="No supported destination tokens for this route",o.jsx(Me,{variant:"body2",color:t.palette.grey.A400,children:y})},[e.wallet?.address,e.isSource,e.searchQuery,t.palette.grey.A400]),a=`Search for a token${n?" or paste an address":""}`,c=I.useMemo(()=>({card:{background:t.palette.input.background,maxWidth:"488px"},tokenListContainer:{padding:"16px 0 0 0 !important"},tokenList:{maxHeight:"360px",[t.breakpoints.down("sm")]:{maxHeight:"520px"}}}),[t]),u=I.useMemo(()=>e.isFetching?"loading":i.length===0?"empty":"ready",[e.isFetching,i.length]),l=e.isSource&&!e.searchQuery,M=!!e.wallet?.address,{listItems:g,ownedCount:N}=c6({sortedTokens:i,isWalletConnected:M,isGroupingEnabled:l,balances:e.balances});return o.jsx(B.Card,{sx:c.card,variant:"elevation",children:o.jsx(B.CardContent,{sx:c.tokenListContainer,children:o.jsx(P2,{searchPlaceholder:a,sx:c.tokenList,dataTestId:"token-search-list",searchQuery:e.searchQuery,listTitle:u==="empty"?s:"",items:g,loading:u==="loading"?o.jsx(u6,{}):void 0,onQueryChange:e.onSearchQueryChange,renderFn:(y,T)=>{const d=e.balances?.[y.key]?.balance,f=r.get(y.key),C=d&&f!==void 0?x.getUSDFormat(x.calculateUSDPriceRaw(f,d,y)):null,m=l&&M&&T>=N,h=l?T===0&&N>0?"Your tokens":T===N?"All tokens":null:null;return o.jsxs(I.Fragment,{children:[h&&o.jsx(a6,{label:h}),o.jsx(o6,{token:y,chain:e.selectedChainConfig.sdkName,onClick:()=>e.onSelectToken(y),isSource:e.isSource,balance:d,price:C,isSelected:y.key===e.selectedToken?.key,isFetchingBalance:e.isFetchingBalances,isDimmed:m})]},y.key)}})})})},H2=I.memo(l6);function M6({onClose:e,showSearch:t=!1,onBack:n}){const i=B.useTheme(),r={header:{display:"flex",justifyContent:"center",alignItems:"center",position:"relative",padding:"16px",paddingBottom:"8px"},title:{fontSize:"24px",fontWeight:600,lineHeight:"32px",display:"flex",alignItems:"center",justifyContent:"center"},iconButton:{position:"absolute",backgroundColor:i.palette.formContainer.background,border:"1px solid "+i.palette.input.border,"&:hover":{backgroundColor:i.palette.formContainer.background},height:"32px",width:"32px",fontSize:"16px"}};return o.jsx(o.Fragment,{children:o.jsxs(he,{sx:r.header,children:[t&&n&&o.jsx(Tn,{sx:{...r.iconButton,left:"16px"},onClick:n,"aria-label":"Go back","data-testid":"back-button",children:o.jsx(t0,{fontSize:"inherit"})}),o.jsx(Me,{sx:r.title,role:"heading","aria-level":2,children:"Select token"}),o.jsx(Tn,{sx:{...r.iconButton,right:"16px"},onClick:e,"aria-label":"Close routes","data-testid":"routes-close-button",children:o.jsx(Es,{fontSize:"inherit"})})]})})}const G2=I.memo(M6);function d6({isDrawerOpen:e,setIsDrawerOpen:t,chainList:n,chainConfig:i,showChainSearch:r,setShowChainSearch:s,wallet:a,sortedTokens:c,balances:u,isFetchingBalances:l,isConnectingWallet:M,isFetchingTokens:g,isSameChainSwap:N,token:y,sourceToken:T,isSource:d,searchQuery:f,setSearchQuery:C,onChainSelect:m,onTokenSelect:h}){const D=B.useTheme(),j=o.jsx(De,{alignItems:"center",paddingBottom:"4px",paddingTop:"8px",children:o.jsx(he,{sx:{width:"40px",height:"5px",backgroundColor:D.palette.text.secondary,borderRadius:"8px"}})});return o.jsx(Ss,{anchor:"bottom",open:e,slotProps:{paper:{sx:{background:D.palette.input.background,borderRadius:"8px",height:"calc(100vh - 40px)",maxWidth:"100vw"}}},transitionDuration:200,onOpen:()=>t(!0),onClose:()=>t(!1),children:e&&o.jsxs(o.Fragment,{children:[j,o.jsx(G2,{onClose:()=>t(!1),showSearch:r,onBack:()=>s(!1)}),o.jsx(B2,{chainList:n,selectedChainConfig:i,showSearch:r,setShowSearch:s,wallet:a,onChainSelect:m}),!r&&i&&o.jsx(H2,{tokenList:c,balances:u,isFetchingBalances:l,isConnectingWallet:M,isFetching:g,isSameChainSwap:N,selectedChainConfig:i,selectedToken:y,sourceToken:T,isSource:d,wallet:a,searchQuery:f,onSearchQueryChange:C,onSelectToken:h})]})})}const g6=I.memo(d6);function f6({popupState:e,anchorEl:t,chainList:n,chainConfig:i,showChainSearch:r,setShowChainSearch:s,wallet:a,sortedTokens:c,balances:u,isFetchingBalances:l,isConnectingWallet:M,isFetchingTokens:g,isSameChainSwap:N,token:y,sourceToken:T,isSource:d,searchQuery:f,setSearchQuery:C,onChainSelect:m,onTokenSelect:h}){const D=B.useTheme();return o.jsx(r0,{...Q2(e),transitionDuration:200,anchorEl:t,anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},marginThreshold:4,slotProps:{paper:{sx:{width:"100%",maxWidth:"488px",borderRadius:"8px",background:D.palette.input.background,backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.24)"}},root:{sx:{backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"}}},children:e.isOpen&&o.jsxs(o.Fragment,{children:[o.jsx(G2,{onClose:()=>e.close(),showSearch:r,onBack:()=>s(!1)}),o.jsx(B2,{chainList:n,selectedChainConfig:i,showSearch:r,setShowSearch:s,wallet:a,onChainSelect:m}),!r&&i&&o.jsx(H2,{tokenList:c,balances:u,isFetchingBalances:l,isConnectingWallet:M,isFetching:g,selectedChainConfig:i,selectedToken:y,sourceToken:T,isSameChainSwap:N,isSource:d,wallet:a,searchQuery:f,onSearchQueryChange:C,onSelectToken:h})]})})}const h6=I.memo(f6),ps=(e,t)=>{x.config.triggerEvent({type:"user.action",details:{value:e,action:t?x.UserActions.SelectSrcChain:x.UserActions.SelectDestChain}})},Ds=(e,t)=>{x.config.triggerEvent({type:"user.action",details:{value:e,action:t?x.UserActions.SelectSrcToken:x.UserActions.SelectDestToken}})};function j6(){const e=B.useTheme(),{amount:t,route:n}=Ae(c=>c.transferInput),{sourceToken:i,destToken:r}=zn(),s=I.useMemo(()=>x.calculateFeeOffset(n,t,i,r),[n,t,i,r]),a=I.useMemo(()=>!x.config.ui?.experimental?.feeOffsetting||!s||b.units(s)===0n?null:o.jsxs(o.Fragment,{children:[o.jsxs(B.Typography,{color:e.palette.text.secondary,fontSize:"12px",lineHeight:"14px",height:"14px",children:["+",b.display(s)," ",i?.symbol]}),o.jsx(B.Tooltip,{title:"Portal's fee is added on top of your input amount.",children:o.jsx(o0,{sx:{height:"14px",width:"14px",color:e.palette.text.secondary,marginLeft:"4px"}})})]}),[s,i?.symbol,e.palette.text.secondary]);return o.jsx(B.Box,{sx:{display:"flex",justifyContent:"flex-end",position:"relative",height:"14px",bottom:"4px",marginBottom:"2px"},children:a})}const N6=I.memo(j6);function ws(e){const n=x.config.chains[e]?.gasReserve;if(n)try{const i=x.getGasToken(e);return b.parse(n,i.decimals)}catch{return}}function Ai(e){const t=We.useTheme(),{chainConfig:n,token:i}=e,r=I.useMemo(()=>({badgeContent:{border:`2px solid ${t.palette.input.background}`,borderRadius:"4px"}}),[t]);return o.jsx(uc,{badgeContent:o.jsx(he,{sx:r.badgeContent,children:o.jsx(pn,{icon:n?.icon,height:13})}),sx:{zIndex:0,height:"34px",marginRight:"8px","& .MuiBadge-badge":{right:0,top:30}},children:o.jsx(qs,{icon:i?.icon,style:{width:"34px",height:"34px"},containerStyle:{width:"34px",height:"34px"}})})}function y6({symbol:e,isSelectable:t}){const n=o.jsx(B.Typography,{component:"div",fontSize:"16px",fontWeight:500,maxWidth:"64px",noWrap:!0,children:e||"Select"});return t?o.jsx(B.Tooltip,{title:e||"Select a token",children:n}):n}function I6({chainConfig:e,dataTestId:t,isSource:n,isTransactionInProgress:i,openDrawer:r,token:s,triggerProps:a}){const c=n?!x.config.ui.disableSourceTokenPicker:!x.config.ui.disableDestinationTokenPicker,u=We.useTheme(),l=B.useMediaQuery(u.breakpoints.down("sm")),M=s?x.getTokenDisplaySymbolByTokenAddress(s):"",g=n?"Select source asset":"Select destination asset",N=c&&!i,T=N?l?{onClick:r}:a:void 0,d=N?"button":void 0,f=N?g:void 0,C=I.useMemo(()=>({selector:{cursor:N?"pointer":"default",borderRadius:"48px",border:`1px solid ${u.palette.input.border}`,background:u.palette.input.background,minWidth:"120px",height:"48px","&:hover":{borderColor:N?u.palette.primary.main:u.palette.input.border}},disabled:{opacity:"0.6",cursor:"default",pointerEvents:"none"},cardContent:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:"8px",paddingRight:"12px",paddingTop:"6px",paddingBottom:"6px",":last-child":{paddingLeft:"8px",paddingRight:"12px",paddingTop:"6px",paddingBottom:"6px"}},chainSelector:{display:"flex",alignItems:"center",justifyContent:"space-between"}}),[u,N]);return o.jsx(wn,{sx:[C.selector,!N&&C.disabled],"data-testid":t,role:d,"aria-label":f,variant:"elevation",...T,children:o.jsx(An,{sx:C.cardContent,children:o.jsxs(Me,{sx:C.chainSelector,component:"div",gap:1,children:[o.jsx(Ai,{chainConfig:e,token:s}),o.jsx(y6,{symbol:M,isSelectable:N})]})})})}const L6=I.memo(I6),x6=[25,50,100],T6="You don't have enough funds in your wallet to cover both this amount and the gas cost of the transfer.",C6="A small amount of the network token balance is reserved to cover the network cost of this transaction.";function m6(e){const t=B.useTheme(),{route:n}=Ae(T=>T.transferInput),{sourceToken:i,destToken:r}=zn(),[s,a]=I.useState(void 0),c=I.useMemo(()=>({percentButton:{borderRadius:"50px",color:t.palette.text.primary,height:"22px",minWidth:"36px",padding:"0 8px",opacity:.7},percentButtonSelected:{color:t.palette.formContainer.background,backgroundColor:t.palette.primary.main,opacity:"unset"}}),[t]),u=I.useMemo(()=>{if(!i||!e.chain)return!1;try{const T=x.getGasToken(e.chain);return b.isSameToken(i,T)}catch{return!1}},[i,e.chain]),l=I.useMemo(()=>{if(!e.tokenBalance||!e.chain||!u)return!1;const T=ws(e.chain);return T?b.units(e.tokenBalance)<=b.units(T):!1},[e.tokenBalance,e.chain,u]),M=I.useCallback(T=>{if(!e.tokenBalance)return null;let d=b.units(e.tokenBalance)*BigInt(T)/BigInt(100);if(T===100){if(x.config.ui?.experimental?.feeOffsetting&&n&&i&&r){const f=x.calculateFeeOffset(x.config.routes.get(n),e.tokenBalance,i,r);f&&(d-=b.units(f))}if(u&&e.chain){const f=ws(e.chain);f&&(d-=b.units(f))}}return b.display(b.fromBaseUnits(d,e.tokenBalance.decimals))},[e.tokenBalance,e.chain,n,i,r,u]),g=I.useCallback((T,d)=>{if(T.stopPropagation(),l&&u){a(d);return}const f=M(d);f&&(e.onAmountChange(f),e.onDebouncedAmountChange(f),e.onPercentSelect(d))},[l,u,M,e]),N=I.useCallback((T,d)=>u?l?o.jsx(B.ClickAwayListener,{onClickAway:()=>a(void 0),children:o.jsx(B.Tooltip,{open:s===d,onClose:()=>a(void 0),title:T6,arrow:!0,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,children:T})}):d===100?o.jsx(B.Tooltip,{title:C6,arrow:!0,children:T}):T:T,[u,l,s]),y=I.useCallback(T=>{const d=o.jsx(B.Button,{sx:{...c.percentButton,...e.selectedPercent===T?c.percentButtonSelected:{}},disabled:e.isTransactionInProgress,onClick:f=>g(f,T),children:o.jsx(B.Typography,{fontSize:12,fontWeight:600,textTransform:"none",children:T===100?"Max":`${T}%`})});return N(d,T)},[c,e,g,N]);return o.jsx(B.Box,{sx:{display:"flex",gap:"6px"},children:x6.map(T=>o.jsx(I.Fragment,{children:y(T)},T))})}const p6=I.memo(m6);function D6(e){const t=We.useTheme(),n=tt(),i=B.useMediaQuery(t.breakpoints.down("sm")),{amount:r,route:s}=Ae(E=>E.transferInput),{sourceToken:a,destToken:c}=zn(),{getTokenPrice:u}=ft(),[l,M]=I.useState(!1),[g,N]=I.useState(!1),[y,T]=I.useState(""),[d,f]=I.useState(r?b.display(r):""),[C,m]=I.useState(r?b.display(r):""),[h,D]=I.useState(0),j=_M({tokenList:e.tokenList||[],searchQuery:y,selectedChainConfig:e.chain?x.config.chains[e.chain]:{},selectedToken:e.token,sourceToken:e.sourceToken,destToken:e.destToken,wallet:e.wallet,balances:e.balances,isSourceList:e.isSource}),L=R2({variant:"popover",popupId:"asset-picker"}),p=I.useMemo(()=>e.isSource&&e.balances&&e.token?e.balances[e.token.key]?.balance:null,[e.isSource,e.balances,e.token]),S=I.useMemo(()=>{if(!p)return null;const R=`${m3(b.display(p),9,4)} ${e.token?x.getTokenDisplaySymbolByTokenAddress(e.token):""}`;return o.jsx(Me,{component:"div",sx:{color:t.palette.text.tertiary,fontSize:"12px",fontWeight:500,maxWidth:"240px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:R})},[e.token,t.palette.text.tertiary,p]);I.useEffect(()=>{(i&&!g||!i&&!L.isOpen)&&setTimeout(()=>{M(!1)},300)},[g,i,L.isOpen]),I.useEffect(()=>{if(i&&g&&!e.chain||!i&&L.isOpen&&!e.chain){const E=e.chainList.find(R=>!O0(R.sdkName,e.wallet));E&&e.setChain(E.sdkName)}},[i,g,L.isOpen]);const w=I.useMemo(()=>e.chain?x.config.chains[e.chain]:void 0,[e.chain]),z=_2(L),U=I.useMemo(()=>({root:{maxWidth:"488px",background:t.palette.input.background,borderRadius:"8px",padding:"16px"},container:{display:"flex",flexDirection:"column",height:"114px",maxWidth:"488px"},title:{color:t.palette.text.secondary,display:"flex",height:"12px",alignItems:"center",justifyContent:"space-between",marginBottom:"16px"}}),[t]),k=!r||r.amount===""||r.amount==="0"?0:e.quote?b.whole(e.quote?.destinationToken.amount):void 0,v=k?k.toString():"",Q=I.useMemo(()=>{const E=e.isSource?r:e.quote?.destinationToken.amount;return e.token&&E?x.calculateUSDPrice(u,E,e.token):null},[e.isSource,e.quote?.destinationToken.amount,e.token,r,u]),P=e.token&&Q?o.jsx(Me,{color:t.palette.text.secondary,fontSize:"12px",children:Q??null}):null,Z=I.useCallback(E=>{f(E),D(0),E||n(yn(E))},[n]),O=I.useCallback(E=>{m(E),E&&n(yn(E))},[n]),H=I.useCallback(E=>{ps(E,e.isSource),e.setChain(E),T("")},[e]),$=I.useCallback(E=>{Ds(E,e.isSource),e.isSource&&e.token?.key!==E.key&&(Z(""),O("")),e.setToken(E)},[Z,O,e]),_=I.useCallback(()=>{N(!0)},[]);I.useEffect(()=>{!r&&(d||C)&&(Z(""),O(""))},[r]),I.useEffect(()=>{e.isSource&&(d||C)&&(Z(""),O(""),D(0))},[e.wallet.address]),I.useEffect(()=>{if(h!==100||!e.isSource||!e.chain||!p||!r||!s||!a||!c)return;const E=b.units(r);let R=b.units(p),q=!1;try{const X=x.getGasToken(e.chain);q=b.isSameToken(a,X)}catch{}if(q){const X=ws(e.chain);if(X){const W=b.units(X);R>W&&(R-=W)}}const te=x.calculateFeeOffset(x.config.routes.get(s),p,a,c);if(te){const X=R-b.units(te);if(X<E){const W=b.display(b.fromBaseUnits(X,p.decimals));f(W),m(W),n(yn(W))}}else if(E<R){const X=b.display(b.fromBaseUnits(R,p.decimals));f(X),m(X),n(yn(X))}},[s]);const A=I.useMemo(()=>{if(!e.token)return null;const E=x.calculateUSDPrice(u,b.parse("1",e.token.decimals),e.token);return E?o.jsx(B.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end"},children:o.jsx(Me,{color:t.palette.text.secondary+Nt[50],fontSize:"12px",fontWeight:500,children:`1 ${x.getTokenDisplaySymbolByTokenAddress(e.token)} = ${E}`})}):null},[e.token,u,t.palette.text.secondary]),Y=!e.wallet.address||!p?null:o.jsx(p6,{tokenBalance:p,chain:e.chain,isTransactionInProgress:e.isTransactionInProgress,selectedPercent:h,onAmountChange:Z,onDebouncedAmountChange:O,onPercentSelect:D});return o.jsxs(B.Box,{sx:U.root,children:[o.jsxs(B.Box,{sx:U.container,children:[o.jsxs(B.Box,{sx:U.title,children:[o.jsx(Me,{color:t.palette.text.tertiary,fontSize:12,fontWeight:500,variant:"body2",children:e.isSource?"From":"To"}),o.jsxs(B.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px"},children:[S,o.jsx(ZM,{type:e.isSource?we.TransferWallet.SENDING:we.TransferWallet.RECEIVING})]})]}),o.jsxs(B.Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:e.isSource?0:"16px"},children:[o.jsx(L6,{isTransactionInProgress:e.isTransactionInProgress,isSource:e.isSource,dataTestId:e.dataTestId,triggerProps:z,chainConfig:w,token:e.token,openDrawer:_}),e.isSource?o.jsx(GM,{value:d,debouncedValue:C,receiveAmount:k,supportedSourceTokens:e.tokenList||[],tokenBalance:e.token?e.balances[e.token.key]?.balance:null,warning:e.amountValidation?.warning,error:e.amountValidation?.error,onChange:Z,onDebouncedChange:O}):o.jsx(B.Box,{sx:{display:"flex",alignContent:"center",alignItems:"center",width:"100%",maxWidth:"250px",height:"38px"},children:o.jsx(B.TextField,{fullWidth:!0,disabled:!0,placeholder:"0",slotProps:{htmlInput:{maxLength:22,style:{fontSize:v.length>12?"20px":v.length>6?"28px":"36px",height:"36px",textAlign:"right"}},input:{disableUnderline:!0}},variant:"standard",value:qo(v)})})]}),e.isSource&&o.jsx(N6,{}),o.jsxs(B.Box,{sx:{height:"22px",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",gap:"8px"},children:[o.jsx(B.Box,{children:!e.isSource&&A}),e.isSource?o.jsx(B.Box,{children:Y}):o.jsx(B.Box,{children:P})]})]}),i?o.jsx(g6,{isDrawerOpen:g,setIsDrawerOpen:N,chainList:e.chainList,chainConfig:w,showChainSearch:l,setShowChainSearch:M,wallet:e.wallet,sortedTokens:j,balances:e.balances,isFetchingBalances:e.isFetchingBalances,isConnectingWallet:e.isConnectingWallet,isFetchingTokens:e.isFetchingTokens,isSameChainSwap:e.isSameChainSwap,token:e.token,sourceToken:e.sourceToken,isSource:e.isSource,searchQuery:y,setSearchQuery:T,onChainSelect:H,onTokenSelect:E=>{$(E),N(!1)}}):o.jsx(h6,{popupState:L,anchorEl:e.anchorEl,chainList:e.chainList,chainConfig:w,showChainSearch:l,setShowChainSearch:M,wallet:e.wallet,sortedTokens:j,balances:e.balances,isFetchingBalances:e.isFetchingBalances,isConnectingWallet:e.isConnectingWallet,isFetchingTokens:e.isFetchingTokens,isSameChainSwap:e.isSameChainSwap,token:e.token,sourceToken:e.sourceToken,isSource:e.isSource,searchQuery:y,setSearchQuery:T,onChainSelect:H,onTokenSelect:E=>{$(E),L.close()}})]})}const Ua=I.memo(D6),w6=e=>{const{destChain:t,destToken:n,route:i,isTransactionInProgress:r}=e,a=r||i==="BaseBridgeRoute"&&t==="Base",c=!!i&&x.config.routes.get(i).NATIVE_GAS_DROPOFF_SUPPORTED&&!n?.isNativeGasToken;return{disabled:a,showGasSlider:c}},A6=B.createSvgIcon(o.jsxs("svg",{width:"34",height:"35",viewBox:"0 0 34 35",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{opacity:"0.1",cx:"17",cy:"17.5",r:"17",fill:"currentColor"}),o.jsx("path",{d:"M17 11C13.1386 11 10 14.1386 10 18C10 21.8614 13.1386 25 17 25C20.8614 25 24 21.8614 24 18C24 14.1386 20.8614 11 17 11ZM17 24.0233C13.6791 24.0233 10.9767 21.3209 10.9767 18C10.9767 14.6791 13.6791 11.9767 17 11.9767C20.3209 11.9767 23.0233 14.6791 23.0233 18C23.0233 21.3209 20.3209 24.0233 17 24.0233ZM16.5116 18.6512V14.7442C16.5116 14.4772 16.733 14.2558 17 14.2558C17.267 14.2558 17.4884 14.4772 17.4884 14.7442V18.6512C17.4884 18.9181 17.267 19.1395 17 19.1395C16.733 19.1395 16.5116 18.9181 16.5116 18.6512ZM17.814 20.9302C17.814 21.3795 17.4493 21.7442 17 21.7442C16.5507 21.7442 16.186 21.3795 16.186 20.9302C16.186 20.4809 16.5507 20.1163 17 20.1163C17.4493 20.1163 17.814 20.4809 17.814 20.9302Z",fill:"currentColor"})]}),"Error"),Do=B.createSvgIcon(o.jsxs("svg",{width:"34",height:"35",viewBox:"0 0 34 35",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("circle",{opacity:"0.1",cx:"17",cy:"17.5",r:"17",fill:"currentColor"}),o.jsx("path",{d:"M17 10.5C13.1386 10.5 10 13.6386 10 17.5C10 21.3614 13.1386 24.5 17 24.5C20.8614 24.5 24 21.3614 24 17.5C24 13.6386 20.8614 10.5 17 10.5ZM17 23.5233C13.6791 23.5233 10.9767 20.8209 10.9767 17.5C10.9767 14.1791 13.6791 11.4767 17 11.4767C20.3209 11.4767 23.0233 14.1791 23.0233 17.5C23.0233 20.8209 20.3209 23.5233 17 23.5233ZM16.5116 18.1512V14.2442C16.5116 13.9772 16.733 13.7558 17 13.7558C17.267 13.7558 17.4884 13.9772 17.4884 14.2442V18.1512C17.4884 18.4181 17.267 18.6395 17 18.6395C16.733 18.6395 16.5116 18.4181 16.5116 18.1512ZM17.814 20.4302C17.814 20.8795 17.4493 21.2442 17 21.2442C16.5507 21.2442 16.186 20.8795 16.186 20.4302C16.186 19.9809 16.5507 19.6163 17 19.6163C17.4493 19.6163 17.814 19.9809 17.814 20.4302Z",fill:"currentColor"})]}),"Warning"),S6=e=>{const t=We.useTheme(),n=I.useMemo(()=>({content:{cursor:"pointer",maxWidth:"408px",overflow:"visible",padding:"16px 20px",[t.breakpoints.down("sm")]:{maxWidth:"372px"}},container:{display:"flex",flexDirection:"column",gap:"8px",width:"100%"},amounts:{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:"8px",width:"100%"},toggleButton:{backgroundColor:Ge(t.palette.text.primary).alpha(.1).hexa(),border:"1px solid transparent",borderRadius:"8px","&.Mui-selected":{border:`1px solid ${t.palette.primary.main}`,borderRadius:"8px"},"&.MuiToggleButtonGroup-middleButton":{margin:"0 2px"},"&.MuiToggleButtonGroup-lastButton":{margin:"0"}}}),[t]),{destinationGasDrop:i,disabled:r,isExecutorRoute:s,isSelected:a,onGasChange:c}=e,{toNativeToken:u}=Ae(j=>({...j.relay})),{fromChain:l,toChain:M}=Ae(j=>j.transferInput),{getTokenPrice:g,lastTokenPriceUpdate:N}=ft(),y=x.config.tokens.getGasToken(M),T=x.config.tokens.getGasToken(l),[d,f]=I.useState(!1),[C,m]=I.useState(u);I.useEffect(()=>{a&&i.amount!=="0"&&u&&f(!0)},[i.amount,a,u]),I.useEffect(()=>{a||(f(!1),m(0))},[a]);const h=I.useMemo(()=>{if(!M||!y)return null;const j=b.display(b.truncate(i,6)),L=x.calculateUSDPrice(g,i,y),p=L?`(${L})`:"";return`+${j} ${y.symbol} ${p}`},[y,N,i,M]),D=I.useMemo(()=>o.jsxs(s0,{exclusive:!0,fullWidth:!0,value:C.toString(),onChange:j=>{const L=Number(j.currentTarget.value);m(L),c(L)},children:[o.jsx(xi,{sx:n.toggleButton,disableRipple:!0,value:"0.05",children:"5%"}),o.jsx(xi,{sx:n.toggleButton,disableRipple:!0,value:"0.1",children:"10%"}),o.jsx(xi,{sx:n.toggleButton,disableRipple:!0,value:"0.15",children:"15%"})]}),[C,n.toggleButton,c]);return!T||!y?o.jsx(o.Fragment,{}):o.jsxs(B.Box,{sx:n.content,children:[o.jsxs(B.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[o.jsx(B.Typography,{children:`Need extra ${y.symbol} on ${x.chainDisplayName(M)}?`}),o.jsx(Mc,{sx:{padding:"9px 12px",right:"-9px","& .MuiSwitch-switchBase.Mui-checked":{color:t.palette.primary.main},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:t.palette.primary.main},"& .MuiSwitch-track":{height:"20px",borderRadius:"9px"}},checked:d,disabled:r||!a,onClick:j=>{const{checked:L}=j.target;f(L),L?s&&(m(100),c(1)):(m(0),c(0))}})]}),o.jsx(c0,{in:d,unmountOnExit:!0,children:o.jsx(B.Box,{sx:n.container,children:o.jsxs(B.Stack,{children:[!s&&D,o.jsxs(B.Box,{sx:n.amounts,children:[o.jsxs(B.Stack,{alignItems:"center",flexDirection:"row",children:[o.jsx(B.Typography,{color:t.palette.text.secondary,fontSize:14,marginRight:"4px",children:"Gas amount"}),o.jsx(zr,{title:s?`Add a small amount of ${T.symbol} to your transaction to receive ${h} on ${x.chainDisplayName(M)}.`:"This additional gas is swapped from a percentage of your transfer amount.",children:o.jsx(o0,{sx:{color:t.palette.text.secondary,fontSize:"16px"}})})]}),o.jsx(B.Typography,{color:t.palette.primary.main,fontSize:14,children:h})]})]})})})]})},E6=B.createSvgIcon(o.jsx("svg",{width:"9",height:"14",viewBox:"0 0 9 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M8.9,5.7c0-.1-.2-.2-.4-.2h-4c-.3,0-.5-.2-.5-.4V0L0,7.9c0,.1,0,.3,0,.4,0,.1.2.2.4.2h4c.3,0,.5.2.5.4v5.1l4-7.9c0-.1,0-.3,0-.4Z"})}),"Fastest"),z6=B.createSvgIcon(o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M8 0C3.58176 0 0 3.58175 0 8C0 12.4182 3.58176 16 8 16C12.4182 16 16 12.4182 16 8C16 3.58175 12.4182 0 8 0ZM8 3.2C8.35347 3.2 8.64 3.48653 8.64 3.84V4.24C9.47859 4.42669 10.1222 4.95047 10.47 5.53C10.5134 5.60223 10.5421 5.68231 10.5545 5.76562C10.5669 5.84894 10.5627 5.93388 10.5423 6.01561C10.5219 6.09733 10.4856 6.17423 10.4354 6.24191C10.3853 6.3096 10.3223 6.36674 10.25 6.41008C10.1778 6.45342 10.0977 6.48212 10.0144 6.49451C9.9311 6.50691 9.84615 6.50276 9.76443 6.48232C9.68271 6.46189 9.60581 6.42555 9.53813 6.37539C9.47045 6.32523 9.41332 6.26224 9.36998 6.19C9.23664 5.96766 8.98048 5.72765 8.64 5.58V7.54C8.96957 7.65606 9.30963 7.78298 9.64998 7.99002C10.1285 8.28109 10.56 8.87142 10.56 9.6C10.56 10.2691 10.2489 10.8727 9.76998 11.26C9.44806 11.5204 9.06211 11.6949 8.64 11.78V12.16C8.64 12.5135 8.35347 12.8 8 12.8C7.64656 12.8 7.36 12.5135 7.36 12.16V11.76C6.52138 11.5708 5.87776 11.0396 5.52998 10.46C5.44248 10.3141 5.41651 10.1395 5.45778 9.97445C5.49904 9.80943 5.60417 9.66755 5.75004 9.58004C5.8959 9.49252 6.07055 9.46654 6.23558 9.50779C6.4006 9.54904 6.54248 9.65415 6.63002 9.8C6.76342 10.0223 7.01949 10.2694 7.36 10.42V8.45002C7.0304 8.33396 6.69037 8.20707 6.35002 8C5.87149 7.7089 5.44 7.12858 5.44 6.4C5.44 5.73091 5.75114 5.11733 6.23002 4.73C6.55184 4.46974 6.93808 4.30211 7.36 4.22V3.84C7.36 3.48653 7.64656 3.2 8 3.2ZM7.36 5.55C7.23514 5.59806 7.1264 5.66014 7.04 5.73C6.82934 5.90037 6.72 6.09974 6.72 6.4C6.72 6.73619 6.77373 6.76018 7.02 6.91C7.10707 6.96296 7.22624 7.01659 7.36 7.07V5.55ZM8.64 8.92V10.44C8.76483 10.39 8.8736 10.3299 8.96 10.26C9.17062 10.0896 9.28 9.90026 9.28 9.6C9.28 9.26381 9.22627 9.22982 8.98 9.08C8.89293 9.02704 8.77373 8.97341 8.64 8.92Z",fill:"currentColor"})}),"CheapestRoute"),b6=({isFastest:e,isCheapest:t,isOnlyChoice:n})=>{const i=B.useTheme();return n?null:e?o.jsxs(B.Box,{sx:{display:"flex",alignItems:"center"},children:[o.jsx(E6,{sx:{width:"16px",height:"16px",marginRight:"4px",fill:i.palette.primary.main}}),o.jsx(B.Typography,{component:"span",fontSize:"14px",lineHeight:"14px",children:t?"Best":"Fastest"})]}):t?o.jsxs(B.Box,{sx:{display:"flex",alignItems:"center"},children:[o.jsx(z6,{sx:{width:"16px",height:"16px",marginRight:"4px",color:i.palette.primary.main}}),o.jsx(B.Typography,{component:"span",fontSize:"14px",lineHeight:"14px",children:"Cheapest"})]}):null},O6=I.memo(b6);function k6({destChain:e,eta:t}){const n=B.useTheme();return t?o.jsxs(De,{direction:"row",justifyContent:"space-between",children:[o.jsxs(Me,{color:n.palette.text.secondary,component:"div",fontSize:"14px",lineHeight:"14px",children:["Time to ",e]}),o.jsx(Me,{component:"div",fontSize:"14px",lineHeight:"14px",sx:{color:t<60*1e3?n.palette.success.main:n.palette.text.primary},children:x.millisToHumanString(t)})]}):null}const v6=I.memo(k6);function V2(e,t,n,i,r){if(r)return r;const s=t==="AutomaticNtt"&&i==="wstETH"&&(n==="Ethereum"&&e==="Bsc"||n==="Bsc"&&e==="Ethereum"),a=t==="MayanSwapMONOCHAIN",c=a&&n==="Solana"&&e==="Solana";let u="";return s?u="NTT: Wormhole + Axelar":c?u="Jupiter":a?u="Mayan":t&&(u=x.config.routes.get(t)?.rc.meta.provider||""),u}function U6({destChain:e,provider:t,route:n,sourceChain:i,sourceTokenSymbol:r,usdValue:s}){const a=V2(e,n,i,r,t);return a?`${s} via ${a}`:s}const Y6=I.memo(U6),Ya=10,R6=e=>{const t=B.useTheme(),n=I.useMemo(()=>({container:{width:"100%"},card:{border:"2px solid transparent",borderRadius:"8px",width:"calc(100% - 4px)",maxWidth:"448px","&:hover":{backgroundColor:t.palette.input.background},[t.breakpoints.down("sm")]:{maxWidth:"412px"}},cardSelected:{border:"2px solid",borderColor:t.palette.primary.main},cardHeader:{padding:"20px 20px 0px"},cardContent:{marginTop:"18px",padding:"0px 20px 20px"},errorIcon:{color:t.palette.error.main,height:"34px",width:"34px",marginRight:"24px"},messageContainer:{padding:"12px 0px 0px"},warningIcon:{color:t.palette.warning.main,height:"34px",width:"34px",marginRight:"12px"},disabled:{opacity:"0.6",cursor:"default",pointerEvents:"none"}}),[t]),i=x.config.routes.get(e.route),{toChain:r,fromChain:s,amount:a,isTransactionInProgress:c}=Ae(U=>U.transferInput),{getTokenPrice:u,lastTokenPriceUpdate:l}=ft(),{quote:M,isSelected:g}=e,{sourceToken:N,destToken:y}=zn(),{disabled:T,showGasSlider:d}=w6({destChain:r,destToken:y,route:e.route,isTransactionInProgress:c}),f=I.useMemo(()=>{if(!M||!N||!y||!a)return{isHighFee:!1};const U=x.calculateUSDPriceRaw(u,b.whole(M.sourceToken.amount),N),k=b.whole(M.destinationToken.amount),v=x.calculateUSDPriceRaw(u,k,y);return U===void 0||v===void 0||U<=0?!1:Math.max(0,U-v)/U*100>=Ya},[u,M,N,y,a]),C=I.useMemo(()=>{if(!r||e.destinationGasDrop===void 0||b.units(e.destinationGasDrop)===0n)return o.jsx(o.Fragment,{});const U=x.config.chains[r],k=x.config.tokens.getGasToken(r);if(!U||!k)return o.jsx(o.Fragment,{});const v=x.calculateUSDPrice(u,e.destinationGasDrop,k),Q=b.display(b.truncate(e.destinationGasDrop,6)),P=v?` (${v})`:"";return o.jsxs(De,{direction:"row",justifyContent:"space-between",children:[o.jsx(Me,{color:t.palette.text.secondary,component:"div",fontSize:"14px",lineHeight:"14px",children:"Additional gas"}),o.jsx(Me,{color:t.palette.text.primary,component:"div",fontSize:"14px",lineHeight:"14px",children:`${Q} ${k.symbol}${P}`})]})},[r,l,e.destinationGasDrop,u,l,t.palette.text.secondary,t.palette.text.primary]),m=I.useMemo(()=>e.route?!i.AUTOMATIC_DEPOSIT:!1,[e.route,i.AUTOMATIC_DEPOSIT]),h=I.useMemo(()=>o.jsx(vo,{flexItem:!0,sx:{marginTop:"24px"}}),[]),D=I.useMemo(()=>e.error?o.jsxs(o.Fragment,{children:[h,o.jsxs(De,{sx:n.messageContainer,direction:"row",alignItems:"center",children:[o.jsx(A6,{sx:n.errorIcon}),o.jsx(Me,{color:t.palette.error.main,fontSize:"14px",lineHeight:"18px",children:e.error})]})]}):null,[n.errorIcon,n.messageContainer,h,e.error,t.palette.error.main]),j=I.useMemo(()=>{const U=[];m&&U.push(o.jsxs("div",{children:[h,o.jsxs(De,{sx:n.messageContainer,direction:"row",alignItems:"center",children:[o.jsx(Do,{sx:n.warningIcon}),o.jsxs(De,{children:[o.jsx(Me,{color:t.palette.warning.main,fontSize:14,lineHeight:"18px",children:"This transfer requires two transactions."}),o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,lineHeight:"18px",children:"You will need to make two wallet approvals and have gas on the destination chain."})]})]})]},"ManualTransactionWarning"));for(const k of M?.warnings||[])if(k.type==="DestinationCapacityWarning"&&k.delayDurationSec){const v=x.formatDuration(k.delayDurationSec);U.push(o.jsxs("div",{children:[h,o.jsxs(De,{sx:n.messageContainer,direction:"row",alignItems:"center",children:[o.jsx(Do,{sx:n.warningIcon}),o.jsx(Me,{color:t.palette.warning.main,fontSize:14,lineHeight:"18px",children:`Your transfer to ${r} may be delayed due to rate limits set by ${y.display}. If your transfer is delayed, you will need to return after ${v} to complete the transfer. Please consider this before proceeding.`})]})]},`${k.type}-${k.delayDurationSec}`))}return f&&U.push(o.jsxs("div",{children:[h,o.jsxs(De,{sx:n.messageContainer,direction:"row",alignItems:"center",children:[o.jsx(Do,{sx:n.warningIcon}),o.jsxs(De,{children:[o.jsx(Me,{color:t.palette.warning.main,fontSize:14,lineHeight:"18px",children:`Price impact is greater than ${Ya}%`}),o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,lineHeight:"18px",children:"Please check before proceeding."})]})]})]},"HighFee")),U},[m,f,h,n.warningIcon,n.messageContainer,t.palette.warning.main,t.palette.text.secondary,M?.warnings,y,r]),L=I.useMemo(()=>M?b.whole(M?.destinationToken.amount):void 0,[M]),p=I.useMemo(()=>{if(M)return b.display(b.truncate(M.destinationToken.amount,6))},[M]),S=I.useMemo(()=>{if(e.error)return o.jsx(Me,{color:"error",children:"Route is unavailable"});if(L===void 0||!y)return null;const U=f?t.palette.warning.main:t.palette.text.primary;return o.jsxs(Me,{fontSize:"18px",lineHeight:"18px",color:U,component:"div",marginBottom:"6px",children:[p," ",x.getTokenDisplaySymbolByTokenAddress(y)]})},[e.error,L,p,y,f,t.palette.warning.main,t.palette.text.primary]),w=I.useMemo(()=>{if(e.error||!r||!y||L===void 0)return null;const U=x.calculateUSDPrice(u,L,y);return o.jsx(Me,{fontSize:"14px",lineHeight:"14px",color:t.palette.text.secondary,component:"div",children:o.jsx(Y6,{destChain:r,provider:M?.provider,route:e.route,sourceChain:s,sourceTokenSymbol:N?.symbol,usdValue:U})})},[r,y,u,l,e.error,e.route,L,s,N,t.palette.text.secondary]),z=I.useMemo(()=>g||typeof e.onSelect!="function"?"default":e.error?"not-allowed":"pointer",[e.error,g,e.onSelect]);return e.route?o.jsx(he,{sx:n.container,"data-testid":`route-${e.route}${g?"-selected":""}`,children:o.jsx(wn,{sx:{...n.card,...g&&n.cardSelected,...c&&n.disabled},children:o.jsxs(ks,{component:"div","aria-label":`Select ${e.route} route`,disabled:c||typeof e.onSelect!="function"||e.error!==void 0,disableTouchRipple:!0,sx:{cursor:z},onClick:()=>{e.onSelect?.(e.route)},children:[o.jsx(a0,{sx:n.cardHeader,avatar:o.jsx(qs,{icon:y?.icon}),title:S,subheader:w,action:o.jsx(O6,{isFastest:e.isFastest,isCheapest:e.isCheapest,isOnlyChoice:e.isOnlyChoice})}),o.jsxs(An,{sx:n.cardContent,children:[o.jsxs(De,{gap:"14px",children:[i.AUTOMATIC_DEPOSIT?null:`You pay gas on ${r}`,C,o.jsx(v6,{destChain:r,eta:M?.eta})]}),D,j]}),d&&o.jsxs(o.Fragment,{children:[o.jsx(vo,{flexItem:!0,sx:{margin:"0px 16px"}}),o.jsx(S6,{destinationGasDrop:M?.destinationNativeGas||b.fromBaseUnits(0n,8),disabled:T||!!e.isLoading,isExecutorRoute:x.isExecutorRoute(e.route),isSelected:g,onGasChange:U=>{typeof e.onGasChange=="function"&&e.onGasChange(U)}})]})]})})},e.route):o.jsx(o.Fragment,{})},_6=I.memo(R6),Q6=({routesWithQuotes:e,highlightedRoute:t,quotes:n,fastestRoute:i,cheapestRoute:r,isLoading:s,onRouteSelect:a,onGasChange:c})=>o.jsx(De,{sx:{gap:"8px",overflowY:"auto",maxHeight:"75vh",scrollbarWidth:"thin"},children:e.map(u=>{const l=u===t,M=n[u],g=M?.success?M:void 0,N=M?.success===!1?M?.error?.message??`Error while getting a quote for ${u}.`:void 0;return o.jsx(_6,{route:u,error:N,isSelected:l&&!N,isFastest:u===i.name,isCheapest:u===r.name,isOnlyChoice:e.length===1,onSelect:a,onGasChange:c,quote:g,isLoading:s},u)})}),J2=I.memo(Q6);function P6({open:e,onOpen:t,onClose:n,routesWithQuotes:i,highlightedRoute:r,quotes:s,fastestRoute:a,cheapestRoute:c,selectButtonDisabled:u,isLoading:l,onRouteSelect:M,onGasChange:g,onRouteConfirm:N}){const y=B.useTheme(),T=o.jsxs(he,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},children:[o.jsx(Me,{component:"span",fontSize:"16px",fontWeight:600,children:"Routes"}),o.jsx(Tn,{sx:{opacity:.5,padding:0},onClick:n,"aria-label":"Close routes","data-testid":"routes-close-button",children:o.jsx(lc,{sx:{height:"24px",width:"24px"}})})]}),d=o.jsx(zt,{variant:"primary",styleOverrides:{padding:"16px 24px",height:"48px",borderRadius:"48px"},onClick:N,disabled:u,"aria-label":"Select route","data-testid":"select-route-button",fullWidth:!0,children:o.jsx(Me,{fontSize:"16px",fontWeight:600,textTransform:"none",children:"Select"})});return o.jsx(Ss,{anchor:"bottom",open:e,slotProps:{paper:{sx:{background:y.palette.input.background,borderRadius:"8px",height:"calc(100vh - 40px)",maxWidth:"100vw"}}},transitionDuration:200,onOpen:t,onClose:n,children:o.jsxs(he,{sx:{backgroundColor:y.palette.input.background,padding:"8px",borderRadius:"12px",gap:"16px",display:"flex",flexDirection:"column",maxWidth:"420px"},children:[T,o.jsx(J2,{routesWithQuotes:i,highlightedRoute:r,quotes:s,fastestRoute:a,cheapestRoute:c,isLoading:l,onRouteSelect:M,onGasChange:g}),d]})})}const B6=I.memo(P6);function Z6({open:e,onClose:t,routesWithQuotes:n,highlightedRoute:i,quotes:r,fastestRoute:s,cheapestRoute:a,selectButtonDisabled:c,isLoading:u,onRouteSelect:l,onGasChange:M,onRouteConfirm:g}){const N=B.useTheme(),y=o.jsxs(he,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",position:"relative"},children:[o.jsx(Me,{color:N.palette.text.primary,fontSize:"24px",fontWeight:600,children:"Routes"}),o.jsx(Tn,{sx:{opacity:.5,padding:0,position:"absolute",right:0},onClick:t,"aria-label":"Close routes","data-testid":"routes-close-button",children:o.jsx(Es,{sx:{height:"24px",width:"24px"}})})]}),T=o.jsx(zt,{variant:"primary",styleOverrides:{padding:"16px 24px",height:"48px",borderRadius:"48px"},onClick:g,disabled:c,"aria-label":"Select route","data-testid":"select-route-button",fullWidth:!0,children:o.jsx(Me,{fontSize:"16px",fontWeight:600,textTransform:"none",children:"Select Route"})});return o.jsx(dc,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},open:e,onClose:t,slotProps:{backdrop:{sx:{backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"}}},children:o.jsxs(he,{sx:{backgroundColor:N.palette.input.background,padding:"24px",borderRadius:"12px",gap:"16px",display:"flex",flexDirection:"column",width:"456px",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"},children:[y,o.jsx(J2,{routesWithQuotes:n,highlightedRoute:i,quotes:r,fastestRoute:s,cheapestRoute:a,isLoading:u,onRouteSelect:l,onGasChange:M}),T]})})}const W6=I.memo(Z6),F6=()=>o.jsxs(he,{sx:{display:"flex",flexDirection:"column",height:"54px",width:"100%",gap:"12px"},children:[o.jsxs(he,{sx:{display:"flex",height:"20px",width:"100%",justifyContent:"space-between"},children:[o.jsx(Zr,{variant:"rounded",height:20,width:"70%",sx:{borderRadius:"20px"}}),o.jsx(Zr,{variant:"rounded",height:20,width:"25%",sx:{borderRadius:"20px"}})]}),o.jsx(Zr,{variant:"rounded",height:20,width:"100%",sx:{borderRadius:"20px"}})]}),H6=I.memo(F6),G6=B.createSvgIcon(o.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M0.625 8.625H1.325C1.975 8.625 2.575 8.325 2.975 7.775L6.025 3.475C6.375 2.925 7.025 2.625 7.675 2.625H10.625M10.625 2.625L8.625 0.625M10.625 2.625L8.625 4.625M0.625 2.625H1.575C2.325 2.625 3.025 3.075 3.375 3.725M10.625 8.62495H7.67502C7.02502 8.62495 6.37502 8.27495 6.02502 7.72495L5.77502 7.32495M10.625 8.62495L8.625 6.625M10.625 8.62495L8.625 10.625",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}),"RouteSwitch");function V6({destChain:e,provider:t,route:n,sourceChain:i,sourceTokenSymbol:r,onClick:s}){const a=V2(e,n,i,r,t),c=We.useTheme();return o.jsx(i0,{onClick:s,disableRipple:!0,variant:"text",sx:{minWidth:0,padding:0,justifyContent:"flex-start",textTransform:"none",color:c.palette.text.secondary,cursor:"pointer","&:hover":{backgroundColor:"transparent",color:c.palette.text.accent}},children:o.jsxs(De,{direction:"row",sx:{flexGrow:1,whiteSpace:"nowrap",alignItems:"center",transition:"0.3s"},children:[o.jsx(Me,{variant:"body2",fontWeight:500,children:a?`Routing via ${a}`:"Route"}),o.jsx(G6,{sx:{width:12,height:12,marginLeft:c.spacing(.5)}})]})})}const J6=I.memo(V6),q6=B.createSvgIcon(o.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M6 0C4.81331 0 3.65327 0.351894 2.66658 1.01118C1.67989 1.67047 0.910851 2.60754 0.456725 3.7039C0.00259973 4.80026 -0.11622 6.00665 0.115291 7.17054C0.346802 8.33443 0.918247 9.40352 1.75736 10.2426C2.59648 11.0818 3.66557 11.6532 4.82946 11.8847C5.99335 12.1162 7.19974 11.9974 8.2961 11.5433C9.39246 11.0891 10.3295 10.3201 10.9888 9.33342C11.6481 8.34673 12 7.18669 12 6C12 4.4087 11.3679 2.88258 10.2426 1.75736C9.11742 0.632141 7.5913 0 6 0ZM8.37805 6.87818H5.88071C5.69132 6.87818 5.50969 6.80295 5.37577 6.66903C5.24185 6.53512 5.16662 6.35349 5.16662 6.1641V2.32764C5.16662 2.13825 5.24185 1.95662 5.37577 1.8227C5.50969 1.68879 5.69132 1.61355 5.88071 1.61355C6.07009 1.61355 6.25172 1.68879 6.38564 1.8227C6.51956 1.95662 6.59479 2.13825 6.59479 2.32764V5.45001H8.37805C8.56743 5.45001 8.74906 5.52525 8.88298 5.65916C9.0169 5.79308 9.09213 5.97471 9.09213 6.1641C9.09213 6.35349 9.0169 6.53512 8.88298 6.66903C8.74906 6.80295 8.56743 6.87818 8.37805 6.87818Z",fill:"currentColor"})}),"Clock");function X6({eta:e}){const t=B.useTheme();return e?o.jsx(he,{sx:{display:"flex",fontSize:"14px",justifyContent:"flex-end"},children:o.jsxs(he,{sx:{display:"flex",height:"32px",alignItems:"center",gap:"6px",padding:"4px 0"},children:[o.jsx(q6,{sx:{color:t.palette.text.secondary,width:"12px",height:"12px"}}),o.jsx(Me,{component:"span",color:t.palette.text.primary,fontSize:"14px",lineHeight:"14px",children:x.millisToHumanString(e)})]})}):null}const $6=I.memo(X6);function K6({slippage:e}){const t=We.useTheme();return e?o.jsxs(he,{sx:{display:"flex",marginTop:"0px",alignItems:"center",justifyContent:"space-between",width:"100%",paddingLeft:t.spacing(1),paddingRight:t.spacing(3)},children:[o.jsx(B.Typography,{variant:"body2",fontWeight:500,fontSize:12,color:t.palette.text.primary,sx:{display:"block",opacity:.5},children:"Max slippage"}),o.jsx(B.Typography,{variant:"body2",fontSize:12,fontWeight:600,color:t.palette.text.primary,sx:{display:"block",opacity:.5},children:e?`${e/100}%`:null})]}):null}const e9=4;function t9({minOutput:e,outputToken:t}){const n=We.useTheme();return!e||!t?null:o.jsxs(he,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",paddingLeft:n.spacing(1),paddingRight:n.spacing(3)},children:[o.jsx(B.Typography,{variant:"body2",fontSize:12,fontWeight:"500",color:n.palette.text.primary,sx:{display:"block",opacity:.5},children:"Minimum output"}),o.jsx(B.Stack,{direction:"row",spacing:n.spacing(1),children:o.jsxs(B.Typography,{variant:"body2",fontSize:12,fontWeight:"600",color:n.palette.text.primary,sx:{display:"block",opacity:.5},children:[c2(e.toString(),e9),t]})})]})}var wo,Ra;function n9(){if(Ra)return wo;Ra=1;var e="Expected a function",t=NaN,n="[object Symbol]",i=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt,u=typeof Ze.commonjsGlobal=="object"&&Ze.commonjsGlobal&&Ze.commonjsGlobal.Object===Object&&Ze.commonjsGlobal,l=typeof self=="object"&&self&&self.Object===Object&&self,M=u||l||Function("return this")(),g=Object.prototype,N=g.toString,y=Math.max,T=Math.min,d=function(){return M.Date.now()};function f(j,L,p){var S,w,z,U,k,v,Q=0,P=!1,Z=!1,O=!0;if(typeof j!="function")throw new TypeError(e);L=D(L)||0,C(p)&&(P=!!p.leading,Z="maxWait"in p,z=Z?y(D(p.maxWait)||0,L):z,O="trailing"in p?!!p.trailing:O);function H(X){var W=S,V=w;return S=w=void 0,Q=X,U=j.apply(V,W),U}function $(X){return Q=X,k=setTimeout(Y,L),P?H(X):U}function _(X){var W=X-v,V=X-Q,J=L-W;return Z?T(J,z-V):J}function A(X){var W=X-v,V=X-Q;return v===void 0||W>=L||W<0||Z&&V>=z}function Y(){var X=d();if(A(X))return E(X);k=setTimeout(Y,_(X))}function E(X){return k=void 0,O&&S?H(X):(S=w=void 0,U)}function R(){k!==void 0&&clearTimeout(k),Q=0,S=v=w=k=void 0}function q(){return k===void 0?U:E(d())}function te(){var X=d(),W=A(X);if(S=arguments,w=this,v=X,W){if(k===void 0)return $(v);if(Z)return k=setTimeout(Y,L),H(v)}return k===void 0&&(k=setTimeout(Y,L)),U}return te.cancel=R,te.flush=q,te}function C(j){var L=typeof j;return!!j&&(L=="object"||L=="function")}function m(j){return!!j&&typeof j=="object"}function h(j){return typeof j=="symbol"||m(j)&&N.call(j)==n}function D(j){if(typeof j=="number")return j;if(h(j))return t;if(C(j)){var L=typeof j.valueOf=="function"?j.valueOf():j;j=C(L)?L+"":L}if(typeof j!="string")return j===0?j:+j;j=j.replace(i,"");var p=s.test(j);return p||a.test(j)?c(j.slice(2),p?2:8):r.test(j)?t:+j}return wo=f,wo}n9();function i9(e){const[t,n]=I.useState(!1),i=I.useCallback(()=>{n(r=>!r)},[]);return[t,i,n]}function r9({expanded:e,onToggle:t,sx:n}){return e?o.jsx(fc,{sx:{cursor:"pointer",width:18,height:18,marginLeft:"4px",...n},onClick:t}):o.jsx(gc,{sx:{cursor:"pointer",width:18,height:18,marginLeft:"4px",...n},onClick:t})}function o9({destChain:e,provider:t,eta:n,selectedRoute:i,handleToggleRoutes:r,sourceChain:s,quoteSlippageBps:a,minReceived:c,outputToken:u}){const l=We.useTheme(),[M,g]=i9(),N=c||a,y=!!n,T=!x.config.ui.hideRouteSelection,d=!x.config.ui.hideRouteDetails,f=T?"space-between":"end";return o.jsxs(De,{direction:"column",useFlexGap:!0,sx:{width:"100%"},children:[o.jsxs(De,{direction:"row",sx:{paddingLeft:l.spacing(.5),paddingRight:l.spacing(.5)},height:18,alignItems:"center",justifyContent:f,children:[T&&o.jsx(J6,{destChain:e,provider:t,route:i,sourceChain:s,onClick:r}),d&&o.jsxs(De,{direction:"row",gap:l.spacing(1),height:18,alignItems:"center",children:[o.jsx($6,{eta:n}),o.jsxs(De,{direction:"row",sx:{transition:"0.3s",color:y?l.palette.text.primary:l.palette.text.secondary,"&:hover":{color:l.palette.text.accent}},children:[!y&&o.jsx(Me,{variant:"body2",sx:{fontWeight:500,cursor:"pointer"},onClick:g,children:"Details"}),N&&o.jsx(r9,{expanded:M,onToggle:g})]})]})]}),N&&o.jsxs(c0,{in:M,timeout:500,children:[o.jsx(K6,{slippage:a}),o.jsx(t9,{minOutput:c,outputToken:u})]})]})}function s9(e){if(!(!e||!e.success))return e.details?.slippageBps}function a9(e){if(!(!e||!e.success))return e.details?.minReceived}function c9({routes:e,selectedRoute:t,onRouteChange:n,quotes:i,isLoading:r,onManualGasChange:s}){const a=tt(),c=B.useTheme(),u=B.useMediaQuery(c.breakpoints.down("sm")),{toNativeToken:l}=Ae(E=>({...E.relay})),{toChain:M,fromChain:g}=Ae(E=>E.transferInput),[N,y]=I.useState(!1),[T,d]=I.useState(!1),[f,C]=I.useState(),[m,h]=I.useState(l),[D,j]=I.useState(t),[L,p]=I.useState("fastest"),S=e.filter(E=>i[E]!==void 0),{fastestRoute:w,cheapestRoute:z}=x.getBestRoutes(S,i),U=I.useMemo(()=>{if(!t)return;const E=i[t];return E?.success?E:void 0},[t,i]);I.useEffect(()=>{t&&(t!==f&&C(t),t===w.name?p("fastest"):t===z.name?p("cheapest"):p(""))},[t,w.name,z.name]);const k=I.useMemo(()=>({toggleGroup:{height:"32px",width:"100%",maxWidth:"174px",gap:"4px",padding:"4px",backgroundColor:c.palette.toggle.background,borderRadius:"24px"},toggleButton:{border:"none",borderRadius:"24px !important",color:c.palette.toggle.text,width:"100%",padding:"4px 0",fontSize:"12px",fontWeight:600,textTransform:"none","&:hover":{backgroundColor:c.palette.toggle.background,color:c.palette.toggle.text},"&.Mui-selected, &.Mui-selected:hover":{backgroundColor:c.palette.toggle.active,color:c.palette.toggle.activeText}},toggleButtonLabel:{fontSize:"12px",fontWeight:600,textTransform:"none"}}),[c]),v=I.useCallback(()=>{y(!1),f!==D&&(C(D),a(Ot(m)))},[f,D,m,a]),Q=I.useCallback(()=>{d(!1),f!==D&&(C(D),a(Ot(m)))},[f,D,m,a]),P=I.useCallback(()=>{h(l),j(t),u?d(!0):y(E=>!E)},[u,t,l]),Z=I.useCallback(E=>{E!==f&&(C(E),l!==0&&a(Ot(0)))},[a,f,l]),O=I.useCallback(E=>{E!==l&&(a(Ot(E)),s())},[a,l,s]),H=I.useCallback(()=>{f&&n(f),h(l),j(f),u?d(!1):y(!1)},[f,l,u,n]),$=!x.config.ui.hideRouteSelectionPills&&!!w.name&&!!z.name&&z.name!==w.name,_=I.useMemo(()=>$?o.jsx(he,{sx:{paddingLeft:c.spacing(.5),display:"flex",width:"100%",justifyContent:"flex-start",alignItems:"center"},children:o.jsxs(s0,{exclusive:!0,size:"small",value:L,sx:k.toggleGroup,onChange:(E,R)=>{R==="fastest"&&w.name?(n(w.name),p("fastest")):R==="cheapest"&&z.name&&(n(z.name),p("cheapest"))},children:[o.jsx(xi,{disableRipple:!0,value:"fastest",disabled:!w.name,sx:k.toggleButton,children:"Fastest"}),o.jsx(xi,{disableRipple:!0,value:"cheapest",disabled:!z.name,sx:k.toggleButton,children:"Cheapest"})]})}):null,[$,c,w.name,z.name,L,k.toggleGroup,k.toggleButton,n]),A=!!t&&t===f;return!!x.config.ui.hideRouteSelection&&!!x.config.ui.hideRouteDetails||!r&&e.length===0?null:o.jsxs(o.Fragment,{children:[r?o.jsx(H6,{}):o.jsx(o.Fragment,{children:o.jsxs(De,{sx:{width:"100%",alignItems:"center",gap:"16px",paddingBottom:c.spacing(3)},children:[_,o.jsx(o9,{destChain:M,provider:U?.provider,eta:U?.eta,selectedRoute:t,sourceChain:g,handleToggleRoutes:P,quoteSlippageBps:s9(U),minReceived:a9(U),outputToken:U?.details?.toToken?.symbol})]})}),u?o.jsx(B6,{open:T,onOpen:()=>d(!0),onClose:Q,routesWithQuotes:S,highlightedRoute:f,quotes:i,fastestRoute:w,cheapestRoute:z,onRouteSelect:Z,onGasChange:O,onRouteConfirm:H,selectButtonDisabled:A}):o.jsx(W6,{open:N,onClose:v,routesWithQuotes:S,highlightedRoute:f,quotes:i,fastestRoute:w,cheapestRoute:z,onRouteSelect:Z,onGasChange:O,onRouteConfirm:H,selectButtonDisabled:A})]})}const u9=I.memo(c9),l9=B.createSvgIcon(o.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{y:"0.5",width:"36",height:"36",rx:"8",fill:"none"}),o.jsx("path",{d:"M18.5 14.8235L15 11.3235L11.5 14.8235",stroke:"currentColor",strokeWidth:"1.5"}),o.jsx("path",{d:"M24.5 21.8235L21 25.3235L17.5 21.8235",stroke:"currentColor",strokeWidth:"1.5"}),o.jsx("path",{d:"M21 25.3235L21 16.3235",stroke:"currentColor",strokeWidth:"1.5"}),o.jsx("path",{d:"M15 11.3235L15 20.3235",stroke:"currentColor",strokeWidth:"1.5"})]}),"SwapVertical");function M9(){const e=tt(),t=B.useTheme(),[n,i]=I.useState(""),{isTransactionInProgress:r,fromChain:s,toChain:a,token:c,destToken:u}=Ae(N=>N.transferInput),l=I.useMemo(()=>({swapButton:{display:"flex",position:"absolute",backgroundColor:t.palette.input.background,border:`2px solid ${t.palette.input.border}`,borderRadius:"36px",left:"calc(50% - 18px)",top:"calc(50% - 18px)",width:36,height:36,zIndex:1,transition:"background-color 0.2s ease-in-out",animation:`${n} 0.3s linear 1`,"@keyframes spinRight":{"0%":{transform:"rotate(-180deg)"},"100%":{transform:"rotate(0deg)"}},"@keyframes spinLeft":{"0%":{transform:"rotate(180deg)"},"100%":{transform:"rotate(0deg)"}},"&:disabled":{backgroundColor:t.palette.input.background},"&:hover:not(:disabled)":{backgroundColor:t.palette.mode==="dark"?Ge(t.palette.input.background).lighten(.1).hex():Ge(t.palette.input.background).darken(.1).hex()}}}),[t.palette.input.background,t.palette.input.border,t.palette.mode,n]),M=!r&&s&&a,g=I.useCallback(()=>{if(!(!M||r)){if(i(N=>N==="spinRight"?"spinLeft":"spinRight"),e(Ot(0)),e(eu()),e(yn("")),ps(s,!1),ps(a,!0),c){const N=x.config.tokens.get(c);N&&Ds(N,!1)}if(u){const N=x.config.tokens.get(u);N&&Ds(N,!0)}}},[M,r,e,a,s,c,u]);return o.jsx(Tn,{sx:l.swapButton,disabled:!M,disableRipple:!0,onClick:g,children:o.jsx(l9,{sx:{width:"36px",height:"36px",color:M?t.palette.text.primary:t.palette.text.disabled}})})}const d9=I.memo(M9);function g9({title:e,align:t="left",description:n}){const i=We.useTheme(),r=I.useMemo(()=>({container:{width:"100%",display:"flex",flexDirection:"column",gap:"8px",marginBottom:"0px",[i.breakpoints.down("sm")]:{marginBottom:"20px"}},header:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},left:{display:"flex",flexGrow:1,alignItems:"center",textAlign:t},description:{fontWeight:"300",fontSize:"14px",opacity:"0.6",marginBottom:"40px"}}),[i,t]);return o.jsxs(he,{sx:r.container,children:[o.jsx(he,{sx:r.header,children:o.jsx(he,{sx:r.left,children:o.jsx(Xn,{text:e,align:t})})}),n&&o.jsx(he,{sx:r.description,children:n})]})}const Xs=()=>{const e={text:"",align:"left"},t=typeof x.config.ui.pageHeader=="string"?{...e,text:x.config.ui.pageHeader}:{...e,...x.config.ui.pageHeader};return t.text?o.jsx(g9,{title:t.text,align:t.align}):null},f9=B.createSvgIcon(o.jsxs("svg",{width:"16",height:"19",viewBox:"0 0 16 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M7.75316 14.4526C7.75341 13.6108 7.98056 12.7845 8.41069 12.0608C8.84083 11.3372 9.45805 10.7428 10.1974 10.3402C10.9368 9.93769 11.771 9.74185 12.6123 9.77334C13.4536 9.80482 14.2708 10.0625 14.978 10.5191C14.983 10.1722 14.9857 9.80192 14.9857 9.40238C14.9857 7.34816 14.9158 6.06606 14.7778 4.73805H14.7974C14.7211 3.99804 14.4385 3.29433 13.9818 2.70707C13.5251 2.11981 12.9127 1.6726 12.2142 1.41636C12.1773 1.40238 12.1404 1.38908 12.1031 1.37643C11.8271 1.28366 11.5418 1.22152 11.2522 1.19114L11.2246 1.18814C10.1198 1.07471 9.94245 0.983887 7.61277 0.983887C5.2831 0.983887 4.90619 1.07471 3.8024 1.18981L3.77478 1.1928C3.47079 1.22473 3.17151 1.29171 2.8829 1.3924V1.37743C2.16329 1.6221 1.52891 2.06797 1.05498 2.66219C0.581041 3.25641 0.287419 3.97405 0.208915 4.73006C0.0705256 6.06073 0 7.34417 0 9.40238C0 11.4606 0.0705256 12.744 0.208915 14.0747C0.303414 14.9827 0.707339 15.8307 1.35292 16.4762C1.99849 17.1217 2.84644 17.5255 3.75449 17.6199L3.7821 17.6229C4.88689 17.738 5.06387 17.8289 7.39355 17.8289C8.16534 17.8289 8.72422 17.8189 9.16301 17.8013C8.71616 17.3656 8.36117 16.8448 8.11902 16.2697C7.87687 15.6945 7.75246 15.0767 7.75316 14.4526ZM3.86094 5.41336H11.1234C11.3336 5.41336 11.5351 5.49685 11.6837 5.64545C11.8323 5.79406 11.9158 5.99562 11.9158 6.20578C11.9158 6.41594 11.8323 6.61749 11.6837 6.7661C11.5351 6.91471 11.3336 6.99819 11.1234 6.99819H3.86261C3.65245 6.99819 3.45089 6.91471 3.30229 6.7661C3.15368 6.61749 3.07019 6.41594 3.07019 6.20578C3.07019 5.99562 3.15368 5.79406 3.30229 5.64545C3.45089 5.49685 3.65245 5.41336 3.86261 5.41336H3.86094ZM3.86094 10.3891C3.65355 10.3848 3.45608 10.2995 3.31091 10.1513C3.16574 10.0031 3.08444 9.80393 3.08444 9.59649C3.08444 9.38906 3.16574 9.18988 3.31091 9.04171C3.45608 8.89353 3.65355 8.80816 3.86094 8.80391H8.00299C8.10844 8.80175 8.21326 8.82066 8.31132 8.85952C8.40937 8.89838 8.49868 8.95641 8.57402 9.03023C8.64936 9.10404 8.70921 9.19214 8.75007 9.28938C8.79093 9.38661 8.81198 9.49102 8.81198 9.59649C8.81198 9.70197 8.79093 9.80638 8.75007 9.90361C8.70921 10.0008 8.64936 10.089 8.57402 10.1628C8.49868 10.2366 8.40937 10.2946 8.31132 10.3335C8.21326 10.3723 8.10844 10.3912 8.00299 10.3891H3.86094Z",fill:"currentColor"}),o.jsx("path",{d:"M12.4362 10.8887C11.7313 10.8887 11.0423 11.0977 10.4562 11.4893C9.87013 11.8809 9.41334 12.4375 9.1436 13.0887C8.87386 13.7399 8.80328 14.4565 8.94079 15.1478C9.07831 15.8391 9.41773 16.4742 9.91615 16.9726C10.4146 17.471 11.0496 17.8104 11.7409 17.9479C12.4322 18.0855 13.1488 18.0149 13.8 17.7451C14.4512 17.4754 15.0078 17.0186 15.3994 16.4325C15.791 15.8465 16.0001 15.1574 16.0001 14.4525C16.0001 13.5073 15.6246 12.6009 14.9562 11.9325C14.2879 11.2642 13.3814 10.8887 12.4362 10.8887ZM13.8487 14.9742H12.3653C12.2528 14.9742 12.145 14.9295 12.0654 14.8499C11.9859 14.7704 11.9412 14.6625 11.9412 14.55V12.2712C11.9412 12.1587 11.9859 12.0509 12.0654 11.9713C12.145 11.8918 12.2528 11.8471 12.3653 11.8471C12.4778 11.8471 12.5857 11.8918 12.6653 11.9713C12.7448 12.0509 12.7895 12.1587 12.7895 12.2712V14.1259H13.8487C13.9612 14.1259 14.0691 14.1706 14.1486 14.2501C14.2282 14.3296 14.2728 14.4375 14.2728 14.55C14.2728 14.6625 14.2282 14.7704 14.1486 14.8499C14.0691 14.9295 13.9612 14.9742 13.8487 14.9742Z",fill:"currentColor"})]}),"History");var Ir={exports:{}},h9=Ir.exports,_a;function j9(){return _a||(_a=1,(function(e,t){(function(n,i){e.exports=i(I)})(typeof self<"u"?self:h9,(n=>(()=>{var i={155:d=>{d.exports=n}},r={};function s(d){var f=r[d];if(f!==void 0)return f.exports;var C=r[d]={exports:{}};return i[d](C,C.exports,s),C.exports}s.d=(d,f)=>{for(var C in f)s.o(f,C)&&!s.o(d,C)&&Object.defineProperty(d,C,{enumerable:!0,get:f[C]})},s.o=(d,f)=>Object.prototype.hasOwnProperty.call(d,f),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var a={};s.r(a),s.d(a,{useStopwatch:()=>y,useTime:()=>T,useTimer:()=>N});var c=s(155);class u{static getTimeFromMilliseconds(f,C=!0){const m=C?Math.ceil(f/1e3):Math.floor(f/1e3),h=Math.floor(m/86400),D=Math.floor(m%86400/3600),j=Math.floor(m%3600/60),L=Math.floor(m%60);return{totalMilliseconds:f,totalSeconds:m,milliseconds:Math.floor(f%1e3),seconds:L,minutes:j,hours:D,days:h}}static getMillisecondsFromExpiry(f){const C=new Date().getTime(),m=f?.getTime()-C;return m>0?m:0}static getMillisecondsFromPrevTime(f){const C=new Date().getTime()-f;return C>0?C:0}static getMillisecondsFromTimeNow(){const f=new Date;return f.getTime()-60*f.getTimezoneOffset()*1e3}static getFormattedTimeFromMilliseconds(f,C){const{milliseconds:m,seconds:h,minutes:D,hours:j}=u.getTimeFromMilliseconds(f);let L="",p=j;return C==="12-hour"&&(L=j>=12?"pm":"am",p=j%12),{milliseconds:m,seconds:h,minutes:D,hours:p,ampm:L}}}class l{static expiryTimestamp(f){const C=new Date(f).getTime()>0;return C||console.warn("react-timer-hook: { useTimer } Invalid expiryTimestamp settings",f),C}static onExpire(f){const C=f&&typeof f=="function";return f&&!C&&console.warn("react-timer-hook: { useTimer } Invalid onExpire settings function",f),C}}function M(d,f){const C=(0,c.useRef)(d);(0,c.useEffect)((()=>{C.current=d})),(0,c.useEffect)((()=>{if(!f)return()=>{};const m=setInterval((()=>{var h;(h=C?.current)===null||h===void 0||h.call(C)}),f);return()=>clearInterval(m)}),[f])}const g=1e3;function N({expiryTimestamp:d,onExpire:f=()=>{},autoStart:C=!0,interval:m=g}){const[h,D]=(0,c.useState)(d),[j,L]=(0,c.useState)(u.getMillisecondsFromExpiry(h)),[p,S]=(0,c.useState)(C),[w,z]=(0,c.useState)(C),[U,k]=(0,c.useState)(m),v=(0,c.useCallback)((()=>{l.onExpire(f)&&f(),S(!1),k(null)}),[f]),Q=(0,c.useCallback)((()=>{S(!1)}),[]),P=(0,c.useCallback)(((H,$=!0)=>{k(m),z($),S($),D(H),L(u.getMillisecondsFromExpiry(H))}),[m]),Z=(0,c.useCallback)((()=>{const H=new Date;H.setMilliseconds(H.getMilliseconds()+j),P(H)}),[j,P]),O=(0,c.useCallback)((()=>{w?(L(u.getMillisecondsFromExpiry(h)),S(!0)):Z()}),[h,w,Z]);return M((()=>{const H=u.getMillisecondsFromExpiry(h);L(H),H<=0?v():U&&H<U&&k(H)}),p?U:null),(0,c.useEffect)((()=>{l.expiryTimestamp(h)}),[h]),Object.assign(Object.assign({},u.getTimeFromMilliseconds(j)),{start:O,pause:Q,resume:Z,restart:P,isRunning:p})}function y({autoStart:d=!0,offsetTimestamp:f,interval:C=g}={}){const m=f?u.getMillisecondsFromExpiry(f):0,[h,D]=(0,c.useState)(new Date().getTime()-new Date(m).getTime()),[j,L]=(0,c.useState)(u.getMillisecondsFromPrevTime(h||0)),[p,S]=(0,c.useState)(d),w=g-j%g,[z,U]=(0,c.useState)(C<w?C:w);M((()=>{z!==C&&U(C),L(u.getMillisecondsFromPrevTime(h))}),p?z:null);const k=(0,c.useCallback)((()=>{D(new Date().getTime()-new Date(j).getTime()),S(!0)}),[j]),v=(0,c.useCallback)((()=>{p&&(L(u.getMillisecondsFromPrevTime(h)),S(!1))}),[h,p]),Q=(0,c.useCallback)(((P,Z=!0)=>{const O=P?u.getMillisecondsFromExpiry(P):0,H=new Date().getTime()-new Date(O).getTime(),$=u.getMillisecondsFromPrevTime(H),_=g-$%g;D(H),L($),U(C<_?C:_),S(Z)}),[C]);return Object.assign(Object.assign({},u.getTimeFromMilliseconds(j,!1)),{start:k,pause:v,reset:Q,isRunning:p})}function T({format:d,interval:f=g}={}){const[C,m]=(0,c.useState)(u.getMillisecondsFromTimeNow());return M((()=>{m(u.getMillisecondsFromTimeNow())}),f),Object.assign({},u.getFormattedTimeFromMilliseconds(C,d))}return a})()))})(Ir)),Ir.exports}var q2=j9();const Qa=60*1e3,N9=120*1e3,X2=e=>{const[t,n]=I.useState(!1),[i,r]=I.useState(!1),[s,a]=I.useState(),{getOrFetchToken:c}=ft(),{eta:u,route:l,receivedTokenId:M}=e,g=Ae(y=>y.wallet),{receiving:N}=g;return I.useEffect(()=>{e.receipt&&a(e.receipt)},[e.receipt]),I.useEffect(()=>{let y=!0;return(async()=>{if(!l||!s)return;const d=x.config.routes.get(l);if(!d)return;const f=h=>h.valueOf()-new Date().valueOf(),C=await x.getWormholeContextV2(),m=new d.rc(C);for(;y&&!b.isCompleted(s);){if(u!==void 0){const D=f(u);D>Qa&&await x.sleep(D-Qa)}try{for await(const D of m.track(s,N9)){if(!y)break;if(D.state!==s.state){if(a(D),b.isCompleted(D)){n(!0),M&&c(M).catch(j=>console.error("Error fetching token:",j)),g2(N,s.to);break}!d.AUTOMATIC_DEPOSIT&&D.state>=b.TransferState.Attested&&r(!0)}}}catch(D){console.error("Error tracking transfer:",D)}let h=5e3;u!==void 0&&d.AUTOMATIC_DEPOSIT&&f(u)<1e4&&(h=3e3),await x.sleep(h)}})(),()=>{y=!1}},[u,s,l,N,M,c]),{isCompleted:t,isReadyToClaim:i,receipt:s}},y9=B.createSvgIcon(o.jsx("path",{d:"M4 12H20M20 12L13 5M20 12L13 19",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),"ArrowRight"),$2=B.createSvgIcon(o.jsxs("svg",{width:"107",height:"106",viewBox:"0 0 107 106",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.2079 105.5C82.2486 105.5 105.791 81.9949 105.791 53C105.791 24.0051 82.2486 0.5 53.2079 0.5C24.1672 0.5 0.625 24.0051 0.625 53C0.625 81.9949 24.1672 105.5 53.2079 105.5ZM53.207 102.097C80.3654 102.097 102.382 80.1157 102.382 53.0001C102.382 25.8844 80.3654 3.90283 53.207 3.90283C26.0485 3.90283 4.03223 25.8844 4.03223 53.0001C4.03223 80.1157 26.0485 102.097 53.207 102.097Z",fill:"currentColor"}),o.jsx("path",{d:"M46.8789 68L32.628906 53.75L36.19141 50.1875L46.8789 60.875L69.8164 37.9375L73.3789 41.5L46.8789 68Z",fill:"currentColor"})]}),"Alert"),I9=e=>{const[t,n]=I.useState(""),[i,r]=I.useState(!1),s=tt(),a=I.useContext(En),c=We.useTheme(),u=I.useMemo(()=>({alertBanner:{marginTop:"12px"},arrowIcon:{fontSize:"16px",margin:"0 4px"},card:{width:"100%",boxShadow:`0px 0px 3.5px 0px ${c.palette.primary.main}`},cardContent:{padding:"16px 20px",":last-child":{padding:"16px 20px"}},cardActionArea:{height:"72px"},chainIconContainer:{border:`2px solid ${c.palette.input.background}`,borderRadius:"6px",display:"flex",alignItems:"center",justifyContent:"center"},completedIcon:{color:c.palette.success.main,height:"24px",width:"24px"},container:{width:"100%",maxWidth:"456px"},progressBar:{borderRadius:"4px",marginTop:"8px"}}),[c]),{data:l}=e,{receipt:M,route:g,timestamp:N,txDetails:y,txHash:T}=l,{amount:d,eta:f,fromChain:C,toChain:m,token:h,receivedToken:D}=y||{},j=x.config.tokens.get(h),L=x.config.tokens.get(D),{seconds:p,minutes:S,totalSeconds:w,isRunning:z,restart:U}=q2.useTimer({expiryTimestamp:new Date,autoStart:!1,onExpire:()=>r(!0)}),k=I.useMemo(()=>{if(f&&N)return new Date(N+f)},[f,N]),{isCompleted:v,isReadyToClaim:Q,receipt:P}=X2({eta:k,receipt:M,route:g,receivedTokenId:L});I.useEffect(()=>{v&&T&&Xo(T)},[v,T]);const Z=P||M,O=I.useMemo(()=>{if(!f||!N)return 0;const A=Date.now()-N;return f<A?0:f-A},[f,N,w]),H=I.useMemo(()=>Q||l.isReadyToClaim?"Ready to claim...":i||O===0?"Wrapping up...":z?Hs(S,p):o.jsx(St,{size:16}),[i,O,Q,z,S,p,l]),$=I.useMemo(()=>!f||O>f||!i&&O===0?0:i?100:(f-O)/f*100,[f,i,O]);I.useEffect(()=>{!z&&!v&&O&&U(new Date(Date.now()+O),!0)},[O,v,z,U]);const _=I.useCallback(async()=>{if(n(""),!Z){n("No receipt found for this transaction");return}try{const A=await x.getWormholeContextV2(),Y=new(x.config.routes.get(g)).rc(A);s(E0(N)),s(Rs(y)),s(S0(!0)),s(_s(g)),s(Qs(y.toChain)),s(Bt("redeem")),a.setReceipt(Z),a.setRoute(Y)}catch{n(`Error resuming transaction: ${y.sendTx}`)}},[s,Z,g,a,N,y]);return!l||!j?o.jsx(o.Fragment,{}):o.jsxs(he,{sx:u.container,children:[o.jsx(wn,{sx:u.card,children:o.jsx(ks,{disableTouchRipple:!0,sx:u.cardActionArea,disabled:e.disabled||!y,onClick:_,children:o.jsxs(An,{sx:u.cardContent,children:[o.jsxs(De,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[o.jsx(Me,{display:"flex",justifyContent:"space-between",children:v?o.jsx($2,{sx:u.completedIcon}):H}),o.jsxs(De,{direction:"row",alignItems:"center",children:[o.jsx(Me,{fontSize:14,marginRight:"8px",children:`${b.display(b.truncate(d,6))} ${x.getTokenDisplaySymbolByTokenAddress(j)}`}),o.jsx(he,{sx:u.chainIconContainer,children:o.jsx(pn,{icon:x.config.chains[C]?.icon,height:24})}),o.jsx(y9,{sx:u.arrowIcon}),o.jsx(he,{sx:u.chainIconContainer,children:o.jsx(pn,{icon:x.config.chains[m]?.icon,height:24})})]})]}),!v&&o.jsx(jc,{variant:"determinate",value:$,sx:u.progressBar})]})})}),t&&o.jsx(Vn,{sx:u.alertBanner,color:t?c.palette.error.light:c.palette.grey.A400,error:!!t,children:t})]})},L9=e=>{const t=B.useTheme(),[n,i]=I.useState();return I.useEffect(()=>{const s=Qr()?.filter(a=>{if(!a?.txDetails?.token)return!1;try{return!!x.config.tokens.get(a?.txDetails?.token)}catch(c){return console.log("Error while parsing token from local storage (in-progress widget):",c),!1}});i(s)},[]),!n||n.length===0?o.jsx(o.Fragment,{}):o.jsxs(B.Box,{sx:{display:"flex",flexDirection:"column",gap:"16px",marginBottom:"16px",alignItems:"center",justifyContent:"center",width:"100%"},children:[o.jsx(B.Box,{sx:{width:"100%",display:"flex",alignItems:"center"},children:o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,children:"Transactions in progress"})}),n.map(r=>o.jsx(I9,{data:r,disabled:e.disabled},r.txHash))]})},x9=B.createSvgIcon(o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M10 8C10 9.10457 9.10457 10 8 10C6.89543 10 6 9.10457 6 8M10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8M10 8H14M6 8H2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})}),"Alert"),T9=({showHistory:e,isTransactionInProgress:t,isWalletConnected:n,onToggleHistory:i})=>{const r=B.useTheme(),s=B.useMediaQuery(r.breakpoints.down("sm")),a=I.useMemo(()=>({titleContent:{maxWidth:s?"420px":"488px"},bridgeHeader:{width:"100%",minHeight:"28px",display:"flex",alignItems:"center"}}),[s]),c=!n||t,u=!n&&"No connected wallets found"||(e?"Show bridge":"Show history");return o.jsxs(he,{sx:a.titleContent,children:[o.jsx(Xs,{}),x.config.ui.showInProgressWidget&&o.jsx(L9,{disabled:t}),o.jsxs(he,{sx:a.bridgeHeader,children:[o.jsx(x9,{style:{marginRight:"4px"}}),o.jsx(Xn,{align:"left",text:x.config.ui.title??"Bridge",size:24,weight:600}),!x.config.ui.hideHistory&&o.jsx(zr,{title:u,children:o.jsx("span",{children:o.jsx(Tn,{"data-testid":"history-button","aria-label":e?"Show bridge":"Show history",sx:{backgroundColor:r.palette.formContainer.background+Nt[20],color:r.palette.icon.secondary,padding:"12px",width:"40px",height:"40px",border:`1px solid ${r.palette.input.border}`,borderRadius:"40px"},disabled:c,onClick:i,children:e?o.jsx(hc,{sx:{fontSize:"16px"}}):o.jsx(f9,{sx:{fontSize:"16px"}})})})})]})]})},C9=I.memo(T9),m9=({validation:e})=>{const t=e.error||e.warning||e.info;return t?o.jsx(Vn,{error:!!e.error,warning:!!e.warning,children:t}):null},p9=I.memo(m9);function D9(e){return"payloadType"in e.content.payload&&e.content.payload.payloadType===2}const Ao=8,w9=e=>{const[t,n]=I.useState(),[i,r]=I.useState(""),[s,a]=I.useState(!1),[c,u]=I.useState(!0),{getOrFetchToken:l}=ft(),{address:M,page:g=0,pageSize:N=30,chains:y}=e,T=I.useMemo(()=>{if(!(!y||y.length===0))return y.map(w=>b.chainToChainId(w))},[y]),d=I.useCallback(async w=>{const{content:z,data:U,sourceChain:k,targetChain:v}=w,{standarizedProperties:Q,payload:P}=z||{},Z=Q.fromChain||k?.chainId,O=Q.toChain||v?.chainId,H=Q.tokenChain,$=b.chainIdToChain(Z);if(!$)return;const _=H?b.chainIdToChain(H):b.chainIdToChain(O);if(!_)return;let A;try{A=await l(b.Wormhole.tokenId(_,Q.tokenAddress))}catch{}if(!A){const V=U?.symbol&&x.config.tokens.findBySymbol(_,U.symbol);V&&(A=V)}A||console.warn("Can't find token",w);const Y=b.chainIdToChain(O);let E,R,q;if(U&&U.tokenAmount?E=U.tokenAmount:Q.amount&&(E=b.display({amount:Q.amount,decimals:Ao},0)),Q.amount){const V=Q.fee||P.fee||P.parsedPayload?.feeAmount||P.parsedPayload?.relayerFee||"0",J=BigInt(Q.amount)-BigInt(V);J>0&&(R=b.display({amount:J.toString(),decimals:Ao},0))}U&&U.usdAmount&&(q=Number(U.usdAmount));const te=k.transaction?.txHash,X=k?.status?.toLowerCase()==="confirmed"&&v?.status?.toLowerCase()!=="completed";return{txHash:te,sender:Q.fromAddress||k.from,recipient:Q.toAddress,amount:E,amountUsd:q,receiveAmount:R,fromChain:$,fromToken:A,toChain:Y,toToken:A,senderTimestamp:k?.timestamp,receiverTimestamp:v?.timestamp,explorerLink:`${n0.WORMSCAN}tx/${te}${x.config.isMainnet?"":"?network=TESTNET"}`,inProgress:X}},[l]),f=I.useCallback(w=>{if(!D9(w))return d(w)},[d]),C=I.useCallback(w=>d(w),[d]),m=I.useCallback(w=>d(w),[d]),h=I.useCallback(w=>d(w),[d]),D=I.useCallback(w=>d(w),[d]),j=I.useCallback(async w=>{const z=await d(w);if(!z)return;const U=w.content.payload.parsedPayload,{finalTokenAddress:k,flagSet:v,minAmountFinish:Q,recipientAddress:P,relayerFee:Z}=U,O=x.config.tokens.get(b.chainIdToChain(w.content.standarizedProperties.tokenChain),w.content.standarizedProperties.tokenAddress);if(!O)return;const H=v.flags?.shouldWrapNative?x.getGasToken(z.fromChain):O,$=x.config.tokens.get(b.Wormhole.tokenId(z.toChain,b.toNative(z.toChain,k).toString()));if(!$)return;const _=BigInt(Q)-BigInt(Z);return z.fromToken=H,z.toToken=v.flags.shouldUnwrapNative?x.getGasToken(z.toChain):$,z.receiveAmount=_>0?c2(b.display(b.fromBaseUnits(_,$.decimals),0),Ao):"",z.recipient=b.toNative(z.toChain,P).toString(),z},[d]),L=I.useCallback(w=>d(w),[d]),p=I.useMemo(()=>({PORTAL_TOKEN_BRIDGE:f,GENERIC_RELAYER:C,NATIVE_TOKEN_TRANSFER:m,MTT:h,CCTP_WORMHOLE_INTEGRATION:D,ETH_BRIDGE:j,USDT_BRIDGE:j,FAST_TRANSFERS:L,WORMHOLE_LIQUIDITY_LAYER:L}),[D,m,h,j,f,L,C]),S=I.useCallback(async w=>(await Promise.all(w.map(async z=>{const U=z.content?.standarizedProperties?.appIds||[];if(U.includes("ETH_BRIDGE")||U.includes("USDT_BRIDGE"))return j(z);for(const k of U){const v=p[k];if(v)return v(z)}}))).filter(z=>!!z),[p,j]);return I.useEffect(()=>{let w=!1;const z=new Headers({accept:"application/json"});return(async()=>{a(!0);try{let k=`${x.config.wormholeApi}api/v1/operations?address=${M}&page=${g}&pageSize=${N}`;T&&T.length>0&&(k+=`&includesChain=${T.join(",")}`);const v=await fetch(k,{headers:z});if(v.status!==200)n([]),u(!1);else{const Q=await v.json();if(!w){const P=Q?.operations;if(P){const Z=await S(P);n(O=>{if(O&&O.length>0){const H=new Set;return O.forEach($=>{$?.txHash&&H.add($.txHash)}),O.concat(Z.filter($=>!H.has($.txHash)))}return Z})}P?.length<N&&u(!1)}}}catch(k){w||(u(!1),r(`Error fetching transaction history from WormholeScan: ${k}`))}finally{a(!1)}})(),()=>{w=!0}},[M,g,N,S,T]),{transactions:t,error:i,isFetching:s,hasMore:c}},A9=e=>{const[t,n]=I.useState(),[i,r]=I.useState(""),[s,a]=I.useState(!1),[c,u]=I.useState(!0),{address:l,page:M=0,pageSize:g=30,chains:N}=e,y=d=>{const{fromAmount:f,sourceChain:C,destChain:m,fromTokenPrice:h,fromTokenAddress:D,initiatedAt:j,toAmount:L,toTokenAddress:p,sourceTxHash:S,trader:w,destAddress:z,clientStatus:U}=d,k=U?.toLowerCase();if(k==="refunded")return;const v=b.chainIdToChain(C),Q=b.chainIdToChain(m);if(!v||!Q)return;let P,Z;try{P=x.config.tokens.get(Pa(v,D)),Z=x.config.tokens.get(Pa(Q,p))}catch($){console.error($);return}if(!P&&d.fromTokenSymbol){const $=x.config.tokens.findBySymbol(v,d.fromTokenSymbol);$&&(P=$)}if(!Z&&d.toTokenSymbol){const $=x.config.tokens.findBySymbol(Q,d.toTokenSymbol);$&&(Z=$)}if(!P||!Z){console.error("Cant find tokenz");return}const O=k!=="completed";return{txHash:S,sender:w,amount:f,amountUsd:Number(f)*h,recipient:z,fromChain:v,fromToken:P,toChain:Q,toToken:Z,receiveAmount:L,senderTimestamp:j,explorerLink:`https://explorer.mayan.finance/swap/${S}`,inProgress:O}},T=I.useCallback(d=>{const f=d.map(C=>y(C)).filter(C=>!!C);return N&&N.length>0?f.filter(C=>C?N.includes(C.fromChain)||N.includes(C.toChain):!1):f},[N]);return I.useEffect(()=>{let d=!1;return(async()=>{a(!0);const C=g,m=C*M;try{const h=await fetch(`${x.config.mayanApi}/v3/swaps?trader=${l}&offset=${m}&limit=${C}`);if(h.status!==200)n([]),u(!1);else{const D=await h.json();if(!d){const j=D?.data;j&&n(L=>{const p=T(j);if(L&&L.length>0){const S=new Set;return L.forEach(w=>{w?.txHash&&S.add(w.txHash)}),L.concat(p.filter(w=>!S.has(w.txHash)))}return p}),(N&&N.length>0||j?.length<C)&&u(!1)}}}catch(h){d||(u(!1),r(`Error fetching transaction history from Mayan: ${h}`))}finally{a(!1)}})(),()=>{d=!0}},[l,M,g,N,T]),{transactions:t,error:i,isFetching:s,hasMore:c}};function Pa(e,t){if(t==="0x0000000000000000000000000000000000000000")return{chain:e,address:"native"};const n=b.toNative(e,t);return{chain:e,address:n}}const Ba=10080*60,S9=365*24*60*60,E9=e=>{const[t,n]=I.useState(),[i,r]=I.useState(""),[s,a]=I.useState(!1),[c,u]=I.useState(!0),{address:l,page:M=0,pageSize:g=30,chains:N}=e,y=()=>{n(f=>f?.length===0?f:[])},T=f=>{try{const{sending:C,receiving:m,fromAddress:h,toAddress:D,status:j}=f,L=Ks.lifiChainIdToChain(C.chainId),p=m?Ks.lifiChainIdToChain(m.chainId):void 0;if(!L||!p)return;const S=e1.findToken(L,C.token.address,C.token.symbol),w=m?e1.findToken(p,m.token.address,m.token.symbol):void 0;if(!S||!w)return;let z,U;try{z=b.fromBaseUnits(BigInt(C.amount),S.decimals),U=m?.amount?b.fromBaseUnits(BigInt(m.amount),w.decimals):void 0}catch{return}const k=parseInt(C.timestamp,10),v=isNaN(k)?new Date:new Date(k*1e3),Q=m?.timestamp?parseInt(m.timestamp,10):void 0,P=Q&&!isNaN(Q)?new Date(Q*1e3):void 0;return{txHash:C.txHash,sender:h,recipient:D,amount:b.display(z),amountUsd:C.amountUSD?parseFloat(C.amountUSD):void 0,receiveAmount:U?b.display(U):void 0,fromChain:L,fromToken:S,toChain:p,toToken:w,senderTimestamp:v.toISOString(),receiverTimestamp:P?.toISOString(),explorerLink:`https://scan.li.fi/tx/${C.txHash}`,inProgress:j==="PENDING"}}catch(C){console.error("Error parsing LiFi transaction:",C);return}},d=I.useCallback(f=>{const C=f.map(m=>T(m)).filter(m=>!!m);return N&&N.length>0?C.filter(m=>m?N.includes(m.fromChain)||N.includes(m.toChain):!1):C},[N]);return I.useEffect(()=>{let f=!1;return(async()=>{if(!(!c&&M>0)){a(!0);try{const m=Date.now()/1e3,h=M*Ba,D=m-h,j=D-Ba;if(j<m-S9){u(!1);return}const L=new URLSearchParams({wallet:l,fromTimestamp:j.toString(),toTimestamp:D.toString(),status:"ALL"}),p=await fetch(`${x.config.lifiExplorerUrl}/v1/analytics/transfers?${L}`);if(!p.ok){p.status===429?r("Rate limit exceeded. Please try again later."):p.status>=500?r("LiFi service is temporarily unavailable."):p.status!==404&&r("Failed to fetch LiFi transactions."),y(),u(!1);return}let S;try{S=await p.json()}catch{r("Invalid response from LiFi service"),y(),u(!1);return}if(!f){const w=S?.transfers||S;Array.isArray(w)?(n(z=>{const U=d(w);if(z&&z.length>0){const k=new Set;return z.forEach(v=>{v?.txHash&&k.add(v.txHash)}),z.concat(U.filter(v=>!k.has(v.txHash)))}return U}),(N&&N.length>0||w.length<g)&&u(!1)):(y(),u(!1))}}catch(m){if(!f){const h=m instanceof Error?m.message:String(m);u(!1),h.includes("NetworkError")||h.includes("Failed to fetch")?r("Unable to connect to LiFi service."):h.includes("timeout")?r("LiFi request timed out."):r("Failed to load LiFi transactions.")}}finally{a(!1)}}})(),()=>{f=!0}},[l,M,g,N,d,c]),{transactions:t,error:i,isFetching:s,hasMore:c}};function z9(e){return[...e].sort((t,n)=>t.time?n.time?n.time.getTime()-t.time.getTime():-1:1)}const b9=e=>{const{page:t=0,pageSize:n=30}=e||{},[i,r]=I.useState(0),[s,a]=I.useState(0),[c,u]=I.useState(0),[l,M]=I.useState(t),[g,N]=I.useState(t),[y,T]=I.useState(t),[d,f]=I.useState(),{address:C}=Ae(H=>H.wallet.sending),{transactions:m,isFetching:h,hasMore:D,error:j}=w9({address:C,page:g,pageSize:n,chains:x.config.ui.transactionHistoryChains}),{transactions:L,isFetching:p,hasMore:S,error:w}=A9({address:C,page:l,pageSize:n,chains:x.config.ui.transactionHistoryChains}),{transactions:z,isFetching:U,hasMore:k,error:v}=E9({address:C,page:y,pageSize:n,chains:x.config.ui.transactionHistoryChains}),Q=I.useCallback((H,$)=>H?H.concat($):$,[]),P=I.useCallback(H=>{(!m||H<=m?.length)&&a(H)},[m]),Z=I.useCallback(H=>{(!L||H<=L?.length)&&r(H)},[L]),O=I.useCallback(H=>{(!z||H<=z?.length)&&u(H)},[z]);return I.useEffect(()=>{S&&l!==t&&M(t),D&&g!==t&&N(t),k&&y!==t&&T(t)},[S,D,k,l,t,g,y]),I.useEffect(()=>{if(!m?.length&&!L?.length&&!z?.length)return;const H=m||[],$=L||[],_=z||[],A=[];let Y=s,E=i,R=c;for(let X=0;X<n;X++){if(Y===H.length&&D||E===$.length&&S||R===_.length&&k){P(Y),Z(E),O(R);const ee=Q(d,A);f(ee);return}const W=H[Y],V=$[E],J=_[R];if(!W&&!V&&!J){P(Y),Z(E),O(R);const ee=Q(d,A);f(ee);return}const ie=[];W&&ie.push({item:W,source:"whscan",time:new Date(W.senderTimestamp)}),V&&ie.push({item:V,source:"mayan",time:new Date(V.senderTimestamp)}),J&&ie.push({item:J,source:"lifi",time:new Date(J.senderTimestamp)});const G=z9(ie)[0];G.item&&A.push(G.item),G.source==="whscan"?Y+=1:G.source==="mayan"?E+=1:G.source==="lifi"&&(R+=1)}P(Y),Z(E),O(R);const q=new Set,te=Q(d,A).filter(X=>X.txHash&&q.has(X.txHash)?!1:(q.add(X.txHash),!0));f(te)},[m,L,z]),{transactions:d,error:[j,w,v],isFetching:h||p||U,hasMore:D||S||k}};var Gi={exports:{}},Vi={exports:{}},be={};/** @license React v16.13.1
|
|
478
433
|
* react-is.production.min.js
|
|
479
434
|
*
|
|
480
435
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
481
436
|
*
|
|
482
437
|
* This source code is licensed under the MIT license found in the
|
|
483
438
|
* LICENSE file in the root directory of this source tree.
|
|
484
|
-
*/var
|
|
439
|
+
*/var Za;function O9(){if(Za)return be;Za=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,M=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,N=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,T=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function h(j){if(typeof j=="object"&&j!==null){var L=j.$$typeof;switch(L){case t:switch(j=j.type,j){case u:case l:case i:case s:case r:case g:return j;default:switch(j=j&&j.$$typeof,j){case c:case M:case T:case y:case a:return j;default:return L}}case n:return L}}}function D(j){return h(j)===l}return be.AsyncMode=u,be.ConcurrentMode=l,be.ContextConsumer=c,be.ContextProvider=a,be.Element=t,be.ForwardRef=M,be.Fragment=i,be.Lazy=T,be.Memo=y,be.Portal=n,be.Profiler=s,be.StrictMode=r,be.Suspense=g,be.isAsyncMode=function(j){return D(j)||h(j)===u},be.isConcurrentMode=D,be.isContextConsumer=function(j){return h(j)===c},be.isContextProvider=function(j){return h(j)===a},be.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===t},be.isForwardRef=function(j){return h(j)===M},be.isFragment=function(j){return h(j)===i},be.isLazy=function(j){return h(j)===T},be.isMemo=function(j){return h(j)===y},be.isPortal=function(j){return h(j)===n},be.isProfiler=function(j){return h(j)===s},be.isStrictMode=function(j){return h(j)===r},be.isSuspense=function(j){return h(j)===g},be.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===i||j===l||j===s||j===r||j===g||j===N||typeof j=="object"&&j!==null&&(j.$$typeof===T||j.$$typeof===y||j.$$typeof===a||j.$$typeof===c||j.$$typeof===M||j.$$typeof===f||j.$$typeof===C||j.$$typeof===m||j.$$typeof===d)},be.typeOf=h,be}var Oe={},Wa;function k9(){return Wa||(Wa=1,b.process$1.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,M=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,N=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,T=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function h(K){return typeof K=="string"||typeof K=="function"||K===i||K===l||K===s||K===r||K===g||K===N||typeof K=="object"&&K!==null&&(K.$$typeof===T||K.$$typeof===y||K.$$typeof===a||K.$$typeof===c||K.$$typeof===M||K.$$typeof===f||K.$$typeof===C||K.$$typeof===m||K.$$typeof===d)}function D(K){if(typeof K=="object"&&K!==null){var G=K.$$typeof;switch(G){case t:var ee=K.type;switch(ee){case u:case l:case i:case s:case r:case g:return ee;default:var ge=ee&&ee.$$typeof;switch(ge){case c:case M:case T:case y:case a:return ge;default:return G}}case n:return G}}}var j=u,L=l,p=c,S=a,w=t,z=M,U=i,k=T,v=y,Q=n,P=s,Z=r,O=g,H=!1;function $(K){return H||(H=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),_(K)||D(K)===u}function _(K){return D(K)===l}function A(K){return D(K)===c}function Y(K){return D(K)===a}function E(K){return typeof K=="object"&&K!==null&&K.$$typeof===t}function R(K){return D(K)===M}function q(K){return D(K)===i}function te(K){return D(K)===T}function X(K){return D(K)===y}function W(K){return D(K)===n}function V(K){return D(K)===s}function J(K){return D(K)===r}function ie(K){return D(K)===g}Oe.AsyncMode=j,Oe.ConcurrentMode=L,Oe.ContextConsumer=p,Oe.ContextProvider=S,Oe.Element=w,Oe.ForwardRef=z,Oe.Fragment=U,Oe.Lazy=k,Oe.Memo=v,Oe.Portal=Q,Oe.Profiler=P,Oe.StrictMode=Z,Oe.Suspense=O,Oe.isAsyncMode=$,Oe.isConcurrentMode=_,Oe.isContextConsumer=A,Oe.isContextProvider=Y,Oe.isElement=E,Oe.isForwardRef=R,Oe.isFragment=q,Oe.isLazy=te,Oe.isMemo=X,Oe.isPortal=W,Oe.isProfiler=V,Oe.isStrictMode=J,Oe.isSuspense=ie,Oe.isValidElementType=h,Oe.typeOf=D})()),Oe}var Fa;function K2(){return Fa||(Fa=1,b.process$1.env.NODE_ENV==="production"?Vi.exports=O9():Vi.exports=k9()),Vi.exports}/*
|
|
485
440
|
object-assign
|
|
486
441
|
(c) Sindre Sorhus
|
|
487
442
|
@license MIT
|
|
488
|
-
*/var So,
|
|
489
|
-
Valid keys: `+JSON.stringify(Object.keys(_),null," "));var K=ie(X,J,R,q,te+"."+J,n);if(K)return K}return null}return f(A)}function Q(_){switch(typeof _){case"number":case"string":case"undefined":return!0;case"boolean":return!_;case"object":if(Array.isArray(_))return _.every(Q);if(_===null||c(_))return!0;var A=g(_);if(A){var Y=A.call(_),E;if(A!==_.entries){for(;!(E=Y.next()).done;)if(!Q(E.value))return!1}else for(;!(E=Y.next()).done;){var R=E.value;if(R&&!Q(R[1]))return!1}}else return!1;return!0;default:return!1}}function P(_,A){return _==="symbol"?!0:A?A["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&A instanceof Symbol:!1}function Z(_){var A=typeof _;return Array.isArray(_)?"array":_ instanceof RegExp?"object":P(A,_)?"symbol":A}function O(_){if(typeof _>"u"||_===null)return""+_;var A=Z(_);if(A==="object"){if(_ instanceof Date)return"date";if(_ instanceof RegExp)return"regexp"}return A}function H(_){var A=O(_);switch(A){case"array":case"object":return"an "+A;case"boolean":case"date":case"regexp":return"a "+A;default:return A}}function $(_){return!_.constructor||!_.constructor.name?N:_.constructor.name}return y.checkPropTypes=r,y.resetWarningCache=r.resetWarningCache,y.PropTypes=y,y},Oo}var ko,$a;function tg(){if($a)return ko;$a=1;var e=$s();function t(){}function n(){}return n.resetWarningCache=t,ko=function(){function i(a,c,u,l,M,g){if(g!==e){var N=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw N.name="Invariant Violation",N}}i.isRequired=i;function r(){return i}var s={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:r,element:i,elementType:i,instanceOf:r,node:i,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},ko}var Ka;function ng(){if(Ka)return Gi.exports;if(Ka=1,b.process$1.env.NODE_ENV!=="production"){var e=tc(),t=!0;Gi.exports=eg()(e.isElement,t)}else Gi.exports=tg()();return Gi.exports}var ig=ng();const Lt=Ze.getDefaultExportFromCjs(ig);class rg extends I.Component{static propTypes={children:Lt.node.isRequired,element:Lt.node,hasMore:Lt.bool,initialLoad:Lt.bool,isReverse:Lt.bool,loader:Lt.node,loadMore:Lt.func.isRequired,pageStart:Lt.number,ref:Lt.func,getScrollParent:Lt.func,threshold:Lt.number,useCapture:Lt.bool,useWindow:Lt.bool};static defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null};constructor(t){super(t),this.scrollListener=this.scrollListener.bind(this),this.eventListenerOptions=this.eventListenerOptions.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this)}componentDidMount(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}componentDidUpdate(){if(this.props.isReverse&&this.loadMore){const t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}componentWillUnmount(){this.detachScrollListener(),this.detachMousewheelListener()}isPassiveSupported(){let t=!1;const n={get passive(){t=!0}};try{document.addEventListener("test",null,n),document.removeEventListener("test",null,n)}catch{}return t}eventListenerOptions(){let t=this.props.useCapture;return this.isPassiveSupported()?t={useCapture:this.props.useCapture,passive:!0}:t={passive:!1},t}setDefaultLoader(t){this.defaultLoader=t}detachMousewheelListener(){let t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}detachScrollListener(){let t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}getParentElement(t){const n=this.props.getScrollParent&&this.props.getScrollParent();return n??(t&&t.parentNode)}filterProps(t){return t}attachScrollListener(){const t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;let n=window;this.props.useWindow===!1&&(n=t),n.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),n.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),n.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}mousewheelListener(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}scrollListener(){const t=this.scrollComponent,n=window,i=this.getParentElement(t);let r;if(this.props.useWindow){const s=document.documentElement||document.body.parentNode||document.body,a=n.pageYOffset!==void 0?n.pageYOffset:s.scrollTop;this.props.isReverse?r=a:r=this.calculateOffset(t,a)}else this.props.isReverse?r=i.scrollTop:r=t.scrollHeight-i.scrollTop-i.clientHeight;r<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=i.scrollHeight,this.beforeScrollTop=i.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}calculateOffset(t,n){return t?this.calculateTopPosition(t)+(t.offsetHeight-n-window.innerHeight):0}calculateTopPosition(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}render(){const t=this.filterProps(this.props),{children:n,element:i,hasMore:r,initialLoad:s,isReverse:a,loader:c,loadMore:u,pageStart:l,ref:M,threshold:g,useCapture:N,useWindow:y,getScrollParent:T,...d}=t;d.ref=C=>{this.scrollComponent=C,M&&M(C)};const f=[n];return r&&(c?a?f.unshift(c):f.push(c):this.defaultLoader&&(a?f.unshift(this.defaultLoader):f.push(this.defaultLoader))),I.createElement(i,d,f)}}const Ii=({url:e,text:t})=>{const n=We.useTheme(),i=I.useMemo(()=>({addressLink:{display:"inline-flex",alignItems:"center",overflow:"hidden",color:n.palette.text.primary,opacity:.6}}),[n]);return e&&t?o.jsx(As,{onClick:r=>r.stopPropagation(),sx:i.addressLink,href:e,rel:"noreferrer noopener",target:"_blank",children:t}):null},og=e=>{const t=We.useTheme(),n=I.useMemo(()=>({container:{width:"100%",maxWidth:"448px",[t.breakpoints.down("sm")]:{maxWidth:"412px"}},card:{width:"100%",borderRadius:"8px",border:`1px solid ${t.palette.input.border}`},cardHeader:{paddingBottom:0}}),[t]),{txHash:i,amount:r,amountUsd:s,fromChain:a,fromToken:c,toChain:u,toToken:l,receiveAmount:M,senderTimestamp:g,explorerLink:N}=e.data,y=I.useMemo(()=>o.jsx(Me,{component:"span",padding:"0px 8px",children:"·"}),[]),{getTokenPrice:T,lastTokenPriceUpdate:d}=ft(),f=I.useMemo(()=>{const j=x.config.chains[a];return o.jsxs(De,{alignItems:"center",direction:"row",justifyContent:"flex-start",children:[o.jsx(wi,{chainConfig:j,token:c}),o.jsxs(De,{direction:"column",marginLeft:"12px",children:[o.jsxs(Me,{fontSize:16,children:[r," ",c?x.getTokenDisplaySymbolByTokenAddress(c):""]}),o.jsxs(Me,{color:t.palette.text.secondary,fontSize:14,children:[s?o.jsxs(o.Fragment,{children:[x.getUSDFormat(s),y]}):null,j?.displayName]})]})]})},[r,s,a,y,t.palette.text.secondary,c]),C=I.useMemo(()=>{const j=x.config.chains[u],L=l,p=M?x.calculateUSDPrice(T,parseFloat(M),L):0,S=p?o.jsxs(o.Fragment,{children:[p,y]}):null,w=L?x.getTokenDisplaySymbolByTokenAddress(L):"";return o.jsxs(De,{alignItems:"center",direction:"row",justifyContent:"flex-start",children:[o.jsx(wi,{chainConfig:j,token:L}),o.jsxs(De,{direction:"column",marginLeft:"12px",children:[o.jsxs(Me,{fontSize:16,children:[M," ",w]}),o.jsxs(Me,{color:t.palette.text.secondary,fontSize:14,children:[S,j?.displayName]})]})]})},[d,u,l,M,T,y,t.palette.text.secondary]),m=I.useMemo(()=>o.jsx(De,{height:"24px",borderLeft:"1px solid #8B919D",marginLeft:"16px"}),[]),h=I.useMemo(()=>{if(!g)return"Unknown time";const j=new Date(g),L=Date.now()-j.getTime();return L<1e3*60*60*24?x.millisToRelativeTime(L):`${new Intl.DateTimeFormat("en-US",{dateStyle:"short",timeStyle:"short"}).format(j)}`},[g]),D=I.useMemo(()=>{const j=x.getTransactionExplorerUrl(a,i),L=x.trimTxHash(i,4,4);return j?o.jsx(Ii,{url:j,text:L}):L},[a,i]);return o.jsx(he,{sx:n.container,children:o.jsx(wn,{sx:n.card,children:o.jsxs(ks,{disableTouchRipple:!0,onClick:()=>{window.open(N,"_blank")},children:[o.jsx(c0,{sx:n.cardHeader,title:o.jsxs(Me,{justifyContent:"space-between",color:t.palette.text.secondary,display:"flex",children:[o.jsxs("span",{children:["Transaction ",D]}),o.jsx("span",{children:h})]})}),o.jsxs(An,{children:[f,m,C]})]})})})},sg=({transactions:e,hasMore:t,setPage:n})=>{const i=B.useTheme(),r=B.useMediaQuery(i.breakpoints.down("sm")),s=I.useMemo(()=>({infiniteScroller:{height:"640px",overflow:"auto",width:"100%",scrollbarWidth:"thin"},spacer:{width:"calc(100% - 8px)",display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",justifyContent:"center"}}),[r]);return o.jsx(B.Box,{sx:s.infiniteScroller,children:o.jsx(rg,{hasMore:t,loadMore:a=>n(a),useWindow:!1,children:o.jsx(B.Box,{sx:s.spacer,children:e?.map((a,c)=>o.jsx(og,{data:a},c))})})})},ag=I.memo(sg),cg=({transactions:e,isFetching:t,hasMore:n,setPage:i,sendingWallet:r})=>{const s=B.useTheme(),a=B.useMediaQuery(s.breakpoints.down("sm")),c=I.useMemo(()=>({loadingContainer:{display:"flex",flexDirection:"column",gap:"16px",alignItems:"center",justifyContent:"center",width:a?"388px":"456px"}}),[a]);return e?.length?o.jsx(ag,{transactions:e,hasMore:n,setPage:i}):t||e?.length===0?o.jsxs(B.Box,{sx:c.loadingContainer,children:[o.jsx(B.Skeleton,{variant:"rounded",height:24,width:"100%"}),o.jsx(B.Skeleton,{variant:"rounded",height:48,width:"100%"}),o.jsx(B.Skeleton,{variant:"rounded",height:48,width:"100%"})]}):!t&&(!e||e.length===0)?o.jsxs(B.Typography,{color:s.palette.text.secondary,textAlign:"center",children:["No transactions found for the wallet ",x.trimAddress(r.address)]}):null},ug=I.memo(cg),lg=()=>{const e=tt(),t=B.useTheme(),n=B.useMediaQuery(t.breakpoints.down("sm")),[i,r]=I.useState(0),{transactions:s,isFetching:a,hasMore:c}=J9({page:i}),u=Ae(N=>N.wallet.sending),l=I.useMemo(()=>({container:{maxWidth:"456px"},containerMobile:{display:"flex",flexDirection:"column"},txHistoryHeader:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"16px"}}),[]),M=I.useMemo(()=>o.jsxs(B.Box,{sx:l.txHistoryHeader,children:[o.jsx(B.Box,{children:o.jsx(Xn,{align:"left",size:18,text:"Transaction history"})}),o.jsx(B.Button,{variant:"text",sx:{color:t.palette.text.primary,padding:0,textTransform:"none",textDecoration:"none","&:hover":{textDecoration:"underline"}},onClick:()=>e(Bt("search")),children:n?"Resume":"Resume Transaction"})]}),[e,n,l.txHistoryHeader,t.palette.text.primary]),g=I.useMemo(()=>n?l.containerMobile:l.container,[n,l.container,l.containerMobile]);return o.jsxs(B.Box,{sx:{...g},children:[o.jsx(Xs,{}),M,o.jsx(ug,{transactions:s,isFetching:a,hasMore:c,setPage:r,sendingWallet:u})]})},Mg=I.memo(lg);function dg(e){const t=B.useTheme(),n=tt(),[i,r]=I.useState(e.showHistory??!1),[s,a]=I.useState(!1),{lastTokenCacheUpdate:c}=ft(),[u,l]=I.useState(!1),M=B.useMediaQuery(t.breakpoints.down("sm")),g=I.useRef(null),N=I.useMemo(()=>({bridgeContent:{margin:"auto",maxWidth:"488px"},doneIcon:{fontSize:"14px",color:t.palette.success.main},copyIcon:{fontSize:"14px"},ctaContainer:{width:"100%"}}),[t.palette.success.main]),{sending:y,receiving:T}=Ae(ce=>ce.wallet),{fromChain:d,toChain:f,route:C,preferredRouteName:m,amount:h,toNativeToken:D,isTransactionInProgress:j,validations:L}=Ae(ce=>({...ce.transferInput,...ce.relay})),{sourceToken:p,destToken:S}=zn(),w=d===f,{allSupportedRoutes:z,sortedRoutes:U,sortedRoutesWithQuotes:k,quotes:v,failedQuotes:Q,isFetching:P}=zl({amount:h,fromChain:d,toChain:f,preferredRouteName:m,sourceToken:p,destToken:S,toNativeToken:D,sendingWallet:y,receivingWallet:T}),{isFetching:Z,supportedDestTokens:O}=ml({sourceChain:d,destChain:f,sourceToken:p}),{error:H,errorInternal:$,info:_,onConfirm:A}=V3({quotes:v});I.useEffect(()=>{if(k.length===0)n(Ri(""));else{const ce=k.find(Ye=>Ye.route===m),Ie=C??ce?.route??k[0].route,Se=k.findIndex(Ye=>Ye.route===Ie)>-1;if(Se||n(Ri("")),!Ie||C&&Se)return;const me=k?.find(Ye=>Ye.route===Ie);me&&n(Ri(me.route))}},[m,C,k,n]);const{isConnecting:Y}=h2(d,f,y,T);Z3();const E=I.useMemo(()=>l2(L),[L]),R=I.useMemo(()=>x.config.routes.allSupportedChains(),[x.config.chains,x.config.routes]),q=I.useMemo(()=>{if(d){const ce=x.config.tokens.getAllForChain(d),Ie=x.config.chains[d];return Ie?Ko(ce,Ie):ce}else return[]},[d,c]),te=I.useMemo(()=>D1(R,f,!0),[f,R]),X=I.useMemo(()=>D1(R,d),[d,R]),W=I.useMemo(()=>{if(d&&y?.address)return{chain:d,wallet:y,tokens:q}},[d,y,q]),V=I.useMemo(()=>{if(f&&T?.address){const ce=x.config.tokens.getAllForChain(f),Ie=x.config.chains[f],Se=Ie?Ko(ce,Ie):ce;return{chain:f,wallet:T,tokens:Se}}},[f,T]),J=q3({source:W,destination:V});I.useEffect(()=>{a(!1)},[f]),$3({route:C,destChain:f,receivingWalletAddress:T?.address,destinationBalances:J.destination.balances,hasUserManuallyChangedGas:s,currentToNativeToken:D,isFetchingBalances:J.isFetching,allowedChains:x.config.ui.autoEnableGasDropOffChains});const ie=w3({balance:p?J.source.balances[p.key]?.balance:null,quotes:v,failedQuotes:Q,tokenSymbol:p?.symbol??"",disabled:!d||!p}),K=I.useCallback(ce=>{J4(n,ce,y),n(K4()),n(Ot(0))},[n,y]),G=I.useCallback(ce=>{n($4(ce.tuple)),n(Ot(0)),n(yn(""))},[n]),ee=I.useCallback(ce=>{q4(n,ce,T),n(eu()),n(Ot(0))},[n,T]),ge=I.useCallback(ce=>{n(U0(ce.tuple)),n(Ot(0))},[n]),fe=v&&C?v[C]:void 0,ye=I.useCallback(()=>{r(ce=>(ce||x.config.triggerEvent({type:"history.load",details:{wallet:y?.address}}),!ce))},[y?.address]),Ce=I.useCallback(ce=>{n(Ri(ce))},[n]),ke=I.useCallback(()=>{a(!0)},[]),ze=I.useMemo(()=>y?.address&&T?.address?null:y?.address&&!T?.address?{disabled:!f,side:"destination",type:we.TransferWallet.RECEIVING}:{disabled:!d,side:"source",type:we.TransferWallet.SENDING},[y?.address,T?.address,f,d]),{isCompatible:Qe}=X3({sendingWallet:y,receivingWallet:T,sourceChain:d,destChain:f,routes:U}),Fe=I.useMemo(()=>H?o.jsxs(he,{sx:{marginBottom:2},children:[o.jsx(Vn,{error:!0,testId:"send-error-message",children:H}),$&&$.message&&x.config.ui.getHelpUrl?o.jsxs(Me,{fontSize:14,sx:{marginTop:1},children:["Having trouble?"," ",o.jsxs("a",{href:"#",onClick:()=>{x.copyTextToClipboard($.message),l(!0),setTimeout(()=>l(!1),3e3)},children:["Copy the error logs"," ",u?o.jsx(oc,{sx:N.doneIcon}):o.jsx(rc,{sx:N.copyIcon})]})," and ",o.jsx("a",{href:x.config.ui.getHelpUrl,target:"_blank",rel:"noreferrer",children:"ask for help"}),"."]}):null]}):null,[N.copyIcon,N.doneIcon,u,H,$]),Pe=I.useMemo(()=>_?o.jsx(Vn,{children:_}):null,[_]),He=h&&b.whole(h)>0,ne=y.address&&T.address,ue=!d||!p||!f||!S||!ne||!Qe||!C||!E||P||!He||j||!!ie.error,se=I.useMemo(()=>o.jsx(zt,{disabled:ue,"data-testid":"confirm-transaction-button","aria-label":"Confirm transaction",variant:"primary",onClick:()=>A(),children:j?o.jsxs(Me,{display:"flex",alignItems:"center",gap:1,textTransform:"none",children:[o.jsx(St,{color:"inherit",size:16,thickness:4}),M?"Preparing":"Preparing transaction"]}):!j&&P?o.jsxs(Me,{display:"flex",alignItems:"center",gap:1,textTransform:"none",children:[o.jsx(St,{color:"inherit",size:16,thickness:4}),M?"Refreshing":"Refreshing quote"]}):o.jsx(Me,{textTransform:"none",children:M?"Confirm":"Confirm transaction"})}),[ue,j,M,P,A]),ae=He&&p&&S,oe=!d||!p?"Please select a source asset":!f||!S?"Please select a destination asset":He?P?"Loading quotes...":C?"":"Please select a quote":"Please enter an amount",le=o.jsxs(o.Fragment,{children:[o.jsx(Q9,{showHistory:i,onToggleHistory:ye,isTransactionInProgress:j,isWalletConnected:!!y?.address}),i?o.jsx(Mg,{}):o.jsxs(o.Fragment,{children:[o.jsxs(De,{sx:{gap:"4px",position:"relative"},children:[o.jsx(he,{ref:g,children:o.jsx(Ya,{chain:d,chainList:te,token:p,destToken:S,tokenList:q,setChain:K,setToken:G,wallet:y,isSameChainSwap:w,isSource:!0,isTransactionInProgress:j,dataTestId:"source-asset-picker",isConnectingWallet:Y,balances:J.source.balances,isFetchingBalances:J.isFetching,anchorEl:g.current,amountValidation:ie})}),!x.config.ui.hideSwapInputs&&o.jsx(S9,{}),o.jsx(Ya,{chain:f,chainList:X,token:S,sourceToken:p,tokenList:O,isFetchingQuotes:P,isFetchingTokens:O.length===0&&Z,setChain:ee,setToken:ge,wallet:T,isSameChainSwap:w,isSource:!1,isTransactionInProgress:j,dataTestId:"dest-asset-picker",isConnectingWallet:Y,balances:J.destination.balances,isFetchingBalances:J.isFetching,quote:fe?.success?fe:void 0,anchorEl:g.current})]}),o.jsx(he,{component:"span",sx:N.ctaContainer,children:ne?o.jsx(zr,{title:oe,children:o.jsx("span",{children:se})}):ze?o.jsx(vM,{...ze}):null}),Fe,Pe,o.jsx(B9,{validation:ie})]})]});return o.jsxs(he,{sx:{...N.bridgeContent},children:[o.jsx(Ur,{children:le}),!i&&o.jsx(he,{sx:{marginTop:"12px",width:"100%"},children:ae&&o.jsx(D9,{routes:U,selectedRoute:C,onRouteChange:Ce,quotes:v,isLoading:P,onManualGasChange:ke})}),x.config.ui.showFooter&&o.jsxs(o.Fragment,{children:[o.jsx(j2,{color:t.palette.text.primary}),o.jsx(Ps,{})]})]})}const e0=I.memo(dg),gg=()=>{const e=B.useTheme(),t=I.useContext(En),n=I.useMemo(()=>({container:{width:"100%",maxWidth:"456px",backgroundColor:e.palette.input.background,borderRadius:"8px"},card:{width:"100%",backgroundColor:e.palette.input.background}}),[e]),{sendTx:i,sender:r,amount:s,recipient:a,toChain:c,fromChain:u,token:l,receivedToken:M,receiveAmount:g,receiveNativeAmount:N,eta:y}=Ae(v=>v.redeem.txData),{route:T}=Ae(v=>v.redeem),d=x.config.tokens.get(l),f=x.config.tokens.get(M),{getTokenPrice:C,isFetchingTokenPrices:m,lastTokenPriceUpdate:h}=ft(),D=I.useMemo(()=>o.jsx(Me,{component:"span",padding:"0px 8px",children:"·"}),[]),j=I.useMemo(()=>{if(!d||!u)return o.jsx(o.Fragment,{});const v=x.config.tokens.get(l),Q=x.config.chains[u],P=x.calculateUSDPrice(C,s,v),Z=r?x.trimAddress(r):"",O=r?x.getWalletExplorerUrl(u,r):"",H=b.display(b.truncate(s,6));return o.jsxs(De,{alignItems:"center",direction:"row",justifyContent:"flex-start",children:[o.jsx(wi,{chainConfig:Q,token:v}),o.jsxs(De,{direction:"column",marginLeft:"12px",children:[o.jsxs(Me,{fontSize:16,children:[H," ",x.getTokenDisplaySymbolByTokenAddress(d)]}),o.jsx(Me,{color:e.palette.text.secondary,fontSize:14,children:m?o.jsx(St,{size:14}):o.jsxs(o.Fragment,{children:[P,P?D:null,Q.displayName,O?o.jsxs(o.Fragment,{children:[D,o.jsx(Ii,{url:O,text:Z})]}):null]})})]})]})},[d,u,l,C,s,r,e.palette.text.secondary,m,D]),L=I.useMemo(()=>{if(!f||!c)return o.jsx(o.Fragment,{});const v=x.config.chains[c],Q=x.calculateUSDPrice(C,g,f),P=a?x.trimAddress(a):"",Z=a?x.getWalletExplorerUrl(c,a):"",O=g?b.display(b.truncate(g,6)):"-";return o.jsxs(De,{alignItems:"center",direction:"row",justifyContent:"flex-start",children:[o.jsx(wi,{chainConfig:v,token:f}),o.jsxs(De,{direction:"column",marginLeft:"12px",children:[o.jsxs(Me,{fontSize:16,children:[O," ",x.getTokenDisplaySymbolByTokenAddress(f)]}),o.jsx(Me,{color:e.palette.text.secondary,fontSize:14,children:m?o.jsx(St,{size:14}):o.jsxs(o.Fragment,{children:[Q,Q?D:null,v.displayName,Z?o.jsxs(o.Fragment,{children:[D,o.jsx(Ii,{url:Z,text:P})]}):null]})})]})]})},[f,C,g,a,D,e.palette.text.secondary,c,m,h]),p=I.useMemo(()=>o.jsx(De,{height:"28px",borderLeft:"1px solid #8B919D",marginLeft:"16px"}),[]),S=I.useMemo(()=>{if(!M||!N||b.units(N)===0n)return o.jsx(o.Fragment,{});const v=x.config.chains[c];if(!v)return o.jsx(o.Fragment,{});const Q=x.calculateUSDPrice(C,N,x.config.tokens.getGasToken(v.sdkName));return o.jsxs(De,{direction:"row",justifyContent:"space-between",children:[o.jsx(Me,{color:e.palette.text.secondary,fontSize:14,children:"Additional gas"}),m?o.jsx(St,{size:14}):o.jsx(Me,{fontSize:14,children:Q})]})},[N,e.palette.text.secondary,c,m,h]),w=I.useMemo(()=>{const v=t.route??T;if(!v)return null;const Q=wu(v,i,u,c);if(!Q||Q.length===0)return null;const P=Q.filter(({url:Z})=>URL.canParse(Z));return P.length===0?null:o.jsx(De,{direction:"column",gap:"8px",padding:"12px 16px",children:P.map(({name:Z,url:O},H)=>o.jsx(De,{direction:"row",justifyContent:"space-between",children:o.jsx(Me,{color:e.palette.text.secondary,fontSize:14,children:o.jsx(Ii,{url:O,text:`View on ${Z}`})})},H))})},[u,t.route,T,i,e.palette.text.primary,c]),z=I.useMemo(()=>{let v=o.jsx(St,{size:14});return y?(v=x.millisToHumanString(y),o.jsxs(De,{direction:"row",justifyContent:"space-between",children:[o.jsx(Me,{color:e.palette.text.secondary,fontSize:14,children:`Time to ${x.chainDisplayName(c)}`}),o.jsx(Me,{fontSize:14,children:v})]})):null},[y,e.palette.text.secondary,c]),U=i?x.trimAddress(i):"",k=i?x.getTransactionExplorerUrl(u,i):"";return o.jsx(B.Box,{sx:n.container,children:o.jsxs(wn,{sx:n.card,children:[o.jsxs(An,{children:[o.jsxs(De,{direction:"row",spacing:1,marginBottom:"12px",children:[o.jsx(Me,{color:e.palette.text.secondary,children:"Transaction"}),o.jsx(Me,{color:e.palette.text.secondary,children:k?o.jsx(Ii,{url:k,text:U}):U})]}),j,p,L,o.jsxs(De,{direction:"column",gap:"8px",justifyContent:"space-between",marginTop:"16px",children:[S,z]})]}),o.jsx(vo,{flexItem:!0,sx:{margin:"0 16px",opacity:"50%"}}),w]})})},fg=B.createSvgIcon(o.jsx("svg",{width:"107",height:"107",viewBox:"0 0 107 107",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M53.5 36.625V57.7188M104.125 53.5C104.125 60.1482 102.816 66.7312 100.271 72.8733C97.7273 79.0155 93.9982 84.5963 89.2973 89.2973C84.5963 93.9982 79.0155 97.7273 72.8733 100.271C66.7312 102.816 60.1482 104.125 53.5 104.125C46.8518 104.125 40.2688 102.816 34.1267 100.271C27.9845 97.7273 22.4037 93.9982 17.7027 89.2973C13.0018 84.5963 9.27274 79.0155 6.7286 72.8733C4.18445 66.7312 2.875 60.1482 2.875 53.5C2.875 40.0734 8.20869 27.1967 17.7027 17.7027C27.1967 8.20869 40.0734 2.875 53.5 2.875C66.9266 2.875 79.8032 8.20869 89.2973 17.7027C98.7913 27.1967 104.125 40.0734 104.125 53.5ZM53.5 74.5938H53.545V74.6388H53.5V74.5938Z",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})}),"Alert"),hg=B.createSvgIcon(o.jsxs("svg",{width:"106",height:"106",viewBox:"0 0 106 106",stroke:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M52.5829 105C81.6236 105 105.166 81.4949 105.166 52.5C105.166 23.5051 81.6236 0 52.5829 0C23.5422 0 0 23.5051 0 52.5C0 81.4949 23.5422 105 52.5829 105ZM52.582 101.597C79.7404 101.597 101.757 79.6157 101.757 52.5001C101.757 25.3844 79.7404 3.40283 52.582 3.40283C25.4235 3.40283 3.40723 25.3844 3.40723 52.5001C3.40723 79.6157 25.4235 101.597 52.582 101.597Z",fill:"currentColor"}),o.jsx("path",{d:"M65.7583 39.2417L39.2418 65.7582",stroke:"currentColor",strokeWidth:"4"}),o.jsx("path",{d:"M39.2417 39.2417L65.7582 65.7582",stroke:"currentColor",strokeWidth:"4"})]}),"Alert"),t0=B.createSvgIcon(o.jsxs("svg",{width:"107",height:"106",viewBox:"0 0 107 106",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M53.2,105.5c29,0,52.6-23.5,52.6-52.5S82.2.5,53.2.5.6,24,.6,53s23.5,52.5,52.6,52.5ZM53.2,102.1c27.2,0,49.2-22,49.2-49.1S80.4,3.9,53.2,3.9,4,25.9,4,53s22,49.1,49.2,49.1Z"}),o.jsx("rect",{fill:"currentColor",x:"51",y:"28.8",width:"5",height:"42.6"}),o.jsx("rect",{fill:"currentColor",x:"48",y:"63.9",width:"25.5",height:"5",transform:"translate(-29.2 62.4) rotate(-45)"}),o.jsx("rect",{fill:"currentColor",x:"43.8",y:"53.7",width:"5",height:"25.5",transform:"translate(-33.4 52.2) rotate(-45)"})]}),"Alert");function jg(){const e=tt(),t=We.useTheme(),[n,i]=I.useState(""),[r,s]=I.useState(null),[a,c]=I.useState(!1),[u,l]=I.useState(!1),[M,g]=I.useState(!1),[N,y]=I.useState(!1),[T,d]=I.useState(At.TOKEN_PROGRAM_ID),f=I.useContext(En),{walletProvider:C,connectWallet:m}=ln(),{sourceToken:h,destToken:D}=A3(),j=I.useMemo(()=>({spacer:{display:"flex",flexDirection:"column",gap:"16px",alignItems:"center",justifyContent:"center",width:"100%"},container:{margin:"auto",maxWidth:"650px"},header:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},claimButton:{backgroundColor:t.palette.warning.light,color:t.palette.warning.contrastText??t.palette.background.default,"&:hover":{backgroundColor:t.palette.warning.main}},circularProgressCircleIndeterminite:{stroke:"url(#circularGradient)",strokeDasharray:"100px, 200px",strokeLinecap:"round"},circularProgressCircleDeterminite:{strokeLinecap:"round",transitionDuration:"1s",transitionProperty:"all",transitionTimingFunction:"linear"},circularProgressRoot:{animationDuration:"1s"},errorBox:{maxWidth:"456px"},txStatusIcon:{width:"105px",height:"105px"},delayText:{maxWidth:"456px"}}),[t]),{route:L,timestamp:p,isResumeTx:S,txData:w}=Ae(oe=>oe.redeem);h2(w?.fromChain,w?.toChain);const[z,U]=I.useState(void 0),{receipt:k}=f,v=k&&b.isAttested(k),Q=k&&b.isRefunded(k),P=k&&b.isFailed(k)||!!z,Z=k&&b.isFailed(k)&&k.error instanceof b.RelayFailedError,O=k&&b.isDestinationQueued(k),{recipient:H,toChain:$,fromChain:_,token:A,receivedToken:Y,amount:E,eta:R=0,sendTx:q}=w,te=c2(),X=I.useMemo(()=>{if(R&&p)return new Date(p+R)},[R,p]),{seconds:W,minutes:V,isRunning:J,restart:ie}=$2.useTimer({expiryTimestamp:new Date,autoStart:!1,onExpire:()=>g(!0)});I.useEffect(()=>{!p||!R||J||ie(new Date(p+R),!0)},[R,J,ie,p]);const K=I.useMemo(()=>x.tokenIdFromTuple(Y),[Y]);I.useEffect(()=>{if(!Ee.isSvmChain($)||!K)return;(async()=>{try{const le=x.config.rpcs[$];if(!le)return;const ce=new Ze.Connection(le),Ie=b.isNative(K.address)?At.NATIVE_MINT:new Ze.PublicKey(K.address.toString()),Se=await Ze.SolanaPlatform.getTokenProgramId(ce,Ie);d(Se)}catch(le){console.error("Failed to fetch token program:",le)}})()},[$,K]);const G=K2({receipt:k,route:L,eta:X,receivedTokenId:K}),ee=k&&b.isCompleted(k)||G.isCompleted;I.useEffect(()=>{G.receipt&&f.setReceipt(G.receipt)},[f,G.receipt]);const ge=!!(L&&x.config.routes.get(L)?.AUTOMATIC_DEPOSIT),fe=Ws(L,h,D,_,$,E,te);I.useEffect(()=>{const{receipt:oe}=f;if(oe)if(ee)u||(l(!0),x.config.triggerEvent({type:"transfer.success",details:fe}),ge||x.config.triggerEvent({type:"transfer.redeem.success",details:fe}),c(!1),i(""),s(null),w?.sendTx&&Xo(w?.sendTx));else if(Q)x.config.triggerEvent({type:"transfer.refunded",details:fe}),w?.sendTx&&Xo(w.sendTx);else if(b.isFailed(oe)){const[le,ce]=x.interpretTransferError(oe.error,fe,"redeem");i(le),oe.error instanceof b.RelayFailedError&&oe.error.relayExplorer&&s(oe.error.relayExplorer),x.config.triggerEvent({type:"transfer.error",details:fe,error:ce}),console.error(`Transfer failed with error ${ce}: ${oe.error}`),c(!1)}else if(z){const[le,ce]=x.interpretTransferError(z,fe,"redeem");i(le),x.config.triggerEvent({type:"transfer.redeem.error",details:fe,error:ce}),console.error(`Error while manually redeeming: ${ce.type} - ${z}`),c(!1)}else v&&!ge&&w?.sendTx?k3(w?.sendTx,"isReadyToClaim",!0):(i(""),s(null))},[k?.state,ee,Q,v,z,u]);const ye=Ae(oe=>oe.wallet.receiving),Ce=(()=>{const oe=p+R,le=Date.now();return oe>le?oe-le:0})(),ke=I.useMemo(()=>{let oe="Transaction in progress";return ee?oe="Transaction completed":Q?oe="Transaction was refunded":Z?oe="Transfer error":P?oe="Transaction failed":O?oe="Transaction delayed":v&&!ge&&(oe=`Ready to claim on ${$}`),oe},[ee,Q,Z,P,O,v,ge,$]),ze=I.useMemo(()=>{if(M)return o.jsx(De,{children:o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,children:"Wrapping up..."})});const oe=J?Hs(V,W):null;let le=o.jsx(St,{size:14});return R&&(le=`ETA ${W3(R)}`),o.jsxs(De,{alignItems:"center",justifyContent:"center",children:[o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,children:le}),o.jsx(Me,{fontSize:28,children:oe})]})},[R,M,J,V,W,t.palette.text.secondary]),Qe=R?(R-Ce)/R*100:0,Fe=I.useMemo(()=>o.jsxs(o.Fragment,{children:[o.jsx("svg",{width:0,height:0,children:o.jsx("defs",{children:o.jsxs("linearGradient",{id:"circularGradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[o.jsx("stop",{offset:"0%",stopColor:t.palette.primary.main,stopOpacity:"1"}),o.jsx("stop",{offset:"100%",stopColor:t.palette.background.default,stopOpacity:"0.1"})]})})}),o.jsxs(he,{sx:{position:"relative"},children:[o.jsx(St,{variant:"determinate",sx:oe=>({color:oe.palette.primary.main,opacity:.2,position:"absolute"}),size:140,thickness:2,value:100}),o.jsx(St,{variant:M?"indeterminate":"determinate",sx:{"&.MuiCircularProgress-root":j.circularProgressRoot,"& .MuiCircularProgress-circle":M?j.circularProgressCircleIndeterminite:j.circularProgressCircleDeterminite},disableShrink:M,size:140,thickness:2,value:Qe})]}),o.jsx(he,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:ze})]}),[j.circularProgressCircleDeterminite,j.circularProgressCircleIndeterminite,j.circularProgressRoot,ze,M,Qe,t.palette.background.default,t.palette.primary.main]),Pe=I.useMemo(()=>ee?o.jsx(ec,{sx:{...j.txStatusIcon,color:t.palette.primary.light}}):Q||O?o.jsx(fg,{sx:{...j.txStatusIcon,color:t.palette.warning.main}}):Z?o.jsx(t0,{sx:{...j.txStatusIcon,color:t.palette.warning.light}}):P?o.jsx(hg,{sx:{...j.txStatusIcon,color:t.palette.error.light}}):!ge&&v?o.jsx(t0,{sx:{...j.txStatusIcon,color:t.palette.warning.light}}):Fe,[ee,Q,O,Z,L,P,ge,v,j.txStatusIcon,t.palette.primary.light,t.palette.warning.main,t.palette.warning.light,t.palette.error.light,Fe]);I.useEffect(()=>{let oe;if(f.receipt&&b.isDestinationQueued(f.receipt)){c(!0);const ce=f.receipt.queueReleaseTime.getTime()-Date.now();oe=setTimeout(()=>{c(!1)},ce)}return()=>{oe&&clearTimeout(oe)}},[f.receipt]);const He=I.useMemo(()=>{if(!H)return!1;if(S&&Ee.isSvmChain($)&&ye.address&&ye.type==="Solana"&&ye.address!==H&&L&&["ManualTokenBridge","ManualCCTP","CCTPv2FastExecutorRoute","CCTPv2StandardExecutorRoute","BaseBridgeRoute"].includes(L)){const{address:Ie}=x.tokenIdFromTuple(Y);return At.getAssociatedTokenAddressSync(new Ze.PublicKey(b.isNative(Ie)?At.NATIVE_MINT:Ie.toString()),new Ze.PublicKey(ye.address),!0,T).equals(new Ze.PublicKey(H))?(i(""),!0):(i("Not connected to the receiving wallet"),!1)}const oe=ye.address.toLowerCase(),le=ye.currentAddress.toLowerCase(),ce=H.toLowerCase();return oe===le&&oe===ce},[ye,H,$,S,L,Y,T]),ne=I.useCallback(async()=>{if(c(!0),i(""),s(null),U(void 0),!L)throw new Error("Unknown route, can not claim");if(!f.receipt)throw new Error("No receipt found, can not claim");const oe={route:L,fromToken:Dn(x.config.tokens.mustGet(A)),toToken:Dn(x.config.tokens.mustGet(Y)),fromChain:_,toChain:$};if(x.config.triggerEvent({type:"transfer.redeem.initiate",details:oe}),!He)throw i("Not connected to the receiving wallet"),new Error("Not connected to the receiving wallet");if(!x.config.chains[$])throw i("Your claim has failed, please try again"),new Error("invalid destination chain");const ce=f.route;try{if(!b.isManual(ce)&&!b.isFinalizable(ce))throw new Error("Route is not manual or finalizable");const Ie=await pi.fromChain($,ye.address,we.TransferWallet.RECEIVING,C),Se=O&&b.isFinalizable(ce)?ce.finalize(Ie,f.receipt):!O&&b.isManual(ce)?ce.complete(Ie,f.receipt):void 0;Se&&(x.config.triggerEvent({type:"transfer.redeem.start",details:fe}),await Se)}catch(Ie){U(Ie),c(!1),console.error(Ie)}},[fe,_,He,O,Y,ye.address,f.receipt,f.route,L,$,A,C]),ue=I.useCallback(async()=>{y(!0),await m($,we.TransferWallet.RECEIVING)},[m,$]),se=I.useMemo(()=>a?o.jsx(zt,{disabled:!0,variant:"primary",children:o.jsxs(Me,{display:"flex",alignItems:"center",gap:1,textTransform:"none",children:[o.jsx(St,{size:16,sx:{color:t.palette.primary.contrastText}}),"Transfer in progress"]})}):Z&&r?o.jsx(zt,{variant:"primary",onClick:()=>{window.open(r.url,"_blank","noopener,noreferrer")},children:o.jsxs(Me,{textTransform:"none",children:["Recover on ",r.name]})}):Z&&L==="CCTPExecutorRoute"&&q?o.jsx(zt,{variant:"primary",onClick:()=>{e(Zo()),e(Bt("search")),e(P0({txHash:q,chain:_}))},children:o.jsx(Me,{textTransform:"none",children:"Claim tokens to complete transfer"})}):O||!ge&&v||Z?He?o.jsx(zt,{styleOverrides:[j.claimButton],variant:n?"error":"primary",onClick:ne,children:o.jsx(Me,{textTransform:"none",children:"Claim tokens to complete transfer"})}):o.jsx(zt,{variant:"primary",onClick:ue,children:o.jsx(Me,{textTransform:"none",children:"Connect receiving wallet"})}):o.jsxs(o.Fragment,{children:[o.jsx(zt,{variant:"primary",onClick:()=>{e(Bt("bridge"))},children:o.jsx(Me,{textTransform:"none",children:"Start a new transaction"})}),!ee&&o.jsx(Me,{fontSize:"12px",sx:{margin:"auto",opacity:.6},children:"Your current transaction will continue to process in the background."})]}),[a,O,ge,v,Z,L,q,j.claimButton,ee,t.palette.primary.contrastText,He,n,ne,ue,e,_]),ae=I.useMemo(()=>{if(!f.receipt||!b.isDestinationQueued(f.receipt))return null;const{to:oe,queueReleaseTime:le}=f.receipt,ce=x.config.tokens.get(Y),Ie=ce?x.getTokenDisplaySymbolByTokenAddress(ce):"",Se=le.toLocaleString();return o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,sx:j.delayText,children:`Your transfer to ${oe} is delayed due to rate limits configured by ${Ie}. After
|
|
443
|
+
*/var So,Ha;function v9(){if(Ha)return So;Ha=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function i(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function r(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var a={},c=0;c<10;c++)a["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(a).map(function(M){return a[M]});if(u.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(M){l[M]=M}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return So=r()?Object.assign:function(s,a){for(var c,u=i(s),l,M=1;M<arguments.length;M++){c=Object(arguments[M]);for(var g in c)t.call(c,g)&&(u[g]=c[g]);if(e){l=e(c);for(var N=0;N<l.length;N++)n.call(c,l[N])&&(u[l[N]]=c[l[N]])}}return u},So}var Eo,Ga;function $s(){if(Ga)return Eo;Ga=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Eo=e,Eo}var zo,Va;function ec(){return Va||(Va=1,zo=Function.call.bind(Object.prototype.hasOwnProperty)),zo}var bo,Ja;function U9(){if(Ja)return bo;Ja=1;var e=function(){};if(b.process$1.env.NODE_ENV!=="production"){var t=$s(),n={},i=ec();e=function(s){var a="Warning: "+s;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function r(s,a,c,u,l){if(b.process$1.env.NODE_ENV!=="production"){for(var M in s)if(i(s,M)){var g;try{if(typeof s[M]!="function"){var N=Error((u||"React class")+": "+c+" type `"+M+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[M]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw N.name="Invariant Violation",N}g=s[M](a,M,u,c,null,t)}catch(T){g=T}if(g&&!(g instanceof Error)&&e((u||"React class")+": type specification of "+c+" `"+M+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in n)){n[g.message]=!0;var y=l?l():"";e("Failed "+c+" type: "+g.message+(y??""))}}}}return r.resetWarningCache=function(){b.process$1.env.NODE_ENV!=="production"&&(n={})},bo=r,bo}var Oo,qa;function Y9(){if(qa)return Oo;qa=1;var e=K2(),t=v9(),n=$s(),i=ec(),r=U9(),s=function(){};b.process$1.env.NODE_ENV!=="production"&&(s=function(c){var u="Warning: "+c;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function a(){return null}return Oo=function(c,u){var l=typeof Symbol=="function"&&Symbol.iterator,M="@@iterator";function g(_){var A=_&&(l&&_[l]||_[M]);if(typeof A=="function")return A}var N="<<anonymous>>",y={array:C("array"),bigint:C("bigint"),bool:C("boolean"),func:C("function"),number:C("number"),object:C("object"),string:C("string"),symbol:C("symbol"),any:m(),arrayOf:h,element:D(),elementType:j(),instanceOf:L,node:z(),objectOf:S,oneOf:p,oneOfType:w,shape:k,exact:v};function T(_,A){return _===A?_!==0||1/_===1/A:_!==_&&A!==A}function d(_,A){this.message=_,this.data=A&&typeof A=="object"?A:{},this.stack=""}d.prototype=Error.prototype;function f(_){if(b.process$1.env.NODE_ENV!=="production")var A={},Y=0;function E(q,te,X,W,V,J,ie){if(W=W||N,J=J||X,ie!==n){if(u){var K=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw K.name="Invariant Violation",K}else if(b.process$1.env.NODE_ENV!=="production"&&typeof console<"u"){var G=W+":"+X;!A[G]&&Y<3&&(s("You are manually calling a React.PropTypes validation function for the `"+J+"` prop on `"+W+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),A[G]=!0,Y++)}}return te[X]==null?q?te[X]===null?new d("The "+V+" `"+J+"` is marked as required "+("in `"+W+"`, but its value is `null`.")):new d("The "+V+" `"+J+"` is marked as required in "+("`"+W+"`, but its value is `undefined`.")):null:_(te,X,W,V,J)}var R=E.bind(null,!1);return R.isRequired=E.bind(null,!0),R}function C(_){function A(Y,E,R,q,te,X){var W=Y[E],V=Z(W);if(V!==_){var J=O(W);return new d("Invalid "+q+" `"+te+"` of type "+("`"+J+"` supplied to `"+R+"`, expected ")+("`"+_+"`."),{expectedType:_})}return null}return f(A)}function m(){return f(a)}function h(_){function A(Y,E,R,q,te){if(typeof _!="function")return new d("Property `"+te+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var X=Y[E];if(!Array.isArray(X)){var W=Z(X);return new d("Invalid "+q+" `"+te+"` of type "+("`"+W+"` supplied to `"+R+"`, expected an array."))}for(var V=0;V<X.length;V++){var J=_(X,V,R,q,te+"["+V+"]",n);if(J instanceof Error)return J}return null}return f(A)}function D(){function _(A,Y,E,R,q){var te=A[Y];if(!c(te)){var X=Z(te);return new d("Invalid "+R+" `"+q+"` of type "+("`"+X+"` supplied to `"+E+"`, expected a single ReactElement."))}return null}return f(_)}function j(){function _(A,Y,E,R,q){var te=A[Y];if(!e.isValidElementType(te)){var X=Z(te);return new d("Invalid "+R+" `"+q+"` of type "+("`"+X+"` supplied to `"+E+"`, expected a single ReactElement type."))}return null}return f(_)}function L(_){function A(Y,E,R,q,te){if(!(Y[E]instanceof _)){var X=_.name||N,W=$(Y[E]);return new d("Invalid "+q+" `"+te+"` of type "+("`"+W+"` supplied to `"+R+"`, expected ")+("instance of `"+X+"`."))}return null}return f(A)}function p(_){if(!Array.isArray(_))return b.process$1.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),a;function A(Y,E,R,q,te){for(var X=Y[E],W=0;W<_.length;W++)if(T(X,_[W]))return null;var V=JSON.stringify(_,function(ie,K){var G=O(K);return G==="symbol"?String(K):K});return new d("Invalid "+q+" `"+te+"` of value `"+String(X)+"` "+("supplied to `"+R+"`, expected one of "+V+"."))}return f(A)}function S(_){function A(Y,E,R,q,te){if(typeof _!="function")return new d("Property `"+te+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var X=Y[E],W=Z(X);if(W!=="object")return new d("Invalid "+q+" `"+te+"` of type "+("`"+W+"` supplied to `"+R+"`, expected an object."));for(var V in X)if(i(X,V)){var J=_(X,V,R,q,te+"."+V,n);if(J instanceof Error)return J}return null}return f(A)}function w(_){if(!Array.isArray(_))return b.process$1.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var A=0;A<_.length;A++){var Y=_[A];if(typeof Y!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+H(Y)+" at index "+A+"."),a}function E(R,q,te,X,W){for(var V=[],J=0;J<_.length;J++){var ie=_[J],K=ie(R,q,te,X,W,n);if(K==null)return null;K.data&&i(K.data,"expectedType")&&V.push(K.data.expectedType)}var G=V.length>0?", expected one of type ["+V.join(", ")+"]":"";return new d("Invalid "+X+" `"+W+"` supplied to "+("`"+te+"`"+G+"."))}return f(E)}function z(){function _(A,Y,E,R,q){return Q(A[Y])?null:new d("Invalid "+R+" `"+q+"` supplied to "+("`"+E+"`, expected a ReactNode."))}return f(_)}function U(_,A,Y,E,R){return new d((_||"React class")+": "+A+" type `"+Y+"."+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function k(_){function A(Y,E,R,q,te){var X=Y[E],W=Z(X);if(W!=="object")return new d("Invalid "+q+" `"+te+"` of type `"+W+"` "+("supplied to `"+R+"`, expected `object`."));for(var V in _){var J=_[V];if(typeof J!="function")return U(R,q,te,V,O(J));var ie=J(X,V,R,q,te+"."+V,n);if(ie)return ie}return null}return f(A)}function v(_){function A(Y,E,R,q,te){var X=Y[E],W=Z(X);if(W!=="object")return new d("Invalid "+q+" `"+te+"` of type `"+W+"` "+("supplied to `"+R+"`, expected `object`."));var V=t({},Y[E],_);for(var J in V){var ie=_[J];if(i(_,J)&&typeof ie!="function")return U(R,q,te,J,O(ie));if(!ie)return new d("Invalid "+q+" `"+te+"` key `"+J+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(Y[E],null," ")+`
|
|
444
|
+
Valid keys: `+JSON.stringify(Object.keys(_),null," "));var K=ie(X,J,R,q,te+"."+J,n);if(K)return K}return null}return f(A)}function Q(_){switch(typeof _){case"number":case"string":case"undefined":return!0;case"boolean":return!_;case"object":if(Array.isArray(_))return _.every(Q);if(_===null||c(_))return!0;var A=g(_);if(A){var Y=A.call(_),E;if(A!==_.entries){for(;!(E=Y.next()).done;)if(!Q(E.value))return!1}else for(;!(E=Y.next()).done;){var R=E.value;if(R&&!Q(R[1]))return!1}}else return!1;return!0;default:return!1}}function P(_,A){return _==="symbol"?!0:A?A["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&A instanceof Symbol:!1}function Z(_){var A=typeof _;return Array.isArray(_)?"array":_ instanceof RegExp?"object":P(A,_)?"symbol":A}function O(_){if(typeof _>"u"||_===null)return""+_;var A=Z(_);if(A==="object"){if(_ instanceof Date)return"date";if(_ instanceof RegExp)return"regexp"}return A}function H(_){var A=O(_);switch(A){case"array":case"object":return"an "+A;case"boolean":case"date":case"regexp":return"a "+A;default:return A}}function $(_){return!_.constructor||!_.constructor.name?N:_.constructor.name}return y.checkPropTypes=r,y.resetWarningCache=r.resetWarningCache,y.PropTypes=y,y},Oo}var ko,Xa;function R9(){if(Xa)return ko;Xa=1;var e=$s();function t(){}function n(){}return n.resetWarningCache=t,ko=function(){function i(a,c,u,l,M,g){if(g!==e){var N=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw N.name="Invariant Violation",N}}i.isRequired=i;function r(){return i}var s={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:r,element:i,elementType:i,instanceOf:r,node:i,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},ko}var $a;function _9(){if($a)return Gi.exports;if($a=1,b.process$1.env.NODE_ENV!=="production"){var e=K2(),t=!0;Gi.exports=Y9()(e.isElement,t)}else Gi.exports=R9()();return Gi.exports}var Q9=_9();const Lt=Ze.getDefaultExportFromCjs(Q9);class P9 extends I.Component{static propTypes={children:Lt.node.isRequired,element:Lt.node,hasMore:Lt.bool,initialLoad:Lt.bool,isReverse:Lt.bool,loader:Lt.node,loadMore:Lt.func.isRequired,pageStart:Lt.number,ref:Lt.func,getScrollParent:Lt.func,threshold:Lt.number,useCapture:Lt.bool,useWindow:Lt.bool};static defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null};constructor(t){super(t),this.scrollListener=this.scrollListener.bind(this),this.eventListenerOptions=this.eventListenerOptions.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this)}componentDidMount(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}componentDidUpdate(){if(this.props.isReverse&&this.loadMore){const t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}componentWillUnmount(){this.detachScrollListener(),this.detachMousewheelListener()}isPassiveSupported(){let t=!1;const n={get passive(){t=!0}};try{document.addEventListener("test",null,n),document.removeEventListener("test",null,n)}catch{}return t}eventListenerOptions(){let t=this.props.useCapture;return this.isPassiveSupported()?t={useCapture:this.props.useCapture,passive:!0}:t={passive:!1},t}setDefaultLoader(t){this.defaultLoader=t}detachMousewheelListener(){let t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}detachScrollListener(){let t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}getParentElement(t){const n=this.props.getScrollParent&&this.props.getScrollParent();return n??(t&&t.parentNode)}filterProps(t){return t}attachScrollListener(){const t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;let n=window;this.props.useWindow===!1&&(n=t),n.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),n.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),n.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}mousewheelListener(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}scrollListener(){const t=this.scrollComponent,n=window,i=this.getParentElement(t);let r;if(this.props.useWindow){const s=document.documentElement||document.body.parentNode||document.body,a=n.pageYOffset!==void 0?n.pageYOffset:s.scrollTop;this.props.isReverse?r=a:r=this.calculateOffset(t,a)}else this.props.isReverse?r=i.scrollTop:r=t.scrollHeight-i.scrollTop-i.clientHeight;r<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=i.scrollHeight,this.beforeScrollTop=i.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}calculateOffset(t,n){return t?this.calculateTopPosition(t)+(t.offsetHeight-n-window.innerHeight):0}calculateTopPosition(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}render(){const t=this.filterProps(this.props),{children:n,element:i,hasMore:r,initialLoad:s,isReverse:a,loader:c,loadMore:u,pageStart:l,ref:M,threshold:g,useCapture:N,useWindow:y,getScrollParent:T,...d}=t;d.ref=C=>{this.scrollComponent=C,M&&M(C)};const f=[n];return r&&(c?a?f.unshift(c):f.push(c):this.defaultLoader&&(a?f.unshift(this.defaultLoader):f.push(this.defaultLoader))),I.createElement(i,d,f)}}const Ii=({url:e,text:t})=>{const n=We.useTheme(),i=I.useMemo(()=>({addressLink:{display:"inline-flex",alignItems:"center",overflow:"hidden",color:n.palette.text.primary,opacity:.6}}),[n]);return e&&t?o.jsx(As,{onClick:r=>r.stopPropagation(),sx:i.addressLink,href:e,rel:"noreferrer noopener",target:"_blank",children:t}):null},B9=e=>{const t=We.useTheme(),n=I.useMemo(()=>({container:{width:"100%",maxWidth:"448px",[t.breakpoints.down("sm")]:{maxWidth:"412px"}},card:{width:"100%",borderRadius:"8px",border:`1px solid ${t.palette.input.border}`},cardHeader:{paddingBottom:0}}),[t]),{txHash:i,amount:r,amountUsd:s,fromChain:a,fromToken:c,toChain:u,toToken:l,receiveAmount:M,senderTimestamp:g,explorerLink:N}=e.data,y=I.useMemo(()=>o.jsx(Me,{component:"span",padding:"0px 8px",children:"·"}),[]),{getTokenPrice:T,lastTokenPriceUpdate:d}=ft(),f=I.useMemo(()=>{const j=x.config.chains[a];return o.jsxs(De,{alignItems:"center",direction:"row",justifyContent:"flex-start",children:[o.jsx(Ai,{chainConfig:j,token:c}),o.jsxs(De,{direction:"column",marginLeft:"12px",children:[o.jsxs(Me,{fontSize:16,children:[r," ",c?x.getTokenDisplaySymbolByTokenAddress(c):""]}),o.jsxs(Me,{color:t.palette.text.secondary,fontSize:14,children:[s?o.jsxs(o.Fragment,{children:[x.getUSDFormat(s),y]}):null,j?.displayName]})]})]})},[r,s,a,y,t.palette.text.secondary,c]),C=I.useMemo(()=>{const j=x.config.chains[u],L=l,p=M?x.calculateUSDPrice(T,parseFloat(M),L):0,S=p?o.jsxs(o.Fragment,{children:[p,y]}):null,w=L?x.getTokenDisplaySymbolByTokenAddress(L):"";return o.jsxs(De,{alignItems:"center",direction:"row",justifyContent:"flex-start",children:[o.jsx(Ai,{chainConfig:j,token:L}),o.jsxs(De,{direction:"column",marginLeft:"12px",children:[o.jsxs(Me,{fontSize:16,children:[M," ",w]}),o.jsxs(Me,{color:t.palette.text.secondary,fontSize:14,children:[S,j?.displayName]})]})]})},[d,u,l,M,T,y,t.palette.text.secondary]),m=I.useMemo(()=>o.jsx(De,{height:"24px",borderLeft:"1px solid #8B919D",marginLeft:"16px"}),[]),h=I.useMemo(()=>{if(!g)return"Unknown time";const j=new Date(g),L=Date.now()-j.getTime();return L<1e3*60*60*24?x.millisToRelativeTime(L):`${new Intl.DateTimeFormat("en-US",{dateStyle:"short",timeStyle:"short"}).format(j)}`},[g]),D=I.useMemo(()=>{const j=x.getTransactionExplorerUrl(a,i),L=x.trimTxHash(i,4,4);return j?o.jsx(Ii,{url:j,text:L}):L},[a,i]);return o.jsx(he,{sx:n.container,children:o.jsx(wn,{sx:n.card,children:o.jsxs(ks,{disableTouchRipple:!0,onClick:()=>{window.open(N,"_blank")},children:[o.jsx(a0,{sx:n.cardHeader,title:o.jsxs(Me,{justifyContent:"space-between",color:t.palette.text.secondary,display:"flex",children:[o.jsxs("span",{children:["Transaction ",D]}),o.jsx("span",{children:h})]})}),o.jsxs(An,{children:[f,m,C]})]})})})},Z9=({transactions:e,hasMore:t,setPage:n})=>{const i=B.useTheme(),r=B.useMediaQuery(i.breakpoints.down("sm")),s=I.useMemo(()=>({infiniteScroller:{height:"640px",overflow:"auto",width:"100%",scrollbarWidth:"thin"},spacer:{width:"calc(100% - 8px)",display:"flex",flexDirection:"column",gap:"8px",alignItems:"center",justifyContent:"center"}}),[r]);return o.jsx(B.Box,{sx:s.infiniteScroller,children:o.jsx(P9,{hasMore:t,loadMore:a=>n(a),useWindow:!1,children:o.jsx(B.Box,{sx:s.spacer,children:e?.map((a,c)=>o.jsx(B9,{data:a},c))})})})},W9=I.memo(Z9),F9=({transactions:e,isFetching:t,hasMore:n,setPage:i,sendingWallet:r})=>{const s=B.useTheme(),a=B.useMediaQuery(s.breakpoints.down("sm")),c=I.useMemo(()=>({loadingContainer:{display:"flex",flexDirection:"column",gap:"16px",alignItems:"center",justifyContent:"center",width:a?"388px":"456px"}}),[a]);return e?.length?o.jsx(W9,{transactions:e,hasMore:n,setPage:i}):t||e?.length===0?o.jsxs(B.Box,{sx:c.loadingContainer,children:[o.jsx(B.Skeleton,{variant:"rounded",height:24,width:"100%"}),o.jsx(B.Skeleton,{variant:"rounded",height:48,width:"100%"}),o.jsx(B.Skeleton,{variant:"rounded",height:48,width:"100%"})]}):!t&&(!e||e.length===0)?o.jsxs(B.Typography,{color:s.palette.text.secondary,textAlign:"center",children:["No transactions found for the wallet ",x.trimAddress(r.address)]}):null},H9=I.memo(F9),G9=()=>{const e=tt(),t=B.useTheme(),n=B.useMediaQuery(t.breakpoints.down("sm")),[i,r]=I.useState(0),{transactions:s,isFetching:a,hasMore:c}=b9({page:i}),u=Ae(N=>N.wallet.sending),l=I.useMemo(()=>({container:{maxWidth:"456px"},containerMobile:{display:"flex",flexDirection:"column"},txHistoryHeader:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"16px"}}),[]),M=I.useMemo(()=>o.jsxs(B.Box,{sx:l.txHistoryHeader,children:[o.jsx(B.Box,{children:o.jsx(Xn,{align:"left",size:18,text:"Transaction history"})}),o.jsx(B.Button,{variant:"text",sx:{color:t.palette.text.primary,padding:0,textTransform:"none",textDecoration:"none","&:hover":{textDecoration:"underline"}},onClick:()=>e(Bt("search")),children:n?"Resume":"Resume Transaction"})]}),[e,n,l.txHistoryHeader,t.palette.text.primary]),g=I.useMemo(()=>n?l.containerMobile:l.container,[n,l.container,l.containerMobile]);return o.jsxs(B.Box,{sx:{...g},children:[o.jsx(Xs,{}),M,o.jsx(H9,{transactions:s,isFetching:a,hasMore:c,setPage:r,sendingWallet:u})]})},V9=I.memo(G9);function J9(e){const t=B.useTheme(),n=tt(),[i,r]=I.useState(e.showHistory??!1),[s,a]=I.useState(!1),{lastTokenCacheUpdate:c}=ft(),[u,l]=I.useState(!1),M=B.useMediaQuery(t.breakpoints.down("sm")),g=I.useRef(null),N=I.useMemo(()=>({bridgeContent:{margin:"auto",maxWidth:"488px"},doneIcon:{fontSize:"14px",color:t.palette.success.main},copyIcon:{fontSize:"14px"},ctaContainer:{width:"100%"}}),[t.palette.success.main]),{sending:y,receiving:T}=Ae(ce=>ce.wallet),{fromChain:d,toChain:f,route:C,preferredRouteName:m,amount:h,toNativeToken:D,isTransactionInProgress:j,validations:L}=Ae(ce=>({...ce.transferInput,...ce.relay})),{sourceToken:p,destToken:S}=zn(),w=d===f,{allSupportedRoutes:z,sortedRoutes:U,sortedRoutesWithQuotes:k,quotes:v,failedQuotes:Q,isFetching:P}=Sl({amount:h,fromChain:d,toChain:f,preferredRouteName:m,sourceToken:p,destToken:S,toNativeToken:D,sendingWallet:y,receivingWallet:T}),{isFetching:Z,supportedDestTokens:O}=Tl({sourceChain:d,destChain:f,sourceToken:p}),{error:H,errorInternal:$,info:_,onConfirm:A}=H3({quotes:v});I.useEffect(()=>{if(k.length===0)n(Ri(""));else{const ce=k.find(Ye=>Ye.route===m),Ie=C??ce?.route??k[0].route,Se=k.findIndex(Ye=>Ye.route===Ie)>-1;if(Se||n(Ri("")),!Ie||C&&Se)return;const me=k?.find(Ye=>Ye.route===Ie);me&&n(Ri(me.route))}},[m,C,k,n]);const{isConnecting:Y}=f2(d,f,y,T);P3();const E=I.useMemo(()=>u2(L),[L]),R=I.useMemo(()=>x.config.routes.allSupportedChains(),[x.config.chains,x.config.routes]),q=I.useMemo(()=>{if(d){const ce=x.config.tokens.getAllForChain(d),Ie=x.config.chains[d];return Ie?Ko(ce,Ie):ce}else return[]},[d,c]),te=I.useMemo(()=>D1(R,f,!0),[f,R]),X=I.useMemo(()=>D1(R,d),[d,R]),W=I.useMemo(()=>{if(d&&y?.address)return{chain:d,wallet:y,tokens:q}},[d,y,q]),V=I.useMemo(()=>{if(f&&T?.address){const ce=x.config.tokens.getAllForChain(f),Ie=x.config.chains[f],Se=Ie?Ko(ce,Ie):ce;return{chain:f,wallet:T,tokens:Se}}},[f,T]),J=V3({source:W,destination:V});I.useEffect(()=>{a(!1)},[f]),q3({route:C,destChain:f,receivingWalletAddress:T?.address,destinationBalances:J.destination.balances,hasUserManuallyChangedGas:s,currentToNativeToken:D,isFetchingBalances:J.isFetching,allowedChains:x.config.ui.autoEnableGasDropOffChains});const ie=p3({balance:p?J.source.balances[p.key]?.balance:null,quotes:v,failedQuotes:Q,tokenSymbol:p?.symbol??"",disabled:!d||!p}),K=I.useCallback(ce=>{G4(n,ce,y),n(X4()),n(Ot(0))},[n,y]),G=I.useCallback(ce=>{n(q4(ce.tuple)),n(Ot(0)),n(yn(""))},[n]),ee=I.useCallback(ce=>{V4(n,ce,T),n($4()),n(Ot(0))},[n,T]),ge=I.useCallback(ce=>{n(v0(ce.tuple)),n(Ot(0))},[n]),fe=v&&C?v[C]:void 0,ye=I.useCallback(()=>{r(ce=>(ce||x.config.triggerEvent({type:"history.load",details:{wallet:y?.address}}),!ce))},[y?.address]),Ce=I.useCallback(ce=>{n(Ri(ce))},[n]),ke=I.useCallback(()=>{a(!0)},[]),ze=I.useMemo(()=>y?.address&&T?.address?null:y?.address&&!T?.address?{disabled:!f,side:"destination",type:we.TransferWallet.RECEIVING}:{disabled:!d,side:"source",type:we.TransferWallet.SENDING},[y?.address,T?.address,f,d]),{isCompatible:Qe}=J3({sendingWallet:y,receivingWallet:T,sourceChain:d,destChain:f,routes:U}),Fe=I.useMemo(()=>H?o.jsxs(he,{sx:{marginBottom:2},children:[o.jsx(Vn,{error:!0,testId:"send-error-message",children:H}),$&&$.message&&x.config.ui.getHelpUrl?o.jsxs(Me,{fontSize:14,sx:{marginTop:1},children:["Having trouble?"," ",o.jsxs("a",{href:"#",onClick:()=>{x.copyTextToClipboard($.message),l(!0),setTimeout(()=>l(!1),3e3)},children:["Copy the error logs"," ",u?o.jsx(ic,{sx:N.doneIcon}):o.jsx(nc,{sx:N.copyIcon})]})," and ",o.jsx("a",{href:x.config.ui.getHelpUrl,target:"_blank",rel:"noreferrer",children:"ask for help"}),"."]}):null]}):null,[N.copyIcon,N.doneIcon,u,H,$]),Pe=I.useMemo(()=>_?o.jsx(Vn,{children:_}):null,[_]),He=h&&b.whole(h)>0,ne=y.address&&T.address,ue=!d||!p||!f||!S||!ne||!Qe||!C||!E||P||!He||j||!!ie.error,se=I.useMemo(()=>o.jsx(zt,{disabled:ue,"data-testid":"confirm-transaction-button","aria-label":"Confirm transaction",variant:"primary",onClick:()=>A(),children:j?o.jsxs(Me,{display:"flex",alignItems:"center",gap:1,textTransform:"none",children:[o.jsx(St,{color:"inherit",size:16,thickness:4}),M?"Preparing":"Preparing transaction"]}):!j&&P?o.jsxs(Me,{display:"flex",alignItems:"center",gap:1,textTransform:"none",children:[o.jsx(St,{color:"inherit",size:16,thickness:4}),M?"Refreshing":"Refreshing quote"]}):o.jsx(Me,{textTransform:"none",children:M?"Confirm":"Confirm transaction"})}),[ue,j,M,P,A]),ae=He&&p&&S,oe=!d||!p?"Please select a source asset":!f||!S?"Please select a destination asset":He?P?"Loading quotes...":C?"":"Please select a quote":"Please enter an amount",le=o.jsxs(o.Fragment,{children:[o.jsx(C9,{showHistory:i,onToggleHistory:ye,isTransactionInProgress:j,isWalletConnected:!!y?.address}),i?o.jsx(V9,{}):o.jsxs(o.Fragment,{children:[o.jsxs(De,{sx:{gap:"4px",position:"relative"},children:[o.jsx(he,{ref:g,children:o.jsx(Ua,{chain:d,chainList:te,token:p,destToken:S,tokenList:q,setChain:K,setToken:G,wallet:y,isSameChainSwap:w,isSource:!0,isTransactionInProgress:j,dataTestId:"source-asset-picker",isConnectingWallet:Y,balances:J.source.balances,isFetchingBalances:J.isFetching,anchorEl:g.current,amountValidation:ie})}),!x.config.ui.hideSwapInputs&&o.jsx(d9,{}),o.jsx(Ua,{chain:f,chainList:X,token:S,sourceToken:p,tokenList:O,isFetchingQuotes:P,isFetchingTokens:O.length===0&&Z,setChain:ee,setToken:ge,wallet:T,isSameChainSwap:w,isSource:!1,isTransactionInProgress:j,dataTestId:"dest-asset-picker",isConnectingWallet:Y,balances:J.destination.balances,isFetchingBalances:J.isFetching,quote:fe?.success?fe:void 0,anchorEl:g.current})]}),o.jsx(he,{component:"span",sx:N.ctaContainer,children:ne?o.jsx(zr,{title:oe,children:o.jsx("span",{children:se})}):ze?o.jsx(OM,{...ze}):null}),Fe,Pe,o.jsx(p9,{validation:ie})]})]});return o.jsxs(he,{sx:{...N.bridgeContent},children:[o.jsx(Ur,{children:le}),!i&&o.jsx(he,{sx:{marginTop:"12px",width:"100%"},children:ae&&o.jsx(u9,{routes:U,selectedRoute:C,onRouteChange:Ce,quotes:v,isLoading:P,onManualGasChange:ke})}),x.config.ui.showFooter&&o.jsxs(o.Fragment,{children:[o.jsx(h2,{color:t.palette.text.primary}),o.jsx(Ps,{})]})]})}const Ka=I.memo(J9),q9=()=>{const e=B.useTheme(),t=I.useContext(En),n=I.useMemo(()=>({container:{width:"100%",maxWidth:"456px",backgroundColor:e.palette.input.background,borderRadius:"8px"},card:{width:"100%",backgroundColor:e.palette.input.background}}),[e]),{sendTx:i,sender:r,amount:s,recipient:a,toChain:c,fromChain:u,token:l,receivedToken:M,receiveAmount:g,receiveNativeAmount:N,eta:y}=Ae(v=>v.redeem.txData),{route:T}=Ae(v=>v.redeem),d=x.config.tokens.get(l),f=x.config.tokens.get(M),{getTokenPrice:C,isFetchingTokenPrices:m,lastTokenPriceUpdate:h}=ft(),D=I.useMemo(()=>o.jsx(Me,{component:"span",padding:"0px 8px",children:"·"}),[]),j=I.useMemo(()=>{if(!d||!u)return o.jsx(o.Fragment,{});const v=x.config.tokens.get(l),Q=x.config.chains[u],P=x.calculateUSDPrice(C,s,v),Z=r?x.trimAddress(r):"",O=r?x.getWalletExplorerUrl(u,r):"",H=b.display(b.truncate(s,6));return o.jsxs(De,{alignItems:"center",direction:"row",justifyContent:"flex-start",children:[o.jsx(Ai,{chainConfig:Q,token:v}),o.jsxs(De,{direction:"column",marginLeft:"12px",children:[o.jsxs(Me,{fontSize:16,children:[H," ",x.getTokenDisplaySymbolByTokenAddress(d)]}),o.jsx(Me,{color:e.palette.text.secondary,fontSize:14,children:m?o.jsx(St,{size:14}):o.jsxs(o.Fragment,{children:[P,P?D:null,Q.displayName,O?o.jsxs(o.Fragment,{children:[D,o.jsx(Ii,{url:O,text:Z})]}):null]})})]})]})},[d,u,l,C,s,r,e.palette.text.secondary,m,D]),L=I.useMemo(()=>{if(!f||!c)return o.jsx(o.Fragment,{});const v=x.config.chains[c],Q=x.calculateUSDPrice(C,g,f),P=a?x.trimAddress(a):"",Z=a?x.getWalletExplorerUrl(c,a):"",O=g?b.display(b.truncate(g,6)):"-";return o.jsxs(De,{alignItems:"center",direction:"row",justifyContent:"flex-start",children:[o.jsx(Ai,{chainConfig:v,token:f}),o.jsxs(De,{direction:"column",marginLeft:"12px",children:[o.jsxs(Me,{fontSize:16,children:[O," ",x.getTokenDisplaySymbolByTokenAddress(f)]}),o.jsx(Me,{color:e.palette.text.secondary,fontSize:14,children:m?o.jsx(St,{size:14}):o.jsxs(o.Fragment,{children:[Q,Q?D:null,v.displayName,Z?o.jsxs(o.Fragment,{children:[D,o.jsx(Ii,{url:Z,text:P})]}):null]})})]})]})},[f,C,g,a,D,e.palette.text.secondary,c,m,h]),p=I.useMemo(()=>o.jsx(De,{height:"28px",borderLeft:"1px solid #8B919D",marginLeft:"16px"}),[]),S=I.useMemo(()=>{if(!M||!N||b.units(N)===0n)return o.jsx(o.Fragment,{});const v=x.config.chains[c];if(!v)return o.jsx(o.Fragment,{});const Q=x.calculateUSDPrice(C,N,x.config.tokens.getGasToken(v.sdkName));return o.jsxs(De,{direction:"row",justifyContent:"space-between",children:[o.jsx(Me,{color:e.palette.text.secondary,fontSize:14,children:"Additional gas"}),m?o.jsx(St,{size:14}):o.jsx(Me,{fontSize:14,children:Q})]})},[N,e.palette.text.secondary,c,m,h]),w=I.useMemo(()=>{const v=t.route??T;if(!v)return null;const Q=pu(v,i,u,c);if(!Q||Q.length===0)return null;const P=Q.filter(({url:Z})=>URL.canParse(Z));return P.length===0?null:o.jsx(De,{direction:"column",gap:"8px",padding:"12px 16px",children:P.map(({name:Z,url:O},H)=>o.jsx(De,{direction:"row",justifyContent:"space-between",children:o.jsx(Me,{color:e.palette.text.secondary,fontSize:14,children:o.jsx(Ii,{url:O,text:`View on ${Z}`})})},H))})},[u,t.route,T,i,e.palette.text.primary,c]),z=I.useMemo(()=>{let v=o.jsx(St,{size:14});return y?(v=x.millisToHumanString(y),o.jsxs(De,{direction:"row",justifyContent:"space-between",children:[o.jsx(Me,{color:e.palette.text.secondary,fontSize:14,children:`Time to ${x.chainDisplayName(c)}`}),o.jsx(Me,{fontSize:14,children:v})]})):null},[y,e.palette.text.secondary,c]),U=i?x.trimAddress(i):"",k=i?x.getTransactionExplorerUrl(u,i):"";return o.jsx(B.Box,{sx:n.container,children:o.jsxs(wn,{sx:n.card,children:[o.jsxs(An,{children:[o.jsxs(De,{direction:"row",spacing:1,marginBottom:"12px",children:[o.jsx(Me,{color:e.palette.text.secondary,children:"Transaction"}),o.jsx(Me,{color:e.palette.text.secondary,children:k?o.jsx(Ii,{url:k,text:U}):U})]}),j,p,L,o.jsxs(De,{direction:"column",gap:"8px",justifyContent:"space-between",marginTop:"16px",children:[S,z]})]}),o.jsx(vo,{flexItem:!0,sx:{margin:"0 16px",opacity:"50%"}}),w]})})},X9=B.createSvgIcon(o.jsx("svg",{width:"107",height:"107",viewBox:"0 0 107 107",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M53.5 36.625V57.7188M104.125 53.5C104.125 60.1482 102.816 66.7312 100.271 72.8733C97.7273 79.0155 93.9982 84.5963 89.2973 89.2973C84.5963 93.9982 79.0155 97.7273 72.8733 100.271C66.7312 102.816 60.1482 104.125 53.5 104.125C46.8518 104.125 40.2688 102.816 34.1267 100.271C27.9845 97.7273 22.4037 93.9982 17.7027 89.2973C13.0018 84.5963 9.27274 79.0155 6.7286 72.8733C4.18445 66.7312 2.875 60.1482 2.875 53.5C2.875 40.0734 8.20869 27.1967 17.7027 17.7027C27.1967 8.20869 40.0734 2.875 53.5 2.875C66.9266 2.875 79.8032 8.20869 89.2973 17.7027C98.7913 27.1967 104.125 40.0734 104.125 53.5ZM53.5 74.5938H53.545V74.6388H53.5V74.5938Z",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"})}),"Alert"),$9=B.createSvgIcon(o.jsxs("svg",{width:"106",height:"106",viewBox:"0 0 106 106",stroke:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M52.5829 105C81.6236 105 105.166 81.4949 105.166 52.5C105.166 23.5051 81.6236 0 52.5829 0C23.5422 0 0 23.5051 0 52.5C0 81.4949 23.5422 105 52.5829 105ZM52.582 101.597C79.7404 101.597 101.757 79.6157 101.757 52.5001C101.757 25.3844 79.7404 3.40283 52.582 3.40283C25.4235 3.40283 3.40723 25.3844 3.40723 52.5001C3.40723 79.6157 25.4235 101.597 52.582 101.597Z",fill:"currentColor"}),o.jsx("path",{d:"M65.7583 39.2417L39.2418 65.7582",stroke:"currentColor",strokeWidth:"4"}),o.jsx("path",{d:"M39.2417 39.2417L65.7582 65.7582",stroke:"currentColor",strokeWidth:"4"})]}),"Alert"),e0=B.createSvgIcon(o.jsxs("svg",{width:"107",height:"106",viewBox:"0 0 107 106",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M53.2,105.5c29,0,52.6-23.5,52.6-52.5S82.2.5,53.2.5.6,24,.6,53s23.5,52.5,52.6,52.5ZM53.2,102.1c27.2,0,49.2-22,49.2-49.1S80.4,3.9,53.2,3.9,4,25.9,4,53s22,49.1,49.2,49.1Z"}),o.jsx("rect",{fill:"currentColor",x:"51",y:"28.8",width:"5",height:"42.6"}),o.jsx("rect",{fill:"currentColor",x:"48",y:"63.9",width:"25.5",height:"5",transform:"translate(-29.2 62.4) rotate(-45)"}),o.jsx("rect",{fill:"currentColor",x:"43.8",y:"53.7",width:"5",height:"25.5",transform:"translate(-33.4 52.2) rotate(-45)"})]}),"Alert");function K9(){const e=tt(),t=We.useTheme(),[n,i]=I.useState(""),[r,s]=I.useState(null),[a,c]=I.useState(!1),[u,l]=I.useState(!1),[M,g]=I.useState(!1),[N,y]=I.useState(!1),[T,d]=I.useState(At.TOKEN_PROGRAM_ID),f=I.useContext(En),{walletProvider:C,connectWallet:m}=ln(),{sourceToken:h,destToken:D}=D3(),j=I.useMemo(()=>({spacer:{display:"flex",flexDirection:"column",gap:"16px",alignItems:"center",justifyContent:"center",width:"100%"},container:{margin:"auto",maxWidth:"650px"},header:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},claimButton:{backgroundColor:t.palette.warning.light,color:t.palette.warning.contrastText??t.palette.background.default,"&:hover":{backgroundColor:t.palette.warning.main}},circularProgressCircleIndeterminite:{stroke:"url(#circularGradient)",strokeDasharray:"100px, 200px",strokeLinecap:"round"},circularProgressCircleDeterminite:{strokeLinecap:"round",transitionDuration:"1s",transitionProperty:"all",transitionTimingFunction:"linear"},circularProgressRoot:{animationDuration:"1s"},errorBox:{maxWidth:"456px"},txStatusIcon:{width:"105px",height:"105px"},delayText:{maxWidth:"456px"}}),[t]),{route:L,timestamp:p,isResumeTx:S,txData:w}=Ae(oe=>oe.redeem);f2(w?.fromChain,w?.toChain);const[z,U]=I.useState(void 0),{receipt:k}=f,v=k&&b.isAttested(k),Q=k&&b.isRefunded(k),P=k&&b.isFailed(k)||!!z,Z=k&&b.isFailed(k)&&k.error instanceof b.RelayFailedError,O=k&&b.isDestinationQueued(k),{recipient:H,toChain:$,fromChain:_,token:A,receivedToken:Y,amount:E,eta:R=0,sendTx:q}=w,te=a2(),X=I.useMemo(()=>{if(R&&p)return new Date(p+R)},[R,p]),{seconds:W,minutes:V,isRunning:J,restart:ie}=q2.useTimer({expiryTimestamp:new Date,autoStart:!1,onExpire:()=>g(!0)});I.useEffect(()=>{!p||!R||J||ie(new Date(p+R),!0)},[R,J,ie,p]);const K=I.useMemo(()=>x.tokenIdFromTuple(Y),[Y]);I.useEffect(()=>{if(!Ee.isSvmChain($)||!K)return;(async()=>{try{const le=x.config.rpcs[$];if(!le)return;const ce=new Ze.Connection(le),Ie=b.isNative(K.address)?At.NATIVE_MINT:new Ze.PublicKey(K.address.toString()),Se=await Ze.SolanaPlatform.getTokenProgramId(ce,Ie);d(Se)}catch(le){console.error("Failed to fetch token program:",le)}})()},[$,K]);const G=X2({receipt:k,route:L,eta:X,receivedTokenId:K}),ee=k&&b.isCompleted(k)||G.isCompleted;I.useEffect(()=>{G.receipt&&f.setReceipt(G.receipt)},[f,G.receipt]);const ge=!!(L&&x.config.routes.get(L)?.AUTOMATIC_DEPOSIT),fe=Ws(L,h,D,_,$,E,te);I.useEffect(()=>{const{receipt:oe}=f;if(oe)if(ee)u||(l(!0),x.config.triggerEvent({type:"transfer.success",details:fe}),ge||x.config.triggerEvent({type:"transfer.redeem.success",details:fe}),c(!1),i(""),s(null),w?.sendTx&&Xo(w?.sendTx));else if(Q)x.config.triggerEvent({type:"transfer.refunded",details:fe}),w?.sendTx&&Xo(w.sendTx);else if(b.isFailed(oe)){const[le,ce]=x.interpretTransferError(oe.error,fe,"redeem");i(le),oe.error instanceof b.RelayFailedError&&oe.error.relayExplorer&&s(oe.error.relayExplorer),x.config.triggerEvent({type:"transfer.error",details:fe,error:ce}),console.error(`Transfer failed with error ${ce}: ${oe.error}`),c(!1)}else if(z){const[le,ce]=x.interpretTransferError(z,fe,"redeem");i(le),x.config.triggerEvent({type:"transfer.redeem.error",details:fe,error:ce}),console.error(`Error while manually redeeming: ${ce.type} - ${z}`),c(!1)}else v&&!ge&&w?.sendTx?b3(w?.sendTx,"isReadyToClaim",!0):(i(""),s(null))},[k?.state,ee,Q,v,z,u]);const ye=Ae(oe=>oe.wallet.receiving),Ce=(()=>{const oe=p+R,le=Date.now();return oe>le?oe-le:0})(),ke=I.useMemo(()=>{let oe="Transaction in progress";return ee?oe="Transaction completed":Q?oe="Transaction was refunded":Z?oe="Transfer error":P?oe="Transaction failed":O?oe="Transaction delayed":v&&!ge&&(oe=`Ready to claim on ${$}`),oe},[ee,Q,Z,P,O,v,ge,$]),ze=I.useMemo(()=>{if(M)return o.jsx(De,{children:o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,children:"Wrapping up..."})});const oe=J?Hs(V,W):null;let le=o.jsx(St,{size:14});return R&&(le=`ETA ${B3(R)}`),o.jsxs(De,{alignItems:"center",justifyContent:"center",children:[o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,children:le}),o.jsx(Me,{fontSize:28,children:oe})]})},[R,M,J,V,W,t.palette.text.secondary]),Qe=R?(R-Ce)/R*100:0,Fe=I.useMemo(()=>o.jsxs(o.Fragment,{children:[o.jsx("svg",{width:0,height:0,children:o.jsx("defs",{children:o.jsxs("linearGradient",{id:"circularGradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[o.jsx("stop",{offset:"0%",stopColor:t.palette.primary.main,stopOpacity:"1"}),o.jsx("stop",{offset:"100%",stopColor:t.palette.background.default,stopOpacity:"0.1"})]})})}),o.jsxs(he,{sx:{position:"relative"},children:[o.jsx(St,{variant:"determinate",sx:oe=>({color:oe.palette.primary.main,opacity:.2,position:"absolute"}),size:140,thickness:2,value:100}),o.jsx(St,{variant:M?"indeterminate":"determinate",sx:{"&.MuiCircularProgress-root":j.circularProgressRoot,"& .MuiCircularProgress-circle":M?j.circularProgressCircleIndeterminite:j.circularProgressCircleDeterminite},disableShrink:M,size:140,thickness:2,value:Qe})]}),o.jsx(he,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:ze})]}),[j.circularProgressCircleDeterminite,j.circularProgressCircleIndeterminite,j.circularProgressRoot,ze,M,Qe,t.palette.background.default,t.palette.primary.main]),Pe=I.useMemo(()=>ee?o.jsx($2,{sx:{...j.txStatusIcon,color:t.palette.primary.light}}):Q||O?o.jsx(X9,{sx:{...j.txStatusIcon,color:t.palette.warning.main}}):Z?o.jsx(e0,{sx:{...j.txStatusIcon,color:t.palette.warning.light}}):P?o.jsx($9,{sx:{...j.txStatusIcon,color:t.palette.error.light}}):!ge&&v?o.jsx(e0,{sx:{...j.txStatusIcon,color:t.palette.warning.light}}):Fe,[ee,Q,O,Z,L,P,ge,v,j.txStatusIcon,t.palette.primary.light,t.palette.warning.main,t.palette.warning.light,t.palette.error.light,Fe]);I.useEffect(()=>{let oe;if(f.receipt&&b.isDestinationQueued(f.receipt)){c(!0);const ce=f.receipt.queueReleaseTime.getTime()-Date.now();oe=setTimeout(()=>{c(!1)},ce)}return()=>{oe&&clearTimeout(oe)}},[f.receipt]);const He=I.useMemo(()=>{if(!H)return!1;if(S&&Ee.isSvmChain($)&&ye.address&&ye.type==="Solana"&&ye.address!==H&&L&&["ManualTokenBridge","ManualCCTP","CCTPv2FastExecutorRoute","CCTPv2StandardExecutorRoute","BaseBridgeRoute"].includes(L)){const{address:Ie}=x.tokenIdFromTuple(Y);return At.getAssociatedTokenAddressSync(new Ze.PublicKey(b.isNative(Ie)?At.NATIVE_MINT:Ie.toString()),new Ze.PublicKey(ye.address),!0,T).equals(new Ze.PublicKey(H))?(i(""),!0):(i("Not connected to the receiving wallet"),!1)}const oe=ye.address.toLowerCase(),le=ye.currentAddress.toLowerCase(),ce=H.toLowerCase();return oe===le&&oe===ce},[ye,H,$,S,L,Y,T]),ne=I.useCallback(async()=>{if(c(!0),i(""),s(null),U(void 0),!L)throw new Error("Unknown route, can not claim");if(!f.receipt)throw new Error("No receipt found, can not claim");const oe={route:L,fromToken:Dn(x.config.tokens.mustGet(A)),toToken:Dn(x.config.tokens.mustGet(Y)),fromChain:_,toChain:$};if(x.config.triggerEvent({type:"transfer.redeem.initiate",details:oe}),!He)throw i("Not connected to the receiving wallet"),new Error("Not connected to the receiving wallet");if(!x.config.chains[$])throw i("Your claim has failed, please try again"),new Error("invalid destination chain");const ce=f.route;try{if(!b.isManual(ce)&&!b.isFinalizable(ce))throw new Error("Route is not manual or finalizable");const Ie=await Di.fromChain($,ye.address,we.TransferWallet.RECEIVING,C),Se=O&&b.isFinalizable(ce)?ce.finalize(Ie,f.receipt):!O&&b.isManual(ce)?ce.complete(Ie,f.receipt):void 0;Se&&(x.config.triggerEvent({type:"transfer.redeem.start",details:fe}),await Se)}catch(Ie){U(Ie),c(!1),console.error(Ie)}},[fe,_,He,O,Y,ye.address,f.receipt,f.route,L,$,A,C]),ue=I.useCallback(async()=>{y(!0),await m($,we.TransferWallet.RECEIVING)},[m,$]),se=I.useMemo(()=>a?o.jsx(zt,{disabled:!0,variant:"primary",children:o.jsxs(Me,{display:"flex",alignItems:"center",gap:1,textTransform:"none",children:[o.jsx(St,{size:16,sx:{color:t.palette.primary.contrastText}}),"Transfer in progress"]})}):Z&&r?o.jsx(zt,{variant:"primary",onClick:()=>{window.open(r.url,"_blank","noopener,noreferrer")},children:o.jsxs(Me,{textTransform:"none",children:["Recover on ",r.name]})}):Z&&L==="CCTPExecutorRoute"&&q?o.jsx(zt,{variant:"primary",onClick:()=>{e(Zo()),e(Bt("search")),e(Q0({txHash:q,chain:_}))},children:o.jsx(Me,{textTransform:"none",children:"Claim tokens to complete transfer"})}):O||!ge&&v||Z?He?o.jsx(zt,{styleOverrides:[j.claimButton],variant:n?"error":"primary",onClick:ne,children:o.jsx(Me,{textTransform:"none",children:"Claim tokens to complete transfer"})}):o.jsx(zt,{variant:"primary",onClick:ue,children:o.jsx(Me,{textTransform:"none",children:"Connect receiving wallet"})}):o.jsxs(o.Fragment,{children:[o.jsx(zt,{variant:"primary",onClick:()=>{e(Bt("bridge"))},children:o.jsx(Me,{textTransform:"none",children:"Start a new transaction"})}),!ee&&o.jsx(Me,{fontSize:"12px",sx:{margin:"auto",opacity:.6},children:"Your current transaction will continue to process in the background."})]}),[a,O,ge,v,Z,L,q,j.claimButton,ee,t.palette.primary.contrastText,He,n,ne,ue,e,_]),ae=I.useMemo(()=>{if(!f.receipt||!b.isDestinationQueued(f.receipt))return null;const{to:oe,queueReleaseTime:le}=f.receipt,ce=x.config.tokens.get(Y),Ie=ce?x.getTokenDisplaySymbolByTokenAddress(ce):"",Se=le.toLocaleString();return o.jsx(Me,{color:t.palette.text.secondary,fontSize:14,sx:j.delayText,children:`Your transfer to ${oe} is delayed due to rate limits configured by ${Ie}. After
|
|
490
445
|
the delay ends on ${Se}, you will need to tap "Claim" to
|
|
491
|
-
complete your transfer.`})},[j.delayText,Y,f.receipt,t.palette.text.secondary]);return o.jsxs(he,{sx:{...j.container,...j.spacer},"data-testid":"redeem-view",children:[o.jsxs(Ur,{children:[o.jsx(Xs,{}),o.jsxs(he,{display:"flex",alignItems:"center",position:"relative",justifyContent:"center",children:[o.jsx(he,{position:"absolute",left:0,children:o.jsx(Bs,{route:"bridge"})}),o.jsx(Xn,{align:"center",text:ke,size:24,weight:600,"data-testid":"redeem-view-status-header"})]}),o.jsx(he,{sx:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",height:"140px"},children:Pe}),o.jsx(gg,{}),se,ae,n&&o.jsx(Vn,{error:!0,sx:j.errorBox,children:n})]}),x.config.ui.showFooter&&o.jsx(j2,{color:t.palette.text.primary}),o.jsx(Js,{open:N,walletType:we.TransferWallet.RECEIVING,setIsOpen:y,isAddressInputVisible:!1})]})}const Ng=I.memo(jg),yg=()=>o.jsxs("svg",{width:"0",height:"0",viewBox:"0 0 0 0",children:[o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"icons_tokens_sol_linearGradient_0",x1:"4.168",y1:"85.832",x2:"91.832",y2:"-1.832",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#9945FF"}),o.jsx("stop",{offset:".2",stopColor:"#7962E7"}),o.jsx("stop",{offset:"1",stopColor:"#00D18C"})]}),o.jsx("clipPath",{id:"icons_tokens_sol_clipPath_0",children:o.jsx("path",{fill:"#fff",d:"M0 0h96v84H0z"})})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_chains_apt_clipPath_0",children:o.jsx("rect",{width:"36",height:"36",fill:"white"})})}),o.jsxs("defs",{children:[o.jsxs("radialGradient",{id:"icons_chains_osmo_radialGradient_0",cx:"0",cy:"0",r:"1",gradientTransform:"translate(653.009 167.889) scale(202.547 206.035)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#FFEAFF",stopOpacity:".6"}),o.jsx("stop",{offset:".681",stopColor:"#A087C9"}),o.jsx("stop",{offset:"1",stopColor:"#10002F"})]}),o.jsxs("radialGradient",{id:"icons_chains_osmo_radialGradient_1",cx:"0",cy:"0",r:"1",gradientTransform:"translate(540.32 255.753) scale(495.56 504.093)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#FFEAFF",stopOpacity:".6"}),o.jsx("stop",{offset:".681",stopColor:"#A087C9"}),o.jsx("stop",{offset:"1",stopColor:"#10002F"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_0",x1:"331.959",x2:"415.726",y1:"687.445",y2:"179.399",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#81FFFF"}),o.jsx("stop",{offset:".62",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_1",x1:"551.129",x2:"338.385",y1:"258.408",y2:"450.302",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_2",x1:"131.705",x2:"613.118",y1:"553.353",y2:"553.353",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#0002E9"}),o.jsx("stop",{offset:".995",stopColor:"#FF00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_3",x1:"635.906",x2:"369.659",y1:"452.584",y2:"699.942",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_4",x1:"131.705",x2:"389.259",y1:"553.352",y2:"553.352",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#000292"}),o.jsx("stop",{offset:".995",stopColor:"#7D00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_5",x1:"132.029",x2:"612.795",y1:"453.743",y2:"453.743",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#000292"}),o.jsx("stop",{offset:".995",stopColor:"#BE00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_6",x1:"604.91",x2:"569.494",y1:"191.453",y2:"248.03",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_7",x1:"343.013",x2:"362.187",y1:"613.233",y2:"613.233",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_8",x1:"409.132",x2:"428.305",y1:"606.695",y2:"606.695",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_9",x1:"379.785",x2:"394.18",y1:"639.688",y2:"639.688",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_10",x1:"438.053",x2:"452.447",y1:"632.755",y2:"632.755",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_11",x1:"281.083",x2:"312.395",y1:"600.365",y2:"600.365",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_12",x1:"467.049",x2:"498.361",y1:"548.259",y2:"548.259",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsx("clipPath",{id:"icons_chains_osmo_clipPath_0",children:o.jsx("rect",{width:"800",height:"800",fill:"#fff"})})]}),o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"linearGradient_icons_chains_sol_0",x1:"21.9203",y1:"4.40983",x2:"9.65997",y2:"27.9398",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#00FFA3"}),o.jsx("stop",{offset:"1",stopColor:"#DC1FFF"})]}),o.jsxs("linearGradient",{id:"linearGradient_icons_chains_sol_1",x1:"21.9203",y1:"4.40982",x2:"9.65999",y2:"27.9398",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#00FFA3"}),o.jsx("stop",{offset:"1",stopColor:"#DC1FFF"})]}),o.jsxs("linearGradient",{id:"linearGradient_icons_chains_sol_2",x1:"21.9203",y1:"4.40983",x2:"9.66001",y2:"27.9398",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#00FFA3"}),o.jsx("stop",{offset:"1",stopColor:"#DC1FFF"})]})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_chains_sui_clipPath_0",children:o.jsx("rect",{width:"18",height:"24",fill:"white",transform:"translate(9 6)"})})}),o.jsxs("defs",{children:[o.jsxs("radialGradient",{id:"icons_chains_uni_radialGradient_0",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(18.4297 18) rotate(90) scale(18 17.93)",children:[o.jsx("stop",{stopColor:"#FC74FE"}),o.jsx("stop",{offset:"1",stopColor:"#F50DB4"})]}),o.jsx("clipPath",{id:"icons_chains_uni_clipPath_0",children:o.jsx("rect",{width:"36",height:"36",fill:"white",transform:"translate(0.429688)"})})]}),o.jsx("defs",{children:o.jsxs("linearGradient",{id:"icons_chains_xlayer_linearGradient_0",x1:"34",y1:"35.4996",x2:"1.5",y2:"3.49957",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#040404"}),o.jsx("stop",{offset:"1",stopColor:"#282828"})]})}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_tokens_busd_clipPath_0",children:o.jsx("rect",{width:"199.401",height:"200",fill:"white"})})}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_tokens_dai_clipPath_0",children:o.jsx("rect",{width:"200",height:"200",fill:"white"})})}),o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"icons_tokens_inj_linearGradient_0",x1:"100",y1:"300",x2:"500",y2:"300",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#0082FA"}),o.jsx("stop",{offset:"1",stopColor:"#00F2FE"})]}),o.jsxs("linearGradient",{id:"icons_tokens_inj_linearGradient_1",x1:"100",y1:"300",x2:"500",y2:"300",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#0082FA"}),o.jsx("stop",{offset:"1",stopColor:"#00F2FE"})]})]}),o.jsxs("defs",{children:[o.jsxs("filter",{id:"icons_tokens_ntt_filter_0",x:"36.0726",y:"19.3241",width:"12.6301",height:"12.6306",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[o.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),o.jsx("feGaussianBlur",{stdDeviation:"1.18048",result:"effect1_foregroundBlur_4160_67832"})]}),o.jsxs("linearGradient",{id:"icons_tokens_ntt_linearGradient_0",x1:"76.3139",y1:"25.3915",x2:"10.1678",y2:"25.3915",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(1, 0, 0, 1, 307.155052, 224.001474)",children:[o.jsx("stop",{stopColor:"white",stopOpacity:"0"}),o.jsx("stop",{offset:"0.5142",stopColor:"white"}),o.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_tokens_ntt_linearGradient_1",x1:"42.748",y1:"1.55322",x2:"42.748",y2:"50.4438",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(1, 0, 0, 1, 307.155052, 224.001474)",children:[o.jsx("stop",{stopColor:"white"}),o.jsx("stop",{offset:"0.4519",stopColor:"white",stopOpacity:"0"}),o.jsx("stop",{offset:"0.5397",stopColor:"white",stopOpacity:"0"}),o.jsx("stop",{offset:"1",stopColor:"white"})]})]}),o.jsxs("defs",{children:[o.jsxs("radialGradient",{id:"icons_chains_osmo_radialGradient_0",cx:"0",cy:"0",r:"1",gradientTransform:"translate(653.009 167.889) scale(202.547 206.035)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#FFEAFF",stopOpacity:".6"}),o.jsx("stop",{offset:".681",stopColor:"#A087C9"}),o.jsx("stop",{offset:"1",stopColor:"#10002F"})]}),o.jsxs("radialGradient",{id:"icons_chains_osmo_radialGradient_1",cx:"0",cy:"0",r:"1",gradientTransform:"translate(540.32 255.753) scale(495.56 504.093)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#FFEAFF",stopOpacity:".6"}),o.jsx("stop",{offset:".681",stopColor:"#A087C9"}),o.jsx("stop",{offset:"1",stopColor:"#10002F"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_0",x1:"331.959",x2:"415.726",y1:"687.445",y2:"179.399",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#81FFFF"}),o.jsx("stop",{offset:".62",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_1",x1:"551.129",x2:"338.385",y1:"258.408",y2:"450.302",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_2",x1:"131.705",x2:"613.118",y1:"553.353",y2:"553.353",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#0002E9"}),o.jsx("stop",{offset:".995",stopColor:"#FF00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_3",x1:"635.906",x2:"369.659",y1:"452.584",y2:"699.942",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_4",x1:"131.705",x2:"389.259",y1:"553.352",y2:"553.352",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#000292"}),o.jsx("stop",{offset:".995",stopColor:"#7D00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_5",x1:"132.029",x2:"612.795",y1:"453.743",y2:"453.743",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#000292"}),o.jsx("stop",{offset:".995",stopColor:"#BE00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_6",x1:"604.91",x2:"569.494",y1:"191.453",y2:"248.03",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_7",x1:"343.013",x2:"362.187",y1:"613.233",y2:"613.233",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_8",x1:"409.132",x2:"428.305",y1:"606.695",y2:"606.695",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_9",x1:"379.785",x2:"394.18",y1:"639.688",y2:"639.688",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_10",x1:"438.053",x2:"452.447",y1:"632.755",y2:"632.755",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_11",x1:"281.083",x2:"312.395",y1:"600.365",y2:"600.365",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_12",x1:"467.049",x2:"498.361",y1:"548.259",y2:"548.259",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsx("clipPath",{id:"icons_chains_osmo_clipPath_0",children:o.jsx("rect",{width:"800",height:"800",fill:"#fff"})})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_tokens_usdt_clipPath_0",children:o.jsx("rect",{width:"229.912",height:"200",fill:"white"})})}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_tokens_wbtc_clipPath_0",children:o.jsx("rect",{width:"200",height:"200.022",fill:"white"})})})]}),Ig=()=>{const e=We.useTheme(),t=I.useContext(En),n=Ae(c=>c.router.route),i=tt(),{clearWallets:r}=ln(),s=x.usePrevious(n),{hasExternalSearch:a}=Tl();return I.useEffect(()=>{const c="redeem",u="bridge";s===c&&n!==c&&(r(),i(Zo()),t.clear()),n===u&&s!==u&&s!=="history"&&i(Y0())},[n,s,i,t,r]),I.useEffect(()=>{a&&(i(Zo()),i(Bt("search")))},[a,i]),o.jsxs(B.Box,{sx:{textAlign:"left",margin:"40px auto",maxWidth:"900px",width:"100%",display:"flex",justifyContent:"center",fontFamily:e.typography.fontFamily,[e.breakpoints.down("sm")]:{margin:"16px auto"}},children:[o.jsx(yg,{}),n==="bridge"&&o.jsx(e0,{showHistory:!1}),n==="redeem"&&o.jsx(Ng,{}),n==="history"&&o.jsx(e0,{showHistory:!0}),n==="search"&&o.jsx(xl,{}),n==="terms"&&o.jsx(fu,{})]})};function Lg(e){const t=tt(),n=I.useRef(!1),i=I.useRef(!0),r=Ae(a=>a.router.route),s=I.useCallback(a=>{x.isEmptyObject(a)||x.setConfig(a),n.current=!0,x.config.triggerEvent({type:"config",config:a})},[]);return n.current||(e.config&&s(e.config),r!=="bridge"&&t(Bt("bridge"))),I.useEffect(()=>{i.current?(i.current=!1,x.config.triggerEvent({type:"load",config:e.config})):e.config&&(s(e.config),t(Y0()))},[e.config,s,t]),o.jsx(Ig,{})}const xg={mode:"light",primary:{main:"#A89EFF"},secondary:{main:"#cccccc"},divider:"#a0a2a9",background:{default:"transparent"},text:{primary:"#3F3F46",secondary:"#71717B",tertiary:"#9F9FA9",accent:"#9891DA"},error:{main:"#f44336"},info:{main:"#A4C8F3"},success:{main:"#4caf50"},warning:{main:"#ff9800"},button:{primary:"#A89EFF",primaryText:"#F9F9FB",disabled:"#F3F4F6",disabledText:"#99A1AF",action:"#A89EFF",actionText:"#F9F9FB",hover:"#A89EFF"},options:{hover:"#f9f9fb",select:"#F0F0F5"},card:{background:"#F0F0F5",elevation:"10px 10px 30px 15px #CCD2E7",secondary:"#F0F0F5"},popover:{background:"#FFFFFF",elevation:"10px 10px 30px 15px #CCD2E7",secondary:"#F0F0F5"},input:{background:"#F9F9FB",border:"#E8E6F0",fillTreatment:!0},icon:{primary:"#101828",secondary:"#99A1AF"},toggle:{background:"#E5E7EB",text:"#71717B",active:"#A89EFF",activeText:"#FFFFFF"},formContainer:{background:"#FBFAF9",border:"#E4E4E7"},font:'"Inter", sans-serif',logo:"#000000"},Tg={mode:"dark",primary:{main:"#AFA7F6"},secondary:{main:"#667085"},divider:"#ffffff"+Nt[20],background:{default:"transparent"},text:{primary:"#ffffff",secondary:"#71717B",tertiary:"#52525C",accent:"#ffffff"},info:{main:"#304C70"},error:{main:"#F04438"},success:{main:"#12B76A"},warning:{main:"#F79009"},button:{primary:"#AFA7F6",primaryText:"#12111A",disabled:"#3F3F46",disabledText:"#71717B",action:"#AFA7F6",actionText:"#12111A",hover:"#9891DA"},options:{hover:"#ffffff"+Nt[7],select:"#ffffff"+Nt[10]},card:{background:"#1b2033",secondary:"#ffffff"+Nt[5],elevation:"none"},popover:{background:"#1b2033",secondary:"#ffffff"+Nt[5],elevation:"none"},input:{background:"#18181B",border:"#3F3F46",fillTreatment:!0},icon:{primary:"#F9FAFB",secondary:"#6A7282"},toggle:{background:"#18181B",text:"#9F9FA9",active:"#3C3A50",activeText:"#F4F4F5"},formContainer:{background:"#0E0D12",border:"#333333"},font:'"Inter", sans-serif',logo:"#ffffff"},Cg=e=>{const n=e.mode==="light"?xg:Tg,i=Object.assign({},n);if(e){if(e.background&&(i.background={default:e.background}),e.input&&(i.input={...i.input,background:e.input,border:e.secondary||i.secondary.main}),e.inputFillTreatment!==void 0&&(i.input.fillTreatment=e.inputFillTreatment),e.primary){i.primary={main:e.primary};const r=Ge(e.primary||i.primary.main);let s,a,c,u,l,M;r.isDark()?(s=r.lightness(95).hex(),a=r.alpha(.5).hexa(),c=r.lightness(95).alpha(.9).hexa(),u=r.darken(.15).hex(),l=r.lightness(80).hex(),M=r.darken(.05).hex()):(s=r.lightness(5).hex(),a=r.alpha(.5).hexa(),c=r.lightness(5).alpha(.9).hexa(),u=r.lighten(.05).hex(),l=r.lightness(0).hex(),M=r.lighten(.05).hex()),i.button={primary:r.hex(),primaryText:s,disabled:a,disabledText:c,action:u,actionText:l,hover:M}}e.secondary&&(i.secondary={main:e.secondary}),e.text&&(i.text.primary=e.text),e.textSecondary&&(i.text.secondary=e.textSecondary),e.error&&(i.error={main:e.error}),e.success&&(i.success={main:e.success}),e.formBackground&&(i.formContainer={...i.formContainer,background:e.formBackground||i.formContainer.background}),e.formBorder&&(i.formContainer={...i.formContainer,border:e.formBorder||i.formContainer.border})}return We.createTheme({components:{MuiPaper:{styleOverrides:{root:{boxShadow:"none"}}},MuiCollapse:{styleOverrides:{root:{width:"100%"}}}},breakpoints:{values:{xs:300,sm:500,md:650,lg:900,xl:1200}},typography:{fontFamily:e.font??'"Inter", sans-serif'},palette:{...i}})};class mg extends I.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0}}componentDidCatch(t,n){console.error(t,n)}render(){return this.state.hasError?o.jsx(B.Card,{children:o.jsx(B.Typography,{variant:"h5",style:{textAlign:"center",marginTop:24,marginBottom:24},children:"An unexpected error has occurred. Please refresh the page."})}):this.props.children}}function pg({children:e,provider:t}){const[n,i]=I.useState(!1),r=tt(),s=I.useCallback((g,N,y)=>{const T=g.getAddress();if(!T)throw new Error("Wallet is not connected");const d={address:T,type:b.chainToPlatform(N),icon:g.getIcon(),name:g.getName()};y===we.TransferWallet.SENDING?r(_4(d)):r(Q4(d));const f=m=>{(m.length===0||m.length&&T&&m[0]!==T)&&t.disconnectWallet(N,y)},C=()=>{g===t.getWallet(N,y)&&r(Ci(y)),g.off("disconnect",C),g.off("accountsChanged",f)};g.on("disconnect",C),g.on("accountsChanged",f),x.config.triggerEvent({type:"wallet.connect",details:{side:y,chain:N,wallet:g.getName().toLowerCase(),address:g.getAddress()}})},[r,t]);I.useEffect(()=>(t.on("walletConnected",s),()=>{t.off("walletConnected",s)}),[t,s]);const a=I.useCallback(async(g,N,y)=>{i(!0);try{const T=await t.connectWallet(g,N,y);return T&&s(T,g,N),T}catch{return null}finally{i(!1)}},[s,t]),c=I.useCallback(()=>{t.swapWallets(),r(Z4())},[r,t]),u=I.useCallback((g,N)=>{t.disconnectWallet(g,N),r(Ci(N))},[r,t]),l=I.useCallback(()=>{t.clearWallets(),r(B4())},[r,t]),M=I.useMemo(()=>({connectWallet:a,swapWallets:c,disconnectWallet:u,clearWallets:l,walletProvider:t,isConnecting:n}),[a,c,u,l,t,n]);return o.jsx(G0.Provider,{value:M,children:e})}function Dg({config:e,theme:t,walletProvider:n}){qe.useEffect(()=>{globalThis.dispatchReduxAction||(window.dispatchReduxAction=s=>{T1.dispatch(s)})},[]);const i=qe.useMemo(()=>Cg(t??{mode:"dark"}),[t]),r=qe.useMemo(()=>n??LM,[n]);return o.jsx(Rc,{store:T1,children:o.jsx(We.ThemeProvider,{theme:i,children:o.jsx(ic,{enableColorScheme:!0,children:o.jsx(mg,{children:o.jsx(pg,{provider:r,children:o.jsx(Ll,{children:o.jsx(pu,{children:o.jsx(Lg,{config:e})})})})})})})})}const{AutomaticTokenBridgeRoute:wg,TokenBridgeRoute:Ag,AutomaticCCTPRoute:Sg,CCTPRoute:Eg,TBTCRoute:zg}=Ic.routes;exports.DEFAULT_ROUTES=x.DEFAULT_ROUTES;exports.ERR_AMOUNT_TOO_LARGE=x.ERR_AMOUNT_TOO_LARGE;exports.ERR_AMOUNT_TOO_SMALL=x.ERR_AMOUNT_TOO_SMALL;exports.ERR_DESTINATION_CONTRACT_PAUSED=x.ERR_DESTINATION_CONTRACT_PAUSED;exports.ERR_INSUFFICIENT_ALLOWANCE=x.ERR_INSUFFICIENT_ALLOWANCE;exports.ERR_INSUFFICIENT_FUNDS=x.ERR_INSUFFICIENT_FUNDS;exports.ERR_INSUFFICIENT_GAS=x.ERR_INSUFFICIENT_GAS;exports.ERR_NOT_ENOUGH_CAPACITY=x.ERR_NOT_ENOUGH_CAPACITY;exports.ERR_RELAY_FAILED=x.ERR_RELAY_FAILED;exports.ERR_SLIPPAGE_EXCEEDED=x.ERR_SLIPPAGE_EXCEEDED;exports.ERR_SOURCE_CONTRACT_PAUSED=x.ERR_SOURCE_CONTRACT_PAUSED;exports.ERR_TIMEOUT=x.ERR_TIMEOUT;exports.ERR_UNKNOWN=x.ERR_UNKNOWN;exports.ERR_UNSUPPORTED_ABI_VERSION=x.ERR_UNSUPPORTED_ABI_VERSION;exports.ERR_USER_REJECTED=x.ERR_USER_REJECTED;exports.MAINNET=x.MAINNET;exports.TESTNET=x.TESTNET;exports.Token=x.Token;exports.UserActions=x.UserActions;exports.buildConfig=x.buildConfig;exports.config=x.types;exports.TransferWallet=we.TransferWallet;exports.AutomaticCCTPRoute=Sg;exports.AutomaticTokenBridgeRoute=wg;exports.CCTPRoute=Eg;exports.TBTCRoute=zg;exports.TokenBridgeRoute=Ag;exports.default=Dg;exports.getTokenDetails=Dn;exports.getTransferDetails=Ws;
|
|
446
|
+
complete your transfer.`})},[j.delayText,Y,f.receipt,t.palette.text.secondary]);return o.jsxs(he,{sx:{...j.container,...j.spacer},"data-testid":"redeem-view",children:[o.jsxs(Ur,{children:[o.jsx(Xs,{}),o.jsxs(he,{display:"flex",alignItems:"center",position:"relative",justifyContent:"center",children:[o.jsx(he,{position:"absolute",left:0,children:o.jsx(Bs,{route:"bridge"})}),o.jsx(Xn,{align:"center",text:ke,size:24,weight:600,"data-testid":"redeem-view-status-header"})]}),o.jsx(he,{sx:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",height:"140px"},children:Pe}),o.jsx(q9,{}),se,ae,n&&o.jsx(Vn,{error:!0,sx:j.errorBox,children:n})]}),x.config.ui.showFooter&&o.jsx(h2,{color:t.palette.text.primary}),o.jsx(Js,{open:N,walletType:we.TransferWallet.RECEIVING,setIsOpen:y,isAddressInputVisible:!1})]})}const eg=I.memo(K9),tg=()=>o.jsxs("svg",{width:"0",height:"0",viewBox:"0 0 0 0",children:[o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"icons_tokens_sol_linearGradient_0",x1:"4.168",y1:"85.832",x2:"91.832",y2:"-1.832",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#9945FF"}),o.jsx("stop",{offset:".2",stopColor:"#7962E7"}),o.jsx("stop",{offset:"1",stopColor:"#00D18C"})]}),o.jsx("clipPath",{id:"icons_tokens_sol_clipPath_0",children:o.jsx("path",{fill:"#fff",d:"M0 0h96v84H0z"})})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_chains_apt_clipPath_0",children:o.jsx("rect",{width:"36",height:"36",fill:"white"})})}),o.jsxs("defs",{children:[o.jsxs("radialGradient",{id:"icons_chains_osmo_radialGradient_0",cx:"0",cy:"0",r:"1",gradientTransform:"translate(653.009 167.889) scale(202.547 206.035)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#FFEAFF",stopOpacity:".6"}),o.jsx("stop",{offset:".681",stopColor:"#A087C9"}),o.jsx("stop",{offset:"1",stopColor:"#10002F"})]}),o.jsxs("radialGradient",{id:"icons_chains_osmo_radialGradient_1",cx:"0",cy:"0",r:"1",gradientTransform:"translate(540.32 255.753) scale(495.56 504.093)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#FFEAFF",stopOpacity:".6"}),o.jsx("stop",{offset:".681",stopColor:"#A087C9"}),o.jsx("stop",{offset:"1",stopColor:"#10002F"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_0",x1:"331.959",x2:"415.726",y1:"687.445",y2:"179.399",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#81FFFF"}),o.jsx("stop",{offset:".62",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_1",x1:"551.129",x2:"338.385",y1:"258.408",y2:"450.302",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_2",x1:"131.705",x2:"613.118",y1:"553.353",y2:"553.353",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#0002E9"}),o.jsx("stop",{offset:".995",stopColor:"#FF00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_3",x1:"635.906",x2:"369.659",y1:"452.584",y2:"699.942",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_4",x1:"131.705",x2:"389.259",y1:"553.352",y2:"553.352",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#000292"}),o.jsx("stop",{offset:".995",stopColor:"#7D00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_5",x1:"132.029",x2:"612.795",y1:"453.743",y2:"453.743",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#000292"}),o.jsx("stop",{offset:".995",stopColor:"#BE00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_6",x1:"604.91",x2:"569.494",y1:"191.453",y2:"248.03",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_7",x1:"343.013",x2:"362.187",y1:"613.233",y2:"613.233",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_8",x1:"409.132",x2:"428.305",y1:"606.695",y2:"606.695",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_9",x1:"379.785",x2:"394.18",y1:"639.688",y2:"639.688",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_10",x1:"438.053",x2:"452.447",y1:"632.755",y2:"632.755",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_11",x1:"281.083",x2:"312.395",y1:"600.365",y2:"600.365",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_12",x1:"467.049",x2:"498.361",y1:"548.259",y2:"548.259",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsx("clipPath",{id:"icons_chains_osmo_clipPath_0",children:o.jsx("rect",{width:"800",height:"800",fill:"#fff"})})]}),o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"linearGradient_icons_chains_sol_0",x1:"21.9203",y1:"4.40983",x2:"9.65997",y2:"27.9398",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#00FFA3"}),o.jsx("stop",{offset:"1",stopColor:"#DC1FFF"})]}),o.jsxs("linearGradient",{id:"linearGradient_icons_chains_sol_1",x1:"21.9203",y1:"4.40982",x2:"9.65999",y2:"27.9398",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#00FFA3"}),o.jsx("stop",{offset:"1",stopColor:"#DC1FFF"})]}),o.jsxs("linearGradient",{id:"linearGradient_icons_chains_sol_2",x1:"21.9203",y1:"4.40983",x2:"9.66001",y2:"27.9398",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#00FFA3"}),o.jsx("stop",{offset:"1",stopColor:"#DC1FFF"})]})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_chains_sui_clipPath_0",children:o.jsx("rect",{width:"18",height:"24",fill:"white",transform:"translate(9 6)"})})}),o.jsxs("defs",{children:[o.jsxs("radialGradient",{id:"icons_chains_uni_radialGradient_0",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(18.4297 18) rotate(90) scale(18 17.93)",children:[o.jsx("stop",{stopColor:"#FC74FE"}),o.jsx("stop",{offset:"1",stopColor:"#F50DB4"})]}),o.jsx("clipPath",{id:"icons_chains_uni_clipPath_0",children:o.jsx("rect",{width:"36",height:"36",fill:"white",transform:"translate(0.429688)"})})]}),o.jsx("defs",{children:o.jsxs("linearGradient",{id:"icons_chains_xlayer_linearGradient_0",x1:"34",y1:"35.4996",x2:"1.5",y2:"3.49957",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#040404"}),o.jsx("stop",{offset:"1",stopColor:"#282828"})]})}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_tokens_busd_clipPath_0",children:o.jsx("rect",{width:"199.401",height:"200",fill:"white"})})}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_tokens_dai_clipPath_0",children:o.jsx("rect",{width:"200",height:"200",fill:"white"})})}),o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"icons_tokens_inj_linearGradient_0",x1:"100",y1:"300",x2:"500",y2:"300",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#0082FA"}),o.jsx("stop",{offset:"1",stopColor:"#00F2FE"})]}),o.jsxs("linearGradient",{id:"icons_tokens_inj_linearGradient_1",x1:"100",y1:"300",x2:"500",y2:"300",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#0082FA"}),o.jsx("stop",{offset:"1",stopColor:"#00F2FE"})]})]}),o.jsxs("defs",{children:[o.jsxs("filter",{id:"icons_tokens_ntt_filter_0",x:"36.0726",y:"19.3241",width:"12.6301",height:"12.6306",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[o.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),o.jsx("feGaussianBlur",{stdDeviation:"1.18048",result:"effect1_foregroundBlur_4160_67832"})]}),o.jsxs("linearGradient",{id:"icons_tokens_ntt_linearGradient_0",x1:"76.3139",y1:"25.3915",x2:"10.1678",y2:"25.3915",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(1, 0, 0, 1, 307.155052, 224.001474)",children:[o.jsx("stop",{stopColor:"white",stopOpacity:"0"}),o.jsx("stop",{offset:"0.5142",stopColor:"white"}),o.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_tokens_ntt_linearGradient_1",x1:"42.748",y1:"1.55322",x2:"42.748",y2:"50.4438",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(1, 0, 0, 1, 307.155052, 224.001474)",children:[o.jsx("stop",{stopColor:"white"}),o.jsx("stop",{offset:"0.4519",stopColor:"white",stopOpacity:"0"}),o.jsx("stop",{offset:"0.5397",stopColor:"white",stopOpacity:"0"}),o.jsx("stop",{offset:"1",stopColor:"white"})]})]}),o.jsxs("defs",{children:[o.jsxs("radialGradient",{id:"icons_chains_osmo_radialGradient_0",cx:"0",cy:"0",r:"1",gradientTransform:"translate(653.009 167.889) scale(202.547 206.035)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#FFEAFF",stopOpacity:".6"}),o.jsx("stop",{offset:".681",stopColor:"#A087C9"}),o.jsx("stop",{offset:"1",stopColor:"#10002F"})]}),o.jsxs("radialGradient",{id:"icons_chains_osmo_radialGradient_1",cx:"0",cy:"0",r:"1",gradientTransform:"translate(540.32 255.753) scale(495.56 504.093)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#FFEAFF",stopOpacity:".6"}),o.jsx("stop",{offset:".681",stopColor:"#A087C9"}),o.jsx("stop",{offset:"1",stopColor:"#10002F"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_0",x1:"331.959",x2:"415.726",y1:"687.445",y2:"179.399",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#81FFFF"}),o.jsx("stop",{offset:".62",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_1",x1:"551.129",x2:"338.385",y1:"258.408",y2:"450.302",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_2",x1:"131.705",x2:"613.118",y1:"553.353",y2:"553.353",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#0002E9"}),o.jsx("stop",{offset:".995",stopColor:"#FF00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_3",x1:"635.906",x2:"369.659",y1:"452.584",y2:"699.942",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_4",x1:"131.705",x2:"389.259",y1:"553.352",y2:"553.352",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#000292"}),o.jsx("stop",{offset:".995",stopColor:"#7D00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_5",x1:"132.029",x2:"612.795",y1:"453.743",y2:"453.743",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{stopColor:"#000292"}),o.jsx("stop",{offset:".995",stopColor:"#BE00C7"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_6",x1:"604.91",x2:"569.494",y1:"191.453",y2:"248.03",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_7",x1:"343.013",x2:"362.187",y1:"613.233",y2:"613.233",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_8",x1:"409.132",x2:"428.305",y1:"606.695",y2:"606.695",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_9",x1:"379.785",x2:"394.18",y1:"639.688",y2:"639.688",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_10",x1:"438.053",x2:"452.447",y1:"632.755",y2:"632.755",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_11",x1:"281.083",x2:"312.395",y1:"600.365",y2:"600.365",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsxs("linearGradient",{id:"icons_chains_osmo_linearGradient_12",x1:"467.049",x2:"498.361",y1:"548.259",y2:"548.259",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:".289",stopColor:"#fff"}),o.jsx("stop",{offset:".78",stopColor:"#fff",stopOpacity:"0"})]}),o.jsx("clipPath",{id:"icons_chains_osmo_clipPath_0",children:o.jsx("rect",{width:"800",height:"800",fill:"#fff"})})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_tokens_usdt_clipPath_0",children:o.jsx("rect",{width:"229.912",height:"200",fill:"white"})})}),o.jsx("defs",{children:o.jsx("clipPath",{id:"icons_tokens_wbtc_clipPath_0",children:o.jsx("rect",{width:"200",height:"200.022",fill:"white"})})})]}),ng=()=>{const e=We.useTheme(),t=I.useContext(En),n=Ae(c=>c.router.route),i=tt(),{clearWallets:r}=ln(),s=x.usePrevious(n),{hasExternalSearch:a}=Ll();return I.useEffect(()=>{const c="redeem",u="bridge";s===c&&n!==c&&(r(),i(Zo()),t.clear()),n===u&&s!==u&&s!=="history"&&i(U0())},[n,s,i,t,r]),I.useEffect(()=>{a&&(i(Zo()),i(Bt("search")))},[a,i]),o.jsxs(B.Box,{sx:{textAlign:"left",margin:"40px auto",maxWidth:"900px",width:"100%",display:"flex",justifyContent:"center",fontFamily:e.typography.fontFamily,[e.breakpoints.down("sm")]:{margin:"16px auto"}},children:[o.jsx(tg,{}),n==="bridge"&&o.jsx(Ka,{showHistory:!1}),n==="redeem"&&o.jsx(eg,{}),n==="history"&&o.jsx(Ka,{showHistory:!0}),n==="search"&&o.jsx(Il,{}),n==="terms"&&o.jsx(du,{})]})};function ig(e){const t=tt(),n=I.useRef(!1),i=I.useRef(!0),r=Ae(a=>a.router.route),s=I.useCallback(a=>{x.isEmptyObject(a)||x.setConfig(a),n.current=!0,x.config.triggerEvent({type:"config",config:a})},[]);return n.current||(e.config&&s(e.config),r!=="bridge"&&t(Bt("bridge"))),I.useEffect(()=>{i.current?(i.current=!1,x.config.triggerEvent({type:"load",config:e.config})):e.config&&(s(e.config),t(U0()))},[e.config,s,t]),o.jsx(ng,{})}const rg={mode:"light",primary:{main:"#A89EFF"},secondary:{main:"#cccccc"},divider:"#a0a2a9",background:{default:"transparent"},text:{primary:"#3F3F46",secondary:"#71717B",tertiary:"#9F9FA9",accent:"#9891DA"},error:{main:"#f44336"},info:{main:"#A4C8F3"},success:{main:"#4caf50"},warning:{main:"#ff9800"},button:{primary:"#A89EFF",primaryText:"#F9F9FB",disabled:"#F3F4F6",disabledText:"#99A1AF",action:"#A89EFF",actionText:"#F9F9FB",hover:"#A89EFF"},options:{hover:"#f9f9fb",select:"#F0F0F5"},card:{background:"#F0F0F5",elevation:"10px 10px 30px 15px #CCD2E7",secondary:"#F0F0F5"},popover:{background:"#FFFFFF",elevation:"10px 10px 30px 15px #CCD2E7",secondary:"#F0F0F5"},input:{background:"#F9F9FB",border:"#E8E6F0",fillTreatment:!0},icon:{primary:"#101828",secondary:"#99A1AF"},toggle:{background:"#E5E7EB",text:"#71717B",active:"#A89EFF",activeText:"#FFFFFF"},formContainer:{background:"#FBFAF9",border:"#E4E4E7"},font:'"Inter", sans-serif',logo:"#000000"},og={mode:"dark",primary:{main:"#AFA7F6"},secondary:{main:"#667085"},divider:"#ffffff"+Nt[20],background:{default:"transparent"},text:{primary:"#ffffff",secondary:"#71717B",tertiary:"#52525C",accent:"#ffffff"},info:{main:"#304C70"},error:{main:"#F04438"},success:{main:"#12B76A"},warning:{main:"#F79009"},button:{primary:"#AFA7F6",primaryText:"#12111A",disabled:"#3F3F46",disabledText:"#71717B",action:"#AFA7F6",actionText:"#12111A",hover:"#9891DA"},options:{hover:"#ffffff"+Nt[7],select:"#ffffff"+Nt[10]},card:{background:"#1b2033",secondary:"#ffffff"+Nt[5],elevation:"none"},popover:{background:"#1b2033",secondary:"#ffffff"+Nt[5],elevation:"none"},input:{background:"#18181B",border:"#3F3F46",fillTreatment:!0},icon:{primary:"#F9FAFB",secondary:"#6A7282"},toggle:{background:"#18181B",text:"#9F9FA9",active:"#3C3A50",activeText:"#F4F4F5"},formContainer:{background:"#0E0D12",border:"#333333"},font:'"Inter", sans-serif',logo:"#ffffff"},sg=e=>{const n=e.mode==="light"?rg:og,i=Object.assign({},n);if(e){if(e.background&&(i.background={default:e.background}),e.input&&(i.input={...i.input,background:e.input,border:e.secondary||i.secondary.main}),e.inputFillTreatment!==void 0&&(i.input.fillTreatment=e.inputFillTreatment),e.primary){i.primary={main:e.primary};const r=Ge(e.primary||i.primary.main);let s,a,c,u,l,M;r.isDark()?(s=r.lightness(95).hex(),a=r.alpha(.5).hexa(),c=r.lightness(95).alpha(.9).hexa(),u=r.darken(.15).hex(),l=r.lightness(80).hex(),M=r.darken(.05).hex()):(s=r.lightness(5).hex(),a=r.alpha(.5).hexa(),c=r.lightness(5).alpha(.9).hexa(),u=r.lighten(.05).hex(),l=r.lightness(0).hex(),M=r.lighten(.05).hex()),i.button={primary:r.hex(),primaryText:s,disabled:a,disabledText:c,action:u,actionText:l,hover:M}}e.secondary&&(i.secondary={main:e.secondary}),e.text&&(i.text.primary=e.text),e.textSecondary&&(i.text.secondary=e.textSecondary),e.error&&(i.error={main:e.error}),e.success&&(i.success={main:e.success}),e.formBackground&&(i.formContainer={...i.formContainer,background:e.formBackground||i.formContainer.background}),e.formBorder&&(i.formContainer={...i.formContainer,border:e.formBorder||i.formContainer.border})}return We.createTheme({components:{MuiPaper:{styleOverrides:{root:{boxShadow:"none"}}},MuiCollapse:{styleOverrides:{root:{width:"100%"}}}},breakpoints:{values:{xs:300,sm:500,md:650,lg:900,xl:1200}},typography:{fontFamily:e.font??'"Inter", sans-serif'},palette:{...i}})};class ag extends I.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0}}componentDidCatch(t,n){console.error(t,n)}render(){return this.state.hasError?o.jsx(B.Card,{children:o.jsx(B.Typography,{variant:"h5",style:{textAlign:"center",marginTop:24,marginBottom:24},children:"An unexpected error has occurred. Please refresh the page."})}):this.props.children}}function cg({children:e,provider:t}){const[n,i]=I.useState(!1),r=tt(),s=I.useCallback((g,N,y)=>{const T=g.getAddress();if(!T)throw new Error("Wallet is not connected");const d={address:T,type:b.chainToPlatform(N),icon:g.getIcon(),name:g.getName()};y===we.TransferWallet.SENDING?r(Y4(d)):r(R4(d));const f=m=>{(m.length===0||m.length&&T&&m[0]!==T)&&t.disconnectWallet(N,y)},C=()=>{g===t.getWallet(N,y)&&r(mi(y)),g.off("disconnect",C),g.off("accountsChanged",f)};g.on("disconnect",C),g.on("accountsChanged",f),x.config.triggerEvent({type:"wallet.connect",details:{side:y,chain:N,wallet:g.getName().toLowerCase(),address:g.getAddress()}})},[r,t]);I.useEffect(()=>(t.on("walletConnected",s),()=>{t.off("walletConnected",s)}),[t,s]);const a=I.useCallback(async(g,N,y)=>{i(!0);try{const T=await t.connectWallet(g,N,y);return T&&s(T,g,N),T}catch{return null}finally{i(!1)}},[s,t]),c=I.useCallback(()=>{t.swapWallets(),r(P4())},[r,t]),u=I.useCallback((g,N)=>{t.disconnectWallet(g,N),r(mi(N))},[r,t]),l=I.useCallback(()=>{t.clearWallets(),r(Q4())},[r,t]),M=I.useMemo(()=>({connectWallet:a,swapWallets:c,disconnectWallet:u,clearWallets:l,walletProvider:t,isConnecting:n}),[a,c,u,l,t,n]);return o.jsx(H0.Provider,{value:M,children:e})}function ug({config:e,theme:t,walletProvider:n}){qe.useEffect(()=>{globalThis.dispatchReduxAction||(window.dispatchReduxAction=s=>{T1.dispatch(s)})},[]);const i=qe.useMemo(()=>sg(t??{mode:"dark"}),[t]),r=qe.useMemo(()=>n??yM,[n]);return o.jsx(Uc,{store:T1,children:o.jsx(We.ThemeProvider,{theme:i,children:o.jsx(tc,{enableColorScheme:!0,children:o.jsx(ag,{children:o.jsx(cg,{provider:r,children:o.jsx(yl,{children:o.jsx(Cu,{children:o.jsx(ig,{config:e})})})})})})})})}const{AutomaticTokenBridgeRoute:lg,TokenBridgeRoute:Mg,AutomaticCCTPRoute:dg,CCTPRoute:gg,TBTCRoute:fg}=Nc.routes;exports.DEFAULT_ROUTES=x.DEFAULT_ROUTES;exports.ERR_AMOUNT_TOO_LARGE=x.ERR_AMOUNT_TOO_LARGE;exports.ERR_AMOUNT_TOO_SMALL=x.ERR_AMOUNT_TOO_SMALL;exports.ERR_DESTINATION_CONTRACT_PAUSED=x.ERR_DESTINATION_CONTRACT_PAUSED;exports.ERR_INSUFFICIENT_ALLOWANCE=x.ERR_INSUFFICIENT_ALLOWANCE;exports.ERR_INSUFFICIENT_FUNDS=x.ERR_INSUFFICIENT_FUNDS;exports.ERR_INSUFFICIENT_GAS=x.ERR_INSUFFICIENT_GAS;exports.ERR_NOT_ENOUGH_CAPACITY=x.ERR_NOT_ENOUGH_CAPACITY;exports.ERR_RELAY_FAILED=x.ERR_RELAY_FAILED;exports.ERR_SLIPPAGE_EXCEEDED=x.ERR_SLIPPAGE_EXCEEDED;exports.ERR_SOURCE_CONTRACT_PAUSED=x.ERR_SOURCE_CONTRACT_PAUSED;exports.ERR_TIMEOUT=x.ERR_TIMEOUT;exports.ERR_UNKNOWN=x.ERR_UNKNOWN;exports.ERR_UNSUPPORTED_ABI_VERSION=x.ERR_UNSUPPORTED_ABI_VERSION;exports.ERR_USER_REJECTED=x.ERR_USER_REJECTED;exports.MAINNET=x.MAINNET;exports.TESTNET=x.TESTNET;exports.Token=x.Token;exports.UserActions=x.UserActions;exports.buildConfig=x.buildConfig;exports.config=x.types;exports.TransferWallet=we.TransferWallet;exports.AutomaticCCTPRoute=dg;exports.AutomaticTokenBridgeRoute=lg;exports.CCTPRoute=gg;exports.TBTCRoute=fg;exports.TokenBridgeRoute=Mg;exports.default=ug;exports.getTokenDetails=Dn;exports.getTransferDetails=Ws;
|