"use strict";var e=require("react/jsx-runtime"),r=require("lucide-react"),i=require("./internal-context-CdsQ3LEl.js"),t=require("./modal-context-BgeioxwT.js"),n=require("./ScreenLayout-DaFW0I3a.js");require("react"),require("./context-rs-ygOK2.js"),require("@privy-io/js-sdk-core"),require("tinycolor2"),require("./ModalHeader-Cpls13mi.js"),require("styled-components"),require("./useActiveWallet-dTc6deka.js"),require("viem/utils"),require("./wallet-connect-BuohfvHK.js"),require("./errors-CBapWvRs.js"),require("ofetch"),require("./getPublicClient-CFd_sHBk.js"),require("viem"),require("viem/chains"),require("eventemitter3"),require("./events-context-Di6--rDg.js"),require("./privy-context-UTJouJ1x.js"),require("@privy-io/are-addresses-equal"),require("./index-Ub4KpwSY.js"),require("zustand"),require("react-device-detect"),require("./get-entropy-details-for-user-D63rM5_a.js"),require("./user-D2oPA-vS.js"),require("@heroicons/react/24/outline/ArrowLeftIcon"),require("@heroicons/react/24/outline/ArrowRightIcon"),require("@heroicons/react/24/outline/QuestionMarkCircleIcon"),require("@heroicons/react/24/outline/XMarkIcon"),require("./Screen-8NusMFtu.js"),require("./index-ByFhjjzH.js");const a=({title:i="Could not connect with wallet",subtitle:t="Please check that Phantom multichain is enabled and try again.",primaryCtaText:a="Try again",secondaryCtaText:o="Cancel",onTryAgain:c,onCancel:u})=>/*#__PURE__*/e.jsx(n.ScreenLayout,{title:i,subtitle:t,icon:r.XCircle,iconVariant:"error",primaryCta:{label:a,onClick:c},secondaryCta:{label:o,onClick:u},watermark:!0}),o={component:()=>{let{closePrivyModal:r}=i.usePrivyInternal(),{navigate:n}=t.usePrivyModal();/*#__PURE__*/return e.jsx(a,{onTryAgain:()=>{n("LandingScreen")},onCancel:async()=>{await r()}})}};exports.LoginFailedScreen=o,exports.LoginFailedScreenView=a,exports.default=o;
//# sourceMappingURL=LoginFailedScreen-CD2Nlopa.js.map
