'use client'
import { jsx } from 'react/jsx-runtime';
import { AccessBlockedView } from './AccessBlockedView/AccessBlockedView.js';
import { AccountExistsView } from './AccountExistsView/AccountExistsView.js';
import { BackupUnsuccessfulView } from './BackupUnsuccessfulView/BackupUnsuccessfulView.js';
import { BridgeNextWalletConnectionView } from './BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js';
import { BridgeSummaryView } from './BridgeSummaryView/BridgeSummaryView.js';
import { BridgeWelcomeView } from './BridgeWelcomeView/BridgeWelcomeView.js';
import { CaptchaVerifyUser } from './CaptchaVerifyUser/CaptchaVerifyUser.js';
import { CollectUserDataView } from './CollectUserDataView/CollectUserDataView.js';
import { CollectUserDataViewNoWallet } from './CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.js';
import { DuplicateWalletView } from './DuplicateWalletView/DuplicateWalletView.js';
import { EmailConfirmationWaitingView } from './EmailConfirmationWaitingView/EmailConfirmationWaitingView.js';
import { EmailVerification } from './EmailVerification/EmailVerification.js';
import { EmailWalletOTPVerificationView } from './EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js';
import { EmbeddedDeleteView } from './EmbeddedDeleteView/EmbeddedDeleteView.js';
import { EmbeddedRevealView } from './EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js';
import { ExchangeList } from './ExchangeList/ExchangeList.js';
import { ExchangeWhitelistWarning } from './ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
import { FarcasterConnectView } from './FarcasterConnectView/FarcasterConnectView.js';
import { GlobalWalletConfirmView } from './GlobalWalletConfirmView/GlobalWalletConfirmView.js';
import { GlobalWalletInfoView } from './GlobalWalletInfoView/GlobalWalletInfoView.js';
import { GlobalWalletMaliciousView } from './GlobalWalletMaliciousView/GlobalWalletMaliciousView.js';
import { LoginView } from './LoginView/LoginView.js';
import { MergeUserAccountsConflictsView } from './MergeUserAccountsConflictsView/MergeUserAccountsConflictsView.js';
import { MergeUserAccountsView } from './MergeUserAccountsView/MergeUserAccountsView.js';
import { MergeUserAccountsWithSameEmailView } from './MergeUserAccountsWithSameEmailView/MergeUserAccountsWithSameEmailView.js';
import { MfaChooseDeviceView } from './MfaChooseDeviceView/MfaChooseDeviceView.js';
import { MfaDisplayBackupCodesView } from './MfaDisplayBackupCodesView/MfaDisplayBackupCodesView.js';
import { MfaExchangeView } from './MfaExchangeView/MfaExchangeView.js';
import { MfaRecoveryView } from './MfaRecoveryView/MfaRecoveryView.js';
import { MfaSecureDeviceHelper } from './MfaSecureDeviceHelpView/MfaSecureDeviceHelpView.js';
import { MfaSecureDeviceView } from './MfaSecureDeviceView/MfaSecureDeviceView.js';
import { MfaVerificationView } from './MfaVerificationView/MfaVerificationView.js';
import { MobileWalletRedirectView } from './MobileWalletRedirectView/MobileWalletRedirectView.js';
import { NetworkNotSupported } from './NetworkNotSupported/NetworkNotSupported.js';
import { NetworkNotSupportedSwitchManual } from './NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js';
import { NoAccess } from './NoAccess/NoAccess.js';
import { NoQrNotInstalledView } from './NoQrNotInstalledView/NoQrNotInstalledView.js';
import { PasskeyIntroView } from './Passkey/PasskeyIntroView/PasskeyIntroView.js';
import { AddRecoveryEmail } from './Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.js';
import { PasskeyBundleRecovery } from './Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js';
import { PasskeyCompleteRecovery } from './Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js';
import { PasskeyInitRecovery } from './Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js';
import { RenamePasskeyView } from './Passkey/RenamePasskeyView/RenamePasskeyView.js';
import { EmbeddedAuthChoice } from './Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js';
import 'react-i18next';
import '@dynamic-labs/utils';
import '../components/Accordion/components/AccordionItem/AccordionItem.js';
import 'react';
import '@dynamic-labs/iconic';
import '../context/ViewContext/ViewContext.js';
import '../../../_virtual/_tslib.js';
import '@dynamic-labs/wallet-connector-core';
import '../shared/logger.js';
import '@dynamic-labs/wallet-book';
import '../utils/constants/colors.js';
import '../utils/constants/values.js';
import '@dynamic-labs/sdk-api-core';
import '../shared/consts/index.js';
import '../components/Alert/Alert.js';
import '../events/dynamicEvents.js';
import '../context/DynamicContext/DynamicContext.js';
import '../store/state/loadingAndLifecycle/loadingAndLifecycle.js';
import '../store/state/authMode/authMode.js';
import '../context/CaptchaContext/CaptchaContext.js';
import '../context/ErrorContext/ErrorContext.js';
import '@dynamic-labs/multi-wallet';
import 'react-international-phone';
import '../store/state/nonce/nonce.js';
import '@dynamic-labs-sdk/client/core';
import '../client/client.js';
import '@dynamic-labs-sdk/client';
import '../config/ApiEndpoint.js';
import '@dynamic-labs/locale';
import '../store/state/dynamicContextProps/dynamicContextProps.js';
import '../store/state/primaryWalletId/primaryWalletId.js';
import '../store/state/connectedWalletsInfo/connectedWalletsInfo.js';
import '../context/AccessDeniedContext/AccessDeniedContext.js';
import '../context/AccountExistsContext/AccountExistsContext.js';
import '../context/UserWalletsContext/UserWalletsContext.js';
import '../context/VerificationContext/VerificationContext.js';
import 'react-dom';
import '../utils/functions/compareChains/compareChains.js';
import './Passkey/utils/findPrimaryEmbeddedChain/findPrimaryEmbeddedChain.js';
import '../context/ThemeContext/ThemeContext.js';
import '../utils/hooks/useUserUpdateRequest/useUpdateUser/userFieldsSchema.js';
import 'bs58';
import '@dynamic-labs/types';
import '../context/SocialRedirectContext/SocialRedirectContext.js';
import '../context/LoadingContext/LoadingContext.js';
import '../context/WalletContext/WalletContext.js';
import '../utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.js';
import 'yup';
import '../context/MockContext/MockContext.js';
import './CollectUserDataView/useFields.js';
import '../context/FieldsStateContext/FieldsStateContext.js';
import '../context/UserFieldEditorContext/UserFieldEditorContext.js';
import '@dynamic-labs/rpc-providers';
import '../store/state/walletOptions/walletOptions.js';
import '../context/FooterAnimationContext/index.js';
import '../components/ShadowDOM/ShadowDOM.js';
import '../components/Transition/ZoomTransition/ZoomTransition.js';
import '../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
import '../components/Transition/OpacityTransition/OpacityTransition.js';
import '../components/OverlayCardBase/OverlayCardTarget/OverlayCardTarget.js';
import '../context/WalletGroupContext/WalletGroupContext.js';
import '../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
import 'react-focus-lock';
import '../widgets/DynamicWidget/context/DynamicWidgetContext.js';
import { WalletDelegationView } from './WalletDelegation/WalletDelegationView/WalletDelegationView.js';
import '../components/IconButton/IconButton.js';
import '../components/MenuList/Dropdown/Dropdown.js';
import 'formik';
import '../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
import '../store/state/sendBalances.js';
import '../components/Input/Input.js';
import '../components/OverlayCard/OverlayCard.js';
import './TransactionConfirmationView/TransactionConfirmationView.js';
import '../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
import '../context/PasskeyContext/PasskeyContext.js';
import '../widgets/DynamicWidget/components/PasskeyCard/PasskeyCard.js';
import '../widgets/DynamicWidget/views/CryptoComOnramp/CryptoComOnramp.js';
import '../context/OnrampContext/OnrampContext.js';
import '../../index.js';
import '../widgets/DynamicWidget/helpers/convertExchangeKeyAndProviderEnum.js';
import 'qrcode';
import '../widgets/DynamicWidget/views/ReceiveWalletFunds/ReceiveWalletFunds.js';
import { PendingSignatureView } from './PendingSignatureView/PendingSignatureView.js';
import { QrCodeView } from './QrCodeView/QrCodeView.js';
import { WalletList } from './WalletList/WalletList.js';
import { SetupPasskeyView } from './Passkey/SetupPasskeyView/SetupPasskeyView.js';
import { ConfirmPasskeyView } from './Passkey/ConfirmPasskeyView/ConfirmPasskeyView.js';
import { PendingConnectView } from './PendingConnectView/PendingConnectView.js';
import { SandboxMaximumThresholdReached } from './SandboxMaximumThresholdReached/SandboxMaximumThresholdReached.js';
import { SelectHardwareWalletView } from './SelectHardwareWalletView/SelectHardwareWalletView.js';
import { SelectWalletInWalletGroupView } from './SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.js';
import { SmsVerification } from './SmsVerification/SmsVerification.js';
import { SocialRedirectView } from './SocialRedirectView/SocialRedirectView.js';
import { SocialWrongAccountView } from './SocialWrongAccountView/SocialWrongAccountView.js';
import { UnifiedList } from './UnifiedList/UnifiedList.js';
import { UserDeleteAccountView } from './UserDeleteAccountView/UserDeleteAccountView.js';
import { WalletAlreadyExistsView } from './WalletAlreadyExistsView/WalletAlreadyExistsView.js';
import { WalletCannotBeTransferredView } from './WalletCannotBeTransferredView/WalletCannotBeTransferredView.js';
import { WalletGroupView } from './WalletGroupView/WalletGroupView.js';
import { WalletListForDefaultConnection } from './WalletList/WalletListForDefaultConnection/WalletListForDefaultConnection.js';
import { WalletLockedView } from './WalletLockedView/WalletLockedView.js';
import { WalletRedirectView } from './WalletRedirectView/WalletRedirectView.js';
import { WalletSignSpinnerView } from './WalletSignSpinnerView/WalletSignSpinnerView.js';
import { WalletUpgradeFlowView } from './WalletUpgradeFlowView/WalletUpgradeFlowView.js';
import { WalletUsedView } from './WalletUsedView/WalletUsedView.js';
import { WaasUpgradeView } from './WaasUpgradeView/WaasUpgradeView.js';
import { AccountUpgradedView } from './AccountUpgradedView/AccountUpgradedView.js';
import '../store/state/connectorsInitializing/connectorsInitializing.js';
import '../store/state/tokenBalances.js';
import '../store/state/multichainBalances.js';
import '../shared/utils/functions/getInitialUrl/getInitialUrl.js';
import '../components/InlineWidget/InlineWidget.js';
import '../components/IsBrowser/IsBrowser.js';
import '../components/Popper/Popper/Popper.js';
import '../components/Popper/PopperContext/PopperContext.js';
import { PasskeyNewDomainDetectedView } from './Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.js';

const viewToComponentMap = {
    'access-blocked': AccessBlockedView,
    'account-exists': AccountExistsView,
    'account-upgraded': AccountUpgradedView,
    'backup-unsuccessful': BackupUnsuccessfulView,
    'bridge-next-wallet-connection': BridgeNextWalletConnectionView,
    'bridge-summary': BridgeSummaryView,
    'bridge-welcome': BridgeWelcomeView,
    captcha: CaptchaVerifyUser,
    'chainalysis-blocked-wallet': NoAccess,
    'collect-user-data': CollectUserDataView,
    'collect-user-data-login-no-wallet': CollectUserDataViewNoWallet,
    'duplicate-wallet': DuplicateWalletView,
    'email-wallet-otp-verification-view': EmailWalletOTPVerificationView,
    'embedded-delete-view': EmbeddedDeleteView,
    'embedded-reveal-account-view': EmbeddedRevealView,
    'embedded-reveal-view': EmbeddedRevealView,
    'embedded-wallet-auth-choice': EmbeddedAuthChoice,
    'embedded-wallet-exists': WalletAlreadyExistsView,
    'exchange-whitelist-warning': ExchangeWhitelistWarning,
    'external-funding-exchange-list': ExchangeList,
    'external-funding-wallet-list': WalletList,
    'farcaster-connect-view': FarcasterConnectView,
    'gate-blocked-wallet': NoAccess,
    'global-wallet-confirm': GlobalWalletConfirmView,
    'global-wallet-info': GlobalWalletInfoView,
    'global-wallet-malicious': GlobalWalletMaliciousView,
    'login-with-email-or-wallet': LoginView,
    'login-with-email-or-wallet-full-wallet-list': WalletListForDefaultConnection,
    'login-with-email-verification': EmailVerification,
    'login-with-sms-verification': SmsVerification,
    'login-with-wallet-only': LoginView,
    'merge-user-accounts': MergeUserAccountsView,
    'merge-user-accounts-conflicts': MergeUserAccountsConflictsView,
    'merge-user-accounts-with-same-email': MergeUserAccountsWithSameEmailView,
    'mfa-choose-device': MfaChooseDeviceView,
    'mfa-display-backup-codes': MfaDisplayBackupCodesView,
    'mfa-exchange-view': MfaExchangeView,
    'mfa-recovery': MfaRecoveryView,
    'mfa-secure-device': MfaSecureDeviceView,
    'mfa-secure-device-help': MfaSecureDeviceHelper,
    'mfa-verification': MfaVerificationView,
    'mobile-wallet-redirect-view': MobileWalletRedirectView,
    'multi-wallet-wallet-list': WalletListForDefaultConnection,
    'network-not-supported': NetworkNotSupported,
    'network-not-supported-manual': NetworkNotSupportedSwitchManual,
    'no-access': NoAccess,
    'no-qr-not-installed': NoQrNotInstalledView,
    'passkey-confirm': ConfirmPasskeyView,
    'passkey-intro': PasskeyIntroView,
    'passkey-new-domain-detected': PasskeyNewDomainDetectedView,
    'passkey-recovery-add-email': AddRecoveryEmail,
    'passkey-recovery-bundle': PasskeyBundleRecovery,
    'passkey-recovery-complete': PasskeyCompleteRecovery,
    'passkey-recovery-start': PasskeyInitRecovery,
    'passkey-setup': SetupPasskeyView,
    'pending-connect': PendingConnectView,
    'pending-signature': PendingSignatureView,
    'pending-signature-without-back-button': PendingSignatureView,
    'qr-code': QrCodeView,
    'rename-passkey': RenamePasskeyView,
    'sandbox-maximum-threshold-reached': SandboxMaximumThresholdReached,
    'select-hardware-wallet': SelectHardwareWalletView,
    'select-wallet-in-wallet-group': SelectWalletInWalletGroupView,
    'social-redirect-view': SocialRedirectView,
    'social-wrong-account': SocialWrongAccountView,
    'unified-wallet-exchange-list': UnifiedList,
    'user-delete-account': UserDeleteAccountView,
    'verify-email': EmailVerification,
    'verify-sms': SmsVerification,
    'waas-upgrade-view': WaasUpgradeView,
    'wait-for-email-confirmation-view': EmailConfirmationWaitingView,
    'wallet-cannot-be-transferred': WalletCannotBeTransferredView,
    'wallet-connect-mobile-wallets-list': () => (jsx(WalletListForDefaultConnection, { isWalletConnectList: true })),
    'wallet-delegation-view': WalletDelegationView,
    'wallet-group': WalletGroupView,
    'wallet-list': WalletListForDefaultConnection,
    'wallet-locked-view': WalletLockedView,
    'wallet-redirect-view': WalletRedirectView,
    'wallet-sign': WalletSignSpinnerView,
    'wallet-upgrade-flow-view': WalletUpgradeFlowView,
    'wallet-used': WalletUsedView,
};

export { viewToComponentMap };
