This commit is contained in:
zbatte committed 2026-07-02 15:54:39 -06:00
commit 9883323161
17470 files changed
+4470592

No files matched your search

@@ -0,0 +1,43 @@
<?php
/**
* Main entry point for auto-generated asset registration.
* Do not edit this file manually.
*
* @package jetpack_podcast
*/
// Load script module registration.
$modules_file = __DIR__ . '/modules.php';
if ( file_exists( $modules_file ) ) {
require_once $modules_file;
}
// Load script registration.
$scripts_file = __DIR__ . '/scripts.php';
if ( file_exists( $scripts_file ) ) {
require_once $scripts_file;
}
// Load style registration.
$styles_file = __DIR__ . '/styles.php';
if ( file_exists( $styles_file ) ) {
require_once $styles_file;
}
// Load routes registration.
$routes_file = __DIR__ . '/routes.php';
if ( file_exists( $routes_file ) ) {
require_once $routes_file;
}
// Load widgets registration.
$widgets_file = __DIR__ . '/widgets.php';
if ( file_exists( $widgets_file ) ) {
require_once $widgets_file;
}
// Load pages registration.
$pages_file = __DIR__ . '/pages.php';
if ( file_exists( $pages_file ) ) {
require_once $pages_file;
}
@@ -0,0 +1,14 @@
<?php
/**
* Plugin constants - Auto-generated by build process.
* Do not edit this file manually.
*
* Returns an array of constants for use in other templates.
*
* @package jetpack_podcast
*/
return array(
'version' => '1.3.0',
'build_url' => plugin_dir_url( __FILE__ ),
);
@@ -0,0 +1,63 @@
<?php
/**
* Script module registration - Auto-generated by build process.
* Do not edit this file manually.
*
* @package jetpack_podcast
*/
/**
* Register all script modules.
*/
function jetpack_podcast_register_script_modules() {
// Ensure this only runs once. wp_default_scripts can fire multiple times,
// and each wp_deregister_script_module() call also dequeues the module.
// If a module was enqueued between calls, repeated deregister/register
// cycles would lose the enqueue state.
static $already_registered = false;
if ( $already_registered ) {
return;
}
$already_registered = true;
// Load build constants
$constants_file = __DIR__ . '/constants.php';
if ( ! file_exists( $constants_file ) ) {
return;
}
$build_constants = require $constants_file;
$modules_dir = __DIR__ . '/modules';
$modules_file = $modules_dir . '/registry.php';
if ( ! file_exists( $modules_file ) ) {
return;
}
$modules = require $modules_file;
$base_url = $build_constants['build_url'] . 'modules/';
foreach ( $modules as $module ) {
// WASM-only modules (e.g., vips worker) only have .min.js; use it even when SCRIPT_DEBUG is `true`.
$extension = '.min.js';
$asset_path = $modules_dir . '/' . $module['asset'];
$asset = file_exists( $asset_path ) ? require $asset_path : array();
// Deregister first to override any previously registered version
// (e.g., Core's default modules when running as a plugin).
wp_deregister_script_module( $module['id'] );
wp_register_script_module(
$module['id'],
$base_url . $module['path'] . $extension,
$asset['module_dependencies'] ?? array(),
$asset['version'] ?? false,
array(
'fetchpriority' => 'low',
'in_footer' => true,
)
);
}
}
add_action( 'wp_default_scripts', 'jetpack_podcast_register_script_modules' );
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-primitives', 'wp-private-apis', 'wp-theme', 'wp-url'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/lazy-editor', 'import' => 'dynamic'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '188faf6c64fdd1b4');
@@ -0,0 +1,11 @@
<?php
/**
* Script module registry - Auto-generated by build process.
* Do not edit this file manually.
*
* @package jetpack_podcast
*/
return array(
);
@@ -0,0 +1,16 @@
<?php
/**
* Pages loader - Auto-generated by build process.
* Do not edit this file manually.
*
* @package jetpack_podcast
*/
foreach ( [
__DIR__ . '/pages/jetpack-podcast-dashboard/page.php',
__DIR__ . '/pages/jetpack-podcast-dashboard/page-wp-admin.php',
] as $file ) {
if ( file_exists( $file ) ) {
require_once $file;
}
}
@@ -0,0 +1 @@
// Empty module loader for page dependencies
@@ -0,0 +1,317 @@
<?php
/**
* Page: jetpack-podcast-dashboard (wp-admin integrated)
* Auto-generated by build process.
* Do not edit this file manually.
*
* This version integrates with the standard WordPress admin interface,
* keeping the wp-admin sidebar and scripts/styles intact.
*
* @package jetpack_podcast
*/
// Global storage for jetpack-podcast-dashboard routes and menu items
global $jetpack_podcast_jetpack_podcast_dashboard_wp_admin_routes, $jetpack_podcast_jetpack_podcast_dashboard_wp_admin_menu_items;
$jetpack_podcast_jetpack_podcast_dashboard_wp_admin_routes = array();
$jetpack_podcast_jetpack_podcast_dashboard_wp_admin_menu_items = array();
/**
* Register a route for the jetpack-podcast-dashboard-wp-admin page.
*
* @param string $path Route path (e.g., '/types/$type/edit/$id').
* @param string|null $content_module Script module ID for content (stage/inspector).
* @param string|null $route_module Script module ID for route lifecycle hooks.
*/
function jetpack_podcast_register_jetpack_podcast_dashboard_wp_admin_route( $path, $content_module = null, $route_module = null ) {
global $jetpack_podcast_jetpack_podcast_dashboard_wp_admin_routes;
$route = array( 'path' => $path );
if ( ! empty( $content_module ) ) {
$route['content_module'] = $content_module;
}
if ( ! empty( $route_module ) ) {
$route['route_module'] = $route_module;
}
$jetpack_podcast_jetpack_podcast_dashboard_wp_admin_routes[] = $route;
}
/**
* Register a menu item for the jetpack-podcast-dashboard-wp-admin page.
* Note: Menu items are registered but not displayed in single-page mode.
*
* @param string $id Menu item ID.
* @param string $label Display label.
* @param string $to Route path to navigate to.
* @param string $parent_id Optional. Parent menu item ID.
*/
function jetpack_podcast_register_jetpack_podcast_dashboard_wp_admin_menu_item( $id, $label, $to, $parent_id = '' ) {
global $jetpack_podcast_jetpack_podcast_dashboard_wp_admin_menu_items;
$menu_item = array(
'id' => $id,
'label' => $label,
'to' => $to,
);
if ( ! empty( $parent_id ) ) {
$menu_item['parent'] = $parent_id;
}
$jetpack_podcast_jetpack_podcast_dashboard_wp_admin_menu_items[] = $menu_item;
}
/**
* Get all registered routes for the jetpack-podcast-dashboard-wp-admin page.
*
* @return array Array of route objects.
*/
function jetpack_podcast_get_jetpack_podcast_dashboard_wp_admin_routes() {
global $jetpack_podcast_jetpack_podcast_dashboard_wp_admin_routes;
return $jetpack_podcast_jetpack_podcast_dashboard_wp_admin_routes ?? array();
}
/**
* Get all registered menu items for the jetpack-podcast-dashboard-wp-admin page.
*
* @return array Array of menu item objects.
*/
function jetpack_podcast_get_jetpack_podcast_dashboard_wp_admin_menu_items() {
global $jetpack_podcast_jetpack_podcast_dashboard_wp_admin_menu_items;
return $jetpack_podcast_jetpack_podcast_dashboard_wp_admin_menu_items ?? array();
}
/**
* Preload REST API data for the jetpack-podcast-dashboard-wp-admin page.
* Automatically called during page rendering.
*/
function jetpack_podcast_jetpack_podcast_dashboard_wp_admin_preload_data() {
// Define paths to preload - same for all pages
// Please also change packages/core-data/src/entities.js when changing this.
$preload_paths = array(
'/?_fields=description,gmt_offset,home,image_sizes,image_size_threshold,name,site_icon,site_icon_url,site_logo,timezone_string,url,page_for_posts,page_on_front,show_on_front',
array( '/wp/v2/settings', 'OPTIONS' ),
);
// Use rest_preload_api_request to gather the preloaded data
$preload_data = array_reduce(
$preload_paths,
'rest_preload_api_request',
array()
);
// Register the preloading middleware with wp-api-fetch
wp_add_inline_script(
'wp-api-fetch',
sprintf(
'wp.apiFetch.use( wp.apiFetch.createPreloadingMiddleware( %s ) );',
wp_json_encode( $preload_data )
),
'after'
);
}
/**
* Enqueue scripts and styles for the jetpack-podcast-dashboard-wp-admin page.
* Hooked to admin_enqueue_scripts.
*
* @param string $hook_suffix The current admin page.
*/
function jetpack_podcast_jetpack_podcast_dashboard_wp_admin_enqueue_scripts( $hook_suffix ) {
// Check all possible ways this page can be accessed:
// 1. Menu page via admin.php?page=jetpack-podcast-dashboard-wp-admin (plugin)
// 2. Direct file via jetpack-podcast-dashboard.php (Core) - screen ID will be 'jetpack-podcast-dashboard'
$current_screen = get_current_screen();
$is_our_page = (
( isset( $_GET['page'] ) && 'jetpack-podcast-dashboard-wp-admin' === $_GET['page'] ) || // phpcs:ignore WordPress.Security.NonceVerification.Recommended
( $current_screen && 'jetpack-podcast-dashboard' === $current_screen->id )
);
if ( ! $is_our_page ) {
return;
}
// Load build constants
$build_constants = require __DIR__ . '/../../constants.php';
/**
* Fires when the jetpack-podcast-dashboard admin page is initialized so extensions can register routes and menu items.
*/
do_action( 'jetpack-podcast-dashboard-wp-admin_init' );
// Preload REST API data
jetpack_podcast_jetpack_podcast_dashboard_wp_admin_preload_data();
// Get all registered routes
$routes = jetpack_podcast_get_jetpack_podcast_dashboard_wp_admin_routes();
// Get boot module asset file for dependencies
$asset_file = __DIR__ . '/../../modules/boot/index.min.asset.php';
if ( file_exists( $asset_file ) ) {
$asset = require $asset_file;
// This script serves two purposes:
// 1. It ensures all the globals that are made available to the modules are loaded.
// 2. It initializes the boot module as an inline script.
wp_register_script( 'jetpack-podcast-dashboard-wp-admin-prerequisites', '', $asset['dependencies'], $asset['version'], true );
/*
* Add inline script to initialize the app using initSinglePage (no menuItems).
* The dynamic import is deferred until DOMContentLoaded so that all classic
* script dependencies of @wordpress/boot (wp-private-apis, wp-components,
* wp-theme, etc.) have finished parsing and executing before the boot module
* evaluates. Otherwise, a modulepreloaded @wordpress/boot can win the race
* against the classic-script-printing pass on fast CDN-fronted hosts in
* Chrome, evaluating before wp.theme.privateApis is defined and throwing
* "Cannot unlock an undefined object". See <https://core.trac.wordpress.org/ticket/65103>.
*/
$init_js_function = <<<'JS'
( mountId, routes ) => {
const run = async () => {
const mod = await import( "@wordpress/boot" );
mod.initSinglePage( { mountId, routes } );
};
if ( document.readyState === "loading" ) {
document.addEventListener( "DOMContentLoaded", run );
} else {
run();
}
}
JS;
wp_add_inline_script(
'jetpack-podcast-dashboard-wp-admin-prerequisites',
sprintf(
'( %s )( %s, %s );',
$init_js_function,
wp_json_encode( 'jetpack-podcast-dashboard-wp-admin-app', JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ),
wp_json_encode( $routes, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES )
)
);
// Register prerequisites style by filtering script dependencies to find registered styles
$style_dependencies = array_filter(
$asset['dependencies'],
function ( $handle ) {
return wp_style_is( $handle, 'registered' );
}
);
wp_register_style( 'jetpack-podcast-dashboard-wp-admin-prerequisites', false, $style_dependencies, $asset['version'] );
// Build dependencies for jetpack-podcast-dashboard-wp-admin module
$boot_dependencies = array(
array(
'import' => 'static',
'id' => '@wordpress/boot',
),
);
// Add all registered routes as dependencies
foreach ( $routes as $route ) {
if ( isset( $route['route_module'] ) ) {
$boot_dependencies[] = array(
'import' => 'static',
'id' => $route['route_module'],
);
}
if ( isset( $route['content_module'] ) ) {
$boot_dependencies[] = array(
'import' => 'dynamic',
'id' => $route['content_module'],
);
}
}
/**
* Filters the boot script-module dependencies for the
* jetpack-podcast-dashboard-wp-admin page.
*
* Surfaces extending this page can append entries to the boot
* dependency list. Each entry is an array with 'import' (string
* 'static' or 'dynamic') and 'id' (script-module handle) keys.
*
* @param array $boot_dependencies Boot dependencies for the page.
*/
$boot_dependencies = apply_filters(
'jetpack-podcast-dashboard-wp-admin_boot_dependencies',
$boot_dependencies
);
// Dummy script module to ensure dependencies are loaded
wp_register_script_module(
'jetpack-podcast-dashboard-wp-admin',
$build_constants['build_url'] . 'pages/jetpack-podcast-dashboard/loader.js',
$boot_dependencies
);
// Enqueue the boot scripts and styles
wp_enqueue_script( 'jetpack-podcast-dashboard-wp-admin-prerequisites' );
wp_enqueue_script_module( 'jetpack-podcast-dashboard-wp-admin' );
wp_enqueue_style( 'jetpack-podcast-dashboard-wp-admin-prerequisites' );
}
}
/**
* Render the jetpack-podcast-dashboard-wp-admin page.
* Call this function from add_menu_page or add_submenu_page.
* This renders within the normal WordPress admin interface.
*/
function jetpack_podcast_jetpack_podcast_dashboard_wp_admin_render_page() {
?>
<style>
/* Critical styles to prevent layout shifts - inlined for immediate application */
#wpwrap {
overflow-y: auto;
}
body {
background: #fff;
}
/* Reset wp-admin padding */
#wpcontent {
padding-inline-start: 0;
}
#wpbody-content {
padding-bottom: 0;
}
/* Hide legacy admin elements */
#wpbody-content > div:not(.boot-layout-container):not(#screen-meta) {
display: none;
}
#wpfooter {
display: none;
}
/* Accessibility regions */
.a11y-speak-region {
inset-inline-start: -1px;
top: -1px;
}
/* Admin menu indicators */
ul#adminmenu a.wp-has-current-submenu::after,
ul#adminmenu > li.current > a.current::after {
border-inline-end-color: #fff;
}
/* Media frame fix */
.media-frame select.attachment-filters:last-of-type {
width: auto;
max-width: 100%;
}
/* Responsive overflow fix for #wpwrap */
@media (min-width: 782px) {
#wpwrap {
overflow-y: initial;
}
}
</style>
<div id="jetpack-podcast-dashboard-wp-admin-app" class="boot-layout-container"></div>
<?php
}
// Hook the enqueue function to admin_enqueue_scripts
add_action( 'admin_enqueue_scripts', 'jetpack_podcast_jetpack_podcast_dashboard_wp_admin_enqueue_scripts' );
@@ -0,0 +1,318 @@
<?php
/**
* Page: jetpack-podcast-dashboard
* Auto-generated by build process.
* Do not edit this file manually.
*
* @package jetpack_podcast
*/
// Global storage for jetpack-podcast-dashboard routes and menu items
global $jetpack_podcast_jetpack_podcast_dashboard_routes, $jetpack_podcast_jetpack_podcast_dashboard_menu_items;
$jetpack_podcast_jetpack_podcast_dashboard_routes = array();
$jetpack_podcast_jetpack_podcast_dashboard_menu_items = array();
/**
* Register a route for the jetpack-podcast-dashboard page.
*
* @param string $path Route path (e.g., '/types/$type/edit/$id').
* @param string|null $content_module Script module ID for content (stage/inspector).
* @param string|null $route_module Script module ID for route lifecycle hooks.
*/
function jetpack_podcast_register_jetpack_podcast_dashboard_route( $path, $content_module = null, $route_module = null ) {
global $jetpack_podcast_jetpack_podcast_dashboard_routes;
$route = array( 'path' => $path );
if ( ! empty( $content_module ) ) {
$route['content_module'] = $content_module;
}
if ( ! empty( $route_module ) ) {
$route['route_module'] = $route_module;
}
$jetpack_podcast_jetpack_podcast_dashboard_routes[] = $route;
}
/**
* Register a menu item for the jetpack-podcast-dashboard page.
*
* @param string $id Menu item ID.
* @param string $label Display label.
* @param string $to Route path to navigate to.
* @param string $parent_id Optional. Parent menu item ID.
* @param string $parent_type Optional. Parent type: 'drilldown' or 'dropdown'.
*/
function jetpack_podcast_register_jetpack_podcast_dashboard_menu_item( $id, $label, $to, $parent_id = '', $parent_type = '' ) {
global $jetpack_podcast_jetpack_podcast_dashboard_menu_items;
$menu_item = array(
'id' => $id,
'label' => $label,
'to' => $to,
);
if ( ! empty( $parent_id ) ) {
$menu_item['parent'] = $parent_id;
}
if ( ! empty( $parent_type ) && in_array( $parent_type, array( 'drilldown', 'dropdown' ), true ) ) {
$menu_item['parent_type'] = $parent_type;
}
$jetpack_podcast_jetpack_podcast_dashboard_menu_items[] = $menu_item;
}
/**
* Get all registered routes for the jetpack-podcast-dashboard page.
*
* @return array Array of route objects.
*/
function jetpack_podcast_get_jetpack_podcast_dashboard_routes() {
global $jetpack_podcast_jetpack_podcast_dashboard_routes;
return $jetpack_podcast_jetpack_podcast_dashboard_routes ?? array();
}
/**
* Get all registered menu items for the jetpack-podcast-dashboard page.
*
* @return array Array of menu item objects.
*/
function jetpack_podcast_get_jetpack_podcast_dashboard_menu_items() {
global $jetpack_podcast_jetpack_podcast_dashboard_menu_items;
return $jetpack_podcast_jetpack_podcast_dashboard_menu_items ?? array();
}
/**
* Preload REST API data for the jetpack-podcast-dashboard page.
* Automatically called during page rendering.
*/
function jetpack_podcast_jetpack_podcast_dashboard_preload_data() {
// Define paths to preload - same for all pages
// Please also change packages/core-data/src/entities.js when changing this.
$preload_paths = array(
'/?_fields=description,gmt_offset,home,image_sizes,image_size_threshold,name,site_icon,site_icon_url,site_logo,timezone_string,url,page_for_posts,page_on_front,show_on_front',
array( '/wp/v2/settings', 'OPTIONS' ),
);
// Use rest_preload_api_request to gather the preloaded data
$preload_data = array_reduce(
$preload_paths,
'rest_preload_api_request',
array()
);
// Register the preloading middleware with wp-api-fetch
wp_add_inline_script(
'wp-api-fetch',
sprintf(
'wp.apiFetch.use( wp.apiFetch.createPreloadingMiddleware( %s ) );',
wp_json_encode( $preload_data )
),
'after'
);
}
/**
* Render the jetpack-podcast-dashboard page.
* Call this function from add_menu_page or add_submenu_page.
*/
function jetpack_podcast_jetpack_podcast_dashboard_render_page() {
// Load build constants
$build_constants = require __DIR__ . '/../../constants.php';
// Set current screen
set_current_screen();
// Remove unwanted deprecated handler
remove_action( 'admin_head', 'wp_admin_bar_header' );
// Remove unwanted scripts and styles that were enqueued during `admin_init`
foreach ( wp_scripts()->queue as $script ) {
wp_dequeue_script( $script );
}
foreach ( wp_styles()->queue as $style ) {
wp_dequeue_style( $style );
}
/**
* Fires when the jetpack-podcast-dashboard page is initialized so extensions can register routes and menu items.
*/
do_action( 'jetpack-podcast-dashboard_init' );
// Enqueue command palette assets for boot-based pages
if ( function_exists( 'wp_enqueue_command_palette_assets' ) ) {
wp_enqueue_command_palette_assets();
}
// Preload REST API data
jetpack_podcast_jetpack_podcast_dashboard_preload_data();
// Get all registered routes and menu items
$menu_items = jetpack_podcast_get_jetpack_podcast_dashboard_menu_items();
$routes = jetpack_podcast_get_jetpack_podcast_dashboard_routes();
// Get boot module asset file for dependencies
$asset_file = __DIR__ . '/../../modules/boot/index.min.asset.php';
if ( file_exists( $asset_file ) ) {
$asset = require $asset_file;
// This script serves two purposes:
// 1. It ensures all the globals that are made available to the modules are loaded.
// 2. It initializes the boot module as an inline script.
wp_register_script( 'jetpack-podcast-dashboard-prerequisites', '', $asset['dependencies'], $asset['version'], true );
// Add inline script to initialize the app
$init_modules = [];
wp_add_inline_script(
'jetpack-podcast-dashboard-prerequisites',
sprintf(
'import("@wordpress/boot").then(mod => mod.init({mountId: "%s", menuItems: %s, routes: %s, initModules: %s, dashboardLink: "%s"}));',
'jetpack-podcast-dashboard-app',
wp_json_encode( $menu_items, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ),
wp_json_encode( $routes, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ),
wp_json_encode( $init_modules, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ),
esc_url( admin_url( '/' ) )
)
);
// Register prerequisites style by filtering script dependencies to find registered styles
$style_dependencies = array_filter(
$asset['dependencies'],
function ( $handle ) {
return wp_style_is( $handle, 'registered' );
}
);
wp_register_style( 'jetpack-podcast-dashboard-prerequisites', false, $style_dependencies, $asset['version'] );
// Build dependencies for jetpack-podcast-dashboard module
$boot_dependencies = array(
array(
'import' => 'static',
'id' => '@wordpress/boot',
),
);
// Add init modules as static dependencies
// No init modules configured
// Add all registered routes as dependencies
foreach ( $routes as $route ) {
if ( isset( $route['route_module'] ) ) {
$boot_dependencies[] = array(
'import' => 'static',
'id' => $route['route_module'],
);
}
if ( isset( $route['content_module'] ) ) {
$boot_dependencies[] = array(
'import' => 'dynamic',
'id' => $route['content_module'],
);
}
}
/**
* Filters the boot script-module dependencies for the
* jetpack-podcast-dashboard page.
*
* Surfaces extending this page can append entries to the boot
* dependency list. Each entry is an array with 'import' (string
* 'static' or 'dynamic') and 'id' (script-module handle) keys.
*
* @param array $boot_dependencies Boot dependencies for the page.
*/
$boot_dependencies = apply_filters(
'jetpack-podcast-dashboard_boot_dependencies',
$boot_dependencies
);
// Dummy script module to ensure dependencies are loaded
wp_register_script_module(
'jetpack-podcast-dashboard',
$build_constants['build_url'] . 'pages/jetpack-podcast-dashboard/loader.js',
$boot_dependencies
);
// Enqueue the boot scripts and styles
wp_enqueue_script( 'jetpack-podcast-dashboard-prerequisites' );
wp_enqueue_script_module( 'jetpack-podcast-dashboard' );
wp_enqueue_style( 'jetpack-podcast-dashboard-prerequisites' );
}
// Output the HTML
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo esc_html( get_admin_page_title() ); ?></title>
<style>
html {
background: #f1f1f1;
color: #444;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
line-height: 1.4em;
}
body {
margin: 0;
}
#wpadminbar { display: none; }
</style>
<?php
global $hook_suffix;
// phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
$hook_suffix = 'jetpack-podcast-dashboard';
// BEGIN see wp-admin/admin-header.php
print_admin_styles();
print_head_scripts();
/** This action is documented in wp-admin/admin-header.php */
do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
/** This action is documented in wp-admin/admin-header.php */
do_action( 'admin_head' );
// END see wp-admin/admin-header.php
?>
</head>
<body class="jetpack-podcast-dashboard">
<div id="jetpack-podcast-dashboard-app" style="height: 100vh; box-sizing: border-box;"></div>
<?php
// BEGIN see wp-admin/admin-footer.php
/** This action is documented in wp-admin/admin-footer.php */
do_action( 'admin_footer', '' );
// Print import map first so it's available for inline scripts
wp_script_modules()->print_import_map();
print_footer_scripts();
wp_script_modules()->print_enqueued_script_modules();
wp_script_modules()->print_script_module_preloads();
wp_script_modules()->print_script_module_data();
/** This action is documented in wp-admin/admin-footer.php */
do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
// END see wp-admin/admin-footer.php
?>
</body>
</html>
<?php
exit;
}
/**
* Intercept admin_init to render the page early.
* This bypasses the default WordPress admin template.
*/
function jetpack_podcast_jetpack_podcast_dashboard_intercept_render() {
// phpcs:ignore WordPress.Security.NonceVerification.Recommended
if ( isset( $_GET['page'] ) && 'jetpack-podcast-dashboard' === $_GET['page'] ) {
jetpack_podcast_jetpack_podcast_dashboard_render_page();
exit;
}
}
// Hook the interceptor to admin_init
add_action( 'admin_init', 'jetpack_podcast_jetpack_podcast_dashboard_intercept_render' );
@@ -0,0 +1,113 @@
<?php
/**
* Routes registration - Auto-generated by build process.
* Registers all routes on their respective page init hooks.
* Do not edit this file manually.
*
* @package jetpack_podcast
*/
// Load routes registry
$routes_file = __DIR__ . '/routes/registry.php';
if ( ! file_exists( $routes_file ) ) {
return;
}
$routes = require $routes_file;
// Group routes by page and store in globals for page-specific functions
$routes_by_page = array();
foreach ( $routes as $route ) {
$page_slug = $route['page'];
if ( ! isset( $routes_by_page[ $page_slug ] ) ) {
$routes_by_page[ $page_slug ] = array();
}
$routes_by_page[ $page_slug ][] = $route;
}
// Store routes data in globals for each page
foreach ( $routes_by_page as $page_slug => $page_routes ) {
$page_slug_underscore = str_replace( '-', '_', $page_slug );
$global_name = 'jetpack_podcast_' . $page_slug_underscore . '_routes_data';
$GLOBALS[ $global_name ] = $page_routes;
}
/**
* Generic helper function to register routes for a page.
*
* @param array $page_routes Array of route data for the page.
* @param string $register_function_name Name of the function to call for registering each route.
*/
function jetpack_podcast_register_page_routes( $page_routes, $register_function_name ) {
// Load build constants
$build_constants = require __DIR__ . '/constants.php';
foreach ( $page_routes as $route ) {
$content_handle = null;
$route_handle = null;
// Register content module if exists
if ( $route['has_content'] ) {
$content_asset_path = __DIR__ . "/routes/{$route['name']}/content.min.asset.php";
if ( file_exists( $content_asset_path ) ) {
$content_asset = require $content_asset_path;
$content_handle = 'jetpack-podcast/routes/' . $route['name'] . '/content';
$extension = '.min.js';
// Deregister first to override any previously registered version
// (e.g., Core's default modules when running as a plugin).
wp_deregister_script_module( $content_handle );
wp_register_script_module(
$content_handle,
$build_constants['build_url'] . 'routes/' . $route['name'] . '/content' . $extension,
$content_asset['module_dependencies'] ?? array(),
$content_asset['version'] ?? false
);
}
}
// Register route module if exists
if ( $route['has_route'] ) {
$route_asset_path = __DIR__ . "/routes/{$route['name']}/route.min.asset.php";
if ( file_exists( $route_asset_path ) ) {
$route_asset = require $route_asset_path;
$route_handle = 'jetpack-podcast/routes/' . $route['name'] . '/route';
$extension = '.min.js';
// Deregister first to override any previously registered version
// (e.g., Core's default modules when running as a plugin).
wp_deregister_script_module( $route_handle );
wp_register_script_module(
$route_handle,
$build_constants['build_url'] . 'routes/' . $route['name'] . '/route' . $extension,
$route_asset['module_dependencies'] ?? array(),
$route_asset['version'] ?? false
);
}
}
// Register route with page
if ( function_exists( $register_function_name ) ) {
call_user_func( $register_function_name, $route['path'], $content_handle, $route_handle );
}
}
}
// Page-specific route registration functions
// Page-specific route registration functions for jetpack-podcast-dashboard
/**
* Register routes for jetpack-podcast-dashboard page (full-page mode).
*/
function jetpack_podcast_register_jetpack_podcast_dashboard_page_routes() {
global $jetpack_podcast_jetpack_podcast_dashboard_routes_data;
jetpack_podcast_register_page_routes( $jetpack_podcast_jetpack_podcast_dashboard_routes_data, 'jetpack_podcast_register_jetpack_podcast_dashboard_route' );
}
add_action( 'jetpack-podcast-dashboard_init', 'jetpack_podcast_register_jetpack_podcast_dashboard_page_routes' );
/**
* Register routes for jetpack-podcast-dashboard page (wp-admin mode).
*/
function jetpack_podcast_register_jetpack_podcast_dashboard_wp_admin_page_routes() {
global $jetpack_podcast_jetpack_podcast_dashboard_routes_data;
jetpack_podcast_register_page_routes( $jetpack_podcast_jetpack_podcast_dashboard_routes_data, 'jetpack_podcast_register_jetpack_podcast_dashboard_wp_admin_route' );
}
add_action( 'jetpack-podcast-dashboard-wp-admin_init', 'jetpack_podcast_register_jetpack_podcast_dashboard_wp_admin_page_routes' );
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-primitives', 'wp-private-apis', 'wp-theme', 'wp-url', 'wp-warning'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => 'b31ca04869c0bb8fb826');
@@ -0,0 +1,137 @@
var sOe=Object.create;var lP=Object.defineProperty;var cOe=Object.getOwnPropertyDescriptor;var lOe=Object.getOwnPropertyNames;var uOe=Object.getPrototypeOf,dOe=Object.prototype.hasOwnProperty;var fOe=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var d=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(o){throw r=[o],o}};var _t=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},ho=(e,t)=>{for(var r in t)lP(e,r,{get:t[r],enumerable:!0})},cP=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of lOe(t))!dOe.call(e,n)&&n!==r&&lP(e,n,{get:()=>t[n],enumerable:!(o=cOe(t,n))||o.enumerable});return e},Fy=(e,t,r)=>(cP(e,t,"default"),r&&cP(r,t,"default")),g=(e,t,r)=>(r=e!=null?sOe(uOe(e)):{},cP(t||!e||!e.__esModule?lP(r,"default",{value:e,enumerable:!0}):r,e));var d$=d(()=>{});function ua(){return window.JetpackScriptData}function ul(){return ua()?.site}function Jf(e=""){return`${ua()?.site.admin_url}${e}`}function f$(e=""){return Jf(`admin.php?page=my-jetpack${e}`)}function n4(){return ua()?.site?.is_wpcom_platform}var p$=d(()=>{});var dl=d(()=>{d$();p$()});var b1=_t((yft,m$)=>{m$.exports=window.wp.apiFetch});var V=_t((_ft,g$)=>{g$.exports=window.ReactJSXRuntime});var v$=_t((Sft,b$)=>{var i4={};try{i4=fOe("jetpackConfig")}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),i4={missingConfig:!0}}var x$=e=>Object.hasOwn(i4,e),pOe=e=>{if(!x$(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return i4[e]};b$.exports={jetpackConfigHas:x$,jetpackConfigGet:pOe}});var v1=_t((Cft,y$)=>{y$.exports=window.wp.url});function Vy(e){class t extends Error{constructor(...o){super(...o),this.name=e}}return t}function vOe(e,t){let r=e,o=e,n={"X-WP-Nonce":t},i={credentials:"same-origin",headers:n},a={method:"post",credentials:"same-origin",headers:Object.assign({},n,{"Content-type":"application/json"})},s=l,c={setApiRoot(h){r=h},setWpcomOriginApiUrl(h){o=h},setApiNonce(h){n={"X-WP-Nonce":h},i={credentials:"same-origin",headers:n},a={method:"post",credentials:"same-origin",headers:Object.assign({},n,{"Content-type":"application/json"})}},setCacheBusterCallback:h=>{s=h},registerSite:(h,x,y)=>{let b={};return(0,a4.jetpackConfigHas)("consumer_slug")&&(b.plugin_slug=(0,a4.jetpackConfigGet)("consumer_slug")),x!==null&&(b.redirect_uri=x),y&&(b.from=y),f(`${r}jetpack/v4/connection/register`,a,{body:JSON.stringify(b)}).then(qe).then(Xe)},fetchAuthorizationUrl:h=>u((0,w$.addQueryArgs)(`${r}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:h}),i).then(qe).then(Xe),fetchSiteConnectionData:()=>u(`${r}jetpack/v4/connection/data`,i).then(Xe),fetchSiteConnectionStatus:()=>u(`${r}jetpack/v4/connection`,i).then(Xe),fetchSiteConnectionTest:()=>u(`${r}jetpack/v4/connection/test`,i).then(qe).then(Xe),fetchUserConnectionData:()=>u(`${r}jetpack/v4/connection/data`,i).then(Xe),fetchUserTrackingSettings:()=>u(`${r}jetpack/v4/tracking/settings`,i).then(qe).then(Xe),updateUserTrackingSettings:h=>f(`${r}jetpack/v4/tracking/settings`,a,{body:JSON.stringify(h)}).then(qe).then(Xe),disconnectSite:()=>f(`${r}jetpack/v4/connection`,a,{body:JSON.stringify({isActive:!1})}).then(qe).then(Xe),fetchConnectUrl:()=>u(`${r}jetpack/v4/connection/url`,i).then(qe).then(Xe),unlinkUser:(h=!1,x={})=>{let y={linked:!1,force:!!h};return x.disconnectAllUsers&&(y["disconnect-all-users"]=!0),f(`${r}jetpack/v4/connection/user`,a,{body:JSON.stringify(y)}).then(qe).then(Xe)},reconnect:()=>f(`${r}jetpack/v4/connection/reconnect`,a).then(qe).then(Xe),fetchConnectedPlugins:()=>u(`${r}jetpack/v4/connection/plugins`,i).then(qe).then(Xe),setHasSeenWCConnectionModal:()=>f(`${r}jetpack/v4/seen-wc-connection-modal`,a).then(qe).then(Xe),fetchModules:()=>u(`${r}jetpack/v4/module/all`,i).then(qe).then(Xe),fetchModule:h=>u(`${r}jetpack/v4/module/${h}`,i).then(qe).then(Xe),activateModule:h=>f(`${r}jetpack/v4/module/${h}/active`,a,{body:JSON.stringify({active:!0})}).then(qe).then(Xe),deactivateModule:h=>f(`${r}jetpack/v4/module/${h}/active`,a,{body:JSON.stringify({active:!1})}),updateModuleOptions:(h,x)=>f(`${r}jetpack/v4/module/${h}`,a,{body:JSON.stringify(x)}).then(qe).then(Xe),updateSettings:h=>f(`${r}jetpack/v4/settings`,a,{body:JSON.stringify(h)}).then(qe).then(Xe),getProtectCount:()=>u(`${r}jetpack/v4/module/protect/data`,i).then(qe).then(Xe),resetOptions:h=>f(`${r}jetpack/v4/options/${h}`,a,{body:JSON.stringify({reset:!0})}).then(qe).then(Xe),activateVaultPress:()=>f(`${r}jetpack/v4/plugins`,a,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(qe).then(Xe),getVaultPressData:()=>u(`${r}jetpack/v4/module/vaultpress/data`,i).then(qe).then(Xe),installLine truncated
`))):k&&(M=[k],S.setCustomValidity(k))):T&&(S.setCustomValidity(""),E.customError=!1,S.validationMessage?(A=S.validationMessage,M=[S.validationMessage]):S.validity.valid&&!E.valid&&(E.valid=!0))}let O={value:_,state:E,error:A??(Array.isArray(k)?k[0]:k??""),errors:M,initialValue:i.initialValue};C(O),o(O)}),v=Zh.useCallback((_={})=>Tr(h,l.valid===!1?{"aria-invalid":!0}:Pt,_),[h,l.valid]),w=Zh.useCallback((_={})=>Tr({onChange(R){if(R.nativeEvent.defaultPrevented)return;if(r(u),!f()){b(R.currentTarget.value,!0);return}let S=R.currentTarget;if(S.value===""){b(S.value);return}x.clear(),a?x.start(a,()=>{b(S.value)}):b(S.value)}},v(_)),[v,r,u,x,b,a,f]);return Zh.useMemo(()=>({getValidationProps:v,getInputValidationProps:w,inputRef:y,commit:b}),[v,w,b])}var Zh,P5,oX=d(()=>{"use client";Zh=g(W(),1);go();Ei();gt();hu();ep();vl();X1();T5();P5=Object.keys(qh)});function nX(e){let{commit:t,invalid:r,markedDirtyRef:o,name:n,setRegisteredFieldId:i,setValidityData:a,validityData:s}=e,{formRef:c}=mu(),l=M5.useRef(null),u=M5.useRef(null),f=M5.useRef(null),p=pe(()=>{let b=u.current;if(b)return b.getValue?b.getValue():b.value}),m=pe(()=>{let b=u.current;if(!b)return;let v=b.value;v===void 0&&(v=p()),o.current=!0,t(v)});function h(){let b=u.current;!b||!b.id||c.current.fields.set(b.id,{getValue:p,name:n,controlRef:b.controlRef??f,validityData:Xh(s,r),validate:m})}function x(b=u.current?.id){b&&c.current.fields.delete(b)}function y(){let b=u.current;if(!b)return;let v=b.value;v===void 0&&(v=p()),s.initialValue===null&&v!==null&&a(w=>({...w,initialValue:v}))}return ue(()=>{let b=u.current;!b||!b.id||c.current.fields.set(b.id,{getValue:p,name:n,controlRef:b.controlRef??f,validityData:Xh(s,r),validate:m})},[c,p,r,n,m,s]),ue(()=>{let b=c.current.fields;return()=>{let v=u.current?.id;v&&b.delete(v)}},[c]),pe((b,v)=>{if(!v){l.current===b&&(l.current=null,x(),u.current=null,i(void 0));return}let w=u.current?.id;l.current=b,u.current=v,i(v.id),w&&w!==v.id&&x(w),y(),h()})}var M5,iX=d(()=>{"use client";M5=g(W(),1);nt();gt();T5();X1()});var Xo,I5,oVe,aX,sX=d(()=>{"use client";Xo=g(W(),1);gt();hc();vl();QK();X1();HM();Pr();oX();iX();I5=g(V(),1),oVe=Xo.forwardRef(function(t,r){let{errors:o,validationMode:n,submitAttemptedRef:i}=mu(),{render:a,className:s,validate:c,validationDebounceTime:l=0,validationMode:u=n,name:f,disabled:p=!1,invalid:m,dirty:h,touched:x,actionsRef:y,style:b,...v}=t,{disabled:w}=JK(),_=pe(c||(()=>null)),R=w||p,[S,C]=Xo.useState(!1),[P,k]=Xo.useState(!1),[M,E]=Xo.useState(!1),[A,T]=Xo.useState(!1),O=h??P,L=x??S,D=Xo.useRef(!1),I=Xo.useRef(void 0),j=Xo.useCallback(()=>I.current,[]),H=Xo.useCallback(ne=>{I.current=ne},[]),N=pe(ne=>{h===void 0&&(ne&&(D.current=!0),k(ne))}),F=pe(ne=>{x===void 0&&C(ne)}),Q=pe(()=>u==="onChange"||u==="onSubmit"&&i.current),z=!!f&&Object.hasOwn(o,f)&&o[f]!==void 0,G=m===!0||z,[K,ce]=Xo.useState({state:qh,error:"",errors:[],value:null,initialValue:null}),te=!G&&K.state.valid,$=Xo.useMemo(()=>({disabled:R,touched:L,dirty:O,valid:te,filled:M,focused:A}),[R,L,O,te,M,A]),q=rX({setValidityData:ce,validate:_,validityData:K,validationDebounceTime:l,invalid:G,markedDirtyRef:D,state:$,name:f,shouldValidateOnChange:Q,getRegisteredFieldId:j}),ae=K.value,Z=Xo.useCallback(()=>{D.current=!0,q.commit(ae)},[q,ae]),U=nX({commit:q.commit,invalid:G,markedDirtyRef:D,name:f,setRegisteredFieldId:H,setValidityData:ce,validityData:K});Xo.useImperativeHandle(y,()=>({validate:Z}),[Z]);let re=Xo.useMemo(()=>({invalid:G,name:f,validityData:K,setValidityData:ce,disabled:R,touched:L,setTouched:F,dirty:O,setDirty:N,filled:M,setFilled:E,focused:A,setFocused:T,validate:_,validationMode:u,validationDebounceTime:l,shouldValidateOnChange:Q,state:$,markedDirtyRef:D,registerFieldControl:U,validation:q}),[G,f,K,R,L,F,O,N,M,E,A,T,_,u,l,Q,$,U,q]),ee=st("div",t,{ref:r,state:$,props:v,stateAttributesMapping:Pi});return(0,I5.jsx)(PM.Provider,{value:re,children:ee})}),aX=Xo.forwardRef(function(t,r){return(0,I5.jsx)(E5,{children:(0,I5.jsx)(oVe,{...t,ref:r})})})});var yw,cX,lX=d(()=>{"use client";yw=g(W(),1);hc();vl();Pr();hu();FM();cX=yw.forwardRef(function(t,r){let{render:o,className:n,style:i,id:a,nativeLabel:s=!0,...c}=t,l=fn(!1),{labelId:u}=zn(),f=yw.useRef(null),p=y5({id:u??a,native:s});return st("label",t,{ref:[r,f],state:l.state,props:[p,c],stateAttributesMapping:Pi})})});var Jh,WM,nVe,uX,dX=d(()=>{"use client";Jh=g(W(),1);nt();hc();hu();vl();X1();Pr();Vd();Fh();su();Rh();WM=g(V(),1),nVe={...Pi,...uc},uX=Jh.forwardRef(function(t,r){let{render:o,id:n,className:i,match:a,style:s,...c}=t,l=Ri(n),{validityData:u,state:f,name:p}=fn(!1),{setMessageIds:m}=zn(),{errors:h}=mu(),x=p?h[p]:null,y=typeof a=="string",b=!1;a===!0?b=!0:y?b=!!u.state[a]:b=!!x||u.state.valid===!1;let{mounted:v,transitionStatus:w,setMounted:_}=lc(b);ue(()=>{if(!(!b||!l))return m(L=>L.concat(l)),()=>{m(L=>L.filter(D=>D!==l))}},[b,l,m]);let R=Jh.useRef(null),[S,C]=Jh.useState(null),[P,k]=Jh.useState(null),M=u.errors.length>1?(0,WM.jsx)("ul",{children:u.errors.map(L=>(0,WM Line truncated
&[data-orientation=vertical]{border:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus-brand,var(--wp-admin-theme-color,#3858e9));box-sizing:border-box}}.a5fd8814f195aa5e__tab{align-items:center;background:#0000;border:none;border-radius:0;box-shadow:none;color:var(--wpds-color-fg-interactive-neutral,#1e1e1e);cursor:var(--wpds-cursor-control,pointer);display:flex;flex:1 0 auto;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);font-weight:400;line-height:1.2;outline:none;padding:0;position:relative;white-space:nowrap;z-index:1;&[data-disabled]{color:var(--wpds-color-fg-interactive-neutral-disabled,#8d8d8d);cursor:default;@media (forced-colors:active){color:GrayText}}&:not([data-disabled]):is(:hover,:focus-visible){color:var(--wpds-color-fg-interactive-neutral-active,#1e1e1e)}&:after{border-radius:var(--wpds-border-radius-sm,2px);opacity:0;outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus-brand,var(--wp-admin-theme-color,#3858e9));pointer-events:none;position:absolute;z-index:-1;@media not (prefers-reduced-motion){transition:opacity .1s linear}}&:focus-visible:after{opacity:1}[data-orientation=horizontal] &{height:48px;padding-inline:var(--wpds-dimension-padding-lg,16px);scroll-margin:24px;&:after{content:"";inset:var(--wpds-dimension-padding-md,12px)}}._59228b5227f38a99__is-minimal-variant[data-orientation=horizontal] &{padding-inline:0;&:after{inset-inline:round(up,var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)),1px)}}[data-orientation=vertical] &{min-height:40px;padding:var(--wpds-dimension-padding-sm,8px) var(--wpds-dimension-padding-md,12px)}[data-orientation=vertical][data-select-on-move=false] &:after{content:"";inset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}}._5dfc77e6edd345d4__tab-children{align-items:center;display:flex;flex-grow:1;[data-orientation=horizontal] &{justify-content:center}[data-orientation=vertical] &{justify-content:start}}._4a20e969d15e5ac1__tab-chevron{flex-shrink:0;margin-inline-end:calc(var(--wpds-dimension-gap-xs, 4px)*-1);opacity:0;[data-orientation=horizontal] &{display:none}[role=tab]:is([aria-selected=true],:focus-visible,:hover) &{opacity:1}@media not (prefers-reduced-motion){[data-select-on-move=true]
[role=tab]:is([aria-selected=true])
&{transition:opacity .15s linear .15s}}&:dir(rtl){rotate:180deg}}}`);jw={tablist:"_7313adbc8a112e90__tablist","is-overflowing-first":"_9f2ac729c68a735a__is-overflowing-first","is-overflowing-last":"_81c799c1f3cdd261__is-overflowing-last","is-minimal-variant":"_59228b5227f38a99__is-minimal-variant",indicator:"_1c37dcfaa1ad8cda__indicator",tab:"a5fd8814f195aa5e__tab","tab-children":"_5dfc77e6edd345d4__tab-children","tab-chevron":"_4a20e969d15e5ac1__tab-chevron"},Xte=1,Qte=(0,ag.forwardRef)(function({children:t,variant:r="default",className:o,activateOnFocus:n,...i},a){let[s,c]=(0,ag.useState)(null),[l,u]=(0,ag.useState)({first:!1,last:!1,isScrolling:!1});(0,ag.useEffect)(()=>{if(!s)return;let p=()=>{let{scrollWidth:y,clientWidth:b,scrollLeft:v}=s,w=Math.max(y-b,0),R=(s.dir||(typeof window<"u"?window.getComputedStyle(s).direction:"ltr"))==="rtl"&&v<0?-v:v;u({first:R>Xte,last:R<w-Xte,isScrolling:y>b})},m=new ResizeObserver(p);m.observe(s);let h=!1,x=()=>{h||(requestAnimationFrame(()=>{p(),h=!1}),h=!0)};return s.addEventListener("scroll",x,{passive:!0}),p(),()=>{s.removeEventListener("scroll",x),m.disconnect()}},[s]);let f=(0,Zte.useMergeRefs)([a,p=>c(p)]);return(0,KC.jsxs)(wl.List,{ref:f,activateOnFocus:n,"data-select-on-move":n?"true":"false",className:me(jw.tablist,l.first&&jw["is-overflowing-first"],l.last&&jw["is-overflowing-last"],jw[`is-${r}-variant`],o),...i,tabIndex:i.tabIndex??(l.isScrolling?-1:void 0),children:[t,(0,KC.jsx)(wl.Indicator,{className:jw.indicator})]})})});function ize(){let e=(0,Ai.useContext)(sN);(0,Ai.useEffect)(()=>{if(e)return e.registerTab()},[e])}function aze(){}function sze(){let e=(0,Ai.useContext)(sN);(0,Ai.useEffect)(()=>{if(e)return e.registerPanel()},[e])}function cze(){}function lze({children:e}){let t=(0,Ai.useRef)(0),r=(0,Ai.useRef)(0),o=_ee(()=>{let s=t.current,c=r.current;if(s!==c)throw new Error(`Tabs: Tab/Panel count mismatch (${s} Tabs, ${c} Panels). Each Tab must be associated with exactly one Panel. Mismatched or missing associations can break screen reader navigation and violate WAI-ARIA Tabs pattern requirements.`)}),n=(0,Ai.useCallback)(()=>(t.current+=1,o(),()=>{t.current-=1,o()}),[o]),i=(0,Ai.useCallback)(()=>(r.current+=1,o(),()=>{r.current-=1,o()}),[o]),a=(0,Ai.useMemo)(()=>({registerTab:n,registerPanel:i}),[n,i]);return(0,zw.jsx)(sN.Provider,{value:a,children:e})}function uze({children:e}){return(0,zw.jsx)(zw.Fragment,{children:e})}var Ai,zw,XC,sN,tre,rre,ore,ZC=d(()=>{Ai=g(we(),1);See();zw=g(V(),1),XC=!1,sN=XC?(0,Ai.createContext)(null):null;tre=XC?ize:aze;rre=XC?sze:cze;ore=XC?lze:uze});function lN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&fze(document)),e.__wpStyleRuntime}function dze(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${cN}]`))if(r.getAttribute(cN)===t)return!0;return!1}function ire(e,t,r){if(!e.head)return;let o=lN(),n=o.injectedStyles.get(e);if(n||(n=new Set,o.injectedStyles.set(e,n)),n.has(t))return;if(dze(e,t)){n.add(t);return}let i=e.createElement("style");i.setAttribute(cN,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),n.add(t)}function fze(e){let t=lN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)ire(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function are(e,t){let r=lN();r.styles.set(e,t);for(let o of r.documents.keys())ire(o,e,t)}var nre,sre,cN,pze,mze,cre,lre=d(()=>{nre=g(we(),1);lt();ux();ZC();sre=g(V(),1),cN="data-wp-hash";typeof process>"u",are("1fb29d3a3c","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,#0000);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 #0000);color:var(--_gcd-input-color,var(--wpds-color-fg-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,#0000);border-color:var(--_gcd-input-border-color-disabled,#0000);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color- Line truncated
&[data-orientation=vertical]{border:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus-brand,var(--wp-admin-theme-color,#3858e9));box-sizing:border-box}}.a5fd8814f195aa5e__tab{align-items:center;background:#0000;border:none;border-radius:0;box-shadow:none;color:var(--wpds-color-fg-interactive-neutral,#1e1e1e);cursor:var(--wpds-cursor-control,pointer);display:flex;flex:1 0 auto;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);font-weight:400;line-height:1.2;outline:none;padding:0;position:relative;white-space:nowrap;z-index:1;&[data-disabled]{color:var(--wpds-color-fg-interactive-neutral-disabled,#8d8d8d);cursor:default;@media (forced-colors:active){color:GrayText}}&:not([data-disabled]):is(:hover,:focus-visible){color:var(--wpds-color-fg-interactive-neutral-active,#1e1e1e)}&:after{border-radius:var(--wpds-border-radius-sm,2px);opacity:0;outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus-brand,var(--wp-admin-theme-color,#3858e9));pointer-events:none;position:absolute;z-index:-1;@media not (prefers-reduced-motion){transition:opacity .1s linear}}&:focus-visible:after{opacity:1}[data-orientation=horizontal] &{height:48px;padding-inline:var(--wpds-dimension-padding-lg,16px);scroll-margin:24px;&:after{content:"";inset:var(--wpds-dimension-padding-md,12px)}}._59228b5227f38a99__is-minimal-variant[data-orientation=horizontal] &{padding-inline:0;&:after{inset-inline:round(up,var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)),1px)}}[data-orientation=vertical] &{min-height:40px;padding:var(--wpds-dimension-padding-sm,8px) var(--wpds-dimension-padding-md,12px)}[data-orientation=vertical][data-select-on-move=false] &:after{content:"";inset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}}._5dfc77e6edd345d4__tab-children{align-items:center;display:flex;flex-grow:1;[data-orientation=horizontal] &{justify-content:center}[data-orientation=vertical] &{justify-content:start}}._4a20e969d15e5ac1__tab-chevron{flex-shrink:0;margin-inline-end:calc(var(--wpds-dimension-gap-xs, 4px)*-1);opacity:0;[data-orientation=horizontal] &{display:none}[role=tab]:is([aria-selected=true],:focus-visible,:hover) &{opacity:1}@media not (prefers-reduced-motion){[data-select-on-move=true]
[role=tab]:is([aria-selected=true])
&{transition:opacity .15s linear .15s}}&:dir(rtl){rotate:180deg}}}`);dN={tablist:"_7313adbc8a112e90__tablist","is-overflowing-first":"_9f2ac729c68a735a__is-overflowing-first","is-overflowing-last":"_81c799c1f3cdd261__is-overflowing-last","is-minimal-variant":"_59228b5227f38a99__is-minimal-variant",indicator:"_1c37dcfaa1ad8cda__indicator",tab:"a5fd8814f195aa5e__tab","tab-children":"_5dfc77e6edd345d4__tab-children","tab-chevron":"_4a20e969d15e5ac1__tab-chevron"},hre=(0,pre.forwardRef)(function({className:t,children:r,...o},n){return tre(),(0,Bw.jsxs)(wl.Tab,{ref:n,className:me(dN.tab,t),...o,children:[(0,Bw.jsx)("span",{className:dN["tab-children"],children:r}),(0,Bw.jsx)(Gd,{icon:rg,className:dN["tab-chevron"]})]})})});var Ms={};ho(Ms,{List:()=>Qte,Panel:()=>cre,Root:()=>dre,Tab:()=>hre});var xre=d(()=>{ere();lre();fre();gre()});var Hw=d(()=>{GJ();aQ();EQ();Ute();dx();wee();Kte();RA();xre();lI();HC()});var bre,vre,yre,wre,_re=d(()=>{lt();bre=g(we(),1),vre=g(V(),1),yre=(0,bre.forwardRef)(({children:e,className:t,ariaLabel:r,as:o="div",...n},i)=>(0,vre.jsx)(o,{ref:i,className:me("admin-ui-navigable-region",t),"aria-label":r,role:"region",tabIndex:"-1",...n,children:e}));yre.displayName="NavigableRegion";wre=yre});var Ge=_t((s8t,Sre)=>{Sre.exports=window.wp.components});var Cre,Rre,kre,mN=d(()=>{Cre=g(Ge(),1),{Fill:Rre,Slot:kre}=(0,Cre.createSlotFill)("SidebarToggle")});function gN(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&vze(document)),e.__wpStyleRuntime}function bze(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${hN}]`))if(r.getAttribute(hN)===t)return!0;return!1}function Ere(e,t,r){if(!e.head)return;let o=gN(),n=o.injectedStyles.get(e);if(n||(n=new Set,o.injectedStyles.set(e,n)),n.has(t))return;if(bze(e,t)){n.add(t);return}let i=e.createElement("style");i.setAttribute(hN,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),n.add(t)}function vze(e){let t=gN();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)Ere(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function yze(e,t){let r=gN();r.styles.set(e,t);for(let o of r.documents.keys())Ere(o,e,t)}function Tre({headingLevel:e=1,breadcrumbs:t,badges:r,visual:o,title:n,subTitle:i,actions:a,showSidebarToggle:s=!0}){let c=`h${e}`;return(0,yc.jsxs)(ma,{direction:"column",className:sg.header,children:[(0,yc.jsxs)(ma,{className:sg["header-content"],direction:"row",gap:"sm",justify:"space-between",children:[(0,yc.jsxs)(ma,{direction:"row",gap:"sm",align:"center",justify:"start",children:[s&&(0,yc.jsx)(kre,{bubblesVirtually:!0,className:sg["sidebar-toggle-slot"]}),o&&(0,yc.jsx)("div",{className:sg["header-visual"],"aria-hidden":"true",children:o}),n&&(0,yc.jsx)(vc,{className:sg["header-title"],render:(0,yc.jsx)(c,{}),variant:"heading-lg",children:n}),t,r]}),a&&(0,yc.jsx)(ma,{align:"center",className:sg["header-actions"],direction:"row",gap:"sm",children:a})]}),i&&(0,yc.jsx)(vc,{render:(0,yc.jsx)("p",{}),variant:"body-md",className:sg["header-subtitle"],children:i})]})}var yc,hN,sg,Pre=d(()=>{Hw();mN();yc=g(V(),1),hN="data-wp-hash";typeof process>"u",yze("aa9c241ccc","._956b6df0898efed0__page{text-wrap:pretty;background-color:var(--wpds-color-bg-surface-neutral,#fcfcfc);color:var(--wpds-color-fg-content-neutral,#1e1e1e);display:flex;flex-flow:column;height:100%;position:relative;z-index:1}._0625b55e82a0d93d__header{background:var(--wpds-color-bg-surface-neutral-strong,#fff);border-block-end:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral-weak,#e4e4e4);inset-block-start:0;padding:var(--wpds-dimension-padding-lg,16px) var(--wpds-dimension-padding-2xl,24px);position:sticky;z-index:1}.a43c44d5ae28b2e8__header-content{min-height:calc(var(--wpds-dimension-base, 4px)*8)}.b7cb5b9daf3a3b25__header-actions{flex-shrink:0}._8113be94e7caf73c__header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._9a776c7f70996f61__header-visual{display:grid;flex-shrink:0;grid-template-columns:1fr;grid-template-rows:1fr;height:calc(var(--wpds-dimension-base, 4px)*6);width:calc(var(--wpds-dimension-base, 4px)*6);>*{grid-column:1/-1;grid-row:1/-1;max-height:100%;max-width:100%}}.d5e0920cd15d35bc__sidebar-toggle-slot:empty{display:none}._60fea2f6bf5319cd__header-subtitle{color:var(--wpds-color-fg-content-neutral-weak,#707070);padding-block-end:var(--wpds-dimension-padding-xs,4px)}.be5e57d029ec4036__content{display:flex;flex-direction:column;flex-grow:1;overflow:auto;&._128806d0b26e3a50__has-padding{padding:var(--wpds-dimension-padding-lg,16px) var(--wpds-dimension-padding-2xl,24px)}}");sg={page:"_956b6df0898efed0__page",header:"_0625b55e82a0d93d__header","header-content":"a43c44d5ae28b2e8__header-content","header-actions":"b7cb5b9daf3a3b25__header-actions","header-title":"_8113be94e7caf73c__header-title","header-visual":"_9a7 Line truncated
s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1
c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1
c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0
L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0
c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5
l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4
c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1
c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z`}),(0,Ot.jsx)(Br.Path,{d:`M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1
s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1
c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1
c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0
L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0
c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5
l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4
c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1
c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z`}),(0,Ot.jsx)(Br.Path,{d:"M21.6,12.5c0,0.6-0.3,1-0.9,1c-0.6,0-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1C21.3,11.7,21.6,12.1,21.6,12.5z"}),(0,Ot.jsx)(Br.Path,{d:"M4.1,12.5c0,0.6-0.3,1-0.9,1s-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1S4.1,12.1,4.1,12.5z"})]}),aBe=({opacity:e=1,size:t,color:r})=>(0,Ot.jsx)(ga,{size:t,opacity:e,color:r,children:(0,Ot.jsx)(Br.Path,{d:`M2.1,5.8c0-0.1,0-0.1,0-0.2c0-0.2,0.1-0.5,0.1-0.7c0.1-0.4,0.4-0.6,0.7-0.8l8.3-2.9c0.1-0.1,0.3-0.1,0.4-0.1l0.5,0.1
l8.3,2.9c0.3,0.2,0.5,0.4,0.7,0.7c0.2,0.2,0.2,0.4,0.2,0.7c0,0.1,0,0.1,0,0.2v0.1c-0.1,0.5-0.2,0.9-0.3,1.4
c-0.2,0.4-0.3,1.2-0.7,2.2c-0.3,1-0.7,2.1-1.1,3.1c-0.5,1-1,2.1-1.6,3.3s-1.4,2.3-2.2,3.5c-0.9,1.1-1.8,2.2-2.8,3.1
c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4c-1.2-1.1-2.4-2.4-3.5-4c-1-1.6-1.9-3-2.5-4.3c-0.6-1.3-1.1-2.7-1.6-4
C2.8,8.7,2.5,7.6,2.3,7C2.3,6.5,2.1,6.1,2.1,5.8z M2.9,5.9c0,0.2,0.1,0.4,0.1,0.8C3.1,7,3.2,7.5,3.5,8.2C3.7,9,3.9,9.7,4.2,10.6
c0.3,0.7,0.7,1.7,1.1,2.7c0.4,1,1,2,1.5,2.9c0.5,1,1.2,1.9,1.9,2.9c0.8,1,1.6,1.9,2.4,2.6c0.2,0.2,0.4,0.2,0.5,0.2
c0.2,0,0.4-0.1,0.5-0.2c1.2-1,2.2-2.3,3.2-3.8c1-1.5,1.8-2.8,2.3-4c0.6-1.3,1.1-2.5,1.5-3.9c0.4-1.3,0.7-2.2,0.9-2.8
c0.1-0.5,0.2-1,0.3-1.3c0-0.1,0-0.1,0-0.1c0-0.2,0-0.3-0.1-0.4C20.3,5.2,20.2,5.1,20,5L12,2.1c0,0-0.1,0-0.2,0s-0.1,0-0.1,0h-0.2
l-8,2.8C3.2,5,3.1,5.2,3,5.3C2.9,5.5,2.9,5.6,2.9,5.8C2.9,5.8,2.9,5.8,2.9,5.9z M5.9,6.7h3l2.8,7l2.8-7h3c-0.1,0.1-0.2,0.5-0.3,0.8
C17,7.8,17,8.2,16.8,8.4c-0.1,0.3-0.2,0.5-0.4,0.8c0,0.1-0.1,0.1-0.1,0.1s-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.1,0
c-0.1,0-0.2,0.1-0.2,0.2c0,0-0.1,0.1-0.1,0.1s-0.1,0.1-0.1,0.1c0,0,0,0.1-0.1,0.2c0,0.1-0.1,0.1-0.1,0.1l-0.4,1.1
c-1.3,3.3-2.1,5.2-2.3,5.8h-2.2l-1-2.4c-0.1-0.3-0.3-0.8-0.5-1.3c-0.1-0.3-0.3-0.8-0.5-1.3L8,10.8c-0.1-0.1-0.1-0.2-0.1-0.4
C7.8,10.2,7.7,10,7.7,9.8C7.6,9.7,7.5,9.5,7.4,9.4C7.3,9.3,7.3,9.3,7.3,9.3c-0.1,0-0.2,0-0.2,0s-0.1,0-0.1,0
C6.6,8.5,6.3,7.6,5.9,6.7z`})}),sBe=({opacity:e=1,size:t,color:r})=>(0,Ot.jsx)(ga,{size:t,opacity:e,color:r,children:(0,Ot.jsx)(Br.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z"})}),cBe=({opacity:e=1,size:t,color:r})=>(0,Ot.jsx)(ga,{size:t,opacity:e,color:r,children:(0,Ot.jsx)(Br.Path,{d:"M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5Zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"})}),lBe=({opacity:e=1,size:t,color:r})=>(0,Ot.jsx)(ga,{size:t,opacity:e,color:r,children:(0,Ot.jsx)(Br.Path,{d:"M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z"})}),uBe=({opacity:e=1,size:t,className:r,color:o})=>(0,Ot.jsxs)(ga,{className:r,size:t,opacity:e,color:o,children:[(0,Ot.jsx)(Br.Path,{d:"M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z"}),(0,Ot.jsx)(Br.Path,{d:"M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z"})]}),dBe=({opacity:e=1,size:t,color:r})=>(0,Ot.jsx)(ga,{size:t,opacity:e,color:r,children:(0,Ot.jsx)(Br.Path,{d:"m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z"})}),fBe=({opacity:e=1,size:t,color:r})=>(0,Ot.jsx)(ga,{size:t,opacity:e,color:r,children:(0,Ot.jsx)(Br.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"})}),pBe=({opacity:e=1,size:t,color:r})=>(0,Ot.jsx)(ga,{size:t,opacity:e,color:r,children:(0,Ot.jsx)(Br.Path,{d:"M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z"})}),mBe=({opacity:e=1,size:t,color:r})=>(0,Ot.jsx)(ga,{size:t,opacity:e,color:r,children:(0,Ot.jsx)(Br.Path,{fillRule:"evenodd",clipRule:"evenodd",d:`M4.3,6.2c0.8,0,1.6,0.6,1.8,1.4l2.3,7.9c0,0,0,0,0,0l2.7-9.3h1.5h4.2c2.9,0,4.9,1.9,4.9,4.7c0,2.9-2,4.7-5,4.7
h-2h-2.5l-0.5,1.5c-0.4,1.4-1.7,2.3-3.2,2.3c-1.4,0-2.7-0.9-3.2-2.3L2.5,8.7C2.1,7.4,3,6.2,4.3,6.2z M13,12.8h2.9c1.3,0,2-0.7,2-1.9
c0-1.2-0.8-1.8-2-1.8h-1.7L13,12.8z`})}),hBe=({size:e,className:t=fR["star-icon"],color:r})=>(0,Ot.jsx)(ga,{className:t,size:e,color:r,children:(0,Ot.jsx)(Br.Path,{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})}),gBe=({size:e,className:t=fR.jetpack,color:r})=>(0,Ot.jsxs)(ga,{className:t,size:e,color:r,viewBox:"0 0 32 32",children:[(0,Ot.jsx)(Br.Path,{className:"jetpack-logo__icon-circle",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),(0,Ot.jsx)(Br.Polygon,{fill:"#fff",points:"15,19 7,19 15,3"}),(0,Ot.jsx)(Br.Polygon,{fill:"#fff",points:"17,29 17,13 25,13"})]}),xBe=({size:e=16,className:t,color:r})=>(0,Ot.jsx)(ga,{className:t,size:e,color:r,viewBox:"0 0 16 16",children:(0,Ot.jsx)(Br.Path,{fill:"#161722",fillRule:"evenodd",d:"M8.3 4.66C3.85 5.308.727 9.75.034 13.69l-.02.117c-.137.842.809 1.232 1.446.68 2.013-1.745 3.648-2.475 5.318-2.719a10.482 10.482 0 011.524-.103v2.792c0 .694.82 1.041 1.3.55l6.176-6.307a.79.79 0 00.012-1.088L9.614 1.004C9.14.496 8.301.84 8.301 1.542v3.117zm1.525-1.175v1.85a.773.773 0 01-.654.77l-.655.096c-2.133.311-3.987 1.732-5.295 3.672-.472.7-.854 1.44-1.143 2.18a12.32 12.32 0 011.675-.972c1.58-.75 3.048-.972 4.548-.972h.762a.77.77 0 01.762.779v1.69l4.347-4.44-4.347-4.653z",clipRule:"evenodd"})}),bBe=({size:e=24,color:t="#069e08"})=>(0,Ot.jsxs)(ga,{color:t,size:e,viewBox:"0 0 32 32",children:[(0,Ot.jsx)(Br.Path,{className:"spark-first",d:"M9.33301 5.33325L10.4644 8.20188L13.333 9.33325L10.4644 10.4646L9.33301 13.3333L8.20164 10.4646L5.33301 9.33325L8.20164 8.20188L9.33301 5.33325Z"}),(0,Ot.jsx)(Br.Path,{className:"spark-second",d:"M21.3333 5.33333L22.8418 9.15817L26.6667 10.6667L22.8418 12.1752L21.3333 16L19.8248 12.1752L16 10.6667L19.8248 9.15817L21.3333 5.33333Z"}),(0,Ot.jsx)(Br.Path,{className:"spark-third",d:"M14.6667 13.3333L16.5523 18.1144L21.3333 20L16.5523 21.8856L14.6667 26.6667L12.781 21.8856L8 20L12.781 18.1144L14.6667 13.3333Z"})]}),vBe=({opacity:e=1,size:t,color:r})=>(0,Ot.jsx)(ga,{size:t,opacity:e,color:r,children:(0,Ot.jsx)(Br.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M11.25 5H12.75V20H11.25V5ZM6 10H7.5V20H6V10ZM18 14H16.5V20H18V14Z"})}),yBe={"anti-spam":iBe,backup:aBe,boost:sBe,crm:cBe,extras:lBe,protect:uBe,scan:dBe,search:fBe,social:pBe,star:hBe,videopress:mBe,jetpack:gBe,share:xBe,ai:bBe,stats:vBe},bEt={...yBe}});var Roe=d(()=>{gx();typeof process>"u",gu("9faf4b1f66","._71a524fdcfc97c27__global-notices.components-snackbar-list{inset-block-end:0;inset-block-start:auto;inset-inline:0;position:fixed;z-index:100001}@media (min-width:600px){._71a524fdcfc97c27__global-notices.components-snackbar-list{inset-block-start:4rem;inset-inline:unset;inset-inline-end:1rem;width:auto}}@media (min-width:782px){._71a524fdcfc97c27__global-notices.components-snackbar-list{inset-block-start:3rem}}")});var Yd=_t((_Et,koe)=>{koe.exports=window.wp.data});var pR=_t((SEt,Eoe)=>{Eoe.exports=window.wp.notices});var Toe,wBe,Poe=d(()=>{Toe=g(Yd(),1),wBe=g(pR(),1)});var _Be,SBe,Moe=d(()=>{_Be=g(V(),1),SBe=g(Ge(),1);Roe()});var CBe,Ioe=d(()=>{Moe();Poe();CBe=g(pR(),1)});var Aoe,RBe,kp,mR=d(()=>{Aoe=g(we(),1),RBe={onClose:()=>{}},kp=(0,Aoe.createContext)(RBe);kp.displayName="NavigatorModalContext"});function Noe({children:e,actions:t,isScreenLocked:r,className:o,...n}){let i=(0,Cl.useNavigator)(),a=(0,hR.useContext)(kp),s=(0,hR.useCallback)(()=>{r?a.onClose?.():i.goBack()},[r,i,a]);return(0,fg.jsxs)(Cl.Flex,{className:me("jp-navigator-modal__footer",o),...n,children:[(0,fg.jsx)(Cl.FlexBlock,{children:e}),t?(0,fg.jsx)(Cl.FlexItem,{children:(0,fg.jsx)(Cl.Flex,{children:t.map((c,l)=>typeof c=="function"?c({navigate:s}):(0,fg.jsx)(Cl.Button,{...c,onClick:u=>{c.onClick?.(u),s()}},l))})}):null]})}var fg,Cl,hR,Ooe=d(()=>{fg=g(V(),1),Cl=g(Ge(),1);lt();hR=g(W(),1);mR()});function Doe({icon:e,title:t,isScreenLocked:r,onGoBack:o,onClose:n}){let i=(0,Kw.useContext)(kp),a=(0,Yw.useNavigator)(),s=(0,Kw.useCallback)(()=>{o?.(),a.goBack()},[a,o]),c=(0,Kw.useCallback)(()=>{n?.(),i.onClose?.()},[n,i]);return(0,pg.jsxs)("div",{className:"jp-navigator-modal__header",children:[(0,pg.jsxs)("div",{className:"jp-navigator-modal__title-wrap",children:[r?null:(0,pg.jsx)(Yw.Button,{label:(0,qw.__)("Go back","jetpack-components"),icon:(0,qw.isRTL)()?rg:FI,onClick:s,variant:"tertiary",size:"compact"}),e,(0,pg.jsx)("h1",{children:t})]}),i.isDismissible?(0,pg.jsx)(Yw.Button,{size:"compact",onClick:c,icon:BI,label:(0,qw.__)("Close","jetpack-components"),variant:"tertiary"}):null]})}var pg,Yw,qw,Kw,Loe=d(()=>{pg=g(V(),1),Yw=g(Ge(),1),qw=g(Fe(),1);Mr();Kw=g(W(),1);mR()});function Foe({path:e,className:t,title:r,sidebar:o,headerIcon:n,isScreenLocked:i,onGoBack:a,onClose:s,footerContent:c,footerActions:l,children:u,content:f,...p}){let m=!!(c||l&&l.length);return(0,qd.jsx)(Xw.Navigator.Screen,{path:e,className:me("jp-navigator-modal__screen",t),...p,children:(0,qd.jsxs)(Xw.Flex,{direction:"column",gap:0,children:[(0,qd.jsx)(Doe,{title:r,isScreenLocked:i Line truncated
`))):k&&(M=[k],S.setCustomValidity(k))):T&&(S.setCustomValidity(""),E.customError=!1,S.validationMessage?(A=S.validationMessage,M=[S.validationMessage]):S.validity.valid&&!E.valid&&(E.valid=!0))}let O={value:_,state:E,error:A??(Array.isArray(k)?k[0]:k??""),errors:M,initialValue:i.initialValue};C(O),o(O)}),v=Dg.useCallback((_={})=>In(h,l.valid===!1?{"aria-invalid":!0}:Pt,_),[h,l.valid]),w=Dg.useCallback((_={})=>In({onChange(R){if(R.nativeEvent.defaultPrevented)return;if(r(u),!f()){b(R.currentTarget.value,!0);return}let S=R.currentTarget;if(S.value===""){b(S.value);return}x.clear(),a?x.start(a,()=>{b(S.value)}):b(S.value)}},v(_)),[v,r,u,x,b,a,f]);return Dg.useMemo(()=>({getValidationProps:v,getInputValidationProps:w,inputRef:y,commit:b}),[v,w,b])}var Dg,b6,Mse=d(()=>{"use client";Dg=g(W(),1);go();Ei();gt();Pu();Np();Pl();Dx();x6();b6=Object.keys(Ag)});function Ise(e){let{commit:t,invalid:r,markedDirtyRef:o,name:n,setRegisteredFieldId:i,setValidityData:a,validityData:s}=e,{formRef:c}=Tu(),l=v6.useRef(null),u=v6.useRef(null),f=v6.useRef(null),p=pe(()=>{let b=u.current;if(b)return b.getValue?b.getValue():b.value}),m=pe(()=>{let b=u.current;if(!b)return;let v=b.value;v===void 0&&(v=p()),o.current=!0,t(v)});function h(){let b=u.current;!b||!b.id||c.current.fields.set(b.id,{getValue:p,name:n,controlRef:b.controlRef??f,validityData:Og(s,r),validate:m})}function x(b=u.current?.id){b&&c.current.fields.delete(b)}function y(){let b=u.current;if(!b)return;let v=b.value;v===void 0&&(v=p()),s.initialValue===null&&v!==null&&a(w=>({...w,initialValue:v}))}return ue(()=>{let b=u.current;!b||!b.id||c.current.fields.set(b.id,{getValue:p,name:n,controlRef:b.controlRef??f,validityData:Og(s,r),validate:m})},[c,p,r,n,m,s]),ue(()=>{let b=c.current.fields;return()=>{let v=u.current?.id;v&&b.delete(v)}},[c]),pe((b,v)=>{if(!v){l.current===b&&(l.current=null,x(),u.current=null,i(void 0));return}let w=u.current?.id;l.current=b,u.current=v,i(v.id),w&&w!==v.id&&x(w),y(),h()})}var v6,Ase=d(()=>{"use client";v6=g(W(),1);nt();gt();x6();Dx()});var Zo,y6,uUe,Nse,Ose=d(()=>{"use client";Zo=g(W(),1);gt();kc();Pl();kse();Dx();QO();no();Mse();Ase();y6=g(V(),1),uUe=Zo.forwardRef(function(t,r){let{errors:o,validationMode:n,submitAttemptedRef:i}=Tu(),{render:a,className:s,validate:c,validationDebounceTime:l=0,validationMode:u=n,name:f,disabled:p=!1,invalid:m,dirty:h,touched:x,actionsRef:y,style:b,...v}=t,{disabled:w}=Rse(),_=pe(c||(()=>null)),R=w||p,[S,C]=Zo.useState(!1),[P,k]=Zo.useState(!1),[M,E]=Zo.useState(!1),[A,T]=Zo.useState(!1),O=h??P,L=x??S,D=Zo.useRef(!1),I=Zo.useRef(void 0),j=Zo.useCallback(()=>I.current,[]),H=Zo.useCallback(ne=>{I.current=ne},[]),N=pe(ne=>{h===void 0&&(ne&&(D.current=!0),k(ne))}),F=pe(ne=>{x===void 0&&C(ne)}),Q=pe(()=>u==="onChange"||u==="onSubmit"&&i.current),z=!!f&&Object.hasOwn(o,f)&&o[f]!==void 0,G=m===!0||z,[K,ce]=Zo.useState({state:Ag,error:"",errors:[],value:null,initialValue:null}),te=!G&&K.state.valid,$=Zo.useMemo(()=>({disabled:R,touched:L,dirty:O,valid:te,filled:M,focused:A}),[R,L,O,te,M,A]),q=Pse({setValidityData:ce,validate:_,validityData:K,validationDebounceTime:l,invalid:G,markedDirtyRef:D,state:$,name:f,shouldValidateOnChange:Q,getRegisteredFieldId:j}),ae=K.value,Z=Zo.useCallback(()=>{D.current=!0,q.commit(ae)},[q,ae]),U=Ise({commit:q.commit,invalid:G,markedDirtyRef:D,name:f,setRegisteredFieldId:H,setValidityData:ce,validityData:K});Zo.useImperativeHandle(y,()=>({validate:Z}),[Z]);let re=Zo.useMemo(()=>({invalid:G,name:f,validityData:K,setValidityData:ce,disabled:R,touched:L,setTouched:F,dirty:O,setDirty:N,filled:M,setFilled:E,focused:A,setFocused:T,validate:_,validationMode:u,validationDebounceTime:l,shouldValidateOnChange:Q,state:$,markedDirtyRef:D,registerFieldControl:U,validation:q}),[G,f,K,R,L,F,O,N,M,E,A,T,_,u,l,Q,$,U,q]),ee=wt("div",t,{ref:r,state:$,props:v,stateAttributesMapping:Vi});return(0,y6.jsx)(WO.Provider,{value:re,children:ee})}),Nse=Zo.forwardRef(function(t,r){return(0,y6.jsx)(g6,{children:(0,y6.jsx)(uUe,{...t,ref:r})})})});var __,Dse,Lse=d(()=>{"use client";__=g(W(),1);kc();Pl();no();Pu();ZO();Dse=__.forwardRef(function(t,r){let{render:o,className:n,style:i,id:a,nativeLabel:s=!0,...c}=t,l=pn(!1),{labelId:u}=Un(),f=__.useRef(null),p=f6({id:u??a,native:s});return wt("label",t,{ref:[r,f],state:l.state,props:[p,c],stateAttributesMapping:Vi})})});var Lg,eD,dUe,Fse,Vse=d(()=>{"use client";Lg=g(W(),1);nt();kc();Pu();Pl();Dx();no();xg();Mx();Op();kx();eD=g(V(),1),dUe={...Vi,...Cu},Fse=Lg.forwardRef(function(t,r){let{render:o,id:n,className:i,match:a,style:s,...c}=t,l=Rc(n),{validityData:u,state:f,name:p}=pn(!1),{setMessageIds:m}=Un(),{errors:h}=Tu(),x=p?h[p]:null,y=typeof a=="string",b=!1;a===!0?b=!0:y?b=!!u.state[a]:b=!!x||u.state.valid===!1;let{mounted:v,transitionStatus:w,setMounted:_}=Su(b);ue(()=>{if(!(!b||!l))return m(L=>L.concat(l)),()=>{m(L=>L.filter(D=>D!==l))}},[b,l,m]);let R=Lg.useRef(null),[S,C]=Lg.useState(null),[P,k]=Lg.useState(null),M=u.errors.length>1?(0,eD.jsx)("ul",{children:u.e Line truncated
`);try{N=new Worker(URL.createObjectURL(new Blob([G])))}catch(K){return typeof console<"u"&&typeof console.warn=="function"&&console.warn("\u{1F38A} Could not load worker",K),null}z(N)}return N}})(),m={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function h(N,F){return F?F(N):N}function x(N){return N!=null}function y(N,F,Q){return h(N&&x(N[F])?N[F]:m[F],Q)}function b(N){return N<0?0:Math.floor(N)}function v(N,F){return Math.floor(Math.random()*(F-N))+N}function w(N){return parseInt(N,16)}function _(N){return N.map(R)}function R(N){var F=String(N).replace(/[^0-9a-f]/gi,"");return F.length<6&&(F=F[0]+F[0]+F[1]+F[1]+F[2]+F[2]),{r:w(F.substring(0,2)),g:w(F.substring(2,4)),b:w(F.substring(4,6))}}function S(N){var F=y(N,"origin",Object);return F.x=y(F,"x",Number),F.y=y(F,"y",Number),F}function C(N){N.width=document.documentElement.clientWidth,N.height=document.documentElement.clientHeight}function P(N){var F=N.getBoundingClientRect();N.width=F.width,N.height=F.height}function k(N){var F=document.createElement("canvas");return F.style.position="fixed",F.style.top="0px",F.style.left="0px",F.style.pointerEvents="none",F.style.zIndex=N,F}function M(N,F,Q,z,G,K,ce,te,$){N.save(),N.translate(F,Q),N.rotate(K),N.scale(z,G),N.arc(0,0,1,ce,te,$),N.restore()}function E(N){var F=N.angle*(Math.PI/180),Q=N.spread*(Math.PI/180);return{x:N.x,y:N.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:N.startVelocity*.5+Math.random()*N.startVelocity,angle2D:-F+(.5*Q-Math.random()*Q),tiltAngle:(Math.random()*(.75-.25)+.25)*Math.PI,color:N.color,shape:N.shape,tick:0,totalTicks:N.ticks,decay:N.decay,drift:N.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:N.gravity*3,ovalScalar:.6,scalar:N.scalar,flat:N.flat}}function A(N,F){F.x+=Math.cos(F.angle2D)*F.velocity+F.drift,F.y+=Math.sin(F.angle2D)*F.velocity+F.gravity,F.velocity*=F.decay,F.flat?(F.wobble=0,F.wobbleX=F.x+10*F.scalar,F.wobbleY=F.y+10*F.scalar,F.tiltSin=0,F.tiltCos=0,F.random=1):(F.wobble+=F.wobbleSpeed,F.wobbleX=F.x+10*F.scalar*Math.cos(F.wobble),F.wobbleY=F.y+10*F.scalar*Math.sin(F.wobble),F.tiltAngle+=.1,F.tiltSin=Math.sin(F.tiltAngle),F.tiltCos=Math.cos(F.tiltAngle),F.random=Math.random()+2);var Q=F.tick++/F.totalTicks,z=F.x+F.random*F.tiltCos,G=F.y+F.random*F.tiltSin,K=F.wobbleX+F.random*F.tiltCos,ce=F.wobbleY+F.random*F.tiltSin;if(N.fillStyle="rgba("+F.color.r+", "+F.color.g+", "+F.color.b+", "+(1-Q)+")",N.beginPath(),a&&F.shape.type==="path"&&typeof F.shape.path=="string"&&Array.isArray(F.shape.matrix))N.fill(I(F.shape.path,F.shape.matrix,F.x,F.y,Math.abs(K-z)*.1,Math.abs(ce-G)*.1,Math.PI/10*F.wobble));else if(F.shape.type==="bitmap"){var te=Math.PI/10*F.wobble,$=Math.abs(K-z)*.1,q=Math.abs(ce-G)*.1,ae=F.shape.bitmap.width*F.scalar,Z=F.shape.bitmap.height*F.scalar,U=new DOMMatrix([Math.cos(te)*$,Math.sin(te)*$,-Math.sin(te)*q,Math.cos(te)*q,F.x,F.y]);U.multiplySelf(new DOMMatrix(F.shape.matrix));var re=N.createPattern(u.transform(F.shape.bitmap),"no-repeat");re.setTransform(U),N.globalAlpha=1-Q,N.fillStyle=re,N.fillRect(F.x-ae/2,F.y-Z/2,ae,Z),N.globalAlpha=1}else if(F.shape==="circle")N.ellipse?N.ellipse(F.x,F.y,Math.abs(K-z)*F.ovalScalar,Math.abs(ce-G)*F.ovalScalar,Math.PI/10*F.wobble,0,2*Math.PI):M(N,F.x,F.y,Math.abs(K-z)*F.ovalScalar,Math.abs(ce-G)*F.ovalScalar,Math.PI/10*F.wobble,0,2*Math.PI);else if(F.shape==="star")for(var ee=Math.PI/2*3,ne=4*F.scalar,de=8*F.scalar,se=F.x,ge=F.y,fe=5,Te=Math.PI/fe;fe--;)se=F.x+Math.cos(ee)*de,ge=F.y+Math.sin(ee)*de,N.lineTo(se,ge),ee+=Te,se=F.x+Math.cos(ee)*ne,ge=F.y+Math.sin(ee)*ne,N.lineTo(se,ge),ee+=Te;else N.moveTo(Math.floor(F.x),Math.floor(F.y)),N.lineTo(Math.floor(F.wobbleX),Math.floor(G)),N.lineTo(Math.floor(K),Math.floor(ce)),N.lineTo(Math.floor(z),Math.floor(F.wobbleY));return N.closePath(),N.fill(),F.tick<F.totalTicks}function T(N,F,Q,z,G){var K=F.slice(),ce=N.getContext("2d"),te,$,q=l(function(ae){function Z(){te=$=null,ce.clearRect(0,0,z.width,z.height),u.clear(),G(),ae()}function U(){o&&!(z.width===n.width&&z.height===n.height)&&(z.width=N.width=n.width,z.height=N.height=n.height),!z.width&&!z.height&&(Q(N),z.width=N.width,z.height=N.height),ce.clearRect(0,0,z.width,z.height),K=K.filter(function(re){return A(ce,re)}),K.length?te=f.frame(U):Z()}te=f.frame(U),$=Z});return{addFettis:function(ae){return K=K.concat(ae),q},canvas:N,promise:q,reset:function(){te&&f.cancel(te),$&&$()}}}function O(N,F){var Q=!N,z=!!y(F||{},"resize"),G=!1,K=y(F,"disableForReducedMotion",Boolean),ce=i&&!!y(F||{},"useWorker"),te=ce?p():null,$=Q?C:P,q=N&&te?!!N.__confetti_initialized:!1,ae=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion)").matches,Z;function U(ee,ne,de){for(var se=y(ee,"particleCount",b),ge=y(ee,"angle",Number),fe=y(ee,"spread",Number),Te=y(ee,"star Line truncated
${f?`a${s},${s} 0 0 1 ${s},${s}`:`h${s}v${s}`}
v${i-x}
${n?`a${s},${s} 0 0 1 ${-s},${s}`:`v${s}h${-s}`}
h${x-p}
${o?`a${s},${s} 0 0 1 ${-s},${-s}`:`h${-s}v${-s}`}
v${x-i}
${u?`a${s},${s} 0 0 1 ${s},${-s}`:`v${-s}h${s}`}
z`.split(`
`).join("")}function KS(e){let{children:t,className:r,innerRef:o,x:n,y:i,width:a,height:s,radius:c,all:l=!1,top:u=!1,bottom:f=!1,left:p=!1,right:m=!1,topLeft:h=!1,topRight:x=!1,bottomLeft:y=!1,bottomRight:b=!1,...v}=e,w=ent({x:n,y:i,width:a,height:s,radius:c,all:l,top:u,bottom:f,left:p,right:m,topLeft:h,topRight:x,bottomLeft:y,bottomRight:b});return t?(0,qS.jsx)(qS.Fragment,{children:t({path:w})}):(0,qS.jsx)("path",{ref:o,className:(0,S9e.default)("visx-bar-rounded",r),d:w,...v})}var S9e,qS,C9e=d(()=>{S9e=g(ct(),1),qS=g(V(),1)});var qv=d(()=>{});var tnt,R9e,k9e=d(()=>{tnt=g(ct(),1);vn();Yv();qv();R9e=g(V(),1)});var rnt,E9e,T9e=d(()=>{rnt=g(ct(),1);vn();Yv();qv();E9e=g(V(),1)});function Kc(e){return e?.[0]}function gs(e){return e?.[1]}var ia=d(()=>{});var ont,P9e,M9e=d(()=>{ont=g(ct(),1);Jl();vn();ia();qv();HS();WS();US();Yv();P9e=g(V(),1)});var nnt,I9e,A9e=d(()=>{nnt=g(ct(),1);Jl();vn();ia();qv();HS();WS();US();Yv();I9e=g(V(),1)});var RH=d(()=>{});var int,N9e,O9e=d(()=>{int=g(ct(),1);Jl();ia();N9e=g(V(),1)});var ant,D9e,L9e=d(()=>{ant=g(ct(),1);Jl();ia();D9e=g(V(),1)});var snt,F9e,V9e=d(()=>{snt=g(ct(),1);Jl();ia();F9e=g(V(),1)});var Vf=d(()=>{aH()});var cnt,j9e,z9e=d(()=>{cnt=g(ct(),1);Vf();ia();j9e=g(V(),1)});var lnt,B9e,H9e=d(()=>{lnt=g(ct(),1);Vf();ia();B9e=g(V(),1)});var unt,W9e,U9e=d(()=>{unt=g(ct(),1);Vf();ia();W9e=g(V(),1)});var dnt,$9e,G9e=d(()=>{dnt=g(ct(),1);Vf();ia();$9e=g(V(),1)});var fnt,Y9e,q9e=d(()=>{fnt=g(ct(),1);Vf();ia();Y9e=g(V(),1)});var pnt,K9e,X9e=d(()=>{pnt=g(ct(),1);Vf();ia();K9e=g(V(),1)});var mnt,Z9e,J9e=d(()=>{mnt=g(ct(),1);Vf();ia();Z9e=g(V(),1)});var hnt,Q9e,e7e=d(()=>{hnt=g(ct(),1);Vf();ia();Q9e=g(V(),1)});var gnt,t7e,r7e=d(()=>{gnt=g(ct(),1);ia();t7e=g(V(),1)});var bnt,o7e,n7e=d(()=>{bnt=g(ct(),1);RH();o7e=g(V(),1)});var vnt,ynt,i7e=d(()=>{vnt=g(ct(),1),ynt=g(V(),1)});var a7e=d(()=>{});var s7e=d(()=>{a7e()});var c7e,wnt,l7e=d(()=>{c7e=g(W(),1);s7e();hd();SH();wnt=g(V(),1)});var bi=d(()=>{c9e();u9e();p9e();SH();g9e();b9e();y9e();_9e();Yv();C9e();k9e();T9e();M9e();A9e();CH();US();WS();RH();ia();qv();O9e();L9e();V9e();z9e();H9e();U9e();G9e();q9e();X9e();J9e();e7e();r7e();n7e();i7e();l7e();hd()});var Snt,an,gd=d(()=>{Snt={top:"top",left:"left",right:"right",bottom:"bottom"},an=Snt});function kH(e){let{labelOffset:t,labelProps:r,orientation:o,range:n,tickLabelFontSize:i,tickLength:a}=e,s=o===an.left||o===an.top?-1:1,c,l,u;if(o===an.top||o===an.bottom){let f=o===an.bottom&&typeof r.fontSize=="number"?r.fontSize:0;c=(Number(n[0])+Number(n[n.length-1]))/2,l=s*(a+t+i+f)}else c=s*((Number(n[0])+Number(n[n.length-1]))/2),l=-(a+t),u=`rotate(${s*90})`;return{x:c,y:l,transform:u}}var u7e=d(()=>{gd()});function EH(e){let{hideTicks:t,horizontal:r,orientation:o,tickClassName:n,tickComponent:i,tickLabelProps:a,tickStroke:s="#222",tickTransform:c,ticks:l,strokeWidth:u,tickLineProps:f}=e;return l.map(p=>{let{value:m,index:h,from:x,to:y,formattedValue:b}=p,v=a[h]??{},w=Math.max(10,typeof v.fontSize=="number"&&v.fontSize||0),_=y.y+(r&&o!==an.top?w:0);return(0,ZS.jsxs)(ar,{className:(0,d7e.default)("visx-axis-tick",n),transform:c,children:[!t&&(0,ZS.jsx)(Ql,{from:x,to:y,stroke:s,strokeWidth:u,strokeLinecap:"square",...f}),i?i({...v,x:y.x,y:_,formattedValue:b}):(0,ZS.jsx)(ra,{x:y.x,y:_,...v,children:b})]},`visx-tick-${m}-${h}`)})}var d7e,ZS,f7e=d(()=>{d7e=g(ct(),1);bi();vn();w0();gd();ZS=g(V(),1)});function PH(e){let{axisFromPoint:t,axisLineClassName:r,axisToPoint:o,hideAxisLine:n,hideTicks:i,horizontal:a,label:s="",labelClassName:c,labelOffset:l=14,labelProps:u,orientation:f=an.bottom,scale:p,stroke:m="#222",strokeDasharray:h,strokeWidth:x=1,tickClassName:y,tickComponent:b,tickLineProps:v,tickLabelProps:w,tickLength:_=8,tickStroke:R="#222",tickTransform:S,ticks:C,ticksComponent:P=EH}=e,k={...p7e,...u},M={...p7e,...typeof w=="object"?w:null},E=C.map(T=>{let{value:O,index:L}=T;return typeof w=="function"?w(O,L,C):M}),A=Math.max(10,...E.map(T=>typeof T.fontSize=="number"?T.fontSize:0));return(0,Q0.jsxs)(Q0.Fragment,{children:[P({hideTicks:i,horizontal:a,orientation:f,scale:p,tickClassName:y,tickComponent:b,tickLabelProps:E,tickStroke:R,tickTransform:S,ticks:C,strokeWidth:x,tickLineProps:v}),!n&&(0,Q0.jsx)(Ql,{className:(0,TH.default)("visx-axis-line",r),from:t,to:o,stroke:m,strokeWidth:x,strokeDasharray:h}),s&&(0,Q0.jsx)(ra,{className:(0,TH.default)("visx-axis-label",c),...kH({labelOffset:l,labelProps:k,orientation:f,range:p.range(),tickLabelFontSize:A,tickLength:_}),...k,children:s})]})}var TH,Q0,p7e,m7e=d(()=>{TH=g(ct(),1);bi();w0();u7e();gd();f7e();Q0=g(V(),1),p7e={textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"#222"}});function MH(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"center",r=e;if(t!=="start"&&"bandwidth"in r){let o=r.bandwidth();return t==="center"&&(o/=2),r.round()&&(o=Math.round(o)),n=>{let i=r(n);return typeof i=="number"?i+o:i}}return e}var h7e=d(()=>{});function IH(e){let t=e;return"tickFormat"in t?t.tickFormat():UT}var g7e=d(()=>{Da()});function Kv(e, Line truncated
${w?.htmlLabel?.color?`${w?.htmlLabel?.color}55`:"#22222255"}`,...w?.htmlLabel},...b,children:D})]})]})}function O9(e){return(0,el.useContext)(ec)?.tooltipOpen?(0,_n.jsx)(cit,{...e}):null}var el,_n,rW,iit,iPe=d(()=>{el=g(W(),1);N9();oy();nn();H0();Zs();_n=g(V(),1),rW={position:"absolute",pointerEvents:"none",fontSize:0,lineHeight:0},iit={position:"absolute",left:0,top:0,opacity:0,width:0,height:0,pointerEvents:"none"}});function xd(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{leading:o=!1}=r,n,i=null,a;function s(){for(var c=arguments.length,l=new Array(c),u=0;u<c;u++)l[u]=arguments[u];o&&n===void 0?(e.apply(this,l),i=null):(i=l,a=this),clearTimeout(n),n=setTimeout(()=>{n=void 0,i!==null&&(e.apply(a,i),i=null,a=void 0)},t)}return s.cancel=function(){clearTimeout(n),n=void 0,i=null,a=void 0},s}var ny=d(()=>{});function iy(){let{initialSize:e=aPe,debounceTime:t=300,ignoreDimensions:r=lit,enableDebounceLeadingCall:o=!0,resizeObserverPolyfill:n,externalRef:i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},[a,s]=(0,eu.useState)(null),c=(0,eu.useCallback)(m=>{s(m),typeof i=="function"?i(m):i!=null&&(i.current=m)},[i]),l=(0,eu.useRef)(0),[u,f]=(0,eu.useState)({...aPe,...e}),p=(0,eu.useMemo)(()=>{let m=Array.isArray(r)?r:[r];return xd(h=>{f(x=>Object.keys(x).filter(w=>x[w]!==h[w]).every(w=>m.includes(w))?x:h)},t,{leading:o})},[t,o,r]);return(0,eu.useEffect)(()=>{if(!a){p.cancel();return}let m=n||window.ResizeObserver,h=new m(x=>{x.forEach(y=>{let{left:b,top:v,width:w,height:_}=y?.contentRect??{};l.current=window.requestAnimationFrame(()=>{p({width:w,height:_,top:v,left:b})})})});return h.observe(a),()=>{window.cancelAnimationFrame(l.current),h.disconnect(),p.cancel()}},[a,p,n]),{parentRef:c,node:a,resize:p,...u}}var eu,lit,aPe,oW=d(()=>{eu=g(W(),1);ny();lit=[],aPe={width:0,height:0,top:0,left:0}});function D9(e){let{className:t,children:r,debounceTime:o,ignoreDimensions:n,initialSize:i,parentSizeStyles:a,enableDebounceLeadingCall:s=!0,resizeObserverPolyfill:c,style:l,...u}=e,{parentRef:f,node:p,resize:m,...h}=iy({initialSize:i,debounceTime:o,ignoreDimensions:n,enableDebounceLeadingCall:s,resizeObserverPolyfill:c}),x=a?{position:"relative",...a,...l}:{...uit,...l};return(0,nW.jsx)("div",{style:x,className:t,...u,children:(0,nW.jsx)("div",{style:dit,ref:f,children:r({...h,ref:p,resize:m})})})}var nW,uit,dit,sPe=d(()=>{oW();nW=g(V(),1),uit={width:"100%",height:"100%",position:"relative"},dit={position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden"}});var fit,cPe=d(()=>{fit=g(V(),1)});var pit,mit,lPe=d(()=>{pit=g(W(),1);ny();mit=g(V(),1)});var hit,git,uPe=d(()=>{hit=g(W(),1);ny();git=g(V(),1)});var iW,dPe=d(()=>{iW=g(W(),1);ny()});var r3=d(()=>{sPe();cPe();lPe();uPe();oW();dPe();ny()});var fPe,xit,o3,L9=d(()=>{fPe=g(W(),1),xit=(0,fPe.createContext)(null),o3=xit});function tc(e,t,r){let o=(0,ch.useContext)(o3),n=(0,ch.useRef)(void 0);n.current=r;let i=(0,ch.useCallback)((a,s,c)=>{o&&o.emit(a,{event:s,svgPoint:K2(s),source:c})},[o]);return(0,ch.useEffect)(()=>{if(o&&e&&t){let a=s=>{(!n.current||s?.source&&n.current?.includes(s.source))&&t(s)};return o.on(e,a),()=>o?.off(e,a)}},[o,e,t]),o?i:null}var ch,n3=d(()=>{ch=g(W(),1);Ej();L9()});function pPe(e){return{all:e=e||new Map,on:function(t,r){var o=e.get(t);o&&o.push(r)||e.set(t,[r])},off:function(t,r){var o=e.get(t);o&&o.splice(o.indexOf(r)>>>0,1)},emit:function(t,r){(e.get(t)||[]).slice().map(function(o){o(r)}),(e.get("*")||[]).slice().map(function(o){o(t,r)})}}}var mPe=d(()=>{});function F9(e){let{children:t}=e,r=(0,hPe.useMemo)(()=>pPe(),[]);return(0,gPe.jsx)(o3.Provider,{value:r,children:t})}var hPe,gPe,aW=d(()=>{hPe=g(W(),1);mPe();L9();gPe=g(V(),1)});function V9(e){let{hideTooltipDebounceMs:t=400,children:r}=e,{tooltipOpen:o,tooltipLeft:n,tooltipTop:i,tooltipData:a,updateTooltip:s,hideTooltip:c}=Bf(void 0),l=(0,Hf.useRef)(null);function u(){l.current&&(l.current.cancel(),l.current=null)}(0,Hf.useEffect)(()=>u,[]);let f=(0,Hf.useRef)(h=>{let{svgPoint:x,index:y,key:b,datum:v,distanceX:w,distanceY:_}=h;u();let R=Ut(w)?w:1/0,S=Ut(_)?_:1/0,C=Math.sqrt(R**2+S**2);s(P=>{let{tooltipData:k}=P,M=k?.nearestDatum&&Ut(k.nearestDatum.distance)?k.nearestDatum.distance:1/0;return{tooltipOpen:!0,tooltipLeft:x?.x,tooltipTop:x?.y,tooltipData:{nearestDatum:(k?.nearestDatum?.key??"")!==b&&M<C?k?.nearestDatum:{key:b,index:y,datum:v,distance:C},datumByKey:{...k?.datumByKey,[b]:{datum:v,index:y,key:b}}}}})}),p=(0,Hf.useCallback)(()=>{l.current=xd(c,t),l.current()},[c,t]),m=(0,Hf.useMemo)(()=>({tooltipOpen:o,tooltipLeft:n,tooltipTop:i,tooltipData:a,updateTooltip:s,showTooltip:f.current,hideTooltip:p}),[p,a,n,o,i,s]);return(0,xPe.jsx)(ec.Provider,{value:m,children:r})}var Hf,xPe,sW=d(()=>{Hf=g(W(),1);r3();N9();oy();Zs();xPe=g(V(),1)});var vi,tl,j9,cW,i3=d(()=>{vi={red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06 Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,A=!1,T;return{s:function(){P=S[Symbol.iterator]()},n:function(){var O=P.next();return E=O.done,O},e:function(O){A=!0,T=O},f:function(){try{!E&&P.return!=null&&P.return()}finally{if(A)throw T}}}}function c(S,C){var P=[],k=[];function M(E,A){if(E.length===1)P.push(E[0]),k.push(E[0]);else{for(var T=Array(E.length-1),O=0;O<T.length;O++)O===0&&P.push(E[0]),O===T.length-1&&k.push(E[O+1]),T[O]=[(1-A)*E[O][0]+A*E[O+1][0],(1-A)*E[O][1]+A*E[O+1][1]];M(T,A)}}return S.length&&M(S,C),{left:P,right:k.reverse()}}function l(S){var C={};return S.length===4&&(C.x2=S[2][0],C.y2=S[2][1]),S.length>=3&&(C.x1=S[1][0],C.y1=S[1][1]),C.x=S[S.length-1][0],C.y=S[S.length-1][1],S.length===4?C.type="C":S.length===3?C.type="Q":C.type="L",C}function u(S,C){C=C||2;for(var P=[],k=S,M=1/C,E=0;E<C-1;E++){var A=M/(1-M*E),T=c(k,A);P.push(T.left),k=T.right}return P.push(k),P}function f(S,C,P){var k=[[S.x,S.y]];return C.x1!=null&&k.push([C.x1,C.y1]),C.x2!=null&&k.push([C.x2,C.y2]),k.push([C.x,C.y]),u(k,P).map(l)}var p=/[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g,m={M:["x","y"],L:["x","y"],H:["x"],V:["y"],C:["x1","y1","x2","y2","x","y"],S:["x2","y2","x","y"],Q:["x1","y1","x","y"],T:["x","y"],A:["rx","ry","xAxisRotation","largeArcFlag","sweepFlag","x","y"],Z:[]};Object.keys(m).forEach(function(S){m[S.toLowerCase()]=m[S]});function h(S,C){for(var P=Array(S),k=0;k<S;k++)P[k]=C;return P}function x(S){return"".concat(S.type).concat(m[S.type].map(function(C){return S[C]}).join(","))}function y(S,C){var P={x1:"x",y1:"y",x2:"x",y2:"y"},k=["xAxisRotation","largeArcFlag","sweepFlag"];if(S.type!==C.type&&C.type.toUpperCase()!=="M"){var M={};Object.keys(C).forEach(function(E){var A=C[E],T=S[E];T===void 0&&(k.includes(E)?T=A:(T===void 0&&P[E]&&(T=S[P[E]]),T===void 0&&(T=0))),M[E]=T}),M.type=C.type,S=M}return S}function b(S,C,P){var k=[];if(C.type==="L"||C.type==="Q"||C.type==="C")k=k.concat(f(S,C,P));else{var M=r({},S);M.type==="M"&&(M.type="L"),k=k.concat(h(P-1).map(function(){return M})),k.push(C)}return k}function v(S,C,P){var k=S.length-1,M=C.length-1,E=k/M,A=h(M).reduce(function(O,L,D){var I=Math.floor(E*D);if(P&&I<S.length-1&&P(S[I],S[I+1])){var j=E*D%1<.5;O[I]&&(j?I>0?I-=1:I<S.length-1&&(I+=1):I<S.length-1?I+=1:I>0&&(I-=1))}return O[I]=(O[I]||0)+1,O},[]),T=A.reduce(function(O,L,D){if(D===S.length-1){var I=h(L,r({},S[S.length-1]));return I[0].type==="M"&&I.forEach(function(j){j.type="L"}),O.concat(I)}return O.concat(b(S[D],S[D+1],L))},[]);return T.unshift(S[0]),T}function w(S){for(var C=(S||"").match(p)||[],P=[],k,M,E=0;E<C.length;++E)if(k=m[C[E]],k){M={type:C[E]};for(var A=0;A<k.length;++A)M[k[A]]=+C[E+A+1];E+=k.length,P.push(M)}return P}function _(S,C,P){var k=S==null?[]:S.slice(),M=C==null?[]:C.slice();if(!k.length&&!M.length)return function(){return[]};var E=(k.length===0||k[k.length-1].type==="Z")&&(M.length===0||M[M.length-1].type==="Z");k.length>0&&k[k.length-1].type==="Z"&&k.pop(),M.length>0&&M[M.length-1].type==="Z"&&M.pop(),k.length?M.length||M.push(k[0]):k.push(M[0]);var A=Math.abs(M.length-k.length);A!==0&&(M.length>k.length?k=v(k,M,P):M.length<k.length&&(M=v(M,k,P))),k=k.map(function(O,L){return y(O,M[L])});var T=k.map(function(O){return n({},O)});return E&&T.push({type:"Z"}),function(L){if(L===1)return C??[];if(L>0)for(var D=0;D<T.length;++D){var I=k[D],j=M[D],H=T[D],N=s(m[H.type]),F;try{for(N.s();!(F=N.n()).done;){var Q=F.value;H[Q]=(1-L)*I[Q]+L*j[Q],(Q==="largeArcFlag"||Q==="sweepFlag")&&(H[Q]=Math.round(H[Q]))}}catch(z){N.e(z)}finally{N.f()}}return T}}function R(S,C,P){var k=w(S),M=w(C);if(!k.length&&!M.length)return function(){return""};var E=_(k,M,P);return function(T){if(T===1)return C??"";var O=E(T),L="",D=s(O),I;try{for(D.s();!(I=D.n()).done;){var j=I.value;L+=x(j)}}catch(H){D.e(H)}finally{D.f()}return L}}e.interpolatePath=R,e.interpolatePathCommands=_,e.pathCommandsFromString=w,Object.defineProperty(e,"__esModule",{value:!0})}))});function Oit(e){let{d:t,stroke:r="transparent",fill:o="transparent",...n}=e,i=(0,py.useRef)(t),a=(0,py.useCallback)(xd(u=>{i.current=u},50),[]),s=(0,eMe.interpolatePath)(i.current,t);a(t);let{t:c}=l9({from:{t:0},to:{t:1},reset:!0,delay:0}),l=l9({stroke:r,fill:o});return(0,tMe.jsx)(G0.path,{className:"visx-path",d:c.to(s),stroke:l.stroke,fill:l.fill,...n})}var py,eMe,tMe,my,y3=d(()=>{py=g(W(),1);Y0();eMe=g(QPe(),1);r3();tMe=g(V(),1);my=(0,py.memo)(Oit)});function s7(e){return(0,rMe.jsx)(x3,{...e,PathComponent:my})}var rMe,oMe=d(()=>{y3();wW();rMe=g(V(),1)});function c7(e){return(0,nMe.jsx)(EW,{...e,PathComponent:my})}var nMe,iMe=d(()=>{TW();y3();nMe=g(V(),1)});var FW=d(()=>{});var Fit,aMe,l7=d(()=>{bi();Fit=g(W(),1);Y0();FW();sy();y3();aMe=g(V(),1)});var Vit,cMe=d(()=>{IW();l7();Vit=g(V(),1)});var jit,lMe=d(()=>{OW();l7();jit=g(V(),1)});var zit,uMe=d(()=>{MW();l7();zit=g(V(),1)});var Bit,dMe,fMe=d(()=>{Bit=g(W(),1);Y0();sy();FW();dMe=g(V(),1)});var Hit,Wit,pMe=d(()=>{Hit=g(W(),1);fMe();cy();ly();Wit=g(V(),1)});var Uit,mM Line truncated
M ${3/4*t},${5/4*t} l ${t/2},${-t/2}`;case yy.diagonalRightToLeft:return`M 0,0 l ${t},${t}
M ${-t/4},${3/4*t} l ${t/2},${t/2}
M ${3/4*t},${-t/4} l ${t/2},${t/2}`;case yy.vertical:default:return`M ${t/2}, 0 l 0, ${t}`}}function v7(e){let{id:t,width:r,height:o,stroke:n,strokeWidth:i,strokeDasharray:a,strokeLinecap:s="square",shapeRendering:c="auto",orientation:l=["vertical"],background:u,className:f}=e,p=Array.isArray(l)?l:[l];return(0,_3.jsxs)(mh,{id:t,width:r,height:o,children:[!!u&&(0,_3.jsx)("rect",{className:(0,XW.default)("visx-pattern-line-background"),width:r,height:o,fill:u}),p.map((m,h)=>(0,_3.jsx)("path",{className:(0,XW.default)("visx-pattern-line",f),d:lat({orientation:m,height:o}),stroke:n,strokeWidth:i,strokeDasharray:a,strokeLinecap:s,shapeRendering:c},`visx-${t}-line-${m}-${h}`))]})}var XW,_3,qMe=d(()=>{XW=g(ct(),1);w3();KW();_3=g(V(),1)});function y7(e){let{id:t,width:r,height:o,radius:n=2,fill:i,stroke:a,strokeWidth:s,strokeDasharray:c,background:l,complement:u=!1,className:f}=e,p;return u&&(p=[[0,0],[0,o],[r,0],[r,o]]),(0,wy.jsxs)(mh,{id:t,width:r,height:o,children:[!!l&&(0,wy.jsx)("rect",{width:r,height:o,fill:l}),(0,wy.jsx)("circle",{className:(0,ZW.default)("visx-pattern-circle",f),cx:r/2,cy:o/2,r:n,fill:i,stroke:a,strokeWidth:s,strokeDasharray:c}),p?.map(m=>{let[h,x]=m;return(0,wy.jsx)("circle",{className:(0,ZW.default)("visx-pattern-circle visx-pattern-circle-complement",f),cx:h,cy:x,r:n,fill:i,stroke:a,strokeWidth:s,strokeDasharray:c},`${t}-complement-${h}-${x}`)})]})}var ZW,wy,KMe=d(()=>{ZW=g(ct(),1);w3();wy=g(V(),1)});function _y(e){let{id:t,width:r,height:o,path:n,fill:i="transparent",stroke:a,strokeWidth:s,strokeDasharray:c,strokeLinecap:l="square",shapeRendering:u="auto",background:f,className:p}=e;return(0,S3.jsxs)(mh,{id:t,width:r,height:o,children:[!!f&&(0,S3.jsx)("rect",{width:r,height:o,fill:f}),(0,S3.jsx)("path",{className:(0,XMe.default)("visx-pattern-path",p),d:n,fill:i,stroke:a,strokeWidth:s,strokeDasharray:c,strokeLinecap:l,shapeRendering:u})]})}var XMe,S3,w7=d(()=>{XMe=g(ct(),1);w3();S3=g(V(),1)});function _7(e){let{id:t,width:r,height:o,fill:n,stroke:i,strokeWidth:a,strokeDasharray:s,strokeLinecap:c,shapeRendering:l,background:u,className:f}=e;return(0,JMe.jsx)(_y,{className:(0,ZMe.default)("visx-pattern-wave",f),path:`M 0 ${o/2} c ${o/8} ${-o/4} , ${o*3/8} ${-o/4} , ${o/2} 0
c ${o/8} ${o/4} , ${o*3/8} ${o/4} , ${o/2} 0 M ${-o/2} ${o/2}
c ${o/8} ${o/4} , ${o*3/8} ${o/4} , ${o/2} 0 M ${o} ${o/2}
c ${o/8} ${-o/4} , ${o*3/8} ${-o/4} , ${o/2} 0`,id:t,width:r,height:o,fill:n,stroke:i,strokeWidth:a,strokeDasharray:s,strokeLinecap:c,shapeRendering:l,background:u})}var ZMe,JMe,QMe=d(()=>{ZMe=g(ct(),1);w7();JMe=g(V(),1)});function S7(e){let{id:t,height:r,fill:o,stroke:n,strokeWidth:i,strokeDasharray:a,strokeLinecap:s,shapeRendering:c,background:l,className:u,size:f=3}=e,p=Math.sqrt(f);return(0,tIe.jsx)(_y,{className:(0,eIe.default)("visx-pattern-hexagon",u),path:`M ${r},0 l ${r},0 l ${r/2},${r*p/2} l ${-r/2},${r*p/2} l ${-r},0 l ${-r/2},${-r*p/2} Z M 0,${r*p/2} l ${r/2},0 M ${3*r},${r*p/2} l ${-r/2},0`,id:t,width:f,height:p,fill:o,stroke:n,strokeWidth:i,strokeDasharray:a,strokeLinecap:s,shapeRendering:c,background:l})}var eIe,tIe,rIe=d(()=>{eIe=g(ct(),1);w7();tIe=g(V(),1)});var oIe=d(()=>{w3();qMe();KMe();QMe();rIe();w7();KW()});function uat(e){let[t,r]=(0,ri.useState)(!0),[o,n]=(0,ri.useState)(null),[i,a]=(0,ri.useState)(!1),s=()=>{r(!1),a(!0)};return(0,ri.useEffect)(()=>{if(!document){let f=new Error(`[ScriptLoadingError] document not defined when attempting to load ${e}`);n(f);return}let c=document.querySelector(`script[src="${e}"]`);if(c?.dataset.loaded){s();return}let l=c||document.createElement("script");c||(l.src=e);let u=()=>{l.dataset.loaded="1",s()};l.addEventListener("load",u),l.addEventListener("error",f=>{console.error("Failed to load script:",e,f);let p=new Error(`[ScriptLoadingError] Failed to load script: ${e}`);n(p)}),c||document.head.append(l)},[]),{isLoading:t,error:o,isSuccess:i}}function pat(e){let{chartVersion:t="current",chartPackages:r=["corechart","controls"],chartLanguage:o="en",mapsApiKey:n}=e,[i,a]=(0,ri.useState)(null),[s,c]=(0,ri.useState)(null),[l,u]=(0,ri.useState)(null),{isLoading:f,error:p,isSuccess:m}=uat(e.chartLoaderScriptUrl||"https://www.gstatic.com/charts/loader.js");return(0,ri.useEffect)(()=>{if(!m)return;let h=fat();if(!dat(h)){let x=new Error("[ScriptInitializationError] Script loaded but Google not attached to window.");c(x);return}if(nIe(e,h)){a(h);return}h.charts.load(t,{packages:r,language:o,mapsApiKey:n}),h.charts.setOnLoadCallback(()=>{if(!nIe(e,h)){let x=new Error("[GoogleChartsInitializationError] Google Charts not ready after load callback.");console.error(x),u(x);return}a(h)})},[m]),{error:p||s||l,isLoading:f,google:i}}var fo,ri,dat,nIe,fat,sIe,mat,iIe,cIe,C7,hat,gat,xat,bat,vat,yat,wat,C3,_at,Sat,Cat,Rat,kat,Eat,Tat,lIe,aIe,uIe=d(()=>{fo=g(W(),1),ri=g(W(),1);dat=e=>e&&e.charts,nIe=(e,t)=>{let{controls:r,toolbarItems:o,getChartEditor:n}=e;return t&&t.charts&&t.visualization&&t.visualization.ChartWrapper&&t.visualization.Dashboard&&(!r||t.visualization.ChartWrapper)&&(!n||t.visualization.ChartEditor)&&(!o||t.visualization.drawToolbar)},fat=e=>window.google;sIe={legend_toggle:!1,options:{},legendToggle:!1,getChartWrapper:()=>{},spreadSheetQueryParameters:{headers:1,gid:1},rootProps:{},chartWrapperParams:{},chartLoaderScriptUrl:"https://www.gstatic.com/charts/loader.js"},mat=e=>{let{isReady:t,chartControls:r,filter:o}=e;return!t||!r||!r?.length?null:ri.default.createElement(ri.default.Fragment,null,r.filter(n=>{let{controlProp:i,control:a}=n;return o?o({control:a,controlProp:i}):!0}).map(n=>{let{control:i}=n;return ri.default.createElement("div",{key:i.getContainerId(),id:i.getContainerId()})}))},iIe=0,cIe=()=>(iIe+=1,`reactgooglegraph-${iIe}`),C7=class{static initializeControls=t=>{for(let r=0;r<t.length;r+=1){let{controlType:o,options:n,controlWrapperParams:i}=t[r].controlProp;i&&"state"in i&&t[r].control.setState(i.state),t[r].control.setOptions(n),t[r].control.setControlType(o)}};static listenToControlEvents=(t,r)=>{let{google:o}=r;return t.flatMap(n=>{let{control:i,controlProp:a}=n,{controlEvents:s=[]}=a;return s.map(c=>{let{callback:l,eventName:u}=c;return o.visualization.events.addListener(i,u,function(){for(var f=arguments.length,p=new Array(f),m=0;m<f;m++)p[m]=arguments[m];l({chartWrapper:null,controlWrapper:i,props:r,google:o,eventArgs:p})})})})};static createControlId=t=>{let r;return typeof t>"u"?r=`googlechart-control-${cIe()}`:r=t,r};static createChartControls=t=>{let{controls:r,google:o}=t;return r?r.map((n,i)=>{let{controlID:a,controlType:s,options:c,controlWrapperParams:l}=n,u=this.createControlId(a);return{controlProp:n,control:new o.visualization.ControlWrapper({containerId:u,controlType:s,options:c,...l})}}):null};static addControls=t=>{let{chartWrapper:r,chartDashboard:o}=t,n=this.createChartControls(t);return!n||!o||!r?null:(o.bind(n.map(i=>{let{control:a}=i;return a}),r),this.initializeControls(n),n)}},hat=e=>{let[t,r]=fo.useState(null);return[fo.useMemo(()=>!t||!e?null:e.map((n,i)=>{let a=t[i];return a?{controlProp:n,control:a}:void 0}).flatMap(n=>n?[n]:[]),[t,e]),r]},gat=(e,t)=>{fo.useEffect(()=>{let r=C7.listenToControlEvents(e??[],t);return()=>{r.forEach(o=>{t.google.visualization.events.removeListener(o)})}},[e,t])},xat=e=>{let[t,r]=hat(e.controls);return gat(t??[],e),{addControls:n=>{let i=C7.addControls(n);r(i?.m Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Aat(e,t){return Pat(e)||Mat(e,t)||Nat(e,t)||Iat()}function Nat(e,t){if(e){if(typeof e=="string")return dIe(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dIe(e,t):void 0}}function Sn(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];return oU(e,t,o)}}function Hat(e){return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return nU(e,r)}}function gr(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:T3;if(fIe&&fIe(e,null),!gh(t))return e;let o=t.length;for(;o--;){let n=t[o];if(typeof n=="string"){let i=r(n);i!==n&&(Oat(t)||(t[o]=i),n=i)}e[n]=!0}return e}function Wat(e){for(let t=0;t<e.length;t++)oi(e,t)||(e[t]=null);return e}function za(e){let t=Cy(null);for(let o of RIe(e)){var r=Aat(o,2);let n=r[0],i=r[1];oi(e,n)&&(gh(i)?t[n]=Wat(i):i&&typeof i=="object"&&i.constructor===Object?t[n]=za(i):t[n]=i)}return t}function Uat(e){switch(typeof e){case"string":return e;case"number":return zat(e);case"boolean":return Bat(e);case"bigint":return gIe?gIe(e):"0";case"symbol":return xIe?xIe(e):"Symbol()";case"undefined":return E3(e);case"function":case"object":{if(e===null)return E3(e);let t=e,r=Sd(t,"toString");if(typeof r=="function"){let o=r(t);return typeof o=="string"?o:E3(o)}return E3(e)}default:return E3(e)}}function Sd(e,t){for(;e!==null;){let o=Lat(e,t);if(o){if(o.get)return Sn(o.get);if(typeof o.value=="function")return Sn(o.value)}e=Dat(e)}function r(){return null}return r}function $at(e){try{return yi(e,""),!0}catch{return!1}}function EIe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ast(),t=He=>EIe(He);if(t.version="3.4.11",t.removed=[],!e||!e.document||e.document.nodeType!==_d.document||!e.Element)return t.isSupported=!1,t;let r=e.document,o=r,n=o.currentScript;e.DocumentFragment;let i=e.HTMLTemplateElement,a=e.Node,s=e.Element,c=e.NodeFilter,l=e.NamedNodeMap;l===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let u=e.DOMParser,f=e.trustedTypes,p=s.prototype,m=Sd(p,"cloneNode"),h=Sd(p,"remove"),x=Sd(p,"nextSibling"),y=Sd(p,"childNodes"),b=Sd(p,"parentNode"),v=Sd(p,"shadowRoot"),w=Sd(p,"attributes"),_=a&&a.prototype?Sd(a.prototype,"nodeType"):null,R=a&&a.prototype?Sd(a.prototype,"nodeName"):null;if(typeof i=="function"){let He=r.createElement("template");He.content&&He.content.ownerDocument&&(r=He.content.ownerDocument)}let S,C="",P,k=!1,M=0,E=function(){if(M>0)throw a1('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},A=function(X){E(),M++;try{return S.createHTML(X)}finally{M--}},T=function(X){E(),M++;try{return S.createScriptURL(X)}finally{M--}},O=function(){return k||(P=sst(f,n),k=!0),P},L=r,D=L.implementation,I=L.createNodeIterator,j=L.createDocumentFragment,H=L.getElementsByTagName,N=o.importNode,F=CIe();t.isSupported=typeof RIe=="function"&&typeof b=="function"&&D&&D.createHTMLDocument!==void 0;let Q=qat,z=Kat,G=Xat,K=Zat,ce=Jat,te=Qat,$=est,q=rst,ae=_Ie,Z=null,U=gr({},[...bIe,...QW,...eU,...tU,...vIe]),re=null,ee=gr({},[...yIe,...rU,...wIe,...R7]),ne=Object.seal(Cy(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),de=null,se=null,ge=Object.seal(Cy(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),fe=!0,Te=!0,ke=!1,Ae=!0,Ce=!1,he=!0,B=!1,oe=!1,le=null,be=null,Se=!1,_e=!1,Ee=!1,Re=!1,Oe=!0,je=!1,Qe="user-content-",Et=!0,Be=!1,Ye={},ye=null,De=gr({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),Ie=null,Ne=gr({},["audio","video","img","source","image","track"]),ft=null,Ve=gr({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ht="http://www.w3.org/1998/Math/MathML",jt="http://www.w3.org/2000/svg",or="http://www.w3.org/1999/xhtml",Dr=or,po=!1,kn=null,jr=gr({},[Ht,jt,or],JW),wo=wi(["mi","mo","mn","ms","mtext"]),Ko=gr({},wo),Ba=wi(["annotation-xml"]),We=gr({},Ba),ht=gr({},["title","style","font","a","script"]),cr=null,zr=["application/xhtml+xml","text/html"],mo="text/html",pr=null,Xf=null,oP=r.createElement("form"),t$=function(X){retu Line truncated
`+cn),Ce&&(cn=t4(cn)),S&&Re?A(cn):cn},t.setConfig=function(){let He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};nP(He),oe=!0,le=Z,be=re},t.clearConfig=function(){Xf=null,oe=!1,le=null,be=null,S=P,C=""},t.isValidAttribute=function(He,X,xe){Xf||nP({});let ze=pr(He),at=pr(X);return c$(ze,at,xe)},t.addHook=function(He,X){typeof X=="function"&&oi(F,He)&&Sy(F[He],X)},t.removeHook=function(He,X){if(oi(F,He)){if(X!==void 0){let xe=Fat(F[He],X);return xe===-1?void 0:Vat(F[He],xe,1)[0]}return pIe(F[He])}},t.removeHooks=function(He){oi(F,He)&&(F[He]=[])},t.removeAllHooks=function(){F=CIe()},t}var RIe,fIe,Oat,Dat,Lat,wi,_i,Cy,kIe,oU,nU,R3,Fat,pIe,Sy,Vat,gh,T3,JW,mIe,k3,hIe,jat,zat,Bat,gIe,xIe,oi,E3,yi,a1,bIe,QW,eU,Gat,tU,Yat,vIe,yIe,rU,wIe,R7,qat,Kat,Xat,Zat,Jat,_Ie,Qat,est,tst,rst,SIe,ost,nst,ist,_d,ast,sst,CIe,hh,iU,TIe=d(()=>{RIe=Object.entries,fIe=Object.setPrototypeOf,Oat=Object.isFrozen,Dat=Object.getPrototypeOf,Lat=Object.getOwnPropertyDescriptor,wi=Object.freeze,_i=Object.seal,Cy=Object.create,kIe=typeof Reflect<"u"&&Reflect,oU=kIe.apply,nU=kIe.construct;wi||(wi=function(t){return t});_i||(_i=function(t){return t});oU||(oU=function(t,r){for(var o=arguments.length,n=new Array(o>2?o-2:0),i=2;i<o;i++)n[i-2]=arguments[i];return t.apply(r,n)});nU||(nU=function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];return new t(...o)});R3=Sn(Array.prototype.forEach),Fat=Sn(Array.prototype.lastIndexOf),pIe=Sn(Array.prototype.pop),Sy=Sn(Array.prototype.push),Vat=Sn(Array.prototype.splice),gh=Array.isArray,T3=Sn(String.prototype.toLowerCase),JW=Sn(String.prototype.toString),mIe=Sn(String.prototype.match),k3=Sn(String.prototype.replace),hIe=Sn(String.prototype.indexOf),jat=Sn(String.prototype.trim),zat=Sn(Number.prototype.toString),Bat=Sn(Boolean.prototype.toString),gIe=typeof BigInt>"u"?null:Sn(BigInt.prototype.toString),xIe=typeof Symbol>"u"?null:Sn(Symbol.prototype.toString),oi=Sn(Object.prototype.hasOwnProperty),E3=Sn(Object.prototype.toString),yi=Sn(RegExp.prototype.test),a1=Hat(TypeError);bIe=wi(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),QW=wi(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),eU=wi(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Gat=wi(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),tU=wi(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Yat=wi(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),vIe=wi(["#text"]),yIe=wi(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face" Line truncated
.visx-bar[fill="url(#${Re})"],
.bar-chart__comparison-bars rect[fill="url(#${Re})"] {
stroke: ${Ee};
stroke-width: 1;
}
`},[_]),Ce=(0,J.useCallback)(()=>{if(I===void 0)return"";let _e=ae.length,Ee=Math.max(...ae.map(Qe=>Qe.series.data.length)),Re=Math.floor(I/_e),Oe=I%_e;if(Re>=Ee||Oe>=_e)return"";let je=ae[Oe]?.series;return!je||Re>=je.data.length?"":`
.bar-chart[data-chart-id="bar-chart-${_}"] .visx-bar-group .visx-bar:nth-child(${Oe*Ee+Re+1}) {
stroke: #005fcc;
stroke-width: 2px;
}
`},[I,ae,_]),he=blt(S);u1({chartId:_,legendItems:P,chartType:"bar",isDataValid:!he,metadata:(0,J.useMemo)(()=>({orientation:p,withPatterns:m}),[p,m])});let B=l1();if(he)return(0,Y.jsx)("div",{className:me("bar-chart",Rd["bar-chart"]),children:he});let oe=l??k.gridVisibility,le=Ce(),be=c.position??"bottom",Se=s&&(0,Y.jsx)(On,{orientation:c.orientation??"horizontal",position:be,alignment:c.alignment??"center",labelStyles:c.labelStyles,itemClassName:c.itemClassName,itemStyles:c.itemStyles,shapeStyles:c.shapeStyles,className:Rd["bar-chart__legend"],shape:c.shape??"rect",chartId:_,interactive:v});return(0,Y.jsx)(bh.Provider,{value:{chartId:_,chartWidth:r,chartHeight:O||0},children:(0,Y.jsx)(s1,{legendPosition:be,legendElement:Se,legendChildren:A,gap:b,className:me("bar-chart",Rd["bar-chart"],{[Rd[`bar-chart--animated${w?"-horizontal":""}`]]:x&&!B},n),style:{width:r,height:o},"data-chart-id":`bar-chart-${_}`,trailingContent:T,onContentHeightChange:D,children:({contentHeight:_e})=>{let Ee=_e>0?_e:o;return(0,Y.jsx)("div",{role:"grid","aria-label":(0,Do.__)("Bar chart","jetpack-charts"),tabIndex:0,onKeyDown:K,onFocus:z,onBlur:G,children:Ee>0&&(0,Y.jsx)("div",{ref:E,children:(0,Y.jsxs)(vd,{theme:R,width:r,height:Ee,margin:{...M,...i},xScale:de,yScale:se,horizontal:w,pointerEventsDataKey:"nearest",children:[(0,Y.jsx)(Qv,{columns:oe.includes("y"),rows:oe.includes("x"),numTicks:4}),m&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("defs",{children:S.map((Re,Oe)=>ke(Oe,ce({data:Re,index:Oe}).color))}),(0,Y.jsx)("style",{children:S.map((Re,Oe)=>Ae(Oe,ce({data:Re,index:Oe}).color))})]}),le&&(0,Y.jsx)("style",{children:le}),q?(0,Y.jsx)($3,{x:r/2,y:Ee/2,width:r,height:Ee,children:(0,Do.__)("All series are hidden. Click legend items to show data.","jetpack-charts")}):null,(0,Y.jsx)(xlt,{comparisonEntries:re,primaryKeys:Z,groupPadding:ne,horizontal:w,xAccessor:k.accessors.xAccessor,yAccessor:k.accessors.yAccessor,getElementStyles:ce,resolveFill:fe}),(0,Y.jsx)(o7,{padding:ne,children:ae.map(({series:Re,index:Oe})=>(0,Y.jsx)(AW,{dataKey:Re?.label,data:Re.data,yAccessor:k.accessors.yAccessor,xAccessor:k.accessors.xAccessor,colorAccessor:ge(Oe)},Re?.label))}),(0,Y.jsx)(zf,{...k.axis.x}),(0,Y.jsx)(zf,{...k.axis.y}),a&&(0,Y.jsx)(PU,{detectBounds:!0,snapTooltipToDatumX:!0,snapTooltipToDatumY:!0,renderTooltip:u||Te,selectedIndex:I,tooltipRef:Q,keyboardFocusedClassName:Rd["bar-chart__tooltip--keyboard-focused"],series:U,mode:"individual"})]})})})}})})},NU=e=>(0,J.useContext)(ys)?(0,Y.jsx)(XIe,{...e}):(0,Y.jsx)(Yf,{children:(0,Y.jsx)(XIe,{...e})});NU.displayName="BarChart";vlt=al(NU,{Legend:On}),iNe=al(qf(NU),{Legend:On}),ZIe=e=>{let t=e;return t&&"bandwidth"in t?t?.bandwidth()??0:0},ylt=({textProps:e,x:t,y:r,label:o,formatter:n})=>(0,Y.jsx)(ra,{...e,textAnchor:"start",x:t,y:r,children:n(o)}),wlt=({textProps:e,x:t,y:r,value:o,formatter:n})=>(0,Y.jsx)(ra,{...e,textAnchor:"end",x:t,y:r,fontWeight:500,children:n(o)}),_lt=({ticks:e,tickLabelProps:t,yOffset:r,labelPosition:o,valuePosition:n,data:i,labelFormatter:a,valueFormatter:s,LabelComponent:c=ylt,ValueComponent:l=wlt})=>{if(e.length===0)return null;let u=e.map(({value:f,index:p})=>typeof t=="function"?t(f,p,e):{});return e.map(({from:f,formattedValue:p},m)=>{let h=u[m]??{};delete h.textAnchor,delete h.dx;let x=i.reduce((b,{data:v})=>b+(v[m]?.value??0),0),y=f.y+r;return(0,Y.jsxs)(ar,{children:[(0,Y.jsx)(c,{textProps:h,x:o,y,label:p,formatter:a}),(0,Y.jsx)(l,{textProps:h,x:n,y,value:x,formatter:s,data:i,index:m})]},m)})},Slt=(e,t,r,o)=>{if(!o)return 0;let n=e.map(({label:i})=>i);return-(ZIe(Nf({domain:n,range:[0,ZIe(Of({type:"band",range:[0,r],domain:n,...t}))],padding:t.paddingInner}))+6)},JIe=({data:e,width:t,height:r,options:o={},margin:n={left:0,right:20,bottom:0,top:0},...i})=>{let a=(0,J.useMemo)(()=>{let s=e.length>1,c={paddingInner:s?.3:.1,padding:s?.3:.1},l={zero:!0},u={...c,...o.yScale??{}};return{yScale:u,xScale:{...l,...o.xScale??{}},labelPosition:o.labelPosition??(s?0:10),valueFormatter:o.valueFormatter??(f=>ug(f)),labelFormatter:o.labelFormatter??(f=>String(f)),valuePosition:o.valuePosition??t,yOffset:o.yOffset??Slt(e,u,r,s)}},[o,t,e,r]);return(0,Y.jsx)(vlt,{orientation:"horizontal",gridVisibility:"none",data:e,width:t,height:r,margin:n,options:{axis:{y:{children:s=>(0,Y.jsx)(_lt,{...s,data:e,yOffset:a.yOffset,labelPosition:a.labelPosition,valuePosition:a.valuePosition,labelFormatter:a.labelFormatter,valueFormatter:a.valueFormatter,LabelComponent:o.labelComponent,ValueComponent:o.valueComponent})},x:{children:()=>null}},xScale:a.xScale,yScale:a.yScale},...i})},aNe=e=>(0,J.useContext)(ys)?(0,Y.jsx)(JIe,{...e}):(0,Y.jsx)(Yf,{children:(0,Y.jsx)(JIe,{...e})});aNe.displayName="BarListChart";QUr=qf(aNe),Oo={"bar-container":"a8ccharts-mGEVca-bar-container","change-indicator":"a8ccharts-mGEVca-change-indicator","conversion-funnel-chart--loading":"a8ccharts-mGEVca-conversion-funnel-chart--loading","empty-state":"a8ccharts-mGEVca-empty-state","funnel-bar":"a8ccharts-mGEVca-funnel-bar", Line truncated
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*! Bundled license information:
use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
(**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js:
(**
* @license React
* use-sync-external-store-shim/with-selector.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
@base-ui/react/esm/index.js:
@base-ui/react/esm/index.js:
(**
* @base-ui/react v1.5.0
*
* @license MIT
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
classnames/index.js:
(*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*)
dompurify/dist/purify.es.mjs:
(*! @license DOMPurify 3.4.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.11/LICENSE *)
*/
@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'bdca920315a6e5637299');
@@ -0,0 +1 @@
var o={};export{o as route};
@@ -0,0 +1,17 @@
<?php
/**
* Route registry - Auto-generated by build process.
* Do not edit this file manually.
*
* @package jetpack_podcast
*/
return array(
array(
'name' => 'dashboard',
'path' => '/',
'page' => 'jetpack-podcast-dashboard',
'has_route' => true,
'has_content' => true,
)
);
@@ -0,0 +1,85 @@
<?php
/**
* Script registration - Auto-generated by build process.
* Do not edit this file manually.
*
* @package jetpack_podcast
*/
/**
* Registers a script according to `wp_register_script`. Honors this request by
* reassigning internal dependency properties of any script handle already
* registered by that name. It does not deregister the original script, to
* avoid losing inline scripts which may have been attached.
*
* @param WP_Scripts $scripts WP_Scripts instance.
* @param string $handle Name of the script. Should be unique.
* @param string $src Full URL of the script, or path of the script relative to the WordPress root directory.
* @param array $deps Optional. An array of registered script handles this script depends on. Default empty array.
* @param string|bool|null $ver Optional. String specifying script version number, if it has one, which is added to the URL
* as a query string for cache busting purposes. If version is set to false, a version
* number is automatically added equal to current installed WordPress version.
* If set to null, no version is added.
* @param bool $in_footer Optional. Whether to enqueue the script before </body> instead of in the <head>.
* Default 'false'.
*/
function jetpack_podcast_override_script( $scripts, $handle, $src, $deps = array(), $ver = false, $in_footer = false ) {
$script = $scripts->query( $handle, 'registered' );
if ( $script ) {
/*
* In many ways, this is a reimplementation of `wp_register_script` but
* bypassing consideration of whether a script by the given handle had
* already been registered.
*/
// See: `_WP_Dependency::__construct` .
$script->src = $src;
$script->deps = $deps;
$script->ver = $ver;
$script->args = $in_footer ? 1 : null;
} else {
$scripts->add( $handle, $src, $deps, $ver, ( $in_footer ? 1 : null ) );
}
if ( in_array( 'wp-i18n', $deps, true ) ) {
$scripts->set_translations( $handle );
}
}
/**
* Register all package scripts.
*/
function jetpack_podcast_register_package_scripts( $scripts ) {
// Load build constants
$build_constants = require __DIR__ . '/constants.php';
$default_version = ! SCRIPT_DEBUG ? $build_constants['version'] : time();
$extension = '.min.js';
$scripts_dir = __DIR__ . '/scripts';
$scripts_file = $scripts_dir . '/registry.php';
if ( ! file_exists( $scripts_file ) ) {
return;
}
$scripts_data = require $scripts_file;
$plugin_dir = dirname( __FILE__ );
foreach ( $scripts_data as $script_data ) {
$asset_file = $scripts_dir . '/' . $script_data['asset'];
$asset = file_exists( $asset_file ) ? require $asset_file : array();
$dependencies = $asset['dependencies'] ?? array();
$version = $asset['version'] ?? $default_version;
jetpack_podcast_override_script(
$scripts,
$script_data['handle'],
$build_constants['build_url'] . 'scripts/' . $script_data['path'] . $extension,
$dependencies,
$version,
true
);
}
}
add_action( 'wp_default_scripts', 'jetpack_podcast_register_package_scripts' );
@@ -0,0 +1,11 @@
<?php
/**
* Script registry - Auto-generated by build process.
* Do not edit this file manually.
*
* @package jetpack_podcast
*/
return array(
);
@@ -0,0 +1,73 @@
<?php
/**
* Style registration - Auto-generated by build process.
* Do not edit this file manually.
*
* Note: These styles can be overridden by calling jetpack_podcast_override_style()
* in lib/client-assets.php for complex cases (multiple files, conditional deps, etc.)
*
* @package jetpack_podcast
*/
/**
* Registers a style according to `wp_register_style`. Honors this request by
* deregistering any style by the same handler before registration.
*
* @param WP_Styles $styles WP_Styles instance.
* @param string $handle Name of the stylesheet. Should be unique.
* @param string $src Full URL of the stylesheet, or path of the stylesheet relative to the WordPress root directory.
* @param array $deps Optional. An array of registered stylesheet handles this stylesheet depends on. Default empty array.
* @param string|bool|null $ver Optional. String specifying stylesheet version number, if it has one, which is added to the URL
* as a query string for cache busting purposes. If version is set to false, a version
* number is automatically added equal to current installed WordPress version.
* If set to null, no version is added.
* @param string $media Optional. The media for which this stylesheet has been defined.
* Default 'all'. Accepts media types like 'all', 'print' and 'screen', or media queries like
* '(orientation: portrait)' and '(max-width: 640px)'.
*/
function jetpack_podcast_override_style( $styles, $handle, $src, $deps = array(), $ver = false, $media = 'all' ) {
$style = $styles->query( $handle, 'registered' );
if ( $style ) {
$styles->remove( $handle );
}
$styles->add( $handle, $src, $deps, $ver, $media );
}
/**
* Register all package styles (simple cases only).
* Complex cases should be manually registered in lib/client-assets.php.
*
* @param WP_Styles $styles WP_Styles instance.
*/
function jetpack_podcast_register_package_styles( $styles ) {
// Load build constants
$build_constants = require __DIR__ . '/constants.php';
$default_version = ! SCRIPT_DEBUG ? $build_constants['version'] : time();
$suffix = '.min';
$styles_dir = __DIR__ . '/styles';
$styles_file = $styles_dir . '/registry.php';
if ( ! file_exists( $styles_file ) ) {
return;
}
$styles_data = require $styles_file;
$plugin_dir = dirname( __FILE__ );
foreach ( $styles_data as $style_data ) {
jetpack_podcast_override_style(
$styles,
$style_data['handle'],
$build_constants['build_url'] . 'styles/' . $style_data['path'] . $suffix . '.css',
$style_data['dependencies'],
$default_version
);
// Enable RTL support (WordPress automatically loads -rtl.css variant)
$styles->add_data( $style_data['handle'], 'rtl', 'replace' );
$styles->add_data( $style_data['handle'], 'suffix', $suffix );
}
}
add_action( 'wp_default_styles', 'jetpack_podcast_register_package_styles' );
@@ -0,0 +1,11 @@
<?php
/**
* Style registry - Auto-generated by build process.
* Do not edit this file manually.
*
* @package jetpack_podcast
*/
return array(
);