<?php
/**
 * WAWP Settings Registry.
 * Central repository for all database option keys used across the plugin.
 *
 * @package automation-web-platform
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Class WAWP_Settings_Registry
 */
class WAWP_Settings_Registry {

	// -------------------------------------------------------------------------
	// Core & Feature Flags
	// -------------------------------------------------------------------------

	const USER_PHONE_META_KEY        = 'wawp-user-phone';
	const SENDERS_ENABLED            = 'wawp_senders_enabled';
	const CHAT_WIDGET_ENABLED        = 'wawp_chat_widget_enabled';
	const PASSWORDLESS_LOGIN_ENABLED = 'wawp_passwordless_login_enabled';
	const SIGNUP_ENABLED             = 'wawp_signup_enabled';
	const CHECKOUT_OTP_ENABLED       = 'wawp_checkout_otp_enabled';
	const CUSTOM_PAGES_ENABLED       = 'wawp_custom_pages_enabled';
	const COUNTRYCODE_ENABLED        = 'wawp_countrycode_enabled';
	const CAMPAIGNS_ENABLED          = 'wawp_campaigns_enabled';
	const ABANDONED_CARTS_ENABLED    = 'wawp_abandoned_carts_enabled';
	const SYSTEM_INFO_ENABLED        = 'wawp_system_info_enabled';
	const NOTIFICATIONS_ENABLED      = 'wawp_notifications_enabled';
	const EMAIL_TEMPLATES_ENABLED    = 'wawp_email_templates_enabled';
	const FIREBASE_ENABLED           = 'wawp_firebase_enabled';
	const SUB_NOTIFS_ENABLED         = 'wawp_sub_notifs_enabled';
	const OTP_ENABLED                = 'wawp_otp_enabled';
	const GOOGLE_RECAPTCHA_ENABLED   = 'wawp_google_recaptcha_enabled';
	const RECAPTCHA_ENABLED          = self::GOOGLE_RECAPTCHA_ENABLED;
	const UNIFIED_LOG_ENABLED        = 'wawp_unified_log_enabled';
	const MULTILANG_ENABLED          = 'wawp_multilang_enabled';

	// Orders and Status Customizer.
	const ORDERS_STATUS_ENABLED                = 'wawp_orders_status_enabled';
	const ORDERS_STATUS_CUSTOM_STATUSES        = 'wawp_orders_status_custom_statuses';
	const ORDERS_STATUS_DEFAULT_STATUSES       = 'wawp_orders_status_default_statuses';
	const ORDERS_STATUS_FILTER_PAYMENT_METHOD  = 'wawp_orders_status_filter_payment_method';
	const ORDERS_STATUS_FILTER_SHIPPING_METHOD = 'wawp_orders_status_filter_shipping_method';
	const ORDERS_STATUS_FILTER_PRODUCT_NAMES   = 'wawp_orders_status_filter_product_names';
	const ORDERS_STATUS_FILTER_PHONE_NUMBER    = 'wawp_orders_status_filter_phone_number';
	const ORDERS_STATUS_FILTER_SHIPPING_COST   = 'wawp_orders_status_filter_shipping_cost';
	const ORDERS_STATUS_FORCE_INITIAL_ENABLED  = 'wawp_orders_status_force_initial_enabled';
	const ORDERS_STATUS_FORCE_INITIAL_STATUS   = 'wawp_orders_status_force_initial_status';

	// -------------------------------------------------------------------------
	// Main Configurations
	// -------------------------------------------------------------------------

	const OTP_SETTINGS                          = 'wawp_otp_settings';
	const FIREBASE_SETTINGS                     = 'wawp_firebase_settings';
	const SMTP_SETTINGS                         = 'wawp_smtp_settings';
	const INTL_TEL_OPTIONS                      = 'wawp_intl_tel_options';
	const BLOCK_LIST                            = 'wawp_block_list';
	const BLOCK_EMAIL_LIST                      = 'wawp_block_email_list';
	const ABANDONED_CART_SETTINGS               = 'wawp_abandoned_cart_settings';
	const ABANDONED_CART_NOTIF_SETTINGS         = 'wawp_abandoned_cart_notification_settings';
	const ABANDONED_CART_NOTIFICATIONS_SETTINGS = 'wawp_abandoned_cart_notifications_settings';
	const REGISTRATION_FORM_SETTINGS            = 'wawp_registration_form_settings';
	const PASSWORDLESS_LOGIN_SETTINGS           = 'wawp_otp_settings';
	const CHECKOUT_SETTINGS                     = 'wawp_checkout_settings';
	const GENERAL_INSTANCE                      = 'wawp_general_instance';

	// Chat Widget Keys.
	const CHAT_WIDGET_SETTINGS = 'wawp_chat_widget_settings';
	const CHAT_ENABLE          = 'wawp_enable_button';
	const CHAT_NUMBERS         = 'wawp_whatsapp_numbers';
	const CHAT_MESSAGES        = 'wawp_whatsapp_messages';
	const CHAT_USER_NAMES      = 'wawp_user_names';
	const CHAT_USER_ROLES      = 'wawp_user_roles';
	const CHAT_USER_AVATARS    = 'wawp_user_avatars';

	const CHAT_HEADER             = 'wawp_whatsapp_header';
	const CHAT_WELCOME_MSG        = 'wawp_welcome_message';
	const CHAT_REPLY_TIME         = 'wawp_reply_time_text';
	const CHAT_AVATAR_URL         = 'wawp_avatar_url';
	const CHAT_SOCIAL_INTRO       = 'wawp_social_intro_text';
	const CHAT_SOCIAL_ICONS       = 'wawp_social_icons';
	const CHAT_SOCIAL_STYLE       = 'wawp_social_button_style';
	const CHAT_ICON_CLASS         = 'wawp_whatsapp_icon_class';
	const CHAT_BG_COLOR           = 'wawp_button_bg_color';
	const CHAT_ICON_COLOR         = 'wawp_icon_color';
	const CHAT_BTN_SIZE           = 'wawp_button_size';
	const CHAT_CORNER_RADIUS      = 'wawp_corner_radius';
	const CHAT_POSITION           = 'wawp_button_position';
	const CHAT_DISPLAY_DESKTOP    = 'wawp_display_desktop';
	const CHAT_DISPLAY_MOBILE     = 'wawp_display_mobile';
	const CHAT_TRIGGER_ALL        = 'wawp_trigger_on_all_pages';
	const CHAT_PAGE_CONDITIONS    = 'wawp_page_conditions';
	const CHAT_ICON_URL           = 'wawp_icon_url';
	const CHAT_AVATAR_NAME        = 'wawp_avatar_name';
	const CHAT_SOCIAL_LAYOUT      = 'wawp_social_layout';
	const CHAT_BOTTOM_OFFSET      = 'wawp_button_bottom_offset';
	const CHAT_DISABLE_POWERED_BY = 'wawp_disable_powered_by';

	// -------------------------------------------------------------------------
	// Custom Pages & Frontend Forms
	// -------------------------------------------------------------------------

	const LOGIN_PAGE_ID             = 'wawp_login_page_id';
	const SIGNUP_PAGE_ID            = 'wawp_signup_page_id';
	const FAST_LOGIN_PAGE_ID        = 'wawp_fast_login_page_id';
	const REPLACE_WC_FORMS          = 'wawp_replace_wc_forms';
	const REPLACE_WC_CHECKOUT_LOGIN = 'wawp_replace_wc_checkout_login';
	const PHONE_BAR_IN_ACCOUNT      = 'wawp_show_phone_bar_in_account';
	const REDIRECT_WP_LOGIN         = 'wawp_redirect_wp_login';
	const REDIRECT_MY_ACCOUNT       = 'wawp_redirect_my_account';
	const PHONE_BAR_LOCK_SITE       = 'wawp_lock_site_until_verified';
	const PHONE_BAR_GLOBALLY        = 'wawp_show_phone_bar_globally';
	const PHONE_BAR_INTRO           = 'wawp_phone_bar_intro';
	const PHONE_BAR_OUTRO           = 'wawp_phone_bar_outro';
	const PHONE_OTP_TEMPLATE        = 'wawp_phone_otp_template';
	const PHONE_BAR_OTP_METHOD      = 'wawp_phone_bar_otp_method';

	// -------------------------------------------------------------------------
	// WhatsApp Auth Configuration
	// -------------------------------------------------------------------------

	const WA_AUTH_TYPE          = 'wawp_phone_bar_whatsapp_auth_type';
	const WA_OTP_LANG_TYPE      = 'wawp_phone_bar_whatsapp_otp_lang_type';
	const WA_OTP_CUSTOM_LANG    = 'wawp_phone_bar_whatsapp_otp_custom_lang';
	const WA_OTP_FOOTER_ENABLED = 'wawp_phone_bar_whatsapp_otp_footer_enabled';
	const WA_OTP_FOOTER         = 'wawp_phone_bar_whatsapp_otp_footer';
	const WA_LIST_TITLE         = 'wawp_phone_bar_whatsapp_list_title';
	const WA_LIST_DESC          = 'wawp_phone_bar_whatsapp_list_desc';
	const WA_LIST_FOOTER        = 'wawp_phone_bar_whatsapp_list_footer';
	const WA_LIST_BUTTON        = 'wawp_phone_bar_whatsapp_list_button';
	const WA_LIST_ITEM1         = 'wawp_phone_bar_whatsapp_list_item1';
	const WA_LIST_ITEM1_DESC    = 'wawp_phone_bar_whatsapp_list_item1_desc';
	const WA_LIST_ITEM2         = 'wawp_phone_bar_whatsapp_list_item2';
	const WA_LIST_ITEM2_DESC    = 'wawp_phone_bar_whatsapp_list_item2_desc';

	// -------------------------------------------------------------------------
	// Tracking & Telemetry
	// -------------------------------------------------------------------------

	const PLUGIN_INSTALLED_VERSION = 'wawp_plugin_installed_version';
	const USER_DATA_PERSISTENT     = 'wawp_site_b_user_data_persistent';
	const SHARE_DIAGNOSTIC_DATA    = 'wawp_share_diagnostic_data';
	const EMAIL_TRACKING_ENABLED   = 'wawp_enable_email_tracking';
	const TRACKING_IDS_ENABLED     = 'wawp_include_tracking_ids';

	// -------------------------------------------------------------------------
	// Chat Widget Analytics
	// -------------------------------------------------------------------------

	const CHAT_CLICKS               = 'wawp_chat_clicks';
	const CHAT_OPEN_WHATSAPP        = 'wawp_open_whatsapp';
	const CHAT_CONTACT_STATS        = 'wawp_contact_stats';
	const CHAT_IMPRESSIONS          = 'wawp_chat_impressions';
	const CHAT_LOCATION_STATS       = 'wawp_chat_location_stats';
	const CHAT_PAGE_STATS           = 'wawp_page_stats';
	const CHAT_SITE_VISITS          = 'wawp_site_visits';
	const CHAT_BUTTON_CLICKS        = 'wawp_chat_button_clicks';
	const CHAT_OPEN_WHATSAPP_CLICKS = 'wawp_open_whatsapp_clicks';
	const CHAT_INTERACTION_TIMES    = 'wawp_chat_interaction_times';
	const CHAT_SOCIAL_CLICKS        = 'wawp_chat_social_clicks';
	const CHAT_DEVICE_STATS         = 'wawp_chat_device_stats';
	const CHAT_OS_STATS             = 'wawp_chat_os_stats';
	const CHAT_HOUR_STATS           = 'wawp_chat_hour_stats';
	const CHAT_DAY_STATS            = 'wawp_chat_day_stats';
	const CHAT_USER_SESSIONS        = 'wawp_user_sessions';

	// -------------------------------------------------------------------------
	// System Internal / Hidden Options
	// -------------------------------------------------------------------------

	const NOTIF_SELECTED_INSTANCE_IDS       = 'wawp_notif_selected_instance_ids';
	const NOTIF_ADMIN_SELECTED_INSTANCE_IDS = 'wawp_notif_admin_selected_instance_ids';
	const V52_MIGRATION_FINAL               = 'wawp_v52_migration_final';
	const SSO_TOKEN                         = 'wawp_sso_token';
	const SSO_SHARED_KEY                    = 'wawp_sso_shared_key';
	const REMOTE_SUPPORT_ENABLED            = 'wawp_remote_support_enabled';
	const LAST_DEACTIVATION_REASON          = 'wawp_last_deactivation_reason';
	const BOOTSTRAP_ON_NEXT_LOGIN           = 'wawp_bootstrap_on_next_login';
	const COUNTRYCODE_CACHE                 = 'wawp_countrycode_cache';
	const WC_ORDER_STORAGE_NOTICE_DISMISSED = 'wawp_wc_order_storage_notice_dismissed';
	const LAST_SYSTEM_CRON_HIT              = 'wawp_last_system_cron_hit';
	const ALL_TIME_VISITS                   = 'wawp_all_time_visits';
	const META_API_SETTINGS                 = 'wawp_meta_api_settings';
	const SITE_B_BLOCK_REASONS              = 'wawp_site_b_block_reasons';
	const ADMIN_NOTICES                     = 'wawp_admin_notices';
	const ACCESS_TOKEN                      = 'wawp_access_token';
	const DB_MIGRATED                       = 'wawp_db_migrated_to_wawp_prefix';
	const NOTIFICATIONS_RULES               = 'wawp_notifications';

	// -------------------------------------------------------------------------
	// Checkout OTP Configuration
	// -------------------------------------------------------------------------

	const CHECKOUT_ENABLE_OTP            = 'wawp_enable_otp';
	const CHECKOUT_OTP_MODE              = 'wawp_otp_mode';
	const CHECKOUT_OTP_MSG_TEMPLATE      = 'wawp_otp_message_template';
	const CHECKOUT_OTP_EMAIL_TEMPLATE    = 'wawp_otp_message_email_template';
	const CHECKOUT_SELECTED_INSTANCE     = 'wawp_selected_instance';
	const CHECKOUT_DISABLE_PAYMENT       = 'wawp_disable_otp_for_payment_methods';
	const CHECKOUT_DISABLE_SHIPPING      = 'wawp_disable_otp_for_shipping_methods';
	const CHECKOUT_OTP_TITLE             = 'wawp_checkout_otp_title';
	const CHECKOUT_OTP_BTN_COLOR         = 'wawp_checkout_otp_button_color';
	const CHECKOUT_OTP_BTN_TEXT_COLOR    = 'wawp_checkout_otp_button_text_color';
	const CHECKOUT_OTP_RESEND_COLOR      = 'wawp_checkout_otp_resend_color';
	const CHECKOUT_OTP_RESEND_TEXT_COLOR = 'wawp_checkout_otp_resend_text_color';
	const CHECKOUT_OTP_METHOD            = 'wawp_checkout_otp_method';
	const CHECKOUT_OTP_SUBJECT_EMAIL     = 'wawp_checkout_otp_subject_email';
	const CHECKOUT_OTP_MESSAGE_EMAIL     = 'wawp_checkout_otp_message_email';
	const CHECKOUT_COLOR_THEME           = 'wawp_checkout_color_theme';
	const CHECKOUT_OTP_EMAIL_TEMPLATE_ID = 'wawp_otp_email_template_id';

	// Checkout WhatsApp Auth Mapping.
	const CHECKOUT_WA_AUTH_TYPE       = 'wawp_checkout_wa_auth_type';
	const CHECKOUT_WA_OTP_LANG_TYPE   = 'wawp_checkout_wa_otp_lang_type';
	const CHECKOUT_WA_OTP_CUSTOM_LANG = 'wawp_checkout_wa_otp_custom_lang';
	const CHECKOUT_WA_OTP_FOOT_EN     = 'wawp_checkout_wa_otp_foot_en';
	const CHECKOUT_WA_OTP_FOOT        = 'wawp_checkout_wa_otp_foot';
	const CHECKOUT_WA_LIST_TITLE      = 'wawp_checkout_wa_list_title';
	const CHECKOUT_WA_LIST_DESC       = 'wawp_checkout_wa_list_desc';
	const CHECKOUT_WA_LIST_FOOTER     = 'wawp_checkout_wa_list_footer';
	const CHECKOUT_WA_LIST_BUTTON     = 'wawp_checkout_wa_list_button';
	const CHECKOUT_WA_LIST_ITEM1      = 'wawp_checkout_wa_list_item1';
	const CHECKOUT_WA_LIST_ITEM1_DESC = 'wawp_checkout_wa_list_item1_desc';
	const CHECKOUT_WA_LIST_ITEM2      = 'wawp_checkout_wa_list_item2';
	const CHECKOUT_WA_LIST_ITEM2_DESC = 'wawp_checkout_wa_list_item2_desc';

	// -------------------------------------------------------------------------
	// Registration Form Configuration
	// -------------------------------------------------------------------------

	const SIGNUP_ENABLE_OTP            = 'wawp_signup_enable_otp';
	const SIGNUP_OTP_METHOD            = 'wawp_signup_otp_method';
	const SIGNUP_OTP_MSG               = 'wawp_signup_otp_message';
	const SIGNUP_OTP_MSG_EMAIL         = 'wawp_signup_otp_message_email';
	const SIGNUP_OTP_SUBJECT_EMAIL     = 'wawp_signup_otp_subject_email';
	const SIGNUP_SELECTED_INSTANCE     = 'wawp_signup_selected_instance';
	const SIGNUP_REDIRECT_URL          = 'wawp_signup_redirect_url';
	const SIGNUP_LOGO                  = 'wawp_signup_logo';
	const SIGNUP_TITLE                 = 'wawp_signup_title';
	const SIGNUP_DESCRIPTION           = 'wawp_signup_description';
	const SIGNUP_FIELD_ORDER           = 'wawp_signup_field_order';
	const SIGNUP_COLOR_THEME           = 'wawp_signup_color_theme';
	const SIGNUP_AUTO_LOGIN            = 'wawp_signup_auto_login';
	const SIGNUP_STRONG_PASSWORD       = 'wawp_signup_enable_strong_password';
	const SIGNUP_PASSWORD_RESET        = 'wawp_signup_enable_password_reset';
	const SIGNUP_FALLBACK              = 'wawp_signup_enable_verification_fallback';
	const SIGNUP_CUSTOM_CSS            = 'wawp_signup_custom_css';
	const SIGNUP_CUSTOM_FIELDS         = 'wawp_signup_custom_fields';
	const SIGNUP_CUSTOM_SHORTCODE      = 'wawp_signup_custom_shortcode';
	const SIGNUP_OTP_EMAIL_TEMPLATE_ID = 'wawp_signup_otp_email_template_id';
	const SIGNUP_PREMIUM_DESIGN        = 'wawp_signup_enable_premium_design';

	// Signup Visual & Field Flags.
	const SIGNUP_FIRST_NAME_ENABLED  = 'wawp_signup_first_name_enabled';
	const SIGNUP_FIRST_NAME_REQUIRED = 'wawp_signup_first_name_required';
	const SIGNUP_LAST_NAME_ENABLED   = 'wawp_signup_last_name_enabled';
	const SIGNUP_LAST_NAME_REQUIRED  = 'wawp_signup_last_name_required';
	const SIGNUP_EMAIL_ENABLED       = 'wawp_signup_email_enabled';
	const SIGNUP_EMAIL_REQUIRED      = 'wawp_signup_email_required';
	const SIGNUP_PHONE_ENABLED       = 'wawp_signup_phone_enabled';
	const SIGNUP_PHONE_REQUIRED      = 'wawp_signup_phone_required';
	const SIGNUP_PASSWORD_ENABLED    = 'wawp_signup_password_enabled';
	const SIGNUP_PASSWORD_REQUIRED   = 'wawp_signup_password_required';

	// Signup Colors.
	const SIGNUP_BTN_BG_COLOR             = 'wawp_signup_btn_bg_color';
	const SIGNUP_BTN_TEXT_COLOR           = 'wawp_signup_btn_text_color';
	const SIGNUP_BTN_HOVER_BG_COLOR       = 'wawp_signup_btn_hover_bg_color';
	const SIGNUP_BTN_HOVER_TEXT_COLOR     = 'wawp_signup_btn_hover_text_color';
	const SIGNUP_WA_BTN_COLOR             = 'wawp_signup_wa_btn_color';
	const SIGNUP_WA_BTN_TEXT_COLOR        = 'wawp_signup_wa_btn_text_color';
	const SIGNUP_FB_BTN_COLOR             = 'wawp_signup_fb_btn_color';
	const SIGNUP_FB_BTN_TEXT_COLOR        = 'wawp_signup_fb_btn_text_color';
	const SIGNUP_EMAIL_BTN_COLOR          = 'wawp_signup_email_btn_color';
	const SIGNUP_EMAIL_BTN_TEXT_COLOR     = 'wawp_signup_email_btn_text_color';
	const SIGNUP_VERIFY_BTN_COLOR         = 'wawp_signup_verify_btn_color';
	const SIGNUP_VERIFY_BTN_TEXT_COLOR    = 'wawp_signup_verify_btn_text_color';
	const SIGNUP_RESEND_BTN_COLOR         = 'wawp_signup_resend_btn_color';
	const SIGNUP_RESEND_BTN_TEXT_COLOR    = 'wawp_signup_resend_btn_text_color';
	const SIGNUP_SHOW_PASS_BTN_COLOR      = 'wawp_signup_show_pass_btn_color';
	const SIGNUP_SHOW_PASS_BTN_TEXT_COLOR = 'wawp_signup_show_pass_btn_text_color';
	const SIGNUP_BACK_BTN_COLOR           = 'wawp_signup_back_btn_color';
	const SIGNUP_BACK_BTN_TEXT_COLOR      = 'wawp_signup_back_btn_text_color';

	// Signup WhatsApp Auth Mapping.
	const SIGNUP_WA_AUTH_TYPE       = 'wawp_signup_wa_auth_type';
	const SIGNUP_WA_OTP_LANG_TYPE   = 'wawp_signup_wa_otp_lang_type';
	const SIGNUP_WA_OTP_CUSTOM_LANG = 'wawp_signup_wa_otp_custom_lang';
	const SIGNUP_WA_OTP_FOOT_EN     = 'wawp_signup_wa_otp_foot_en';
	const SIGNUP_WA_OTP_FOOT        = 'wawp_signup_wa_otp_foot';
	const SIGNUP_WA_LIST_TITLE      = 'wawp_signup_wa_list_title';
	const SIGNUP_WA_LIST_DESC       = 'wawp_signup_wa_list_desc';
	const SIGNUP_WA_LIST_FOOTER     = 'wawp_signup_wa_list_footer';
	const SIGNUP_WA_LIST_BUTTON     = 'wawp_signup_wa_list_button';
	const SIGNUP_WA_LIST_ITEM1      = 'wawp_signup_wa_list_item1';
	const SIGNUP_WA_LIST_ITEM1_DESC = 'wawp_signup_wa_list_item1_desc';
	const SIGNUP_WA_LIST_ITEM2      = 'wawp_signup_wa_list_item2';
	const SIGNUP_WA_LIST_ITEM2_DESC = 'wawp_signup_wa_list_item2_desc';

	// -------------------------------------------------------------------------
	// Abandoned Cart Configuration
	// -------------------------------------------------------------------------

	const AC_ENABLE_POPUP              = 'wawp_ac_enable_popup';
	const AC_POPUP_TITLE               = 'wawp_ac_popup_title';
	const AC_POPUP_DESCRIPTION         = 'wawp_ac_popup_description';
	const AC_POPUP_DISPLAY             = 'wawp_ac_popup_display';
	const AC_POPUP_WHERE               = 'wawp_ac_popup_where';
	const AC_POPUP_EXCLUDE_PAGES       = 'wawp_ac_popup_exclude_pages';
	const AC_ENABLE_DATA_CLEANER       = 'wawp_ac_enable_data_cleaner';
	const AC_POPUP_TRIGGER_CART        = 'wawp_ac_popup_trigger_cart';
	const AC_POPUP_TRIGGER_EXIT        = 'wawp_ac_popup_trigger_exit';
	const AC_POPUP_CLOSE_HIDE_DURATION = 'wawp_ac_popup_close_hide_duration';
	const AC_POPUP_INITIAL_DELAY       = 'wawp_ac_popup_initial_delay';
	const AC_POPUP_AUTOFILL_FRONTEND   = 'wawp_ac_popup_autofill_frontend';
	const AC_POPUP_FREQUENCY           = 'wawp_ac_popup_frequency';
	const AC_POPUP_FREQUENCY_LIMIT     = 'wawp_ac_popup_frequency_limit';
	const AC_POPUP_DEVICES             = 'wawp_ac_popup_devices';
	const AC_POPUP_MIN_CART_VALUE      = 'wawp_ac_popup_min_cart_value';
	const AC_ENABLE_CHECKOUT_AUTOFILL  = 'wawp_ac_enable_checkout_autofill';
	const AC_ENABLE_CART_RESTORATION   = 'wawp_ac_enable_cart_restoration';
	const AC_HIDE_INCOMPLETE_ROWS      = 'wawp_hide_incomplete_rows';

	// Abandoned Cart Popup Styling.
	const AC_POPUP_BTN_COLOR         = 'wawp_ac_popup_btn_color';
	const AC_POPUP_BTN_TEXT_COLOR    = 'wawp_ac_popup_btn_text_color';
	const AC_POPUP_BTN_HOVER_COLOR   = 'wawp_ac_popup_btn_hover_color';
	const AC_POPUP_CARD_COLOR        = 'wawp_ac_popup_card_color';
	const AC_POPUP_CARD_HOVER_COLOR  = 'wawp_ac_popup_card_hover_color';
	const AC_POPUP_TITLE_COLOR       = 'wawp_ac_popup_title_color';
	const AC_POPUP_TITLE_HOVER_COLOR = 'wawp_ac_popup_title_hover_color';
	const AC_POPUP_DESC_COLOR        = 'wawp_ac_popup_desc_color';
	const AC_POPUP_DESC_HOVER_COLOR  = 'wawp_ac_popup_desc_hover_color';
	const AC_POPUP_IMAGE_URL         = 'wawp_ac_popup_image_url';
	const AC_POPUP_IMAGE_TYPE        = 'wawp_ac_popup_image_type';
	const AC_POPUP_IMAGE_ALIGNMENT   = 'wawp_ac_popup_image_alignment';
	const AC_POPUP_CUSTOM_CSS        = 'wawp_ac_popup_custom_css';
	const AC_POPUP_SAVE_BTN          = 'wawp_ac_popup_save_btn';
	const AC_POPUP_SUCCESS_TITLE     = 'wawp_ac_popup_success_title';
	const AC_POPUP_SUCCESS_DESC      = 'wawp_ac_popup_success_desc';
	const AC_POPUP_CONTINUE_BTN      = 'wawp_ac_popup_continue_btn';

	// Abandoned Cart Verification Settings.
	const AC_POPUP_VERIFICATION_METHOD = 'wawp_ac_popup_verification_method';
	const AC_POPUP_WA_AUTH_TYPE        = 'wawp_ac_popup_whatsapp_auth_type';
	const AC_POPUP_WA_OTP_LANG_TYPE    = 'wawp_ac_popup_whatsapp_otp_lang_type';
	const AC_POPUP_WA_OTP_CUSTOM_LANG  = 'wawp_ac_popup_whatsapp_otp_custom_lang';
	const AC_POPUP_WA_OTP_FOOT_EN      = 'wawp_ac_popup_whatsapp_otp_footer_enabled';
	const AC_POPUP_WA_OTP_FOOT         = 'wawp_ac_popup_whatsapp_otp_footer';
	const AC_POPUP_WA_LIST_TITLE       = 'wawp_ac_popup_whatsapp_list_title';
	const AC_POPUP_WA_LIST_DESC        = 'wawp_ac_popup_whatsapp_list_desc';
	const AC_POPUP_WA_LIST_FOOTER      = 'wawp_ac_popup_whatsapp_list_footer';
	const AC_POPUP_WA_LIST_BUTTON      = 'wawp_ac_popup_whatsapp_list_button';
	const AC_POPUP_WA_LIST_ITEM1       = 'wawp_ac_popup_whatsapp_list_item1';
	const AC_POPUP_WA_LIST_ITEM1_DESC  = 'wawp_ac_popup_whatsapp_list_item1_desc';
	const AC_POPUP_WA_LIST_ITEM2       = 'wawp_ac_popup_whatsapp_list_item2';
	const AC_POPUP_WA_LIST_ITEM2_DESC  = 'wawp_ac_popup_whatsapp_list_item2_desc';


	// -------------------------------------------------------------------------
	// SMTP Configuration
	// -------------------------------------------------------------------------

	const SMTP_HOST       = 'wawp_email_smtp_host';
	const SMTP_PORT       = 'wawp_email_smtp_port';
	const SMTP_ENCRYPTION = 'wawp_email_smtp_encryption';
	const SMTP_USER       = 'wawp_email_smtp_user';
	const SMTP_PASS       = 'wawp_email_smtp_pass';
	const SMTP_FROM_EMAIL = 'wawp_email_from_address';
	const SMTP_FROM_NAME  = 'wawp_email_from_name';
	const SMTP_ACTIVE     = 'wawp_email_active';
	const SMTP_AUTH       = 'wawp_email_smtp_auth';

	// -------------------------------------------------------------------------
	// Firebase Configuration
	// -------------------------------------------------------------------------

	const FIREBASE_API_KEY        = 'wawp_firebase_api_key';
	const FIREBASE_PROJECT_ID     = 'wawp_firebase_project_id';
	const FIREBASE_AUTH_DOMAIN    = 'wawp_firebase_auth_domain';
	const FIREBASE_APP_ID         = 'wawp_firebase_app_id';
	const FIREBASE_STORAGE_BUCKET = 'wawp_firebase_storage_bucket';
	const FIREBASE_MSG_SENDER_ID  = 'wawp_firebase_messaging_sender_id';
	const FIREBASE_MEASURE_ID     = 'wawp_firebase_measurement_id';
	const FIREBASE_ACTIVE         = 'wawp_firebase_active';

	// -------------------------------------------------------------------------
	// Google ReCaptcha Settings
	// -------------------------------------------------------------------------

	const GOOGLE_RECAPTCHA_SITE_KEY           = 'wawp_recaptcha_site_key';
	const GOOGLE_RECAPTCHA_SECRET_KEY         = 'wawp_recaptcha_secret_key';
	const GOOGLE_RECAPTCHA_TYPE               = 'wawp_recaptcha_type';
	const GOOGLE_RECAPTCHA_SCORE              = 'wawp_recaptcha_score';
	const GOOGLE_RECAPTCHA_SETTINGS_GROUP     = 'wawp_google_recaptcha_settings_group';
	const GOOGLE_RECAPTCHA_ENABLE_LOGIN       = 'wawp_recaptcha_enable_login';
	const GOOGLE_RECAPTCHA_ENABLE_REGISTER    = 'wawp_recaptcha_enable_register';
	const GOOGLE_RECAPTCHA_ENABLE_LOSTPASS    = 'wawp_recaptcha_enable_lostpassword';
	const GOOGLE_RECAPTCHA_ENABLE_CHECKOUT    = 'wawp_recaptcha_enable_checkout';
	const GOOGLE_RECAPTCHA_ENABLE_WAWP_LOGIN  = 'wawp_recaptcha_enable_wawp_login';
	const GOOGLE_RECAPTCHA_ENABLE_WAWP_SIGNUP = 'wawp_recaptcha_enable_wawp_signup';

	// Underscore Aliases for Google reCAPTCHA (Used in class-wawp-google-recaptcha.php).
	const _SETTINGS_GROUP     = self::GOOGLE_RECAPTCHA_SETTINGS_GROUP;
	const _SITE_KEY           = self::GOOGLE_RECAPTCHA_SITE_KEY;
	const _SECRET_KEY         = self::GOOGLE_RECAPTCHA_SECRET_KEY;
	const _TYPE               = self::GOOGLE_RECAPTCHA_TYPE;
	const _SCORE              = self::GOOGLE_RECAPTCHA_SCORE;
	const _ENABLE_LOGIN       = self::GOOGLE_RECAPTCHA_ENABLE_LOGIN;
	const _ENABLE_REGISTER    = self::GOOGLE_RECAPTCHA_ENABLE_REGISTER;
	const _ENABLE_LOSTPASS    = self::GOOGLE_RECAPTCHA_ENABLE_LOSTPASS;
	const _ENABLE_CHECKOUT    = self::GOOGLE_RECAPTCHA_ENABLE_CHECKOUT;
	const _ENABLE_WAWP_LOGIN  = self::GOOGLE_RECAPTCHA_ENABLE_WAWP_LOGIN;
	const _ENABLE_WAWP_SIGNUP = self::GOOGLE_RECAPTCHA_ENABLE_WAWP_SIGNUP;


	// -------------------------------------------------------------------------
	// Authentication Pages Settings
	// -------------------------------------------------------------------------

	const AUTH_LOGIN_PAGE            = 'wawp_login_page_id';
	const AUTH_SIGNUP_PAGE           = 'wawp_signup_page_id';
	const AUTH_FAST_LOGIN_PAGE       = 'wawp_fast_login_page_id';
	const AUTH_REDIRECT_WP_LOGIN     = 'wawp_redirect_wp_login';
	const AUTH_REDIRECT_MY_ACCOUNT   = 'wawp_redirect_my_account';
	const AUTH_REPLACE_WC_FORMS      = 'wawp_replace_wc_forms';
	const AUTH_SHOW_PHONE_BAR        = 'wawp_show_phone_bar';
	const AUTH_LOCK_SITE             = 'wawp_lock_site';
	const AUTH_SHOW_PHONE_BAR_GLOBAL = 'wawp_show_phone_bar_global';
	const AUTH_SHOW_PREFS            = 'wawp_show_prefs';
	const AUTH_PHONE_BAR_INTRO       = 'wawp_phone_bar_intro';
	const AUTH_PHONE_BAR_OUTRO       = 'wawp_phone_bar_outro';
	const AUTH_OTP_METHOD            = 'wawp_auth_login_method';
	const AUTH_OTP_TEMPLATE          = 'wawp_phone_otp_template';

	// WhatsApp Auth Mapping (Auth Pages specific aliases if needed).
	const AUTH_WA_AUTH_TYPE          = 'wawp_auth_wa_auth_type';
	const AUTH_WA_OTP_LANG_TYPE      = 'wawp_auth_wa_otp_lang_type';
	const AUTH_WA_OTP_CUSTOM_LANG    = 'wawp_auth_wa_otp_custom_lang';
	const AUTH_WA_OTP_FOOTER_ENABLED = 'wawp_auth_wa_otp_foot_en';
	const AUTH_WA_OTP_FOOTER         = 'wawp_auth_wa_otp_foot';
	const AUTH_WA_LIST_TITLE         = 'wawp_auth_wa_list_title';
	const AUTH_WA_LIST_DESC          = 'wawp_auth_wa_list_desc';
	const AUTH_WA_LIST_FOOTER        = 'wawp_auth_wa_list_footer';
	const AUTH_WA_LIST_BUTTON        = 'wawp_auth_wa_list_button';
	const AUTH_WA_LIST_ITEM1         = 'wawp_auth_wa_list_item1';
	const AUTH_WA_LIST_ITEM1_DESC    = 'wawp_auth_wa_list_item1_desc';
	const AUTH_WA_LIST_ITEM2         = 'wawp_auth_wa_list_item2';
	const AUTH_WA_LIST_ITEM2_DESC    = 'wawp_auth_wa_list_item2_desc';

	// Missing AUTH_ constants.
	const AUTH_TITLE                = 'wawp_auth_title';
	const AUTH_DESC                 = 'wawp_auth_description';
	const AUTH_LOGO                 = 'wawp_auth_logo';
	const AUTH_COLOR_THEME          = 'wawp_auth_color_theme';
	const AUTH_CUSTOM_CSS           = 'wawp_auth_custom_css';
	const AUTH_CUSTOM_SHORTCODE     = 'wawp_auth_custom_shortcode';
	const AUTH_PREMIUM_DESIGN       = 'wawp_auth_premium_design';
	const AUTH_WA_INSTANCE          = 'wawp_auth_wa_instance';
	const AUTH_SESSION_TYPE         = 'wawp_auth_session_type';
	const AUTH_SESSION_VALUE        = 'wawp_auth_session_value';
	const AUTH_PRIMARY_EMAIL_METHOD = 'wawp_auth_primary_email_method';
	const AUTH_PRIMARY_PHONE_METHOD = 'wawp_auth_primary_phone_method';
	const AUTH_ENABLE_EMAIL_PASS    = 'wawp_auth_enable_email_password';
	const AUTH_ENABLE_EMAIL_OTP     = 'wawp_auth_enable_email_otp';
	const AUTH_ENABLE_WA_OTP        = 'wawp_auth_enable_wa_otp';
	const AUTH_ENABLE_FB_OTP        = 'wawp_auth_enable_firebase_otp';
	const AUTH_OTP_SUBJECT_EMAIL    = 'wawp_auth_otp_subject_email';
	const AUTH_OTP_EMAIL_TPL        = 'wawp_auth_otp_email_template_id';
	const AUTH_OTP_MSG_EMAIL        = 'wawp_auth_otp_message_email';
	const AUTH_OTP_MSG_WA           = 'wawp_auth_otp_message_whatsapp';
	const AUTH_REDIRECT_RULES       = 'wawp_auth_redirect_rules';

	// Auth Colors.
	const AUTH_WA_BTN_COLOR         = 'wawp_auth_wa_btn_color';
	const AUTH_WA_BTN_TEXT_COLOR    = 'wawp_auth_wa_btn_text_color';
	const AUTH_FB_BTN_COLOR         = 'wawp_auth_fb_btn_color';
	const AUTH_FB_BTN_TEXT_COLOR    = 'wawp_auth_fb_btn_text_color';
	const AUTH_EMAIL_BTN_COLOR      = 'wawp_auth_email_btn_color';
	const AUTH_EMAIL_BTN_TEXT_COLOR = 'wawp_auth_email_btn_text_color';

	const AUTH_BUTTON_COLOR              = 'wawp_auth_button_color';
	const AUTH_BUTTON_TEXT_COLOR         = 'wawp_auth_button_text_color';
	const AUTH_INPUT_STYLE               = 'wawp_auth_input_style';
	const AUTH_VERIFY_BTN_COLOR          = 'wawp_auth_verify_btn_color';
	const AUTH_VERIFY_BTN_TEXT_COLOR     = 'wawp_auth_verify_btn_text_color';
	const AUTH_RESEND_BTN_COLOR          = 'wawp_auth_resend_btn_color';
	const AUTH_RESEND_BTN_TEXT_COLOR     = 'wawp_auth_resend_btn_text_color';
	const AUTH_PASS_LOGIN_BTN_COLOR      = 'wawp_auth_pass_login_btn_color';
	const AUTH_PASS_LOGIN_BTN_TEXT_COLOR = 'wawp_auth_pass_login_btn_text_color';
	const AUTH_SHOW_PASS_BTN_COLOR       = 'wawp_auth_show_pass_btn_color';
	const AUTH_SHOW_PASS_BTN_TEXT_COLOR  = 'wawp_auth_show_pass_btn_text_color';
	const AUTH_BACK_BTN_COLOR            = 'wawp_auth_back_btn_color';
	const AUTH_BACK_BTN_TEXT_COLOR       = 'wawp_auth_back_btn_text_color';
	const AUTH_INITIAL_COOLDOWN          = 'wawp_auth_initial_cooldown';
	const AUTH_MAX_COOLDOWN              = 'wawp_auth_max_cooldown';
	const AUTH_POLLING_INTERVAL          = 'wawp_auth_polling_interval';
	const AUTH_EMAIL_DOMAINS             = 'wawp_auth_email_domains';

	const DEACTIVATION_REASON = 'wawp_deactivation_reason';

	/**
	 * Returns an array of all registered keys for validation purposes.
	 *
	 * @return array
	 */
	public static function get_all_keys() {
		$reflection = new ReflectionClass( __CLASS__ );
		$keys       = array_values( $reflection->getConstants() );

		// Add dynamic keys that might not be constants.
		$keys[] = self::NOTIFICATIONS_RULES;

		return array_unique( $keys );
	}

	/**
	 * Keys that are allowed to be updated via the React dashboard.
	 */
	public static function get_react_keys() {
		return self::get_all_keys();
	}

	/**
	 * Get default values for all settings.
	 */
	public static function get_defaults() {
		return array(
			// Chat Widget.
			self::CHAT_ENABLE                          => 'yes',
			self::CHAT_NUMBERS                         => array(),
			self::CHAT_MESSAGES                        => array(),
			self::CHAT_USER_NAMES                      => array(),
			self::CHAT_USER_ROLES                      => array(),
			self::CHAT_USER_AVATARS                    => array(),

			self::CHAT_HEADER                          => esc_html__( 'Let\'s chat', 'automation-web-platform' ),
			self::CHAT_WELCOME_MSG                     => esc_html__( 'How may we help you?', 'automation-web-platform' ),
			self::CHAT_REPLY_TIME                      => esc_html__( 'Typically replies within minutes', 'automation-web-platform' ),
			self::CHAT_AVATAR_URL                      => WAWP_PLUGIN_URL . 'assets/img/WhatsApp_avatar.png',
			self::CHAT_AVATAR_NAME                     => 'WhatsApp_avatar.png',
			self::CHAT_SOCIAL_INTRO                    => esc_html__( 'Reach us on:', 'automation-web-platform' ),
			self::CHAT_SOCIAL_ICONS                    => array(),
			self::CHAT_SOCIAL_STYLE                    => 'round',
			self::CHAT_SOCIAL_LAYOUT                   => 'vertical',
			self::CHAT_ICON_CLASS                      => 'ri-chat-3-line',
			self::CHAT_ICON_URL                        => WAWP_PLUGIN_URL . 'assets/img/WhatsApp_icon.png',
			self::CHAT_BG_COLOR                        => 'linear-gradient(135deg, #2ee168, #00c66b)',
			self::CHAT_ICON_COLOR                      => '#fff',
			self::CHAT_BTN_SIZE                        => '60',
			self::CHAT_CORNER_RADIUS                   => '50',
			self::CHAT_POSITION                        => 'right',
			self::CHAT_BOTTOM_OFFSET                   => '32',
			self::CHAT_DISPLAY_DESKTOP                 => 'yes',
			self::CHAT_DISPLAY_MOBILE                  => 'yes',
			self::CHAT_TRIGGER_ALL                     => 'yes',
			self::CHAT_PAGE_CONDITIONS                 => array(),
			self::CHAT_DISABLE_POWERED_BY              => 'no',

			// Abandoned Cart.
			self::AC_ENABLE_POPUP                      => 1,
			self::AC_POPUP_TITLE                       => esc_html__( 'Add your WhatsApp Number', 'automation-web-platform' ),
			self::AC_POPUP_DESCRIPTION                 => esc_html__( 'To get a better experience with our website.', 'automation-web-platform' ),
			self::AC_POPUP_DISPLAY                     => 'both',
			self::AC_POPUP_WHERE                       => 'all',
			self::AC_POPUP_EXCLUDE_PAGES               => array(),
			self::AC_POPUP_TRIGGER_CART                => 1,
			self::AC_POPUP_TRIGGER_EXIT                => 1,
			self::AC_POPUP_CLOSE_HIDE_DURATION         => 300,
			self::AC_POPUP_INITIAL_DELAY               => 0,
			self::AC_POPUP_AUTOFILL_FRONTEND           => 1,
			self::AC_POPUP_FREQUENCY                   => 'once',
			self::AC_POPUP_FREQUENCY_LIMIT             => 1,
			self::AC_POPUP_DEVICES                     => 'all',
			self::AC_POPUP_MIN_CART_VALUE              => 0,
			self::AC_ENABLE_CHECKOUT_AUTOFILL          => 1,
			self::AC_ENABLE_CART_RESTORATION           => 1,
			self::AC_HIDE_INCOMPLETE_ROWS              => '0',

			self::AC_POPUP_BTN_COLOR                   => '#004449',
			self::AC_POPUP_BTN_TEXT_COLOR              => '#ffffff',
			self::AC_POPUP_BTN_HOVER_COLOR             => '#003337',
			self::AC_POPUP_CARD_COLOR                  => '#ffffff',
			self::AC_POPUP_CARD_HOVER_COLOR            => '#fcfcfc',
			self::AC_POPUP_TITLE_COLOR                 => '#333333',
			self::AC_POPUP_TITLE_HOVER_COLOR           => '#111111',
			self::AC_POPUP_DESC_COLOR                  => '#666666',
			self::AC_POPUP_DESC_HOVER_COLOR            => '#444444',
			self::AC_POPUP_IMAGE_URL                   => '',
			self::AC_POPUP_IMAGE_TYPE                  => 'inline',
			self::AC_POPUP_IMAGE_ALIGNMENT             => 'center',
			self::AC_POPUP_CUSTOM_CSS                  => '',
			self::AC_POPUP_SAVE_BTN                    => 'Save',
			self::AC_POPUP_SUCCESS_TITLE               => 'Excellent!',
			self::AC_POPUP_SUCCESS_DESC                => 'You can now browse our website better.',
			self::AC_POPUP_CONTINUE_BTN                => 'Continue browsing',

			self::AC_POPUP_VERIFICATION_METHOD         => 'none',
			self::AC_POPUP_WA_AUTH_TYPE                => 'otp',
			self::AC_POPUP_WA_OTP_LANG_TYPE            => 'site',
			self::AC_POPUP_WA_OTP_CUSTOM_LANG          => 'ar',
			self::AC_POPUP_WA_OTP_FOOT_EN              => 0,
			self::AC_POPUP_WA_OTP_FOOT                 => esc_html__( 'Authorized by Wawp Engine', 'automation-web-platform' ),
			self::AC_POPUP_WA_LIST_TITLE               => esc_html__( 'Secure Authentication', 'automation-web-platform' ),
			self::AC_POPUP_WA_LIST_DESC                => esc_html__( 'Verify your identity to continue', 'automation-web-platform' ),
			self::AC_POPUP_WA_LIST_FOOTER              => esc_html__( 'Authorized by Wawp Engine', 'automation-web-platform' ),
			self::AC_POPUP_WA_LIST_BUTTON              => esc_html__( 'Choose Action', 'automation-web-platform' ),
			self::AC_POPUP_WA_LIST_ITEM1               => esc_html__( 'Approve Request', 'automation-web-platform' ),
			self::AC_POPUP_WA_LIST_ITEM1_DESC          => esc_html__( 'This is my login attempt', 'automation-web-platform' ),
			self::AC_POPUP_WA_LIST_ITEM2               => esc_html__( 'Reject & Report', 'automation-web-platform' ),
			self::AC_POPUP_WA_LIST_ITEM2_DESC          => esc_html__( 'I don\'t recognize this', 'automation-web-platform' ),

			// Registration Form.
			self::SIGNUP_ENABLE_OTP                    => 'yes',
			self::SIGNUP_OTP_METHOD                    => 'wa',
			self::SIGNUP_OTP_MSG                       => esc_html__( 'Your verification code is: {otp}', 'automation-web-platform' ),
			self::SIGNUP_OTP_MSG_EMAIL                 => esc_html__( 'Your verification code is: {otp}', 'automation-web-platform' ),
			self::SIGNUP_OTP_SUBJECT_EMAIL             => esc_html__( 'Verification Code', 'automation-web-platform' ),
			self::SIGNUP_AUTO_LOGIN                    => 'yes',
			self::SIGNUP_STRONG_PASSWORD               => 'no',
			self::SIGNUP_PASSWORD_RESET                => 'yes',
			self::SIGNUP_FALLBACK                      => 'yes',
			self::SIGNUP_LOGO                          => '',
			self::SIGNUP_TITLE                         => esc_html__( 'Create Account', 'automation-web-platform' ),
			self::SIGNUP_DESCRIPTION                   => esc_html__( 'Join our community to get started.', 'automation-web-platform' ),
			self::SIGNUP_COLOR_THEME                   => '#004449',
			self::SIGNUP_PREMIUM_DESIGN                => 'yes',

			// Registration Form Field Flags.
			self::SIGNUP_FIRST_NAME_ENABLED            => 'yes',
			self::SIGNUP_FIRST_NAME_REQUIRED           => 'yes',
			self::SIGNUP_LAST_NAME_ENABLED             => 'yes',
			self::SIGNUP_LAST_NAME_REQUIRED            => 'no',
			self::SIGNUP_EMAIL_ENABLED                 => 'yes',
			self::SIGNUP_EMAIL_REQUIRED                => 'yes',
			self::SIGNUP_PHONE_ENABLED                 => 'yes',
			self::SIGNUP_PHONE_REQUIRED                => 'yes',
			self::SIGNUP_PASSWORD_ENABLED              => 'yes',
			self::SIGNUP_PASSWORD_REQUIRED             => 'yes',

			// Registration WhatsApp Template Defaults.
			self::SIGNUP_WA_AUTH_TYPE                  => 'otp',
			self::SIGNUP_WA_OTP_LANG_TYPE              => 'site',
			self::SIGNUP_WA_OTP_CUSTOM_LANG            => 'ar',
			self::SIGNUP_WA_OTP_FOOT_EN                => 0,
			self::SIGNUP_WA_OTP_FOOT                   => 'Authorized by Wawp Engine',
			self::SIGNUP_WA_LIST_TITLE                 => esc_html__( 'Secure Registration', 'automation-web-platform' ),
			self::SIGNUP_WA_LIST_DESC                  => esc_html__( 'Please confirm your identity to complete registration.', 'automation-web-platform' ),
			self::SIGNUP_WA_LIST_FOOTER                => esc_html__( 'Secure authentication via Wawp', 'automation-web-platform' ),
			self::SIGNUP_WA_LIST_BUTTON                => esc_html__( 'Choose Action', 'automation-web-platform' ),
			self::SIGNUP_WA_LIST_ITEM1                 => esc_html__( 'Approve Signup', 'automation-web-platform' ),
			self::SIGNUP_WA_LIST_ITEM1_DESC            => esc_html__( 'Verify this is you', 'automation-web-platform' ),
			self::SIGNUP_WA_LIST_ITEM2                 => esc_html__( 'Reject & Stop', 'automation-web-platform' ),
			self::SIGNUP_WA_LIST_ITEM2_DESC            => esc_html__( 'Cancel this attempt', 'automation-web-platform' ),

			// OTP / Passwordless Login.
			self::CHECKOUT_ENABLE_OTP                  => 'yes',
			self::CHECKOUT_OTP_METHOD                  => 'wa',
			self::CHECKOUT_OTP_MODE                    => 'both',
			self::CHECKOUT_OTP_TITLE                   => esc_html__( 'Identity Verification', 'automation-web-platform' ),
			self::CHECKOUT_COLOR_THEME                 => '#004449',
			self::CHECKOUT_OTP_MSG_TEMPLATE            => esc_html__( 'Your code is {otp}', 'automation-web-platform' ),
			self::CHECKOUT_WA_AUTH_TYPE                => 'otp',
			self::CHECKOUT_WA_OTP_LANG_TYPE            => 'site',
			self::CHECKOUT_WA_OTP_CUSTOM_LANG          => 'ar',
			self::CHECKOUT_WA_OTP_FOOT_EN              => 0,
			self::CHECKOUT_WA_OTP_FOOT                 => 'Authorized by Wawp Engine',
			self::CHECKOUT_WA_LIST_TITLE               => esc_html__( 'Secure Verification', 'automation-web-platform' ),
			self::CHECKOUT_WA_LIST_DESC                => esc_html__( 'Please confirm your identity to complete checkout.', 'automation-web-platform' ),
			self::CHECKOUT_WA_LIST_FOOTER              => esc_html__( 'Secure authentication via Wawp', 'automation-web-platform' ),
			self::CHECKOUT_WA_LIST_BUTTON              => esc_html__( 'Choose Action', 'automation-web-platform' ),
			self::CHECKOUT_WA_LIST_ITEM1               => esc_html__( 'Approve Order', 'automation-web-platform' ),
			self::CHECKOUT_WA_LIST_ITEM1_DESC          => esc_html__( 'Verify this transaction', 'automation-web-platform' ),
			self::CHECKOUT_WA_LIST_ITEM2               => esc_html__( 'Reject & Cancel', 'automation-web-platform' ),
			self::CHECKOUT_WA_LIST_ITEM2_DESC          => esc_html__( 'Cancel this request', 'automation-web-platform' ),

			// Auth Pages (Custom Login/Signup).
			self::AUTH_REDIRECT_WP_LOGIN               => 'yes',
			self::AUTH_REDIRECT_MY_ACCOUNT             => 'no',
			self::AUTH_REPLACE_WC_FORMS                => 'yes',
			self::PHONE_BAR_IN_ACCOUNT                 => 'yes',
			self::PHONE_BAR_LOCK_SITE                  => 'no',
			self::PHONE_BAR_GLOBALLY                   => 'yes',
			self::REPLACE_WC_CHECKOUT_LOGIN            => 'yes',

			// Custom Login Interactive List Defaults.
			self::AUTH_WA_AUTH_TYPE                    => 'otp',
			self::AUTH_WA_OTP_LANG_TYPE                => 'site',
			self::AUTH_WA_OTP_CUSTOM_LANG              => 'ar',
			self::AUTH_WA_OTP_FOOTER_ENABLED           => 0,
			self::AUTH_WA_OTP_FOOTER                   => 'Authorized by Wawp Engine',
			self::AUTH_WA_LIST_TITLE                   => esc_html__( 'Secure Login', 'automation-web-platform' ),
			self::AUTH_WA_LIST_DESC                    => esc_html__( 'Please confirm your identity to continue.', 'automation-web-platform' ),
			self::AUTH_WA_LIST_FOOTER                  => esc_html__( 'Secure authentication via Wawp', 'automation-web-platform' ),
			self::AUTH_WA_LIST_BUTTON                  => esc_html__( 'Choose Action', 'automation-web-platform' ),
			self::AUTH_WA_LIST_ITEM1                   => esc_html__( 'Approve Login', 'automation-web-platform' ),
			self::AUTH_WA_LIST_ITEM1_DESC              => esc_html__( 'Verify this is you', 'automation-web-platform' ),
			self::AUTH_WA_LIST_ITEM2                   => esc_html__( 'Reject & Report', 'automation-web-platform' ),
			self::AUTH_WA_LIST_ITEM2_DESC              => esc_html__( 'Secure your account', 'automation-web-platform' ),

			// Global Phone Bar Interactive List Defaults.
			self::WA_AUTH_TYPE                         => 'otp',
			self::WA_OTP_LANG_TYPE                     => 'site',
			self::WA_OTP_CUSTOM_LANG                   => 'ar',
			self::WA_OTP_FOOTER_ENABLED                => 0,
			self::WA_OTP_FOOTER                        => 'Authorized by Wawp Engine',
			self::WA_LIST_TITLE                        => esc_html__( 'Secure Verification', 'automation-web-platform' ),
			self::WA_LIST_DESC                         => esc_html__( 'Verify your identity to continue', 'automation-web-platform' ),
			self::WA_LIST_FOOTER                       => esc_html__( 'Secure authentication via Wawp', 'automation-web-platform' ),
			self::WA_LIST_BUTTON                       => esc_html__( 'Choose Action', 'automation-web-platform' ),
			self::WA_LIST_ITEM1                        => esc_html__( 'Approve Request', 'automation-web-platform' ),
			self::WA_LIST_ITEM1_DESC                   => esc_html__( 'This is my verification attempt', 'automation-web-platform' ),
			self::WA_LIST_ITEM2                        => esc_html__( 'Reject & Report', 'automation-web-platform' ),
			self::WA_LIST_ITEM2_DESC                   => esc_html__( 'I don\'t recognize this', 'automation-web-platform' ),

			// Senders.
			self::SENDERS_ENABLED                      => array(
				'wa'       => 1,
				'block'    => 1,
				'email'    => 0,
				'meta'     => 0,
				'firebase' => 0,
			),
			self::SMTP_ACTIVE                          => 'no',
			self::FIREBASE_ACTIVE                      => 'no',

			// Core.
			self::EMAIL_TRACKING_ENABLED               => 0,
			self::TRACKING_IDS_ENABLED                 => 1,
			self::AUTH_INITIAL_COOLDOWN                => 30,
			self::AUTH_MAX_COOLDOWN                    => 300,
			self::AUTH_POLLING_INTERVAL                => 1500,
			self::AUTH_EMAIL_DOMAINS                   => array( 'gmail.com', 'yahoo.com', 'outlook.com', 'hotmail.com', 'icloud.com' ),

			// Orders and Status.
			self::ORDERS_STATUS_ENABLED                => 1,
			self::ORDERS_STATUS_CUSTOM_STATUSES        => array(),
			self::ORDERS_STATUS_DEFAULT_STATUSES       => array(
				'pending'    => array(
					'color' => '#f59e0b',
					'icon'  => 'ri-time-line',
				),
				'processing' => array(
					'color' => '#3b82f6',
					'icon'  => 'ri-loader-4-line',
				),
				'on-hold'    => array(
					'color' => '#f97316',
					'icon'  => 'ri-pause-circle-line',
				),
				'completed'  => array(
					'color' => '#10b981',
					'icon'  => 'ri-checkbox-circle-line',
				),
				'cancelled'  => array(
					'color' => '#ef4444',
					'icon'  => 'ri-close-circle-line',
				),
				'refunded'   => array(
					'color' => '#8b5cf6',
					'icon'  => 'ri-refund-line',
				),
				'failed'     => array(
					'color' => '#f43f5e',
					'icon'  => 'ri-error-warning-line',
				),
			),
			self::ORDERS_STATUS_FILTER_PAYMENT_METHOD  => 0,
			self::ORDERS_STATUS_FILTER_SHIPPING_METHOD => 0,
			self::ORDERS_STATUS_FILTER_PRODUCT_NAMES   => 0,
			self::ORDERS_STATUS_FILTER_PHONE_NUMBER    => 0,
			self::ORDERS_STATUS_FILTER_SHIPPING_COST   => 0,
			self::ORDERS_STATUS_FORCE_INITIAL_ENABLED  => 0,
			self::ORDERS_STATUS_FORCE_INITIAL_STATUS   => '',
		);
	}
}
