<?php
/**
 * Desktop Mode — Native Users Window module bootstrap.
 *
 * Replaces the classic `users.php` iframe with a native desktop
 * window driven by `<wpd-table>` and core's `/wp/v2/users` REST
 * endpoint, behind a per-user opt-in (`OsSettingsState.nativeUsersEnabled`,
 * surfaced as the "Use the native Users window" toggle in OS Settings →
 * Features).
 *
 * Public PHP surface (all filterable):
 *
 *   - desktop_mode_users_window_user_can_use
 *   - desktop_mode_users_window_args
 *   - desktop_mode_users_window_template_html
 *   - desktop_mode_users_window_query_args
 *   - desktop_mode_users_window_assignable_roles
 *
 * The URL-remap swap (Users tile → native window when opt-in is on)
 * is implemented JS-side in `src/desktop.ts` via
 * `registerNativeUrlRemap`.
 *
 * @package WPDesktopMode
 * @since   0.18.0
 */

defined( 'ABSPATH' ) || exit;

require_once __DIR__ . '/permissions.php';
require_once __DIR__ . '/login-tracker.php';
require_once __DIR__ . '/window.php';
require_once __DIR__ . '/rest.php';
