<?php
// Exit if accessed directly to ensure security.
if (!defined('ABSPATH')) {
    exit;
}

// Define the plugin directory constant if not already defined
if (!defined('IAFWZCAI_PLUGIN_DIR')) {
    define('IAFWZCAI_PLUGIN_DIR', plugin_dir_path(__FILE__));
}

// Include all necessary files
require_once IAFWZCAI_PLUGIN_DIR . 'src/db/account.php';
require_once IAFWZCAI_PLUGIN_DIR . 'src/db/field-mapping.php';
require_once IAFWZCAI_PLUGIN_DIR . 'src/db/error-log.php';
require_once IAFWZCAI_PLUGIN_DIR . 'src/product/util.php';
require_once IAFWZCAI_PLUGIN_DIR . 'src/forms/form-fields.php';
require_once IAFWZCAI_PLUGIN_DIR . 'src/forms/form-group-ids.php';
require_once IAFWZCAI_PLUGIN_DIR . 'src/forms/form-name.php';
require_once IAFWZCAI_PLUGIN_DIR . 'src/forms/id-mapping.php';
require_once IAFWZCAI_PLUGIN_DIR . 'src/forms/ai-settings.php';
require_once IAFWZCAI_PLUGIN_DIR . 'src/product/product.php';
