'use client'
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

require('@dynamic-labs-sdk/client/core');
require('@dynamic-labs/sdk-api-core');
require('../../../../client/client.cjs');
require('react');
require('@dynamic-labs-sdk/client');
require('../../../../config/ApiEndpoint.cjs');
require('@dynamic-labs/iconic');
require('@dynamic-labs/wallet-connector-core');
require('react/jsx-runtime');
require('../../../../context/ViewContext/ViewContext.cjs');
require('../../../../shared/logger.cjs');
require('@dynamic-labs/wallet-book');
require('@dynamic-labs/utils');
require('../../../constants/colors.cjs');
require('../../../constants/values.cjs');
require('../../../../shared/consts/index.cjs');
require('../../../../../../_virtual/_tslib.cjs');
require('@dynamic-labs/multi-wallet');
require('react-international-phone');
require('../../../../store/state/nonce/nonce.cjs');
require('@dynamic-labs/locale');
require('../../../../store/state/dynamicContextProps/dynamicContextProps.cjs');
require('../../../../store/state/primaryWalletId/primaryWalletId.cjs');
require('../../../../store/state/connectedWalletsInfo/connectedWalletsInfo.cjs');
require('../../../../events/dynamicEvents.cjs');
var getUserProfile = require('../../../../client/extension/user/getUserProfile/getUserProfile.cjs');
var authMode = require('../../../../store/state/authMode/authMode.cjs');

const isConnectOnly = () => {
    const authMode$1 = authMode.getAuthMode();
    const user = getUserProfile.getUserProfile();
    // we need to check for user because of connect-only (authenticated)
    // and linking a new wallet in mutliwallet
    const linking = user !== undefined;
    const connectOnly = authMode$1 === 'connect-only' && !linking;
    return connectOnly;
};

exports.isConnectOnly = isConnectOnly;
