@fangorn-network/westmarch 0.0.19-dev → 2026.10.20-dev
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/README.md +29 -1
- package/docs/app-to-agent.md +81 -26
- package/package.json +9 -5
- package/plugin/scripts/fx.mjs +7 -9
- package/site/dist/assets/AccountNotFoundScreen-C4njXc69-RUyAWRzV.js +1 -0
- package/site/dist/assets/AddFundsSelectionScreen-RAoCn7ej-ZV-LlYBe.js +31 -0
- package/site/dist/assets/Address-H8kD1d9O-CGQnt7Pu.js +17 -0
- package/site/dist/assets/AffirmativeConsentScreen-BG0MJxku-CKn2JLwq.js +6 -0
- package/site/dist/assets/AllowlistRejectionScreen-Cae6e1Od-9oIP9fma.js +1 -0
- package/site/dist/assets/ArrowsRightLeftIcon-BEhBD_6N.js +1 -0
- package/site/dist/assets/AuthenticateWithWalletScreen-CU6hIcFT-D1wLlSJs.js +1 -0
- package/site/dist/assets/AwaitingEvmToSolBridgingScreen-D0e_sZMS-CSBbHTyz.js +1 -0
- package/site/dist/assets/AwaitingExternalEthereumTransferScreen-ur5HL4R7-BsRq-xBt.js +1 -0
- package/site/dist/assets/AwaitingPasswordlessCodeScreen-DRHz76mM-BPdhsKvN.js +103 -0
- package/site/dist/assets/AwaitingSolToEvmBridgingScreen-CdLRrGD2-CEGNdrkr.js +1 -0
- package/site/dist/assets/BridgeNetworkSelectionView-CFGjB2nO-Da9P7eSx.js +68 -0
- package/site/dist/assets/CaptchaScreen-DbpvkIGx-BecgMnD_.js +1 -0
- package/site/dist/assets/CheckCircleIcon-DBiWFjO6.js +1 -0
- package/site/dist/assets/CheckCircleIcon-DzG2ROJZ.js +1 -0
- package/site/dist/assets/Checkbox-D1EDeo41-DMHcj9o_.js +52 -0
- package/site/dist/assets/ChevronDownIcon-2Os56gUt.js +1 -0
- package/site/dist/assets/Chip-CZKIKt9K-BWzs9fj5.js +26 -0
- package/site/dist/assets/CoinbaseOnrampStatusScreen-BbyCJDXL-CFvcSiDs.js +16 -0
- package/site/dist/assets/ConnectEmailForm-B-VRE0MN-BozkCg8q.js +3 -0
- package/site/dist/assets/ConnectLedgerScreen-DWHABGot-DaCnbBzh.js +10 -0
- package/site/dist/assets/ConnectOnlyLandingScreen-CZYx9Bmp-DUkCLkxD.js +1 -0
- package/site/dist/assets/ConnectOnlyStatusScreen-DCRzjxHx-Dv_5nMkZ.js +1 -0
- package/site/dist/assets/ConnectOrCreateScreen-CUUYUO07-DSGEeB3Y.js +1 -0
- package/site/dist/assets/ConnectPhoneForm-Dek5xn4C-C-s4s_Lq.js +95 -0
- package/site/dist/assets/ConnectWalletView-DqI-PTvX-BKX7fdYr.js +74 -0
- package/site/dist/assets/ConnectionStatusScreen-fUfROm9m-DSoAuMFZ.js +7 -0
- package/site/dist/assets/CopyToClipboard-i_OQSBJr-CZTXyfV0.js +39 -0
- package/site/dist/assets/CopyableText-CQapvaMr-DHO818I0.js +28 -0
- package/site/dist/assets/CrossAppAuthScreen-CLw7ymZq-DW4nRGfz.js +1 -0
- package/site/dist/assets/CustomLandingScreenView-Cm_MBSyX-DH8Nnb4Y.js +22 -0
- package/site/dist/assets/DelegatedActionsConsentScreen-DYF2U4y5-gfUS_uV5.js +1 -0
- package/site/dist/assets/DelegatedActionsRevokeScreen-bPp6Uwyh-DZj9HTHc.js +1 -0
- package/site/dist/assets/DepositAddressAddressStepView-4vdkb55L-eHYsDK9W.js +187 -0
- package/site/dist/assets/DepositAddressScreen-DBLRs7aI-DK_XVgVk.js +8 -0
- package/site/dist/assets/DepositAddressV3Screen-CDqIEMQw-6gRZzhLe.js +1 -0
- package/site/dist/assets/{EmailInputForm-Cqo1mda8-B2NG3K5V.js → EmailInputForm-Cqo1mda8-CZD4r5LM.js} +11 -11
- package/site/dist/assets/EmbeddedWalletConnectingScreen-D4T7DUzs-BZu2ae0k.js +1 -0
- package/site/dist/assets/EmbeddedWalletCreatedScreen-D7WhW5ve-86pviemJ.js +1 -0
- package/site/dist/assets/EmbeddedWalletKeyExportScreen-CqV4NYQ3-vDcvT53Y.js +23 -0
- package/site/dist/assets/EmbeddedWalletOnAccountCreateScreen-BoKb3Q2S-rNJAtSJc.js +1 -0
- package/site/dist/assets/EmbeddedWalletPasswordUpdateScreen-D3rMlqS7-I8Q95280.js +1 -0
- package/site/dist/assets/EmbeddedWalletPasswordUpdateSplashScreen-BPFkWJeE-Coi7OxoI.js +1 -0
- package/site/dist/assets/EnrollTotp-Dibew4dp-DC7FrDgo.js +66 -0
- package/site/dist/assets/EnvelopeIcon-DY6ERnW7.js +1 -0
- package/site/dist/assets/ErrorBanner-BcpGRt0h-BvESwN99.js +21 -0
- package/site/dist/assets/{ErrorMessage-D8VaAP5m-CrZOnUyg.js → ErrorMessage-D8VaAP5m-oSruKN8L.js} +2 -2
- package/site/dist/assets/ErrorScreen-DipdTWzE-DnKGxH1Z.js +4 -0
- package/site/dist/assets/ExclamationCircleIcon-BZhlqH0r.js +1 -0
- package/site/dist/assets/ExclamationTriangleIcon-CkAOJIYV.js +1 -0
- package/site/dist/assets/FarcasterConnectStatusScreen-51tjUxqq-4pi7jooW.js +75 -0
- package/site/dist/assets/FarcasterSignerStatusScreen-6x-Uh95G-z2XCMaLL.js +28 -0
- package/site/dist/assets/FiatOnrampScreen-BAhYeiTI-CBVA9v1-.js +491 -0
- package/site/dist/assets/FingerPrintIcon-ra2dqmJO.js +1 -0
- package/site/dist/assets/FundSolWalletWithExternalSolanaWallet-WtLwYaOl-DwAwc6Ny.js +1 -0
- package/site/dist/assets/FundWalletMethodHeader-BWNkokCT-CZszQsZf.js +1 -0
- package/site/dist/assets/FundWithBankDepositScreen-DajkHxBD-DfX6nvFQ.js +58 -0
- package/site/dist/assets/FundingEditAmountScreen-CpvpiO4M-CDS_sk_t.js +1 -0
- package/site/dist/assets/FundingMethodSelectionScreen-Db7vhRlE-CPfNQemT.js +1 -0
- package/site/dist/assets/GlobeAltIcon-SEUEIe_E.js +1 -0
- package/site/dist/assets/GooglePay-B53WnudL-aap7zwag.js +1 -0
- package/site/dist/assets/HCaptchaWrapper-CUi9LJsp-DgSjCjQI.js +4 -0
- package/site/dist/assets/InAppBrowserLoginNotPossible-BMR9br1T-DO4wICml.js +1 -0
- package/site/dist/assets/InfoBanner-Cb3p1z12-CDWt2ADo.js +22 -0
- package/site/dist/assets/InjectedWalletIcon-DLcYOGDj-Ba19XoBr.js +1 -0
- package/site/dist/assets/InstallWalletScreen-DTA8dwLv-DGpewEch.js +1 -0
- package/site/dist/assets/{JsonTree-BHzNC-ic-DcNcbSoM.js → JsonTree-BHzNC-ic-pAEq1bl9.js} +3 -3
- package/site/dist/assets/{LabelXs-oqZNqbm_-iafrj25N.js → LabelXs-oqZNqbm_-D09YjVR4.js} +2 -2
- package/site/dist/assets/LandingScreen-CGWUoSUG-CUOCWUXd.js +1 -0
- package/site/dist/assets/{Layouts-BMRfo5hw-CeCOyCLK.js → Layouts-BMRfo5hw-D2u1-w8g.js} +16 -16
- package/site/dist/assets/Link-BdDilT2T-BYiP1zvW.js +40 -0
- package/site/dist/assets/LinkConflictScreen-C3ZEPsgl-Tb6cAepT.js +77 -0
- package/site/dist/assets/LinkEmailScreen-dKo9frwc-pq0NF2JO.js +1 -0
- package/site/dist/assets/LinkPasskeyScreen-zbrl_AI_-D9MOmDqg.js +117 -0
- package/site/dist/assets/LinkPhoneScreen-oIUpfj0w-B80UJqAZ.js +1 -0
- package/site/dist/assets/{LoadingSkeleton-BMsgO5PV-CiEyS5PZ.js → LoadingSkeleton-BMsgO5PV-BRMh4Fv4.js} +6 -6
- package/site/dist/assets/LockClosedIcon-BqkoEL9J.js +1 -0
- package/site/dist/assets/LoginFailedScreen-CN0dJV6U-DlnOM-Kh.js +1 -0
- package/site/dist/assets/ManualTransferScreen-CHqcuqbs-DSShupq9.js +1 -0
- package/site/dist/assets/MfaAuthEnrollmentFlowScreen-Dj7gPTRC-DUPV_SLA.js +1 -0
- package/site/dist/assets/MfaAuthVerifyFlowScreen-DbFpyWMy-D96GpzXX.js +1 -0
- package/site/dist/assets/MfaEnrollmentFlowScreen-DhLnGgnr-CYQDa4ND.js +1 -0
- package/site/dist/assets/MfaVerifyFlowScreen-C_XPjMRP-CJtSAXGN.js +1 -0
- package/site/dist/assets/ModalFooter-BCuEK_nz-D2I8KWtk.js +403 -0
- package/site/dist/assets/MoonpayStatusScreen-CzTUtokc-Bx5aHy-z.js +16 -0
- package/site/dist/assets/OAuthStatusScreen-ufbOa-da-CS6988X2.js +1 -0
- package/site/dist/assets/OpenLink-CUpJ1mOr-EZWVSX2r.js +39 -0
- package/site/dist/assets/PasskeySelectSignupOrLogin-xh2ScC_l-BY4eK5Jh.js +1 -0
- package/site/dist/assets/PasskeyStatusScreen-Bla8MaOk-LXys76u9.js +6 -0
- package/site/dist/assets/PasswordRecoveryScreen-awGXZkQk-RczvLvmo.js +20 -0
- package/site/dist/assets/{PhArrowCircleDown-D97G-BOA.js → PhArrowCircleDown-BtlNV0TZ.js} +5 -5
- package/site/dist/assets/PhArrowClockwise-mOiWYLMV.js +14 -0
- package/site/dist/assets/PhArrowDown-CkoOD89h.js +14 -0
- package/site/dist/assets/PhArrowLeft-C0jlxVhM.js +14 -0
- package/site/dist/assets/PhArrowRight-BI-V03Xf.js +14 -0
- package/site/dist/assets/{PhArrowSquareOut-Bk2CMG3I.js → PhArrowSquareOut-DnQ7n_B4.js} +5 -5
- package/site/dist/assets/PhArrowUp-izKvURUW.js +14 -0
- package/site/dist/assets/PhArrowUpRight-Bn-JhHsY.js +14 -0
- package/site/dist/assets/{PhArrowsClockwise-BXRn1GEl.js → PhArrowsClockwise-Brtx2Re-.js} +5 -5
- package/site/dist/assets/{PhArrowsDownUp-DM09Jo_3.js → PhArrowsDownUp-PZosTqZG.js} +5 -5
- package/site/dist/assets/PhArrowsLeftRight-CYsRQ2qh.js +14 -0
- package/site/dist/assets/{PhBank-fHbgCqqZ.js → PhBank-hhPAIPVb.js} +5 -5
- package/site/dist/assets/PhBrowser-BjzAmrHO.js +14 -0
- package/site/dist/assets/PhCaretDown-ddSjwcwm.js +14 -0
- package/site/dist/assets/PhCaretLeft-B7YLoNEF.js +14 -0
- package/site/dist/assets/PhCaretRight-BY8D5MIg.js +14 -0
- package/site/dist/assets/PhCaretUp-BG10nSut.js +14 -0
- package/site/dist/assets/PhCheck-DrKd7pBC.js +14 -0
- package/site/dist/assets/{PhCircleHalf-MJZeRBGF.js → PhCircleHalf-Bk9C4DvT.js} +5 -5
- package/site/dist/assets/PhClock-Sj17weCB.js +14 -0
- package/site/dist/assets/{PhCompass-hYn3HhGN.js → PhCompass-Df1ugFO-.js} +5 -5
- package/site/dist/assets/PhCopy-rgttky8E.js +14 -0
- package/site/dist/assets/{PhCreditCard-Fy4pzwtt.js → PhCreditCard-CZpdid2n.js} +5 -5
- package/site/dist/assets/{PhCurrencyDollar-BgiaenCi.js → PhCurrencyDollar-B6IKKjue.js} +5 -5
- package/site/dist/assets/{PhDesktop-CxrzCSv5.js → PhDesktop-BuCDXYJj.js} +5 -5
- package/site/dist/assets/PhDeviceMobile-CnybhXY-.js +14 -0
- package/site/dist/assets/PhDotsThree-CSAEcba1.js +14 -0
- package/site/dist/assets/PhEnvelope-SmaNeXoQ.js +14 -0
- package/site/dist/assets/PhFunnelSimple-DKx35ITq.js +14 -0
- package/site/dist/assets/{PhGlobe-DvmSc9_A.js → PhGlobe-q1mqj65V.js} +5 -5
- package/site/dist/assets/{PhIdentificationCard-CfkZm-5K.js → PhIdentificationCard-BeLXJpfZ.js} +5 -5
- package/site/dist/assets/{PhImage-Cf0J2ZfJ.js → PhImage-BYrKfN9k.js} +5 -5
- package/site/dist/assets/{PhInfo-Bwi51-2X.js → PhInfo-X33f06Ej.js} +5 -5
- package/site/dist/assets/{PhLightbulb-C4FZV7Es.js → PhLightbulb-DMZJsowR.js} +5 -5
- package/site/dist/assets/PhMagnifyingGlass-B6D0sWFL.js +14 -0
- package/site/dist/assets/{PhPaperPlaneRight-zxQVvPLX.js → PhPaperPlaneRight-Dvo-nXr9.js} +5 -5
- package/site/dist/assets/PhPlus-CBvZvLax.js +14 -0
- package/site/dist/assets/{PhPower-CFyWDmgD.js → PhPower-D8-AcNM6.js} +5 -5
- package/site/dist/assets/{PhPuzzlePiece-BjoNVfST.js → PhPuzzlePiece-C-7mYqGO.js} +5 -5
- package/site/dist/assets/{PhQrCode-CP3tFauY.js → PhQrCode-uIXlI5ER.js} +5 -5
- package/site/dist/assets/{PhQuestion-wOWJBd3G.js → PhQuestion-rUoqC2sC.js} +5 -5
- package/site/dist/assets/{PhQuestionMark-CV0k9C0Y.js → PhQuestionMark-W55Txvvb.js} +5 -5
- package/site/dist/assets/{PhSealCheck-vIKzREuN.js → PhSealCheck-BeVLq9PH.js} +5 -5
- package/site/dist/assets/{PhSignOut-CxELV-i0.js → PhSignOut-Cq2PivQ6.js} +5 -5
- package/site/dist/assets/{PhSpinner-CGDmbzUd.js → PhSpinner-CZMtAFdX.js} +5 -5
- package/site/dist/assets/{PhTrash-C9PD0SAt.js → PhTrash-BamrmMsN.js} +5 -5
- package/site/dist/assets/{PhUser-0sWNXQeZ.js → PhUser-A2fxqIV0.js} +5 -5
- package/site/dist/assets/{PhVault-6JTskUcC.js → PhVault-B8m1usHw.js} +5 -5
- package/site/dist/assets/{PhWarning-CoKs3gz6.js → PhWarning-CpkID9oi.js} +5 -5
- package/site/dist/assets/PhWarningCircle-Cm58gXb9.js +14 -0
- package/site/dist/assets/PhX-C3b4cCEy.js +14 -0
- package/site/dist/assets/PhoneIcon-CzbssTb8.js +1 -0
- package/site/dist/assets/PinInput-DbZ0b1i1-1DtLWL81.js +247 -0
- package/site/dist/assets/QrCode-DbnZwlkH-ChwcUk_h.js +22 -0
- package/site/dist/assets/RecoveryOAuthStatusScreen-CsgtTI2x-C79jd345.js +1 -0
- package/site/dist/assets/RecoveryPasswordCreateScreen-Be-qJ-LU-C9c0x-yq.js +1 -0
- package/site/dist/assets/RecoverySelectionScreen-D1iGtpmi-PNqHb6CI.js +7 -0
- package/site/dist/assets/{Screen-D30meWsY-CCeVNuWs.js → Screen-D30meWsY-DDum2qlY.js} +22 -22
- package/site/dist/assets/{ScreenHeader-CHmc4-Lu-DjyrH7IK.js → ScreenHeader-CHmc4-Lu-BqrAEXbV.js} +4 -4
- package/site/dist/assets/ScreenLayout-OwaQQcxH-B4Z8FjFp.js +1 -0
- package/site/dist/assets/{SelectSourceAsset-CWFog6gm-RKjBsB6m.js → SelectSourceAsset-CWFog6gm-8iXuqbAs.js} +18 -18
- package/site/dist/assets/SetAutomaticRecoveryScreen-BO_OEqAZ-CUpQZ9wq.js +14 -0
- package/site/dist/assets/SetWalletPasswordForm-DwCTVtAh-ZzvPLj2s.js +15 -0
- package/site/dist/assets/ShieldCheckIcon-Bjwe_-PV.js +1 -0
- package/site/dist/assets/SignRequestScreen-BHKv32KR-0qGeNipB.js +26 -0
- package/site/dist/assets/{StackedContainer-B2vaEl56-eQCM2cmv.js → StackedContainer-B2vaEl56-C-ojzCoQ.js} +2 -2
- package/site/dist/assets/StandardSignAndSendTransactionScreen-CfhIXVtd-C3lgJb68.js +20 -0
- package/site/dist/assets/{Subtitle-CV-2yKE4-zxWw2m1Q.js → Subtitle-CV-2yKE4-o-1FQLlX.js} +2 -2
- package/site/dist/assets/TelegramAuthScreen-UL9zLfO8-l35_C2DG.js +1 -0
- package/site/dist/assets/{Title-BnzYV3Is-B_JpTatT.js → Title-BnzYV3Is-RX1f0RV-.js} +2 -2
- package/site/dist/assets/TodoList-DnyULl18-JxWWU9KA.js +36 -0
- package/site/dist/assets/TransactionDetails-e9nesl30-C91nJPM9.js +109 -0
- package/site/dist/assets/TransactionErrorView-BDBNqA_f-Cpm-4xzm.js +178 -0
- package/site/dist/assets/TransferFromWalletScreen-Qvn1Yuno-BWCH7-Si.js +31 -0
- package/site/dist/assets/TransferOrBridgeLoadingScreen-Dl1I_iIz-BWMeJabk.js +6 -0
- package/site/dist/assets/TurnstileWrapper-B7sNddys-Dgr80Gih.js +1 -0
- package/site/dist/assets/UpdateEmailScreen-DVOhPV0H-Clk4zk-8.js +1 -0
- package/site/dist/assets/UpdatePhoneScreen-CXRswTNZ-BgRsoR3B.js +1 -0
- package/site/dist/assets/UserLimitReachedScreen-5we2DHn8-D-SU-vAz.js +1 -0
- package/site/dist/assets/{Value-DTgR824E-BRuIGiec.js → Value-DTgR824E-DZpvBCWi.js} +7 -7
- package/site/dist/assets/WalletCards-DH1rqayz-UuZ4i_Ze.js +1 -0
- package/site/dist/assets/WalletIcon-B1i03Vqc.js +1 -0
- package/site/dist/assets/WalletInfoCard-sq_2wgFg-TXTxmb8L.js +29 -0
- package/site/dist/assets/WalletInterstitialScreen-Sh7LfsAh-CbrFb0ON.js +1 -0
- package/site/dist/assets/WalletLink-DK5LB5Ha-BYQZV7UV.js +20 -0
- package/site/dist/assets/WalletOverflowButton-bfCnp-9T-CNgSPnTS.js +1 -0
- package/site/dist/assets/WarningBanner-ZZqCEtZK-DNZUUOph.js +21 -0
- package/site/dist/assets/__vite-browser-external-BIHI7g3E.js +1 -0
- package/site/dist/assets/analytics-mkkvFRju-DOXuftJB.js +1 -0
- package/site/dist/assets/basic-C9wn6QoQ.js +1575 -0
- package/site/dist/assets/bytes-CjWw8TJh.js +1 -0
- package/site/dist/assets/capitalizeFirstLetter-DmLYqXsO-tV1Idewc.js +1 -0
- package/site/dist/assets/ccip-BhHEqVIW.js +1 -0
- package/site/dist/assets/check-C_DTyjLS.js +1 -0
- package/site/dist/assets/chevron-down-iklXXH-z.js +1 -0
- package/site/dist/assets/circle-alert-KEOUF48T.js +1 -0
- package/site/dist/assets/circle-check-big-BJ_ADwB4.js +1 -0
- package/site/dist/assets/circle-x-BSfWmhYk.js +1 -0
- package/site/dist/assets/client-BnDcP42J.js +9 -0
- package/site/dist/assets/client-DH86IrJA.js +125 -0
- package/site/dist/assets/coinbase-DCPC2L_R-2ivYfoMv.js +3 -0
- package/site/dist/assets/copy-sK00DOfH.js +1 -0
- package/site/dist/assets/core-CRE213RM.js +211 -0
- package/site/dist/assets/createLucideIcon-D9OK_uxG.js +1 -0
- package/site/dist/assets/custom-V1wex-Di.js +1 -0
- package/site/dist/assets/dijkstra-COg3n3zL.js +1 -0
- package/site/dist/assets/embed.worker-BRIYO7m8.js +1 -0
- package/site/dist/assets/encodePacked-DyXYq3Cc.js +1 -0
- package/site/dist/assets/ethers-zTjbodk5-DSYOi6tU.js +1 -0
- package/site/dist/assets/external-link-Cdp8NBio.js +1 -0
- package/site/dist/assets/fallback-DiFue5Zm.js +1 -0
- package/site/dist/assets/farcaster-DPlSjvF5-DP2DLoHZ.js +1 -0
- package/site/dist/assets/features-B6BTj_BL.js +5 -0
- package/site/dist/assets/fingerprint-pattern-gFJTz5e4.js +1 -0
- package/site/dist/assets/floating-ui.react-D9ndYqYK.js +1 -0
- package/site/dist/assets/floating-ui.react-dom-CNbOgOFt.js +1 -0
- package/site/dist/assets/formatErc20TokenAmount-BuPk9xcy-CkAr4Oc0.js +1 -0
- package/site/dist/assets/getChainName-DjpPdUSc-c2urPd0g.js +1 -0
- package/site/dist/assets/getErc20Balance-jXNpFf0N-mFQ9Iqk-.js +1 -0
- package/site/dist/assets/getErc20TokenInfo-BNTrzLMP-Dx5he_uG.js +1 -0
- package/site/dist/assets/getFormattedUsdFromLamports-De3U9GlO-C446pzMl.js +1 -0
- package/site/dist/assets/getTransactionCount-80UHlwAV.js +1 -0
- package/site/dist/assets/getUsdcMintAddress-BVgm9GRo-FDalV59C.js +1 -0
- package/site/dist/assets/hashTypedData-Beq57Ogb.js +22 -0
- package/site/dist/assets/hooks.module-ClpaQ1Tg.js +1 -0
- package/site/dist/assets/hourglass-CB7z_I9H.js +1 -0
- package/site/dist/assets/http-BocEfKYb.js +19 -0
- package/site/dist/assets/index-0knDOgU9.js +1 -0
- package/site/dist/assets/index-9jNeS_nC.js +1 -0
- package/site/dist/assets/index-B--T-Fmt.js +16 -0
- package/site/dist/assets/index-BDkarAkX.js +2 -0
- package/site/dist/assets/index-BMfMy017.js +679 -0
- package/site/dist/assets/index-BOd8jv8-.js +1 -0
- package/site/dist/assets/index-BdEw5wyl-2VGMzHIs.js +1 -0
- package/site/dist/assets/index-C8ThRelw.js +9 -0
- package/site/dist/assets/{index-CWARkn2w-Cezl_uBr.js → index-CWARkn2w-D6ikWJWj.js} +7 -7
- package/site/dist/assets/{wui-ux-by-reown-fVu0QkI4.js → index-CztIxJB6.js} +296 -296
- package/site/dist/assets/index-D4LdLFDC.js +1 -0
- package/site/dist/assets/index-D6T-s6sR.js +1 -0
- package/site/dist/assets/index-D7396TWe.js +1 -0
- package/site/dist/assets/index-DdxtHe81.js +2 -0
- package/site/dist/assets/index-DvMddJcd-D7AEQrzj.js +12 -0
- package/site/dist/assets/index-nibyPLVP.js +1 -0
- package/site/dist/assets/index.browser-B6Bt5URJ.js +1 -0
- package/site/dist/assets/isPaymentRequestAvailable-Bq1cemEn-D7xtzRqA.js +1 -0
- package/site/dist/assets/landmark-CMLKifhk.js +1 -0
- package/site/dist/assets/lock-BkyjNE8h.js +1 -0
- package/site/dist/assets/mail-B6-Tq9Ld.js +1 -0
- package/site/dist/assets/native-CJ5et6AR.js +1 -0
- package/site/dist/assets/nonceManager-zkW7cM66.js +1 -0
- package/site/dist/assets/parseEther-C7aOvuze.js +1 -0
- package/site/dist/assets/parseSignature-BIjcuWdB.js +1 -0
- package/site/dist/assets/preload-helper-PPVm8Dsz.js +1 -0
- package/site/dist/assets/privateKeyToAccount-CRvvpHWf.js +1 -0
- package/site/dist/assets/property-CnFDNXw5.js +3 -0
- package/site/dist/assets/react-auth_false-DedQs79w.js +1 -0
- package/site/dist/assets/reservoir-x-nGuZkT-DFxAFt2v.js +1 -0
- package/site/dist/assets/roles-DV_6FRBZ.js +1 -0
- package/site/dist/assets/safe-url-D7SRPu33-A8zMgOTd.js +1 -0
- package/site/dist/assets/serializeErc6492Signature-CeJeL3h6.js +1 -0
- package/site/dist/assets/serializeTransaction-L-_Ej-jW.js +8 -0
- package/site/dist/assets/{shared-DRZUmnL5-xqAUARWo.js → shared-DRZUmnL5-MWD-C-pp.js} +33 -33
- package/site/dist/assets/{shared-FM0rljBt--Avg6q2R.js → shared-FM0rljBt-c4eSjzGj.js} +6 -6
- package/site/dist/assets/shouldProceedtoEmbeddedWalletCreationFlow-B3vyavrh-CF2QteTJ.js +1 -0
- package/site/dist/assets/simulateTransaction-CfuOrae4-BHUMPf6Q.js +1 -0
- package/site/dist/assets/smartphone-DAN5rY0T.js +1 -0
- package/site/dist/assets/stripe.esm-Dv8C3q95.js +2 -0
- package/site/dist/assets/styles-BsotlekN-Cjuu2SDV.js +9 -0
- package/site/dist/assets/{styles-Cm9H63WO-D90SsXOs.js → styles-Cm9H63WO-Cv1TbqYi.js} +17 -17
- package/site/dist/assets/{styles-DVyDvTdj-BTABn2K8.js → styles-DVyDvTdj-CI4xZNHp.js} +8 -8
- package/site/dist/assets/{styles-hslXy6xG-D-49b1rk.js → styles-hslXy6xG-DeVcFoDD.js} +23 -23
- package/site/dist/assets/telegram-B-JqnkqZ-DTjJLkIF.js +1 -0
- package/site/dist/assets/to-ui-error-DWe-qwS3-Dx3yzcV0.js +4 -0
- package/site/dist/assets/toAccount-Bq6rbpbI.js +1 -0
- package/site/dist/assets/transaction-BNTP-bFm-CrebgH-D.js +1 -0
- package/site/dist/assets/transactionReceipt-BwJl-gjg.js +1 -0
- package/site/dist/assets/transfer-6YztDh-t-DU6hH7CZ.js +1 -0
- package/site/dist/assets/transformers.web-BEKVh7pD.js +40 -0
- package/site/dist/assets/transformers.web-aWa49tv1.js +40 -0
- package/site/dist/assets/triangle-alert-ndoiBs4y.js +1 -0
- package/site/dist/assets/twitch-5IOe4sIQ-BXviIywg.js +1 -0
- package/site/dist/assets/useGetSolPrice-x7gfUIHJ-C7axYJ--.js +1 -0
- package/site/dist/assets/useGetTokenPrice-CaoUkb79-CR4CrguU.js +1 -0
- package/site/dist/assets/useI18n-C-5n_noF-C_t8QqBJ.js +1 -0
- package/site/dist/assets/useWalletBalance-CZnP5f_f-BnSHLVI_.js +1 -0
- package/site/dist/assets/w3m-modal-Bz5KWTQ-.js +1174 -0
- package/site/dist/assets/wallet-DTM31trz.js +2 -0
- package/site/dist/assets/wallet-UESEqPei.js +1 -0
- package/site/dist/assets/wallet-connect-BvJtUsDt-CnvUnFbz.js +1 -0
- package/site/dist/assets/walletconnect-v2-3frQFwbg-CzQk99gS.js +15 -0
- package/site/dist/assets/x-B2_XdOVQ.js +1 -0
- package/site/dist/index.html +120 -8
- package/site/feed.js +16 -1
- package/site/no-model.js +4 -0
- package/site/worker.js +597 -58
- package/src/agent/agent-card.js +20 -11
- package/src/agent/mcp.js +150 -316
- package/src/agent/view-tools.js +53 -12
- package/src/agent/x402.js +379 -44
- package/src/core/embed.js +51 -52
- package/src/core/embed.worker.js +1 -1
- package/src/core/shard.js +7 -3
- package/src/discover/apps.js +4 -3
- package/src/discover/explore.js +36 -22
- package/src/market/reactions.js +2 -2
- package/src/publish/devnet.js +95 -0
- package/src/publish/lint.js +2 -1
- package/src/publish/ship.js +517 -236
- package/src/publish/view-cli.js +11 -10
- package/src/publish/view.js +359 -206
- package/src/taste/taste-doc.js +3 -2
- package/src/taste/taste.js +2 -2
- package/src/taste/vault.js +3 -1
- package/site/dist/assets/AccountNotFoundScreen-C4njXc69-BOfmiSH1.js +0 -1
- package/site/dist/assets/AddFundsSelectionScreen-RAoCn7ej-B6uvYyqa.js +0 -31
- package/site/dist/assets/Address-H8kD1d9O-DcHv7A8C.js +0 -17
- package/site/dist/assets/AffirmativeConsentScreen-BG0MJxku-v2wz-N-s.js +0 -6
- package/site/dist/assets/AllowlistRejectionScreen-Cae6e1Od-DhVy9iGN.js +0 -1
- package/site/dist/assets/ApiController-BbhXeqTV.js +0 -5
- package/site/dist/assets/ArrowsRightLeftIcon-cp60yobq.js +0 -1
- package/site/dist/assets/AuthenticateWithWalletScreen-CU6hIcFT-B0eT1zE6.js +0 -1
- package/site/dist/assets/AwaitingEvmToSolBridgingScreen-D0e_sZMS-DL5PH-v_.js +0 -1
- package/site/dist/assets/AwaitingExternalEthereumTransferScreen-ur5HL4R7-n1BsRPqc.js +0 -1
- package/site/dist/assets/AwaitingPasswordlessCodeScreen-DRHz76mM-BVl2BJDY.js +0 -103
- package/site/dist/assets/AwaitingSolToEvmBridgingScreen-CdLRrGD2-BD-OZUQb.js +0 -1
- package/site/dist/assets/BridgeNetworkSelectionView-CFGjB2nO-CaYrzRje.js +0 -68
- package/site/dist/assets/CaptchaScreen-DbpvkIGx-BQJ7inx1.js +0 -1
- package/site/dist/assets/CheckCircleIcon-BM409mGI.js +0 -1
- package/site/dist/assets/CheckCircleIcon-NCOQc0Gs.js +0 -1
- package/site/dist/assets/Checkbox-D1EDeo41-rHlvsZzP.js +0 -52
- package/site/dist/assets/ChevronDownIcon-CW-4MSpE.js +0 -1
- package/site/dist/assets/Chip-CZKIKt9K-CutJG010.js +0 -26
- package/site/dist/assets/CoinbaseOnrampStatusScreen-BbyCJDXL-DDaMC7cl.js +0 -16
- package/site/dist/assets/ConnectEmailForm-B-VRE0MN-DVSf4tFJ.js +0 -3
- package/site/dist/assets/ConnectLedgerScreen-DWHABGot-h0uYIUi6.js +0 -10
- package/site/dist/assets/ConnectOnlyLandingScreen-CZYx9Bmp-DP19hJq5.js +0 -1
- package/site/dist/assets/ConnectOnlyStatusScreen-DCRzjxHx-DHvijlTx.js +0 -1
- package/site/dist/assets/ConnectOrCreateScreen-CUUYUO07-ewmXYPTQ.js +0 -1
- package/site/dist/assets/ConnectPhoneForm-Dek5xn4C-DUYdmVtr.js +0 -95
- package/site/dist/assets/ConnectWalletView-DqI-PTvX-RobGErVW.js +0 -74
- package/site/dist/assets/ConnectionStatusScreen-fUfROm9m-Bbiq3hY6.js +0 -1
- package/site/dist/assets/ConnectionStatusScreen-fUfROm9m-DPkOGNWl.js +0 -7
- package/site/dist/assets/ConnectorUtil-BO1L6VvV.js +0 -21
- package/site/dist/assets/ConstantsUtil-DmLsRHAl.js +0 -198
- package/site/dist/assets/CopyToClipboard-i_OQSBJr-DujUHNzW.js +0 -39
- package/site/dist/assets/CopyableText-CQapvaMr-DMIdpDaU.js +0 -28
- package/site/dist/assets/CrossAppAuthScreen-CLw7ymZq-DbGy4QyA.js +0 -1
- package/site/dist/assets/CustomLandingScreenView-Cm_MBSyX-B3WqJZBh.js +0 -22
- package/site/dist/assets/DelegatedActionsConsentScreen-DYF2U4y5-CmUDoS0C.js +0 -1
- package/site/dist/assets/DelegatedActionsRevokeScreen-bPp6Uwyh-fcO51q5H.js +0 -1
- package/site/dist/assets/DepositAddressAddressStepView-4vdkb55L-ClAb_j1B.js +0 -187
- package/site/dist/assets/DepositAddressScreen-DBLRs7aI-CN1P_KY9.js +0 -8
- package/site/dist/assets/DepositAddressV3Screen-CDqIEMQw-BtDZmuEN.js +0 -1
- package/site/dist/assets/EmbeddedWalletConnectingScreen-D4T7DUzs-D3pExuaW.js +0 -1
- package/site/dist/assets/EmbeddedWalletCreatedScreen-D7WhW5ve-CLsJbPYQ.js +0 -1
- package/site/dist/assets/EmbeddedWalletKeyExportScreen-CqV4NYQ3-DI6bu-oi.js +0 -23
- package/site/dist/assets/EmbeddedWalletOnAccountCreateScreen-BoKb3Q2S-BQ9Ygr0P.js +0 -1
- package/site/dist/assets/EmbeddedWalletPasswordUpdateScreen-D3rMlqS7-CxrfLr5q.js +0 -1
- package/site/dist/assets/EmbeddedWalletPasswordUpdateSplashScreen-BPFkWJeE-DHZRGoTN.js +0 -1
- package/site/dist/assets/EnrollTotp-Dibew4dp-7gVtJ1Jt.js +0 -66
- package/site/dist/assets/EnvelopeIcon-Dh2vSVj4.js +0 -1
- package/site/dist/assets/ErrorBanner-BcpGRt0h-BKOYTyCi.js +0 -21
- package/site/dist/assets/ErrorScreen-DipdTWzE-BT8TtRTx.js +0 -4
- package/site/dist/assets/ErrorScreen-DipdTWzE-DAam41Xl.js +0 -1
- package/site/dist/assets/ExclamationCircleIcon-DUA2wMfO.js +0 -1
- package/site/dist/assets/ExclamationTriangleIcon-eZfaqcFq.js +0 -1
- package/site/dist/assets/FarcasterConnectStatusScreen-51tjUxqq-BPCBi37Q.js +0 -75
- package/site/dist/assets/FarcasterSignerStatusScreen-6x-Uh95G-XCmWpnUd.js +0 -28
- package/site/dist/assets/FiatOnrampScreen-BAhYeiTI-DJRcUh2N.js +0 -491
- package/site/dist/assets/FingerPrintIcon-Dm6kxmg7.js +0 -1
- package/site/dist/assets/FundSolWalletWithExternalSolanaWallet-WtLwYaOl-BfNVSTb1.js +0 -1
- package/site/dist/assets/FundWalletMethodHeader-BWNkokCT-BQdbJ5Bb.js +0 -1
- package/site/dist/assets/FundWithBankDepositScreen-DajkHxBD-BfvMcHb6.js +0 -58
- package/site/dist/assets/FundingEditAmountScreen-CpvpiO4M-VBfbahnA.js +0 -1
- package/site/dist/assets/FundingMethodSelectionScreen-Db7vhRlE-CMuBYf64.js +0 -1
- package/site/dist/assets/GlobeAltIcon-vqrVV5ho.js +0 -1
- package/site/dist/assets/GooglePay-B53WnudL-BX5_WtCx.js +0 -1
- package/site/dist/assets/HCaptchaWrapper-CUi9LJsp-D-I8j7NO.js +0 -4
- package/site/dist/assets/InAppBrowserLoginNotPossible-BMR9br1T-BY3j50El.js +0 -1
- package/site/dist/assets/InfoBanner-Cb3p1z12-DLBl_Ywy.js +0 -22
- package/site/dist/assets/InjectedWalletIcon-DLcYOGDj-DLSV_NjP.js +0 -1
- package/site/dist/assets/InstallWalletScreen-DTA8dwLv-CxreyXoD.js +0 -1
- package/site/dist/assets/LandingScreen-CGWUoSUG-Q7hgXKvM.js +0 -1
- package/site/dist/assets/Link-BdDilT2T-BEDEdHuS.js +0 -40
- package/site/dist/assets/LinkConflictScreen-C3ZEPsgl-DK1z_v7y.js +0 -77
- package/site/dist/assets/LinkEmailScreen-dKo9frwc-BYYpJ5-6.js +0 -1
- package/site/dist/assets/LinkPasskeyScreen-zbrl_AI_-uhub9C26.js +0 -1
- package/site/dist/assets/LinkPasskeyScreen-zbrl_AI_-uid22VTN.js +0 -117
- package/site/dist/assets/LinkPhoneScreen-oIUpfj0w-CVQibNi9.js +0 -1
- package/site/dist/assets/Loader-UAZqxsnw-Cy7hEE2f.js +0 -62
- package/site/dist/assets/LockClosedIcon-BgY_5v_Z.js +0 -1
- package/site/dist/assets/LoginFailedScreen-CN0dJV6U-DhUMiJZJ.js +0 -1
- package/site/dist/assets/ManualTransferScreen-CHqcuqbs-DMygAXMU.js +0 -1
- package/site/dist/assets/MfaAuthEnrollmentFlowScreen-Dj7gPTRC-_1GFUSIg.js +0 -1
- package/site/dist/assets/MfaAuthVerifyFlowScreen-DbFpyWMy-DLnBJ5b8.js +0 -1
- package/site/dist/assets/MfaEnrollmentFlowScreen-DhLnGgnr-BUJY1lzs.js +0 -1
- package/site/dist/assets/MfaVerifyFlowScreen-C_XPjMRP-25l5fVun.js +0 -1
- package/site/dist/assets/ModalFooter-BCuEK_nz-c-khvG4Y.js +0 -403
- package/site/dist/assets/MoonpayStatusScreen-CzTUtokc-BRFN2eXr.js +0 -16
- package/site/dist/assets/OAuthStatusScreen-ufbOa-da-DL30vu07.js +0 -1
- package/site/dist/assets/OpenLink-CUpJ1mOr-DfAvJRyK.js +0 -39
- package/site/dist/assets/PasskeySelectSignupOrLogin-xh2ScC_l-DtxhRQyw.js +0 -1
- package/site/dist/assets/PasskeyStatusScreen-Bla8MaOk-CNfu8ujT.js +0 -6
- package/site/dist/assets/PasswordRecoveryScreen-awGXZkQk-BR6z6xE8.js +0 -20
- package/site/dist/assets/PhArrowClockwise-DVgyFuez.js +0 -14
- package/site/dist/assets/PhArrowDown-87b1BizM.js +0 -14
- package/site/dist/assets/PhArrowLeft-Da0MfnbK.js +0 -14
- package/site/dist/assets/PhArrowRight-AdrIL4DW.js +0 -14
- package/site/dist/assets/PhArrowUp-4sgyKPGx.js +0 -14
- package/site/dist/assets/PhArrowUpRight-BNghD2zq.js +0 -14
- package/site/dist/assets/PhArrowsLeftRight-MuKBLUoF.js +0 -14
- package/site/dist/assets/PhBrowser-2-9m-AkM.js +0 -14
- package/site/dist/assets/PhCaretDown-BDNabFuL.js +0 -14
- package/site/dist/assets/PhCaretLeft-CI460R-A.js +0 -14
- package/site/dist/assets/PhCaretRight-D7ZS3Ls8.js +0 -14
- package/site/dist/assets/PhCaretUp-C-iIfyvO.js +0 -14
- package/site/dist/assets/PhCheck-DxQXn57r.js +0 -14
- package/site/dist/assets/PhClock-x3MS3Mwi.js +0 -14
- package/site/dist/assets/PhCopy-CWNYcABI.js +0 -14
- package/site/dist/assets/PhDeviceMobile-CsyA5Goi.js +0 -14
- package/site/dist/assets/PhDotsThree-D-k1BiYg.js +0 -14
- package/site/dist/assets/PhEnvelope-D8kzeNox.js +0 -14
- package/site/dist/assets/PhFunnelSimple-CfQs5DAW.js +0 -14
- package/site/dist/assets/PhMagnifyingGlass-C9u8jSCJ.js +0 -14
- package/site/dist/assets/PhPlus-C4UoW-2n.js +0 -14
- package/site/dist/assets/PhWarningCircle-BXHw1fCt.js +0 -14
- package/site/dist/assets/PhX-DX0SFIqC.js +0 -14
- package/site/dist/assets/PhoneIcon-CvIiPwYQ.js +0 -1
- package/site/dist/assets/PinInput-DbZ0b1i1-CDXZBdQx.js +0 -247
- package/site/dist/assets/PrivyPluginContext-DA-yS5vO-CtQWBiV2.js +0 -1
- package/site/dist/assets/QrCode-DbnZwlkH-BymHrKY7.js +0 -22
- package/site/dist/assets/RecoveryOAuthStatusScreen-CsgtTI2x-Dro1btv5.js +0 -1
- package/site/dist/assets/RecoveryPasswordCreateScreen-Be-qJ-LU-C1q1hiaN.js +0 -1
- package/site/dist/assets/RecoverySelectionScreen-D1iGtpmi-C21D20gD.js +0 -7
- package/site/dist/assets/SIWXUtil-CHZVugix.js +0 -1
- package/site/dist/assets/ScreenLayout-OwaQQcxH-CrQM6kvA.js +0 -1
- package/site/dist/assets/SetAutomaticRecoveryScreen-BO_OEqAZ-BcWHJoEG.js +0 -14
- package/site/dist/assets/SetWalletPasswordForm-DwCTVtAh-kq1zvA7d.js +0 -11
- package/site/dist/assets/ShieldCheckIcon-o6RHYev1.js +0 -1
- package/site/dist/assets/SignRequestScreen-BHKv32KR-iQCaBkcz.js +0 -26
- package/site/dist/assets/SolanaWalletConnector-C7Lqk-Wz-BUdJJ0ep.js +0 -1
- package/site/dist/assets/StandardSignAndSendTransactionScreen-CfhIXVtd-nART-xUU.js +0 -20
- package/site/dist/assets/TelegramAuthScreen-UL9zLfO8-Dw9geyK3.js +0 -1
- package/site/dist/assets/TodoList-DnyULl18-C8Eyy28X.js +0 -36
- package/site/dist/assets/TransactionDetails-e9nesl30-DeEL1JQS.js +0 -109
- package/site/dist/assets/TransactionErrorView-BDBNqA_f-Dffuo7I4.js +0 -178
- package/site/dist/assets/TransferFromWalletScreen-Qvn1Yuno-CWLWUiHy.js +0 -31
- package/site/dist/assets/TransferOrBridgeLoadingScreen-Dl1I_iIz-Bo-tm6wr.js +0 -6
- package/site/dist/assets/TurnstileWrapper-B7sNddys-Jwy1tJtm.js +0 -1
- package/site/dist/assets/UpdateEmailScreen-DVOhPV0H-gFbSIUhh.js +0 -1
- package/site/dist/assets/UpdatePhoneScreen-CXRswTNZ-Coy4E1NQ.js +0 -1
- package/site/dist/assets/UserLimitReachedScreen-5we2DHn8-D7m70C4b.js +0 -1
- package/site/dist/assets/WalletCards-DH1rqayz-Bgp9Fsgs.js +0 -1
- package/site/dist/assets/WalletIcon-gKf0gTw6.js +0 -1
- package/site/dist/assets/WalletInfoCard-sq_2wgFg-ISBsQt8p.js +0 -29
- package/site/dist/assets/WalletInterstitialScreen-Sh7LfsAh-DG-RuO-F.js +0 -1
- package/site/dist/assets/WalletLink-DK5LB5Ha-CXBqCHf3.js +0 -20
- package/site/dist/assets/WalletOverflowButton-bfCnp-9T-DP0-PoZL.js +0 -1
- package/site/dist/assets/WarningBanner-ZZqCEtZK-2eU4Qo74.js +0 -21
- package/site/dist/assets/__vite-browser-external-CitKSmYk.js +0 -1
- package/site/dist/assets/_esm-CJe2F7LL.js +0 -7
- package/site/dist/assets/_esm-zhBBffjV.js +0 -1
- package/site/dist/assets/accounts-Bq8t1wAD.js +0 -1
- package/site/dist/assets/accounts-D96UKWkC.js +0 -1
- package/site/dist/assets/analytics-mkkvFRju-BRBcadka.js +0 -1
- package/site/dist/assets/baseSepolia-DX-qGsik.js +0 -1
- package/site/dist/assets/basic-MlZ7f4s9.js +0 -1575
- package/site/dist/assets/capitalizeFirstLetter-DmLYqXsO-DtOXx-2n.js +0 -1
- package/site/dist/assets/ccip-BI9LWBBg.js +0 -1
- package/site/dist/assets/ccip-C-59SNEF.js +0 -7
- package/site/dist/assets/ccip-y08wK9du.js +0 -1
- package/site/dist/assets/chain-DM3oH6Px.js +0 -8
- package/site/dist/assets/check-BPgcwEPP.js +0 -1
- package/site/dist/assets/chevron-down-BSsbXkK-.js +0 -1
- package/site/dist/assets/circle-alert-DWaeLZNj.js +0 -1
- package/site/dist/assets/circle-check-big-Chb1ivw9.js +0 -1
- package/site/dist/assets/circle-x-AV9Cet0R.js +0 -1
- package/site/dist/assets/client-D0IV9lV9.js +0 -2
- package/site/dist/assets/client-Dsa7_3V3.js +0 -9
- package/site/dist/assets/coinbase-DCPC2L_R-Rs9nVCfm.js +0 -3
- package/site/dist/assets/copy-Ckr0AkL6.js +0 -1
- package/site/dist/assets/core-zQ1tZtVZ.js +0 -12
- package/site/dist/assets/createLucideIcon-IPW50ckY.js +0 -1
- package/site/dist/assets/defineChain-CiuCXUZW.js +0 -1
- package/site/dist/assets/dijkstra-Drfl93V4.js +0 -1
- package/site/dist/assets/dist-BxQqwnue.js +0 -16
- package/site/dist/assets/dist-Cm7pNAtL.js +0 -1
- package/site/dist/assets/dist-CoS6E-3x.js +0 -1
- package/site/dist/assets/dist-Dl07uGq1.js +0 -1
- package/site/dist/assets/embed.worker-ugGhEqCV.js +0 -1
- package/site/dist/assets/errors-BQ3N-RVt-BLqjTPNR.js +0 -1
- package/site/dist/assets/esm-C3DslVJx.js +0 -1
- package/site/dist/assets/esm-Ci1ogKuK.js +0 -1
- package/site/dist/assets/esm-DXsETz3H.js +0 -1
- package/site/dist/assets/esm-n2lWo7kz.js +0 -1
- package/site/dist/assets/esm-vs5jNx_Y.js +0 -37
- package/site/dist/assets/ethers-zTjbodk5-B7BBFFKf.js +0 -1
- package/site/dist/assets/eventemitter3-CL76jPsW.js +0 -1
- package/site/dist/assets/external-link-D-uehwM2.js +0 -1
- package/site/dist/assets/farcaster-DPlSjvF5-BqTvDXBR.js +0 -1
- package/site/dist/assets/features-CYXRa3_m.js +0 -2
- package/site/dist/assets/fingerprint-pattern-D8ytA16Q.js +0 -1
- package/site/dist/assets/floating-ui.react-dom-DKWOL9UG.js +0 -1
- package/site/dist/assets/floating-ui.react-xRkl9O3u.js +0 -1
- package/site/dist/assets/formatErc20TokenAmount-BuPk9xcy-BVqOKQif.js +0 -1
- package/site/dist/assets/formatter-CVbp4SlJ.js +0 -1
- package/site/dist/assets/get-entropy-details-for-user-dHRH5Gpi-Dukf7_kJ.js +0 -1
- package/site/dist/assets/getChainName-DjpPdUSc-DUyKDrnp.js +0 -1
- package/site/dist/assets/getErc20Balance-jXNpFf0N-V2btxzrJ.js +0 -1
- package/site/dist/assets/getErc20TokenInfo-BNTrzLMP-CtCwQuGA.js +0 -1
- package/site/dist/assets/getFormattedUsdFromLamports-De3U9GlO-Gx4_wxON.js +0 -1
- package/site/dist/assets/getUsdcMintAddress-BVgm9GRo-r2UnDeEy.js +0 -1
- package/site/dist/assets/guards-BIW-GiMJ-CHfXo8XI.js +0 -1
- package/site/dist/assets/hooks.module-BYZGfwDl.js +0 -1
- package/site/dist/assets/hourglass-CPG1HZmf.js +0 -1
- package/site/dist/assets/id-UqEwL2BI-CdKXapd-.js +0 -1
- package/site/dist/assets/index-BdEw5wyl-ChSJvPZk.js +0 -1
- package/site/dist/assets/index-CKdAF_dK.js +0 -8
- package/site/dist/assets/index-DvMddJcd-D-4mRLKK.js +0 -12
- package/site/dist/assets/index-YiCw0Y_x-BX1zsiqG.js +0 -437
- package/site/dist/assets/index.browser-B-i-Lj3J.js +0 -1
- package/site/dist/assets/index.browser-BMmUcykv.js +0 -1
- package/site/dist/assets/index.es-BmqyoBEM.js +0 -2
- package/site/dist/assets/index.es-C1v1or--.js +0 -3
- package/site/dist/assets/isPaymentRequestAvailable-Bq1cemEn-By6r0dVB.js +0 -1
- package/site/dist/assets/jsx-runtime-BbDfbRii.js +0 -1
- package/site/dist/assets/landmark-CH6LV6F0.js +0 -1
- package/site/dist/assets/lib-BsS8z8Lj.js +0 -1
- package/site/dist/assets/localBatchGatewayRequest-5YxrERBj.js +0 -32
- package/site/dist/assets/lock-DcskI4Bb.js +0 -1
- package/site/dist/assets/logger-CsXm3oIv-B0UYpNFI.js +0 -1
- package/site/dist/assets/mail-Bs0r5yOi.js +0 -1
- package/site/dist/assets/modal-context-CwmSeFcv-DruX9J1E.js +0 -1
- package/site/dist/assets/native-BKj27wfc.js +0 -1
- package/site/dist/assets/ofetch.CWycOUEr-CHp-crOQ.js +0 -1
- package/site/dist/assets/parseAbi-Csg-8t59.js +0 -2
- package/site/dist/assets/parseAbiParameters-BWbIMYe4.js +0 -1
- package/site/dist/assets/parseEther-CGP3gnf2.js +0 -1
- package/site/dist/assets/pkce-DXF0yKjP-Bqz4wAsq.js +0 -1
- package/site/dist/assets/preload-helper-BaNbYf_w.js +0 -1
- package/site/dist/assets/privy-context-81KmsBw2-CjWGzyg7.js +0 -2
- package/site/dist/assets/property-DuZ9DLP4.js +0 -3
- package/site/dist/assets/react-DCXkXSrv.js +0 -1
- package/site/dist/assets/react-DQnMl2Xv.js +0 -1
- package/site/dist/assets/react-DrJ0MmMO.js +0 -1
- package/site/dist/assets/react-auth-sHnipzbS.js +0 -1
- package/site/dist/assets/react-dom-5dW7aKoP.js +0 -1
- package/site/dist/assets/reservoir-x-nGuZkT-BMX127i6.js +0 -1
- package/site/dist/assets/roles-32M1l9jI.js +0 -1
- package/site/dist/assets/roles-DKPW79Ca.js +0 -1
- package/site/dist/assets/rolldown-runtime-BcKkbAw3.js +0 -1
- package/site/dist/assets/safe-url-D7SRPu33-CkMedGro.js +0 -1
- package/site/dist/assets/secp256k1-C4nzcPo-.js +0 -1
- package/site/dist/assets/secp256k1-D92aGNnU.js +0 -1
- package/site/dist/assets/secp256k1-DmbwyFau.js +0 -1
- package/site/dist/assets/secp256k1-_MleGpqL.js +0 -1
- package/site/dist/assets/secp256k1-xl2og-wO.js +0 -1
- package/site/dist/assets/serializeAuthorizationList-CX8hGL56.js +0 -1
- package/site/dist/assets/serializeSignature-DfxkPnu-.js +0 -2
- package/site/dist/assets/sha2-BU_QyRTx.js +0 -1
- package/site/dist/assets/shouldProceedtoEmbeddedWalletCreationFlow-B3vyavrh-ByFOTrQK.js +0 -1
- package/site/dist/assets/simulateTransaction-CfuOrae4-CMFGDgT_.js +0 -1
- package/site/dist/assets/smartphone-CcEZ-XAy.js +0 -1
- package/site/dist/assets/src-BBjkfi-Q.js +0 -1
- package/site/dist/assets/storage-Ufl800Ne-EalZTH9q.js +0 -9
- package/site/dist/assets/stringify-BlDm7tuc.js +0 -21
- package/site/dist/assets/stripe.esm-CZRDpc-N.js +0 -2
- package/site/dist/assets/styles-BsotlekN-CXEB4Ud9.js +0 -9
- package/site/dist/assets/telegram-B-JqnkqZ-RBoY3PLx.js +0 -1
- package/site/dist/assets/to-ui-error-DWe-qwS3-DgCO-Y70.js +0 -4
- package/site/dist/assets/toViemAccount-B5iDGq1b-DZ1MBqUW.js +0 -2
- package/site/dist/assets/transaction-BNTP-bFm-M5tJx8vY.js +0 -1
- package/site/dist/assets/transfer-6YztDh-t-BVQkTvG-.js +0 -1
- package/site/dist/assets/transformers.web-D4RvOP4-.js +0 -40
- package/site/dist/assets/transformers.web-D8W1u_I2.js +0 -49
- package/site/dist/assets/triangle-alert-CWjYH75H.js +0 -1
- package/site/dist/assets/twitch-5IOe4sIQ-lDtgk0os.js +0 -1
- package/site/dist/assets/types-4CuOD23i.js +0 -1
- package/site/dist/assets/use-headless-crypto-deposit-Yn-QRLB3-Dn6_8w-Y.js +0 -1
- package/site/dist/assets/use-unlink-wallet-BKK4_5Ur-DgsQ75lh.js +0 -1
- package/site/dist/assets/useActiveWallet-B-yZYGc6-B6JWREbk.js +0 -123
- package/site/dist/assets/useGetSolPrice-x7gfUIHJ-D1hmQfpA.js +0 -1
- package/site/dist/assets/useGetTokenPrice-CaoUkb79-ZnbuJ-vP.js +0 -1
- package/site/dist/assets/useI18n-C-5n_noF-BcqC76yj.js +0 -1
- package/site/dist/assets/useWalletBalance-CZnP5f_f-L3V0jDjL.js +0 -1
- package/site/dist/assets/useWallets-X1ndvJ_U-CLwUcevw.js +0 -1
- package/site/dist/assets/utils-BkR7EQjg.js +0 -1
- package/site/dist/assets/utils-DJhBNOZA.js +0 -1
- package/site/dist/assets/utils-DdckVfQr.js +0 -1
- package/site/dist/assets/w3m-modal-BMubXAoG.js +0 -1174
- package/site/dist/assets/wallet-Bn85Sg2W.js +0 -1
- package/site/dist/assets/wallet-connect-BvJtUsDt-Y03hhqFN.js +0 -1
- package/site/dist/assets/wallet-uSKqQsgP.js +0 -2
- package/site/dist/assets/walletconnect-registry-xxG8XLCb-D1SSFvMp.js +0 -1
- package/site/dist/assets/walletconnect-v2-3frQFwbg-Dv6JY_ko.js +0 -12
- package/site/dist/assets/x-rlSp9U7W.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const q=/^\s*[[(].*[\])]\s*$/,Q=/,(?! )/;function G(r){if(Array.isArray(r))return r.map(n=>String(n));const e=String(r??""),t=q.test(e)?e.trim().slice(1,-1):Q.test(e)?e:null;return t===null?e===""?[]:[e]:t.split(",").map(n=>n.trim().replace(/^['"]|['"]$/g,"")).filter(Boolean)}const j={title:["title","name","label","headline","path"],subtitle:["subtitle","primaryType","entityType","kind","series","creator"],text:["text","desc","description","summary","body","abstract"]},I=r=>Array.isArray(r)?r.filter(Boolean):r?[r]:[];function d(r=[],e=[]){const t=new Set;for(const p of e)for(const o of Object.keys(p))t.add(o);const n=[],i=[],c=[],l=[],u=[],w=[],f=[],_=[],g=[],k={},s={},a={},x={},y={};let T=null,b=null;const N=[],P=[];let J=null,W=null;const m=(p,o)=>{for(const h of I(o))h&&!p.includes(h)&&p.push(h)};for(const p of r){const o=p?.role_map??{};m(n,o.title),m(i,o.subtitle),m(c,o.tags),m(l,o.text),m(u,o.measures),m(w,o.spatial),m(f,o.media),m(_,o.temporal),J??=o.identity??null,W??=o.thread??null,o.refers?.field&&o.refers?.corpus&&o.refers?.to&&(b??={...o.refers}),Object.assign(k,o.labels??{});for(const C of I(o.fields))t.add(C);const h=p?.presentation??{};Object.assign(s,h.types??{}),Object.assign(a,h.fieldLabels??{}),Object.assign(x,h.externalUrl??{}),Object.assign(y,h.actions??{}),m(g,h.facets),T??=h.launch??null;for(const C of I(p?.entity_types))N.push(C);p?.paywall&&P.push({domain:p.name??null,...p.paywall})}const A=(p,o)=>{p.length||(m(p,o.filter(h=>t.has(h))),m(p,o))};return A(n,j.title),A(i,j.subtitle),A(l,j.text),{title:n,subtitle:i,tags:c,text:l,measures:u,spatial:w,media:f,temporal:_,facets:g,identity:J,thread:W,labels:k,types:s,fieldLabels:a,externalUrl:x,actions:y,launch:T,refers:b,entityTypes:N,gates:P,fields:[...t].sort(),declared:r.some(p=>p?.role_map)}}const B=r=>{const e=r?.entityType??r?.kind;return e==null||e===""?null:String(e)};function z(r){const e=String(r);return/s$/i.test(e)?e:/(x|z|ch|sh)$/i.test(e)?`${e}es`:/[^aeiou]y$/i.test(e)?`${e.slice(0,-1)}ies`:`${e}s`}function L(r,e=[]){const t=new Map;for(const n of r.entityTypes)t.set(n.type,(t.get(n.type)??0)+(n.count??0));if(!t.size)for(const n of e){const i=B(n);i&&t.set(i,(t.get(i)??0)+1)}return[...t].map(([n,i])=>{const c=r.types[n]??{};return{type:n,count:i,icon:c.icon??null,accent:c.accent??null,singular:c.singular??n,plural:c.plural??z(c.singular??n)}}).sort((n,i)=>i.count-n.count)}function R(r){return(r.gates??[]).map(e=>({domain:e.domain??null,locked:[...e.locked??[]],free:[...e.free??[]],price:String(e.price??"0"),asset:e.asset??"USDC",resourceId:e.resourceId??null,workerUrl:e.workerUrl??null,files:(e.files??[]).map(t=>({file:t.file,count:t.count,bytes:t.bytes})),unpublished:!e.resourceId}))}const $=(r,e)=>(e.gates??[]).some(t=>(t.locked??[]).includes(r));async function O(r,e){if(!(e>0))return!1;if(e>=1)return!0;const t=await crypto.subtle.digest("SHA-256",new TextEncoder().encode(String(r)));return new DataView(t).getUint32(0)<e*2**32}const H=r=>`${(Number(r.price??0)/1e6).toFixed(r.price%1e3?6:2)} ${r.asset??"USDC"}`,M=(r,e=[])=>{for(const t of e){const n=r?.[t];if(n!=null&&n!=="")return n}return null},E=(r,e)=>String(M(r,e.title)??r?.id??"untitled"),F=(r,e)=>{const t=M(r,e.subtitle);return t==null?null:String(t)};function v(r,e){const t=e.text.map(i=>r?.[i]).filter(i=>i!=null&&i!=="");if(t.length)return t.join(" ");if(e.text.some(i=>$(i,e)))return"";const n=M(r,e.title);return n?String(n):""}const K=160,U=6;function S(r,e,t=[]){const n={id:r.id,title:E(r,e)},i=F(r,e);i&&(n.subtitle=i);for(const c of[...e.tags,...e.measures,...t]){const l=r[c];if(l==null||l==="")continue;const u=e.tags.includes(c)?G(l):null;u?n[c]=u.length>U?[...u.slice(0,U),`…+${u.length-U} more`]:u:n[c]=typeof l=="string"&&l.length>K?`${l.slice(0,K)}…`:l}return n}function V(r,e){const t=e.externalUrl?.[B(r)];if(!t)return null;let n=!1;const i=String(t).replace(/\{(\w+)\}/g,(c,l)=>{const u=r?.[l];return u==null||u===""?(n=!0,""):String(u)});return n?null:i}function D(r,e){return(e?.actions?.[B(r)]??[]).map(n=>{const i=[],c=[],l=String(n.href??"").replace(/\{(\w+)\}/g,(u,w)=>{const f=r?.[w];return f!=null&&f!==""?String(f):(($(w,e)?i:c).push(w),"")});return{kind:n.kind??"link",label:n.label??n.kind??"open",href:l,locked:i,missing:c}}).filter(n=>n.locked.length||!n.missing.length)}if(typeof process<"u"&&import.meta.url===`file://${process.argv[1]}`&&process.argv[1].endsWith("/roles.js")){const r={role_map:{identity:"placeId",title:"title",subtitle:"primaryType",spatial:"locality",media:"googleMapsUri",tags:["categories"],measures:["rating","userRatingCount"],temporal:null,relations:[],text:["text","editorialSummary"],labels:{title:"Title"},fields:["address","phone","website"]},presentation:{types:{Business:{icon:"🏪",singular:"Place"}},externalUrl:{Business:"{googleMapsUri}",Event:"{ticketUrl}"}},entity_types:[{type:"Event",count:654},{type:"Business",count:263}]},e={id:"r1",entityType:"Business",title:"Cira's Red, White & Brew Bar",primaryType:"Bar & Grill",text:"Bar & Grill in Saint Germain, WI.",editorialSummary:"",categories:"['Bar', 'Restaurant']",rating:"4.7",userRatingCount:"293",googleMapsUri:"https://maps.google.com/?cid=140971"};let t=d([r],[e]);if(!t.declared)throw new Error("a manifest with a role_map is declared, not sniffed");if(E(e,t)!=="Cira's Red, White & Brew Bar")throw new Error("declared title lost");if(F(e,t)!=="Bar & Grill")throw new Error("declared subtitle lost");if(t.thread!==null||d([{role_map:{thread:"part_of"}},r]).thread!=="part_of")throw new Error("thread is declared, never guessed");if(v(e,t)!=="Bar & Grill in Saint Germain, WI.")throw new Error("empty declared text fields must be skipped, not joined as blanks");{const s={field:"videoPath",corpus:"archive-films",to:"path"},a=d([{role_map:{identity:"videoPath",refers:s}}]).refers;if(a?.corpus!=="archive-films"||a.field!=="videoPath"||a.to!=="path")throw new Error("a complete reference must survive the manifest");for(const x of["field","corpus","to"]){const y={...s};if(delete y[x],d([{role_map:{refers:y}}]).refers)throw new Error(`a reference missing '${x}' must not be honoured`)}if(d([{role_map:{title:"name"}}]).refers!==null)throw new Error("a corpus that declared no reference has none — this is never sniffed")}if(V(e,t)!=="https://maps.google.com/?cid=140971")throw new Error("presentation.externalUrl not applied");if(V({...e,entityType:"Event"},t)!==null)throw new Error("a template with a missing field must be null, not a half-built link");if(!t.fields.includes("phone")||!t.fields.includes("website"))throw new Error("role_map.fields must reach the facet picker");if(t.types.Business.icon!=="🏪")throw new Error("presentation.types lost");for(const s of[["Bar","Restaurant"],"['Bar', 'Restaurant']","Bar,Restaurant"]){const a=S({...e,categories:s},t).categories;if(!Array.isArray(a)||a.join()!=="Bar,Restaurant")throw new Error(`tags must normalize: ${JSON.stringify(s)} → ${JSON.stringify(a)}`)}if(G("Wilson, Michael G.").length!==1)throw new Error("a comma followed by a space is prose, not a list");if(G("").length!==0)throw new Error("an empty value is no values, not one empty one");if(Array.isArray(S(e,t).rating))throw new Error("a measure must stay scalar");const n=S({...e,categories:Array.from({length:50},(s,a)=>`c${a}`)},t);if(n.categories.length!==U+1)throw new Error(`long tag lists must truncate: ${n.categories.length}`);if(!String(n.categories.at(-1)).includes("+44 more"))throw new Error("truncation must say how much it dropped");if(S({...e,categories:["a","b"]},t).categories.length!==2)throw new Error("a short list must pass through whole");const i=S(e,t);if(i.title!==e.title||i.rating!=="4.7"||!i.categories)throw new Error(`brief must carry declared tags + measures: ${JSON.stringify(i)}`);if("googleMapsUri"in i)throw new Error("brief must not dump undeclared fields");const c=d([{...r,name:"places",paywall:{free:["title","primaryType"],locked:["text","phone"],price:"50000",asset:"USDC",resourceId:"0xdead",workerUrl:"https://w",files:[{file:"locked-0000-abc.ndjson.gz",count:917,bytes:1234}]}}]);let[l]=R(c);if(l.locked.join()!=="text,phone")throw new Error("the locked field list must survive");if(l.unpublished)throw new Error("a gate with a resourceId is buyable");if(H(l)!=="0.05 USDC")throw new Error(`price must render as USDC, got ${H(l)}`);if(!$("phone",c)||$("title",c))throw new Error("isLocked must read the manifest");if([l]=R(d([{...r,paywall:{locked:["text"],price:"1"}}])),!l.unpublished)throw new Error("no resourceId means there is nothing to buy yet");if(R(d([r])).length)throw new Error("an ungated view must report no gates");if($("text",d([r])))throw new Error("nothing is locked in an ungated view");for(const[s,a]of[["row-47",!0],["row-169",!0],["row-0",!1],["row-3",!1],["row-19",!1]])if(await O(s,.01)!==a)throw new Error(`inSample must match the bake: ${s}`);if(await O("row-0",0)!==!1||await O("row-0",1)!==!0)throw new Error("rate 0 gives nothing away, rate 1 gives everything");let u=0;for(let s=0;s<2e3;s++)await O(`row-${s}`,.01)&&u++;if(u!==19)throw new Error(`the bake picks exactly 19 of these 2000 — got ${u}`);const w=d([{...r,name:"places",role_map:{...r.role_map,text:["text"]},paywall:{free:["title"],locked:["text"],price:"1"}}]);if(v({title:"Cira's Bar"},w)!=="")throw new Error("a locked text role must read empty, not as the title");if(v({title:"Cira's Bar",text:"A bar."},w)!=="A bar.")throw new Error("a sampled row's real text must still win");if(v({title:"Cira's Bar"},d([r]))!=="Cira's Bar")throw new Error("the title fallback still stands when nothing is gated");let f=L(d([r]));if(f.map(s=>s.type).join()!=="Event,Business")throw new Error(`collections must sort by count: ${f.map(s=>s.type)}`);if(f[1].icon!=="🏪"||f[1].singular!=="Place")throw new Error("presentation.types must reach the collection");if(f[1].plural!=="Places")throw new Error(`plural must derive from the declared singular: ${f[1].plural}`);if(f[0].singular!=="Event"||f[0].icon!=="🎫"&&f[0].icon!==null)throw new Error("an undescribed type must still be a collection");if(f=L(d([{role_map:{title:"title"}}]),[e,e,{id:"e",entityType:"Event"}]),f[0].type!=="Business"||f[0].count!==2)throw new Error(`row counting fallback wrong: ${JSON.stringify(f)}`);for(const[s,a]of[["subtitles","subtitles"],["series","series"],["video","videos"],["folder","folders"],["box","boxes"],["category","categories"],["day","days"]])if(z(s)!==a)throw new Error(`pluralize(${s}) = ${z(s)}, want ${a}`);if(B({kind:"video"})!=="video")throw new Error("the older `kind` spelling is still on-chain");if(B({})!==null)throw new Error("a typeless row must be null, not 'undefined'");const _={name:"videos",shards:[]},g={id:"v1",name:"S01E02 - Overture.mp4",path:"classic_tv/Duet/S01E02.mp4",kind:"video",desc:"A forgotten Fox sitcom."};if(t=d([_],[g]),t.declared)throw new Error("a manifest with no role_map must report itself as sniffed");if(E(g,t)!=="S01E02 - Overture.mp4")throw new Error(`sniff must prefer name over path: ${E(g,t)}`);if(t.title[0]!=="name")throw new Error("a field the sample HAS must outrank one it does not");if(F(g,t)!=="video")throw new Error("sniff must find a subtitle");if(!v(g,t).includes("forgotten Fox"))throw new Error("sniff must find the prose");if(E({id:"x"},d([],[]))!=="x")throw new Error("a title must always fall back to the id");if(v({id:"x"},d([],[]))!=="")throw new Error("no prose and no title must be empty, not 'undefined'");const k=d([],[]);if(!k.text.includes("desc")||!k.title.includes("name"))throw new Error("a blind sniff must still offer candidates");if(v(g,k)!=="A forgotten Fox sitcom.")throw new Error("a row parsed before any sample must still get its prose");if(E({id:"z",title:"declared later"},k)!=="declared later")throw new Error("a blind sniff must resolve per row");if(t=d([r,{role_map:{title:"name",text:["body"]}}]),E({name:"a note"},t)!=="a note")throw new Error("the second domain's title field must resolve too");if(E(e,t)!==e.title)throw new Error("the first domain's title must still resolve");if(!t.text.includes("text")||!t.text.includes("body"))throw new Error("text fields must union across domains");if(t.title.includes("label"))throw new Error("a declared title must not be widened by guesses");{const s=d([{name:"films",role_map:{identity:"identifier",title:"name",text:["desc"]},paywall:{free:["identifier","name"],locked:["path"],price:"50000",asset:"USDC"},presentation:{actions:{video:[{kind:"video",label:"Play",href:"https://cdn.test/{path}"},{kind:"link",label:"On archive.org",href:"https://archive.org/details/{identifier}"},{kind:"link",label:"Dead",href:"https://x.test/{nosuchfield}"}]}}}]),a=D({entityType:"video",identifier:"the-temp",name:"temp.mp4"},s);if(a.length!==2)throw new Error(`a template naming a field the bundle never had must drop: ${JSON.stringify(a)}`);if(!a.find(b=>b.kind==="video").locked.includes("path"))throw new Error("a player whose url is behind the paywall must say which field is locked");const y=a.find(b=>b.kind==="link");if(y.href!=="https://archive.org/details/the-temp")throw new Error(`free fields must interpolate: ${y.href}`);if(y.locked.length)throw new Error("a fully resolved action is not locked");if(D({entityType:"video",identifier:"the-temp",name:"temp.mp4",path:"a/b.mp4"},s).find(b=>b.kind==="video").href!=="https://cdn.test/a/b.mp4")throw new Error("an unlocked player must resolve");if(D({entityType:"video"},d([])).length)throw new Error("no declaration, no actions")}console.log("roles.js self-check ok — declared role_map wins, sniffed fallback, fused domains merge, external links, declared actions resolve and name their locked fields, a cross-corpus reference is honoured only when whole and never sniffed, title never undefined")}export{K as BRIEF_CHARS,U as BRIEF_ITEMS,D as actionsOf,S as briefOf,L as collections,R as gatesOf,O as inSample,$ as isLocked,V as linkOf,M as pick,z as pluralize,H as priceLabel,d as rolesFrom,F as subtitleOf,v as textOf,E as titleOf,B as typeOf,G as values};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let r=new Set(["https:","mailto:"]);function e(t){if(!t)return null;try{if(r.has(new URL(t).protocol))return t}catch{}return null}export{e as n};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as i}from"./bytes-CjWw8TJh.js";import{G as n}from"./hashTypedData-Beq57Ogb.js";import{c,w as m}from"./serializeTransaction-L-_Ej-jW.js";function u(t){const{address:r,data:s,signature:a,to:o="hex"}=t,e=c([n([{type:"address"},{type:"bytes"},{type:"bytes"}],[r,s,a]),i]);return o==="hex"?e:m(e)}export{u as s};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const xe="2.57.2";let D={getDocsUrl:({docsBaseUrl:t,docsPath:e="",docsSlug:n})=>e?`${t??"https://viem.sh"}${e}${n?`#${n}`:""}`:void 0,version:`viem@${xe}`};function Fn(t){D=t}class u extends Error{constructor(e,n={}){const s=n.cause instanceof u?n.cause.details:n.cause?.message?n.cause.message:n.details,i=n.cause instanceof u&&n.cause.docsPath||n.docsPath,r=D.getDocsUrl?.({...n,docsPath:i}),o=[e||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...r?[`Docs: ${r}`]:[],...s?[`Details: ${s}`]:[],...D.version?[`Version: ${D.version}`]:[]].join(`
|
|
2
|
+
`);super(o,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=s,this.docsPath=i,this.metaMessages=n.metaMessages,this.name=n.name??this.name,this.shortMessage=e,this.version=xe}walk(e){return ge(this,e)}}function ge(t,e){return e?.(t)?t:t&&typeof t=="object"&&"cause"in t&&t.cause!==void 0?ge(t.cause,e):e?null:t}class ye extends u{constructor({max:e,min:n,signed:s,size:i,value:r}){super(`Number "${r}" is not in safe ${i?`${i*8}-bit ${s?"signed":"unsigned"} `:""}integer range ${e?`(${n} to ${e})`:`(above ${n})`}`,{name:"IntegerOutOfRangeError"})}}class On extends u{constructor(e){super(`Bytes value "${e}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class Qe extends u{constructor(e){super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}class Rn extends u{constructor(e){super(`Hex value "${e}" is an odd length (${e.length}). It must be an even length.`,{name:"InvalidHexValueError"})}}class Nn extends u{constructor({limit:e}){super(`RLP depth limit of \`${e}\` exceeded.`,{name:"RlpDepthLimitExceededError"})}}class Mn extends u{constructor({consumed:e,declared:n}){super(`RLP list items consumed \`${e}\` bytes but the list declared a length of \`${n}\`.`,{name:"RlpListBoundaryExceededError"})}}class Hn extends u{constructor({count:e}){super(`RLP payload encodes a single item, but \`${e}\` trailing ${e===1?"byte remains":"bytes remain"}.`,{name:"RlpTrailingBytesError"})}}class Ze extends u{constructor({givenSize:e,maxSize:n}){super(`Size cannot exceed ${n} bytes. Given size: ${e} bytes.`,{name:"SizeOverflowError"})}}function k(t,{strict:e=!0}={}){return!t||typeof t!="string"?!1:e?/^0x[0-9a-fA-F]*$/.test(t):t.startsWith("0x")}function E(t){return k(t,{strict:!1})?Math.ceil((t.length-2)/2):t.length}function I(t,{dir:e="left"}={}){let n=typeof t=="string"?t.replace("0x",""):t,s=0;for(let i=0;i<n.length-1&&n[e==="left"?i:n.length-i-1].toString()==="0";i++)s++;return n=e==="left"?n.slice(s):n.slice(0,n.length-s),typeof t=="string"?(n.length===1&&e==="right"&&(n=`${n}0`),`0x${n.length%2===1?`0${n}`:n}`):n}class we extends u{constructor({offset:e,position:n,size:s}){super(`Slice ${n==="start"?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${s}).`,{name:"SliceOffsetOutOfBoundsError"})}}class Ie extends u{constructor({size:e,targetSize:n,type:s}){super(`${s.charAt(0).toUpperCase()}${s.slice(1).toLowerCase()} size (${e}) exceeds padding size (${n}).`,{name:"SizeExceedsPaddingSizeError"})}}class kn extends u{constructor({size:e,targetSize:n,type:s}){super(`${s.charAt(0).toUpperCase()}${s.slice(1).toLowerCase()} is expected to be ${n} ${s} long, but is ${e} ${s} long.`,{name:"InvalidBytesLengthError"})}}function C(t,{dir:e,size:n=32}={}){return typeof t=="string"?et(t,{dir:e,size:n}):tt(t,{dir:e,size:n})}function et(t,{dir:e,size:n=32}={}){if(n===null)return t;const s=t.replace("0x","");if(s.length>n*2)throw new Ie({size:Math.ceil(s.length/2),targetSize:n,type:"hex"});return`0x${s[e==="right"?"padEnd":"padStart"](n*2,"0")}`}function tt(t,{dir:e,size:n=32}={}){if(n===null)return t;if(t.length>n)throw new Ie({size:t.length,targetSize:n,type:"bytes"});const s=new Uint8Array(n);for(let i=0;i<n;i++){const r=e==="right";s[r?i:n-i-1]=t[r?i:t.length-i-1]}return s}const nt=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function K(t,e={}){return typeof t=="number"||typeof t=="bigint"?l(t,e):typeof t=="string"?rt(t,e):typeof t=="boolean"?st(t,e):T(t,e)}function st(t,e={}){const n=`0x${Number(t)}`;return typeof e.size=="number"?(P(n,{size:e.size}),C(n,{size:e.size})):n}function T(t,e={}){let n="";for(let i=0;i<t.length;i++)n+=nt[t[i]];const s=`0x${n}`;return typeof e.size=="number"?(P(s,{size:e.size}),C(s,{dir:"right",size:e.size})):s}function l(t,e={}){const{signed:n,size:s}=e,i=BigInt(t);let r;s?n?r=(1n<<BigInt(s)*8n-1n)-1n:r=2n**(BigInt(s)*8n)-1n:typeof t=="number"&&(r=BigInt(Number.MAX_SAFE_INTEGER));const o=typeof r=="bigint"&&n?-r-1n:0;if(r&&i>r||i<o){const c=typeof t=="bigint"?"n":"";throw new ye({max:r?`${r}${c}`:void 0,min:`${o}${c}`,signed:n,size:s,value:`${t}${c}`})}const a=`0x${(n&&i<0?(1n<<BigInt(s*8))+BigInt(i):i).toString(16)}`;return s?C(a,{size:s}):a}const it=new TextEncoder;function rt(t,e={}){const n=it.encode(t);return T(n,e)}const ot=new TextEncoder;function Ee(t,e={}){return typeof t=="number"||typeof t=="bigint"?ct(t,e):typeof t=="boolean"?at(t,e):k(t)?g(t,e):$e(t,e)}function at(t,e={}){const n=new Uint8Array(1);return n[0]=Number(t),typeof e.size=="number"?(P(n,{size:e.size}),C(n,{size:e.size})):n}const x={zero:48,nine:57,A:65,F:70,a:97,f:102};function ue(t){if(t>=x.zero&&t<=x.nine)return t-x.zero;if(t>=x.A&&t<=x.F)return t-(x.A-10);if(t>=x.a&&t<=x.f)return t-(x.a-10)}function g(t,e={}){let n=t;e.size&&(P(n,{size:e.size}),n=C(n,{dir:"right",size:e.size}));let s=n.slice(2);s.length%2&&(s=`0${s}`);const i=s.length/2,r=new Uint8Array(i);for(let o=0,a=0;o<i;o++){const c=ue(s.charCodeAt(a++)),f=ue(s.charCodeAt(a++));if(c===void 0||f===void 0)throw new u(`Invalid byte sequence ("${s[a-2]}${s[a-1]}" in "${s}").`);r[o]=c*16+f}return r}function ct(t,e){const n=l(t,e);return g(n)}function $e(t,e={}){const n=ot.encode(t);return typeof e.size=="number"?(P(n,{size:e.size}),C(n,{dir:"right",size:e.size})):n}function P(t,{size:e}){if(E(t)>e)throw new Ze({givenSize:E(t),maxSize:e})}function Vn(t,e){const n=typeof e=="string"?{to:e}:e,s=n.to;return s==="number"?Te(t,n):s==="bigint"?ve(t,n):s==="string"?ft(t,n):s==="boolean"?ut(t,n):g(t,n)}function ve(t,e={}){const{signed:n}=e;e.size&&P(t,{size:e.size});const s=BigInt(t);if(!n)return s;const i=Math.ceil((t.length-2)/2),r=(1n<<BigInt(i)*8n-1n)-1n;return s<=r?s:s-BigInt(`0x${"f".padStart(i*2,"f")}`)-1n}function ut(t,e={}){let n=t;if(e.size&&(P(n,{size:e.size}),n=I(n)),I(n)==="0x00")return!1;if(I(n)==="0x01")return!0;throw new Qe(n)}function Te(t,e={}){const n=ve(t,e),s=Number(n);if(!Number.isSafeInteger(s))throw new ye({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:e.signed,size:e.size,value:`${n}n`});return s}function ft(t,e={}){let n=g(t);return e.size&&(P(n,{size:e.size}),n=I(n,{dir:"right"})),new TextDecoder().decode(n)}const jn=2n**(8n-1n)-1n,Gn=2n**(16n-1n)-1n,_n=2n**(24n-1n)-1n,Dn=2n**(32n-1n)-1n,Kn=2n**(40n-1n)-1n,Wn=2n**(48n-1n)-1n,Xn=2n**(56n-1n)-1n,qn=2n**(64n-1n)-1n,Yn=2n**(72n-1n)-1n,Jn=2n**(80n-1n)-1n,Qn=2n**(88n-1n)-1n,Zn=2n**(96n-1n)-1n,es=2n**(104n-1n)-1n,ts=2n**(112n-1n)-1n,ns=2n**(120n-1n)-1n,ss=2n**(128n-1n)-1n,is=2n**(136n-1n)-1n,rs=2n**(144n-1n)-1n,os=2n**(152n-1n)-1n,as=2n**(160n-1n)-1n,cs=2n**(168n-1n)-1n,us=2n**(176n-1n)-1n,fs=2n**(184n-1n)-1n,hs=2n**(192n-1n)-1n,ls=2n**(200n-1n)-1n,ds=2n**(208n-1n)-1n,bs=2n**(216n-1n)-1n,ps=2n**(224n-1n)-1n,ms=2n**(232n-1n)-1n,xs=2n**(240n-1n)-1n,gs=2n**(248n-1n)-1n,ys=2n**(256n-1n)-1n,ws=-(2n**(8n-1n)),Is=-(2n**(16n-1n)),Es=-(2n**(24n-1n)),$s=-(2n**(32n-1n)),vs=-(2n**(40n-1n)),Ts=-(2n**(48n-1n)),Ps=-(2n**(56n-1n)),zs=-(2n**(64n-1n)),Bs=-(2n**(72n-1n)),Us=-(2n**(80n-1n)),As=-(2n**(88n-1n)),Ls=-(2n**(96n-1n)),Cs=-(2n**(104n-1n)),Ss=-(2n**(112n-1n)),Fs=-(2n**(120n-1n)),Os=-(2n**(128n-1n)),Rs=-(2n**(136n-1n)),Ns=-(2n**(144n-1n)),Ms=-(2n**(152n-1n)),Hs=-(2n**(160n-1n)),ks=-(2n**(168n-1n)),Vs=-(2n**(176n-1n)),js=-(2n**(184n-1n)),Gs=-(2n**(192n-1n)),_s=-(2n**(200n-1n)),Ds=-(2n**(208n-1n)),Ks=-(2n**(216n-1n)),Ws=-(2n**(224n-1n)),Xs=-(2n**(232n-1n)),qs=-(2n**(240n-1n)),Ys=-(2n**(248n-1n)),Js=-(2n**(256n-1n)),Qs=2n**8n-1n,Zs=2n**16n-1n,ei=2n**24n-1n,ti=2n**32n-1n,ni=2n**40n-1n,si=2n**48n-1n,ii=2n**56n-1n,ri=2n**64n-1n,oi=2n**72n-1n,ai=2n**80n-1n,ci=2n**88n-1n,ui=2n**96n-1n,fi=2n**104n-1n,hi=2n**112n-1n,li=2n**120n-1n,di=2n**128n-1n,bi=2n**136n-1n,pi=2n**144n-1n,mi=2n**152n-1n,xi=2n**160n-1n,gi=2n**168n-1n,yi=2n**176n-1n,wi=2n**184n-1n,Ii=2n**192n-1n,Ei=2n**200n-1n,$i=2n**208n-1n,vi=2n**216n-1n,Ti=2n**224n-1n,Pi=2n**232n-1n,zi=2n**240n-1n,Bi=2n**248n-1n,te=2n**256n-1n;function Ui(t){return typeof t[0]=="string"?V(t):ht(t)}function ht(t){let e=0;for(const i of t)e+=i.length;const n=new Uint8Array(e);let s=0;for(const i of t)n.set(i,s),s+=i.length;return n}function V(t){return`0x${t.reduce((e,n)=>e+n.replace("0x",""),"")}`}class fe extends u{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`,{name:"NegativeOffsetError"})}}class lt extends u{constructor({length:e,position:n}){super(`Position \`${n}\` is out of bounds (\`0 < position < ${e}\`).`,{name:"PositionOutOfBoundsError"})}}class dt extends u{constructor({count:e,limit:n}){super(`Recursive read limit of \`${n}\` exceeded (recursive read count: \`${e}\`).`,{name:"RecursiveReadLimitExceededError"})}}const bt={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new dt({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(t){if(t<0||t>this.bytes.length-1)throw new lt({length:this.bytes.length,position:t})},decrementPosition(t){if(t<0)throw new fe({offset:t});const e=this.position-t;this.assertPosition(e),this.position=e},getReadCount(t){return this.positionReadCount.get(t||this.position)||0},incrementPosition(t){if(t<0)throw new fe({offset:t});const e=this.position+t;this.assertPosition(e),this.position=e},inspectByte(t){const e=t??this.position;return this.assertPosition(e),this.bytes[e]},inspectBytes(t,e){const n=e??this.position;return this.assertPosition(n+t-1),this.bytes.subarray(n,n+t)},inspectUint8(t){const e=t??this.position;return this.assertPosition(e),this.bytes[e]},inspectUint16(t){const e=t??this.position;return this.assertPosition(e+1),this.dataView.getUint16(e)},inspectUint24(t){const e=t??this.position;return this.assertPosition(e+2),(this.dataView.getUint16(e)<<8)+this.dataView.getUint8(e+2)},inspectUint32(t){const e=t??this.position;return this.assertPosition(e+3),this.dataView.getUint32(e)},pushByte(t){this.assertPosition(this.position),this.bytes[this.position]=t,this.position++},pushBytes(t){this.assertPosition(this.position+t.length-1),this.bytes.set(t,this.position),this.position+=t.length},pushUint8(t){this.assertPosition(this.position),this.bytes[this.position]=t,this.position++},pushUint16(t){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,t),this.position+=2},pushUint24(t){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,t>>8),this.dataView.setUint8(this.position+2,t&255),this.position+=3},pushUint32(t){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,t),this.position+=4},readByte(){this.assertReadLimit(),this._touch();const t=this.inspectByte();return this.position++,t},readBytes(t,e){this.assertReadLimit(),this._touch();const n=this.inspectBytes(t);return this.position+=e??t,n},readUint8(){this.assertReadLimit(),this._touch();const t=this.inspectUint8();return this.position+=1,t},readUint16(){this.assertReadLimit(),this._touch();const t=this.inspectUint16();return this.position+=2,t},readUint24(){this.assertReadLimit(),this._touch();const t=this.inspectUint24();return this.position+=3,t},readUint32(){this.assertReadLimit(),this._touch();const t=this.inspectUint32();return this.position+=4,t},get remaining(){return this.bytes.length-this.position},setPosition(t){const e=this.position;return this.assertPosition(t),this.position=t,()=>this.position=e},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;const t=this.getReadCount();this.positionReadCount.set(this.position,t+1),t>0&&this.recursiveReadCount++}};function Pe(t,{recursiveReadLimit:e=8192}={}){const n=Object.create(bt);return n.bytes=t,n.dataView=new DataView(t.buffer??t,t.byteOffset,t.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=e,n}function $(t,e="hex"){const n=ze(t),s=Pe(new Uint8Array(n.length));return n.encode(s),e==="hex"?T(s.bytes):s.bytes}function Ai(t,e="bytes"){return $(t,e)}function Li(t,e="hex"){return $(t,e)}function ze(t){return Array.isArray(t)?pt(t.map(e=>ze(e))):mt(t)}function pt(t){const e=t.reduce((i,r)=>i+r.length,0),n=Be(e);return{length:e<=55?1+e:1+n+e,encode(i){e<=55?i.pushByte(192+e):(i.pushByte(247+n),n===1?i.pushUint8(e):n===2?i.pushUint16(e):n===3?i.pushUint24(e):i.pushUint32(e));for(const{encode:r}of t)r(i)}}}function mt(t){const e=typeof t=="string"?g(t):t,n=Be(e.length);return{length:e.length===1&&e[0]<128?1:e.length<=55?1+e.length:1+n+e.length,encode(i){e.length===1&&e[0]<128?i.pushBytes(e):e.length<=55?(i.pushByte(128+e.length),i.pushBytes(e)):(i.pushByte(183+n),n===1?i.pushUint8(e.length):n===2?i.pushUint16(e.length):n===3?i.pushUint24(e.length):i.pushUint32(e.length),i.pushBytes(e))}}}function Be(t){if(t<2**8)return 1;if(t<2**16)return 2;if(t<2**24)return 3;if(t<2**32)return 4;throw new u("Length is too large.")}const v={wei:0,gwei:9,szabo:12,finney:15,ether:18};function Ue(t,e=0){if(!Number.isInteger(e)||e<0)throw new Le({decimals:e});let n=t.toString();const s=n.startsWith("-");s&&(n=n.slice(1)),n=n.padStart(e,"0");let[i,r]=[n.slice(0,n.length-e),n.slice(n.length-e)];return r=r.replace(/(0+)$/,""),`${s?"-":""}${i||"0"}${r?`.${r}`:""}`}function xt(t,e="wei"){return Ue(t,v.ether-v[e])}function gt(t,e="wei"){return Ue(t,v.gwei-v[e])}function Ae(t,e=0){if(!Number.isInteger(e)||e<0)throw new Le({decimals:e});if(!/^-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)$/.test(t))throw new wt({value:t});let[n="",s="0"]=t.split(".");const i=n.startsWith("-");if(i&&(n=n.slice(1)),n===""&&(n="0"),s=s.replace(/(0+)$/,""),e===0)s.length>0&&Number.parseInt(s[0],10)>=5&&(n=`${BigInt(n)+1n}`),s="";else if(s.length>e){const r=s.slice(0,e);if(Number.parseInt(s.slice(e,e+1),10)>=5){const a=yt(r);a.length>e?(s=a.slice(1),n=`${BigInt(n)+1n}`):s=a}else s=r}else s=s.padEnd(e,"0");return BigInt(`${i?"-":""}${n}${s}`)}function yt(t){const e=t.split("");let n=e.length-1;for(;n>=0;){const s=Number.parseInt(e[n],10)+1;if(s<10)return e[n]=String(s),e.join("");e[n]="0",n--}return`1${e.join("")}`}function Ci(t,e="wei"){return Ae(t,v.ether-v[e])}function Si(t,e="wei"){return Ae(t,v.gwei-v[e])}class wt extends Error{constructor({value:e}){super(`Value \`${e}\` is not a valid decimal number.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Value.InvalidDecimalNumberError"})}}class Le extends Error{constructor({decimals:e}){super(`\`decimals\` must be a non-negative integer. Got \`${e}\`.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Value.InvalidDecimalsError"})}}function It(t,e="wei"){return xt(t,e)}function B(t,e="wei"){return gt(t,e)}function Ce(t){const e=Object.entries(t).map(([s,i])=>i===void 0||i===!1?null:[s,i]).filter(Boolean),n=e.reduce((s,[i])=>Math.max(s,i.length),0);return e.map(([s,i])=>` ${`${s}:`.padEnd(n+1)} ${i}`).join(`
|
|
3
|
+
`)}class Fi extends u{constructor(){super(["Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.","Use `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others."].join(`
|
|
4
|
+
`),{name:"FeeConflictError"})}}class Oi extends u{constructor({filledNonce:e,requestedNonce:n}){super("The filled transaction nonce does not match the requested nonce.",{metaMessages:[`Requested Nonce: ${n}`,`Filled Nonce: ${e}`],name:"FeePayerNonceMismatchError"})}}class Et extends u{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class Ri extends u{constructor({yParity:e}){super(`Invalid \`yParity\` value "${e}". Expected 0 or 1.`,{name:"InvalidYParityError"})}}class $t extends u{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",Ce(e),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}class Ni extends u{constructor({serializedType:e}){super(`Serialized transaction type "${e}" is invalid.`,{name:"InvalidSerializedTransactionType"}),Object.defineProperty(this,"serializedType",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedType=e}}class Mi extends u{constructor({attributes:e,serializedTransaction:n,type:s}){const i=Object.entries(e).map(([r,o])=>typeof o>"u"?r:void 0).filter(Boolean);super(`Invalid serialized transaction of type "${s}" was provided.`,{metaMessages:[`Serialized Transaction: "${n}"`,i.length>0?`Missing Attributes: ${i.join(", ")}`:""].filter(Boolean),name:"InvalidSerializedTransactionError"}),Object.defineProperty(this,"serializedTransaction",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.serializedTransaction=n,this.type=s}}class vt extends u{constructor({storageKey:e}){super(`Size for storage key "${e}" is invalid. Expected 32 bytes. Got ${Math.floor((e.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}class Hi extends u{constructor(e,{account:n,docsPath:s,chain:i,data:r,gas:o,gasPrice:a,maxFeePerGas:c,maxPriorityFeePerGas:f,nonce:d,to:h,value:p}){const b=Ce({chain:i&&`${i?.name} (id: ${i?.id})`,from:n?.address,to:h,value:typeof p<"u"&&`${It(p)} ${i?.nativeCurrency?.symbol||"ETH"}`,data:r,gas:o,gasPrice:typeof a<"u"&&`${B(a)} gwei`,maxFeePerGas:typeof c<"u"&&`${B(c)} gwei`,maxPriorityFeePerGas:typeof f<"u"&&`${B(f)} gwei`,nonce:d});super(e.shortMessage,{cause:e,docsPath:s,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",b].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class ki extends u{constructor({blockHash:e,blockNumber:n,blockTag:s,hash:i,index:r}){let o="Transaction";s&&r!==void 0&&(o=`Transaction at block time "${s}" at index "${r}"`),e&&r!==void 0&&(o=`Transaction at block hash "${e}" at index "${r}"`),n&&r!==void 0&&(o=`Transaction at block number "${n}" at index "${r}"`),i&&(o=`Transaction with hash "${i}"`),super(`${o} could not be found.`,{name:"TransactionNotFoundError"})}}class Vi extends u{constructor({hash:e}){super(`Transaction receipt with hash "${e}" could not be found. The Transaction may not be processed on a block yet.`,{name:"TransactionReceiptNotFoundError"})}}class ji extends u{constructor({receipt:e}){super(`Transaction with hash "${e.transactionHash}" reverted.`,{metaMessages:['The receipt marked the transaction as "reverted". This could mean that the function on the contract you are trying to call threw an error.'," ","You can attempt to extract the revert reason by:","- calling the `simulateContract` or `simulateCalls` Action with the `abi` and `functionName` of the contract","- using the `call` Action with raw `data`"],name:"TransactionReceiptRevertedError"}),Object.defineProperty(this,"receipt",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.receipt=e}}class Gi extends u{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}function Tt(t){if(!t||t.length===0)return[];const e=[];for(const n of t){const{chainId:s,nonce:i,...r}=n,o=n.address;e.push([s?K(s):"0x",o,i?K(i):"0x",...j({},r)])}return e}function Se(t){const{kzg:e}=t,n=t.to??(typeof t.blobs[0]=="string"?"hex":"bytes"),s=typeof t.blobs[0]=="string"?t.blobs.map(r=>g(r)):t.blobs,i=[];for(const r of s)i.push(Uint8Array.from(e.blobToKzgCommitment(r)));return n==="bytes"?i:i.map(r=>T(r))}function Fe(t){const{kzg:e}=t,n=t.to??(typeof t.blobs[0]=="string"?"hex":"bytes"),s=typeof t.blobs[0]=="string"?t.blobs.map(o=>g(o)):t.blobs,i=typeof t.commitments[0]=="string"?t.commitments.map(o=>g(o)):t.commitments,r=[];for(let o=0;o<s.length;o++){const a=s[o],c=i[o];r.push(Uint8Array.from(e.computeBlobKzgProof(a,c)))}return n==="bytes"?r:r.map(o=>T(o))}const A=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function Pt(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function W(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function L(t,...e){if(!Pt(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function _i(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");W(t.outputLen),W(t.blockLen)}function X(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Oe(t,e){L(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function zt(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function H(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function Q(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function m(t,e){return t<<32-e|t>>>e}function Di(t,e){return t<<e|t>>>32-e>>>0}const Bt=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function Ut(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}function At(t){for(let e=0;e<t.length;e++)t[e]=Ut(t[e]);return t}const he=Bt?t=>t:At;function Lt(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function ne(t){return typeof t=="string"&&(t=Lt(t)),L(t),t}function Ki(...t){let e=0;for(let s=0;s<t.length;s++){const i=t[s];L(i),e+=i.length}const n=new Uint8Array(e);for(let s=0,i=0;s<t.length;s++){const r=t[s];n.set(r,i),i+=r.length}return n}class Re{}function Ne(t){const e=s=>t().update(ne(s)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function Wi(t=32){if(A&&typeof A.getRandomValues=="function")return A.getRandomValues(new Uint8Array(t));if(A&&typeof A.randomBytes=="function")return Uint8Array.from(A.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}function Ct(t,e,n,s){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,s);const i=BigInt(32),r=BigInt(4294967295),o=Number(n>>i&r),a=Number(n&r),c=s?4:0,f=s?0:4;t.setUint32(e+c,o,s),t.setUint32(e+f,a,s)}function St(t,e,n){return t&e^~t&n}function Ft(t,e,n){return t&e^t&n^e&n}class Ot extends Re{constructor(e,n,s,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=s,this.isLE=i,this.buffer=new Uint8Array(e),this.view=Q(this.buffer)}update(e){X(this),e=ne(e),L(e);const{view:n,buffer:s,blockLen:i}=this,r=e.length;for(let o=0;o<r;){const a=Math.min(i-this.pos,r-o);if(a===i){const c=Q(e);for(;i<=r-o;o+=i)this.process(c,o);continue}s.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){X(this),Oe(e,this),this.finished=!0;const{buffer:n,view:s,blockLen:i,isLE:r}=this;let{pos:o}=this;n[o++]=128,H(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(s,0),o=0);for(let h=o;h<i;h++)n[h]=0;Ct(s,i-8,BigInt(this.length*8),r),this.process(s,0);const a=Q(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const f=c/4,d=this.get();if(f>d.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<f;h++)a.setUint32(4*h,d[h],r)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const s=e.slice(0,n);return this.destroy(),s}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:s,length:i,finished:r,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=r,e.length=i,e.pos=a,i%n&&e.buffer.set(s),e}clone(){return this._cloneInto()}}const y=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),_=BigInt(2**32-1),le=BigInt(32);function Rt(t,e=!1){return e?{h:Number(t&_),l:Number(t>>le&_)}:{h:Number(t>>le&_)|0,l:Number(t&_)|0}}function Nt(t,e=!1){const n=t.length;let s=new Uint32Array(n),i=new Uint32Array(n);for(let r=0;r<n;r++){const{h:o,l:a}=Rt(t[r],e);[s[r],i[r]]=[o,a]}return[s,i]}const Mt=(t,e,n)=>t<<n|e>>>32-n,Ht=(t,e,n)=>e<<n|t>>>32-n,kt=(t,e,n)=>e<<n-32|t>>>64-n,Vt=(t,e,n)=>t<<n-32|e>>>64-n,jt=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),w=new Uint32Array(64);class Gt extends Ot{constructor(e=32){super(64,e,8,!1),this.A=y[0]|0,this.B=y[1]|0,this.C=y[2]|0,this.D=y[3]|0,this.E=y[4]|0,this.F=y[5]|0,this.G=y[6]|0,this.H=y[7]|0}get(){const{A:e,B:n,C:s,D:i,E:r,F:o,G:a,H:c}=this;return[e,n,s,i,r,o,a,c]}set(e,n,s,i,r,o,a,c){this.A=e|0,this.B=n|0,this.C=s|0,this.D=i|0,this.E=r|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let h=0;h<16;h++,n+=4)w[h]=e.getUint32(n,!1);for(let h=16;h<64;h++){const p=w[h-15],b=w[h-2],O=m(p,7)^m(p,18)^p>>>3,U=m(b,17)^m(b,19)^b>>>10;w[h]=U+w[h-7]+O+w[h-16]|0}let{A:s,B:i,C:r,D:o,E:a,F:c,G:f,H:d}=this;for(let h=0;h<64;h++){const p=m(a,6)^m(a,11)^m(a,25),b=d+p+St(a,c,f)+jt[h]+w[h]|0,U=(m(s,2)^m(s,13)^m(s,22))+Ft(s,i,r)|0;d=f,f=c,c=a,a=o+b|0,o=r,r=i,i=s,s=b+U|0}s=s+this.A|0,i=i+this.B|0,r=r+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,f=f+this.G|0,d=d+this.H|0,this.set(s,i,r,o,a,c,f,d)}roundClean(){H(w)}destroy(){this.set(0,0,0,0,0,0,0,0),H(this.buffer)}}const _t=Ne(()=>new Gt),Dt=_t;function Kt(t,e){const n=e||"hex",s=Dt(k(t,{strict:!1})?Ee(t):t);return n==="bytes"?s:K(s)}function Wt(t){const{commitment:e,version:n=1}=t,s=t.to??(typeof e=="string"?"hex":"bytes"),i=Kt(e,"bytes");return i.set([n],0),s==="bytes"?i:T(i)}function Xt(t){const{commitments:e,version:n}=t,s=t.to??(typeof e[0]=="string"?"hex":"bytes"),i=[];for(const r of e)i.push(Wt({commitment:r,to:s,version:n}));return i}const de=6,Me=32,se=4096,He=Me*se,be=He*de-1-1*se*de,ke=1;class qt extends u{constructor({maxSize:e,size:n}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${n} bytes`],name:"BlobSizeTooLargeError"})}}class Ve extends u{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class Yt extends u{constructor({hash:e,size:n}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${n}`],name:"InvalidVersionedHashSizeError"})}}class Jt extends u{constructor({hash:e,version:n}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:[`Expected: ${ke}`,`Received: ${n}`],name:"InvalidVersionedHashVersionError"})}}function Qt(t){const e=t.to??(typeof t.data=="string"?"hex":"bytes"),n=typeof t.data=="string"?g(t.data):t.data,s=E(n);if(!s)throw new Ve;if(s>be)throw new qt({maxSize:be,size:s});const i=[];let r=!0,o=0;for(;r;){const a=Pe(new Uint8Array(He));let c=0;for(;c<se;){const f=n.slice(o,o+(Me-1));if(a.pushByte(0),a.pushBytes(f),f.length<31){a.pushByte(128),r=!1;break}c++,o+=31}i.push(a)}return e==="bytes"?i.map(a=>a.bytes):i.map(a=>T(a.bytes))}function Zt(t){const{data:e,kzg:n,to:s}=t,i=t.blobs??Qt({data:e,to:s}),r=t.commitments??Se({blobs:i,kzg:n,to:s}),o=t.proofs??Fe({blobs:i,commitments:r,kzg:n,to:s}),a=[];for(let c=0;c<i.length;c++)a.push({blob:i[c],commitment:r[c],proof:o[c]});return a}class S extends u{constructor({address:e}){super(`Address "${e}" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}class Xi extends u{constructor({blockNumber:e,chain:n,contract:s}){super(`Chain "${n.name}" does not support contract "${s.name}".`,{metaMessages:["This could be due to any of the following:",...e&&s.blockCreated&&s.blockCreated>e?[`- The contract "${s.name}" was not deployed until block ${s.blockCreated} (current block ${e}).`]:[`- The chain does not have the contract "${s.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class qi extends u{constructor({chain:e,currentChainId:n}){super(`The current chain of the wallet (id: ${n}) does not match the target chain for the transaction (id: ${e.id} – ${e.name}).`,{metaMessages:[`Current Chain ID: ${n}`,`Expected Chain ID: ${e.id} – ${e.name}`],name:"ChainMismatchError"})}}class Yi extends u{constructor(){super(["No chain was provided to the request.","Please provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient."].join(`
|
|
5
|
+
`),{name:"ChainNotFoundError"})}}class Ji extends u{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class q extends u{constructor({chainId:e}){super(typeof e=="number"?`Chain ID "${e}" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}class je extends u{constructor({cause:e,message:n}={}){const s=n?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${s?`with reason: ${s}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"})}}Object.defineProperty(je,"code",{enumerable:!0,configurable:!0,writable:!0,value:3});Object.defineProperty(je,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});class Y extends u{constructor({cause:e,maxFeePerGas:n}={}){super(`The fee cap (\`maxFeePerGas\`${n?` = ${B(n)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:e,name:"FeeCapTooHighError"})}}Object.defineProperty(Y,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/});class en extends u{constructor({cause:e,maxFeePerGas:n}={}){super(`The fee cap (\`maxFeePerGas\`${n?` = ${B(n)}`:""} gwei) cannot be lower than the block base fee.`,{cause:e,name:"FeeCapTooLowError"})}}Object.defineProperty(en,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});class tn extends u{constructor({cause:e,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}is higher than the next one expected.`,{cause:e,name:"NonceTooHighError"})}}Object.defineProperty(tn,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class nn extends u{constructor({cause:e,nonce:n}={}){super([`Nonce provided for the transaction ${n?`(${n}) `:""}is lower than the current nonce of the account.`,"Try increasing the nonce or find the latest nonce with `getTransactionCount`."].join(`
|
|
6
|
+
`),{cause:e,name:"NonceTooLowError"})}}Object.defineProperty(nn,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class sn extends u{constructor({cause:e,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}exceeds the maximum allowed nonce.`,{cause:e,name:"NonceMaxValueError"})}}Object.defineProperty(sn,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class rn extends u{constructor({cause:e}={}){super(["The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account."].join(`
|
|
7
|
+
`),{cause:e,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(rn,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class on extends u{constructor({cause:e,gas:n}={}){super(`The amount of gas ${n?`(${n}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:e,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(on,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class an extends u{constructor({cause:e,gas:n}={}){super(`The amount of gas ${n?`(${n}) `:""}provided for the transaction is too low.`,{cause:e,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(an,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class cn extends u{constructor({cause:e}){super("The transaction type is not supported for this chain.",{cause:e,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(cn,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class Ge extends u{constructor({cause:e,maxPriorityFeePerGas:n,maxFeePerGas:s}={}){super([`The provided tip (\`maxPriorityFeePerGas\`${n?` = ${B(n)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${s?` = ${B(s)} gwei`:""}).`].join(`
|
|
8
|
+
`),{cause:e,name:"TipAboveFeeCapError"})}}Object.defineProperty(Ge,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class Qi extends u{constructor({cause:e}){super(`An error occurred while executing: ${e?.shortMessage}`,{cause:e,name:"UnknownNodeError"})}}class _e extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){const n=super.get(e);return super.has(e)&&(super.delete(e),super.set(e,n)),n}set(e,n){if(super.has(e)&&super.delete(e),super.set(e,n),this.maxSize&&this.size>this.maxSize){const s=super.keys().next().value;s!==void 0&&super.delete(s)}return this}}const un=BigInt(0),M=BigInt(1),fn=BigInt(2),hn=BigInt(7),ln=BigInt(256),dn=BigInt(113),De=[],Ke=[],We=[];for(let t=0,e=M,n=1,s=0;t<24;t++){[n,s]=[s,(2*n+3*s)%5],De.push(2*(5*s+n)),Ke.push((t+1)*(t+2)/2%64);let i=un;for(let r=0;r<7;r++)e=(e<<M^(e>>hn)*dn)%ln,e&fn&&(i^=M<<(M<<BigInt(r))-M);We.push(i)}const Xe=Nt(We,!0),bn=Xe[0],pn=Xe[1],pe=(t,e,n)=>n>32?kt(t,e,n):Mt(t,e,n),me=(t,e,n)=>n>32?Vt(t,e,n):Ht(t,e,n);function mn(t,e=24){const n=new Uint32Array(10);for(let s=24-e;s<24;s++){for(let o=0;o<10;o++)n[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,f=n[c],d=n[c+1],h=pe(f,d,1)^n[a],p=me(f,d,1)^n[a+1];for(let b=0;b<50;b+=10)t[o+b]^=h,t[o+b+1]^=p}let i=t[2],r=t[3];for(let o=0;o<24;o++){const a=Ke[o],c=pe(i,r,a),f=me(i,r,a),d=De[o];i=t[d],r=t[d+1],t[d]=c,t[d+1]=f}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=t[o+a];for(let a=0;a<10;a++)t[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}t[0]^=bn[s],t[1]^=pn[s]}H(n)}class ie extends Re{constructor(e,n,s,i=!1,r=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=n,this.outputLen=s,this.enableXOF=i,this.rounds=r,W(s),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=zt(this.state)}clone(){return this._cloneInto()}keccak(){he(this.state32),mn(this.state32,this.rounds),he(this.state32),this.posOut=0,this.pos=0}update(e){X(this),e=ne(e),L(e);const{blockLen:n,state:s}=this,i=e.length;for(let r=0;r<i;){const o=Math.min(n-this.pos,i-r);for(let a=0;a<o;a++)s[this.pos++]^=e[r++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:n,pos:s,blockLen:i}=this;e[s]^=n,(n&128)!==0&&s===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){X(this,!1),L(e),this.finish();const n=this.state,{blockLen:s}=this;for(let i=0,r=e.length;i<r;){this.posOut>=s&&this.keccak();const o=Math.min(s-this.posOut,r-i);e.set(n.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return W(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(Oe(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,H(this.state)}_cloneInto(e){const{blockLen:n,suffix:s,outputLen:i,rounds:r,enableXOF:o}=this;return e||(e=new ie(n,s,i,o,r)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=r,e.suffix=s,e.outputLen=i,e.enableXOF=o,e.destroyed=this.destroyed,e}}const xn=(t,e,n)=>Ne(()=>new ie(e,t,n)),gn=xn(1,136,256/8);function yn(t,e){const n=e||"hex",s=gn(k(t,{strict:!1})?Ee(t):t);return n==="bytes"?s:K(s)}const Z=new _e(8192);function qe(t,e){if(Z.has(`${t}.${e}`))return Z.get(`${t}.${e}`);const n=e?`${e}${t.toLowerCase()}`:t.substring(2).toLowerCase(),s=yn($e(n),"bytes"),i=(e?n.substring(`${e}0x`.length):n).split("");for(let o=0;o<40;o+=2)s[o>>1]>>4>=8&&i[o]&&(i[o]=i[o].toUpperCase()),(s[o>>1]&15)>=8&&i[o+1]&&(i[o+1]=i[o+1].toUpperCase());const r=`0x${i.join("")}`;return Z.set(`${t}.${e}`,r),r}function Zi(t,e){if(!F(t,{strict:!1}))throw new S({address:t});return qe(t,e)}const wn=/^0x[a-fA-F0-9]{40}$/,ee=new _e(8192);function F(t,e){const{strict:n=!0}=e??{},s=`${t}.${n}`;if(ee.has(s))return ee.get(s);const i=wn.test(t)?t.toLowerCase()===t?!0:n?qe(t)===t:!0:!1;return ee.set(s,i),i}function In(t,e,n,{strict:s}={}){return k(t,{strict:!1})?$n(t,e,n,{strict:s}):En(t,e,n,{strict:s})}function Ye(t,e){if(typeof e=="number"&&e>0&&e>E(t)-1)throw new we({offset:e,position:"start",size:E(t)})}function Je(t,e,n){if(typeof e=="number"&&typeof n=="number"&&E(t)!==n-e)throw new we({offset:n,position:"end",size:E(t)})}function En(t,e,n,{strict:s}={}){Ye(t,e);const i=t.slice(e,n);return s&&Je(i,e,n),i}function $n(t,e,n,{strict:s}={}){Ye(t,e);const i=`0x${t.replace("0x","").slice((e??0)*2,(n??t.length)*2)}`;return s&&Je(i,e,n),i}function vn(t){const{authorizationList:e}=t;if(e)for(const n of e){const{chainId:s}=n,i=n.address;if(!F(i))throw new S({address:i});if(s<0)throw new q({chainId:s})}re(t)}function Tn(t){const{blobVersionedHashes:e}=t;if(e){if(e.length===0)throw new Ve;for(const n of e){const s=E(n),i=Te(In(n,0,1));if(s!==32)throw new Yt({hash:n,size:s});if(i!==ke)throw new Jt({hash:n,version:i})}}re(t)}function re(t){const{chainId:e,maxPriorityFeePerGas:n,maxFeePerGas:s,to:i}=t;if(e<=0)throw new q({chainId:e});if(i&&!F(i))throw new S({address:i});if(s&&s>te)throw new Y({maxFeePerGas:s});if(n&&s&&n>s)throw new Ge({maxFeePerGas:s,maxPriorityFeePerGas:n})}function Pn(t){const{chainId:e,maxPriorityFeePerGas:n,gasPrice:s,maxFeePerGas:i,to:r}=t;if(e<=0)throw new q({chainId:e});if(r&&!F(r))throw new S({address:r});if(n||i)throw new u("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(s&&s>te)throw new Y({maxFeePerGas:s})}function zn(t){const{chainId:e,maxPriorityFeePerGas:n,gasPrice:s,maxFeePerGas:i,to:r}=t;if(r&&!F(r))throw new S({address:r});if(typeof e<"u"&&e<=0)throw new q({chainId:e});if(n||i)throw new u("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(s&&s>te)throw new Y({maxFeePerGas:s})}function Bn(t){if(t.type)return t.type;if(typeof t.authorizationList<"u")return"eip7702";if(typeof t.blobs<"u"||typeof t.blobVersionedHashes<"u"||typeof t.maxFeePerBlobGas<"u"||typeof t.sidecars<"u")return"eip4844";if(typeof t.maxFeePerGas<"u"||typeof t.maxPriorityFeePerGas<"u")return"eip1559";if(typeof t.gasPrice<"u")return typeof t.accessList<"u"?"eip2930":"legacy";throw new $t({transaction:t})}function J(t){if(!t||t.length===0)return[];const e=[];for(let n=0;n<t.length;n++){const{address:s,storageKeys:i}=t[n];for(let r=0;r<i.length;r++)if(i[r].length-2!==64)throw new vt({storageKey:i[r]});if(!F(s,{strict:!1}))throw new S({address:s});e.push([s,i])}return e}function er(t,e){const n=Bn(t);return n==="eip1559"?Ln(t,e):n==="eip2930"?Cn(t,e):n==="eip4844"?An(t,e):n==="eip7702"?Un(t,e):Sn(t,e)}function Un(t,e){const{authorizationList:n,chainId:s,gas:i,nonce:r,to:o,value:a,maxFeePerGas:c,maxPriorityFeePerGas:f,accessList:d,data:h}=t;vn(t);const p=J(d),b=Tt(n);return V(["0x04",$([l(s),r?l(r):"0x",f?l(f):"0x",c?l(c):"0x",i?l(i):"0x",o??"0x",a?l(a):"0x",h??"0x",p,b,...j(t,e)])])}function An(t,e){const{chainId:n,gas:s,nonce:i,to:r,value:o,maxFeePerBlobGas:a,maxFeePerGas:c,maxPriorityFeePerGas:f,accessList:d,data:h}=t;Tn(t);let p=t.blobVersionedHashes,b=t.sidecars;if(t.blobs&&(typeof p>"u"||typeof b>"u")){const z=typeof t.blobs[0]=="string"?t.blobs:t.blobs.map(N=>T(N)),G=t.kzg,R=Se({blobs:z,kzg:G});if(typeof p>"u"&&(p=Xt({commitments:R})),typeof b>"u"){const N=Fe({blobs:z,commitments:R,kzg:G});b=Zt({blobs:z,commitments:R,proofs:N})}}const O=J(d),U=[l(n),i?l(i):"0x",f?l(f):"0x",c?l(c):"0x",s?l(s):"0x",r??"0x",o?l(o):"0x",h??"0x",O,a?l(a):"0x",p??[],...j(t,e)],oe=[],ae=[],ce=[];if(b)for(let z=0;z<b.length;z++){const{blob:G,commitment:R,proof:N}=b[z];oe.push(G),ae.push(R),ce.push(N)}return V(["0x03",$(b?[U,oe,ae,ce]:U)])}function Ln(t,e){const{chainId:n,gas:s,nonce:i,to:r,value:o,maxFeePerGas:a,maxPriorityFeePerGas:c,accessList:f,data:d}=t;re(t);const h=J(f),p=[l(n),i?l(i):"0x",c?l(c):"0x",a?l(a):"0x",s?l(s):"0x",r??"0x",o?l(o):"0x",d??"0x",h,...j(t,e)];return V(["0x02",$(p)])}function Cn(t,e){const{chainId:n,gas:s,data:i,nonce:r,to:o,value:a,accessList:c,gasPrice:f}=t;Pn(t);const d=J(c),h=[l(n),r?l(r):"0x",f?l(f):"0x",s?l(s):"0x",o??"0x",a?l(a):"0x",i??"0x",d,...j(t,e)];return V(["0x01",$(h)])}function Sn(t,e){const{chainId:n=0,gas:s,data:i,nonce:r,to:o,value:a,gasPrice:c}=t;zn(t);let f=[r?l(r):"0x",c?l(c):"0x",s?l(s):"0x",o??"0x",a?l(a):"0x",i??"0x"];if(e){const d=(()=>{if(e.v>=35n)return(e.v-35n)/2n>0?e.v:27n+(e.v===35n?0n:1n);if(n>0)return BigInt(n*2)+BigInt(35n+e.v-27n);const b=27n+(e.v===27n?0n:1n);if(e.v!==b)throw new Et({v:e.v});return b})(),h=I(e.r),p=I(e.s);f=[...f,l(d),h==="0x00"?"0x":h,p==="0x00"?"0x":p]}else n>0&&(f=[...f,l(n),"0x","0x"]);return $(f)}function j(t,e){const n=e??t,{v:s,yParity:i}=n;if(typeof n.r>"u")return[];if(typeof n.s>"u")return[];if(typeof s>"u"&&typeof i>"u")return[];const r=I(n.r),o=I(n.s);return[typeof i=="number"?i?l(1):"0x":s===0n?"0x":s===1n?l(1):s===27n?"0x":l(1),r==="0x00"?"0x":r,o==="0x00"?"0x":o]}export{sn as $,Wt as A,u as B,Xi as C,qi as D,Yi as E,Ji as F,je as G,Ot as H,S as I,Y as J,en as K,Fi as L,Oi as M,rn as N,ye as O,on as P,an as Q,On as R,q as S,Qe as T,Rn as U,Et as V,$t as W,Mi as X,Ni as Y,vt as Z,Ri as _,Te as a,fi as a$,tn as a0,nn as a1,Nn as a2,Mn as a3,Hn as a4,Ie as a5,Ze as a6,we as a7,Ge as a8,Hi as a9,rs as aA,os as aB,Gn as aC,as as aD,cs as aE,us as aF,fs as aG,hs as aH,ls as aI,ds as aJ,bs as aK,ps as aL,ms as aM,_n as aN,xs as aO,gs as aP,ys as aQ,Dn as aR,Kn as aS,Wn as aT,Xn as aU,qn as aV,Yn as aW,jn as aX,Jn as aY,Qn as aZ,Zn as a_,ki as aa,Vi as ab,cn as ac,Qi as ad,Gi as ae,re as af,Pn as ag,zn as ah,Se as ai,Fe as aj,at as ak,st as al,Ai as am,qe as an,Xt as ao,ht as ap,B as aq,Vn as ar,ut as as,Li as at,ft as au,es as av,ts as aw,ns as ax,ss as ay,is as az,$ as b,tt as b$,hi as b0,li as b1,di as b2,bi as b3,pi as b4,mi as b5,Zs as b6,xi as b7,gi as b8,yi as b9,Ms as bA,Is as bB,Hs as bC,ks as bD,Vs as bE,js as bF,Gs as bG,_s as bH,Ds as bI,Ks as bJ,Ws as bK,Xs as bL,Es as bM,qs as bN,Ys as bO,Js as bP,$s as bQ,vs as bR,Ts as bS,Ps as bT,zs as bU,Bs as bV,ws as bW,Us as bX,As as bY,Ls as bZ,ct as b_,wi as ba,Ii as bb,Ei as bc,$i as bd,vi as be,Ti as bf,Pi as bg,ei as bh,zi as bi,Bi as bj,ti as bk,ni as bl,si as bm,ii as bn,ri as bo,oi as bp,Qs as bq,ai as br,ci as bs,ui as bt,Cs as bu,Ss as bv,Fs as bw,Os as bx,Rs as by,Ns as bz,V as c,et as c0,J as c1,Fn as c2,Kt as c3,E as c4,En as c5,$e as c6,rt as c7,Zt as c8,Qt as c9,I as ca,P as cb,Ce as cc,kn as cd,lt as ce,_e as cf,ji as cg,Tn as ch,vn as ci,Ue as cj,Ae as ck,Re as cl,_i as cm,ne as cn,X as co,L as cp,W as cq,Wi as cr,Ki as cs,_t as ct,Ci as cu,k as d,Zi as e,It as f,Bn as g,ve as h,F as i,Ee as j,yn as k,In as l,te as m,Ui as n,Ne as o,C as p,H as q,Di as r,er as s,K as t,$n as u,l as v,g as w,Si as x,Pe as y,T as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{r as o}from"./index-BOd8jv8-.js";import{g as r,aR as a}from"./index-BMfMy017.js";import{b as d,v as p}from"./ModalFooter-BCuEK_nz-D2I8KWtk.js";function v({title:e,titleId:t,...i},n){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},i),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))}const g=o.forwardRef(v);function h({title:e,titleId:t,...i},n){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},i),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"}))}const f=o.forwardRef(h);function m({title:e,titleId:t,...i},n){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},i),e?o.createElement("title",{id:t},e):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const u=o.forwardRef(m);let x=a`
|
|
2
2
|
font-size: 14px;
|
|
3
3
|
font-style: normal;
|
|
4
4
|
font-weight: 400;
|
|
@@ -6,27 +6,27 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
6
6
|
letter-spacing: -0.008px;
|
|
7
7
|
text-align: left;
|
|
8
8
|
transition: color 0.1s ease-in;
|
|
9
|
-
|
|
10
|
-
${
|
|
9
|
+
`;const k=r.span`
|
|
10
|
+
${x}
|
|
11
11
|
transition: color 0.1s ease-in;
|
|
12
|
-
color: ${({error:e})=>e
|
|
13
|
-
text-transform: ${({error:e})=>e
|
|
12
|
+
color: ${({error:e})=>e?"var(--privy-color-error)":"var(--privy-color-foreground-3)"};
|
|
13
|
+
text-transform: ${({error:e})=>e?"":"capitalize"};
|
|
14
14
|
|
|
15
15
|
&[aria-hidden='true'] {
|
|
16
16
|
visibility: hidden;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
`,$=r.div`
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
21
21
|
justify-content: center;
|
|
22
22
|
flex-grow: 1;
|
|
23
|
-
`,
|
|
24
|
-
${({$hideAnimations:e})=>e&&
|
|
23
|
+
`,j=r(d)`
|
|
24
|
+
${({$hideAnimations:e})=>e&&a`
|
|
25
25
|
&& {
|
|
26
26
|
transition: none;
|
|
27
27
|
}
|
|
28
28
|
`}
|
|
29
|
-
|
|
29
|
+
`;let s=a`
|
|
30
30
|
&& {
|
|
31
31
|
width: 100%;
|
|
32
32
|
border-width: 1px;
|
|
@@ -41,8 +41,8 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
41
41
|
font-weight: 300;
|
|
42
42
|
line-height: 22px; /* 137.5% */
|
|
43
43
|
}
|
|
44
|
-
|
|
45
|
-
${
|
|
44
|
+
`;const E=r.input`
|
|
45
|
+
${s}
|
|
46
46
|
|
|
47
47
|
&::placeholder {
|
|
48
48
|
color: var(--privy-color-foreground-3);
|
|
@@ -53,15 +53,15 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
53
53
|
overflow: hidden;
|
|
54
54
|
text-overflow: ellipsis;
|
|
55
55
|
white-space: nowrap;
|
|
56
|
-
`,
|
|
57
|
-
${
|
|
58
|
-
`,
|
|
56
|
+
`,L=r.div`
|
|
57
|
+
${s}
|
|
58
|
+
`,z=r.div`
|
|
59
59
|
position: relative;
|
|
60
60
|
width: 100%;
|
|
61
61
|
display: flex;
|
|
62
62
|
align-items: center;
|
|
63
|
-
justify-content: ${({centered:e})=>e
|
|
64
|
-
`,
|
|
63
|
+
justify-content: ${({centered:e})=>e?"center":"space-between"};
|
|
64
|
+
`,M=r.div`
|
|
65
65
|
display: flex;
|
|
66
66
|
flex-direction: column;
|
|
67
67
|
align-items: center;
|
|
@@ -83,12 +83,12 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
83
83
|
font-weight: 400;
|
|
84
84
|
line-height: 20px;
|
|
85
85
|
}
|
|
86
|
-
`,
|
|
86
|
+
`,R=r.div`
|
|
87
87
|
display: flex;
|
|
88
88
|
flex-direction: column;
|
|
89
89
|
gap: 10px;
|
|
90
90
|
padding-bottom: 1rem;
|
|
91
|
-
`,C=
|
|
91
|
+
`,C=r.div`
|
|
92
92
|
display: flex;
|
|
93
93
|
text-align: left;
|
|
94
94
|
align-items: center;
|
|
@@ -108,13 +108,13 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
108
108
|
> :first-child {
|
|
109
109
|
min-width: 24px;
|
|
110
110
|
}
|
|
111
|
-
`;
|
|
111
|
+
`;r.div`
|
|
112
112
|
height: var(--privy-height-modal-full);
|
|
113
113
|
|
|
114
114
|
@media (max-width: 440px) {
|
|
115
115
|
height: var(--privy-height-modal-compact);
|
|
116
116
|
}
|
|
117
|
-
`;
|
|
117
|
+
`;const A=r(p)`
|
|
118
118
|
display: flex;
|
|
119
119
|
flex: 1;
|
|
120
120
|
gap: 4px;
|
|
@@ -126,7 +126,7 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
126
126
|
border-color: var(--privy-color-foreground-3);
|
|
127
127
|
border-width: 1px;
|
|
128
128
|
}
|
|
129
|
-
`,
|
|
129
|
+
`,F=r.div`
|
|
130
130
|
position: absolute;
|
|
131
131
|
right: 0.5rem;
|
|
132
132
|
|
|
@@ -134,7 +134,7 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
134
134
|
flex-direction: row;
|
|
135
135
|
justify-content: space-around;
|
|
136
136
|
align-items: center;
|
|
137
|
-
`,
|
|
137
|
+
`,W=r(g)`
|
|
138
138
|
height: 1.25rem;
|
|
139
139
|
width: 1.25rem;
|
|
140
140
|
stroke: var(--privy-color-accent);
|
|
@@ -143,7 +143,7 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
143
143
|
:active {
|
|
144
144
|
stroke: var(--privy-color-accent-light);
|
|
145
145
|
}
|
|
146
|
-
`,
|
|
146
|
+
`,B=r(f)`
|
|
147
147
|
height: 1.25rem;
|
|
148
148
|
width: 1.25rem;
|
|
149
149
|
stroke: var(--privy-color-accent);
|
|
@@ -152,7 +152,7 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
152
152
|
:active {
|
|
153
153
|
stroke: var(--privy-color-accent-light);
|
|
154
154
|
}
|
|
155
|
-
`,O=
|
|
155
|
+
`,O=r(u)`
|
|
156
156
|
height: 1.25rem;
|
|
157
157
|
width: 1.25rem;
|
|
158
158
|
stroke: var(--privy-color-accent);
|
|
@@ -161,14 +161,14 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
161
161
|
:active {
|
|
162
162
|
stroke: var(--privy-color-accent-light);
|
|
163
163
|
}
|
|
164
|
-
|
|
164
|
+
`;let l=a`
|
|
165
165
|
border-radius: 8px;
|
|
166
166
|
background: var(--privy-color-foreground-4);
|
|
167
|
-
`,
|
|
167
|
+
`,c=a`
|
|
168
168
|
border-radius: 8px;
|
|
169
169
|
transition: all 0.1s ease-out;
|
|
170
|
-
background: ${({$label:e})=>(e
|
|
171
|
-
|
|
170
|
+
background: ${({$label:e})=>(e==="Strong"?"var(--privy-color-icon-success)":e==="Medium"&&"var(--privy-color-icon-warning)")||"var(--privy-color-icon-error)"};
|
|
171
|
+
`;const S=r.progress`
|
|
172
172
|
height: 4px;
|
|
173
173
|
width: 100%;
|
|
174
174
|
margin: 8px 0;
|
|
@@ -177,17 +177,17 @@ import{s as e}from"./rolldown-runtime-BcKkbAw3.js";import{t}from"./react-DrJ0MmM
|
|
|
177
177
|
appearance: none;
|
|
178
178
|
|
|
179
179
|
/* Firefox's track, and a fallback under the WebKit bar. */
|
|
180
|
-
${
|
|
180
|
+
${l}
|
|
181
181
|
|
|
182
182
|
&::-webkit-progress-bar {
|
|
183
|
-
${
|
|
183
|
+
${l}
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
&::-webkit-progress-value {
|
|
187
|
-
${
|
|
187
|
+
${c}
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
&::-moz-progress-bar {
|
|
191
|
-
${
|
|
191
|
+
${c}
|
|
192
192
|
}
|
|
193
|
-
`;export{
|
|
193
|
+
`;export{W as b,$ as c,M as f,z as g,E as h,S as j,O as k,k as l,C as m,j as p,A as u,L as v,B as w,R as x,F as y};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as e,aR as o}from"./index-BMfMy017.js";const d=o`
|
|
2
2
|
&& {
|
|
3
3
|
border-width: 1px;
|
|
4
4
|
padding: 0.5rem 1rem;
|
|
@@ -12,10 +12,10 @@ import{c as e,s as t}from"./Loader-UAZqxsnw-Cy7hEE2f.js";var n=t`
|
|
|
12
12
|
justify-content: space-between;
|
|
13
13
|
align-items: center;
|
|
14
14
|
|
|
15
|
-
${
|
|
15
|
+
${r=>r.$state==="error"?`
|
|
16
16
|
border-color: var(--privy-color-error);
|
|
17
17
|
background: var(--privy-color-error-bg);
|
|
18
|
-
|
|
19
|
-
`,
|
|
20
|
-
${
|
|
21
|
-
`;export{
|
|
18
|
+
`:""}
|
|
19
|
+
`,i=e.div`
|
|
20
|
+
${d}
|
|
21
|
+
`;export{i as d,d as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aT as o,aU as n}from"./index-BMfMy017.js";const t=(a,e)=>o(a,e.ethereum.createOnLogin)||n(a,e.solana.createOnLogin);export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cL as o,cM as s}from"./index-BMfMy017.js";async function l({solanaClient:t,tx:n}){let r=o().decode(s(n)),{value:e}=await t.rpc.getFeeForMessage(r).send();return e??0n}async function c({solanaClient:t,tx:n,replaceRecentBlockhash:r}){let{value:e}=await t.rpc.simulateTransaction(o().decode(n),{commitment:"confirmed",encoding:"base64",sigVerify:!1,replaceRecentBlockhash:r}).send();if(e.err==="BlockhashNotFound"&&r)throw Error("Simulation failed: Blockhash not found");return e.err==="BlockhashNotFound"?await c({solanaClient:t,tx:n,replaceRecentBlockhash:!0}):{logs:e.logs??[],error:e.err,hasError:!!e.err,hasFunds:e.logs?.every((a=>!/insufficient funds/gi.test(a)&&!/insufficient lamports/gi.test(a)))??!0}}export{c as o,l as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as t}from"./createLucideIcon-D9OK_uxG.js";const e=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],r=t("smartphone",e);export{r as S};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function v(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(r){return typeof r}:v=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},v(e)}var O="endive",P=function(r){return r===3?"v3":r},g="https://js.stripe.com",T="".concat(g,"/").concat(O,"/stripe.js"),C=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,R=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;var U=function(r){return C.test(r)||R.test(r)},x=function(){for(var r=document.querySelectorAll('script[src^="'.concat(g,'"]')),n=0;n<r.length;n++){var t=r[n];if(U(t.src))return t}return null},E=function(r){var n="",t=document.createElement("script");t.src="".concat(T).concat(n);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(t),t},$=function(r,n){!r||!r._registerWrapper||r._registerWrapper({name:"stripe-js",version:"10.0.0",startTime:n})},y=null,p=null,s=null,z=function(r){return function(n){r(new Error("Failed to load Stripe.js",{cause:n}))}},W=function(r,n){return function(){window.Stripe?r(window.Stripe):n(new Error("Stripe.js not available"))}},_=function(r){if(y!==null)return y;var n=function(){return new Promise(function(a,u){if(typeof window>"u"||typeof document>"u"){a(null);return}if(window.Stripe){a(window.Stripe);return}try{var i=x();if(!(i&&r)){if(!i)i=E(r);else if(i&&s!==null&&p!==null){var l;i.removeEventListener("load",s),i.removeEventListener("error",p),(l=i.parentNode)===null||l===void 0||l.removeChild(i),i=E(r)}}s=W(a,u),p=z(u),i.addEventListener("load",s),i.addEventListener("error",p)}catch(d){u(d);return}})},t=function(){return n().catch(function(a){return y=null,Promise.reject(a)})};return t().catch(function(){return t()})},q=function(r,n,t){if(r===null)return null;var o=n[0];if(typeof o!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(v(o)," instead."));var a=o.match(/^pk_test/),u=P(r.version),i=O;a&&u!==i&&console.warn("Stripe.js@".concat(u," was loaded on the page, but @stripe/stripe-js@").concat("10.0.0"," expected Stripe.js@").concat(i,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var l=r.apply(void 0,n);return $(l,t),l},c,A=!1,L=function(){return c||(c=_(null).catch(function(r){return c=null,Promise.reject(r)}),c)};Promise.resolve().then(function(){return L()}).catch(function(e){A||console.warn(e)});var M=function(){for(var r=arguments.length,n=new Array(r),t=0;t<r;t++)n[t]=arguments[t];A=!0;var o=Date.now();return L().then(function(a){return q(a,n,o)})};function N(e,r){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var t,o,a,u,i=[],l=!0,d=!1;try{if(a=(n=n.call(e)).next,r!==0)for(;!(l=(t=a.call(n)).done)&&(i.push(t.value),i.length!==r);l=!0);}catch(I){d=!0,o=I}finally{try{if(!l&&n.return!=null&&(u=n.return(),Object(u)!==u))return}finally{if(d)throw o}}return i}}function V(e,r){return D(e)||N(e,r)||G(e,r)||B()}function D(e){if(Array.isArray(e))return e}function G(e,r){if(e){if(typeof e=="string")return b(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,r)}}function b(e,r){(r==null||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function B(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S="https://crypto-js.stripe.com/crypto-onramp-outer.js",F=function(){for(var r=document.querySelectorAll('script[src^="'.concat(S,'"]')),n=0;n<r.length;n++){var t=r[n];if(S===t.src)return t}return null},J=function(){var r=document.createElement("script");r.src=S;var n=document.head||document.body;if(!n)throw new Error("Expected document.body not to be null. Stripe Crypto requires a <body> element.");return n.appendChild(r),r},X=function(r,n){!r||!r._registerWrapper||r._registerWrapper({name:"crypto-js",version:"1.1.3",startTime:n})},f=null,H=function(){return f!==null||(f=new Promise(function(r,n){if(typeof window>"u"){r(null);return}if(window.StripeOnramp){r(window.StripeOnramp);return}try{var t=F();t||(t=J()),t.addEventListener("load",function(){window.StripeOnramp?r(window.StripeOnramp):n(new Error("StripeOnramp not available"))}),t.addEventListener("error",function(){n(new Error("Failed to load StripeOnramp"))})}catch(o){n(o);return}})),f},K=function(r,n,t){if(r===null)return null;var o=r.apply(void 0,n);return X(o,t),o},w="https://js.stripe.com/crypto-onramp/v1/crypto-onramp.js",Q=function(){for(var r=document.querySelectorAll('script[src^="'.concat(w,'"]')),n=0;n<r.length;n++){var t=r[n];if(w===t.src)return t}return null},Y=function(){var r=document.createElement("script");r.src=w,r.async=!0,r.type="module";var n=document.head||document.body;if(!n)throw new Error("Expected document.body not to be null. loadCryptoOnrampAndInitialize requires a <body> element.");return n.appendChild(r),r},m=null,Z=function(){return m!==null||(m=new Promise(function(r,n){if(typeof window>"u"){r(null);return}if(window.loadCryptoOnrampAndInitialize){r(window.loadCryptoOnrampAndInitialize);return}try{var t=Q();t||(t=Y()),t.addEventListener("load",function(){window.loadCryptoOnrampAndInitialize?r(window.loadCryptoOnrampAndInitialize):n(new Error("loadCryptoOnrampAndInitialize not available"))}),t.addEventListener("error",function(){n(new Error("Failed to load loadCryptoOnrampAndInitialize"))})}catch(o){n(o);return}})),m},k=function(r,n){return Z().then(function(t){return t===null?null:t(r,n)})},h=Promise.resolve().then(function(){return H()}),j=!1;h.catch(function(e){j||console.warn(e)});var rr=function(){for(var r=arguments.length,n=new Array(r),t=0;t<r;t++)n[t]=arguments[t];j=!0;var o=Date.now();return Promise.all([M.apply(void 0,n),h]).then(function(a){var u=V(a,2),i=u[1];return K(i,n,o)})},nr=function(r){return h.then(function(n){if(n===null)return null;var t=n.Standalone(r);return t.getUrl()}).catch(function(){return null})};export{nr as getStandaloneOnrampUrl,k as loadCryptoOnrampAndInitialize,rr as loadStripeOnramp};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{g as s,j as i}from"./index-BMfMy017.js";const e=l=>i.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 21 20",...l,children:[i.jsx("path",{fill:"url(#icloud-gradient)",d:"M12.34 7.315a4.26 4.26 0 0 0-3.707 2.18 2.336 2.336 0 0 0-1.02-.236 2.336 2.336 0 0 0-2.3 1.963 3.217 3.217 0 0 0 1.244 6.181c.135-.001.27-.01.404-.029h8.943c.047.004.094.006.141.007.045-.001.09-.004.135-.007h.214v-.016a2.99 2.99 0 0 0 1.887-.988c.487-.55.757-1.261.757-1.998v-.006a3.017 3.017 0 0 0-.69-1.915 2.992 2.992 0 0 0-1.748-1.034 4.26 4.26 0 0 0-4.26-4.102Z"}),i.jsx("defs",{children:i.jsxs("linearGradient",{id:"icloud-gradient",x1:19.086,x2:3.333,y1:14.38,y2:14.163,gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#3E82F4"}),i.jsx("stop",{offset:1,stopColor:"#93DCF7"})]})})]}),p=({style:l,...t})=>i.jsxs("svg",{width:"16",height:"14",style:l,viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[i.jsxs("g",{clipPath:"url(#clip0_2115_829)",children:[i.jsx("path",{d:"M2.34709 12.9404L2.3471 12.9404L2.34565 12.938L1.64031 11.7448L1.64004 11.7444L0.651257 10.0677C0.640723 10.0496 0.630746 10.0314 0.621325 10.0129H4.16461L2.39424 13.0139C2.3775 12.9901 2.36178 12.9656 2.34709 12.9404Z",fill:"#0066DA",stroke:"#6366F1"}),i.jsx("path",{d:"M8 4.48713L5.47995 0.215332C5.23253 0.358922 5.02176 0.556358 4.87514 0.80764L0.219931 8.70508C0.076007 8.95094 0.000191627 9.22937 0 9.51277H5.04009L8 4.48713Z",fill:"#00AC47"}),i.jsx("path",{d:"M13.48 13.7847C13.7274 13.6411 13.9382 13.4437 14.0848 13.1924L14.3781 12.6988L15.7801 10.3206C15.9267 10.0693 16.0001 9.79114 16.0001 9.51294H10.9596L12.0321 11.577L13.48 13.7847Z",fill:"#EA4335"}),i.jsx("path",{d:"M8.00003 4.48718L10.5201 0.215385C10.2726 0.0717949 9.98857 0 9.69533 0H6.30472C6.01148 0 5.7274 0.0807692 5.47998 0.215385L8.00003 4.48718Z",fill:"#00832D"}),i.jsx("path",{d:"M10.9599 9.51294H5.04007L2.52002 13.7847C2.76744 13.9283 3.05152 14.0001 3.34476 14.0001H12.6552C12.9484 14.0001 13.2325 13.9194 13.4799 13.7847L10.9599 9.51294Z",fill:"#2684FC"}),i.jsx("path",{d:"M13.4525 4.75636L11.1249 0.80764C10.9782 0.556358 10.7675 0.358922 10.52 0.215332L8 4.48713L10.9599 9.51277H15.9908C15.9908 9.23456 15.9175 8.95636 15.7709 8.70508L13.4525 4.75636Z",fill:"#FFBA00"})]}),i.jsx("defs",{children:i.jsx("clipPath",{id:"clip0_2115_829",children:i.jsx("rect",{width:"16",height:"14",fill:"white"})})})]}),x=s.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 12px;
|
|
5
|
+
padding-top: 24px;
|
|
6
|
+
padding-bottom: 24px;
|
|
7
|
+
`,o=s.div`
|
|
8
|
+
padding-bottom: 24px;
|
|
9
|
+
`;export{e as d,p as e,x as o,o as p};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as t,b7 as o}from"./index-BMfMy017.js";import{x as i}from"./ModalFooter-BCuEK_nz-D2I8KWtk.js";import{LinkButton as r}from"./LinkPasskeyScreen-zbrl_AI_-D9MOmDqg.js";const s=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 12px;
|
|
5
5
|
padding-top: 24px;
|
|
6
6
|
padding-bottom: 24px;
|
|
7
|
-
`,
|
|
7
|
+
`,c=t.div`
|
|
8
8
|
width: 24px;
|
|
9
9
|
height: 24px;
|
|
10
10
|
display: flex;
|
|
@@ -14,13 +14,13 @@ import{n as e}from"./LinkPasskeyScreen-zbrl_AI_-uid22VTN.js";import{a as t,c as
|
|
|
14
14
|
svg {
|
|
15
15
|
border-radius: var(--privy-border-radius-sm);
|
|
16
16
|
}
|
|
17
|
-
`,
|
|
17
|
+
`,x=t.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
justify-content: center;
|
|
21
21
|
align-items: flex-start;
|
|
22
22
|
gap: 8px;
|
|
23
|
-
`,
|
|
23
|
+
`,l=t.div`
|
|
24
24
|
display: flex;
|
|
25
25
|
align-items: center;
|
|
26
26
|
gap: 4px;
|
|
@@ -33,9 +33,9 @@ import{n as e}from"./LinkPasskeyScreen-zbrl_AI_-uid22VTN.js";import{a as t,c as
|
|
|
33
33
|
&:focus-within {
|
|
34
34
|
border-color: var(--privy-color-accent);
|
|
35
35
|
}
|
|
36
|
-
`;
|
|
36
|
+
`;t.div`
|
|
37
37
|
font-size: 42px !important;
|
|
38
|
-
`;
|
|
38
|
+
`;const n=t.input`
|
|
39
39
|
background-color: var(--privy-color-background);
|
|
40
40
|
width: 100%;
|
|
41
41
|
|
|
@@ -48,21 +48,21 @@ import{n as e}from"./LinkPasskeyScreen-zbrl_AI_-uid22VTN.js";import{a as t,c as
|
|
|
48
48
|
&& {
|
|
49
49
|
font-size: 26px;
|
|
50
50
|
}
|
|
51
|
-
`,
|
|
51
|
+
`,f=t(n)`
|
|
52
52
|
&& {
|
|
53
53
|
font-size: 42px;
|
|
54
54
|
}
|
|
55
|
-
`;
|
|
55
|
+
`;t.button`
|
|
56
56
|
cursor: pointer;
|
|
57
57
|
padding-left: 4px;
|
|
58
|
-
`;
|
|
58
|
+
`;const m=t.div`
|
|
59
59
|
font-size: 18px;
|
|
60
|
-
`,
|
|
60
|
+
`,g=t.div`
|
|
61
61
|
font-size: 12px;
|
|
62
62
|
color: var(--privy-color-foreground-3);
|
|
63
63
|
/* we need this container to maintain a static height if there's no content */
|
|
64
64
|
height: 20px;
|
|
65
|
-
`;
|
|
65
|
+
`;t.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
flex-direction: row;
|
|
68
68
|
line-height: 22px;
|
|
@@ -71,22 +71,22 @@ import{n as e}from"./LinkPasskeyScreen-zbrl_AI_-uid22VTN.js";import{a as t,c as
|
|
|
71
71
|
svg {
|
|
72
72
|
margin: auto;
|
|
73
73
|
}
|
|
74
|
-
`,
|
|
74
|
+
`,t(r)`
|
|
75
75
|
margin-top: 16px;
|
|
76
|
-
`;
|
|
76
|
+
`;let e=o`
|
|
77
77
|
from {
|
|
78
78
|
opacity: 0;
|
|
79
79
|
}
|
|
80
80
|
to {
|
|
81
81
|
opacity: 1;
|
|
82
82
|
}
|
|
83
|
-
`;
|
|
83
|
+
`;t(i)`
|
|
84
84
|
border-radius: var(--privy-border-radius-md) !important;
|
|
85
|
-
animation: ${
|
|
86
|
-
`;
|
|
85
|
+
animation: ${e} 0.3s ease-in-out;
|
|
86
|
+
`;const u=t.a`
|
|
87
87
|
&& {
|
|
88
88
|
color: var(--privy-color-accent);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
cursor: pointer;
|
|
92
|
-
`;export{
|
|
92
|
+
`;export{x as a,m as c,f as d,s as e,g as l,u as m,c as n,l as p,n as s};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as r}from"./index-BMfMy017.js";r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
5
|
-
|
|
5
|
+
`;r.button`
|
|
6
6
|
padding: 0.25rem;
|
|
7
7
|
height: 30px;
|
|
8
8
|
width: 30px;
|
|
@@ -12,7 +12,7 @@ import{c as e}from"./Loader-UAZqxsnw-Cy7hEE2f.js";e.div`
|
|
|
12
12
|
justify-content: center;
|
|
13
13
|
border-radius: var(--privy-border-radius-full);
|
|
14
14
|
background: var(--privy-color-background-2);
|
|
15
|
-
`;
|
|
15
|
+
`;const i=r.div`
|
|
16
16
|
position: relative;
|
|
17
17
|
display: inline-flex;
|
|
18
18
|
align-items: center;
|
|
@@ -27,12 +27,12 @@ import{c as e}from"./Loader-UAZqxsnw-Cy7hEE2f.js";e.div`
|
|
|
27
27
|
right: -3px;
|
|
28
28
|
top: -3px;
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,a=r.img`
|
|
31
31
|
width: 32px;
|
|
32
32
|
height: 32px;
|
|
33
33
|
border-radius: 0.25rem;
|
|
34
34
|
object-fit: contain;
|
|
35
|
-
`,r
|
|
35
|
+
`,t=r.span`
|
|
36
36
|
display: flex;
|
|
37
37
|
gap: 0.25rem;
|
|
38
38
|
align-items: center;
|
|
@@ -49,7 +49,7 @@ import{c as e}from"./Loader-UAZqxsnw-Cy7hEE2f.js";e.div`
|
|
|
49
49
|
max-height: 1rem;
|
|
50
50
|
stroke-width: 2;
|
|
51
51
|
}
|
|
52
|
-
`,
|
|
52
|
+
`,n=r.div`
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
55
55
|
gap: 0.5rem;
|
|
@@ -64,11 +64,11 @@ import{c as e}from"./Loader-UAZqxsnw-Cy7hEE2f.js";e.div`
|
|
|
64
64
|
scrollbar-width: none;
|
|
65
65
|
-ms-overflow-style: none;
|
|
66
66
|
|
|
67
|
-
${e=>e.$colorScheme
|
|
67
|
+
${e=>e.$colorScheme==="light"?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.06)) bottom;":e.$colorScheme==="dark"?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.06)) bottom;":void 0}
|
|
68
68
|
|
|
69
69
|
background-repeat: no-repeat;
|
|
70
70
|
background-size:
|
|
71
71
|
100% 32px,
|
|
72
72
|
100% 16px;
|
|
73
73
|
background-attachment: local, scroll;
|
|
74
|
-
`;export{
|
|
74
|
+
`;export{i as a,a as i,n,t};
|