-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxprober.php
executable file
·48 lines (47 loc) · 358 KB
/
xprober.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
namespace InnStudio\Prober\Components\PreDefine; $version = phpversion(); version_compare($version, '5.4.0','<') && exit("PHP 5.4+ is required. Currently installed version is: {$version}"); \define('XPROBER_TIMER', \microtime(true)); \define('XPROBER_IS_DEV', false); \define('XPROBER_DIR', __DIR__); namespace InnStudio\Prober\Components\PhpInfo; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Conf extends PhpInfoConstants { public function __construct() { EventsApi::on('conf', function (array $conf) { if (XconfigApi::isDisabled($this->ID)) { return $conf; } $conf[$this->ID] = array( 'version' => \PHP_VERSION, 'sapi' => \PHP_SAPI, 'displayErrors' => (bool) \ini_get('display_errors'), 'errorReporting' => (int) \ini_get('error_reporting'), 'memoryLimit' => (string) \ini_get('memory_limit'), 'postMaxSize' => (string) \ini_get('post_max_size'), 'uploadMaxFilesize' => (string) \ini_get('upload_max_filesize'), 'maxInputVars' => (int) \ini_get('max_input_vars'), 'maxExecutionTime' => (int) \ini_get('max_execution_time'), 'defaultSocketTimeout' => (int) \ini_get('default_socket_timeout'), 'allowUrlFopen' => (bool) \ini_get('allow_url_fopen'), 'smtp' => (bool) \ini_get('SMTP'), 'disableFunctions' => XconfigApi::isDisabled('phpDisabledFunctions') ? array() : array_filter(explode(',', (string) \ini_get('disable_functions'))), 'disableClasses' => XconfigApi::isDisabled('phpDisabledClasses') ? array() : array_filter(explode(',', (string) \ini_get('disable_classes'))), ); return $conf; }); } } namespace InnStudio\Prober\Components\PhpInfo; use InnStudio\Prober\Components\Config\ConfigApi; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; use InnStudio\Prober\Components\Rest\StatusCode; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class FetchLatestPhpVersion extends PhpInfoConstants { public function __construct() { EventsApi::on('init', function ($action) { if (XconfigApi::isDisabled($this->ID)) { return $action; } if ('latest-php-version' !== $action) { return $action; } $response = new RestResponse(); $content = file_get_contents('https://www.php.net/releases/?json'); if ( ! $content) { $response->setStatus(StatusCode::$NOT_FOUND)->end(); } $versions = json_decode($content, true); if ( ! $versions) { $response->setStatus(StatusCode::$NOT_FOUND)->end(); } $version = isset($versions[ConfigApi::$LATEST_PHP_STABLE_VERSION]['version']) ? $versions[ConfigApi::$LATEST_PHP_STABLE_VERSION]['version'] : ''; if ( ! $version) { $response->setStatus(StatusCode::$NOT_FOUND)->end(); } $response->setData(array( 'version' => $version, 'date' => $versions[ConfigApi::$LATEST_PHP_STABLE_VERSION]['date'], ))->json()->end(); }); } } namespace InnStudio\Prober\Components\PhpInfo; final class PhpInfo { public function __construct() { new Conf(); new FetchLatestPhpVersion(); } } namespace InnStudio\Prober\Components\PhpInfo; class PhpInfoConstants { protected $ID = 'phpInfo'; } namespace InnStudio\Prober\Components\Events; final class EventsApi { private static $events = array(); private static $PRIORITY_ID = 'priority'; private static $CALLBACK_ID = 'callback'; public static function on($name, $callback, $priority = 10) { if ( ! isset(self::$events[$name])) { self::$events[$name] = array(); } self::$events[$name][] = array( self::$PRIORITY_ID => $priority, self::$CALLBACK_ID => $callback, ); } public static function emit() { $args = \func_get_args(); $name = $args[0]; $return = isset($args[1]) ? $args[1] : null; unset($args[0], $args[1]); $events = isset(self::$events[$name]) ? self::$events[$name] : false; if ( ! $events) { return $return; } $sortArr = array(); foreach ($events as $k => $filter) { $sortArr[$k] = $filter[self::$PRIORITY_ID]; } array_multisort($sortArr, $events); foreach ($events as $filter) { $return = \call_user_func_array($filter[self::$CALLBACK_ID], array($return, $args)); } return $return; } } namespace InnStudio\Prober\Components\PhpInfoDetail; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class PhpInfoDetail extends PhpInfoDetailConstants { public function __construct() { EventsApi::on('init', function ($action) { if (XconfigApi::isDisabled($this->ID)) { return $action; } if ($this->ID !== $action) { return $action; } phpinfo(); exit; }); } } namespace InnStudio\Prober\Components\PhpInfoDetail; class PhpInfoDetailConstants { protected $ID = 'phpInfoDetail'; } namespace InnStudio\Prober\Components\Ping; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Conf extends PingConstants { public function __construct() { EventsApi::on('conf', function (array $conf) { if (XconfigApi::isDisabled($this->ID)) { return $conf; } $conf[$this->ID] = array(); return $conf; }); } } namespace InnStudio\Prober\Components\Ping; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Ping extends PingConstants { public function __construct() { new Conf(); EventsApi::on('init', function ($action) { if (XconfigApi::isDisabled($this->ID)) { return $action; } if ($this->ID !== $action) { return $action; } $response = new RestResponse(array( 'time' => \defined('XPROBER_TIMER') ? microtime(true) - XPROBER_TIMER : 0, )); $response->json()->end(); }); } } namespace InnStudio\Prober\Components\Ping; class PingConstants { protected $ID = 'ping'; } namespace InnStudio\Prober\Components\PhpExtensions; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Conf extends PhpExtensionsConstants { public function __construct() { EventsApi::on('conf', function (array $conf) { if (XconfigApi::isDisabled($this->ID)) { return $conf; } $jitEnabled = false; if (\function_exists('opcache_get_status')) { $status = opcache_get_status(); if (isset($status['jit']['enabled']) && true === $status['jit']['enabled']) { $jitEnabled = true; } } $conf[$this->ID] = array( 'redis' => \extension_loaded('redis') && class_exists('Redis'), 'sqlite3' => \extension_loaded('sqlite3') && class_exists('Sqlite3'), 'memcache' => \extension_loaded('memcache') && class_exists('Memcache'), 'memcached' => \extension_loaded('memcached') && class_exists('Memcached'), 'opcache' => \function_exists('opcache_get_status'), 'opcacheEnabled' => $this->isOpcEnabled(), 'opcacheJitEnabled' => $jitEnabled, 'swoole' => \extension_loaded('swoole') && \function_exists('swoole_version'), 'imagick' => \extension_loaded('imagick') && class_exists('Imagick'), 'gmagick' => \extension_loaded('gmagick'), 'exif' => \extension_loaded('exif') && \function_exists('exif_imagetype'), 'fileinfo' => \extension_loaded('fileinfo'), 'simplexml' => \extension_loaded('simplexml'), 'sockets' => \extension_loaded('sockets') && \function_exists('socket_accept'), 'mysqli' => \extension_loaded('mysqli') && class_exists('mysqli'), 'zip' => \extension_loaded('zip') && class_exists('ZipArchive'), 'mbstring' => \extension_loaded('mbstring') && \function_exists('mb_substr'), 'phalcon' => \extension_loaded('phalcon'), 'xdebug' => \extension_loaded('xdebug'), 'zendOptimizer' => \function_exists('zend_optimizer_version'), 'ionCube' => \extension_loaded('ioncube loader'), 'sourceGuardian' => \extension_loaded('sourceguardian'), 'ldap' => \function_exists('ldap_connect'), 'curl' => \function_exists('curl_init'), 'loadedExtensions' => XconfigApi::isDisabled('phpExtensionsLoaded') ? array() : get_loaded_extensions(), ); return $conf; }); } private function isOpcEnabled() { $isOpcEnabled = \function_exists('opcache_get_configuration'); if ($isOpcEnabled) { $isOpcEnabled = opcache_get_configuration(); $isOpcEnabled = isset($isOpcEnabled['directives']['opcache.enable']) && true === $isOpcEnabled['directives']['opcache.enable']; } return $isOpcEnabled; } } namespace InnStudio\Prober\Components\PhpExtensions; class PhpExtensionsConstants { protected $ID = 'phpExtensions'; } namespace InnStudio\Prober\Components\PhpExtensions; final class PhpExtensions { public function __construct() { new Conf(); } } namespace InnStudio\Prober\Components\Footer; use InnStudio\Prober\Components\Events\EventsApi; final class Footer { private $ID = 'footer'; public function __construct() { EventsApi::on('conf', function (array $conf) { $conf[$this->ID] = array( 'memUsage' => memory_get_usage(), 'time' => microtime(true) - (\defined('XPROBER_TIMER') ? XPROBER_TIMER : 0), ); return $conf; }, \PHP_INT_MAX); } } namespace InnStudio\Prober\Components\TemperatureSensor; use Exception; use InnStudio\Prober\Components\Config\ConfigApi; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; use InnStudio\Prober\Components\Rest\StatusCode; final class TemperatureSensor { public function __construct() { EventsApi::on('init', function ($action) { if ('temperature-sensor' !== $action) { return $action; } $response = new RestResponse(); $items = $this->getItems(); if ($items) { $response->setData($items)->json()->end(); } $cpuTemp = $this->getCpuTemp(); if ( ! $cpuTemp) { $response->setStatus(StatusCode::$NO_CONTENT); } $items[] = array( 'id' => 'cpu', 'name' => 'CPU', 'celsius' => round((float) $cpuTemp / 1000, 2), ); $response->setData($items)->json()->end(); }); } private function curl($url) { if ( ! \function_exists('curl_init')) { return; } $ch = curl_init(); curl_setopt_array($ch, array( \CURLOPT_URL => $url, \CURLOPT_RETURNTRANSFER => true, )); $res = curl_exec($ch); curl_close($ch); return (string) $res; } private function getItems() { $items = array(); foreach (ConfigApi::$APP_TEMPERATURE_SENSOR_PORTS as $port) { $res = $this->curl(ConfigApi::$APP_TEMPERATURE_SENSOR_URL . ":{$port}"); if ( ! $res) { continue; } $item = json_decode($res, true); if ( ! $item || ! \is_array($item)) { continue; } $items = $item; break; } return $items; } private function getCpuTemp() { try { $path = '/sys/class/thermal/thermal_zone0/temp'; return file_exists($path) ? (int) file_get_contents($path) : 0; } catch (Exception $e) { return 0; } } } namespace InnStudio\Prober\Components\ServerStatus; final class ServerStatus { public function __construct() { new Conf(); new Fetch(); } } namespace InnStudio\Prober\Components\ServerStatus; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Utils\UtilsCpu; use InnStudio\Prober\Components\Utils\UtilsMemory; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Conf extends ServerStatusConstants { public function __construct() { EventsApi::on('conf', function (array $conf) { if (XconfigApi::isDisabled($this->ID)) { return $conf; } $conf[$this->ID] = array( 'sysLoad' => UtilsCpu::getLoadAvg(), 'memRealUsage' => array( 'value' => UtilsMemory::getMemoryUsage('MemRealUsage'), 'max' => UtilsMemory::getMemoryUsage('MemTotal'), ), 'memBuffers' => array( 'value' => UtilsMemory::getMemoryUsage('Buffers'), 'max' => UtilsMemory::getMemoryUsage('MemUsage'), ), 'memCached' => array( 'value' => UtilsMemory::getMemoryUsage('Cached'), 'max' => UtilsMemory::getMemoryUsage('MemUsage'), ), 'swapUsage' => array( 'value' => UtilsMemory::getMemoryUsage('SwapUsage'), 'max' => UtilsMemory::getMemoryUsage('SwapTotal'), ), 'swapCached' => array( 'value' => UtilsMemory::getMemoryUsage('SwapCached'), 'max' => UtilsMemory::getMemoryUsage('SwapUsage'), ), ); return $conf; }); } } namespace InnStudio\Prober\Components\ServerStatus; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Utils\UtilsCpu; use InnStudio\Prober\Components\Utils\UtilsMemory; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Fetch extends ServerStatusConstants { public function __construct() { EventsApi::on('fetch', array($this, 'filter')); EventsApi::on('nodes', array($this, 'filter')); } public function filter(array $items) { if (XconfigApi::isDisabled($this->ID)) { return $items; } $items[$this->ID] = array( 'sysLoad' => UtilsCpu::getLoadAvg(), 'cpuUsage' => UtilsCpu::getUsage(), 'memRealUsage' => array( 'value' => UtilsMemory::getMemoryUsage('MemRealUsage'), 'max' => UtilsMemory::getMemoryUsage('MemTotal'), ), 'memBuffers' => array( 'value' => UtilsMemory::getMemoryUsage('Buffers'), 'max' => UtilsMemory::getMemoryUsage('MemUsage'), ), 'memCached' => array( 'value' => UtilsMemory::getMemoryUsage('Cached'), 'max' => UtilsMemory::getMemoryUsage('MemUsage'), ), 'swapUsage' => array( 'value' => UtilsMemory::getMemoryUsage('SwapUsage'), 'max' => UtilsMemory::getMemoryUsage('SwapTotal'), ), 'swapCached' => array( 'value' => UtilsMemory::getMemoryUsage('SwapCached'), 'max' => UtilsMemory::getMemoryUsage('SwapUsage'), ), ); return $items; } } namespace InnStudio\Prober\Components\ServerStatus; class ServerStatusConstants { protected $ID = 'serverStatus'; } namespace InnStudio\Prober\Components\Style; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Utils\UtilsApi; final class Style { public function __construct() { EventsApi::on('init', function ($action) { if ('style' !== $action) { return $action; } $this->output(); }); } private function output() { UtilsApi::setFileCacheHeader(); header('Content-type: text/css'); echo <<<'HTML'
.src-Components-Card-components-styles-module__des--EgOss{padding:calc(var(--x-gutter)/2) var(--x-gutter);background-color:var(--x-card-des-bg);color:var(--x-card-des-fg);border-radius:var(--x-radius);margin-bottom:var(--x-gutter)}.src-Components-Card-components-styles-module__link--QMvaX::before{content:"👆 "}.src-Components-Card-components-styles-module__ruby--lRf3T{background:var(--x-benchmark-ruby-bg);cursor:pointer}.src-Components-Card-components-styles-module__ruby--lRf3T:hover{text-decoration:underline}.src-Components-Card-components-styles-module__ruby--lRf3T rt{font-size:.75rem;opacity:.5}.src-Components-Card-components-styles-module__ruby--lRf3T[data-is-result]{font-weight:bold}.src-Components-Card-components-styles-module__error--RxEjQ{padding:var(--x-gutter)}.src-Components-Card-components-styles-module__title--sQBIC{word-break:normal;padding:calc(var(--x-gutter)/2) 0;flex:0 0 8rem;color:var(--x-card-title-fg)}@media(min-width: 375px){.src-Components-Card-components-styles-module__title--sQBIC{flex:0 0 9rem}}@media(min-width: 425px){.src-Components-Card-components-styles-module__title--sQBIC{flex:0 0 10rem}}@media(min-width: 768px){.src-Components-Card-components-styles-module__title--sQBIC{flex:0 0 11rem}}.src-Components-Card-components-styles-module__group--onjSH{display:flex;width:100%;align-items:center;border-bottom:1px dashed var(--x-card-border-color)}.src-Components-Card-components-styles-module__group--onjSH:hover{background:var(--x-card-bg-hover)}.src-Components-Card-components-styles-module__content--Ibvay{flex-grow:1;padding:calc(var(--x-gutter)/2) 0}.src-Components-Card-components-styles-module__fieldset--GoXuV{position:relative;border:5px solid var(--x-card-border-color);border-radius:calc(var(--x-gutter)*1.5);background:var(--x-card-bg);margin-bottom:calc(var(--x-gutter)*1.5);padding:calc(var(--x-gutter)*1.5) 0 0;box-shadow:var(--x-card-box-shadow);scroll-margin-top:50px}.src-Components-Card-components-styles-module__body--aNmjc{padding:0 calc(var(--x-gutter)/2)}@media(min-width: 425px){.src-Components-Card-components-styles-module__body--aNmjc{padding:0 var(--x-gutter)}}.src-Components-Card-components-styles-module__arrow--YXo0g{color:var(--x-card-legend-arrow-fg);padding:0 .5rem;cursor:pointer;opacity:.5}.src-Components-Card-components-styles-module__arrow--YXo0g:active,.src-Components-Card-components-styles-module__arrow--YXo0g:hover{text-decoration:none;opacity:1;color:var(--x-card-legend-arrow-fg)}.src-Components-Card-components-styles-module__arrow--YXo0g[data-disabled],.src-Components-Card-components-styles-module__arrow--YXo0g[data-disabled]:hover{cursor:not-allowed;opacity:.1}.src-Components-Card-components-styles-module__legend--fgO2f{display:flex;justify-content:center;align-items:center;position:absolute;left:50%;top:0;transform:translate(-50%, -50%);background:var(--x-card-legend-bg);padding:.5rem 1rem;border-radius:5rem;color:var(--x-card-legend-fg);margin:0 auto;white-space:nowrap}.src-Components-Card-components-styles-module__legendText--q65Xw{padding:0 .5rem}.src-Components-Card-components-styles-module__multiItemContainer--CAVDM{display:flex;flex-wrap:wrap;margin-bottom:-0.2rem}
:root{--x-max-width: 1680px;--x-radius: 2rem;--x-fg: hsl(0, 0%, 20%);--x-bg: hsl(0, 0%, 97%);--x-html-bg: var(--x-fg);--x-body-fg: var(--x-fg);--x-body-bg: var(--x-bg);--x-gutter: 1rem;--x-app-border-color: var(--x-fg);--x-app-bg: var(--x-bg);--x-footer-fg: var(--x-bg);--x-footer-bg: var(--x-fg);--x-benchmark-ruby-bg: hsla(0, 0%, 0%, 0.05);--x-card-bg: hsla(0, 0%, 20%, 0.03);--x-card-bg-hover: linear-gradient( to right, transparent, hsla(0, 0%, 0%, 0.102), transparent );--x-card-legend-fg: var(--x-bg);--x-card-legend-bg: linear-gradient(hsl(0, 0%, 15%), var(--x-fg));--x-card-legend-arrow-fg: var(--x-bg);--x-card-title-fg: var(--x-fg);--x-card-title-bg: var(--x-bg);--x-card-des-fg: var(--x-bg);--x-card-des-bg: var(--x-fg);--x-card-border-color: hsla(0, 0%, 20%, 0.1);--x-card-box-shadow: hsla(0, 0%, 20%, 0.3) 0px -1px 0px, hsl(0, 0%, 100%) 0px 1px 0px inset, hsla(0, 0%, 20%, 0.3) 0px -1px 0px inset, hsl(0, 0%, 100%) 0px 1px 0px;--x-title-fg: var(--x-bg);--x-title-bg: var(--x-fg);--x-title-box-shadow: 0 1px 0 hsl(0, 0%, 0%);--x-star-me-fg: var(--x-bg);--x-star-me-bg: var(--x-fg);--x-star-me-hover-fg: hsl(0, 0%, 100%);--x-star-me-hover-bg: var(--x-fg);--x-star-me-border-color: linear-gradient( 90deg, transparent, hsl(0, 0%, 100%), transparent );--x-nav-fg: var(--x-bg);--x-nav-fg-hover: var(--x-fg);--x-nav-fg-active: var(--x-fg);--x-nav-bg: var(--x-fg);--x-nav-bg-hover: linear-gradient( hsla(0, 0%, 100%, 0.85), hsla(0, 0%, 100%, 0.65) );--x-nav-bg-active: linear-gradient( hsla(0, 0%, 100%, 0.95), hsla(0, 0%, 100%, 0.75) );--x-nav-border-color: hsla(0, 0%, 100%, 0.1);--x-status-ok-fg: hsl(0, 0%, 100%);--x-status-ok-bg: linear-gradient(hsl(120, 100%, 30%), hsl(120, 100%, 45%));--x-status-error-fg: hsl(0, 0%, 100%);--x-status-error-bg: linear-gradient(hsl(0, 0%, 50%), hsl(0, 0%, 73%));--x-search-fg: var(--x-fg);--x-search-bg: hsla(0, 0%, 0%, 0.05);--x-search-bg-hover: hsla(0, 0%, 0%, 0.15);--x-progress-fg: var(--x-bg);--x-progress-bg: linear-gradient(hsl(0, 0%, 0%), hsl(0, 0%, 10%));--x-progress-value-bg: hsl(120, 100%, 40%);--x-progress-value-highlight-bg: linear-gradient( hsla(0, 0%, 100%, 0.45), transparent );--x-progress-value-highlight-border-color: linear-gradient( to right, hsla(0, 0%, 100%, 0.1), hsla(0, 0%, 100%, 0.45), hsla(0, 0%, 100%, 0.1) );--x-progress-value-box-shadow: 0px 0px 1px 1px hsl(0, 0%, 0%);--x-network-stats-tx-fg: hsl(23, 100%, 38%);--x-network-stats-rx-fg: hsl(120, 100%, 23%);--x-network-node-fg: var(--x-fg);--x-network-node-bg: hsla(132, 4%, 23%, 0.1);--x-network-node-border-color: hsla(132, 4%, 23%, 0.1);--x-network-node-row-bg: linear-gradient( to right, transparent, hsla(0, 0%, 100%, 0.5), transparent );--x-ping-btn-fg: var(--x-bg);--x-ping-btn-bg: var(--x-fg);--x-ping-result-fg: var(--x-bg);--x-ping-result-bg: var(--x-fg);--x-ping-result-scrollbar-bg: var(--x-fg);--x-sys-load-fg: var(--x-bg);--x-sys-load-bg: var(--x-fg);--x-toast-fg: var(--x-bg);--x-toast-bg: var(--x-fg)}@media(prefers-color-scheme: dark){:root{--x-fg: hsl(0, 0%, 80%);--x-bg: hsl(0, 0%, 0%);--x-html-bg: hsl(0, 0%, 0%);--x-body-fg: var(--x-fg);--x-body-bg: hsl(0, 0%, 0%);--x-gutter: 1rem;--x-app-border-color: var(--x-bg);--x-app-bg: hsl(0, 0%, 13%);--x-footer-fg: var(--x-fg);--x-footer-bg: var(--x-bg);--x-benchmark-ruby-bg: hsl(0, 0%, 0%, 0.5);--x-card-bg: hsl(0, 0%, 20%);--x-card-bg-hover: linear-gradient( to right, transparent, hsla(0, 0%, 0%, 0.5), transparent );--x-card-legend-fg: var(--x-fg);--x-card-legend-bg: linear-gradient(hsl(0, 0%, 10%), var(--x-bg));--x-card-title-fg: var(--x-fg);--x-card-title-bg: var(--x-bg);--x-card-des-fg: var(--x-fg);--x-card-des-bg: var(--x-bg);--x-card-border-color: hsla(0, 0%, 0%, 0.5);--x-card-box-shadow: 0px 0px 0px 1px hsl(0, 0%, 0%) inset;--x-title-fg: var(--x-fg);--x-title-bg: var(--x-bg);--x-title-box-shadow: 0 1px 0 hsl(0, 0%, 0%);--x-star-me-fg: var(--x-fg);--x-star-me-bg: var(--x-bg);--x-star-me-hover-fg: hsl(0, 0%, 100%);--x-star-me-hover-bg: var(--x-bg);--x-star-me-border-color: linear-gradient( 90deg, transparent, hsl(0, 0%, 100%), transparent );--x-nav-fg: var(--x-fg);--x-nav-fg-hover: var(--x-fg);--x-nav-fg-active: var(--x-fg);--x-nav-bg: var(--x-bg);--x-nav-bg-hover: linear-gradient( hsla(0, 0%, 100%, 0.15), hsla(0, 0%, 100%, 0.05) );--x-nav-bg-active: linear-gradient( hsla(0, 0%, 100%, 0.25), hsla(0, 0%, 100%, 0.15) );--x-nav-border-color: hsla(0, 0%, 100%, 0.1);--x-status-ok-fg: hsl(0, 0%, 100%);--x-status-ok-bg: linear-gradient( hsl(120, 100%, 20%), hsl(120, 100%, 25%) );--x-status-error-fg: hsl(0, 0%, 100%);--x-status-error-bg: linear-gradient(hsl(0, 0%, 27%), hsl(0, 0%, 33%));--x-search-fg: var(--x-fg);--x-search-bg: hsla(0, 0%, 0%, 0.35);--x-search-bg-hover: hsla(0, 0%, 100%, 0.1);--x-progress-fg: var(--x-fg);--x-progress-bg: linear-gradient(hsl(0, 0%, 0%), hsl(0, 0%, 15%));--x-progress-value-bg: hsl(120, 100%, 40%);--x-progress-value-highlight-bg: linear-gradient( hsla(0, 0%, 100%, 0.25), transparent );--x-progress-value-highlight-border-color: linear-gradient( to right, hsla(0, 0%, 100%, 0.1), hsla(0, 0%, 100%, 0.25), hsla(0, 0%, 100%, 0.1) );--x-progress-value-box-shadow: 0px 0px 0px 10px inset hsla(0, 0%, 0%, 0.55), 0px 0px 1px 1px hsl(0, 0%, 0%);--x-network-stats-tx-fg: hsl(23, 100%, 58%);--x-network-stats-rx-fg: hsl(120, 100%, 43%);--x-network-node-fg: var(--x-fg);--x-network-node-bg: hsla(0, 0%, 100%, 0.05);--x-network-node-border-color: hsla(0, 0%, 0%, 0.95);--x-network-node-row-bg: var(--x-card-bg-hover);--x-ping-btn-fg: var(--x-fg);--x-ping-btn-bg: var(--x-bg);--x-ping-result-fg: var(--x-fg);--x-ping-result-bg: var(--x-bg);--x-ping-result-scrollbar-bg: var(--x-bg);--x-sys-load-fg: var(--x-fg);--x-sys-load-bg: var(--x-bg);--x-toast-fg: var(--x-fg);--x-toast-bg: var(--x-bg)}}
.src-Components-Container-components-styles-module__main--rQ91J{margin-left:auto;margin-right:auto;padding-left:calc(var(--x-gutter)/2);padding-right:calc(var(--x-gutter)/2);max-width:var(--x-max-width)}@media(min-width: 768px){.src-Components-Container-components-styles-module__main--rQ91J{padding-left:var(--x-gutter);padding-right:var(--x-gutter)}}
.src-Components-Grid-components-styles-module__container--EXgkw{display:flex;flex-wrap:wrap;margin-left:calc(var(--x-gutter)*-0.5);margin-right:calc(var(--x-gutter)*-0.5)}.src-Components-Grid-components-styles-module__grid--qbVV1{padding-left:calc(var(--x-gutter)*.5);padding-right:calc(var(--x-gutter)*.5);flex:1 0 100%;width:100%}@media(min-width: 320px){.src-Components-Grid-components-styles-module__grid--qbVV1[data-xs="1"]{flex:0 0 100%;width:100%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xs="2"]{flex:0 0 50%;width:50%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xs="3"]{flex:0 0 33.3333333333%;width:33.3333333333%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xs="4"]{flex:0 0 25%;width:25%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xs="5"]{flex:0 0 20%;width:20%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xs="6"]{flex:0 0 16.6666666667%;width:16.6666666667%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xs="7"]{flex:0 0 14.2857142857%;width:14.2857142857%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xs="8"]{flex:0 0 12.5%;width:12.5%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xs="9"]{flex:0 0 11.1111111111%;width:11.1111111111%}}@media(min-width: 375px){.src-Components-Grid-components-styles-module__grid--qbVV1[data-sm="1"]{flex:0 0 100%;width:100%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-sm="2"]{flex:0 0 50%;width:50%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-sm="3"]{flex:0 0 33.3333333333%;width:33.3333333333%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-sm="4"]{flex:0 0 25%;width:25%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-sm="5"]{flex:0 0 20%;width:20%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-sm="6"]{flex:0 0 16.6666666667%;width:16.6666666667%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-sm="7"]{flex:0 0 14.2857142857%;width:14.2857142857%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-sm="8"]{flex:0 0 12.5%;width:12.5%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-sm="9"]{flex:0 0 11.1111111111%;width:11.1111111111%}}@media(min-width: 425px){.src-Components-Grid-components-styles-module__grid--qbVV1[data-md="1"]{flex:0 0 100%;width:100%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-md="2"]{flex:0 0 50%;width:50%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-md="3"]{flex:0 0 33.3333333333%;width:33.3333333333%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-md="4"]{flex:0 0 25%;width:25%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-md="5"]{flex:0 0 20%;width:20%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-md="6"]{flex:0 0 16.6666666667%;width:16.6666666667%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-md="7"]{flex:0 0 14.2857142857%;width:14.2857142857%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-md="8"]{flex:0 0 12.5%;width:12.5%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-md="9"]{flex:0 0 11.1111111111%;width:11.1111111111%}}@media(min-width: 768px){.src-Components-Grid-components-styles-module__grid--qbVV1[data-lg="1"]{flex:0 0 100%;width:100%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-lg="2"]{flex:0 0 50%;width:50%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-lg="3"]{flex:0 0 33.3333333333%;width:33.3333333333%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-lg="4"]{flex:0 0 25%;width:25%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-lg="5"]{flex:0 0 20%;width:20%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-lg="6"]{flex:0 0 16.6666666667%;width:16.6666666667%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-lg="7"]{flex:0 0 14.2857142857%;width:14.2857142857%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-lg="8"]{flex:0 0 12.5%;width:12.5%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-lg="9"]{flex:0 0 11.1111111111%;width:11.1111111111%}}@media(min-width: 1024px){.src-Components-Grid-components-styles-module__grid--qbVV1[data-xl="1"]{flex:0 0 100%;width:100%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xl="2"]{flex:0 0 50%;width:50%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xl="3"]{flex:0 0 33.3333333333%;width:33.3333333333%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xl="4"]{flex:0 0 25%;width:25%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xl="5"]{flex:0 0 20%;width:20%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xl="6"]{flex:0 0 16.6666666667%;width:16.6666666667%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xl="7"]{flex:0 0 14.2857142857%;width:14.2857142857%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xl="8"]{flex:0 0 12.5%;width:12.5%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xl="9"]{flex:0 0 11.1111111111%;width:11.1111111111%}}@media(min-width: 1440px){.src-Components-Grid-components-styles-module__grid--qbVV1[data-xxl="1"]{flex:0 0 100%;width:100%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xxl="2"]{flex:0 0 50%;width:50%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xxl="3"]{flex:0 0 33.3333333333%;width:33.3333333333%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xxl="4"]{flex:0 0 25%;width:25%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xxl="5"]{flex:0 0 20%;width:20%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xxl="6"]{flex:0 0 16.6666666667%;width:16.6666666667%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xxl="7"]{flex:0 0 14.2857142857%;width:14.2857142857%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xxl="8"]{flex:0 0 12.5%;width:12.5%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-xxl="9"]{flex:0 0 11.1111111111%;width:11.1111111111%}}@media(min-width: 2560px){.src-Components-Grid-components-styles-module__grid--qbVV1[data-4k="1"]{flex:0 0 100%;width:100%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-4k="2"]{flex:0 0 50%;width:50%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-4k="3"]{flex:0 0 33.3333333333%;width:33.3333333333%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-4k="4"]{flex:0 0 25%;width:25%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-4k="5"]{flex:0 0 20%;width:20%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-4k="6"]{flex:0 0 16.6666666667%;width:16.6666666667%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-4k="7"]{flex:0 0 14.2857142857%;width:14.2857142857%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-4k="8"]{flex:0 0 12.5%;width:12.5%}.src-Components-Grid-components-styles-module__grid--qbVV1[data-4k="9"]{flex:0 0 11.1111111111%;width:11.1111111111%}}
.src-Components-Utils-components-alert-styles-module__main--fj45p{display:inline-flex;border-radius:var(--x-radius);align-items:center;justify-content:center;font-family:"Arial Black",sans-serif;font-weight:bolder;min-width:2em;padding:0 .5rem;white-space:nowrap;cursor:pointer;text-shadow:0 1px 1px #000}.src-Components-Utils-components-alert-styles-module__main--fj45p:active{transform:scale3d(0.95, 0.95, 1)}.src-Components-Utils-components-alert-styles-module__main--fj45p[data-ok]{background:var(--x-status-ok-bg);color:var(--x-status-ok-fg)}.src-Components-Utils-components-alert-styles-module__main--fj45p[data-error]{background:var(--x-status-error-bg);color:var(--x-status-error-fg)}.src-Components-Utils-components-alert-styles-module__main--fj45p[data-ok][data-icon]::before{content:"✓"}.src-Components-Utils-components-alert-styles-module__main--fj45p[data-error][data-icon]::before{content:"×"}
.src-Components-Footer-components-styles-module__main--zdKev{background:var(--x-footer-bg);color:var(--x-footer-fg);width:100%;border-radius:10rem;text-align:center;padding:calc(var(--x-gutter)/2) var(--x-gutter);margin:calc(var(--x-gutter)*1.5) auto;word-break:normal}.src-Components-Footer-components-styles-module__main--zdKev a{color:var(--x-footer-fg)}.src-Components-Footer-components-styles-module__main--zdKev a:hover{color:var(--x-footer-fg)}
.src-Components-Forkme-components-styles-module__link--MuvAU{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;background:var(--x-star-me-bg);color:var(--x-star-me-fg);font-family:"Arial Black",sans-serif;padding:calc(var(--x-gutter)/3) calc(var(--x-gutter)*3);box-shadow:0 3px 5px var(--x-star-me-bg);z-index:2;transform:rotate(-45deg) translate3d(-28%, -70%, 0);opacity:.95}@media(min-width: 425px){.src-Components-Forkme-components-styles-module__link--MuvAU{transform:rotate(-45deg) translate3d(-28%, -50%, 0);top:calc(var(--x-gutter)/2);left:calc(var(--x-gutter)/2)}}.src-Components-Forkme-components-styles-module__link--MuvAU:hover{color:var(--x-star-me-hover-fg);background:var(--x-star-me-hover-bg);text-decoration:none;opacity:1}.src-Components-Forkme-components-styles-module__link--MuvAU::after,.src-Components-Forkme-components-styles-module__link--MuvAU::before{position:absolute;left:0;top:1px;height:.5px;width:100%;background:var(--x-star-me-border-color);content:""}.src-Components-Forkme-components-styles-module__link--MuvAU::after{top:auto;bottom:1px}.src-Components-Forkme-components-styles-module__text--Fk_hI{margin-left:.5em;text-transform:uppercase;font-weight:bold}
.src-Components-Nav-components-styles-module__main--gMYNN{position:fixed;bottom:0;background:var(--x-nav-bg);padding:0 var(--x-gutter);left:0;right:0;z-index:10;display:flex;align-items:center;justify-content:flex-start;height:3rem;line-height:3rem;overflow-x:auto}@media(min-width: 375px){.src-Components-Nav-components-styles-module__main--gMYNN{overflow-x:unset;justify-content:center}}.src-Components-Nav-components-styles-module__link--kVaBO{position:relative;white-space:nowrap;color:var(--x-nav-fg);padding:0 .5rem;border-right:1px solid var(--x-nav-border-color)}@media(min-width: 425px){.src-Components-Nav-components-styles-module__link--kVaBO{padding:0 var(--x-gutter)}}.src-Components-Nav-components-styles-module__link--kVaBO:hover{background:var(--x-nav-bg-hover);color:var(--x-nav-fg-hover);text-decoration:none}.src-Components-Nav-components-styles-module__link--kVaBO:active,.src-Components-Nav-components-styles-module__link--kVaBO[data-active]{background:var(--x-nav-bg-active);color:var(--x-nav-fg-active);text-decoration:none}.src-Components-Nav-components-styles-module__link--kVaBO:last-child{border-right:0}.src-Components-Nav-components-styles-module__linkTitle--qqTdU{display:none}@media(min-width: 768px){.src-Components-Nav-components-styles-module__linkTitle--qqTdU{display:block}}.src-Components-Nav-components-styles-module__linkTitleTiny--pkoLr{display:block}@media(min-width: 768px){.src-Components-Nav-components-styles-module__linkTitleTiny--pkoLr{display:none}}
.src-Components-NetworkStats-components-styles-module__id--eJf_G{text-decoration:underline;text-align:center}.src-Components-NetworkStats-components-styles-module__idRow--ACOSC{align-items:center}.src-Components-NetworkStats-components-styles-module__dataContainer--bPvUe{display:flex;align-items:center;justify-content:center;text-align:center}.src-Components-NetworkStats-components-styles-module__data--Fo38e{flex:0 0 50%}.src-Components-NetworkStats-components-styles-module__data--Fo38e[data-rx]{color:var(--x-network-stats-rx-fg)}.src-Components-NetworkStats-components-styles-module__data--Fo38e[data-tx]{color:var(--x-network-stats-tx-fg)}.src-Components-NetworkStats-components-styles-module__rate--eoXaN{font-family:"Arial Black",sans-serif}.src-Components-NetworkStats-components-styles-module__rate--eoXaN::before{margin-right:.5rem}.src-Components-NetworkStats-components-styles-module__rateRx--IuEZe::before{content:"▼"}.src-Components-NetworkStats-components-styles-module__rateTx--gWEgj::before{content:"▲"}
.src-Components-ProgressBar-components-styles-module__main--vmjyU{position:relative}.src-Components-ProgressBar-components-styles-module__overview--bibEt{position:absolute;right:var(--x-gutter);bottom:0;z-index:1;font-weight:700;color:var(--x-progress-fg);line-height:2rem;font-family:"Arial Black",sans-serif,monospace;text-shadow:0 1px 1px #000}.src-Components-ProgressBar-components-styles-module__precent--wnWh2{left:var(--x-gutter);right:auto}.src-Components-ProgressBar-components-styles-module__shell--gG7gJ{position:relative;display:flex;width:100%;height:2rem;background:var(--x-progress-bg);border-radius:var(--x-radius);padding:.3rem}.src-Components-ProgressBar-components-styles-module__value--itYdo{position:relative;transition:width .5s;border-radius:var(--x-gutter);background-color:var(--x-progress-value-bg);overflow:hidden;box-shadow:var(--x-progress-value-box-shadow)}.src-Components-ProgressBar-components-styles-module__value--itYdo::after,.src-Components-ProgressBar-components-styles-module__value--itYdo::before{position:absolute;content:"";top:0;height:61.8%;width:100%;border-radius:0 0 50% 50%;background:var(--x-progress-value-highlight-bg)}.src-Components-ProgressBar-components-styles-module__value--itYdo::before{background:var(--x-progress-value-highlight-border-color);opacity:1;height:1px;border-radius:0}
.src-Components-ServerStatus-components-styles-module__loadGroup--WzXPX{display:flex;align-items:center}.src-Components-ServerStatus-components-styles-module__loadGroup--WzXPX[data-center]{justify-content:center}@media(min-width: 768px){.src-Components-ServerStatus-components-styles-module__loadGroup--WzXPX[data-center]{justify-content:center}}.src-Components-ServerStatus-components-styles-module__loadGroupItem--ZSsqk{background:var(--x-sys-load-bg);color:var(--x-sys-load-fg);padding:calc(var(--x-gutter)*.1) calc(var(--x-gutter)/1.5);border-radius:10rem;font-family:"Arial Black",sans-serif,monospace;font-weight:700}@media(min-width: 768px){.src-Components-ServerStatus-components-styles-module__loadGroupItem--ZSsqk{padding:calc(var(--x-gutter)*.1) var(--x-gutter)}}.src-Components-ServerStatus-components-styles-module__loadGroupItem--ZSsqk+.src-Components-ServerStatus-components-styles-module__loadGroupItem--ZSsqk{margin-left:.5rem}
.src-Components-Utils-components-loading-styles-module__main--jnV53{display:flex;align-items:center;margin-bottom:var(--x-gutter)}.src-Components-Utils-components-loading-styles-module__text--opKiN{margin-left:.5em}
.src-Components-Nodes-components-styles-module__groupId--PmHBP{display:block;text-decoration:underline;text-align:center;margin-bottom:calc(var(--x-gutter)*.5)}.src-Components-Nodes-components-styles-module__groupId--PmHBP:hover{text-decoration:none}.src-Components-Nodes-components-styles-module__group--cvxdK{margin-bottom:calc(var(--x-gutter)*.5)}.src-Components-Nodes-components-styles-module__groupMsg--wNqQl{display:flex;justify-content:center}.src-Components-Nodes-components-styles-module__groupNetworks--h1HMf{border-radius:var(--x-radius);background:var(--x-network-node-bg);color:var(--x-network-node-fg);padding:var(--x-gutter);margin-bottom:var(--x-gutter)}.src-Components-Nodes-components-styles-module__groupNetwork--rvydY{border-bottom:1px dashed var(--x-network-node-border-color);margin-bottom:calc(var(--x-gutter)*.5);padding-bottom:calc(var(--x-gutter)*.5)}.src-Components-Nodes-components-styles-module__groupNetwork--rvydY:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}.src-Components-Nodes-components-styles-module__groupNetwork--rvydY:hover{background:var(--x-network-node-row-bg)}
.src-Components-Utils-components-search-link-styles-module__main--kwUcX{margin:0 calc(var(--x-gutter)*.2) calc(var(--x-gutter)*.2) 0;background:var(--x-search-bg);color:var(--x-search-fg);padding:0 calc(var(--x-gutter)*.5);border-radius:var(--x-radius);font-family:consolas,monospace}.src-Components-Utils-components-search-link-styles-module__main--kwUcX:hover{text-decoration:underline;background:var(--x-search-bg-hover)}
.src-Components-Ping-components-style-module__btn--o_4YN{display:block;text-align:center;color:var(--x-ping-btn-fg);background:var(--x-ping-btn-bg);border-radius:var(--x-radius);padding:calc(var(--x-gutter)*.5) var(--x-gutter);margin-right:var(--x-gutter)}.src-Components-Ping-components-style-module__btn--o_4YN:hover,.src-Components-Ping-components-style-module__btn--o_4YN:active{text-decoration:none;color:var(--x-ping-btn-fg);opacity:.9}.src-Components-Ping-components-style-module__btn--o_4YN:active{opacity:1;transform:scale3d(0.95, 0.95, 1)}.src-Components-Ping-components-style-module__itemContainer--GLMRY{display:flex;flex-wrap:wrap;margin:0 0 calc(var(--x-gutter)*.5);padding:0;height:8rem;overflow-y:auto;list-style-type:none}.src-Components-Ping-components-style-module__item--kR0WD{flex:0 0 50%}@media(min-width: 768px){.src-Components-Ping-components-style-module__item--kR0WD{flex:0 0 33.333%}}@media(min-width: 1024px){.src-Components-Ping-components-style-module__item--kR0WD{flex:0 0 25%}}@media(min-width: 1440px){.src-Components-Ping-components-style-module__item--kR0WD{flex:0 0 20%}}.src-Components-Ping-components-style-module__itemNumber--KiUxL{opacity:.5;display:none}@media(min-width: 768px){.src-Components-Ping-components-style-module__itemNumber--KiUxL{display:inline}}.src-Components-Ping-components-style-module__itemLine--OVM7p{opacity:.3;display:none}@media(min-width: 768px){.src-Components-Ping-components-style-module__itemLine--OVM7p{display:inline}}.src-Components-Ping-components-style-module__itemTime--WiXML{font-weight:bold}.src-Components-Ping-components-style-module__resultContainer--xJz3t{background:var(--x-ping-result-bg);color:var(--x-ping-result-fg);border-radius:calc(var(--x-radius)*.5);padding:calc(var(--x-gutter)*.5) var(--x-gutter)}.src-Components-Ping-components-style-module__result--qEqSo{display:flex;align-items:center;flex-wrap:wrap;border-top:1px dashed var(--x-ping-result-fg);padding-top:calc(var(--x-gutter)*.5);justify-content:space-between}
.src-Components-ServerBenchmark-components-styles-module__btn--DR6pA{display:block}.src-Components-ServerBenchmark-components-styles-module__aff--U6apK{word-break:normal}
.src-Components-Title-components-styles-module__h1--z5lLy{background:var(--x-title-bg);position:fixed;top:0;left:50%;justify-content:center;text-align:center;margin:0;min-width:60vw;width:50vw;font-size:var(--x-gutter);line-height:1;border-radius:0 0 var(--x-radius) var(--x-radius);z-index:10;box-shadow:var(--x-title-box-shadow);transform:translateX(-50%)}.src-Components-Title-components-styles-module__link--_O32A{display:block;padding:var(--x-gutter);color:var(--x-title-fg)}.src-Components-Title-components-styles-module__link--_O32A:hover{color:var(--x-title-fg)}
.src-Components-Toast-components-styles-module__main--yKV4Y{position:fixed;bottom:4rem;width:20rem;max-width:80vw;left:50%;transform:translateX(-50%);background:var(--x-toast-bg);color:var(--x-toast-fg);border-radius:var(--x-gutter);padding:calc(var(--x-gutter)*.5) var(--x-gutter);cursor:pointer;word-break:normal;text-align:center;backdrop-filter:blur(5px)}
@media(min-width: 1024px){::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}::-webkit-scrollbar{width:var(--x-gutter);background-color:rgba(0,0,0,0)}::-webkit-scrollbar-thumb{border-radius:var(--x-gutter) 0 0 var(--x-gutter);background-color:#ccc}::-webkit-scrollbar-thumb:hover{background-color:#fff}}*{box-sizing:border-box;word-break:break-all;padding:0;margin:0}html{font-size:75%;background:var(--x-html-bg);scroll-behavior:smooth}body{background:var(--x-body-bg);color:var(--x-body-fg);font-family:"Noto Sans CJK SC","Helvetica Neue",Helvetica,Arial,Verdana,Geneva,sans-serif;padding:var(--x-gutter);margin:0;line-height:1.5}a{cursor:pointer;color:var(--x-fg);text-decoration:none}a:hover,a:active{color:var(--x-fg);text-decoration:underline}
.src-Components-Bootstrap-components-styles-module__app--llWF8{padding:calc(var(--x-gutter)*3.5) 0 calc(var(--x-gutter)*2);background:var(--x-app-bg)}.src-Components-Bootstrap-components-styles-module__app--llWF8::before,.src-Components-Bootstrap-components-styles-module__app--llWF8::after{position:fixed;left:0;top:0;right:0;bottom:calc(var(--x-gutter)*2);border:var(--x-gutter) solid var(--x-app-border-color);pointer-events:none;z-index:1;content:""}.src-Components-Bootstrap-components-styles-module__app--llWF8::after{border-radius:calc(var(--x-gutter)*3)}
HTML;
exit; } } namespace InnStudio\Prober\Components\Timezone; use InnStudio\Prober\Components\Events\EventsApi; final class Timezone { public function __construct() { EventsApi::on('init', function ($action) { if ( ! \ini_get('date.timezone')) { date_default_timezone_set('GMT'); } return $action; }, 1); } } namespace InnStudio\Prober\Components\Script; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Utils\UtilsApi; final class Script { public function __construct() { EventsApi::on('init', function ($action) { if ('script' !== $action) { return $action; } $this->output(); }); } private function output() { UtilsApi::setFileCacheHeader(); header('Content-type: application/javascript'); echo <<<'HTML'
!function(){var e={874:function(e,t,n){"use strict";var r=n(935),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,o,l,s,u,c=!1;t||(t={}),n=t.debug||!1;try{if(o=r(),l=document.createRange(),s=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=a[t.format]||a.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(u),l.selectNodeContents(u),s.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(l):s.removeAllRanges()),u&&document.body.removeChild(u),o()}return c}},746:function(e,t,n){"use strict";var r=n(959),a=n(962);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)o.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function v(e,t,n,r,a,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var a=m.hasOwnProperty(t)?m[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var _=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),C=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),T=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var M,R=Object.assign;function D(e){if(void 0===M)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var U=!1;function V(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),i=r.stack.split("\n"),o=a.length-1,l=i.length-1;1<=o&&0<=l&&a[o]!==i[l];)l--;for(;1<=o&&0<=l;o--,l--)if(a[o]!==i[l]){if(1!==o||1!==l)do{if(o--,0>--l||a[o]!==i[l]){var s="\n"+a[o].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=o&&0<=l);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function B(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}function F(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case k:return"Portal";case z:return"Profiler";case S:return"StrictMode";case O:return"Suspense";case E:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:F(e.type)||"Memo";case T:t=e._payload,e=e._init;try{return F(e(t))}catch(e){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return F(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function $(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=$(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){Y(e,t);var n=$(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,$(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+$(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:$(n)}}function ie(e,t){var n=$(t.value),r=$(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ge=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _e=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,xe=null,Se=null;function ze(e){if(e=ba(e)){if("function"!=typeof ke)throw Error(i(280));var t=e.stateNode;t&&(t=wa(t),ke(e.stateNode,e.type,t))}}function je(e){xe?Se?Se.push(e):Se=[e]:xe=e}function Ce(){if(xe){var e=xe,t=Se;if(Se=xe=null,ze(e),t)for(e=0;e<t.length;e++)ze(t[e])}}function Pe(e,t){return e(t)}function Oe(){}var Ee=!1;function Ne(e,t,n){if(Ee)return e(t,n);Ee=!0;try{return Pe(e,t,n)}finally{Ee=!1,(null!==xe||null!==Se)&&(Oe(),Ce())}}function Te(e,t){var n=e.stateNode;if(null===n)return null;var r=wa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Le=!1;if(c)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(ce){Le=!1}function Ae(e,t,n,r,a,i,o,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Me=!1,Re=null,De=!1,Ue=null,Ve={onError:function(e){Me=!0,Re=e}};function Be(e,t,n,r,a,i,o,l,s){Me=!1,Re=null,Ae.apply(Ve,arguments)}function Fe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function $e(e){if(Fe(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Fe(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return $e(a),e;if(o===r)return $e(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l){for(s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ke(e):null}function Ke(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ke(e);if(null!==t)return t;e=e.sibling}return null}var qe=a.unstable_scheduleCallback,Qe=a.unstable_cancelCallback,Ge=a.unstable_shouldYield,Xe=a.unstable_requestPaint,Ye=a.unstable_now,Je=a.unstable_getCurrentPriorityLevel,Ze=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,it=null;var ot=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,o=268435455&n;if(0!==o){var l=o&~a;0!==l?r=dt(l):0!==(i&=o)&&(r=dt(i))}else 0!==(o=n&~a)?r=dt(o):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(i=t&-t)||16===a&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-ot(t)),r|=e[n],t&=~a;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var bt=0;function _t(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var wt,kt,xt,St,zt,jt=!1,Ct=[],Pt=null,Ot=null,Et=null,Nt=new Map,Tt=new Map,Lt=[],It="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function At(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Et=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Mt(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Rt(e){var t=ya(e.target);if(null!==t){var n=Fe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void zt(e.priority,(function(){xt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);_e=r,n.target.dispatchEvent(r),_e=null,t.shift()}return!0}function Ut(e,t,n){Dt(e)&&n.delete(t)}function Vt(){jt=!1,null!==Pt&&Dt(Pt)&&(Pt=null),null!==Ot&&Dt(Ot)&&(Ot=null),null!==Et&&Dt(Et)&&(Et=null),Nt.forEach(Ut),Tt.forEach(Ut)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,jt||(jt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Vt)))}function Ft(e){function t(t){return Bt(t,e)}if(0<Ct.length){Bt(Ct[0],e);for(var n=1;n<Ct.length;n++){var r=Ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Pt&&Bt(Pt,e),null!==Ot&&Bt(Ot,e),null!==Et&&Bt(Et,e),Nt.forEach(t),Tt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Rt(n),null===n.blockedOn&&Lt.shift()}var Ht=_.ReactCurrentBatchConfig,$t=!0;function Wt(e,t,n,r){var a=bt,i=Ht.transition;Ht.transition=null;try{bt=1,qt(e,t,n,r)}finally{bt=a,Ht.transition=i}}function Kt(e,t,n,r){var a=bt,i=Ht.transition;Ht.transition=null;try{bt=4,qt(e,t,n,r)}finally{bt=a,Ht.transition=i}}function qt(e,t,n,r){if($t){var a=Gt(e,t,n,r);if(null===a)$r(e,t,r,Qt,n),At(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Pt=Mt(Pt,e,t,n,r,a),!0;case"dragenter":return Ot=Mt(Ot,e,t,n,r,a),!0;case"mouseover":return Et=Mt(Et,e,t,n,r,a),!0;case"pointerover":var i=a.pointerId;return Nt.set(i,Mt(Nt.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":return i=a.pointerId,Tt.set(i,Mt(Tt.get(i)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(At(e,r),4&t&&-1<It.indexOf(e)){for(;null!==a;){var i=ba(a);if(null!==i&&wt(i),null===(i=Gt(e,t,n,r))&&$r(e,t,r,Qt,n),i===a)break;a=i}null!==a&&r.stopPropagation()}else $r(e,t,r,null,n)}}var Qt=null;function Gt(e,t,n,r){if(Qt=null,null!==(e=ya(e=we(r))))if(null===(t=Fe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Qt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,a="value"in Yt?Yt.value:Yt.textContent,i=a.length;for(e=0;e<r&&n[e]===a[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===a[i-t];t++);return Zt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,i){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(un),dn=R({},un,{view:0,detail:0}),fn=an(dn),hn=R({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(on=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=on=0,sn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),pn=an(hn),vn=an(R({},hn,{dataTransfer:0})),mn=an(R({},dn,{relatedTarget:0})),gn=an(R({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=R({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(yn),_n=an(R({},un,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function zn(){return Sn}var jn=R({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=an(jn),Pn=an(R({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=an(R({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zn})),En=an(R({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=R({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Tn=an(Nn),Ln=[9,13,27,32],In=c&&"CompositionEvent"in window,An=null;c&&"documentMode"in document&&(An=document.documentMode);var Mn=c&&"TextEvent"in window&&!An,Rn=c&&(!In||An&&8<An&&11>=An),Dn=String.fromCharCode(32),Un=!1;function Vn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Fn=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function Wn(e,t,n,r){je(r),0<(t=Kr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Kn=null,qn=null;function Qn(e){Dr(e,0)}function Gn(e){if(q(_a(e)))return e}function Xn(e,t){if("change"===e)return t}var Yn=!1;if(c){var Jn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;Yn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){Kn&&(Kn.detachEvent("onpropertychange",nr),qn=Kn=null)}function nr(e){if("value"===e.propertyName&&Gn(qn)){var t=[];Wn(t,qn,e,we(e)),Ne(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Kn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(qn)}function ir(e,t){if("click"===e)return Gn(t)}function or(e,t){if("input"===e||"change"===e)return Gn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!lr(e[a],t[a]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,i=Math.min(r.start,a);r=void 0===r.end?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=cr(n,i);var o=cr(n,r);a&&o&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,gr=null,yr=null,br=!1;function _r(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==Q(r)||("selectionStart"in(r=mr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Kr(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},xr={},Sr={};function zr(e){if(xr[e])return xr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return xr[e]=n[t];return e}c&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var jr=zr("animationend"),Cr=zr("animationiteration"),Pr=zr("animationstart"),Or=zr("transitionend"),Er=new Map,Nr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Tr(e,t){Er.set(e,t),s(t,[e])}for(var Lr=0;Lr<Nr.length;Lr++){var Ir=Nr[Lr];Tr(Ir.toLowerCase(),"on"+(Ir[0].toUpperCase()+Ir.slice(1)))}Tr(jr,"onAnimationEnd"),Tr(Cr,"onAnimationIteration"),Tr(Pr,"onAnimationStart"),Tr("dblclick","onDoubleClick"),Tr("focusin","onFocus"),Tr("focusout","onBlur"),Tr(Or,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ar="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ar));function Rr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,l,s,u){if(Be.apply(this,arguments),Me){if(!Me)throw Error(i(198));var c=Re;Me=!1,Re=null,De||(De=!0,Ue=c)}}(r,t,void 0,e),e.currentTarget=null}function Dr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&a.isPropagationStopped())break e;Rr(a,l,u),i=s}else for(o=0;o<r.length;o++){if(s=(l=r[o]).instance,u=l.currentTarget,l=l.listener,s!==i&&a.isPropagationStopped())break e;Rr(a,l,u),i=s}}}if(De)throw e=Ue,De=!1,Ue=null,e}function Ur(e,t){var n=t[va];void 0===n&&(n=t[va]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Vr(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Fr(e){if(!e[Br]){e[Br]=!0,o.forEach((function(t){"selectionchange"!==t&&(Mr.has(t)||Vr(t,!1,e),Vr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Vr("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Xt(t)){case 1:var a=Wt;break;case 4:a=Kt;break;default:a=qt}n=a.bind(null,t,n,e),a=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function $r(e,t,n,r,a){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===o)for(o=r.return;null!==o;){var s=o.tag;if((3===s||4===s)&&((s=o.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;o=o.return}for(;null!==l;){if(null===(o=ya(l)))return;if(5===(s=o.tag)||6===s){r=i=o;continue e}l=l.parentNode}}r=r.return}Ne((function(){var r=i,a=we(n),o=[];e:{var l=Er.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Cn;break;case"focusin":u="focus",s=mn;break;case"focusout":u="blur",s=mn;break;case"beforeblur":case"afterblur":s=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=On;break;case jr:case Cr:case Pr:s=gn;break;case Or:s=En;break;case"scroll":s=fn;break;case"wheel":s=Tn;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Pn}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var h,p=r;null!==p;){var v=(h=p).stateNode;if(5===h.tag&&null!==v&&(h=v,null!==f&&(null!=(v=Te(p,f))&&c.push(Wr(p,v,h)))),d)break;p=p.return}0<c.length&&(l=new s(l,u,null,n,a),o.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===_e||!(u=n.relatedTarget||n.fromElement)||!ya(u)&&!u[pa])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ya(u):null)&&(u!==(d=Fe(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=pn,v="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=Pn,v="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==s?l:_a(s),h=null==u?l:_a(u),(l=new c(v,p+"leave",s,n,a)).target=d,l.relatedTarget=h,v=null,ya(a)===r&&((c=new c(f,p+"enter",u,n,a)).target=h,c.relatedTarget=d,v=c),d=v,s&&u)e:{for(f=u,p=0,h=c=s;h;h=qr(h))p++;for(h=0,v=f;v;v=qr(v))h++;for(;0<p-h;)c=qr(c),p--;for(;0<h-p;)f=qr(f),h--;for(;p--;){if(c===f||null!==f&&c===f.alternate)break e;c=qr(c),f=qr(f)}c=null}else c=null;null!==s&&Qr(o,l,s,c,!1),null!==u&&null!==d&&Qr(o,d,u,c,!0)}if("select"===(s=(l=r?_a(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m=Xn;else if($n(l))if(Yn)m=or;else{m=ar;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(m=ir);switch(m&&(m=m(e,r))?Wn(o,m,n,a):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ee(l,"number",l.value)),g=r?_a(r):window,e){case"focusin":($n(g)||"true"===g.contentEditable)&&(mr=g,gr=r,yr=null);break;case"focusout":yr=gr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,_r(o,n,a);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":_r(o,n,a)}var y;if(In)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Fn?Vn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Rn&&"ko"!==n.locale&&(Fn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Fn&&(y=en()):(Jt="value"in(Yt=a)?Yt.value:Yt.textContent,Fn=!0)),0<(g=Kr(r,b)).length&&(b=new _n(b,e,null,n,a),o.push({event:b,listeners:g}),y?b.data=y:null!==(y=Bn(n))&&(b.data=y))),(y=Mn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Un=!0,Dn);case"textInput":return(e=t.data)===Dn&&Un?null:e;default:return null}}(e,n):function(e,t){if(Fn)return"compositionend"===e||!In&&Vn(e,t)?(e=en(),Zt=Jt=Yt=null,Fn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Kr(r,"onBeforeInput")).length&&(a=new _n("onBeforeInput","beforeinput",null,n,a),o.push({event:a,listeners:r}),a.data=y))}Dr(o,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,i=a.stateNode;5===a.tag&&null!==i&&(a=i,null!=(i=Te(e,n))&&r.unshift(Wr(e,i,a)),null!=(i=Te(e,t))&&r.push(Wr(e,i,a))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,a){for(var i=t._reactName,o=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=Te(n,i))&&o.unshift(Wr(n,s,l)):a||null!=(s=Te(n,i))&&o.push(Wr(n,s,l))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Gr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(Xr,"")}function Jr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(i(425))}function Zr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,ia="function"==typeof Promise?Promise:void 0,oa="function"==typeof queueMicrotask?queueMicrotask:void 0!==ia?function(e){return ia.resolve(null).then(e).catch(la)}:ra;function la(e){setTimeout((function(){throw e}))}function sa(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ft(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ft(t)}function ua(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),fa="__reactFiber$"+da,ha="__reactProps$"+da,pa="__reactContainer$"+da,va="__reactEvents$"+da,ma="__reactListeners$"+da,ga="__reactHandles$"+da;function ya(e){var t=e[fa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pa]||n[fa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[fa])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function ba(e){return!(e=e[fa]||e[pa])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _a(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function wa(e){return e[ha]||null}var ka=[],xa=-1;function Sa(e){return{current:e}}function za(e){0>xa||(e.current=ka[xa],ka[xa]=null,xa--)}function ja(e,t){xa++,ka[xa]=e.current,e.current=t}var Ca={},Pa=Sa(Ca),Oa=Sa(!1),Ea=Ca;function Na(e,t){var n=e.type.contextTypes;if(!n)return Ca;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in n)i[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ta(e){return null!=(e=e.childContextTypes)}function La(){za(Oa),za(Pa)}function Ia(e,t,n){if(Pa.current!==Ca)throw Error(i(168));ja(Pa,t),ja(Oa,n)}function Aa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(i(108,H(e)||"Unknown",a));return R({},n,r)}function Ma(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ca,Ea=Pa.current,ja(Pa,e),ja(Oa,Oa.current),!0}function Ra(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Aa(e,t,Ea),r.__reactInternalMemoizedMergedChildContext=e,za(Oa),za(Pa),ja(Pa,e)):za(Oa),ja(Oa,n)}var Da=null,Ua=!1,Va=!1;function Ba(e){null===Da?Da=[e]:Da.push(e)}function Fa(){if(!Va&&null!==Da){Va=!0;var e=0,t=bt;try{var n=Da;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Da=null,Ua=!1}catch(t){throw null!==Da&&(Da=Da.slice(e+1)),qe(Ze,Fa),t}finally{bt=t,Va=!1}}return null}var Ha=[],$a=0,Wa=null,Ka=0,qa=[],Qa=0,Ga=null,Xa=1,Ya="";function Ja(e,t){Ha[$a++]=Ka,Ha[$a++]=Wa,Wa=e,Ka=t}function Za(e,t,n){qa[Qa++]=Xa,qa[Qa++]=Ya,qa[Qa++]=Ga,Ga=e;var r=Xa;e=Ya;var a=32-ot(r)-1;r&=~(1<<a),n+=1;var i=32-ot(t)+a;if(30<i){var o=a-a%5;i=(r&(1<<o)-1).toString(32),r>>=o,a-=o,Xa=1<<32-ot(t)+a|n<<a|r,Ya=i+e}else Xa=1<<i|n<<a|r,Ya=e}function ei(e){null!==e.return&&(Ja(e,1),Za(e,1,0))}function ti(e){for(;e===Wa;)Wa=Ha[--$a],Ha[$a]=null,Ka=Ha[--$a],Ha[$a]=null;for(;e===Ga;)Ga=qa[--Qa],qa[Qa]=null,Ya=qa[--Qa],qa[Qa]=null,Xa=qa[--Qa],qa[Qa]=null}var ni=null,ri=null,ai=!1,ii=null;function oi(e,t){var n=Nu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ni=e,ri=ua(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ni=e,ri=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ga?{id:Xa,overflow:Ya}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Nu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ni=e,ri=null,!0);default:return!1}}function si(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ui(e){if(ai){var t=ri;if(t){var n=t;if(!li(e,t)){if(si(e))throw Error(i(418));t=ua(n.nextSibling);var r=ni;t&&li(e,t)?oi(r,n):(e.flags=-4097&e.flags|2,ai=!1,ni=e)}}else{if(si(e))throw Error(i(418));e.flags=-4097&e.flags|2,ai=!1,ni=e}}}function ci(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ni=e}function di(e){if(e!==ni)return!1;if(!ai)return ci(e),ai=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ri)){if(si(e))throw fi(),Error(i(418));for(;t;)oi(e,t),t=ua(t.nextSibling)}if(ci(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ri=ua(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ri=null}}else ri=ni?ua(e.stateNode.nextSibling):null;return!0}function fi(){for(var e=ri;e;)e=ua(e.nextSibling)}function hi(){ri=ni=null,ai=!1}function pi(e){null===ii?ii=[e]:ii.push(e)}var vi=_.ReactCurrentBatchConfig;function mi(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var gi=Sa(null),yi=null,bi=null,_i=null;function wi(){_i=bi=yi=null}function ki(e){var t=gi.current;za(gi),e._currentValue=t}function xi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Si(e,t){yi=e,_i=bi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(_l=!0),e.firstContext=null)}function zi(e){var t=e._currentValue;if(_i!==e)if(e={context:e,memoizedValue:t,next:null},null===bi){if(null===yi)throw Error(i(308));bi=e,yi.dependencies={lanes:0,firstContext:e}}else bi=bi.next=e;return t}var ji=null;function Ci(e){null===ji?ji=[e]:ji.push(e)}function Pi(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Ci(t)):(n.next=a.next,a.next=n),t.interleaved=n,Oi(e,r)}function Oi(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ei=!1;function Ni(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ti(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Li(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ii(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ps)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Oi(e,n)}return null===(a=r.interleaved)?(t.next=t,Ci(r)):(t.next=a.next,a.next=t),r.interleaved=t,Oi(e,n)}function Ai(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Mi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?a=i=o:i=i.next=o,n=n.next}while(null!==n);null===i?a=i=t:i=i.next=t}else a=i=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ri(e,t,n,r){var a=e.updateQueue;Ei=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===o?i=u:o.next=u,o=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=a.baseState;for(o=0,c=u=s=null,l=i;;){var f=l.lane,h=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:h,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var p=e,v=l;switch(f=t,h=n,v.tag){case 1:if("function"==typeof(p=v.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=v.payload)?p.call(h,d,f):p))break e;d=R({},d,f);break e;case 2:Ei=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[l]:f.push(l))}else h={eventTime:h,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=h,s=d):c=c.next=h,o|=f;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(f=l).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{o|=a.lane,a=a.next}while(a!==t)}else null===i&&(a.shared.lanes=0);Ms|=o,e.lanes=o,e.memoizedState=d}}function Di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(i(191,a));a.call(r)}}}var Ui=(new r.Component).refs;function Vi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:R({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Bi={isMounted:function(e){return!!(e=e._reactInternals)&&Fe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),a=tu(e),i=Li(r,a);i.payload=t,null!=n&&(i.callback=n),null!==(t=Ii(e,i,a))&&(nu(t,e,a,r),Ai(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),a=tu(e),i=Li(r,a);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Ii(e,i,a))&&(nu(t,e,a,r),Ai(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),a=Li(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Ii(e,a,r))&&(nu(t,e,r,n),Ai(t,e,r))}};function Fi(e,t,n,r,a,i,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,o):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(a,i))}function Hi(e,t,n){var r=!1,a=Ca,i=t.contextType;return"object"==typeof i&&null!==i?i=zi(i):(a=Ta(t)?Ea:Pa.current,i=(r=null!=(r=t.contextTypes))?Na(e,a):Ca),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Bi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function $i(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Bi.enqueueReplaceState(t,t.state,null)}function Wi(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Ui,Ni(e);var i=t.contextType;"object"==typeof i&&null!==i?a.context=zi(i):(i=Ta(t)?Ea:Pa.current,a.context=Na(e,i)),a.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Vi(e,t,i,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Bi.enqueueReplaceState(a,a.state,null),Ri(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function Ki(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;t===Ui&&(t=a.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function qi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Qi(e){return(0,e._init)(e._payload)}function Gi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Lu(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Ru(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===x?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===T&&Qi(i)===t.type)?((r=a(t,n.props)).ref=Ki(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=Ki(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Du(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Au(n,e.mode,r,i)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Ru(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=Ki(e,null,t),n.return=e,n;case k:return(t=Du(t,e.mode,n)).return=e,t;case T:return f(e,(0,t._init)(t._payload),n)}if(te(t)||A(t))return(t=Au(t,e.mode,n,null)).return=e,t;qi(e,t)}return null}function h(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===a?u(e,t,n,r):null;case k:return n.key===a?c(e,t,n,r):null;case T:return h(e,t,(a=n._init)(n._payload),r)}if(te(n)||A(n))return null!==a?null:d(e,t,n,r,null);qi(e,n)}return null}function p(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case T:return p(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||A(r))return d(t,e=e.get(n)||null,r,a,null);qi(t,r)}return null}function v(a,i,l,s){for(var u=null,c=null,d=i,v=i=0,m=null;null!==d&&v<l.length;v++){d.index>v?(m=d,d=null):m=d.sibling;var g=h(a,d,l[v],s);if(null===g){null===d&&(d=m);break}e&&d&&null===g.alternate&&t(a,d),i=o(g,i,v),null===c?u=g:c.sibling=g,c=g,d=m}if(v===l.length)return n(a,d),ai&&Ja(a,v),u;if(null===d){for(;v<l.length;v++)null!==(d=f(a,l[v],s))&&(i=o(d,i,v),null===c?u=d:c.sibling=d,c=d);return ai&&Ja(a,v),u}for(d=r(a,d);v<l.length;v++)null!==(m=p(d,a,v,l[v],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?v:m.key),i=o(m,i,v),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach((function(e){return t(a,e)})),ai&&Ja(a,v),u}function m(a,l,s,u){var c=A(s);if("function"!=typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,v=l,m=l=0,g=null,y=s.next();null!==v&&!y.done;m++,y=s.next()){v.index>m?(g=v,v=null):g=v.sibling;var b=h(a,v,y.value,u);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(a,v),l=o(b,l,m),null===d?c=b:d.sibling=b,d=b,v=g}if(y.done)return n(a,v),ai&&Ja(a,m),c;if(null===v){for(;!y.done;m++,y=s.next())null!==(y=f(a,y.value,u))&&(l=o(y,l,m),null===d?c=y:d.sibling=y,d=y);return ai&&Ja(a,m),c}for(v=r(a,v);!y.done;m++,y=s.next())null!==(y=p(v,a,m,y.value,u))&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),l=o(y,l,m),null===d?c=y:d.sibling=y,d=y);return e&&v.forEach((function(e){return t(a,e)})),ai&&Ja(a,m),c}return function e(r,i,o,s){if("object"==typeof o&&null!==o&&o.type===x&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case w:e:{for(var u=o.key,c=i;null!==c;){if(c.key===u){if((u=o.type)===x){if(7===c.tag){n(r,c.sibling),(i=a(c,o.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===T&&Qi(u)===c.type){n(r,c.sibling),(i=a(c,o.props)).ref=Ki(r,c,o),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}o.type===x?((i=Au(o.props.children,r.mode,s,o.key)).return=r,r=i):((s=Iu(o.type,o.key,o.props,null,r.mode,s)).ref=Ki(r,i,o),s.return=r,r=s)}return l(r);case k:e:{for(c=o.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===o.containerInfo&&i.stateNode.implementation===o.implementation){n(r,i.sibling),(i=a(i,o.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Du(o,r.mode,s)).return=r,r=i}return l(r);case T:return e(r,i,(c=o._init)(o._payload),s)}if(te(o))return v(r,i,o,s);if(A(o))return m(r,i,o,s);qi(r,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==i&&6===i.tag?(n(r,i.sibling),(i=a(i,o)).return=r,r=i):(n(r,i),(i=Ru(o,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var Xi=Gi(!0),Yi=Gi(!1),Ji={},Zi=Sa(Ji),eo=Sa(Ji),to=Sa(Ji);function no(e){if(e===Ji)throw Error(i(174));return e}function ro(e,t){switch(ja(to,t),ja(eo,e),ja(Zi,Ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}za(Zi),ja(Zi,t)}function ao(){za(Zi),za(eo),za(to)}function io(e){no(to.current);var t=no(Zi.current),n=se(t,e.type);t!==n&&(ja(eo,e),ja(Zi,n))}function oo(e){eo.current===e&&(za(Zi),za(eo))}var lo=Sa(0);function so(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var uo=[];function co(){for(var e=0;e<uo.length;e++)uo[e]._workInProgressVersionPrimary=null;uo.length=0}var fo=_.ReactCurrentDispatcher,ho=_.ReactCurrentBatchConfig,po=0,vo=null,mo=null,go=null,yo=!1,bo=!1,_o=0,wo=0;function ko(){throw Error(i(321))}function xo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function So(e,t,n,r,a,o){if(po=o,vo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fo.current=null===e||null===e.memoizedState?ll:sl,e=n(r,a),bo){o=0;do{if(bo=!1,_o=0,25<=o)throw Error(i(301));o+=1,go=mo=null,t.updateQueue=null,fo.current=ul,e=n(r,a)}while(bo)}if(fo.current=ol,t=null!==mo&&null!==mo.next,po=0,go=mo=vo=null,yo=!1,t)throw Error(i(300));return e}function zo(){var e=0!==_o;return _o=0,e}function jo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===go?vo.memoizedState=go=e:go=go.next=e,go}function Co(){if(null===mo){var e=vo.alternate;e=null!==e?e.memoizedState:null}else e=mo.next;var t=null===go?vo.memoizedState:go.next;if(null!==t)go=t,mo=e;else{if(null===e)throw Error(i(310));e={memoizedState:(mo=e).memoizedState,baseState:mo.baseState,baseQueue:mo.baseQueue,queue:mo.queue,next:null},null===go?vo.memoizedState=go=e:go=go.next=e}return go}function Po(e,t){return"function"==typeof t?t(e):t}function Oo(e){var t=Co(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=mo,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var l=a.next;a.next=o.next,o.next=l}r.baseQueue=a=o,n.pending=null}if(null!==a){o=a.next,r=r.baseState;var s=l=null,u=null,c=o;do{var d=c.lane;if((po&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,vo.lanes|=d,Ms|=d}c=c.next}while(null!==c&&c!==o);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(_l=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{o=a.lane,vo.lanes|=o,Ms|=o,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Eo(e){var t=Co(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{o=e(o,l.action),l=l.next}while(l!==a);lr(o,t.memoizedState)||(_l=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function No(){}function To(e,t){var n=vo,r=Co(),a=t(),o=!lr(r.memoizedState,a);if(o&&(r.memoizedState=a,_l=!0),r=r.queue,$o(Ao.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==go&&1&go.memoizedState.tag){if(n.flags|=2048,Uo(9,Io.bind(null,n,r,a,t),void 0,null),null===Os)throw Error(i(349));0!=(30&po)||Lo(n,t,a)}return a}function Lo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=vo.updateQueue)?(t={lastEffect:null,stores:null},vo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Io(e,t,n,r){t.value=n,t.getSnapshot=r,Mo(t)&&Ro(e)}function Ao(e,t,n){return n((function(){Mo(t)&&Ro(e)}))}function Mo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function Ro(e){var t=Oi(e,1);null!==t&&nu(t,e,1,-1)}function Do(e){var t=jo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Po,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,vo,e),[t.memoizedState,e]}function Uo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=vo.updateQueue)?(t={lastEffect:null,stores:null},vo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Vo(){return Co().memoizedState}function Bo(e,t,n,r){var a=jo();vo.flags|=e,a.memoizedState=Uo(1|t,n,void 0,void 0===r?null:r)}function Fo(e,t,n,r){var a=Co();r=void 0===r?null:r;var i=void 0;if(null!==mo){var o=mo.memoizedState;if(i=o.destroy,null!==r&&xo(r,o.deps))return void(a.memoizedState=Uo(t,n,i,r))}vo.flags|=e,a.memoizedState=Uo(1|t,n,i,r)}function Ho(e,t){return Bo(8390656,8,e,t)}function $o(e,t){return Fo(2048,8,e,t)}function Wo(e,t){return Fo(4,2,e,t)}function Ko(e,t){return Fo(4,4,e,t)}function qo(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Qo(e,t,n){return n=null!=n?n.concat([e]):null,Fo(4,4,qo.bind(null,t,e),n)}function Go(){}function Xo(e,t){var n=Co();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yo(e,t){var n=Co();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&xo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Jo(e,t,n){return 0==(21&po)?(e.baseState&&(e.baseState=!1,_l=!0),e.memoizedState=n):(lr(n,t)||(n=vt(),vo.lanes|=n,Ms|=n,e.baseState=!0),t)}function Zo(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ho.transition;ho.transition={};try{e(!1),t()}finally{bt=n,ho.transition=r}}function el(){return Co().memoizedState}function tl(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))al(t,n);else if(null!==(n=Pi(e,t,n,r))){nu(n,e,r,eu()),il(n,t,r)}}function nl(e,t,n){var r=tu(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))al(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var o=t.lastRenderedState,l=i(o,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,o)){var s=t.interleaved;return null===s?(a.next=a,Ci(t)):(a.next=s.next,s.next=a),void(t.interleaved=a)}}catch(e){}null!==(n=Pi(e,t,a,r))&&(nu(n,e,r,a=eu()),il(n,t,r))}}function rl(e){var t=e.alternate;return e===vo||null!==t&&t===vo}function al(e,t){bo=yo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function il(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var ol={readContext:zi,useCallback:ko,useContext:ko,useEffect:ko,useImperativeHandle:ko,useInsertionEffect:ko,useLayoutEffect:ko,useMemo:ko,useReducer:ko,useRef:ko,useState:ko,useDebugValue:ko,useDeferredValue:ko,useTransition:ko,useMutableSource:ko,useSyncExternalStore:ko,useId:ko,unstable_isNewReconciler:!1},ll={readContext:zi,useCallback:function(e,t){return jo().memoizedState=[e,void 0===t?null:t],e},useContext:zi,useEffect:Ho,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Bo(4194308,4,qo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bo(4,2,e,t)},useMemo:function(e,t){var n=jo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=jo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,vo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},jo().memoizedState=e},useState:Do,useDebugValue:Go,useDeferredValue:function(e){return jo().memoizedState=e},useTransition:function(){var e=Do(!1),t=e[0];return e=Zo.bind(null,e[1]),jo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=vo,a=jo();if(ai){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Os)throw Error(i(349));0!=(30&po)||Lo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Ho(Ao.bind(null,r,o,e),[e]),r.flags|=2048,Uo(9,Io.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=jo(),t=Os.identifierPrefix;if(ai){var n=Ya;t=":"+t+"R"+(n=(Xa&~(1<<32-ot(Xa)-1)).toString(32)+n),0<(n=_o++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wo++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:zi,useCallback:Xo,useContext:zi,useEffect:$o,useImperativeHandle:Qo,useInsertionEffect:Wo,useLayoutEffect:Ko,useMemo:Yo,useReducer:Oo,useRef:Vo,useState:function(){return Oo(Po)},useDebugValue:Go,useDeferredValue:function(e){return Jo(Co(),mo.memoizedState,e)},useTransition:function(){return[Oo(Po)[0],Co().memoizedState]},useMutableSource:No,useSyncExternalStore:To,useId:el,unstable_isNewReconciler:!1},ul={readContext:zi,useCallback:Xo,useContext:zi,useEffect:$o,useImperativeHandle:Qo,useInsertionEffect:Wo,useLayoutEffect:Ko,useMemo:Yo,useReducer:Eo,useRef:Vo,useState:function(){return Eo(Po)},useDebugValue:Go,useDeferredValue:function(e){var t=Co();return null===mo?t.memoizedState=e:Jo(t,mo.memoizedState,e)},useTransition:function(){return[Eo(Po)[0],Co().memoizedState]},useMutableSource:No,useSyncExternalStore:To,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var hl="function"==typeof WeakMap?WeakMap:Map;function pl(e,t,n){(n=Li(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$s||($s=!0,Ws=r),fl(0,t)},n}function vl(e,t,n){(n=Li(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fl(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!=typeof r&&(null===Ks?Ks=new Set([this]):Ks.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ml(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=zu.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,a){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Li(-1,1)).tag=2,Ii(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var bl=_.ReactCurrentOwner,_l=!1;function wl(e,t,n,r){t.child=null===e?Yi(t,null,n,r):Xi(t,e.child,n,r)}function kl(e,t,n,r,a){n=n.render;var i=t.ref;return Si(t,a),r=So(e,t,n,r,i,a),n=zo(),null===e||_l?(ai&&n&&ei(t),t.flags|=1,wl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,$l(e,t,a))}function xl(e,t,n,r,a){if(null===e){var i=n.type;return"function"!=typeof i||Tu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Sl(e,t,i,r,a))}if(i=e.child,0==(e.lanes&a)){var o=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(o,r)&&e.ref===t.ref)return $l(e,t,a)}return t.flags|=1,(e=Lu(i,r)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,n,r,a){if(null!==e){var i=e.memoizedProps;if(sr(i,r)&&e.ref===t.ref){if(_l=!1,t.pendingProps=r=i,0==(e.lanes&a))return t.lanes=e.lanes,$l(e,t,a);0!=(131072&e.flags)&&(_l=!0)}}return Cl(e,t,n,r,a)}function zl(e,t,n){var r=t.pendingProps,a=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ja(Ls,Ts),Ts|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ja(Ls,Ts),Ts|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,ja(Ls,Ts),Ts|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ja(Ls,Ts),Ts|=r;return wl(e,t,a,n),t.child}function jl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cl(e,t,n,r,a){var i=Ta(n)?Ea:Pa.current;return i=Na(t,i),Si(t,a),n=So(e,t,n,r,i,a),r=zo(),null===e||_l?(ai&&r&&ei(t),t.flags|=1,wl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,$l(e,t,a))}function Pl(e,t,n,r,a){if(Ta(n)){var i=!0;Ma(t)}else i=!1;if(Si(t,a),null===t.stateNode)Hl(e,t),Hi(t,n,r),Wi(t,n,r,a),r=!0;else if(null===e){var o=t.stateNode,l=t.memoizedProps;o.props=l;var s=o.context,u=n.contextType;"object"==typeof u&&null!==u?u=zi(u):u=Na(t,u=Ta(n)?Ea:Pa.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l!==r||s!==u)&&$i(t,o,r,u),Ei=!1;var f=t.memoizedState;o.state=f,Ri(t,r,o,a),s=t.memoizedState,l!==r||f!==s||Oa.current||Ei?("function"==typeof c&&(Vi(t,n,c,r),s=t.memoizedState),(l=Ei||Fi(t,n,l,r,f,s,u))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=u,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Ti(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:mi(t.type,l),o.props=u,d=t.pendingProps,f=o.context,"object"==typeof(s=n.contextType)&&null!==s?s=zi(s):s=Na(t,s=Ta(n)?Ea:Pa.current);var h=n.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l!==d||f!==s)&&$i(t,o,r,s),Ei=!1,f=t.memoizedState,o.state=f,Ri(t,r,o,a);var p=t.memoizedState;l!==d||f!==p||Oa.current||Ei?("function"==typeof h&&(Vi(t,n,h,r),p=t.memoizedState),(u=Ei||Fi(t,n,u,r,f,p,s)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=s,r=u):("function"!=typeof o.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ol(e,t,n,r,i,a)}function Ol(e,t,n,r,a,i){jl(e,t);var o=0!=(128&t.flags);if(!r&&!o)return a&&Ra(t,n,!1),$l(e,t,i);r=t.stateNode,bl.current=t;var l=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Xi(t,e.child,null,i),t.child=Xi(t,null,l,i)):wl(e,t,l,i),t.memoizedState=r.state,a&&Ra(t,n,!0),t.child}function El(e){var t=e.stateNode;t.pendingContext?Ia(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ia(0,t.context,!1),ro(e,t.containerInfo)}function Nl(e,t,n,r,a){return hi(),pi(a),t.flags|=256,wl(e,t,n,r),t.child}var Tl,Ll,Il,Al={dehydrated:null,treeContext:null,retryLane:0};function Ml(e){return{baseLanes:e,cachePool:null,transitions:null}}function Rl(e,t,n){var r,a=t.pendingProps,o=lo.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),ja(lo,1&o),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Mu(s,a,0,null),e=Au(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Ml(n),t.memoizedState=Al,e):Dl(t,s));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,l){if(n)return 256&t.flags?(t.flags&=-257,Ul(e,t,l,r=dl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=Mu({mode:"visible",children:r.children},a,0,null),(o=Au(o,a,l,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&Xi(t,e.child,null,l),t.child.memoizedState=Ml(l),t.memoizedState=Al,o);if(0==(1&t.mode))return Ul(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var s=r.dgst;return r=s,Ul(e,t,l,r=dl(o=Error(i(419)),r,void 0))}if(s=0!=(l&e.childLanes),_l||s){if(null!==(r=Os)){switch(l&-l){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|l))?0:a)&&a!==o.retryLane&&(o.retryLane=a,Oi(e,a),nu(r,e,a,-1))}return vu(),Ul(e,t,l,r=dl(Error(i(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Cu.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,ri=ua(a.nextSibling),ni=t,ai=!0,ii=null,null!==e&&(qa[Qa++]=Xa,qa[Qa++]=Ya,qa[Qa++]=Ga,Xa=e.id,Ya=e.overflow,Ga=t),(t=Dl(t,r.children)).flags|=4096,t)}(e,t,s,a,r,o,n);if(l){l=a.fallback,s=t.mode,r=(o=e.child).sibling;var u={mode:"hidden",children:a.children};return 0==(1&s)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=Lu(o,u)).subtreeFlags=14680064&o.subtreeFlags,null!==r?l=Lu(r,l):(l=Au(l,s,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?Ml(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Al,a}return e=(l=e.child).sibling,a=Lu(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Dl(e,t){return(t=Mu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ul(e,t,n,r){return null!==r&&pi(r),Xi(t,e.child,null,n),(e=Dl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Vl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),xi(e.return,t,n)}function Bl(e,t,n,r,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a)}function Fl(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(wl(e,t,r.children,n),0!=(2&(r=lo.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Vl(e,n,t);else if(19===e.tag)Vl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ja(lo,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===so(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Bl(t,!1,a,n,i);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===so(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Bl(t,!0,n,null,i);break;case"together":Bl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $l(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ms|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Lu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Lu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wl(e,t){if(!ai)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Kl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ql(e,t,n){var r=t.pendingProps;switch(ti(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kl(t),null;case 1:case 17:return Ta(t.type)&&La(),Kl(t),null;case 3:return r=t.stateNode,ao(),za(Oa),za(Pa),co(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ii&&(ou(ii),ii=null))),Kl(t),null;case 5:oo(t);var a=no(to.current);if(n=t.type,null!==e&&null!=t.stateNode)Ll(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Kl(t),null}if(e=no(Zi.current),di(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[fa]=t,r[ha]=o,e=0!=(1&t.mode),n){case"dialog":Ur("cancel",r),Ur("close",r);break;case"iframe":case"object":case"embed":Ur("load",r);break;case"video":case"audio":for(a=0;a<Ar.length;a++)Ur(Ar[a],r);break;case"source":Ur("error",r);break;case"img":case"image":case"link":Ur("error",r),Ur("load",r);break;case"details":Ur("toggle",r);break;case"input":X(r,o),Ur("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Ur("invalid",r);break;case"textarea":ae(r,o),Ur("invalid",r)}for(var s in ye(n,o),a=null,o)if(o.hasOwnProperty(s)){var u=o[s];"children"===s?"string"==typeof u?r.textContent!==u&&(!0!==o.suppressHydrationWarning&&Jr(r.textContent,u,e),a=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==o.suppressHydrationWarning&&Jr(r.textContent,u,e),a=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Ur("scroll",r)}switch(n){case"input":K(r),Z(r,o,!0);break;case"textarea":K(r),oe(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Zr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fa]=t,e[ha]=r,Tl(e,t),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":Ur("cancel",e),Ur("close",e),a=r;break;case"iframe":case"object":case"embed":Ur("load",e),a=r;break;case"video":case"audio":for(a=0;a<Ar.length;a++)Ur(Ar[a],e);a=r;break;case"source":Ur("error",e),a=r;break;case"img":case"image":case"link":Ur("error",e),Ur("load",e),a=r;break;case"details":Ur("toggle",e),a=r;break;case"input":X(e,r),a=G(e,r),Ur("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=R({},r,{value:void 0}),Ur("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Ur("invalid",e)}for(o in ye(n,a),u=a)if(u.hasOwnProperty(o)){var c=u[o];"style"===o?me(e,c):"dangerouslySetInnerHTML"===o?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===o?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(l.hasOwnProperty(o)?null!=c&&"onScroll"===o&&Ur("scroll",e):null!=c&&b(e,o,c,s))}switch(n){case"input":K(e),Z(e,r,!1);break;case"textarea":K(e),oe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+$(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?ne(e,!!r.multiple,o,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Kl(t),null;case 6:if(e&&null!=t.stateNode)Il(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=no(to.current),no(Zi.current),di(t)){if(r=t.stateNode,n=t.memoizedProps,r[fa]=t,(o=r.nodeValue!==n)&&null!==(e=ni))switch(e.tag){case 3:Jr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!=(1&e.mode))}o&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fa]=t,t.stateNode=r}return Kl(t),null;case 13:if(za(lo),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ai&&null!==ri&&0!=(1&t.mode)&&0==(128&t.flags))fi(),hi(),t.flags|=98560,o=!1;else if(o=di(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(i(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(i(317));o[fa]=t}else hi(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),o=!1}else null!==ii&&(ou(ii),ii=null),o=!0;if(!o)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&lo.current)?0===Is&&(Is=3):vu())),null!==t.updateQueue&&(t.flags|=4),Kl(t),null);case 4:return ao(),null===e&&Fr(t.stateNode.containerInfo),Kl(t),null;case 10:return ki(t.type._context),Kl(t),null;case 19:if(za(lo),null===(o=t.memoizedState))return Kl(t),null;if(r=0!=(128&t.flags),null===(s=o.rendering))if(r)Wl(o,!1);else{if(0!==Is||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=so(e))){for(t.flags|=128,Wl(o,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=14680066,null===(s=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ja(lo,1&lo.current|2),t.child}e=e.sibling}null!==o.tail&&Ye()>Fs&&(t.flags|=128,r=!0,Wl(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=so(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wl(o,!0),null===o.tail&&"hidden"===o.tailMode&&!s.alternate&&!ai)return Kl(t),null}else 2*Ye()-o.renderingStartTime>Fs&&1073741824!==n&&(t.flags|=128,r=!0,Wl(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=o.last)?n.sibling=s:t.child=s,o.last=s)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ye(),t.sibling=null,n=lo.current,ja(lo,r?1&n|2:1&n),t):(Kl(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Ts)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Ql(e,t){switch(ti(t),t.tag){case 1:return Ta(t.type)&&La(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ao(),za(Oa),za(Pa),co(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oo(t),null;case 13:if(za(lo),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return za(lo),null;case 4:return ao(),null;case 10:return ki(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Tl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ll=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,no(Zi.current);var i,o=null;switch(n){case"input":a=G(e,a),r=G(e,r),o=[];break;case"select":a=R({},a,{value:void 0}),r=R({},r,{value:void 0}),o=[];break;case"textarea":a=re(e,a),r=re(e,r),o=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in ye(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(o||(o=[]),o.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(o=o||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(o=o||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Ur("scroll",e),o||s===u||(o=[])):(o=o||[]).push(c,u))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gl=!1,Xl=!1,Yl="function"==typeof WeakSet?WeakSet:Set,Jl=null;function Zl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Su(e,t,n)}else n.current=null}function es(e,t,n){try{n()}catch(n){Su(e,t,n)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,void 0!==i&&es(t,n,i)}a=a.next}while(a!==r)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fa],delete t[ha],delete t[va],delete t[ma],delete t[ga])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function os(e){return 5===e.tag||3===e.tag||4===e.tag}function ls(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||os(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ss(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var cs=null,ds=!1;function fs(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(at,n)}catch(e){}switch(n.tag){case 5:Xl||Zl(n,t);case 6:var r=cs,a=ds;cs=null,fs(e,t,n),ds=a,null!==(cs=r)&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cs.removeChild(n.stateNode));break;case 18:null!==cs&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?sa(e.parentNode,n):1===e.nodeType&&sa(e,n),Ft(e)):sa(cs,n.stateNode));break;case 4:r=cs,a=ds,cs=n.stateNode.containerInfo,ds=!0,fs(e,t,n),cs=r,ds=a;break;case 0:case 11:case 14:case 15:if(!Xl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var i=a,o=i.destroy;i=i.tag,void 0!==o&&(0!=(2&i)||0!=(4&i))&&es(n,t,o),a=a.next}while(a!==r)}fs(e,t,n);break;case 1:if(!Xl&&(Zl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Su(n,t,e)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,fs(e,t,n),Xl=r):fs(e,t,n);break;default:fs(e,t,n)}}function ps(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Yl),t.forEach((function(t){var r=Pu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var o=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:cs=s.stateNode,ds=!1;break e;case 3:case 4:cs=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===cs)throw Error(i(160));hs(o,l,a),cs=null,ds=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(e){Su(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ms(t,e),t=t.sibling}function ms(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),gs(e),4&r){try{ns(3,e,e.return),rs(3,e)}catch(t){Su(e,e.return,t)}try{ns(5,e,e.return)}catch(t){Su(e,e.return,t)}}break;case 1:vs(t,e),gs(e),512&r&&null!==n&&Zl(n,n.return);break;case 5:if(vs(t,e),gs(e),512&r&&null!==n&&Zl(n,n.return),32&e.flags){var a=e.stateNode;try{fe(a,"")}catch(t){Su(e,e.return,t)}}if(4&r&&null!=(a=e.stateNode)){var o=e.memoizedProps,l=null!==n?n.memoizedProps:o,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===o.type&&null!=o.name&&Y(a,o),be(s,l);var c=be(s,o);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?me(a,f):"dangerouslySetInnerHTML"===d?de(a,f):"children"===d?fe(a,f):b(a,d,f,c)}switch(s){case"input":J(a,o);break;case"textarea":ie(a,o);break;case"select":var h=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var p=o.value;null!=p?ne(a,!!o.multiple,p,!1):h!==!!o.multiple&&(null!=o.defaultValue?ne(a,!!o.multiple,o.defaultValue,!0):ne(a,!!o.multiple,o.multiple?[]:"",!1))}a[ha]=o}catch(t){Su(e,e.return,t)}}break;case 6:if(vs(t,e),gs(e),4&r){if(null===e.stateNode)throw Error(i(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){Su(e,e.return,t)}}break;case 3:if(vs(t,e),gs(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ft(t.containerInfo)}catch(t){Su(e,e.return,t)}break;case 4:default:vs(t,e),gs(e);break;case 13:vs(t,e),gs(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,!o||null!==a.alternate&&null!==a.alternate.memoizedState||(Bs=Ye())),4&r&&ps(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Xl=(c=Xl)||d,vs(t,e),Xl=c):vs(t,e),gs(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(p=(h=Jl).child,h.tag){case 0:case 11:case 14:case 15:ns(4,h,h.return);break;case 1:Zl(h,h.return);var v=h.stateNode;if("function"==typeof v.componentWillUnmount){r=h,n=h.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(e){Su(r,n,e)}}break;case 5:Zl(h,h.return);break;case 22:if(null!==h.memoizedState){ws(f);continue}}null!==p?(p.return=h,Jl=p):ws(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,c?"function"==typeof(o=a.style).setProperty?o.setProperty("display","none","important"):o.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=ve("display",l))}catch(t){Su(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Su(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),gs(e),4&r&&ps(e);case 21:}}function gs(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(os(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(fe(a,""),r.flags&=-33),us(e,ls(e),a);break;case 3:case 4:var o=r.stateNode.containerInfo;ss(e,ls(e),o);break;default:throw Error(i(161))}}catch(t){Su(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ys(e,t,n){Jl=e,bs(e,t,n)}function bs(e,t,n){for(var r=0!=(1&e.mode);null!==Jl;){var a=Jl,i=a.child;if(22===a.tag&&r){var o=null!==a.memoizedState||Gl;if(!o){var l=a.alternate,s=null!==l&&null!==l.memoizedState||Xl;l=Gl;var u=Xl;if(Gl=o,(Xl=s)&&!u)for(Jl=a;null!==Jl;)s=(o=Jl).child,22===o.tag&&null!==o.memoizedState?ks(a):null!==s?(s.return=o,Jl=s):ks(a);for(;null!==i;)Jl=i,bs(i,t,n),i=i.sibling;Jl=a,Gl=l,Xl=u}_s(e)}else 0!=(8772&a.subtreeFlags)&&null!==i?(i.return=a,Jl=i):_s(e)}}function _s(e){for(;null!==Jl;){var t=Jl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xl||rs(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xl)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:mi(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Di(t,o,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Di(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ft(f)}}}break;default:throw Error(i(163))}Xl||512&t.flags&&as(t)}catch(e){Su(t,t.return,e)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function ws(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function ks(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rs(4,t)}catch(e){Su(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(e){Su(t,a,e)}}var i=t.return;try{as(t)}catch(e){Su(t,i,e)}break;case 5:var o=t.return;try{as(t)}catch(e){Su(t,o,e)}}}catch(e){Su(t,t.return,e)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var xs,Ss=Math.ceil,zs=_.ReactCurrentDispatcher,js=_.ReactCurrentOwner,Cs=_.ReactCurrentBatchConfig,Ps=0,Os=null,Es=null,Ns=0,Ts=0,Ls=Sa(0),Is=0,As=null,Ms=0,Rs=0,Ds=0,Us=null,Vs=null,Bs=0,Fs=1/0,Hs=null,$s=!1,Ws=null,Ks=null,qs=!1,Qs=null,Gs=0,Xs=0,Ys=null,Js=-1,Zs=0;function eu(){return 0!=(6&Ps)?Ye():-1!==Js?Js:Js=Ye()}function tu(e){return 0==(1&e.mode)?1:0!=(2&Ps)&&0!==Ns?Ns&-Ns:null!==vi.transition?(0===Zs&&(Zs=vt()),Zs):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function nu(e,t,n,r){if(50<Xs)throw Xs=0,Ys=null,Error(i(185));gt(e,n,r),0!=(2&Ps)&&e===Os||(e===Os&&(0==(2&Ps)&&(Rs|=n),4===Is&&lu(e,Ns)),ru(e,r),1===n&&0===Ps&&0==(1&t.mode)&&(Fs=Ye()+500,Ua&&Fa()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-ot(i),l=1<<o,s=a[o];-1===s?0!=(l&n)&&0==(l&r)||(a[o]=ht(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ft(e,e===Os?Ns:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){Ua=!0,Ba(e)}(su.bind(null,e)):Ba(su.bind(null,e)),oa((function(){0==(6&Ps)&&Fa()})),n=null;else{switch(_t(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ou(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Js=-1,Zs=0,0!=(6&Ps))throw Error(i(327));var n=e.callbackNode;if(ku()&&e.callbackNode!==n)return null;var r=ft(e,e===Os?Ns:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=mu(e,r);else{t=r;var a=Ps;Ps|=2;var o=pu();for(Os===e&&Ns===t||(Hs=null,Fs=Ye()+500,fu(e,t));;)try{yu();break}catch(t){hu(e,t)}wi(),zs.current=o,Ps=a,null!==Es?t=0:(Os=null,Ns=0,t=Is)}if(0!==t){if(2===t&&(0!==(a=pt(e))&&(r=a,t=iu(e,a))),1===t)throw n=As,fu(e,0),lu(e,r),ru(e,Ye()),n;if(6===t)lu(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],i=a.getSnapshot;a=a.value;try{if(!lr(i(),a))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=mu(e,r))&&(0!==(o=pt(e))&&(r=o,t=iu(e,o))),1===t))throw n=As,fu(e,0),lu(e,r),ru(e,Ye()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wu(e,Vs,Hs);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=Bs+500-Ye())){if(0!==ft(e,0))break;if(((a=e.suspendedLanes)&r)!==r){eu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(wu.bind(null,e,Vs,Hs),t);break}wu(e,Vs,Hs);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var l=31-ot(r);o=1<<l,(l=t[l])>a&&(a=l),r&=~o}if(r=a,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ss(r/1960))-r)){e.timeoutHandle=ra(wu.bind(null,e,Vs,Hs),r);break}wu(e,Vs,Hs);break;default:throw Error(i(329))}}}return ru(e,Ye()),e.callbackNode===n?au.bind(null,e):null}function iu(e,t){var n=Us;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=mu(e,t))&&(t=Vs,Vs=n,null!==t&&ou(t)),e}function ou(e){null===Vs?Vs=e:Vs.push.apply(Vs,e)}function lu(e,t){for(t&=~Ds,t&=~Rs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function su(e){if(0!=(6&Ps))throw Error(i(327));ku();var t=ft(e,0);if(0==(1&t))return ru(e,Ye()),null;var n=mu(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=As,fu(e,0),lu(e,t),ru(e,Ye()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wu(e,Vs,Hs),ru(e,Ye()),null}function uu(e,t){var n=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=n)&&(Fs=Ye()+500,Ua&&Fa())}}function cu(e){null!==Qs&&0===Qs.tag&&0==(6&Ps)&&ku();var t=Ps;Ps|=1;var n=Cs.transition,r=bt;try{if(Cs.transition=null,bt=1,e)return e()}finally{bt=r,Cs.transition=n,0==(6&(Ps=t))&&Fa()}}function du(){Ts=Ls.current,za(Ls)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Es)for(n=Es.return;null!==n;){var r=n;switch(ti(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&La();break;case 3:ao(),za(Oa),za(Pa),co();break;case 5:oo(r);break;case 4:ao();break;case 13:case 19:za(lo);break;case 10:ki(r.type._context);break;case 22:case 23:du()}n=n.return}if(Os=e,Es=e=Lu(e.current,null),Ns=Ts=t,Is=0,As=null,Ds=Rs=Ms=0,Vs=Us=null,null!==ji){for(t=0;t<ji.length;t++)if(null!==(r=(n=ji[t]).interleaved)){n.interleaved=null;var a=r.next,i=n.pending;if(null!==i){var o=i.next;i.next=a,r.next=o}n.pending=r}ji=null}return e}function hu(e,t){for(;;){var n=Es;try{if(wi(),fo.current=ol,yo){for(var r=vo.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}yo=!1}if(po=0,go=mo=vo=null,bo=!1,_o=0,js.current=null,null===n||null===n.return){Is=1,As=t,Es=null;break}e:{var o=e,l=n.return,s=n,u=t;if(t=Ns,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=gl(l);if(null!==p){p.flags&=-257,yl(p,l,s,0,t),1&p.mode&&ml(o,c,t),u=c;var v=(t=p).updateQueue;if(null===v){var m=new Set;m.add(u),t.updateQueue=m}else v.add(u);break e}if(0==(1&t)){ml(o,c,t),vu();break e}u=Error(i(426))}else if(ai&&1&s.mode){var g=gl(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),pi(cl(u,s));break e}}o=u=cl(u,s),4!==Is&&(Is=2),null===Us?Us=[o]:Us.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Mi(o,pl(0,u,t));break e;case 1:s=u;var y=o.type,b=o.stateNode;if(0==(128&o.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Ks||!Ks.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t,Mi(o,vl(o,s,t));break e}}o=o.return}while(null!==o)}_u(n)}catch(e){t=e,Es===n&&null!==n&&(Es=n=n.return);continue}break}}function pu(){var e=zs.current;return zs.current=ol,null===e?ol:e}function vu(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===Os||0==(268435455&Ms)&&0==(268435455&Rs)||lu(Os,Ns)}function mu(e,t){var n=Ps;Ps|=2;var r=pu();for(Os===e&&Ns===t||(Hs=null,fu(e,t));;)try{gu();break}catch(t){hu(e,t)}if(wi(),Ps=n,zs.current=r,null!==Es)throw Error(i(261));return Os=null,Ns=0,Is}function gu(){for(;null!==Es;)bu(Es)}function yu(){for(;null!==Es&&!Ge();)bu(Es)}function bu(e){var t=xs(e.alternate,e,Ts);e.memoizedProps=e.pendingProps,null===t?_u(e):Es=t,js.current=null}function _u(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=ql(n,t,Ts)))return void(Es=n)}else{if(null!==(n=Ql(n,t)))return n.flags&=32767,void(Es=n);if(null===e)return Is=6,void(Es=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Es=t);Es=t=e}while(null!==t);0===Is&&(Is=5)}function wu(e,t,n){var r=bt,a=Cs.transition;try{Cs.transition=null,bt=1,function(e,t,n,r){do{ku()}while(null!==Qs);if(0!=(6&Ps))throw Error(i(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-ot(n),i=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~i}}(e,o),e===Os&&(Es=Os=null,Ns=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||qs||(qs=!0,Ou(tt,(function(){return ku(),null}))),o=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||o){o=Cs.transition,Cs.transition=null;var l=bt;bt=1;var s=Ps;Ps|=4,js.current=null,function(e,t){if(ea=$t,hr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(e){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==a&&3!==f.nodeType||(s=l+a),f!==o||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===a&&(s=l),h===o&&++d===r&&(u=l),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},$t=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var v=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,g=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:mi(t.type,m),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=t.stateNode.containerInfo;1===_.nodeType?_.textContent="":9===_.nodeType&&_.documentElement&&_.removeChild(_.documentElement);break;default:throw Error(i(163))}}catch(e){Su(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}v=ts,ts=!1}(e,n),ms(n,e),pr(ta),$t=!!ea,ta=ea=null,e.current=n,ys(n,e,a),Xe(),Ps=s,bt=l,Cs.transition=o}else e.current=n;if(qs&&(qs=!1,Qs=e,Gs=a),0===(o=e.pendingLanes)&&(Ks=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(at,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),ru(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if($s)throw $s=!1,e=Ws,Ws=null,e;0!=(1&Gs)&&0!==e.tag&&ku(),0!=(1&(o=e.pendingLanes))?e===Ys?Xs++:(Xs=0,Ys=e):Xs=0,Fa()}(e,t,n,r)}finally{Cs.transition=a,bt=r}return null}function ku(){if(null!==Qs){var e=_t(Gs),t=Cs.transition,n=bt;try{if(Cs.transition=null,bt=16>e?16:e,null===Qs)var r=!1;else{if(e=Qs,Qs=null,Gs=0,0!=(6&Ps))throw Error(i(331));var a=Ps;for(Ps|=4,Jl=e.current;null!==Jl;){var o=Jl,l=o.child;if(0!=(16&Jl.flags)){var s=o.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Jl=c;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:ns(8,d,o)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var h=(d=Jl).sibling,p=d.return;if(is(d),d===c){Jl=null;break}if(null!==h){h.return=p,Jl=h;break}Jl=p}}}var v=o.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}Jl=o}}if(0!=(2064&o.subtreeFlags)&&null!==l)l.return=o,Jl=l;else e:for(;null!==Jl;){if(0!=(2048&(o=Jl).flags))switch(o.tag){case 0:case 11:case 15:ns(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,Jl=y;break e}Jl=o.return}}var b=e.current;for(Jl=b;null!==Jl;){var _=(l=Jl).child;if(0!=(2064&l.subtreeFlags)&&null!==_)_.return=l,Jl=_;else e:for(l=b;null!==Jl;){if(0!=(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:rs(9,s)}}catch(e){Su(s,s.return,e)}if(s===l){Jl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Jl=w;break e}Jl=s.return}}if(Ps=a,Fa(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(at,e)}catch(e){}r=!0}return r}finally{bt=n,Cs.transition=t}}return!1}function xu(e,t,n){e=Ii(e,t=pl(0,t=cl(n,t),1),1),t=eu(),null!==e&&(gt(e,1,t),ru(e,t))}function Su(e,t,n){if(3===e.tag)xu(e,e,n);else for(;null!==t;){if(3===t.tag){xu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ks||!Ks.has(r))){t=Ii(t,e=vl(t,e=cl(n,e),1),1),e=eu(),null!==t&&(gt(t,1,e),ru(t,e));break}}t=t.return}}function zu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,Os===e&&(Ns&n)===n&&(4===Is||3===Is&&(130023424&Ns)===Ns&&500>Ye()-Bs?fu(e,0):Ds|=n),ru(e,t)}function ju(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=eu();null!==(e=Oi(e,t))&&(gt(e,t,n),ru(e,n))}function Cu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ju(e,n)}function Pu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),ju(e,n)}function Ou(e,t){return qe(e,t)}function Eu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nu(e,t,n,r){return new Eu(e,t,n,r)}function Tu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Lu(e,t){var n=e.alternate;return null===n?((n=Nu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Iu(e,t,n,r,a,o){var l=2;if(r=e,"function"==typeof e)Tu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case x:return Au(n.children,a,o,t);case S:l=8,a|=8;break;case z:return(e=Nu(12,n,t,2|a)).elementType=z,e.lanes=o,e;case O:return(e=Nu(13,n,t,a)).elementType=O,e.lanes=o,e;case E:return(e=Nu(19,n,t,a)).elementType=E,e.lanes=o,e;case L:return Mu(n,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case j:l=10;break e;case C:l=9;break e;case P:l=11;break e;case N:l=14;break e;case T:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Nu(l,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function Au(e,t,n,r){return(e=Nu(7,e,r,t)).lanes=n,e}function Mu(e,t,n,r){return(e=Nu(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Ru(e,t,n){return(e=Nu(6,e,null,t)).lanes=n,e}function Du(e,t,n){return(t=Nu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uu(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Vu(e,t,n,r,a,i,o,l,s){return e=new Uu(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Nu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ni(i),e}function Bu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Fu(e){if(!e)return Ca;e:{if(Fe(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ta(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Ta(n))return Aa(e,n,t)}return t}function Hu(e,t,n,r,a,i,o,l,s){return(e=Vu(n,r,!0,e,0,i,0,l,s)).context=Fu(null),n=e.current,(i=Li(r=eu(),a=tu(n))).callback=null!=t?t:null,Ii(n,i,a),e.current.lanes=a,gt(e,a,r),ru(e,r),e}function $u(e,t,n,r){var a=t.current,i=eu(),o=tu(a);return n=Fu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Li(i,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ii(a,t,o))&&(nu(e,a,o,i),Ai(e,a,o)),o}function Wu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ku(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qu(e,t){Ku(e,t),(e=e.alternate)&&Ku(e,t)}xs=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oa.current)_l=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return _l=!1,function(e,t,n){switch(t.tag){case 3:El(t),hi();break;case 5:io(t);break;case 1:Ta(t.type)&&Ma(t);break;case 4:ro(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;ja(gi,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(ja(lo,1&lo.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Rl(e,t,n):(ja(lo,1&lo.current),null!==(e=$l(e,t,n))?e.sibling:null);ja(lo,1&lo.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Fl(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),ja(lo,lo.current),r)break;return null;case 22:case 23:return t.lanes=0,zl(e,t,n)}return $l(e,t,n)}(e,t,n);_l=0!=(131072&e.flags)}else _l=!1,ai&&0!=(1048576&t.flags)&&Za(t,Ka,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hl(e,t),e=t.pendingProps;var a=Na(t,Pa.current);Si(t,n),a=So(null,t,r,e,a,n);var o=zo();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ta(r)?(o=!0,Ma(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Ni(t),a.updater=Bi,t.stateNode=a,a._reactInternals=t,Wi(t,r,e,n),t=Ol(null,t,r,!0,o,n)):(t.tag=0,ai&&o&&ei(t),wl(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Tu(e)?1:0;if(null!=e){if((e=e.$$typeof)===P)return 11;if(e===N)return 14}return 2}(r),e=mi(r,e),a){case 0:t=Cl(null,t,r,e,n);break e;case 1:t=Pl(null,t,r,e,n);break e;case 11:t=kl(null,t,r,e,n);break e;case 14:t=xl(null,t,r,mi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Cl(e,t,r,a=t.elementType===r?a:mi(r,a),n);case 1:return r=t.type,a=t.pendingProps,Pl(e,t,r,a=t.elementType===r?a:mi(r,a),n);case 3:e:{if(El(t),null===e)throw Error(i(387));r=t.pendingProps,a=(o=t.memoizedState).element,Ti(e,t),Ri(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Nl(e,t,r,n,a=cl(Error(i(423)),t));break e}if(r!==a){t=Nl(e,t,r,n,a=cl(Error(i(424)),t));break e}for(ri=ua(t.stateNode.containerInfo.firstChild),ni=t,ai=!0,ii=null,n=Yi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===a){t=$l(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return io(t),null===e&&ui(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,l=a.children,na(r,a)?l=null:null!==o&&na(r,o)&&(t.flags|=32),jl(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&ui(t),null;case 13:return Rl(e,t,n);case 4:return ro(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xi(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,kl(e,t,r,a=t.elementType===r?a:mi(r,a),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,l=a.value,ja(gi,r._currentValue),r._currentValue=l,null!==o)if(lr(o.value,l)){if(o.children===a.children&&!Oa.current){t=$l(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var s=o.dependencies;if(null!==s){l=o.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===o.tag){(u=Li(-1,n&-n)).tag=2;var c=o.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}o.lanes|=n,null!==(u=o.alternate)&&(u.lanes|=n),xi(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===o.tag)l=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(l=o.return))throw Error(i(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),xi(l,n,t),l=o.sibling}else l=o.child;if(null!==l)l.return=o;else for(l=o;null!==l;){if(l===t){l=null;break}if(null!==(o=l.sibling)){o.return=l.return,l=o;break}l=l.return}o=l}wl(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Si(t,n),r=r(a=zi(a)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return a=mi(r=t.type,t.pendingProps),xl(e,t,r,a=mi(r.type,a),n);case 15:return Sl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:mi(r,a),Hl(e,t),t.tag=1,Ta(r)?(e=!0,Ma(t)):e=!1,Si(t,n),Hi(t,r,a),Wi(t,r,a,n),Ol(null,t,r,!0,e,n);case 19:return Fl(e,t,n);case 22:return zl(e,t,n)}throw Error(i(156,t.tag))};var Qu="function"==typeof reportError?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}function Xu(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function ec(e,t,n,r,a){var i=n._reactRootContainer;if(i){var o=i;if("function"==typeof a){var l=a;a=function(){var e=Wu(o);l.call(e)}}$u(t,o,e,a)}else o=function(e,t,n,r,a){if(a){if("function"==typeof r){var i=r;r=function(){var e=Wu(o);i.call(e)}}var o=Hu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=o,e[pa]=o.current,Fr(8===e.nodeType?e.parentNode:e),cu(),o}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=Wu(s);l.call(e)}}var s=Vu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=s,e[pa]=s.current,Fr(8===e.nodeType?e.parentNode:e),cu((function(){$u(t,s,n,r)})),s}(n,t,e,a,r);return Wu(o)}Xu.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));$u(e,t,null,null)},Xu.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){$u(null,e,null,null)})),t[pa]=null}},Xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Rt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ru(t,Ye()),0==(6&Ps)&&(Fs=Ye()+500,Fa()))}break;case 13:cu((function(){var t=Oi(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),qu(e,1)}},kt=function(e){if(13===e.tag){var t=Oi(e,134217728);if(null!==t)nu(t,e,134217728,eu());qu(e,134217728)}},xt=function(e){if(13===e.tag){var t=tu(e),n=Oi(e,t);if(null!==n)nu(n,e,t,eu());qu(e,t)}},St=function(){return bt},zt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=wa(r);if(!a)throw Error(i(90));q(r),J(r,a)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=uu,Oe=cu;var tc={usingClientEntryPoint:!1,Events:[ba,_a,wa,je,Ce,uu]},nc={findFiberByHostInstance:ya,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(rc),it=ac}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(i(200));return Bu(e,t,null,n)},t.createRoot=function(e,t){if(!Yu(e))throw Error(i(299));var n=!1,r="",a=Qu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Vu(e,1,!1,null,0,n,0,r,a),e[pa]=t.current,Fr(8===e.nodeType?e.parentNode:e),new Gu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return cu(e)},t.hydrate=function(e,t,n){if(!Ju(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yu(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,a=!1,o="",l=Qu;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Hu(t,null,e,1,null!=n?n:null,a,0,o,l),e[pa]=t.current,Fr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Xu(t)},t.render=function(e,t,n){if(!Ju(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(i(40));return!!e._reactRootContainer&&(cu((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[pa]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ju(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},478:function(e,t,n){"use strict";var r=n(422);t.s=r.createRoot,r.hydrateRoot},422:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(746)},354:function(e,t,n){"use strict";var r=n(959),a=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:i,_owner:l.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},257:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var _=b.prototype=new y;_.constructor=b,v(_,g.prototype),_.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,x={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function z(e,t,r){var a,i={},o=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(o=""+t.key),t)k.call(t,a)&&!S.hasOwnProperty(a)&&(i[a]=t[a]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===i[a]&&(i[a]=s[a]);return{$$typeof:n,type:e,key:o,ref:l,props:i,_owner:x.current}}function j(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,a,i,o){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return o=o(s=e),e=""===i?"."+P(s,0):i,w(o)?(a="",null!=e&&(a=e.replace(C,"$&/")+"/"),O(o,t,a,"",(function(e){return e}))):null!=o&&(j(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,a+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(C,"$&/")+"/")+e)),t.push(o)),1;if(s=0,i=""===i?".":i+":",w(e))for(var u=0;u<e.length;u++){var c=i+P(l=e[u],u);s+=O(l,t,a,c,o)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=O(l=l.value,t,a,c=i+P(l,u++),o);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function E(e,t,n){if(null==e)return e;var r=[],a=0;return O(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var T={current:null},L={transition:null},I={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:L,ReactCurrentOwner:x};t.Children={map:E,forEach:function(e,t,n){E(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return E(e,(function(){t++})),t},toArray:function(e){return E(e,(function(e){return e}))||[]},only:function(e){if(!j(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=a,t.Profiler=o,t.PureComponent=b,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=v({},e.props),i=e.key,o=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,l=x.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)k.call(t,u)&&!S.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:i,ref:o,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=z,t.createFactory=function(e){var t=z.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=j,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return T.current.useCallback(e,t)},t.useContext=function(e){return T.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return T.current.useDeferredValue(e)},t.useEffect=function(e,t){return T.current.useEffect(e,t)},t.useId=function(){return T.current.useId()},t.useImperativeHandle=function(e,t,n){return T.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return T.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return T.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return T.current.useMemo(e,t)},t.useReducer=function(e,t,n){return T.current.useReducer(e,t,n)},t.useRef=function(e){return T.current.useRef(e)},t.useState=function(e){return T.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return T.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return T.current.useTransition()},t.version="18.2.0"},959:function(e,t,n){"use strict";e.exports=n(257)},527:function(e,t,n){"use strict";e.exports=n(354)},568:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<i(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,o=a>>>1;r<o;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<a&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,h=3,p=!1,v=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function _(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function w(e){if(m=!1,_(e),!v)if(null!==r(u))v=!0,L(k);else{var t=r(c);null!==t&&I(w,t.startTime-e)}}function k(e,n){v=!1,m&&(m=!1,y(j),j=-1),p=!0;var i=h;try{for(_(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!O());){var o=f.callback;if("function"==typeof o){f.callback=null,h=f.priorityLevel;var l=o(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?f.callback=l:f===r(u)&&a(u),_(n)}else a(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&I(w,d.startTime-n),s=!1}return s}finally{f=null,h=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,S=!1,z=null,j=-1,C=5,P=-1;function O(){return!(t.unstable_now()-P<C)}function E(){if(null!==z){var e=t.unstable_now();P=e;var n=!0;try{n=z(!0,e)}finally{n?x():(S=!1,z=null)}}else S=!1}if("function"==typeof b)x=function(){b(E)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,T=N.port2;N.port1.onmessage=E,x=function(){T.postMessage(null)}}else x=function(){g(E,0)};function L(e){z=e,S||(S=!0,x())}function I(e,n){j=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||p||(v=!0,L(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,a,i){var o=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?o+i:o:i=o,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>o?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(m?(y(j),j=-1):m=!0,I(w,i-o))):(e.sortIndex=l,n(u,e),v||p||(v=!0,L(k))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},962:function(e,t,n){"use strict";e.exports=n(568)},935:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(527);function t(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var r={};function a(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:r}var i=Object.assign,o=Object.getOwnPropertyDescriptor,l=Object.defineProperty,s=Object.prototype,u=[];Object.freeze(u);var c={};Object.freeze(c);var d="undefined"!=typeof Proxy,f=Object.toString();function h(){d||t("Proxy not available")}function p(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var v=function(){};function m(e){return"function"==typeof e}function g(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function y(e){return null!==e&&"object"==typeof e}function b(e){if(!y(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===f}function _(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function w(e,t,n){l(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function k(e,t,n){l(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function x(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return y(e)&&!0===e[n]}}function S(e){return e instanceof Map}function z(e){return e instanceof Set}var j=void 0!==Object.getOwnPropertySymbols;var C="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:j?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"==typeof e?""+e:e}function O(e,t){return s.hasOwnProperty.call(e,t)}var E=Object.getOwnPropertyDescriptors||function(e){var t={};return C(e).forEach((function(n){t[n]=o(e,n)})),t};function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t,n){return t&&N(e.prototype,t),n&&N(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function L(){return L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(this,arguments)}function I(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function D(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var U=Symbol("mobx-stored-annotations");function V(e){return Object.assign((function(t,n){B(t,n,e)}),e)}function B(e,t,n){O(e,U)||w(e,U,L({},e[U])),function(e){return e.annotationType_===G}(n)||(e[U][t]=n)}var F=Symbol("mobx administration"),H=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=He.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return pt(this)},t.reportChanged=function(){ft(),vt(this),ht()},t.toString=function(){return this.name_},e}(),$=x("Atom",H);function W(e,t,n){void 0===t&&(t=v),void 0===n&&(n=v);var r,a=new H(e);return t!==v&&Rt(At,a,t,r),n!==v&&Mt(a,n),a}var K={identity:function(e,t){return e===t},structural:function(e,t){return or(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return or(e,t,1)}};function q(e,t,n){return Yt(e)?e:Array.isArray(e)?ze.array(e,{name:n}):b(e)?ze.object(e,void 0,{name:n}):S(e)?ze.map(e,{name:n}):z(e)?ze.set(e,{name:n}):"function"!=typeof e||Nt(e)||Gt(e)?e:_(e)?qt(e):Et(n,e)}function Q(e){return e}var G="override";function X(e,t){return{annotationType_:e,options_:t,make_:Y,extend_:J}}function Y(e,t,n,r){var a;if(null!=(a=this.options_)&&a.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(Nt(n.value))return 1;var i=Z(e,this,t,n,!1);return l(r,t,i),2}function J(e,t,n,r){var a=Z(e,this,t,n);return e.defineProperty_(t,a,r)}function Z(e,t,n,r,a){var i,o,l,s,u,c,d,f;void 0===a&&(a=st.safeDescriptors),f=r,t.annotationType_,f.value;var h,p=r.value;null!=(i=t.options_)&&i.bound&&(p=p.bind(null!=(h=e.proxy_)?h:e.target_));return{value:Ae(null!=(o=null==(l=t.options_)?void 0:l.name)?o:n.toString(),p,null!=(s=null==(u=t.options_)?void 0:u.autoAction)&&s,null!=(c=t.options_)&&c.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!a||e.isPlainObject_,enumerable:!1,writable:!a}}function ee(e,t){return{annotationType_:e,options_:t,make_:te,extend_:ne}}function te(e,t,n,r){var a;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(a=this.options_)&&a.bound&&(!O(e.target_,t)||!Gt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Gt(n.value))return 1;var i=re(e,this,t,n,!1,!1);return l(r,t,i),2}function ne(e,t,n,r){var a,i=re(e,this,t,n,null==(a=this.options_)?void 0:a.bound);return e.defineProperty_(t,i,r)}function re(e,t,n,r,a,i){var o;void 0===i&&(i=st.safeDescriptors),o=r,t.annotationType_,o.value;var l,s=r.value;(Gt(s)||(s=qt(s)),a)&&((s=s.bind(null!=(l=e.proxy_)?l:e.target_)).isMobXFlow=!0);return{value:s,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ae(e,t){return{annotationType_:e,options_:t,make_:ie,extend_:oe}}function ie(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function oe(e,t,n,r){return function(e,t,n,r){t.annotationType_,r.get;0}(0,this,0,n),e.defineComputedProperty_(t,L({},this.options_,{get:n.get,set:n.set}),r)}function le(e,t){return{annotationType_:e,options_:t,make_:se,extend_:ue}}function se(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ue(e,t,n,r){var a,i;return function(e,t,n,r){t.annotationType_;0}(0,this),e.defineObservableProperty_(t,n.value,null!=(a=null==(i=this.options_)?void 0:i.enhancer)?a:q,r)}var ce=de();function de(e){return{annotationType_:"true",options_:e,make_:fe,extend_:he}}function fe(e,t,n,r){var a,i,o,s;if(n.get)return Oe.make_(e,t,n,r);if(n.set){var u=Ae(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!st.safeDescriptors||e.isPlainObject_,set:u})?0:2:(l(r,t,{configurable:!0,set:u}),2)}if(r!==e.target_&&"function"==typeof n.value)return _(n.value)?(null!=(s=this.options_)&&s.autoBind?qt.bound:qt).make_(e,t,n,r):(null!=(o=this.options_)&&o.autoBind?Et.bound:Et).make_(e,t,n,r);var c,d=!1===(null==(a=this.options_)?void 0:a.deep)?ze.ref:ze;"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(c=e.proxy_)?c:e.target_));return d.make_(e,t,n,r)}function he(e,t,n,r){var a,i,o;if(n.get)return Oe.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!st.safeDescriptors||e.isPlainObject_,set:Ae(t.toString(),n.set)},r);"function"==typeof n.value&&null!=(a=this.options_)&&a.autoBind&&(n.value=n.value.bind(null!=(o=e.proxy_)?o:e.target_));return(!1===(null==(i=this.options_)?void 0:i.deep)?ze.ref:ze).extend_(e,t,n,r)}var pe={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function ve(e){return e||pe}Object.freeze(pe);var me=le("observable"),ge=le("observable.ref",{enhancer:Q}),ye=le("observable.shallow",{enhancer:function(e,t,n){return null==e||Hn(e)||jn(e)||Ln(e)||Mn(e)?e:Array.isArray(e)?ze.array(e,{name:n,deep:!1}):b(e)?ze.object(e,void 0,{name:n,deep:!1}):S(e)?ze.map(e,{name:n,deep:!1}):z(e)?ze.set(e,{name:n,deep:!1}):void 0}}),be=le("observable.struct",{enhancer:function(e,t){return or(e,t)?t:e}}),_e=V(me);function we(e){return!0===e.deep?q:!1===e.deep?Q:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:q;var t,n,r}function ke(e,t,n){if(!g(t))return Yt(e)?e:b(e)?ze.object(e,t,n):Array.isArray(e)?ze.array(e,t):S(e)?ze.map(e,t):z(e)?ze.set(e,t):"object"==typeof e&&null!==e?e:ze.box(e,t);B(e,t,me)}Object.assign(ke,_e);var xe,Se,ze=i(ke,{box:function(e,t){var n=ve(t);return new Be(e,we(n),n.name,!0,n.equals)},array:function(e,t){var n=ve(t);return(!1===st.useProxies||!1===n.proxy?tr:gn)(e,we(n),n.name)},map:function(e,t){var n=ve(t);return new Tn(e,we(n),n.name)},set:function(e,t){var n=ve(t);return new An(e,we(n),n.name)},object:function(e,t,n){return Vt(!1===st.useProxies||!1===(null==n?void 0:n.proxy)?Vn({},n):function(e,t){var n,r;return h(),e=Vn(e,t),null!=(r=(n=e[F]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)},ref:V(ge),shallow:V(ye),deep:_e,struct:V(be)}),je="computed",Ce=ae(je),Pe=ae("computed.struct",{equals:K.structural}),Oe=function(e,t){if(g(t))return B(e,t,Ce);if(b(e))return V(ae(je,e));var n=b(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new We(n)};Object.assign(Oe,Ce),Oe.struct=V(Pe);var Ee,Ne=0,Te=1,Le=null!=(xe=null==(Se=o((function(){}),"name"))?void 0:Se.configurable)&&xe,Ie={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ae(e,t,n,r){function a(){return Me(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),a.isMobxAction=!0,Le&&(Ie.value=e,Object.defineProperty(a,"name",Ie)),a}function Me(e,n,r,a,i){var o=function(e,t,n,r){var a=!1,i=0;0;var o=st.trackingDerivation,l=!t||!o;ft();var s=st.allowStateChanges;l&&(et(),s=De(!0));var u=nt(!0),c={runAsAction_:l,prevDerivation_:o,prevAllowStateChanges_:s,prevAllowStateReads_:u,notifySpy_:a,startTime_:i,actionId_:Te++,parentActionId_:Ne};return Ne=c.actionId_,c}(0,n);try{return r.apply(a,i)}catch(e){throw o.error_=e,e}finally{!function(e){Ne!==e.actionId_&&t(30);Ne=e.parentActionId_,void 0!==e.error_&&(st.suppressReactionErrors=!0);Ue(e.prevAllowStateChanges_),rt(e.prevAllowStateReads_),ht(),e.runAsAction_&&tt(e.prevDerivation_);0;st.suppressReactionErrors=!1}(o)}}function Re(e,t){var n=De(e);try{return t()}finally{Ue(n)}}function De(e){var t=st.allowStateChanges;return st.allowStateChanges=e,t}function Ue(e){st.allowStateChanges=e}Ee=Symbol.toPrimitive;var Ve,Be=function(e){function t(t,n,r,a,i){var o;return void 0===r&&(r="ObservableValue"),void 0===a&&(a=!0),void 0===i&&(i=K.default),(o=e.call(this,r)||this).enhancer=void 0,o.name_=void 0,o.equals=void 0,o.hasUnreportedChange_=!1,o.interceptors_=void 0,o.changeListeners_=void 0,o.value_=void 0,o.dehancer=void 0,o.enhancer=n,o.name_=r,o.equals=i,o.value_=n(t,void 0,r),o}I(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_;if((e=this.prepareNewValue_(e))!==st.UNCHANGED){0,this.setNewValue_(e)}},n.prepareNewValue_=function(e){if(Xe(this),an(this)){var t=ln(this,{object:this,type:pn,newValue:e});if(!t)return st.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?st.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),sn(this)&&cn(this,{type:pn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return on(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:pn,newValue:this.value_,oldValue:void 0}),un(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return P(this.get())},n[Ee]=function(){return this.valueOf()},t}(H),Fe=x("ObservableValue",Be);Ve=Symbol.toPrimitive;var He,$e,We=function(){function e(e){this.dependenciesState_=He.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=He.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new qe(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=$e.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||t(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ae("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?K.structural:K.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var n=e.prototype;return n.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==He.UP_TO_DATE_)return;e.lowestObserverState_=He.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===He.UP_TO_DATE_&&(e.dependenciesState_=He.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},n.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},n.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},n.get=function(){if(this.isComputing_&&t(32,this.name_,this.derivation),0!==st.inBatch||0!==this.observers_.size||this.keepAlive_){if(pt(this),Ge(this)){var e=st.trackingContext;this.keepAlive_&&!e&&(st.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===He.STALE_)return;e.lowestObserverState_=He.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===He.POSSIBLY_STALE_?t.dependenciesState_=He.STALE_:t.dependenciesState_===He.UP_TO_DATE_&&(e.lowestObserverState_=He.UP_TO_DATE_)}))}(this),st.trackingContext=e}}else Ge(this)&&(this.warnAboutUntrackedRead_(),ft(),this.value_=this.computeValue_(!1),ht());var n=this.value_;if(Qe(n))throw n.cause;return n},n.set=function(e){if(this.setter_){this.isRunningSetter_&&t(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else t(34,this.name_)},n.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===He.NOT_TRACKING_,n=this.computeValue_(!0),r=t||Qe(e)||Qe(n)||!this.equals_(e,n);return r&&(this.value_=n),r},n.computeValue_=function(e){this.isComputing_=!0;var t,n=De(!1);if(e)t=Ye(this,this.derivation,this.scope_);else if(!0===st.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new qe(e)}return Ue(n),this.isComputing_=!1,t},n.suspend_=function(){this.keepAlive_||(Je(this),this.value_=void 0)},n.observe_=function(e,t){var n=this,r=!0,a=void 0;return Tt((function(){var i=n.get();if(!r||t){var o=et();e({observableKind:"computed",debugObjectName:n.name_,type:pn,object:n,newValue:i,oldValue:a}),tt(o)}r=!1,a=i}))},n.warnAboutUntrackedRead_=function(){},n.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},n.valueOf=function(){return P(this.get())},n[Ve]=function(){return this.valueOf()},e}(),Ke=x("ComputedValue",We);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(He||(He={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}($e||($e={}));var qe=function(e){this.cause=void 0,this.cause=e};function Qe(e){return e instanceof qe}function Ge(e){switch(e.dependenciesState_){case He.UP_TO_DATE_:return!1;case He.NOT_TRACKING_:case He.STALE_:return!0;case He.POSSIBLY_STALE_:for(var t=nt(!0),n=et(),r=e.observing_,a=r.length,i=0;i<a;i++){var o=r[i];if(Ke(o)){if(st.disableErrorBoundaries)o.get();else try{o.get()}catch(e){return tt(n),rt(t),!0}if(e.dependenciesState_===He.STALE_)return tt(n),rt(t),!0}}return at(e),tt(n),rt(t),!1}}function Xe(e){}function Ye(e,t,n){var r=nt(!0);at(e),e.newObserving_=new Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++st.runId;var a,i=st.trackingDerivation;if(st.trackingDerivation=e,st.inBatch++,!0===st.disableErrorBoundaries)a=t.call(n);else try{a=t.call(n)}catch(e){a=new qe(e)}return st.inBatch--,st.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=He.UP_TO_DATE_,a=0,i=e.unboundDepsCount_,o=0;o<i;o++){var l=n[o];0===l.diffValue_&&(l.diffValue_=1,a!==o&&(n[a]=l),a++),l.dependenciesState_>r&&(r=l.dependenciesState_)}n.length=a,e.newObserving_=null,i=t.length;for(;i--;){var s=t[i];0===s.diffValue_&&ct(s,e),s.diffValue_=0}for(;a--;){var u=n[a];1===u.diffValue_&&(u.diffValue_=0,ut(u,e))}r!==He.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),rt(r),a}function Je(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)ct(t[n],e);e.dependenciesState_=He.NOT_TRACKING_}function Ze(e){var t=et();try{return e()}finally{tt(t)}}function et(){var e=st.trackingDerivation;return st.trackingDerivation=null,e}function tt(e){st.trackingDerivation=e}function nt(e){var t=st.allowStateReads;return st.allowStateReads=e,t}function rt(e){st.allowStateReads=e}function at(e){if(e.dependenciesState_!==He.UP_TO_DATE_){e.dependenciesState_=He.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=He.UP_TO_DATE_}}var it=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},ot=!0,lt=!1,st=function(){var e=a();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ot=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new it).version&&(ot=!1),ot?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new it):(setTimeout((function(){lt||t(35)}),1),new it)}();function ut(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function ct(e,t){e.observers_.delete(t),0===e.observers_.size&&dt(e)}function dt(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,st.pendingUnobservations.push(e))}function ft(){st.inBatch++}function ht(){if(0==--st.inBatch){yt();for(var e=st.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof We&&n.suspend_())}st.pendingUnobservations=[]}}function pt(e){var t=st.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&st.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(0===e.observers_.size&&st.inBatch>0&&dt(e),!1)}function vt(e){e.lowestObserverState_!==He.STALE_&&(e.lowestObserverState_=He.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===He.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=He.STALE_})))}var mt=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=He.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=$e.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var n=e.prototype;return n.onBecomeStale_=function(){this.schedule_()},n.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,st.pendingReactions.push(this),yt())},n.isScheduled=function(){return this.isScheduled_},n.runReaction_=function(){if(!this.isDisposed_){ft(),this.isScheduled_=!1;var e=st.trackingContext;if(st.trackingContext=this,Ge(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}st.trackingContext=e,ht()}},n.track=function(e){if(!this.isDisposed_){ft();0,this.isRunning_=!0;var t=st.trackingContext;st.trackingContext=this;var n=Ye(this,e,void 0);st.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&Je(this),Qe(n)&&this.reportExceptionInDerivation_(n.cause),ht()}},n.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(st.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";st.suppressReactionErrors||console.error(n,e),st.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},n.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(ft(),Je(this),ht()))},n.getDisposer_=function(){var e=this.dispose.bind(this);return e[F]=this,e},n.toString=function(){return"Reaction["+this.name_+"]"},n.trace=function(e){void 0===e&&(e=!1),function(){t("trace() is not available in production builds");for(var e=!1,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];"boolean"==typeof r[r.length-1]&&(e=r.pop());var i=en(r);if(!i)return t("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");i.isTracing_===$e.NONE&&console.log("[mobx.trace] '"+i.name_+"' tracing enabled");i.isTracing_=e?$e.BREAK:$e.LOG}(this,e)},e}();var gt=function(e){return e()};function yt(){st.inBatch>0||st.isRunningReactions||gt(bt)}function bt(){st.isRunningReactions=!0;for(var e=st.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,a=n.length;r<a;r++)n[r].runReaction_()}st.isRunningReactions=!1}var _t=x("Reaction",mt);var wt="action",kt="autoAction",xt="<unnamed action>",St=X(wt),zt=X("action.bound",{bound:!0}),jt=X(kt,{autoAction:!0}),Ct=X("autoAction.bound",{autoAction:!0,bound:!0});function Pt(e){return function(t,n){return m(t)?Ae(t.name||xt,t,e):m(n)?Ae(t,n,e):g(n)?B(t,n,e?jt:St):g(t)?V(X(e?kt:wt,{name:t,autoAction:e})):void 0}}var Ot=Pt(!1);Object.assign(Ot,St);var Et=Pt(!0);function Nt(e){return m(e)&&!0===e.isMobxAction}function Tt(e,t){var n,r;void 0===t&&(t=c);var a,i=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(!t.scheduler&&!t.delay)a=new mt(i,(function(){this.track(s)}),t.onError,t.requiresObservable);else{var o=It(t),l=!1;a=new mt(i,(function(){l||(l=!0,o((function(){l=!1,a.isDisposed_||a.track(s)})))}),t.onError,t.requiresObservable)}function s(){e(a)}return a.schedule_(),a.getDisposer_()}Object.assign(Et,jt),Ot.bound=V(zt),Et.bound=V(Ct);var Lt=function(e){return e()};function It(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Lt}var At="onBO";function Mt(e,t,n){return Rt("onBUO",e,t,n)}function Rt(e,t,n,r){var a="function"==typeof r?nr(t,n):nr(t),i=m(r)?r:n,o=e+"L";return a[o]?a[o].add(i):a[o]=new Set([i]),function(){var e=a[o];e&&(e.delete(i),0===e.size&&delete a[o])}}var Dt="always";function Ut(e){!0===e.isolateGlobalState&&function(){if((st.pendingReactions.length||st.inBatch||st.isRunningReactions)&&t(36),lt=!0,ot){var e=a();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),st=new it}}();var n,r,i=e.useProxies,o=e.enforceActions;if(void 0!==i&&(st.useProxies=i===Dt||"never"!==i&&"undefined"!=typeof Proxy),"ifavailable"===i&&(st.verifyProxies=!0),void 0!==o){var l=o===Dt?Dt:"observed"===o;st.enforceActions=l,st.allowStateChanges=!0!==l&&l!==Dt}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(st[t]=!!e[t])})),st.allowStateReads=!st.observableRequiresReaction,e.reactionScheduler&&(n=e.reactionScheduler,r=gt,gt=function(e){return n((function(){return r(e)}))})}function Vt(e,t,n,r){var a=E(t),i=Vn(e,r)[F];ft();try{C(a).forEach((function(e){i.extend_(e,a[e],!n||(!(e in n)||n[e]))}))}finally{ht()}return e}function Bt(e,t){return Ft(nr(e,t))}function Ft(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Ft)),n}var Ht=0;function $t(){this.message="FLOW_CANCELLED"}$t.prototype=Object.create(Error.prototype);var Wt=ee("flow"),Kt=ee("flow.bound",{bound:!0}),qt=Object.assign((function(e,t){if(g(t))return B(e,t,Wt);var n=e,r=n.name||"<unnamed flow>",a=function(){var e,t=this,a=arguments,i=++Ht,o=Ot(r+" - runid: "+i+" - init",n).apply(t,a),l=void 0,s=new Promise((function(t,n){var a=0;function s(e){var t;l=void 0;try{t=Ot(r+" - runid: "+i+" - yield "+a++,o.next).call(o,e)}catch(e){return n(e)}c(t)}function u(e){var t;l=void 0;try{t=Ot(r+" - runid: "+i+" - yield "+a++,o.throw).call(o,e)}catch(e){return n(e)}c(t)}function c(e){if(!m(null==e?void 0:e.then))return e.done?t(e.value):(l=Promise.resolve(e.value)).then(s,u);e.then(c,n)}e=n,s(void 0)}));return s.cancel=Ot(r+" - runid: "+i+" - cancel",(function(){try{l&&Qt(l);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(v,v),Qt(n),e(new $t)}catch(t){e(t)}})),s};return a.isMobXFlow=!0,a}),Wt);function Qt(e){m(e.cancel)&&e.cancel()}function Gt(e){return!0===(null==e?void 0:e.isMobXFlow)}function Xt(e,t){return!!e&&(void 0!==t?!!Hn(e)&&e[F].values_.has(t):Hn(e)||!!e[F]||$(e)||_t(e)||Ke(e))}function Yt(e){return Xt(e)}function Jt(e,t,n){return e.set(t,n),n}function Zt(e,n){if(null==e||"object"!=typeof e||e instanceof Date||!Yt(e))return e;if(Fe(e)||Ke(e))return Zt(e.get(),n);if(n.has(e))return n.get(e);if(jn(e)){var r=Jt(n,e,new Array(e.length));return e.forEach((function(e,t){r[t]=Zt(e,n)})),r}if(Mn(e)){var a=Jt(n,e,new Set);return e.forEach((function(e){a.add(Zt(e,n))})),a}if(Ln(e)){var i=Jt(n,e,new Map);return e.forEach((function(e,t){i.set(t,Zt(e,n))})),i}var o=Jt(n,e,{});return function(e){if(Hn(e))return e[F].ownKeys_();t(38)}(e).forEach((function(t){s.propertyIsEnumerable.call(e,t)&&(o[t]=Zt(e[t],n))})),o}function en(e){switch(e.length){case 0:return st.trackingDerivation;case 1:return nr(e[0]);case 2:return nr(e[0],e[1])}}function tn(e,t){void 0===t&&(t=void 0),ft();try{return e.apply(t)}finally{ht()}}function nn(e){return e[F]}qt.bound=V(Kt);var rn={has:function(e,t){return nn(e).has_(t)},get:function(e,t){return nn(e).get_(t)},set:function(e,t,n){var r;return!!g(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!g(t)&&(null==(n=nn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=nn(e).defineProperty_(t,n))||r},ownKeys:function(e){return nn(e).ownKeys_()},preventExtensions:function(e){t(13)}};function an(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function on(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),p((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function ln(e,n){var r=et();try{for(var a=[].concat(e.interceptors_||[]),i=0,o=a.length;i<o&&((n=a[i](n))&&!n.type&&t(14),n);i++);return n}finally{tt(r)}}function sn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function un(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),p((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function cn(e,t){var n=et(),r=e.changeListeners_;if(r){for(var a=0,i=(r=r.slice()).length;a<i;a++)r[a](t);tt(n)}}var dn=Symbol("mobx-keys");function fn(e,t,n){if(b(e))return Vt(e,e,t,n);var r=Vn(e,n)[F];if(!e[dn]){var a=Object.getPrototypeOf(e),i=new Set([].concat(C(e),C(a)));i.delete("constructor"),i.delete(F),w(a,dn,i)}ft();try{e[dn].forEach((function(e){return r.make_(e,!t||(!(e in t)||t[e]))}))}finally{ht()}return e}var hn="splice",pn="update",vn={get:function(e,t){var n=e[F];return t===F?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?O(yn,t)?yn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[F];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){t(15)}},mn=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new H(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var n=e.prototype;return n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},n.intercept_=function(e){return on(this,e)},n.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),un(this,e)},n.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},n.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&t("Out of range: "+e);var n=this.values_.length;if(e!==n)if(e>n){for(var r=new Array(e-n),a=0;a<e-n;a++)r[a]=void 0;this.spliceWithArray_(n,0,r)}else this.spliceWithArray_(e,n-e)},n.updateArrayLength_=function(e,n){e!==this.lastKnownLength_&&t(16),this.lastKnownLength_+=n,this.legacyMode_&&n>0&&er(e+n+1)},n.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var a=this.values_.length;if(void 0===e?e=0:e>a?e=a:e<0&&(e=Math.max(0,a+e)),t=1===arguments.length?a-e:null==t?0:Math.max(0,Math.min(t,a-e)),void 0===n&&(n=u),an(this)){var i=ln(this,{object:this.proxy_,type:hn,index:e,removedCount:t,added:n});if(!i)return u;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var o=n.length-t;this.updateArrayLength_(a,o)}var l=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,l),this.dehanceValues_(l)},n.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var a=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var o=0;o<n.length;o++)this.values_[e+o]=n[o];for(var l=0;l<i.length;l++)this.values_[e+n.length+l]=i[l];return a},n.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,a=sn(this),i=a||r?{observableKind:"array",object:this.proxy_,type:pn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),a&&cn(this,i)},n.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,a=sn(this),i=a||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:hn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),a&&cn(this,i)},n.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},n.set_=function(e,n){var r=this.values_;if(this.legacyMode_&&e>r.length&&t(17,e,r.length),e<r.length){this.atom_;var a=r[e];if(an(this)){var i=ln(this,{type:pn,object:this.proxy_,index:e,newValue:n});if(!i)return;n=i.newValue}(n=this.enhancer_(n,a))!==a&&(r[e]=n,this.notifyArrayChildUpdate_(e,n,a))}else{for(var o=new Array(e+1-r.length),l=0;l<o.length-1;l++)o[l]=void 0;o[o.length-1]=n,this.spliceWithArray_(r.length,0,o)}},e}();function gn(e,t,n,r){void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),h();var a=new mn(n,t,r,!1);k(a.values_,F,a);var i=new Proxy(a.values_,vn);if(a.proxy_=i,e&&e.length){var o=De(!0);a.spliceWithArray_(0,0,e),Ue(o)}return i}var yn={clear:function(){return this.splice(0)},replace:function(e){var t=this[F];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];var i=this[F];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[F].spliceWithArray_(e,t,n)},push:function(){for(var e=this[F],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[F].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[F],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return st.trackingDerivation&&t(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){st.trackingDerivation&&t(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[F],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function bn(e,t){"function"==typeof Array.prototype[e]&&(yn[e]=t(e))}function _n(e){return function(){var t=this[F];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function wn(e){return function(t,n){var r=this,a=this[F];return a.atom_.reportObserved(),a.dehanceValues_(a.values_)[e]((function(e,a){return t.call(n,e,a,r)}))}}function kn(e){return function(){var t=this,n=this[F];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),a=arguments[0];return arguments[0]=function(e,n,r){return a(e,n,r,t)},r[e].apply(r,arguments)}}bn("concat",_n),bn("flat",_n),bn("includes",_n),bn("indexOf",_n),bn("join",_n),bn("lastIndexOf",_n),bn("slice",_n),bn("toString",_n),bn("toLocaleString",_n),bn("every",wn),bn("filter",wn),bn("find",wn),bn("findIndex",wn),bn("flatMap",wn),bn("forEach",wn),bn("map",wn),bn("some",wn),bn("reduce",kn),bn("reduceRight",kn);var xn,Sn,zn=x("ObservableArrayAdministration",mn);function jn(e){return y(e)&&zn(e[F])}var Cn={},Pn="add",On="delete";xn=Symbol.iterator,Sn=Symbol.toStringTag;var En,Nn,Tn=function(){function e(e,n,r){var a=this;void 0===n&&(n=q),void 0===r&&(r="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[F]=Cn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=n,this.name_=r,m(Map)||t(18),this.keysAtom_=W("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,Re(!0,(function(){a.merge(e)}))}var n=e.prototype;return n.has_=function(e){return this.data_.has(e)},n.has=function(e){var t=this;if(!st.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Be(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Mt(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},n.set=function(e,t){var n=this.has_(e);if(an(this)){var r=ln(this,{type:n?pn:Pn,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},n.delete=function(e){var t=this;if((this.keysAtom_,an(this))&&!ln(this,{type:On,object:this,name:e}))return!1;if(this.has_(e)){var n=sn(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:On,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&cn(this,r),!0}return!1},n.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==st.UNCHANGED){var r=sn(this),a=r?{observableKind:"map",debugObjectName:this.name_,type:pn,object:this,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),r&&cn(this,a)}},n.addValue_=function(e,t){var n=this;this.keysAtom_,tn((function(){var r,a=new Be(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,a),t=a.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=sn(this),a=r?{observableKind:"map",debugObjectName:this.name_,type:Pn,object:this,name:e,newValue:t}:null;r&&cn(this,a)},n.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},n.values=function(){var e=this,t=this.keys();return ur({next:function(){var n=t.next(),r=n.done,a=n.value;return{done:r,value:r?void 0:e.get(a)}}})},n.entries=function(){var e=this,t=this.keys();return ur({next:function(){var n=t.next(),r=n.done,a=n.value;return{done:r,value:r?void 0:[a,e.get(a)]}}})},n[xn]=function(){return this.entries()},n.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var a=n.value,i=a[0],o=a[1];e.call(t,o,i,this)}},n.merge=function(e){var n=this;return Ln(e)&&(e=new Map(e)),tn((function(){b(e)?function(e){var t=Object.keys(e);if(!j)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return s.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(t){return n.set(t,e[t])})):Array.isArray(e)?e.forEach((function(e){var t=e[0],r=e[1];return n.set(t,r)})):S(e)?(e.constructor!==Map&&t(19,e),e.forEach((function(e,t){return n.set(t,e)}))):null!=e&&t(20,e)})),this},n.clear=function(){var e=this;tn((function(){Ze((function(){for(var t,n=D(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},n.replace=function(e){var n=this;return tn((function(){for(var r,a=function(e){if(S(e)||Ln(e))return e;if(Array.isArray(e))return new Map(e);if(b(e)){var n=new Map;for(var r in e)n.set(r,e[r]);return n}return t(21,e)}(e),i=new Map,o=!1,l=D(n.data_.keys());!(r=l()).done;){var s=r.value;if(!a.has(s))if(n.delete(s))o=!0;else{var u=n.data_.get(s);i.set(s,u)}}for(var c,d=D(a.entries());!(c=d()).done;){var f=c.value,h=f[0],p=f[1],v=n.data_.has(h);if(n.set(h,p),n.data_.has(h)){var m=n.data_.get(h);i.set(h,m),v||(o=!0)}}if(!o)if(n.data_.size!==i.size)n.keysAtom_.reportChanged();else for(var g=n.data_.keys(),y=i.keys(),_=g.next(),w=y.next();!_.done;){if(_.value!==w.value){n.keysAtom_.reportChanged();break}_=g.next(),w=y.next()}n.data_=i})),this},n.toString=function(){return"[object ObservableMap]"},n.toJSON=function(){return Array.from(this)},n.observe_=function(e,t){return un(this,e)},n.intercept_=function(e){return on(this,e)},T(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Sn,get:function(){return"Map"}}]),e}(),Ln=x("ObservableMap",Tn);var In={};En=Symbol.iterator,Nn=Symbol.toStringTag;var An=function(){function e(e,n,r){void 0===n&&(n=q),void 0===r&&(r="ObservableSet"),this.name_=void 0,this[F]=In,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=r,m(Set)||t(22),this.atom_=W(this.name_),this.enhancer_=function(e,t){return n(e,t,r)},e&&this.replace(e)}var n=e.prototype;return n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.clear=function(){var e=this;tn((function(){Ze((function(){for(var t,n=D(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},n.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var a=n.value;e.call(t,a,a,this)}},n.add=function(e){var t=this;if((this.atom_,an(this))&&!ln(this,{type:Pn,object:this,newValue:e}))return this;if(!this.has(e)){tn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=!1,r=sn(this),a=r?{observableKind:"set",debugObjectName:this.name_,type:Pn,object:this,newValue:e}:null;n,r&&cn(this,a)}return this},n.delete=function(e){var t=this;if(an(this)&&!ln(this,{type:On,object:this,oldValue:e}))return!1;if(this.has(e)){var n=sn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:On,object:this,oldValue:e}:null;return tn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&cn(this,r),!0}return!1},n.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},n.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return ur({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},n.keys=function(){return this.values()},n.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return ur({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},n.replace=function(e){var n=this;return Mn(e)&&(e=new Set(e)),tn((function(){Array.isArray(e)||z(e)?(n.clear(),e.forEach((function(e){return n.add(e)}))):null!=e&&t("Cannot initialize set from "+e)})),this},n.observe_=function(e,t){return un(this,e)},n.intercept_=function(e){return on(this,e)},n.toJSON=function(){return Array.from(this)},n.toString=function(){return"[object ObservableSet]"},n[En]=function(){return this.values()},T(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Nn,get:function(){return"Set"}}]),e}(),Mn=x("ObservableSet",An),Rn=Object.create(null),Dn="remove",Un=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=ce),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new H("ObservableObject.keys"),this.isPlainObject_=b(this.target_)}var n=e.prototype;return n.getObservablePropValue_=function(e){return this.values_.get(e).get()},n.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof We)return n.set(t),!0;if(an(this)){var r=ln(this,{type:pn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==st.UNCHANGED){var a=sn(this),i=a?{type:pn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),a&&cn(this,i)}return!0},n.get_=function(e){return st.trackingDerivation&&!O(this.target_,e)&&this.has_(e),this.target_[e]},n.set_=function(e,t,n){return void 0===n&&(n=!1),O(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},n.has_=function(e){if(!st.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new Be(e in this.target_,Q,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},n.make_=function(e,n){if(!0===n&&(n=this.defaultAnnotation_),!1!==n){if(Wn(this,n,e),!(e in this.target_)){var r;if(null!=(r=this.target_[U])&&r[e])return;t(1,n.annotationType_,this.name_+"."+e.toString())}for(var a=this.target_;a&&a!==s;){var i=o(a,e);if(i){var l=n.make_(this,e,i,a);if(0===l)return;if(1===l)break}a=Object.getPrototypeOf(a)}$n(this,n,e)}},n.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);Wn(this,n,e);var a=n.extend_(this,e,t,r);return a&&$n(this,n,e),a},n.defineProperty_=function(e,t,n){void 0===n&&(n=!1);try{ft();var r=this.delete_(e);if(!r)return r;if(an(this)){var a=ln(this,{object:this.proxy_||this.target_,name:e,type:Pn,newValue:t.value});if(!a)return null;var i=a.newValue;t.value!==i&&(t=L({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else l(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{ht()}return!0},n.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1);try{ft();var a=this.delete_(e);if(!a)return a;if(an(this)){var i=ln(this,{object:this.proxy_||this.target_,name:e,type:Pn,newValue:t});if(!i)return null;t=i.newValue}var o=Fn(e),s={configurable:!st.safeDescriptors||this.isPlainObject_,enumerable:!0,get:o.get,set:o.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else l(this.target_,e,s);var u=new Be(t,n,"ObservableObject.key",!1);this.values_.set(e,u),this.notifyPropertyAddition_(e,u.value_)}finally{ht()}return!0},n.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1);try{ft();var r=this.delete_(e);if(!r)return r;if(an(this))if(!ln(this,{object:this.proxy_||this.target_,name:e,type:Pn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var a=Fn(e),i={configurable:!st.safeDescriptors||this.isPlainObject_,enumerable:!1,get:a.get,set:a.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else l(this.target_,e,i);this.values_.set(e,new We(t)),this.notifyPropertyAddition_(e,void 0)}finally{ht()}return!0},n.delete_=function(e,t){if(void 0===t&&(t=!1),!O(this.target_,e))return!0;if(an(this)&&!ln(this,{object:this.proxy_||this.target_,name:e,type:Dn}))return null;try{var n,r;ft();var a,i=sn(this),l=this.values_.get(e),s=void 0;if(!l&&i)s=null==(a=o(this.target_,e))?void 0:a.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(l&&(this.values_.delete(e),l instanceof Be&&(s=l.value_),vt(l)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),i){var u={type:Dn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};0,i&&cn(this,u)}}finally{ht()}return!0},n.observe_=function(e,t){return un(this,e)},n.intercept_=function(e){return on(this,e)},n.notifyPropertyAddition_=function(e,t){var n,r,a=sn(this);if(a){var i=a?{type:Pn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;0,a&&cn(this,i)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},n.ownKeys_=function(){return this.keysAtom_.reportObserved(),C(this.target_)},n.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Vn(e,t){var n;if(O(e,F))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",a=new Un(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:de(e):void 0}(t));return w(e,F,a),e}var Bn=x("ObservableObjectAdministration",Un);function Fn(e){return Rn[e]||(Rn[e]={get:function(){return this[F].getObservablePropValue_(e)},set:function(t){return this[F].setObservablePropValue_(e,t)}})}function Hn(e){return!!y(e)&&Bn(e[F])}function $n(e,t,n){var r;null==(r=e.target_[U])||delete r[n]}function Wn(e,t,n){}var Kn,qn,Qn=Jn(0),Gn=0,Xn=function(){};Kn=Xn,qn=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Kn.prototype,qn):void 0!==Kn.prototype.__proto__?Kn.prototype.__proto__=qn:Kn.prototype=qn;var Yn=function(e,t,n){function r(t,n,r,a){var i;void 0===r&&(r="ObservableArray"),void 0===a&&(a=!1),i=e.call(this)||this;var o=new mn(r,n,a,!0);if(o.proxy_=M(i),k(M(i),F,o),t&&t.length){var l=De(!0);i.spliceWithArray(0,0,t),Ue(l)}return Object.defineProperty(M(i),"0",Qn),i}I(r,e);var a=r.prototype;return a.concat=function(){this[F].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return jn(e)?e.slice():e})))},a[n]=function(){var e=this,t=0;return ur({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},T(r,[{key:"length",get:function(){return this[F].getArrayLength_()},set:function(e){this[F].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(Xn,Symbol.toStringTag,Symbol.iterator);function Jn(e){return{enumerable:!1,configurable:!0,get:function(){return this[F].get_(e)},set:function(t){this[F].set_(e,t)}}}function Zn(e){l(Yn.prototype,""+e,Jn(e))}function er(e){if(e>Gn){for(var t=Gn;t<e+100;t++)Zn(t);Gn=e}}function tr(e,t,n){return new Yn(e,t,n)}function nr(e,n){if("object"==typeof e&&null!==e){if(jn(e))return void 0!==n&&t(23),e[F].atom_;if(Mn(e))return e[F];if(Ln(e)){if(void 0===n)return e.keysAtom_;var r=e.data_.get(n)||e.hasMap_.get(n);return r||t(25,n,ar(e)),r}if(Hn(e)){if(!n)return t(26);var a=e[F].values_.get(n);return a||t(27,n,ar(e)),a}if($(e)||Ke(e)||_t(e))return e}else if(m(e)&&_t(e[F]))return e[F];t(28)}function rr(e,n){return e||t(29),void 0!==n?rr(nr(e,n)):$(e)||Ke(e)||_t(e)||Ln(e)||Mn(e)?e:e[F]?e[F]:void t(24,e)}function ar(e,t){var n;if(void 0!==t)n=nr(e,t);else{if(Nt(e))return e.name;n=Hn(e)||Ln(e)||Mn(e)?rr(e):nr(e)}return n.name_}Object.entries(yn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&w(Yn.prototype,t,n)})),er(1e3);var ir=s.toString;function or(e,t,n){return void 0===n&&(n=-1),lr(e,t,n)}function lr(e,t,n,r,a){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;var o=ir.call(e);if(o!==ir.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=sr(e),t=sr(t);var l="[object Array]"===o;if(!l){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,u=t.constructor;if(s!==u&&!(m(s)&&s instanceof s&&m(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),a=a||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return a[c]===t;if(r.push(e),a.push(t),l){if((c=e.length)!==t.length)return!1;for(;c--;)if(!lr(e[c],t[c],n-1,r,a))return!1}else{var d,f=Object.keys(e);if(c=f.length,Object.keys(t).length!==c)return!1;for(;c--;)if(!O(t,d=f[c])||!lr(e[d],t[d],n-1,r,a))return!1}return r.pop(),a.pop(),!0}function sr(e){return jn(e)?e.slice():S(e)||Ln(e)||z(e)||Mn(e)?Array.from(e.entries()):e}function ur(e){return e[Symbol.iterator]=cr,e}function cr(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===a()[e]&&t("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:ar},$mobx:F});var dr=n(959);if(!dr.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){var r=Vn(e,n)[F];ft();try{0,null!=t||(t=function(e){return O(e,U)||w(e,U,L({},e[U])),e[U]}(e)),C(t).forEach((function(e){return r.make_(e,t[e])}))}finally{ht()}return e})throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var fr=n(422);function hr(e){e()}function pr(e){return Bt(e)}var vr="undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry;function mr(e){return{reaction:e,mounted:!1,changedBeforeMount:!1,cleanAt:Date.now()+gr}}var gr=1e4;var yr=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};var br=vr?function(e){var t=new Map,n=1,r=new e((function(e){var n=t.get(e);n&&(n.reaction.dispose(),t.delete(e))}));return{addReactionToTrack:function(e,a,i){var o=n++;return r.register(i,o,e),e.current=mr(a),e.current.finalizationRegistryCleanupToken=o,t.set(o,e.current),e.current},recordReactionAsCommitted:function(e){r.unregister(e),e.current&&e.current.finalizationRegistryCleanupToken&&t.delete(e.current.finalizationRegistryCleanupToken)},forceCleanupTimerToRunNowForTests:function(){},resetCleanupScheduleForTests:function(){}}}(vr):function(){var e,t=new Set;function n(){void 0===e&&(e=setTimeout(r,1e4))}function r(){e=void 0;var r=Date.now();t.forEach((function(e){var n=e.current;n&&r>=n.cleanAt&&(n.reaction.dispose(),e.current=null,t.delete(e))})),t.size>0&&n()}return{addReactionToTrack:function(e,r,a){var i;return e.current=mr(r),i=e,t.add(i),n(),e.current},recordReactionAsCommitted:function(e){t.delete(e)},forceCleanupTimerToRunNowForTests:function(){e&&(clearTimeout(e),r())},resetCleanupScheduleForTests:function(){var n,r;if(t.size>0){try{for(var a=yr(t),i=a.next();!i.done;i=a.next()){var o=i.value,l=o.current;l&&(l.reaction.dispose(),o.current=null)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}t.clear()}e&&(clearTimeout(e),e=void 0)}}}(),_r=br.addReactionToTrack,wr=br.recordReactionAsCommitted,kr=(br.resetCleanupScheduleForTests,br.forceCleanupTimerToRunNowForTests,!1);function xr(){return kr}var Sr=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o};function zr(e){return"observer".concat(e)}var jr=function(){};function Cr(){return new jr}function Pr(e,t){if(void 0===t&&(t="observed"),xr())return e();var n=Sr(dr.useState(Cr),1)[0],r=Sr(dr.useState(),2)[1],a=function(){return r([])},i=dr.useRef(null);if(!i.current)var o=new mt(zr(t),(function(){l.mounted?a():l.changedBeforeMount=!0})),l=_r(i,o,n);var s,u,c=i.current.reaction;if(dr.useDebugValue(c,pr),dr.useEffect((function(){return wr(i),i.current?(i.current.mounted=!0,i.current.changedBeforeMount&&(i.current.changedBeforeMount=!1,a())):(i.current={reaction:new mt(zr(t),(function(){a()})),mounted:!0,changedBeforeMount:!1,cleanAt:1/0},a()),function(){i.current.reaction.dispose(),i.current=null}}),[]),c.track((function(){try{s=e()}catch(e){u=e}})),u)throw u;return s}var Or="function"==typeof Symbol&&Symbol.for,Er=Or?Symbol.for("react.forward_ref"):"function"==typeof dr.forwardRef&&(0,dr.forwardRef)((function(e){return null})).$$typeof,Nr=Or?Symbol.for("react.memo"):"function"==typeof dr.memo&&(0,dr.memo)((function(e){return null})).$$typeof;function Tr(e,t){var n;if(Nr&&e.$$typeof===Nr)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(xr())return e;var r=null!==(n=null==t?void 0:t.forwardRef)&&void 0!==n&&n,a=e,i=e.displayName||e.name;if(Er&&e.$$typeof===Er&&(r=!0,"function"!=typeof(a=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var o,l,s=function(e,t){return Pr((function(){return a(e,t)}),i)};return""!==i&&(s.displayName=i),e.contextTypes&&(s.contextTypes=e.contextTypes),r&&(s=(0,dr.forwardRef)(s)),s=(0,dr.memo)(s),o=e,l=s,Object.keys(o).forEach((function(e){Lr[e]||Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(o,e))})),s}var Lr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};!function(e){e||(e=hr),Ut({reactionScheduler:e})}(fr.unstable_batchedUpdates);var Ir=n(478),Ar=JSON.parse('{"(Latest {{latestPhpVersion}})":{"ja":"\uff08\u6700\u65b0 {{latestPhpVersion}}\uff09","zh":"\uff08\u6700\u65b0 {{latestPhpVersion}}\uff09","zhcn":"\uff08\u6700\u65b0 {{latestPhpVersion}}\uff09","zhhk":"\uff08\u6700\u65b0 {{latestPhpVersion}}\uff09","zhtw":"\uff08\u6700\u65b0 {{latestPhpVersion}}\uff09"},"Becnhmark":{"ja":"\u57fa\u6e96","zh":"\u8dd1\u5206","zhcn":"\u8dd1\u5206","zhhk":"\u8dd1\u5206","zhtw":"\u8dd1\u5206"},"CPU model":{"ja":"CPU\u30e2\u30c7\u30eb","zh":"CPU \u578b\u53f7","zhcn":"CPU \u578b\u53f7","zhhk":"CPU \u578b\u865f","zhtw":"CPU \u578b\u865f"},"CPU usage":{"ja":"CPU \u4f7f\u7528\u7387","zh":"CPU \u5360\u7528","zhcn":"CPU \u5360\u7528","zhhk":"CPU \u4f7f\u7528\u7387","zhtw":"CPU \u4f7f\u7528\u7387"},"Can not fetch IP":{"ja":"IP\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093","zh":"\u65e0\u6cd5\u83b7\u53d6 IP","zhcn":"\u65e0\u6cd5\u83b7\u53d6 IP","zhhk":"\u7121\u6cd5\u7372\u53d6 IP","zhtw":"\u7121\u6cd5\u7372\u53d6 IP \u5730\u5740"},"Can not fetch location.":{"ja":"\u5834\u6240\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002","zh":"\u65e0\u6cd5\u83b7\u53d6\u5730\u7406\u4f4d\u7f6e\u3002","zhcn":"\u65e0\u6cd5\u83b7\u53d6\u5730\u7406\u4f4d\u7f6e\u3002","zhhk":"\u7121\u6cd5\u7372\u53d6\u5730\u7406\u4f4d\u7f6e\u3002","zhtw":"\u7121\u6cd5\u7372\u53d6\u5730\u7406\u4fe1\u606f\u3002"},"Can not fetch marks data from GitHub.":{"ja":"GitHub\u304b\u3089\u30de\u30fc\u30af\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002","zh":"\u65e0\u6cd5\u4ece GitHub \u4e2d\u83b7\u53d6\u8dd1\u5206\u6570\u636e\u3002","zhcn":"\u65e0\u6cd5\u4ece GitHub \u4e2d\u83b7\u53d6\u8dd1\u5206\u6570\u636e\u3002","zhhk":"\u7121\u6cd5\u5f9e GitHub \u4e2d\u7372\u53d6\u8dd1\u5206\u6578\u64da\u3002","zhtw":"\u7121\u6cd5\u5f9e GitHub \u4e2d\u7372\u53d6\u8dd1\u5206\u8cc7\u6599\u3002"},"Can not update file, please check the server permissions and space.":{"ja":"\u30d5\u30a1\u30a4\u30eb\u3092\u66f4\u65b0\u3067\u304d\u307e\u305b\u3093\u3002\u30b5\u30fc\u30d0\u30fc\u306e\u6a29\u9650\u3068\u30b9\u30da\u30fc\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002","zh":"\u65e0\u6cd5\u66f4\u65b0\u6587\u4ef6\uff0c\u8bf7\u68c0\u67e5\u670d\u52a1\u5668\u6743\u9650\u548c\u7a7a\u95f4\u3002","zhcn":"\u65e0\u6cd5\u66f4\u65b0\u6587\u4ef6\uff0c\u8bf7\u68c0\u67e5\u670d\u52a1\u5668\u6743\u9650\u548c\u7a7a\u95f4\u3002","zhhk":"\u7121\u6cd5\u66f4\u65b0\u6587\u4ef6\uff0c\u8acb\u6aa2\u67e5\u4f3a\u670d\u5668\u6b0a\u9650\u548c\u7a7a\u9593\u3002","zhtw":"\u7121\u6cd5\u66f4\u65b0\u6a94\u6848\uff0c\u8acb\u6aa2\u67e5\u4f3a\u670d\u5668\u6b0a\u9650\u548c\u7a7a\u9593\u3002"},"Click to close":{"ja":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u9589\u3058\u308b","zh":"\u70b9\u51fb\u5173\u95ed","zhcn":"\u70b9\u51fb\u5173\u95ed","zhhk":"\u9ede\u64ca\u95dc\u9589","zhtw":"\u9ede\u64ca\u95dc\u9589"},"Click to update":{"ja":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u66f4\u65b0","zh":"\u70b9\u51fb\u66f4\u65b0","zhcn":"\u70b9\u51fb\u66f4\u65b0","zhhk":"\u{1f446} \u9ede\u64ca\u66f4\u65b0","zhtw":"\u{1f446} \u9ede\u64ca\u66f4\u65b0"},"Copy marks":{"ja":"\u30b3\u30d4\u30fc\u30de\u30fc\u30af","zh":"\u590d\u5236\u5206\u6570","zhcn":"\u590d\u5236\u5206\u6570","zhhk":"\u62f7\u8c9d\u5206\u6578","zhtw":"\u62f7\u8c9d\u5206\u6578"},"DB":{"ja":"DB","zh":"\u6570\u636e\u5e93","zhcn":"\u6570\u636e\u5e93","zhhk":"\u8cc7\u6599\u5eab","zhtw":"\u8cc7\u6599\u5eab"},"Dark":{"ja":"\u95c7","zh":"\u6697\u9ed1","zhcn":"\u6697\u9ed1","zhhk":"\u6697\u9ed1","zhtw":"\u6697\u9ed1"},"Database":{"ja":"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9","zh":"\u6570\u636e\u5e93","zhcn":"\u6570\u636e\u5e93","zhhk":"\u8cc7\u6599\u5eab","zhtw":"\u8cc7\u6599\u5eab"},"Default":{"ja":"\u30c7\u30d5\u30a9\u30eb\u30c8","zh":"\u9ed8\u8ba4","zhcn":"\u9ed8\u8ba4","zhhk":"\u9ed8\u8a8d","zhtw":"\u9ed8\u8a8d"},"Disabled classes":{"ja":"\u7121\u52b9\u306a\u30af\u30e9\u30b9","zh":"\u5df2\u7981\u7528\u7684\u7c7b","zhcn":"\u5df2\u7981\u7528\u7684\u7c7b","zhhk":"\u7981\u7528\u7684\u985e","zhtw":"\u7981\u7528\u7684\u985e\u5225"},"Disabled functions":{"ja":"\u7121\u52b9\u306a\u6a5f\u80fd","zh":"\u5df2\u7981\u7528\u7684\u51fd\u6570","zhcn":"\u5df2\u7981\u7528\u7684\u51fd\u6570","zhhk":"\u7981\u7528\u7684\u51fd\u6578","zhtw":"\u7981\u7528\u7684\u51fd\u6578"},"Disk usage":{"ja":"\u30c7\u30a3\u30b9\u30af\u306e\u4f7f\u7528\u72b6\u6cc1","zh":"\u78c1\u76d8\u4f7f\u7528\u91cf","zhcn":"\u78c1\u76d8\u4f7f\u7528\u91cf","zhhk":"\u78c1\u789f\u4f7f\u7528","zhtw":"\u78c1\u789f\u4f7f\u7528"},"Display errors":{"ja":"\u30a8\u30e9\u30fc\u8868\u793a","zh":"\u663e\u793a\u9519\u8bef","zhcn":"\u663e\u793a\u9519\u8bef","zhhk":"\u986f\u793a\u932f\u8aa4","zhtw":"\u986f\u793a\u932f\u8aa4"},"Download speed test":{"ja":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u901f\u5ea6\u30c6\u30b9\u30c8\u7528\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb","zh":"\u4e0b\u8f7d\u901f\u5ea6\u6d4b\u8bd5","zhcn":"\u4e0b\u8f7d\u901f\u5ea6\u6d4b\u8bd5","zhhk":"\u4e0b\u8f09\u6587\u4ef6\u4ee5\u6e2c\u8a66\u7db2\u901f","zhtw":"\u4e0b\u8f09\u6587\u4ef6\u4ee5\u6e2c\u8a66\u7db2\u901f"},"Error reporting":{"ja":"\u30a8\u30e9\u30fc\u5831\u544a","zh":"\u9519\u8bef\u62a5\u544a","zhcn":"\u9519\u8bef\u62a5\u544a","zhhk":"\u932f\u8aa4\u5831\u544a","zhtw":"\u932f\u8aa4\u5831\u544a"},"Ext":{"ja":"\u62e1\u5f35","zh":"\u6269\u5c55","zhcn":"\u6269\u5c55","zhhk":"\u64f4\u5c55","zhtw":"\u64f4\u5c55"},"Fetch error, please refresh page.":{"ja":"\u53d6\u5f97\u30a8\u30e9\u30fc\u3002\u30da\u30fc\u30b8\u3092\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002","zh":"\u83b7\u53d6\u4fe1\u606f\u9519\u8bef\uff0c\u8bf7\u5237\u65b0\u9875\u9762\u3002","zhcn":"\u83b7\u53d6\u4fe1\u606f\u9519\u8bef\uff0c\u8bf7\u5237\u65b0\u9875\u9762\u3002","zhhk":"\u7372\u53d6\u932f\u8aa4\uff0c\u8acb\u5237\u65b0\u9801\u9762\u3002","zhtw":"\u7372\u53d6\u932f\u8aa4\uff0c\u8acb\u91cd\u65b0\u6574\u7406\u9801\u9762\u3002"},"Fetch failed. Node returns {{code}}.":{"ja":"\u30d5\u30a7\u30c3\u30c1\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 \u30ce\u30fc\u30c9\u306f {{code}} \u3092\u8fd4\u3057\u307e\u3059\u3002","zh":"\u83b7\u53d6\u5931\u8d25\u3002\u8282\u70b9\u8fd4\u56de\u4e86 {{code}} \u9519\u8bef\u7801\u3002","zhcn":"\u83b7\u53d6\u5931\u8d25\u3002\u8282\u70b9\u8fd4\u56de\u4e86 {{code}} \u9519\u8bef\u7801\u3002","zhhk":"\u7372\u53d6\u5931\u6557\u3002\u7bc0\u9ede\u8fd4\u56de\u4e86 {{code}} \u78bc\u3002","zhtw":"\u7372\u53d6\u5931\u6557\u3002\u7bc0\u9ede\u8fd4\u56de\u4e86 {{code}} \u78bc\u3002"},"Fetching...":{"ja":"\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059...","zh":"\u83b7\u53d6\u4e2d\u2026\u2026","zhcn":"\u83b7\u53d6\u4e2d\u2026\u2026","zhhk":"\u7372\u53d6\u4e2d\u2026\u2026","zhtw":"\u7372\u53d6\u4e2d\u2026\u2026"},"Info":{"ja":"\u60c5\u5831","zh":"\u4fe1\u606f","zhcn":"\u4fe1\u606f","zhhk":"\u8a0a\u606f","zhtw":"\u8a0a\u606f"},"Loaded extensions":{"ja":"\u30ed\u30fc\u30c9\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3","zh":"\u5df2\u52a0\u8f7d\u7684\u6269\u5c55","zhcn":"\u5df2\u52a0\u8f7d\u7684\u6269\u5c55","zhhk":"\u8f09\u5165\u7684 PHP \u64f4\u5c55","zhtw":"\u8f09\u5165\u7684 PHP \u64f4\u5c55"},"Loading...":{"ja":"\u23f3\u30ed\u30fc\u30c9\u4e2d...","zh":"\u52a0\u8f7d\u4e2d\u2026\u2026","zhcn":"\u52a0\u8f7d\u4e2d\u2026\u2026","zhhk":"\u8f09\u5165\u4e2d\u2026\u2026","zhtw":"\u8f09\u5165\u4e2d\u2026\u2026"},"Max POST size":{"ja":"\u6700\u5927 POST \u30b5\u30a4\u30ba","zh":"POST \u63d0\u4ea4\u9650\u5236","zhcn":"POST \u63d0\u4ea4\u9650\u5236","zhhk":"POST \u63d0\u4ea4\u9650\u5236","zhtw":"POST \u63d0\u4ea4\u9650\u5236"},"Max execution time":{"ja":"\u6700\u5927\u5b9f\u884c\u6642\u9593","zh":"\u8fd0\u884c\u8d85\u65f6\u79d2\u6570","zhcn":"\u8fd0\u884c\u8d85\u65f6\u79d2\u6570","zhhk":"\u57f7\u884c\u8d85\u6642\u79d2\u6578","zhtw":"\u57f7\u884c\u903e\u6642\u79d2\u6578"},"Max input variables":{"ja":"\u6700\u5927\u5165\u529b\u5909\u6570","zh":"\u63d0\u4ea4\u8868\u5355\u9650\u5236","zhcn":"\u63d0\u4ea4\u8868\u5355\u9650\u5236","zhhk":"\u63d0\u4ea4\u8868\u55ae\u9650\u5236","zhtw":"\u63d0\u4ea4\u8868\u55ae\u9650\u5236"},"Max memory limit":{"ja":"\u6700\u5927\u30e1\u30e2\u30ea\u5236\u9650","zh":"\u8fd0\u884c\u5185\u5b58\u9650\u5236","zhcn":"\u8fd0\u884c\u5185\u5b58\u9650\u5236","zhhk":"\u57f7\u884c\u8a18\u61b6\u9ad4\u9650\u5236","zhtw":"\u57f7\u884c\u8a18\u61b6\u9ad4\u9650\u5236"},"Max upload size":{"ja":"\u6700\u5927\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30b5\u30a4\u30ba","zh":"\u4e0a\u4f20\u6587\u4ef6\u9650\u5236","zhcn":"\u4e0a\u4f20\u6587\u4ef6\u9650\u5236","zhhk":"\u4e0a\u50b3\u6a94\u6848\u9650\u5236","zhtw":"\u4e0a\u50b3\u6a94\u6848\u9650\u5236"},"Memory":{"ja":"RAM","zh":"\u5185\u5b58","zhcn":"\u5185\u5b58","zhhk":"\u8a18\u61b6\u9ad4","zhtw":"\u8a18\u61b6\u9ad4"},"Memory buffers":{"ja":"\u30e1\u30e2\u30ea\u30d0\u30c3\u30d5\u30a1","zh":"\u5185\u5b58\u7f13\u51b2","zhcn":"\u5185\u5b58\u7f13\u51b2","zhhk":"\u8a18\u61b6\u9ad4\u7de9\u885d","zhtw":"\u8a18\u61b6\u9ad4\u7de9\u885d"},"Memory cached":{"ja":"\u30e1\u30e2\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5","zh":"\u5185\u5b58\u7f13\u5b58","zhcn":"\u5185\u5b58\u7f13\u5b58","zhhk":"\u8a18\u61b6\u9ad4\u5feb\u53d6","zhtw":"\u8a18\u61b6\u9ad4\u5feb\u53d6"},"Memory real usage":{"ja":"\u5b9f\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf","zh":"\u771f\u5b9e\u5185\u5b58\u5360\u7528","zhcn":"\u771f\u5b9e\u5185\u5b58\u5360\u7528","zhhk":"\u771f\u5be6\u8a18\u61b6\u9ad4\u4f7f\u7528","zhtw":"\u771f\u5be6\u8a18\u61b6\u9ad4\u4f7f\u7528"},"Min:{{min}} / Max:{{max}} / Avg:{{avg}}":{"ja":"\u6700\u5c0f: {{min}} / \u6700\u5927: {{max}} / \u5e73\u5747: {{avg}}","zh":"\u6700\u5c0f:{{min}} / \u6700\u5927:{{max}} / \u5e73\u5747:{{avg}}","zhcn":"\u6700\u5c0f:{{min}} / \u6700\u5927:{{max}} / \u5e73\u5747:{{avg}}","zhhk":"\u6700\u5c0f:{{min}} / \u6700\u5927:{{max}} / \u5e73\u5747:{{avg}}","zhtw":"\u6700\u5c0f:{{min}} / \u6700\u5927:{{max}} / \u5e73\u5747:{{avg}}"},"Mine":{"ja":"\u79c1\u306e","zh":"\u6211\u7684","zhcn":"\u6211\u7684","zhhk":"\u6211\u7684","zhtw":"\u6211\u7684"},"Move down":{"ja":"\u4e0b\u306b\u79fb\u52d5","zh":"\u4e0b\u79fb","zhcn":"\u4e0b\u79fb","zhhk":"\u4e0b\u79fb","zhtw":"\u4e0b\u79fb"},"Move up":{"ja":"\u4e0a\u306b\u79fb\u52d5","zh":"\u4e0a\u79fb","zhcn":"\u4e0a\u79fb","zhhk":"\u4e0a\u79fb","zhtw":"\u4e0a\u79fb"},"My IPv4":{"ja":"\u79c1\u306eIPv4","zh":"\u6211\u7684 IPv4","zhcn":"\u6211\u7684 IPv4","zhhk":"\u6211\u7684 IPv4","zhtw":"\u6211\u7684 IPv4"},"My IPv6":{"ja":"\u79c1\u306eIPv6","zh":"\u6211\u7684 IPv6","zhcn":"\u6211\u7684 IPv6","zhhk":"\u6211\u7684 IPv6","zhtw":"\u6211\u7684 IPv6"},"My Information":{"ja":"\u79c1\u306e\u60c5\u5831","zh":"\u6211\u7684\u4fe1\u606f","zhcn":"\u6211\u7684\u4fe1\u606f","zhhk":"\u6211\u7684\u8a0a\u606f","zhtw":"\u6211\u7684\u8a0a\u606f"},"My browser UA":{"ja":"\u79c1\u306e\u30d6\u30e9\u30a6\u30b6 UA","zh":"\u6211\u7684\u6d4f\u89c8\u5668 UA","zhcn":"\u6211\u7684\u6d4f\u89c8\u5668 UA","zhhk":"\u6211\u7684\u700f\u89bd\u5668","zhtw":"\u6211\u7684\u700f\u89bd\u5668"},"My browser languages (via JS)":{"ja":"\u79c1\u306e\u30d6\u30e9\u30a6\u30b6\u306e\u8a00\u8a9e\uff08JS\uff09","zh":"\u6211\u7684\u6d4f\u89c8\u5668\u8bed\u8a00\uff08JS\uff09","zhcn":"\u6211\u7684\u6d4f\u89c8\u5668\u8bed\u8a00\uff08JS\uff09","zhhk":"\u6211\u7684\u700f\u89bd\u5668\u8a9e\u8a00\uff08JS\uff09","zhtw":"\u6211\u7684\u700f\u89bd\u5668\u8a9e\u8a00\uff08JS\uff09"},"My browser languages (via PHP)":{"ja":"\u79c1\u306e\u30d6\u30e9\u30a6\u30b6\u306e\u8a00\u8a9e\uff08PHP\uff09","zh":"\u6211\u7684\u6d4f\u89c8\u5668\u8bed\u8a00\uff08PHP\uff09","zhcn":"\u6211\u7684\u6d4f\u89c8\u5668\u8bed\u8a00\uff08PHP\uff09","zhhk":"\u6211\u7684\u700f\u89bd\u5668\u8a9e\u8a00\uff08PHP\uff09","zhtw":"\u6211\u7684\u700f\u89bd\u5668\u8a9e\u8a00\uff08PHP\uff09"},"My location (IPv4)":{"ja":"\u79c1\u306e\u5834\u6240 (IPv4)","zh":"\u6211\u7684\u4f4d\u7f6e\uff08IPv4\uff09","zhcn":"\u6211\u7684\u4f4d\u7f6e\uff08IPv4\uff09","zhhk":"\u6211\u7684\u4f4d\u7f6e\uff08IPv4\uff09","zhtw":"\u6211\u7684\u4f4d\u7f6e\uff08IPv4\uff09"},"My server":{"ja":"\u79c1\u306e\u30b5\u30fc\u30d0\u30fc","zh":"\u6211\u7684\u670d\u52a1\u5668","zhcn":"\u6211\u7684\u670d\u52a1\u5668","zhhk":"\u6211\u7684\u4f3a\u670d\u5668","zhtw":"\u6211\u7684\u4f3a\u670d\u5668"},"Net":{"ja":"\u30cd\u30c3\u30c8","zh":"\u7f51\u7edc","zhcn":"\u7f51\u7edc","zhhk":"\u6d41\u91cf","zhtw":"\u6d41\u91cf"},"Network Ping":{"ja":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30afPing","zh":"\u7f51\u7edc Ping","zhcn":"\u7f51\u7edc Ping","zhhk":"\u7db2\u901f Ping","zhtw":"\u7db2\u901f Ping"},"Network Stats":{"ja":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7d71\u8a08","zh":"\u6d41\u91cf\u7edf\u8ba1","zhcn":"\u6d41\u91cf\u7edf\u8ba1","zhhk":"\u6d41\u91cf\u7d71\u8a08","zhtw":"\u6d41\u91cf\u7d71\u8a08"},"Network error, please try again later.":{"ja":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30e9\u30fc\u3067\u3059\u3002\u3057\u3070\u3089\u304f\u3057\u3066\u304b\u3089\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002","zh":"\u7f51\u7edc\u9519\u8bef\uff0c\u8bf7\u7a0d\u5019\u91cd\u8bd5\u3002","zhcn":"\u7f51\u7edc\u9519\u8bef\uff0c\u8bf7\u7a0d\u5019\u91cd\u8bd5\u3002","zhhk":"\u7db2\u8def\u932f\u8aa4\uff0c\u8acb\u7a0d\u5f8c\u91cd\u8a66\u3002","zhtw":"\u7db2\u8def\u932f\u8aa4\uff0c\u8acb\u7a0d\u5f8c\u91cd\u8a66\u3002"},"Nodes":{"ja":"\u30ce\u30fc\u30c9","zh":"\u8282\u70b9","zhcn":"\u8282\u70b9","zhhk":"\u7bc0\u9ede","zhtw":"\u7bc0\u9ede"},"Not support":{"ja":"\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u305b\u3093","zh":"\u4e0d\u652f\u6301","zhcn":"\u4e0d\u652f\u6301","zhhk":"\u4e0d\u652f\u63f4","zhtw":"\u4e0d\u652f\u63f4"},"Opcache JIT enabled":{"ja":"Opcache JIT \u6709\u52b9","zh":"OPcache JIT \u5df2\u542f\u7528","zhcn":"OPcache JIT \u5df2\u542f\u7528","zhhk":"OPcache JIT \u5df2\u5553\u7528","zhtw":"OPcache JIT \u5df2\u555f\u7528"},"Opcache enabled":{"ja":"Opcache \u6709\u52b9","zh":"OPcache \u5df2\u542f\u7528","zhcn":"OPcache \u5df2\u542f\u7528","zhhk":"OPcache \u5df2\u5553\u7528","zhtw":"OPcache \u5df2\u555f\u7528"},"PHP":{"ja":"PHP","zh":"PHP","zhcn":"PHP","zhhk":"PHP","zhtw":"PHP"},"PHP Extensions":{"ja":"PHP\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3","zh":"PHP \u6269\u5c55","zhcn":"PHP \u6269\u5c55","zhhk":"PHP \u64f4\u5c55","zhtw":"PHP \u64f4\u5c55"},"PHP Information":{"ja":"PHP\u60c5\u5831","zh":"PHP \u4fe1\u606f","zhcn":"PHP \u4fe1\u606f","zhhk":"PHP \u8cc7\u8a0a","zhtw":"PHP \u8cc7\u8a0a"},"Ping":{"ja":"Ping","zh":"Ping","zhcn":"Ping","zhhk":"Ping","zhtw":"Ping"},"SAPI interface":{"ja":"SAPI \u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9","zh":"SAPI \u63a5\u53e3","zhcn":"SAPI \u63a5\u53e3","zhhk":"SAPI \u4ecb\u9762","zhtw":"SAPI \u4ecb\u9762"},"SMTP support":{"ja":"SMTP \u30b5\u30dd\u30fc\u30c8","zh":"SMTP \u652f\u6301","zhcn":"SMTP \u652f\u6301","zhhk":"SMTP \u652f\u63f4","zhtw":"SMTP \u652f\u63f4"},"STAR \u{1f31f} ME":{"ja":"\u661f\u{1f31f}\u5370","zh":"\u661f \u{1f31f} \u6807","zhcn":"\u661f \u{1f31f} \u6807","zhhk":"\u661f\u{1f31f}\u6a19","zhtw":"\u661f\u{1f31f}\u6a19"},"Script path":{"ja":"\u30b9\u30af\u30ea\u30d7\u30c8\u30d1\u30b9","zh":"\u811a\u672c\u8def\u5f84","zhcn":"\u811a\u672c\u8def\u5f84","zhhk":"\u8173\u672c\u8def\u5f91","zhtw":"\u8173\u672c\u8def\u5f91"},"Server Benchmark":{"ja":"\u30b5\u30fc\u30d0\u30fc\u57fa\u6e96","zh":"\u670d\u52a1\u5668\u8dd1\u5206","zhcn":"\u670d\u52a1\u5668\u8dd1\u5206","zhhk":"\u4f3a\u670d\u5668\u6027\u80fd\u8dd1\u5206","zhtw":"\u4f3a\u670d\u5668\u6027\u80fd\u8dd1\u5206"},"Server IPv4":{"ja":"\u30b5\u30fc\u30d0\u30fc IPv4","zh":"\u670d\u52a1\u5668 IPv4","zhcn":"\u670d\u52a1\u5668 IPv4","zhhk":"\u4f3a\u670d\u5668 IPv4","zhtw":"\u4f3a\u670d\u5668 IPv4"},"Server IPv6":{"ja":"\u30b5\u30fc\u30d0\u30fc IPv6","zh":"\u670d\u52a1\u5668 IPv6","zhcn":"\u670d\u52a1\u5668 IPv6","zhhk":"\u4f3a\u670d\u5668 IPv6","zhtw":"\u4f3a\u670d\u5668 IPv6"},"Server Information":{"ja":"\u30b5\u30fc\u30d0\u30fc\u60c5\u5831","zh":"\u670d\u52a1\u5668\u4fe1\u606f","zhcn":"\u670d\u52a1\u5668\u4fe1\u606f","zhhk":"\u4f3a\u670d\u5668\u8a0a\u606f","zhtw":"\u4f3a\u670d\u5668\u8a0a\u606f"},"Server OS":{"ja":"\u30b5\u30fc\u30d0\u30fc OS","zh":"\u670d\u52a1\u5668\u7cfb\u7edf","zhcn":"\u670d\u52a1\u5668\u7cfb\u7edf","zhhk":"\u4f3a\u670d\u5668\u7cfb\u7d71","zhtw":"\u4f3a\u670d\u5668\u7cfb\u7d71"},"Server Status":{"ja":"\u30b5\u30fc\u30d0\u30fc\u306e\u72b6\u614b","zh":"\u670d\u52a1\u5668\u72b6\u6001","zhcn":"\u670d\u52a1\u5668\u72b6\u6001","zhhk":"\u4f3a\u670d\u5668\u72c0\u614b","zhtw":"\u4f3a\u670d\u5668\u72c0\u614b"},"Server location (IPv4)":{"ja":"\u30b5\u30fc\u30d0\u30fc\u306e\u5834\u6240 (IPv4)","zh":"\u670d\u52a1\u5668\u5730\u7406\u4f4d\u7f6e\uff08IPv4\uff09","zhcn":"\u670d\u52a1\u5668\u5730\u7406\u4f4d\u7f6e\uff08IPv4\uff09","zhhk":"\u4f3a\u670d\u5668\u4f4d\u7f6e\uff08IPv4\uff09","zhtw":"\u4f3a\u670d\u5668\u4f4d\u7f6e\uff08IPv4\uff09"},"Server name":{"ja":"\u30b5\u30fc\u30d0\u30fc\u306e\u540d\u524d","zh":"\u670d\u52a1\u5668\u540d","zhcn":"\u670d\u52a1\u5668\u540d","zhhk":"\u4f3a\u670d\u5668\u540d","zhtw":"\u4f3a\u670d\u5668\u540d"},"Server software":{"ja":"\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2","zh":"\u670d\u52a1\u5668\u8f6f\u4ef6","zhcn":"\u670d\u52a1\u5668\u8f6f\u4ef6","zhhk":"\u4f3a\u670d\u5668\u8edf\u9ad4","zhtw":"\u4f3a\u670d\u5668\u8edf\u9ad4"},"Server time":{"ja":"\u30b5\u30fc\u30d0\u30fc\u6642\u9593","zh":"\u670d\u52a1\u5668\u65f6\u95f4","zhcn":"\u670d\u52a1\u5668\u65f6\u95f4","zhhk":"\u6301\u7e8c\u4e0a\u7dda\u6642\u9593","zhtw":"\u6301\u7e8c\u4e0a\u7dda\u6642\u9593"},"Server uptime":{"ja":"\u30b5\u30fc\u30d0\u30fc\u306e\u7a3c\u50cd\u6642\u9593","zh":"\u6301\u7eed\u8fd0\u4f5c\u65f6\u95f4","zhcn":"\u6301\u7eed\u8fd0\u4f5c\u65f6\u95f4","zhhk":"\u6301\u7e8c\u4e0a\u7dda\u6642\u9593","zhtw":"\u6301\u7e8c\u4e0a\u7dda\u6642\u9593"},"Status":{"ja":"\u72b6\u614b","zh":"\u72b6\u6001","zhcn":"\u72b6\u6001","zhhk":"\u72c0\u614b","zhtw":"\u72c0\u614b"},"Swap":{"ja":"Swap","zh":"Swap","zhcn":"Swap","zhhk":"Swap","zhtw":"Swap"},"Swap cached":{"ja":"SWAP \u30ad\u30e3\u30c3\u30b7\u30e5","zh":"SWAP \u7f13\u5b58","zhcn":"SWAP \u7f13\u5b58","zhhk":"SWAP \u5feb\u53d6","zhtw":"SWAP \u5feb\u53d6"},"Swap usage":{"ja":"SWAP \u4f7f\u7528\u91cf","zh":"SWAP \u5360\u7528","zhcn":"SWAP \u5360\u7528","zhhk":"SWAP \u4f7f\u7528","zhtw":"SWAP \u4f7f\u7528"},"System load":{"ja":"\u30b7\u30b9\u30c6\u30e0\u8ca0\u8377","zh":"\u7cfb\u7edf\u8d1f\u8f7d","zhcn":"\u7cfb\u7edf\u8d1f\u8f7d","zhhk":"\u7cfb\u7d71\u8ca0\u8f09","zhtw":"\u7cfb\u7d71\u8ca0\u8f09"},"Temp.":{"ja":"\u6e29\u5ea6","zh":"\u6e29\u5ea6","zhcn":"\u6e29\u5ea6","zhhk":"\u6eab\u5ea6","zhtw":"\u6eab\u5ea6"},"Temperature Sensor":{"ja":"\u6e29\u5ea6\u30bb\u30f3\u30b5\u30fc","zh":"\u6e29\u5ea6\u4f20\u611f\u5668","zhcn":"\u6e29\u5ea6\u4f20\u611f\u5668","zhhk":"\u6eab\u5ea6\u50b3\u611f\u5668","zhtw":"\u6eab\u5ea6\u50b3\u611f\u5668"},"Timeout for socket":{"ja":"\u30bd\u30b1\u30c3\u30c8\u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8","zh":"Socket \u8d85\u65f6\u79d2\u6570","zhcn":"Socket \u8d85\u65f6\u79d2\u6570","zhhk":"Socket \u8d85\u6642\u79d2\u6578","zhtw":"Socket \u903e\u6642\u79d2\u6578"},"Times:{{times}}":{"ja":"\u56de: {{times}}","zh":"\u6b21\u6570\uff1a{{times}}","zhcn":"\u6b21\u6570\uff1a{{times}}","zhhk":"\u6b21\u6578\uff1a{{times}}","zhtw":"\u6b21\u6578\uff1a{{times}}"},"Treatment URLs file":{"ja":"Treatment URLs \u30d5\u30a1\u30a4\u30eb","zh":"\u6587\u4ef6\u8fdc\u7aef\u6253\u5f00","zhcn":"\u6587\u4ef6\u8fdc\u7aef\u6253\u5f00","zhhk":"\u6a94\u6848\u9060\u7aef\u6253\u958b","zhtw":"\u6a94\u6848\u9060\u7aef\u6253\u958b"},"Unavailable":{"ja":"\u5229\u7528\u4e0d\u53ef","zh":"\u4e0d\u53ef\u7528","zhcn":"\u4e0d\u53ef\u7528","zhhk":"\u4e0d\u53ef\u7528","zhtw":"\u4e0d\u53ef\u7528"},"Usage: {{percent}}":{"ja":"\u4f54\u7528: {{percent}}","zh":"\u4f7f\u7528\uff1a{{percent}}","zhcn":"\u4f7f\u7528\uff1a{{percent}}","zhhk":"\u4f54\u7528\uff1a{{percent}}","zhtw":"\u4f54\u7528\uff1a{{percent}}"},"Version":{"ja":"\u30d0\u30fc\u30b8\u30e7\u30f3","zh":"\u7248\u672c","zhcn":"\u7248\u672c","zhhk":"\u7248\u672c","zhtw":"\u7248\u672c"},"Visit PHP.net Official website":{"ja":"PHP.net \u516c\u5f0f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9","zh":"\u8bbf\u95ee PHP.net \u5b98\u7f51","zhcn":"\u8bbf\u95ee PHP.net \u5b98\u7f51","zhhk":"\u8a2a\u554f PHP.net \u5b98\u7db2","zhtw":"\u700f\u89bd PHP.net \u5b98\u7db2"},"Visit prober page":{"ja":"X-Prober \u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3078","zh":"\u67e5\u770b\u63a2\u9488\u9875\u9762","zhcn":"\u67e5\u770b\u63a2\u9488\u9875\u9762","zhhk":"\u67e5\u95b1\u63a2\u91dd\u9801\u9762","zhtw":"\u67e5\u95b1\u63a2\u91dd\u9801\u9762"},"Visit the official website":{"ja":"\u516c\u5f0f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u3054\u89a7\u304f\u3060\u3055\u3044","zh":"\u8bbf\u95ee\u5b98\u7f51","zhcn":"\u8bbf\u95ee\u5b98\u7f51","zhhk":"\u8a2a\u554f\u5b98\u7db2","zhtw":"\u700f\u89bd\u5b98\u7db2"},"idle: {{idle}} \\\\\\\\nnice: {{nice}} \\\\\\\\nsys: {{sys}} \\\\\\\\nuser: {{user}}":{"ja":"idle: {{idle}} \\\\\\\\nnice: {{nice}} \\\\\\\\nsys: {{sys}} \\\\\\\\nuser: {{user}}","zh":"idle: {{idle}} \\\\\\\\nnice: {{nice}} \\\\\\\\nsys: {{sys}} \\\\\\\\nuser: {{user}}","zhcn":"idle: {{idle}} \\\\\\\\nnice: {{nice}} \\\\\\\\nsys: {{sys}} \\\\\\\\nuser: {{user}}","zhhk":"idle: {{idle}} \\\\\\\\nnice: {{nice}} \\\\\\\\nsys: {{sys}} \\\\\\\\nuser: {{user}}","zhtw":"idle: {{idle}} \\\\\\\\nnice: {{nice}} \\\\\\\\nsys: {{sys}} \\\\\\\\nuser: {{user}}"},"{{days}} days {{hours}} hours {{mins}} mins {{secs}} secs":{"ja":"{{days}} \u65e5 {{hours}} \u6642 {{mins}} \u5206 {{secs}} \u79d2","zh":"{{days}} \u5929 {{hours}} \u5c0f\u65f6 {{mins}} \u5206 {{secs}} \u79d2","zhcn":"{{days}} \u5929 {{hours}} \u5c0f\u65f6 {{mins}} \u5206 {{secs}} \u79d2","zhhk":"{{days}} \u5929 {{hours}} \u6642 {{mins}} \u5206 {{secs}} \u79d2","zhtw":"{{days}} \u5929 {{hours}} \u6642 {{mins}} \u5206 {{secs}} \u79d2"},"{{minute}} minute average":{"ja":"{{minute}} \u5206\u3054\u3068\u306e\u5e73\u5747\u8ca0\u8377","zh":"{{minute}} \u5206\u949f\u5e73\u5747\u8d1f\u8f7d","zhcn":"{{minute}} \u5206\u949f\u5e73\u5747\u8d1f\u8f7d","zhhk":"{{minute}} \u5206\u9418\u5e73\u5747\u8ca0\u8f09","zhtw":"{{minute}} \u5206\u9418\u5e73\u5747\u8ca0\u8f09"},"{{sensor}} temperature":{"ja":"{{sensor}} \u6e29\u5ea6","zh":"{{sensor}} \u6e29\u5ea6","zhcn":"{{sensor}} \u6e29\u5ea6","zhhk":"{{sensor}} \u6eab\u5ea6","zhtw":"{{sensor}} \u6eab\u5ea6"},"\u23f3 Please wait {{seconds}}s":{"ja":"\u23f3 {{seconds}} \u79d2\u304a\u5f85\u3061\u304f\u3060\u3055\u3044","zh":"\u23f3 \u8bf7\u7b49\u5f85 {{seconds}}\u79d2","zhcn":"\u23f3 \u8bf7\u7b49\u5f85 {{seconds}}\u79d2","zhhk":"\u23f3 \u8acb\u7b49\u5f85 {{seconds}} \u79d2","zhtw":"\u23f3 \u8acb\u7b49\u5f85 {{seconds}} \u79d2"},"\u23f3 Testing, please wait...":{"ja":"\u23f3 \u30c6\u30b9\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\u304a\u5f85\u3061\u304f\u3060\u3055\u3044...","zh":"\u23f3 \u8dd1\u5206\u4e2d\uff0c\u8bf7\u7a0d\u7b49\u2026\u2026","zhcn":"\u23f3 \u8dd1\u5206\u4e2d\uff0c\u8bf7\u7a0d\u7b49\u2026\u2026","zhhk":"\u23f3 \u8dd1\u5206\u4e2d\uff0c\u8acb\u7a0d\u7b49\u2026\u2026","zhtw":"\u23f3 \u8dd1\u5206\u4e2d\uff0c\u8acb\u7a0d\u7b49\u2026\u2026"},"\u23f3 Updating, please wait a second...":{"ja":"\u23f3 \u66f4\u65b0\u3057\u3066\u3044\u307e\u3059\u3002\u3057\u3070\u3089\u304f\u304a\u5f85\u3061\u304f\u3060\u3055\u3044...","zh":"\u23f3 \u66f4\u65b0\u4e2d\uff0c\u8bf7\u7a0d\u7b49\u4e00\u4f1a\u2026\u2026","zhcn":"\u23f3 \u66f4\u65b0\u4e2d\uff0c\u8bf7\u7a0d\u7b49\u4e00\u4f1a\u2026\u2026","zhhk":"\u23f3 \u66f4\u65b0\u4e2d\uff0c\u8acb\u7a0d\u7b49\u2026\u2026","zhtw":"\u23f3 \u66f4\u65b0\u4e2d\uff0c\u8acb\u7a0d\u7b49\u2026\u2026"},"\u23f8\ufe0f Stop ping":{"ja":"\u23f8\ufe0f Ping\u3092\u505c\u6b62","zh":"\u23f8\ufe0f \u505c\u6b62 Ping","zhcn":"\u23f8\ufe0f \u505c\u6b62 Ping","zhhk":"\u23f8\ufe0f \u505c\u6b62 Ping","zhtw":"\u23f8\ufe0f \u505c\u6b62 Ping"},"\u2728 Found update! Version {{oldVersion}} \u2192 {{newVersion}}":{"ja":"\u2728 \u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u898b\u305f\uff01\u30d0\u30fc\u30b8\u30e7\u30f3 {{oldVersion}} \u2192 {{newVersion}}","zh":"\u2728 \u53d1\u73b0\u66f4\u65b0\uff01\u7248\u672c {{oldVersion}} \u2192 {{newVersion}}","zhcn":"\u2728 \u53d1\u73b0\u66f4\u65b0\uff01\u7248\u672c {{oldVersion}} \u2192 {{newVersion}}","zhhk":"\u2728 \u767c\u73fe\u66f4\u65b0\uff01\u7248\u672c {{oldVersion}} \u2192 {{newVersion}}","zhtw":"\u2728 \u767c\u73fe\u66f4\u65b0\uff01\u7248\u672c {{oldVersion}} \u2192 {{newVersion}}"},"\u274c Update error, click here to try again?":{"ja":"\u274c \u66f4\u65b0\u30a8\u30e9\u30fc\u3002\u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u518d\u8a66\u884c\u3057\u307e\u3059\u304b\uff1f","zh":"\u274c \u66f4\u65b0\u9519\u8bef\uff0c\u70b9\u51fb\u6b64\u5904\u518d\u8bd5\u4e00\u6b21\uff1f","zhcn":"\u274c \u66f4\u65b0\u9519\u8bef\uff0c\u70b9\u51fb\u6b64\u5904\u518d\u8bd5\u4e00\u6b21\uff1f","zhhk":"\u274c \u66f4\u65b0\u932f\u8aa4\uff0c\u9ede\u64ca\u6b64\u8655\u518d\u8a66\u4e00\u6b21\uff1f","zhtw":"\u274c \u66f4\u65b0\u932f\u8aa4\uff0c\u9ede\u64ca\u6b64\u8655\u518d\u8a66\u4e00\u6b21\uff1f"},"\u{1f446} Click for detail":{"ja":"\u8a73\u7d30\u306f\u3053\u3061\u3089","zh":"\u{1f446} \u8be6\u7ec6\u4fe1\u606f","zhcn":"\u{1f446} \u8be6\u7ec6\u4fe1\u606f","zhhk":"\u{1f446} \u67e5\u770b\u8a73\u7d30","zhtw":"\u{1f446} \u67e5\u770b\u8a73\u7d30"},"\u{1f446} Click to fetch":{"ja":"\u{1f446} \u30af\u30ea\u30c3\u30af\u3057\u3066\u30d5\u30a7\u30c3\u30c1","zh":"\u{1f446} \u70b9\u51fb\u83b7\u53d6","zhcn":"\u{1f446} \u70b9\u51fb\u83b7\u53d6","zhhk":"\u{1f446} \u9ede\u64ca\u7372\u53d6","zhtw":"\u{1f446} \u9ede\u64ca\u7372\u53d6"},"\u{1f446} Click to test":{"ja":"\u{1f446} \u30af\u30ea\u30c3\u30af\u3057\u3066\u30c6\u30b9\u30c8","zh":"\u{1f446} \u70b9\u51fb\u8dd1\u5206","zhcn":"\u{1f446} \u70b9\u51fb\u8dd1\u5206","zhhk":"\u{1f446} \u9ede\u64ca\u8dd1\u5206","zhtw":"\u{1f446} \u9ede\u64ca\u8dd1\u5206"},"\u{1f446} Start ping":{"ja":"\u{1f446} Ping\u3092\u958b\u59cb","zh":"\u{1f446} \u5f00\u59cb Ping","zhcn":"\u{1f446} \u5f00\u59cb Ping","zhhk":"\u{1f446} \u958b\u59cb Ping","zhtw":"\u{1f446} \u958b\u59cb Ping"},"Error: can not fetch remote config data, update checker is disabled.":{"zh":"\u9519\u8bef\uff1a\u65e0\u6cd5\u83b7\u53d6\u8fdc\u7a0b\u914d\u7f6e\u6570\u636e\uff0c\u66f4\u65b0\u68c0\u6d4b\u5df2\u7981\u7528\u3002","zhcn":"\u9519\u8bef\uff1a\u65e0\u6cd5\u83b7\u53d6\u8fdc\u7a0b\u914d\u7f6e\u6570\u636e\uff0c\u66f4\u65b0\u68c0\u6d4b\u5df2\u7981\u7528\u3002","zhhk":"\u932f\u8aa4\uff1a\u7121\u6cd5\u7372\u53d6\u914d\u7f6e\u6578\u64da\uff0c\u66f4\u65b0\u6aa2\u6e2c\u5df2\u7981\u7528\u3002","zhtw":"\u932f\u8aa4\uff1a\u7121\u6cd5\u7372\u53d6\u914d\u5099\u8cc7\u6599\uff0c\u66f4\u65b0\u6aa2\u6e2c\u5df2\u7981\u7528\u3002"},"Read":{"zh":"\u8bfb","zhcn":"\u8bfb","zhhk":"\u8b80","zhtw":"\u8b80"},"Write":{"zh":"\u5199","zhcn":"\u5199","zhhk":"\u5beb","zhtw":"\u5beb"}}');const Mr=navigator.language.replace("-","").replace("_","").toLowerCase(),Rr=(e,t="")=>{var n,r;return null!==(r=null===(n=null==Ar?void 0:Ar[`${t||""}${e}`])||void 0===n?void 0:n[Mr])&&void 0!==r?r:e};Ut({enforceActions:"observed"});const Dr=new class{constructor(){this.activeIndex=0,this.setActiveIndex=e=>{this.activeIndex=e},fn(this)}};var Ur=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};const Vr=({activeIndex:t,children:n})=>(0,e.jsx)(e.Fragment,{children:dr.Children.map(n,((n,r)=>{const a=t===r,{type:i,props:o}=n,{className:l=""}=o,s=Ur(o,["className"]);return(0,e.jsx)(i,Object.assign({className:l,"data-active":a||void 0},s))}))}),Br=({id:t,setActiveIndex:n,threshold:r=50,topOffset:a=50,children:i})=>{const o=(0,dr.useRef)([[0,0]]),l=(0,dr.useRef)(0),s=(0,dr.useCallback)((()=>{l.current&&window.clearTimeout(l.current),l.current=window.setTimeout((()=>{const e=Math.round(window.scrollY)+a;o.current.map((([t,r],a)=>e>=t&&e<t+r?n(a):null))}),r)}),[n,r,a]);return(0,dr.useEffect)((()=>{const e=new ResizeObserver((()=>{const e=dr.Children.count(i);o.current=i.map(((n,r)=>{const a=document.querySelector(`[data-elevator='${t}-${r}']`);if(!a)return[0,0];switch(r){case 0:return[0,Math.round(a.offsetHeight)];case e-1:return[Math.round(a.offsetTop),Math.round(document.body.offsetHeight)];default:return[Math.round(a.offsetTop),Math.round(a.offsetHeight)]}}))}));return e.observe(document.body),()=>e.unobserve(document.body)}),[i,t]),(0,dr.useEffect)((()=>(window.addEventListener("scroll",s),()=>{window.removeEventListener("scroll",s)})),[s]),(0,e.jsx)(e.Fragment,{children:dr.Children.map(i,((n,r)=>{const{type:a,props:i}=n;return(0,e.jsx)(a,Object.assign({},i,{"data-elevator":`${t}-${r}`}))}))})};var Fr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};Ut({enforceActions:"observed"});const Hr=new class{constructor(){this.cards=[],this.addCard=e=>{const t=this.getStoragePriority(e.id);t&&(e.priority=t),this.cards.push(e)},this.setCardsPriority=e=>{e.forEach((({id:e,priority:t})=>{const n=this.cards.findIndex((t=>t.id===e));-1!==n&&this.cards[n].priority!==t&&(this.cards[n].priority=t)}))},this.setCard=e=>{var{id:t}=e,n=Fr(e,["id"]);const r=this.cards.findIndex((e=>e.id===t));-1!==r&&(this.cards[r]=Object.assign(Object.assign({},this.cards[r]),n))},this.moveCardUp=e=>{const t=this.enabledCards,n=t.findIndex((t=>t.id===e));n<=0||([t[n].priority,t[n-1].priority]=[t[n-1].priority,t[n].priority],this.setCardsPriority(t),this.setStoragePriorityItems())},this.moveCardDown=e=>{const t=this.enabledCards,n=t.findIndex((t=>t.id===e));-1!==n&&n!==t.length-1&&([t[n].priority,t[n+1].priority]=[t[n+1].priority,t[n].priority],this.setCardsPriority(t),this.setStoragePriorityItems())},this.getStoragePriorityItems=()=>{const e=localStorage.getItem("cardsPriority");return e&&JSON.parse(e)||null},this.setStoragePriorityItems=()=>{localStorage.setItem("cardsPriority",JSON.stringify(this.enabledCards.map((({id:e,priority:t})=>({id:e,priority:t})))))},this.getStoragePriority=e=>{const t=this.getStoragePriorityItems();if(!t)return 0;const n=t.find((t=>t.id===e));return n?n.priority:0},fn(this)}get cardsLength(){return this.cards.length}get enabledCards(){return this.cards.slice().filter((({enabled:e=!0})=>e)).sort(((e,t)=>e.priority-t.priority))}get enabledCardsLength(){return this.enabledCards.length}};var $r="src-Components-Card-components-styles-module__des--EgOss",Wr="src-Components-Card-components-styles-module__link--QMvaX",Kr="src-Components-Card-components-styles-module__error--RxEjQ",qr="src-Components-Card-components-styles-module__title--sQBIC",Qr="src-Components-Card-components-styles-module__group--onjSH",Gr="src-Components-Card-components-styles-module__content--Ibvay",Xr="src-Components-Card-components-styles-module__fieldset--GoXuV",Yr="src-Components-Card-components-styles-module__body--aNmjc",Jr="src-Components-Card-components-styles-module__arrow--YXo0g",Zr="src-Components-Card-components-styles-module__legend--fgO2f",ea="src-Components-Card-components-styles-module__legendText--q65Xw",ta="src-Components-Card-components-styles-module__multiItemContainer--CAVDM";const na=({isDown:t,disabled:n,id:r,handleClick:a})=>(0,e.jsx)("a",Object.assign({className:Jr,title:Rr("Move up"),"data-disabled":n||void 0,onClick:e=>{e.preventDefault(),a(r)},href:"#"},{children:t?"\u25bc":"\u25b2"})),ra=Tr((()=>{const{cardsLength:t,enabledCards:n,enabledCardsLength:r,moveCardDown:a,moveCardUp:i}=Hr;return t?(0,e.jsx)(Br,Object.assign({id:"innCard",setActiveIndex:Dr.setActiveIndex},{children:n.map((({id:t,title:n,component:o},l)=>(0,e.jsxs)("fieldset",Object.assign({className:Xr,id:t},{children:[(0,e.jsxs)("legend",Object.assign({className:Zr},{children:[(0,e.jsx)(na,{id:t,handleClick:i,isDown:!1,disabled:0===l}),(0,e.jsx)("span",Object.assign({className:ea},{children:n})),(0,e.jsx)(na,{id:t,handleClick:a,isDown:!0,disabled:l===r-1})]})),(0,e.jsx)("div",Object.assign({className:Yr},{children:(0,e.jsx)(o,{})}))]}),t)))})):null}));var aa="src-Components-Container-components-styles-module__main--rQ91J";const ia=t=>(0,e.jsx)("div",Object.assign({className:aa},t));var oa={container:"src-Components-Grid-components-styles-module__container--EXgkw",grid:"src-Components-Grid-components-styles-module__grid--qbVV1"},la=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};const sa=t=>{var{xs:n,sm:r,md:a,lg:i,xl:o,xxl:l}=t,s=la(t,["xs","sm","md","lg","xl","xxl"]);const u={xs:n,sm:r,md:a,lg:i,xl:o,xxl:l},c={};for(const e of Object.keys(u)){const t=null==u?void 0:u[e];t&&(c[`data-${e}`]=t)}return(0,e.jsx)("div",Object.assign({className:oa.grid},c,s))};var ua=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};const ca=t=>{var{name:n="",title:r="",children:a}=t,i=ua(t,["name","title","children"]);return(0,e.jsx)(sa,Object.assign({},i,{children:(0,e.jsxs)("div",Object.assign({className:Qr},{children:[Boolean(n)&&(0,e.jsx)("div",Object.assign({className:qr,title:r},{children:n})),(0,e.jsx)("div",Object.assign({className:Gr},{children:a}))]}))}))},da=t=>(0,e.jsx)("div",Object.assign({className:oa.container},t));var fa="src-Components-Utils-components-alert-styles-module__main--fj45p";const ha=({isSuccess:t,msg:n=""})=>(0,e.jsx)("div",Object.assign({className:fa,"data-ok":t||void 0,"data-error":!t||void 0,"data-icon":!n||void 0},{children:n})),pa=null===window||void 0===window?void 0:window.CONF;Ut({enforceActions:"observed"});const va=new class{constructor(){this.ID="database",this.conf=null==pa?void 0:pa[this.ID],this.enabled=Boolean(this.conf)}},ma=Tr((()=>{const{conf:t}=va,n=[["SQLite3",null==t?void 0:t.sqlite3],["SQLite",null==t?void 0:t.sqliteLibversion],["MySQLi client",null==t?void 0:t.mysqliClientVersion],["Mongo",null==t?void 0:t.mongo],["MongoDB",null==t?void 0:t.mongoDb],["PostgreSQL",null==t?void 0:t.postgreSql],["Paradox",null==t?void 0:t.paradox],["MS SQL",null==t?void 0:t.msSql],["PDO",null==t?void 0:t.pdo]];return(0,e.jsx)(da,{children:n.map((([t,n])=>(0,e.jsx)(ca,Object.assign({name:t,sm:2,lg:2,xl:3,xxl:4},{children:(0,e.jsx)(ha,{isSuccess:Boolean(n),msg:n})}),t)))})}));const ga=new class{constructor(){var e,t,n,r,a,i,o,l,s,u,c,d,f,h,p,v;this.id="bootstrap",this.conf=null==pa?void 0:pa[this.id],this.version=String(null!==(t=null===(e=this.conf)||void 0===e?void 0:e.version)&&void 0!==t?t:"0.0.0"),this.appConfigUrls=null!==(r=null===(n=this.conf)||void 0===n?void 0:n.appConfigUrls)&&void 0!==r?r:[],this.appConfigUrlDev=String(null!==(i=null===(a=this.conf)||void 0===a?void 0:a.appConfigUrlDev)&&void 0!==i?i:""),this.appName=String(null!==(l=null===(o=this.conf)||void 0===o?void 0:o.appName)&&void 0!==l?l:""),this.appUrl=String(null!==(u=null===(s=this.conf)||void 0===s?void 0:s.appUrl)&&void 0!==u?u:""),this.authorUrl=String(null!==(d=null===(c=this.conf)||void 0===c?void 0:c.authorUrl)&&void 0!==d?d:""),this.authorName=String(null!==(h=null===(f=this.conf)||void 0===f?void 0:f.authorName)&&void 0!==h?h:""),this.isDev=Boolean(null!==(v=null===(p=this.conf)||void 0===p?void 0:p.isDev)&&void 0!==v&&v)}},ya=(e,t=2)=>{if(0===e)return"0";let n=Math.floor(Math.log(e)/Math.log(1024));n=n<0?0:n;const r=parseFloat((e/Math.pow(1024,n)).toFixed(t));return r?`${r} ${["B","K","M","G","T","P","E","Z","Y"][n]}`:"0"};function ba(e,t){for(const[n,r]of Object.entries(t)){const t=new RegExp(`\\{\\{${n}\\}\\}`,"g");e=e.replace(t,String(r))}return e}Ut({enforceActions:"observed"});const _a=new class{constructor(){this.ID="footer",this.conf=null==pa?void 0:pa[this.ID]}};var wa="src-Components-Footer-components-styles-module__main--zdKev";const ka=Tr((()=>{const{appName:t,appUrl:n,authorName:r,authorUrl:a}=ga,{memUsage:i,time:o}=_a.conf;return(0,e.jsx)("div",{className:wa,dangerouslySetInnerHTML:{__html:ba(Rr("Generator {{appName}} / Author {{authorName}} / {{memUsage}} / {{time}}ms"),{appName:`<a href="${n}" target="_blank">${t}</a>`,authorName:`<a href="${a}" target="_blank">${r}</a>`,memUsage:ya(i),time:(1e3*o).toFixed(2)})}})}));var xa="src-Components-Forkme-components-styles-module__link--MuvAU",Sa="src-Components-Forkme-components-styles-module__text--Fk_hI";const za=()=>(0,e.jsxs)("a",Object.assign({className:xa,href:ga.appUrl,target:"_blank",title:"Star",rel:"noreferrer"},{children:[(0,e.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},{children:(0,e.jsx)("path",{fill:"currentColor",d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})),(0,e.jsx)("div",Object.assign({className:Sa},{children:"Star"}))]})),ja=200;var Ca=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};const Pa=e=>{const[t,n]=(0,dr.useState)({ip:"",msg:Rr("Loading..."),isLoading:!0});return(0,dr.useEffect)((()=>{Ca(void 0,void 0,void 0,(function*(){try{const t=yield fetch(`https://ipv${e}.inn-studio.com/ip/?json`),r=yield t.json();(null==r?void 0:r.ip)&&t.status===ja?n({ip:r.ip,msg:"",isLoading:!1}):n({ip:"",msg:Rr("Can not fetch IP"),isLoading:!1})}catch(e){n({ip:"",msg:Rr("Not support"),isLoading:!1})}}))}),[e]),t};Ut({enforceActions:"observed"});const Oa=new class{constructor(){this.ID="myInfo",this.conf=null==pa?void 0:pa[this.ID],this.enabled=Boolean(this.conf)}};var Ea=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};const Na=(e,t={})=>Ea(void 0,void 0,void 0,(function*(){var n,r;t=Object.assign({method:"GET",headers:{"Content-Type":"application/json",Authorization:null!==(r=null===(n=ga.conf)||void 0===n?void 0:n.authorization)&&void 0!==r?r:""},cache:"no-cache",credentials:"omit"},t);const a=`${window.location.pathname}?action=${e}`,i=yield fetch(a,t);try{return{status:i.status,data:yield i.json()}}catch(e){return console.warn(e),{status:i.status}}}));Ut({enforceActions:"observed"});const Ta=new class{constructor(){this.isOpen=!1,this.msg="",this.setMsg=e=>{this.msg=e},this.close=(e=0)=>{setTimeout((()=>{!function(e){Me(e.name,!1,e,this,void 0)}((()=>{this.isOpen=!1}))}),1e3*e)},this.open=e=>{this.msg=e,this.isOpen=!0},fn(this)}};var La=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};const Ia=Tr((({ip:t})=>{const[n,r]=(0,dr.useState)(!1),[a,i]=(0,dr.useState)(null),o=(0,dr.useCallback)((e=>La(void 0,void 0,void 0,(function*(){if(e.preventDefault(),n)return;r(!0);const{data:a,status:o}=yield Na(`clientLocationIpv4&ip=${t}`);r(!1),a&&o===ja?i(a):Ta.open(Rr("Can not fetch location."))}))),[n,t]),l=n?Rr("Loading..."):"";let s="";return n||(s=a?[a.flag,a.country,a.region,a.city].filter((e=>Boolean(e))).join(", "):Rr("\u{1f446} Click to fetch")),t?(0,e.jsxs)("a",Object.assign({onClick:o,href:"#",title:Rr("The author only has 10,000 API requests per month, please do not abuse it.")},{children:[l,s]})):(0,e.jsx)(e.Fragment,{children:"-"})})),Aa=Tr((()=>{const{conf:t}=Oa,{ip:n,msg:r,isLoading:a}=Pa(4),{ip:i,msg:o,isLoading:l}=Pa(6);let s="",u="";s=a?r:n||((null==t?void 0:t.ipv4)?t.ipv4:r),u=l?o:i||((null==t?void 0:t.ipv6)?t.ipv6:o);const c=[[Rr("My IPv4"),s],[Rr("My IPv6"),u],[Rr("My location (IPv4)"),(0,e.jsx)(Ia,{ip:n||(null==t?void 0:t.ipv4)},"myLocalIpv4")],[Rr("My browser UA"),navigator.userAgent],[Rr("My browser languages (via JS)"),navigator.languages.join(",")],[Rr("My browser languages (via PHP)"),null==t?void 0:t.phpLanguage]];return(0,e.jsx)(da,{children:c.map((([t,n])=>(0,e.jsx)(ca,Object.assign({name:t},{children:n}),t)))})}));const Ma=new class{constructor(){this.id="myInfo",this.conf=null==pa?void 0:pa[this.id],this.isEnable=Boolean(this.conf)}};var Ra="src-Components-Nav-components-styles-module__main--gMYNN",Da="src-Components-Nav-components-styles-module__link--kVaBO",Ua="src-Components-Nav-components-styles-module__linkTitle--qqTdU",Va="src-Components-Nav-components-styles-module__linkTitleTiny--pkoLr";const Ba=Tr((()=>{const t=Hr.enabledCards.map((({id:t,title:n,tinyTitle:r,enabled:a=!0})=>a?(0,e.jsxs)("a",Object.assign({className:Da,href:`#${t}`},{children:[(0,e.jsx)("span",Object.assign({className:Ua},{children:n})),(0,e.jsx)("span",Object.assign({className:Va},{children:r}))]}),t):null)).filter((e=>e));return(0,e.jsx)("div",Object.assign({className:Ra},{children:(0,e.jsx)(Vr,Object.assign({activeIndex:Dr.activeIndex},{children:t}))}))}));var Fa=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};Ut({enforceActions:"observed"});const Ha=new class{constructor(){this.isLoading=!0,this.data={},this.initFetch=()=>Fa(this,void 0,void 0,(function*(){const{data:e,status:t}=yield Na("fetch");e&&t===ja?(this.setData(e),this.isLoading&&this.setIsLoading(!1),setTimeout((()=>Fa(this,void 0,void 0,(function*(){yield this.initFetch()}))),1e3)):alert(Rr("Fetch error, please refresh page."))})),this.setIsLoading=e=>{this.isLoading=e},this.setData=e=>{this.data=e},fn(this),this.initFetch()}};const $a=new class{constructor(){this.id="networkStats",this.conf=null==pa?void 0:pa[this.id],this.isEnable=Boolean(this.conf)}};Ut({enforceActions:"observed"});const{conf:Wa,id:Ka}=$a;const qa=new class{constructor(){fn(this)}get items(){var e,t;return(Ha.isLoading?null==Wa?void 0:Wa.networks:null===(t=null===(e=Ha.data)||void 0===e?void 0:e[Ka])||void 0===t?void 0:t.networks)||[]}get sortItems(){return this.items.slice().filter((({tx:e})=>Boolean(e))).sort(((e,t)=>e.tx-t.tx))}get itemsCount(){return this.sortItems.length}get timestamp(){var e,t;return(Ha.isLoading?null==Wa?void 0:Wa.timestamp:null===(t=null===(e=Ha.data)||void 0===e?void 0:e[Ka])||void 0===t?void 0:t.timestamp)||(null==Wa?void 0:Wa.timestamp)||0}};var Qa={id:"src-Components-NetworkStats-components-styles-module__id--eJf_G",idRow:"src-Components-NetworkStats-components-styles-module__idRow--ACOSC",dataContainer:"src-Components-NetworkStats-components-styles-module__dataContainer--bPvUe",data:"src-Components-NetworkStats-components-styles-module__data--Fo38e",rate:"src-Components-NetworkStats-components-styles-module__rate--eoXaN",rateRx:"src-Components-NetworkStats-components-styles-module__rateRx--IuEZe",rateTx:"src-Components-NetworkStats-components-styles-module__rateTx--gWEgj"};const Ga=({id:t,singleLine:n=!0,totalRx:r=0,rateRx:a=0,totalTx:i=0,rateTx:o=0})=>t?(0,e.jsxs)("div",Object.assign({className:[Qa.idRow,oa.container].join(" ")},{children:[(0,e.jsx)(sa,Object.assign({lg:n?3:1},{children:(0,e.jsx)("div",Object.assign({className:Qa.id},{children:t}))})),(0,e.jsx)(sa,Object.assign({lg:n?3:1},{children:(0,e.jsxs)("div",Object.assign({className:Qa.dataContainer},{children:[(0,e.jsxs)("div",Object.assign({className:Qa.data,"data-rx":!0},{children:[(0,e.jsx)("div",{children:ya(r)}),(0,e.jsxs)("div",Object.assign({className:Qa.rateRx},{children:[ya(a),"/s"]}))]})),(0,e.jsxs)("div",Object.assign({className:Qa.data,"data-tx":!0},{children:[(0,e.jsx)("div",{children:ya(i)}),(0,e.jsxs)("div",Object.assign({className:Qa.rateTx},{children:[ya(o),"/s"]}))]}))]}))}))]})):null,Xa=Tr((()=>{const{sortItems:t,itemsCount:n,timestamp:r}=qa;if(!n)return null;const a=(i={items:t,timestamp:r},o=(0,dr.useRef)(),(0,dr.useEffect)((function(){o.current=i})),o.current);var i,o;const l=r-((null==a?void 0:a.timestamp)||r);return(0,e.jsx)(da,{children:t.map((({id:n,rx:r,tx:i})=>{if(!r&&!i)return null;const o=((null==a?void 0:a.items)||t).find((e=>e.id===n)),s=(null==o?void 0:o.rx)||0,u=(null==o?void 0:o.tx)||0;return(0,e.jsx)(ca,Object.assign({lg:2,xxl:3},{children:(0,e.jsx)(Ga,{id:n,totalRx:r,rateRx:(r-s)/l,totalTx:i,rateTx:(i-u)/l})}),n)}))})})),Ya=e=>{e=e.replace("#","");const t=new ArrayBuffer(4);new DataView(t).setUint32(0,parseInt(e,16),!1);const n=new Uint8Array(t);return[n[1],n[2],n[3]]},Ja=(e,t,n,r=1)=>`${`${(256|e).toString(16).slice(1)}${(256|t).toString(16).slice(1)}${(256|n).toString(16).slice(1)}`}${1===r?"":(255*r|256).toString(16).slice(1)}`,Za=(e,t,n=100)=>{const r=Ya(e),a=Ya(t),i=(a[0]-r[0])/n,o=(a[1]-r[1])/n,l=(a[2]-r[2])/n,s=[];for(let e=0;e<n;e+=1)s.push(Ja(Number(i*e+r[0]),Number(o*e+r[1]),Number(l*e+r[2])));return s};var ei={main:"src-Components-ProgressBar-components-styles-module__main--vmjyU",overview:"src-Components-ProgressBar-components-styles-module__overview--bibEt",precent:"src-Components-ProgressBar-components-styles-module__precent--wnWh2",shell:"src-Components-ProgressBar-components-styles-module__shell--gG7gJ",value:"src-Components-ProgressBar-components-styles-module__value--itYdo"};const ti=(0,dr.memo)((({title:t="",value:n,max:r,isCapacity:a,percentTag:i="%",left:o=""})=>{const l=0===r||0===n?0:n/r*100,s=a?`${ya(n)} / ${ya(r)}`:`${n.toFixed(1)}${i} / ${r}${i}`,u=o||`${l.toFixed(1)}${i}`;return(0,e.jsxs)("div",Object.assign({className:ei.main,title:t},{children:[(0,e.jsx)("div",Object.assign({className:[ei.precent,ei.overview].join(" ")},{children:u})),(0,e.jsx)("div",Object.assign({className:ei.overview},{children:s})),(0,e.jsx)("div",Object.assign({className:ei.shell},{children:(0,e.jsx)("div",{className:ei.value,style:{background:"#"+Za("#00cc00","#ef2d2d")[Math.round(l)-1],width:`${l<=5?5:l}%`}})}))]}))}));const ni=new class{constructor(){this.id="serverStatus",this.conf=null==pa?void 0:pa[this.id],this.isEnable=Boolean(this.conf)}};Ut({enforceActions:"observed"});const{id:ri,conf:ai}=ni;const ii=new class{constructor(){fn(this)}get fetchData(){var e;return null===(e=Ha.data)||void 0===e?void 0:e[ri]}get sysLoad(){var e;return Ha.isLoading?null==ai?void 0:ai.sysLoad:(null===(e=this.fetchData)||void 0===e?void 0:e.sysLoad)||[0,0,0]}get cpuUsage(){var e;return Ha.isLoading?{idle:90,nice:0,sys:5,user:5}:null===(e=this.fetchData)||void 0===e?void 0:e.cpuUsage}get memRealUsage(){var e;return Ha.isLoading?null==ai?void 0:ai.memRealUsage:null===(e=this.fetchData)||void 0===e?void 0:e.memRealUsage}get memCached(){var e;return Ha.isLoading?null==ai?void 0:ai.memCached:null===(e=this.fetchData)||void 0===e?void 0:e.memCached}get memBuffers(){var e;return Ha.isLoading?null==ai?void 0:ai.memBuffers:null===(e=this.fetchData)||void 0===e?void 0:e.memBuffers}get swapUsage(){var e;return Ha.isLoading?null==ai?void 0:ai.swapUsage:null===(e=this.fetchData)||void 0===e?void 0:e.swapUsage}get swapCached(){var e;return Ha.isLoading?null==ai?void 0:ai.swapCached:null===(e=this.fetchData)||void 0===e?void 0:e.swapCached}};var oi="src-Components-ServerStatus-components-styles-module__loadGroup--WzXPX",li="src-Components-ServerStatus-components-styles-module__loadGroupItem--ZSsqk";const si=({sysLoad:t,isCenter:n})=>{const r=[1,5,15],a=t.map(((e,t)=>({id:`${r[t]}minAvg`,load:e,text:ba(Rr("{{minute}} minute average"),{minute:r[t]})})));return(0,e.jsx)("div",Object.assign({className:oi,"data-center":n||void 0},{children:a.map((({id:t,load:n,text:r})=>(0,e.jsx)("div",Object.assign({className:li,title:r},{children:n.toFixed(2)}),t)))}))},ui=Tr((({isCenter:t=!1})=>(0,e.jsx)(ca,Object.assign({name:Rr("System load")},{children:(0,e.jsx)(si,{isCenter:t,sysLoad:ii.sysLoad})}))));var ci="src-Components-Utils-components-loading-styles-module__main--jnV53",di="src-Components-Utils-components-loading-styles-module__text--opKiN";const fi=()=>(0,e.jsx)("svg",Object.assign({width:"16px",height:"16px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},{children:(0,e.jsx)("g",Object.assign({transform:"translate(50 50)"},{children:(0,e.jsx)("g",Object.assign({transform:"scale(0.7)"},{children:(0,e.jsxs)("g",Object.assign({transform:"translate(-50 -50)"},{children:[(0,e.jsxs)("g",{children:[(0,e.jsx)("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",values:"0 50 50;360 50 50",keyTimes:"0;1",dur:"0.7575757575757576s"}),(0,e.jsx)("path",{fillOpacity:"0.8",fill:"#832f0e",d:"M50 50L50 0A50 50 0 0 1 100 50Z"})]}),(0,e.jsxs)("g",{children:[(0,e.jsx)("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",values:"0 50 50;360 50 50",keyTimes:"0;1",dur:"1.0101010101010102s"}),(0,e.jsx)("path",{fillOpacity:"0.8",fill:"#0c0a08",d:"M50 50L50 0A50 50 0 0 1 100 50Z",transform:"rotate(90 50 50)"})]}),(0,e.jsxs)("g",{children:[(0,e.jsx)("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",values:"0 50 50;360 50 50",keyTimes:"0;1",dur:"1.5151515151515151s"}),(0,e.jsx)("path",{fillOpacity:"0.8",fill:"#594a40",d:"M50 50L50 0A50 50 0 0 1 100 50Z",transform:"rotate(180 50 50)"})]}),(0,e.jsxs)("g",{children:[(0,e.jsx)("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",values:"0 50 50;360 50 50",keyTimes:"0;1",dur:"3.0303030303030303s"}),(0,e.jsx)("path",{fillOpacity:"0.8",fill:"#8e7967",d:"M50 50L50 0A50 50 0 0 1 100 50Z",transform:"rotate(270 50 50)"})]})]}))}))}))})),hi=t=>(0,e.jsxs)("div",Object.assign({className:ci},{children:[(0,e.jsx)(fi,{}),(0,e.jsx)("div",Object.assign({className:di},t))]}));const pi=new class{constructor(){this.id="nodes",this.conf=null==pa?void 0:pa[this.id],this.isEnable=Boolean(this.conf)}};var vi=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};Ut({enforceActions:"observed"});const{conf:mi}=pi;const gi=new class{constructor(){var e;this.DEFAULT_ITEM={id:"",url:"",isLoading:!0,isError:!1,fetchUrl:""},this.items=[],this.setItems=e=>{this.items=e},this.setItem=e=>{var{id:t}=e,n=vi(e,["id"]);const r=this.items.findIndex((e=>e.id===t));-1!==r&&(this.items[r]=Object.assign(Object.assign({},Zt(this.items[r],new Map)),n))},fn(this);const t=(null!==(e=null==mi?void 0:mi.items)&&void 0!==e?e:[]).map((e=>{var{url:t}=e,n=vi(e,["url"]);return Object.assign(Object.assign({},this.DEFAULT_ITEM),Object.assign({url:t,fetchUrl:`${t}?action=fetch`},n))}));this.setItems(t)}get itemsCount(){return this.items.length}};var yi="src-Components-Nodes-components-styles-module__groupId--PmHBP",bi="src-Components-Nodes-components-styles-module__group--cvxdK",_i="src-Components-Nodes-components-styles-module__groupMsg--wNqQl",wi="src-Components-Nodes-components-styles-module__groupNetworks--h1HMf",ki="src-Components-Nodes-components-styles-module__groupNetwork--rvydY";const xi=({items:t,timestamp:n})=>{const r=t.length,[a,i]=(0,dr.useState)({curr:{items:t,timestamp:n},prev:{items:t,timestamp:n}});if((0,dr.useEffect)((()=>{i((e=>({curr:{items:t,timestamp:n},prev:e.curr})))}),[t,n]),!r)return null;const{curr:o,prev:l}=a,s=o.timestamp-l.timestamp;return(0,e.jsx)("div",Object.assign({className:wi},{children:t.map((({id:t,rx:n,tx:r})=>{if(!n&&!r)return null;const a=l.items.find((e=>e.id===t)),i=(null==a?void 0:a.rx)||0,o=(null==a?void 0:a.tx)||0;return(0,e.jsx)("div",Object.assign({className:ki},{children:(0,e.jsx)(Ga,{id:t,singleLine:!1,totalRx:n,rateRx:(n-i)/s,totalTx:r,rateTx:(r-o)/s})}),t)}))}))};var Si=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};const zi=({sysLoad:t})=>(null==t?void 0:t.length)?(0,e.jsx)("div",Object.assign({className:bi},{children:(0,e.jsx)(si,{isCenter:!0,sysLoad:t})})):null,ji=({cpuUsage:t})=>(0,e.jsx)("div",Object.assign({className:bi},{children:(0,e.jsx)(ti,{title:ba(Rr("idle: {{idle}} \nnice: {{nice}} \nsys: {{sys}} \nuser: {{user}}"),t),value:100-t.idle,max:100,isCapacity:!1,left:Rr("CPU usage")})})),Ci=({memRealUsage:t})=>{const{value:n=0,max:r=0}=t;if(!r)return null;const a=Math.floor(n/r*1e4)/100;return(0,e.jsx)("div",Object.assign({className:bi},{children:(0,e.jsx)(ti,{title:ba(Rr("Usage: {{percent}}"),{percent:`${a.toFixed(1)}%`}),value:n,max:r,isCapacity:!0,left:Rr("Memory")})}))},Pi=({swapUsage:t})=>{const{value:n=0,max:r=0}=t;if(!r)return null;const a=Math.floor(n/r*1e4)/100;return(0,e.jsx)("div",Object.assign({className:bi},{children:(0,e.jsx)(ti,{title:ba(Rr("Usage: {{percent}}"),{percent:`${a.toFixed(1)}%`}),value:n,max:r,isCapacity:!0,left:Rr("Swap")})}))},Oi=Tr((()=>{const t=gi.items.map((({id:t,url:n,isLoading:r,isError:a,errMsg:i,data:o})=>{const l=(0,e.jsx)("a",Object.assign({className:yi,href:n},{children:t}));switch(!0){case r:return(0,e.jsxs)(sa,Object.assign({lg:2,xl:3},{children:[l,(0,e.jsx)("div",Object.assign({className:_i},{children:(0,e.jsx)(hi,{children:Rr("Fetching...")})}))]}),t);case a:return(0,e.jsxs)(sa,Object.assign({lg:2,xl:3},{children:[l,(0,e.jsx)("div",Object.assign({className:_i},{children:(0,e.jsx)(ha,{isSuccess:!1,msg:i})}))]}),t)}const{serverStatus:s,networkStats:u}=o;return(0,e.jsxs)(sa,Object.assign({lg:2,xl:3},{children:[l,(0,e.jsx)(zi,{sysLoad:s.sysLoad}),(0,e.jsx)(ji,{cpuUsage:null==s?void 0:s.cpuUsage}),(0,e.jsx)(Ci,{memRealUsage:null==s?void 0:s.memRealUsage}),(0,e.jsx)(Pi,{swapUsage:null==s?void 0:s.swapUsage}),(0,e.jsx)(xi,{items:(null==u?void 0:u.networks)||[],timestamp:(null==u?void 0:u.timestamp)||0})]}),t)}));return(0,e.jsx)(e.Fragment,{children:t})})),Ei=Tr((()=>{const{items:t,itemsCount:n}=gi,r=(0,dr.useCallback)((e=>Si(void 0,void 0,void 0,(function*(){const{setItem:t}=gi,{data:n,status:a}=yield Na(`node&nodeId=${e}`);if(a===ja){if(!n)return;t({id:e,isLoading:!1,data:n}),setTimeout((()=>{r(e)}),1e3)}else t({id:e,isLoading:!1,isError:!0,errMsg:ba(Rr("Fetch failed. Node returns {{code}}."),{code:a})})}))),[]);return(0,dr.useEffect)((()=>{if(n)for(const{id:e}of t)r(e)}),[r,t,n]),(0,e.jsx)(da,{children:(0,e.jsx)(Oi,{})})})),Ni=t=>(0,e.jsx)("div",Object.assign({className:ta},t));var Ti="src-Components-Utils-components-search-link-styles-module__main--kwUcX";const Li=({keyword:t})=>(0,e.jsx)("a",Object.assign({className:Ti,href:`https://www.google.com/search?q=php+${encodeURIComponent(t)}`,target:"_blank",rel:"nofollow noreferrer"},{children:t}));const Ii=new class{constructor(){this.id="phpExtensions",this.conf=null==pa?void 0:pa[this.id],this.isEnable=Boolean(this.conf)}},{conf:Ai}=Ii,Mi=[["Redis",Boolean(null==Ai?void 0:Ai.redis)],["SQLite3",Boolean(null==Ai?void 0:Ai.sqlite3)],["Memcache",Boolean(null==Ai?void 0:Ai.memcache)],["Memcached",Boolean(null==Ai?void 0:Ai.memcached)],["Opcache",Boolean(null==Ai?void 0:Ai.opcache)],[Rr("Opcache enabled"),Boolean(null==Ai?void 0:Ai.opcacheEnabled)],[Rr("Opcache JIT enabled"),Boolean(null==Ai?void 0:Ai.opcacheJitEnabled)],["Swoole",Boolean(null==Ai?void 0:Ai.swoole)],["Image Magick",Boolean(null==Ai?void 0:Ai.imagick)],["Graphics Magick",Boolean(null==Ai?void 0:Ai.gmagick)],["Exif",Boolean(null==Ai?void 0:Ai.exif)],["Fileinfo",Boolean(null==Ai?void 0:Ai.fileinfo)],["SimpleXML",Boolean(null==Ai?void 0:Ai.simplexml)],["Sockets",Boolean(null==Ai?void 0:Ai.sockets)],["MySQLi",Boolean(null==Ai?void 0:Ai.mysqli)],["Zip",Boolean(null==Ai?void 0:Ai.zip)],["Multibyte String",Boolean(null==Ai?void 0:Ai.mbstring)],["Phalcon",Boolean(null==Ai?void 0:Ai.phalcon)],["Xdebug",Boolean(null==Ai?void 0:Ai.xdebug)],["Zend Optimizer",Boolean(null==Ai?void 0:Ai.zendOptimizer)],["ionCube",Boolean(null==Ai?void 0:Ai.ionCube)],["Source Guardian",Boolean(null==Ai?void 0:Ai.sourceGuardian)],["LDAP",Boolean(null==Ai?void 0:Ai.ldap)],["cURL",Boolean(null==Ai?void 0:Ai.curl)]];Mi.sort(((e,t)=>{const n=e[0].toLowerCase(),r=t[0].toLowerCase();return n<r?-1:n>r?1:0}));const Ri=(null==Ai?void 0:Ai.loadedExtensions)||[];Ri.sort(((e,t)=>{const n=e.toLowerCase(),r=t.toLowerCase();return n<r?-1:n>r?1:0}));const Di=()=>(0,e.jsxs)(da,{children:[Mi.map((([t,n])=>(0,e.jsx)(ca,Object.assign({name:t,lg:2,xl:3,xxl:4},{children:(0,e.jsx)(ha,{isSuccess:n})}),t))),Boolean(Ri.length)&&(0,e.jsx)(ca,Object.assign({name:Rr("Loaded extensions")},{children:(0,e.jsx)(Ni,{children:Ri.map((t=>(0,e.jsx)(Li,{keyword:t},t)))})}))]});const Ui=new class{constructor(){this.id="phpInfo",this.conf=null==pa?void 0:pa[this.id],this.isEnable=Boolean(this.conf)}},Vi=t=>(0,e.jsx)("a",Object.assign({className:Wr,target:"_blank"},t)),Bi=(e,t)=>{if(typeof e+typeof t!="stringstring")return!1;const n=e.split("."),r=t.split("."),a=Math.max(n.length,r.length);for(let e=0;e<a;e+=1){if(n[e]&&!r[e]&&Number(n[e])>0||Number(n[e])>Number(r[e]))return 1;if(r[e]&&!n[e]&&Number(r[e])>0||Number(n[e])<Number(r[e]))return-1}return 0};Ut({enforceActions:"observed"});const Fi=new class{constructor(){this.latestPhpVersion="",this.latestPhpDate="",this.setLatestPhpVersion=e=>{this.latestPhpVersion=e},this.setLatestPhpDate=e=>{this.latestPhpDate=e},fn(this)}};var Hi=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};const $i=Tr((()=>{const{conf:{version:t}}=Ui,{setLatestPhpVersion:n,setLatestPhpDate:r,latestPhpVersion:a}=Fi,i=(0,dr.useCallback)((()=>Hi(void 0,void 0,void 0,(function*(){const{data:e,status:t}=yield Na("latest-php-version");if(t===ja){const{version:t,date:a}=e;n(t),r(a)}}))),[r,n]);(0,dr.useEffect)((()=>{i()}),[i]);const o=Bi(t,a);return(0,e.jsxs)(Vi,Object.assign({href:"https://www.php.net/",title:Rr("Visit PHP.net Official website")},{children:[t,-1===o?` ${ba(Rr("(Latest {{latestPhpVersion}})"),{latestPhpVersion:a})}`:""]}))})),Wi=Tr((()=>{const{conf:t}=Ui,n=[["PHP info",(0,e.jsx)("a",Object.assign({href:"?action=phpInfoDetail",target:"_blank"},{children:Rr("\u{1f446} Click for detail")}),"phpInfoDetail")],[Rr("Version"),(0,e.jsx)($i,{},"phpVersion")]],r=[[Rr("SAPI interface"),null==t?void 0:t.sapi],[Rr("Display errors"),(0,e.jsx)(ha,{isSuccess:null==t?void 0:t.displayErrors},"displayErrors")],[Rr("Error reporting"),null==t?void 0:t.errorReporting],[Rr("Max memory limit"),null==t?void 0:t.memoryLimit],[Rr("Max POST size"),null==t?void 0:t.postMaxSize],[Rr("Max upload size"),null==t?void 0:t.uploadMaxFilesize],[Rr("Max input variables"),null==t?void 0:t.maxInputVars],[Rr("Max execution time"),null==t?void 0:t.maxExecutionTime],[Rr("Timeout for socket"),null==t?void 0:t.defaultSocketTimeout],[Rr("Treatment URLs file"),(0,e.jsx)(ha,{isSuccess:null==t?void 0:t.allowUrlFopen},"allowUrlFopen")],[Rr("SMTP support"),(0,e.jsx)(ha,{isSuccess:null==t?void 0:t.smtp},"smtp")]],{disableFunctions:a,disableClasses:i}=t;a.slice().sort(),i.slice().sort();const o=[[Rr("Disabled functions"),a.length?a.map((t=>(0,e.jsx)(Li,{keyword:t},t))):"-"],[Rr("Disabled classes"),i.length?i.map((t=>(0,e.jsx)(Li,{keyword:t},t))):"-"]];return(0,e.jsxs)(da,{children:[n.map((([t,n])=>(0,e.jsx)(ca,Object.assign({name:t},{children:n}),t))),r.map((([t,n])=>(0,e.jsx)(ca,Object.assign({name:t,lg:2,xl:3,xxl:4},{children:n}),t))),o.map((([t,n])=>(0,e.jsx)(ca,Object.assign({name:t},{children:(0,e.jsx)(Ni,{children:n})}),t)))]})}));Ut({enforceActions:"observed"});const Ki=new class{constructor(){this.isPing=!1,this.pingItems=[],this.refs={},this.setRef=(e,t)=>{this.refs[e]=t},this.setIsPing=e=>{this.isPing=e},this.setPingItems=e=>{this.pingItems=e},this.appendPingItem=e=>{this.pingItems.push(e)},fn(this)}get pingItemsCount(){return this.pingItems.length}};var qi="src-Components-Ping-components-style-module__btn--o_4YN",Qi="src-Components-Ping-components-style-module__itemContainer--GLMRY",Gi="src-Components-Ping-components-style-module__item--kR0WD",Xi="src-Components-Ping-components-style-module__itemNumber--KiUxL",Yi="src-Components-Ping-components-style-module__itemLine--OVM7p",Ji="src-Components-Ping-components-style-module__itemTime--WiXML",Zi="src-Components-Ping-components-style-module__resultContainer--xJz3t",eo="src-Components-Ping-components-style-module__result--qEqSo",to=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};const no=Tr((()=>{const{pingItems:t}=Ki,n=t.map((({time:t},n)=>(0,e.jsxs)("li",Object.assign({className:Gi},{children:[(0,e.jsx)("span",Object.assign({className:Xi},{children:n+1<10?`0${n+1}`:n+1})),(0,e.jsx)("span",Object.assign({className:Yi},{children:" ------------ "})),(0,e.jsx)("span",Object.assign({className:Ji},{children:`${t} ms`}))]}),String(n))));return(0,e.jsx)(e.Fragment,{children:n})})),ro=Tr((()=>{const{pingItemsCount:t,pingItems:n}=Ki,r=n.map((({time:e})=>e)),a=t?Math.floor(r.reduce(((e,t)=>e+t),0)/t):0,i=t?Number(Math.max(...r)):0,o=t?Number(Math.min(...r)):0;return(0,e.jsxs)("div",Object.assign({className:eo,"data-ping":Boolean(t)||void 0},{children:[(0,e.jsx)("div",{children:ba(Rr("Times:{{times}}"),{times:t})}),(0,e.jsx)("div",{children:ba(Rr("Min:{{min}} / Max:{{max}} / Avg:{{avg}}"),{min:o,max:i,avg:a})})]}))})),ao=Tr((()=>{const{pingItemsCount:t}=Ki,n=(0,dr.useRef)(0),r=(0,dr.useRef)(null),a=(0,dr.useCallback)((()=>to(void 0,void 0,void 0,(function*(){yield to(void 0,void 0,void 0,(function*(){const{appendPingItem:e}=Ki,t=Number(new Date),{data:n,status:a}=yield Na("ping");if(a===ja){const{time:a}=n,i=Number(new Date),o=1e3*a;e({time:Math.floor(i-t-o)}),setTimeout((()=>{if(!r.current)return;const e=r.current.scrollTop,t=r.current.scrollHeight;e<t&&(r.current.scrollTop=t)}),100)}})),n.current=window.setTimeout((()=>to(void 0,void 0,void 0,(function*(){yield a()}))),1e3)}))),[]),i=(0,dr.useCallback)((()=>to(void 0,void 0,void 0,(function*(){const{isPing:e,setIsPing:t}=Ki;if(e)return t(!1),void clearTimeout(n.current);t(!0),yield a()}))),[a]);return(0,e.jsx)(da,{children:(0,e.jsx)(ca,Object.assign({name:(0,e.jsx)("a",Object.assign({className:qi,onClick:i},{children:Ki.isPing?Rr("\u23f8\ufe0f Stop ping"):Rr("\u{1f446} Start ping")}))},{children:(0,e.jsxs)("div",Object.assign({className:Zi},{children:[!t&&(0,e.jsx)("div",{children:Rr("No ping")}),Boolean(t)&&(0,e.jsx)("ul",Object.assign({className:Qi,ref:r},{children:(0,e.jsx)(no,{})})),Boolean(t)&&(0,e.jsx)(ro,{})]}))}))})}));const io=new class{constructor(){this.id="ping",this.conf=null==pa?void 0:pa[this.id],this.isEnable=Boolean(this.conf)}};var oo=n(874),lo=n.n(oo);const so=t=>(0,e.jsx)("div",Object.assign({className:$r},t));var uo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};const co=t=>{var{ruby:n,rt:r,isResult:a=!1}=t,i=uo(t,["ruby","rt","isResult"]);return(0,e.jsxs)("ruby",Object.assign({"data-is-result":a||void 0,title:Rr("Copy marks")},i,{children:[n,(0,e.jsx)("rp",{children:"("}),(0,e.jsx)("rt",{children:r}),(0,e.jsx)("rp",{children:")"})]}))},fo=t=>(0,e.jsx)("div",Object.assign({className:Kr},t));const ho=new class{constructor(){this.id="serverBenchmark",this.conf=null==pa?void 0:pa[this.id],this.isEnable=Boolean(this.conf)}};var po=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};Ut({enforceActions:"observed"});const vo=new class{constructor(){this.appConfig=null,this.fetch=()=>po(this,void 0,void 0,(function*(){const{isDev:e,appConfigUrls:t,appConfigUrlDev:n}=ga;let r=!1;if(e)yield fetch(n).then((e=>e.json())).then((e=>{this.setAppConfig(e)})).catch((e=>{console.warn(e)}));else{for(let e=0;e<t.length&&(yield fetch(t[e]).then((e=>e.json())).then((e=>{this.setAppConfig(e),r=!0})).catch((e=>{console.warn(e)})),!r);e+=1);r||Ta.open(Rr("Error: can not fetch remote config data, update checker is disabled."))}})),this.setAppConfig=e=>{this.appConfig=e},fn(this),this.fetch()}};Ut({enforceActions:"observed"});const mo=new class{constructor(){this.isLoading=!1,this.linkText=Rr("\u{1f446} Click to test"),this.marks={cpu:0,read:0,write:0},this.setMarks=e=>{this.marks=e},this.setIsLoading=e=>{this.isLoading=e},this.setLinkText=e=>{this.linkText=e},fn(this)}get servers(){var e;return(null===(e=null==vo?void 0:vo.appConfig)||void 0===e?void 0:e.BENCHMARKS)||null}};var go="src-Components-ServerBenchmark-components-styles-module__btn--DR6pA",yo="src-Components-ServerBenchmark-components-styles-module__aff--U6apK",bo=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};const _o=({cpu:t,read:n,write:r,date:a})=>{const i=t+n+r,o=t.toLocaleString(),l=n.toLocaleString(),s=r.toLocaleString(),u=i.toLocaleString(),c=ba("{{cpu}} (CPU) + {{read}} (Read) + {{write}} (Write) = {{total}}",{cpu:o,read:l,write:s,total:u});return(0,e.jsxs)("div",{children:[(0,e.jsx)(co,{ruby:o,rt:"CPU",onClick:()=>lo()(`CPU: ${o}`)})," + ",(0,e.jsx)(co,{ruby:l,rt:Rr("Read"),onClick:()=>lo()(`Read: ${l}`)})," + ",(0,e.jsx)(co,{ruby:s,rt:Rr("Write"),onClick:()=>lo()(`Write: ${s}`)})," = ",(0,e.jsx)(co,{isResult:!0,ruby:u,rt:a||"",onClick:()=>lo()(c)})]})},wo=Tr((()=>{const{servers:t}=mo;if(!t)return(0,e.jsx)(fo,{children:Rr("Can not fetch marks data from GitHub.")});const n=t.map((e=>(e.total=e.detail?Object.values(e.detail).reduce(((e,t)=>e+t),0):0,e)));n.sort(((e,t)=>Number(t.total)-Number(e.total)));const r=n.map((({name:t,url:n,date:r,proberUrl:a,binUrl:i,detail:o})=>{if(!o)return null;const{cpu:l=0,read:s=0,write:u=0}=o,c=a?(0,e.jsx)("a",Object.assign({href:a,target:"_blank",title:Rr("Visit prober page"),rel:"noreferrer"},{children:" \u{1f517} "})):"",d=i?(0,e.jsx)("a",Object.assign({href:i,target:"_blank",title:Rr("Download speed test"),rel:"noreferrer"},{children:" \u2b07\ufe0f "})):"",f=(0,e.jsx)("a",Object.assign({className:yo,href:n,target:"_blank",title:Rr("Visit the official website"),rel:"noreferrer"},{children:t}));return(0,e.jsxs)(ca,Object.assign({name:f,lg:2,xl:3,xxl:4},{children:[(0,e.jsx)(_o,{cpu:l,read:s,write:u,date:r}),c,d]}),t)}));return(0,e.jsx)(e.Fragment,{children:r})})),ko=Tr((()=>{const{marks:t}=mo;return t?(0,e.jsx)(_o,Object.assign({},t)):null})),xo=Tr((({onClick:t})=>{const{linkText:n}=mo;return(0,e.jsxs)(ca,Object.assign({name:Rr("My server")},{children:[(0,e.jsx)("a",Object.assign({className:go,href:"#",onClick:t},{children:n})),(0,e.jsx)(ko,{})]}))})),So=Tr((()=>{var t;const n=(0,dr.useCallback)((e=>bo(void 0,void 0,void 0,(function*(){e.preventDefault();const{isLoading:t,setIsLoading:n,setMarks:r,setLinkText:a}=mo;if(t)return;a(Rr("\u23f3 Testing, please wait...")),n(!0);const{data:i={},status:o}=yield Na("benchmark"),{marks:l,seconds:s}=i;o===ja?l?(r(l),a(Rr("\u{1f446} Click to test"))):a(Rr("Network error, please try again later.")):a(429===o?ba(Rr("\u23f3 Please wait {{seconds}}s"),{seconds:s}):Rr("Network error, please try again later.")),n(!1)}))),[]);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(so,{children:Rr("\u2694\ufe0f Different versions cannot be compared, and different time servers have different loads, just for reference.")}),(0,e.jsxs)(da,{children:[(null===(t=ho.conf)||void 0===t?void 0:t.disabledMyServerBenchmark)||(0,e.jsx)(xo,{onClick:n}),(0,e.jsx)(wo,{})]})]})}));var zo=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};Ut({enforceActions:"observed"});const jo=new class{constructor(){this.ID="serverInfo",this.conf=null==pa?void 0:pa[this.ID],this.enabled=Boolean(this.conf),this.serverIpv4=Rr("Loading..."),this.serverIpv6=Rr("Loading..."),this.serverLocation=null,this.setServerLocation=e=>{this.serverLocation=e},this.setServerIpv4=e=>{this.serverIpv4=e},this.setServerIpv6=e=>{this.serverIpv6=e},this.fetchServerIpv4=()=>zo(this,void 0,void 0,(function*(){const{data:e,status:t}=yield Na("serverIpv4");(null==e?void 0:e.ip)&&t===ja?this.setServerIpv4(e.ip):this.setServerIpv4("-")})),this.fetchServerIpv6=()=>zo(this,void 0,void 0,(function*(){const{data:e,status:t}=yield Na("serverIpv6");(null==e?void 0:e.ip)&&t===ja?this.setServerIpv6(e.ip):this.setServerIpv6("-")})),fn(this),this.fetchServerIpv4(),this.fetchServerIpv6()}get serverTime(){var e,t,n;return Ha.isLoading?null===(e=this.conf)||void 0===e?void 0:e.serverTime:null===(n=null===(t=Ha.data)||void 0===t?void 0:t[this.ID])||void 0===n?void 0:n.serverTime}get serverUptime(){var e,t,n;return Ha.isLoading?null===(e=this.conf)||void 0===e?void 0:e.serverUptime:null===(n=null===(t=Ha.data)||void 0===t?void 0:t[this.ID])||void 0===n?void 0:n.serverUptime}get serverUtcTime(){var e,t,n;return Ha.isLoading?null===(e=this.conf)||void 0===e?void 0:e.serverUtcTime:null===(n=null===(t=Ha.data)||void 0===t?void 0:t[this.ID])||void 0===n?void 0:n.serverUtcTime}get diskUsage(){var e,t,n;return Ha.isLoading?null===(e=this.conf)||void 0===e?void 0:e.diskUsage:null===(n=null===(t=Ha.data)||void 0===t?void 0:t[this.ID])||void 0===n?void 0:n.diskUsage}},Co=Tr((()=>{var t,n,r,a;const{ID:i,conf:o}=jo,{isLoading:l,data:s}=Ha;let{diskUsage:{value:u,max:c}}=o;return l||(u=null===(n=null===(t=null==s?void 0:s[i])||void 0===t?void 0:t.diskUsage)||void 0===n?void 0:n.value,c=null===(a=null===(r=null==s?void 0:s[i])||void 0===r?void 0:r.diskUsage)||void 0===a?void 0:a.max),u&&c?(0,e.jsx)(ti,{value:u,max:c,isCapacity:!0}):(0,e.jsx)(e.Fragment,{children:Rr("Unavailable")})}));var Po=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};const Oo=Tr((({action:t})=>{const[n,r]=(0,dr.useState)(!1),[a,i]=(0,dr.useState)(null),o=(0,dr.useCallback)((e=>Po(void 0,void 0,void 0,(function*(){if(e.preventDefault(),n)return;r(!0);const{data:a,status:o}=yield Na(t);r(!1),a&&o===ja?i(a):Ta.open(Rr("Can not fetch location."))}))),[t,n]),l=n?Rr("Loading..."):"";let s="";return n||(s=a?[a.flag,a.country,a.region,a.city].filter((e=>Boolean(e))).join(", "):Rr("\u{1f446} Click to fetch")),(0,e.jsxs)("a",Object.assign({href:"#",onClick:o,title:Rr("The author only has 10,000 API requests per month, please do not abuse it.")},{children:[l,s]}))})),Eo=Tr((()=>{const{serverUptime:{days:t,hours:n,mins:r,secs:a},serverTime:i}=jo,o=ba(Rr("{{days}} days {{hours}} hours {{mins}} mins {{secs}} secs"),{days:t,hours:n,mins:r,secs:a}),l=[[Rr("Server time"),i],[Rr("Server uptime"),o]];return(0,e.jsx)(e.Fragment,{children:l.map((([t,n])=>(0,e.jsx)(ca,Object.assign({name:t,lg:2,xl:3,xxl:4},{children:n}),t)))})})),No=Tr((()=>{const{conf:t,serverIpv4:n,serverIpv6:r}=jo,a=[[Rr("Server name"),null==t?void 0:t.serverName]],i=[[Rr("Server IPv4"),n],[Rr("Server IPv6"),r],[Rr("Server software"),null==t?void 0:t.serverSoftware]],o=[[Rr("Server location (IPv4)"),(0,e.jsx)(Oo,{action:"serverLocationIpv4"},"serverLocalIpv4")],[Rr("CPU model"),(null==t?void 0:t.cpuModel)||Rr("Unavailable")],[Rr("Server OS"),null==t?void 0:t.serverOs],[Rr("Script path"),null==t?void 0:t.scriptPath],[Rr("Disk usage"),(0,e.jsx)(Co,{},"diskUsage")]];return(0,e.jsxs)(da,{children:[a.map((([t,n])=>(0,e.jsx)(ca,Object.assign({name:t,lg:2,xl:3,xxl:4},{children:n}),t))),(0,e.jsx)(Eo,{}),i.map((([t,n])=>(0,e.jsx)(ca,Object.assign({name:t,lg:2,xl:3,xxl:4},{children:n}),t))),o.map((([t,n])=>(0,e.jsx)(ca,Object.assign({name:t},{children:n}),t)))]})})),To=Tr((()=>{const{cpuUsage:t}=ii,{idle:n}=t;return(0,e.jsx)(ca,Object.assign({name:Rr("CPU usage")},{children:(0,e.jsx)(ti,{title:ba(Rr("idle: {{idle}} \nnice: {{nice}} \nsys: {{sys}} \nuser: {{user}}"),t),value:100-n,max:100,isCapacity:!1})}))})),Lo=Tr((()=>{const{max:t,value:n}=ii.memBuffers;return(0,e.jsx)(ca,Object.assign({title:Rr("Buffers are in-memory block I/O buffers. They are relatively short-lived. Prior to Linux kernel version 2.4, Linux had separate page and buffer caches. Since 2.4, the page and buffer cache are unified and Buffers is raw disk blocks not represented in the page cache\u2014i.e., not file data."),name:Rr("Memory buffers"),lg:2},{children:(0,e.jsx)(ti,{value:n,max:t,isCapacity:!0})}))})),Io=Tr((()=>{const{max:t,value:n}=ii.memCached;return(0,e.jsx)(ca,Object.assign({title:Rr("Cached memory is memory that Linux uses for disk caching. However, this doesn't count as \"used\" memory, since it will be freed when applications require it. Hence you don't have to worry if a large amount is being used."),name:Rr("Memory cached"),lg:2},{children:(0,e.jsx)(ti,{value:n,max:t,isCapacity:!0})}))})),Ao=Tr((()=>{const{max:t,value:n}=ii.memRealUsage;return(0,e.jsx)(ca,Object.assign({title:Rr('Linux comes with many commands to check memory usage. The "free" command usually displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel. The "top" command provides a dynamic real-time view of a running system.'),name:Rr("Memory real usage")},{children:(0,e.jsx)(ti,{value:n,max:t,isCapacity:!0})}))})),Mo=Tr((()=>{const{max:t,value:n}=ii.swapCached;return t?(0,e.jsx)(ca,Object.assign({name:Rr("Swap cached")},{children:(0,e.jsx)(ti,{value:n,max:t,isCapacity:!0})})):null})),Ro=Tr((()=>{const{max:t,value:n}=ii.swapUsage;return t?(0,e.jsx)(ca,Object.assign({name:Rr("Swap usage")},{children:(0,e.jsx)(ti,{value:n,max:t,isCapacity:!0})})):null})),Do=()=>(0,e.jsxs)(da,{children:[(0,e.jsx)(ui,{}),(0,e.jsx)(To,{}),(0,e.jsx)(Ao,{}),(0,e.jsx)(Io,{}),(0,e.jsx)(Lo,{}),(0,e.jsx)(Ro,{}),(0,e.jsx)(Mo,{})]});const Uo=new class{constructor(){this.id="temperatureSensor"}};var Vo=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};Ut({enforceActions:"observed"});const{id:Bo}=Uo;const Fo=new class{constructor(){this.items=[],this.setItems=e=>{this.items=e},this.setEnabledCard=()=>{const{setCard:e,cards:t}=Hr,n=t.find((e=>e.id===Bo));n&&(n.enabled||e({id:Bo,enabled:!0}))},this.fetch=()=>Vo(this,void 0,void 0,(function*(){const{data:e,status:t}=yield Na("temperature-sensor");t===ja&&(this.setItems(e),this.setEnabledCard(),setTimeout((()=>{this.fetch()}),1e3))})),fn(this)}get itemsCount(){return this.items.length}},Ho=Tr((()=>{const{itemsCount:t,items:n}=Fo;return t?(0,e.jsx)(da,{children:n.map((({id:t,name:n,celsius:r})=>(0,e.jsx)(ca,Object.assign({name:ba(Rr("{{sensor}} temperature"),{sensor:n})},{children:(0,e.jsx)(ti,{value:r,max:150,isCapacity:!1,percentTag:"\u2103"})}),t)))}):null}));Ut({enforceActions:"observed"});const $o=new class{constructor(){this.isUpdating=!1,this.isUpdateError=!1,this.setIsUpdating=e=>{this.isUpdating=e},this.setIsUpdateError=e=>{this.isUpdateError=e},fn(this)}get newVersion(){const{appConfig:e}=vo;return e&&e.APP_VERSION&&-1===Bi(ga.version,e.APP_VERSION)?e.APP_VERSION:""}get notiText(){return this.isUpdating?Rr("\u23f3 Updating, please wait a second..."):this.isUpdateError?Rr("\u274c Update error, click here to try again?"):this.newVersion?ba(Rr("\u2728 Found update! Version {{oldVersion}} \u2192 {{newVersion}}"),{oldVersion:ga.version,newVersion:this.newVersion}):""}};var Wo=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}s((r=r.apply(e,t||[])).next())}))};const Ko=Tr((()=>{const t=(0,dr.useCallback)((()=>Wo(void 0,void 0,void 0,(function*(){const{setIsUpdating:e,setIsUpdateError:t}=$o;e(!0);const{status:n}=yield Na("update");switch(n){case ja:return void window.location.reload();case 507:case 500:return alert(Rr("Can not update file, please check the server permissions and space.")),e(!1),void t(!0)}alert(Rr("Network error, please try again later.")),e(!1),t(!0)}))),[]);return(0,e.jsx)(Go,Object.assign({title:Rr("Click to update"),onClick:t},{children:$o.notiText}))}));var qo="src-Components-Title-components-styles-module__h1--z5lLy",Qo="src-Components-Title-components-styles-module__link--_O32A";const Go=t=>(0,e.jsx)("a",Object.assign({className:Qo},t)),Xo=Tr((()=>{const{appUrl:t,appName:n,version:r}=ga;return(0,e.jsx)("h1",Object.assign({className:qo},{children:$o.newVersion?(0,e.jsx)(Ko,{}):(0,e.jsx)(Go,Object.assign({href:t,target:"_blank",rel:"noreferrer"},{children:`${n} v${r}`}))}))})),Yo=({children:e})=>{const t=(e=>{const t=(0,dr.useRef)(document.createElement("div"));return(0,dr.useEffect)((()=>{if(e){const n=document.getElementById(e);if(!n)return;n.innerHTML="",n.appendChild(t.current)}else document.body.appendChild(t.current);return()=>{t.current.remove()}}),[e]),t.current})();return(0,fr.createPortal)(e,t)};var Jo="src-Components-Toast-components-styles-module__main--yKV4Y";const Zo=Tr((()=>{const{isOpen:t,msg:n,close:r}=Ta;return t?(0,e.jsx)(Yo,{children:(0,e.jsx)("div",Object.assign({className:Jo,title:Rr("Click to close"),onClick:()=>r()},{children:n}))}):null}));var el="src-Components-Bootstrap-components-styles-module__app--llWF8";va.enabled&&Hr.addCard({id:va.ID,title:Rr("Database"),tinyTitle:Rr("DB"),priority:600,component:ma}),(()=>{const{id:e,isEnable:t}=Ma;t&&Hr.addCard({id:e,title:Rr("My Information"),tinyTitle:Rr("Mine"),priority:900,component:Aa})})(),(()=>{const{id:e,isEnable:t}=$a;t&&Hr.addCard({id:e,title:Rr("Network Stats"),tinyTitle:Rr("Net"),priority:200,component:Xa})})(),(()=>{var e;const{id:t,isEnable:n,conf:r}=pi;n&&(null===(e=null==r?void 0:r.items)||void 0===e?void 0:e.length)&&Hr.addCard({id:t,title:Rr("Nodes"),tinyTitle:Rr("Nodes"),priority:50,component:Ei})})(),(()=>{const{id:e,isEnable:t}=Ii;t&&Hr.addCard({id:e,title:Rr("PHP Extensions"),tinyTitle:Rr("Ext"),priority:500,component:Di})})(),(()=>{const{id:e,isEnable:t}=Ui;t&&Hr.addCard({id:e,title:Rr("PHP Information"),tinyTitle:Rr("PHP"),priority:400,component:Wi})})(),(()=>{const{id:e,isEnable:t}=io;t&&Hr.addCard({id:e,title:Rr("Network Ping"),tinyTitle:Rr("Ping"),priority:250,component:ao})})(),(()=>{const{id:e,isEnable:t}=ho;t&&Hr.addCard({id:e,title:Rr("Server Benchmark"),tinyTitle:Rr("Becnhmark"),priority:800,component:So})})(),jo.enabled&&Hr.addCard({id:jo.ID,title:Rr("Server Information"),tinyTitle:Rr("Info"),priority:300,component:No}),(()=>{const{id:e,isEnable:t}=ni;t&&Hr.addCard({id:e,title:Rr("Server Status"),tinyTitle:Rr("Status"),priority:100,component:Do})})(),(()=>{const{id:e}=Uo;Hr.addCard({id:e,title:Rr("Temperature Sensor"),tinyTitle:Rr("Temp."),enabled:!1,priority:240,component:Ho})})();const tl=Tr((()=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(Xo,{}),(0,e.jsx)("div",Object.assign({className:el},{children:(0,e.jsxs)(ia,{children:[(0,e.jsx)(ra,{}),(0,e.jsx)(ka,{})]})})),(0,e.jsx)(Ba,{}),(0,e.jsx)(za,{}),(0,e.jsx)(Zo,{})]})));(e=>{const t=navigator.userAgent,n="attachEvent";switch(!0){case t.indexOf("MSIE 8.0")>0:window[n]("onreadystatechange",(()=>{"complete"===document.readyState&&e()}));break;case t.indexOf("MSIE 9.0")>0:case t.indexOf("MSIE 10.0")>0:window[n]("onreadystatechange",(()=>{"loading"!==document.readyState&&e()}));break;default:(window[n]?"complete"===document.readyState:"loading"!==document.readyState)?e():document.addEventListener("DOMContentLoaded",e)}})((()=>{const t=document.createElement("div");document.body.innerHTML="",document.body.appendChild(t),(0,Ir.s)(t).render((0,e.jsx)(tl,{}))}))}()}();
HTML;
exit; } } namespace InnStudio\Prober\Components\MyInfo; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Utils\UtilsClientIp; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Conf extends MyInfoConstants { public function __construct() { EventsApi::on('conf', function (array $conf) { if (XconfigApi::isDisabled($this->ID)) { return $conf; } $ip = UtilsClientIp::getV4(); $ipv4 = filter_var($ip, \FILTER_VALIDATE_IP, array( 'flags' => \FILTER_FLAG_IPV4, )) ?: ''; $ipv6 = filter_var($ip, \FILTER_VALIDATE_IP, array( 'flags' => \FILTER_FLAG_IPV6, )) ?: ''; $conf[$this->ID] = array( 'phpLanguage' => isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? $_SERVER['HTTP_ACCEPT_LANGUAGE'] : '-', 'ipv4' => $ipv4, 'ipv6' => $ipv6, ); return $conf; }); } } namespace InnStudio\Prober\Components\MyInfo; final class MyInfo { public function __construct() { new Conf(); new ClientLocationIpv4(); } } namespace InnStudio\Prober\Components\MyInfo; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; use InnStudio\Prober\Components\Rest\StatusCode; use InnStudio\Prober\Components\Utils\UtilsLocation; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class ClientLocationIpv4 extends MyInfoConstants { public function __construct() { EventsApi::on('init', function ($action) { if ('clientLocationIpv4' !== $action) { return $action; } if (XconfigApi::isDisabled($this->ID)) { return $action; } $response = new RestResponse(); $ip = filter_input(\INPUT_GET, 'ip', \FILTER_VALIDATE_IP, array( 'flags' => \FILTER_FLAG_IPV4, )); if ( ! $ip) { $response->setStatus(StatusCode::$BAD_REQUEST)->json()->end(); } $response->setData(UtilsLocation::getLocation($ip))->json()->end(); }); } } namespace InnStudio\Prober\Components\MyInfo; class MyInfoConstants { protected $ID = 'myInfo'; } namespace InnStudio\Prober\Components\Bootstrap; use InnStudio\Prober\Components\Config\ConfigApi; use InnStudio\Prober\Components\Events\EventsApi; final class Conf extends BootstrapConstants { public function __construct() { EventsApi::on('conf', function (array $conf) { $conf[$this->ID] = array( 'isDev' => XPROBER_IS_DEV, 'version' => ConfigApi::$APP_VERSION, 'appName' => ConfigApi::$APP_NAME, 'appUrl' => ConfigApi::$APP_URL, 'appConfigUrls' => ConfigApi::$APP_CONFIG_URLS, 'appConfigUrlDev' => ConfigApi::$APP_CONFIG_URL_DEV, 'authorUrl' => ConfigApi::$AUTHOR_URL, 'authorName' => ConfigApi::$AUTHOR_NAME, 'authorization' => isset($_SERVER['HTTP_AUTHORIZATION']) ? $_SERVER['HTTP_AUTHORIZATION'] : '', ); return $conf; }); } } namespace InnStudio\Prober\Components\Bootstrap; use InnStudio\Prober\Components\Events\EventsApi; final class Action { public function __construct() { $action = (string) filter_input(\INPUT_GET, 'action', \FILTER_DEFAULT); EventsApi::emit('init', $action); if ($action) { http_response_code(400); exit; } } } namespace InnStudio\Prober\Components\Bootstrap; final class Bootstrap { public function __construct() { new Action(); new Conf(); new Render(); } } namespace InnStudio\Prober\Components\Bootstrap; class BootstrapConstants { protected $ID = 'bootstrap'; } namespace InnStudio\Prober\Components\Bootstrap; use InnStudio\Prober\Components\Config\ConfigApi; use InnStudio\Prober\Components\Events\EventsApi; final class Render { public function __construct() { $appName = ConfigApi::$APP_NAME; $version = ConfigApi::$APP_VERSION; $scriptConf = json_encode(EventsApi::emit('conf', array())); $styleUrl = \defined('XPROBER_IS_DEV') && XPROBER_IS_DEV ? 'app.css' : "?action=style&v={$version}"; $scriptUrl = \defined('XPROBER_IS_DEV') && XPROBER_IS_DEV ? 'app.js' : "?action=script&v={$version}"; echo <<<HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="renderer" content="webkit">
<title>{$appName} v{$version}</title>
<link rel="stylesheet" href="{$styleUrl}" />
<script>window.CONF = {$scriptConf};</script>
<script src="{$scriptUrl}" async></script>
</head>
<body>
<div style="display:flex;height:calc(100vh - 16px);width:calc(100vw - 16px);align-items:center;justify-content:center;flex-wrap:wrap;">
<div style="font-size:15px;background:#333;color:#fff;padding:0.5rem 1rem;border-radius:10rem;box-shadow: 0 5px 10px rgba(0,0,0,0.3);">⏳ Loading...</div>
</div>
</body>
</html>
HTML;
} } namespace InnStudio\Prober\Components\Updater; use InnStudio\Prober\Components\Config\ConfigApi; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; use InnStudio\Prober\Components\Rest\StatusCode; final class Updater { public function __construct() { EventsApi::on('init', function ($action) { if ('update' !== $action) { return $action; } $response = new RestResponse(); if ( ! is_writable(__FILE__)) { $response->setStatus(StatusCode::$INSUFFICIENT_STORAGE)->end(); } $code = ''; foreach (ConfigApi::$UPDATE_PHP_URLS as $url) { $code = (string) file_get_contents($url); if ('' !== trim($code)) { break; } } if ( ! $code) { $response->setStatus(StatusCode::$NOT_FOUND)->end(); } if (\defined('XPROBER_IS_DEV') && XPROBER_IS_DEV) { $response->end(); } if ((bool) file_put_contents(__FILE__, $code)) { if (\function_exists('opcache_invalidate')) { opcache_invalidate(__FILE__, true) || opcache_reset(); } $response->end(); } $response->setStatus(StatusCode::$INTERNAL_SERVER_ERROR)->end(); }); } } namespace InnStudio\Prober\Components\NetworkStats; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Utils\UtilsApi; use InnStudio\Prober\Components\Utils\UtilsNetwork; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Conf extends NetworkStatsConstants { public function __construct() { UtilsApi::isWin() || EventsApi::on('conf', function (array $conf) { if (XconfigApi::isDisabled($this->ID)) { return $conf; } $conf[$this->ID] = array( 'networks' => UtilsNetwork::getStats(), 'timestamp' => time(), ); return $conf; }); } } namespace InnStudio\Prober\Components\NetworkStats; final class NetworkStats { public function __construct() { new Conf(); new Fetch(); } } namespace InnStudio\Prober\Components\NetworkStats; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Utils\UtilsApi; use InnStudio\Prober\Components\Utils\UtilsNetwork; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Fetch extends NetworkStatsConstants { public function __construct() { if ( ! UtilsApi::isWin()) { EventsApi::on('fetch', array($this, 'filter')); EventsApi::on('nodes', array($this, 'filter')); } } public function filter(array $items) { if (XconfigApi::isDisabled($this->ID)) { return $items; } $items[$this->ID] = array( 'networks' => UtilsNetwork::getStats(), 'timestamp' => time(), ); return $items; } } namespace InnStudio\Prober\Components\NetworkStats; class NetworkStatsConstants { protected $ID = 'networkStats'; } namespace InnStudio\Prober\Components\Fetch; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; final class Fetch { public function __construct() { EventsApi::on('init', function ($action) { if ('fetch' === $action) { EventsApi::emit('fetchBefore'); $response = new RestResponse(EventsApi::emit('fetch', array())); $response->json()->end(); } return $action; }, 100); } } namespace InnStudio\Prober\Components\Nodes; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Conf extends NodesApi { public function __construct() { EventsApi::on('conf', function (array $conf) { if (XconfigApi::isDisabled($this->ID)) { return $conf; } $conf[$this->ID] = array( 'items' => $this->getNodes(), ); return $conf; }); } } namespace InnStudio\Prober\Components\Nodes; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; use InnStudio\Prober\Components\Rest\StatusCode; final class Fetch extends NodesApi { public function __construct() { EventsApi::on('init', function ($action) { switch ($action) { case 'nodes': EventsApi::emit('fetchNodesBefore'); $response = new RestResponse(EventsApi::emit('nodes', array())); $response->json()->end(); case 'node': EventsApi::emit('fetchNodeBefore'); $nodeId = filter_input(\INPUT_GET, 'nodeId', \FILTER_DEFAULT); $response = new RestResponse(); if ( ! $nodeId) { $response->setStatus(StatusCode::$BAD_REQUEST)->json()->end(); } $data = $this->getNodeData($nodeId); if ( ! $data) { $response->setStatus(StatusCode::$NO_CONTENT)->json()->end(); } $response->setData($data)->json()->end(); } return $action; }, 100); } private function getNodeData($nodeId) { foreach ($this->getNodes() as $item) { if ( ! isset($item['id']) || ! isset($item['url']) || $item['id'] !== $nodeId) { continue; } return $this->getRemoteContent("{$item['url']}?action=fetch"); } } private function getRemoteContent($url) { $content = ''; if (\function_exists('curl_init')) { $ch = curl_init(); curl_setopt_array($ch, array( \CURLOPT_URL => $url, \CURLOPT_RETURNTRANSFER => true, )); $content = curl_exec($ch); curl_close($ch); return json_decode($content, true) ?: null; } return json_decode(file_get_contents($url), true) ?: null; } } namespace InnStudio\Prober\Components\Nodes; use InnStudio\Prober\Components\Xconfig\XconfigApi; class NodesApi { public $ID = 'nodes'; public function getNodes() { $items = XconfigApi::getNodes(); if ( ! $items || ! \is_array($items)) { return array(); } return array_filter(array_map(function ($item) { if (2 !== \count($item)) { return; } return array( 'id' => $item[0], 'url' => $item[1], ); }, $items)); } } namespace InnStudio\Prober\Components\Nodes; final class Nodes { public function __construct() { new Conf(); new Fetch(); } } namespace InnStudio\Prober\Components\Config; class ConfigApi { public static $APP_VERSION = '8.16'; public static $APP_NAME = 'X Prober'; public static $APP_URL = 'https://github.com/kmvan/x-prober'; public static $APP_CONFIG_URLS = array('https://raw.githubusercontent.com/kmvan/x-prober/master/AppConfig.json', 'https://api.inn-studio.com/download/?id=xprober-config'); public static $APP_CONFIG_URL_DEV = 'http://localhost:8000/AppConfig.json'; public static $APP_TEMPERATURE_SENSOR_URL = 'http://127.0.0.1'; public static $APP_TEMPERATURE_SENSOR_PORTS = array(2048, 4096); public static $AUTHOR_URL = 'https://inn-studio.com/prober'; public static $UPDATE_PHP_URLS = array('https://raw.githubusercontent.com/kmvan/x-prober/master/dist/prober.php', 'https://api.inn-studio.com/download/?id=xprober'); public static $AUTHOR_NAME = 'INN STUDIO'; public static $LATEST_PHP_STABLE_VERSION = '8'; public static $LATEST_NGINX_STABLE_VERSION = '1.22.0'; } namespace InnStudio\Prober\Components\Database; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Xconfig\XconfigApi; use PDO; use SQLite3; final class Conf extends DatabaseConstants { public function __construct() { EventsApi::on('conf', function (array $conf) { if (XconfigApi::isDisabled($this->ID)) { return $conf; } $sqlite3Version = class_exists('SQLite3') ? SQLite3::version() : false; $conf[$this->ID] = array( 'sqlite3' => $sqlite3Version ? $sqlite3Version['versionString'] : false, 'sqliteLibversion' => \function_exists('sqlite_libversion') ? sqlite_libversion() : false, 'mysqliClientVersion' => \function_exists('mysqli_get_client_version') ? mysqli_get_client_version() : false, 'mongo' => class_exists('Mongo'), 'mongoDb' => class_exists('MongoDB'), 'postgreSql' => \function_exists('pg_connect'), 'paradox' => \function_exists('px_new'), 'msSql' => \function_exists('sqlsrv_server_info'), 'pdo' => class_exists('PDO') ? implode(',', PDO::getAvailableDrivers()) : false, ); return $conf; }); } } namespace InnStudio\Prober\Components\Database; class DatabaseConstants { protected $ID = 'database'; } namespace InnStudio\Prober\Components\Database; final class Database { public function __construct() { new Conf(); } } namespace InnStudio\Prober\Components\Xconfig; use InnStudio\Prober\Components\Utils\UtilsApi; final class XconfigApi { private static $conf; private static $filename = 'xconfig.json'; public static function isDisabled($id) { return \in_array($id, self::get('disabled') ?: array(), true); } public static function getNodes() { return self::get('nodes') ?: array(); } public static function get($id = null) { self::setConf(); if ($id) { return isset(self::$conf[$id]) ? self::$conf[$id] : null; } return self::$conf; } private static function getFilePath() { if ( ! \defined('\\XPROBER_DIR')) { return ''; } if (\defined('\\XPROBER_IS_DEV') && XPROBER_IS_DEV) { return \dirname(XPROBER_DIR) . '/' . self::$filename; } return XPROBER_DIR . '/' . self::$filename; } private static function setConf() { if (null !== self::$conf) { return; } if ( ! is_readable(self::getFilePath())) { self::$conf = null; return; } $conf = UtilsApi::jsonDecode(file_get_contents(self::getFilePath())); if ( ! $conf) { self::$conf = null; return; } self::$conf = $conf; } } namespace InnStudio\Prober\Components\ServerInfo; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; use InnStudio\Prober\Components\Utils\UtilsServerIp; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class ServerInitIpv4 extends ServerInfoConstants { public function __construct() { EventsApi::on('init', function ($action) { if ('serverIpv4' !== $action) { return $action; } if (XconfigApi::isDisabled($this->ID)) { return $action; } if (XconfigApi::isDisabled($this->FEATURE_SERVER_IP)) { return $action; } $response = new RestResponse(); $response->setData(array( 'ip' => UtilsServerIp::getV4(), ))->json()->end(); }); } } namespace InnStudio\Prober\Components\ServerInfo; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Utils\UtilsCpu; use InnStudio\Prober\Components\Utils\UtilsDisk; use InnStudio\Prober\Components\Utils\UtilsTime; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Conf extends ServerInfoConstants { public function __construct() { EventsApi::on('conf', function (array $conf) { if (XconfigApi::isDisabled($this->ID)) { return $conf; } $conf[$this->ID] = array( 'serverName' => $this->getServerInfo('SERVER_NAME'), 'serverUtcTime' => UtilsTime::getUtcTime(), 'serverTime' => UtilsTime::getTime(), 'serverUptime' => UtilsTime::getUptime(), 'serverIp' => XconfigApi::isDisabled('serverIp') ? '-' : $this->getServerInfo('SERVER_ADDR'), 'serverSoftware' => $this->getServerInfo('SERVER_SOFTWARE'), 'phpVersion' => \PHP_VERSION, 'cpuModel' => UtilsCpu::getModel(), 'serverOs' => php_uname(), 'scriptPath' => __FILE__, 'diskUsage' => array( 'value' => UtilsDisk::getTotal() - UtilsDisk::getFree(), 'max' => UtilsDisk::getTotal(), ), ); return $conf; }); } private function getServerInfo($key) { return isset($_SERVER[$key]) ? $_SERVER[$key] : ''; } } namespace InnStudio\Prober\Components\ServerInfo; final class ServerInfo { public function __construct() { new Conf(); new Fetch(); new ServerInitIpv4(); new ServerInitIpv6(); new ServerLocationIpv4(); } } namespace InnStudio\Prober\Components\ServerInfo; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; use InnStudio\Prober\Components\Utils\UtilsServerIp; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class ServerInitIpv6 extends ServerInfoConstants { public function __construct() { EventsApi::on('init', function ($action) { if ('serverIpv6' !== $action) { return $action; } if (XconfigApi::isDisabled($this->ID)) { return $action; } if (XconfigApi::isDisabled($this->FEATURE_SERVER_IP)) { return $action; } $response = new RestResponse(); $response->setData(array( 'ip' => UtilsServerIp::getV6(), ))->json()->end(); }); } } namespace InnStudio\Prober\Components\ServerInfo; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; use InnStudio\Prober\Components\Rest\StatusCode; use InnStudio\Prober\Components\Utils\UtilsLocation; use InnStudio\Prober\Components\Utils\UtilsServerIp; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class ServerLocationIpv4 extends ServerInfoConstants { public function __construct() { EventsApi::on('init', function ($action) { if ('serverLocationIpv4' !== $action) { return $action; } if (XconfigApi::isDisabled($this->ID)) { return $action; } if (XconfigApi::isDisabled($this->FEATURE_SERVER_IP)) { return $action; } $response = new RestResponse(); $ip = UtilsServerIp::getV4(); if ( ! $ip) { $response->setStatus(StatusCode::$BAD_REQUEST)->json()->end(); } $response->setData(UtilsLocation::getLocation($ip))->json()->end(); }); } } namespace InnStudio\Prober\Components\ServerInfo; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Utils\UtilsDisk; use InnStudio\Prober\Components\Utils\UtilsTime; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Fetch extends ServerInfoConstants { public function __construct() { EventsApi::on('fetch', array($this, 'filter')); EventsApi::on('nodes', array($this, 'filter')); } public function filter(array $items) { if (XconfigApi::isDisabled($this->ID)) { return $items; } $items[$this->ID] = array( 'serverUtcTime' => UtilsTime::getUtcTime(), 'serverTime' => UtilsTime::getTime(), 'serverUptime' => UtilsTime::getUptime(), 'diskUsage' => array( 'value' => UtilsDisk::getTotal() - UtilsDisk::getFree(), 'max' => UtilsDisk::getTotal(), ), ); return $items; } } namespace InnStudio\Prober\Components\ServerInfo; class ServerInfoConstants { protected $ID = 'serverInfo'; protected $FEATURE_SERVER_IP = 'serverIp'; } namespace InnStudio\Prober\Components\Utils; final class UtilsDisk { public static function getTotal() { if ( ! \function_exists('disk_total_space')) { return 0; } static $space = null; if (null === $space) { $space = (float) disk_total_space(__DIR__); } return $space; } public static function getFree() { if ( ! \function_exists('disk_total_space')) { return 0; } static $space = null; if (null === $space) { $space = (float) disk_free_space(__DIR__); } return $space; } } namespace InnStudio\Prober\Components\Utils; final class UtilsClientIp { public static function getV4() { $keys = array('HTTP_X_FORWARDED_FOR', 'HTTP_CLIENT_IP', 'REMOTE_ADDR'); foreach ($keys as $key) { if ( ! isset($_SERVER[$key])) { continue; } $ip = array_filter(explode(',', $_SERVER[$key])); $ip = filter_var(end($ip), \FILTER_VALIDATE_IP); if ($ip) { return $ip; } } return ''; } } namespace InnStudio\Prober\Components\Utils; final class UtilsMemory { public static function getMemoryUsage($key) { $key = ucfirst($key); if (UtilsApi::isWin()) { return 0; } static $memInfo = null; if (null === $memInfo) { $memInfoFile = '/proc/meminfo'; if ( ! @is_readable($memInfoFile)) { $memInfo = 0; return 0; } $memInfo = file_get_contents($memInfoFile); $memInfo = str_replace(array( ' kB', ' ', ), '', $memInfo); $lines = array(); foreach (explode("\n", $memInfo) as $line) { if ( ! $line) { continue; } $line = explode(':', $line); $lines[$line[0]] = (float) $line[1] * 1024; } $memInfo = $lines; } if ( ! isset($memInfo['MemTotal'])) { return 0; } switch ($key) { case 'MemRealUsage': if (isset($memInfo['MemAvailable'])) { return $memInfo['MemTotal'] - $memInfo['MemAvailable']; } if (isset($memInfo['MemFree'])) { if (isset($memInfo['Buffers'], $memInfo['Cached'])) { return $memInfo['MemTotal'] - $memInfo['MemFree'] - $memInfo['Buffers'] - $memInfo['Cached']; } return $memInfo['MemTotal'] - $memInfo['Buffers']; } return 0; case 'MemUsage': return isset($memInfo['MemFree']) ? $memInfo['MemTotal'] - $memInfo['MemFree'] : 0; case 'SwapUsage': if ( ! isset($memInfo['SwapTotal']) || ! isset($memInfo['SwapFree'])) { return 0; } return $memInfo['SwapTotal'] - $memInfo['SwapFree']; } return isset($memInfo[$key]) ? $memInfo[$key] : 0; } } namespace InnStudio\Prober\Components\Utils; final class UtilsLocation { public static function getLocation($ip) { $url = "http://api.ipstack.com/{$ip}?access_key=e4394fd12dbbefa08612306ca05baca3&format=1"; $content = ''; if (\function_exists('\\curl_init')) { $ch = curl_init(); curl_setopt_array($ch, array( \CURLOPT_URL => $url, \CURLOPT_RETURNTRANSFER => true, )); $content = curl_exec($ch); curl_close($ch); } else { $content = file_get_contents($url); } $item = json_decode($content, true) ?: null; if ( ! $item) { return; } return array( 'country' => isset($item['country_name']) ? $item['country_name'] : '', 'region' => isset($item['region_name']) ? $item['region_name'] : '', 'city' => isset($item['city']) ? $item['city'] : '', 'flag' => isset($item['location']['country_flag_emoji']) ? $item['location']['country_flag_emoji'] : '', ); } } namespace InnStudio\Prober\Components\Utils; final class UtilsTime { public static function getTime() { return date('Y-m-d H:i:s'); } public static function getUtcTime() { return gmdate('Y/m/d H:i:s'); } public static function getUptime() { $filePath = '/proc/uptime'; if ( ! @is_file($filePath)) { return array( 'days' => 0, 'hours' => 0, 'mins' => 0, 'secs' => 0, ); } $str = file_get_contents($filePath); $num = (float) $str; $secs = (int) fmod($num, 60); $num = (int) ($num / 60); $mins = (int) $num % 60; $num = (int) ($num / 60); $hours = (int) $num % 24; $num = (int) ($num / 24); $days = (int) $num; return array( 'days' => $days, 'hours' => $hours, 'mins' => $mins, 'secs' => $secs, ); } } namespace InnStudio\Prober\Components\Utils; final class UtilsApi { public static function jsonDecode($json, $depth = 512, $options = 0) { $json = preg_replace("#(/\\*([^*]|[\r\n]|(\\*+([^*/]|[\r\n])))*\\*+/)|([\\s\t]//.*)|(^//.*)#", '', $json); if (\PHP_VERSION_ID >= 50400) { return json_decode($json, true, $depth, $options); } if (\PHP_VERSION_ID >= 50300) { return json_decode($json, true, $depth); } return json_decode($json, true); } public static function setFileCacheHeader() { $seconds = 3600 * 24 * 30 * 12; $ts = gmdate('D, d M Y H:i:s', (int) $_SERVER['REQUEST_TIME'] + $seconds) . ' GMT'; header("Expires: {$ts}"); header('Pragma: cache'); header("Cache-Control: public, max-age={$seconds}"); } public static function getErrNameByCode($code) { if (0 === (int) $code) { return ''; } $levels = array( \E_ALL => 'E_ALL', \E_USER_DEPRECATED => 'E_USER_DEPRECATED', \E_DEPRECATED => 'E_DEPRECATED', \E_RECOVERABLE_ERROR => 'E_RECOVERABLE_ERROR', \E_STRICT => 'E_STRICT', \E_USER_NOTICE => 'E_USER_NOTICE', \E_USER_WARNING => 'E_USER_WARNING', \E_USER_ERROR => 'E_USER_ERROR', \E_COMPILE_WARNING => 'E_COMPILE_WARNING', \E_COMPILE_ERROR => 'E_COMPILE_ERROR', \E_CORE_WARNING => 'E_CORE_WARNING', \E_CORE_ERROR => 'E_CORE_ERROR', \E_NOTICE => 'E_NOTICE', \E_PARSE => 'E_PARSE', \E_WARNING => 'E_WARNING', \E_ERROR => 'E_ERROR', ); $result = ''; foreach ($levels as $number => $name) { if (($code & $number) === $number) { $result .= ('' !== $result ? ', ' : '') . $name; } } return $result; } public static function isWin() { return \PHP_OS === 'WINNT'; } } namespace InnStudio\Prober\Components\Utils; final class UtilsNetwork { public static function getStats() { $filePath = '/proc/net/dev'; if ( ! @is_readable($filePath)) { return; } static $eths = null; if (null !== $eths) { return $eths; } $lines = file($filePath); unset($lines[0], $lines[1]); $eths = array(); foreach ($lines as $line) { $line = preg_replace('/\\s+/', ' ', trim($line)); $lineArr = explode(':', $line); $numberArr = explode(' ', trim($lineArr[1])); $rx = (float) $numberArr[0]; $tx = (float) $numberArr[8]; if ( ! $rx && ! $tx) { continue; } $eths[] = array( 'id' => $lineArr[0], 'rx' => $rx, 'tx' => $tx, ); } return $eths; } } namespace InnStudio\Prober\Components\Utils; final class UtilsServerIp { public static function getV4() { return self::getV4ViaInnStudioCom() ?: self::getV4ViaIpv6TestCom() ?: self::getV4Local(); } public static function getV6() { return self::getV6ViaInnStudioCom() ?: self::getV6ViaIpv6TestCom() ?: self::getV6Local(); } private static function getV4Local() { $content = isset($_SERVER['SERVER_ADDR']) ? $_SERVER['SERVER_ADDR'] : ''; return filter_var($content, \FILTER_VALIDATE_IP, array( 'flags' => \FILTER_FLAG_IPV4, )) ?: ''; } private static function getV6Local() { $content = isset($_SERVER['SERVER_ADDR']) ? $_SERVER['SERVER_ADDR'] : ''; return filter_var($content, \FILTER_VALIDATE_IP, array( 'flags' => \FILTER_FLAG_IPV6, )) ?: ''; } private static function getV4ViaInnStudioCom() { return self::getContent('https://ipv4.inn-studio.com/ip/', 4); } private static function getV6ViaInnStudioCom() { return self::getContent('https://ipv6.inn-studio.com/ip/', 6); } private static function getV4ViaIpv6TestCom() { return self::getContent('https://v4.ipv6-test.com/api/myip.php', 4); } private static function getV6ViaIpv6TestCom() { return self::getContent('https://v6.ipv6-test.com/api/myip.php', 6); } private static function getContent($url, $type) { $content = ''; if (\function_exists('curl_init')) { $ch = curl_init(); curl_setopt_array($ch, array( \CURLOPT_URL => $url, \CURLOPT_RETURNTRANSFER => true, )); $content = curl_exec($ch); curl_close($ch); } else { $content = file_get_contents($url); } return (string) filter_var($content, \FILTER_VALIDATE_IP, array( 'flags' => 6 === $type ? \FILTER_FLAG_IPV6 : \FILTER_FLAG_IPV4, )) ?: ''; } } namespace InnStudio\Prober\Components\Utils; use COM; final class UtilsCpu { public static function getLoadAvg() { if (UtilsApi::isWin()) { return array(0, 0, 0); } return array_map(function ($load) { return (float) sprintf('%.2f', $load); }, sys_getloadavg()); } public static function getModel() { $filePath = '/proc/cpuinfo'; if ( ! @is_readable($filePath)) { return ''; } $content = file_get_contents($filePath); $cores = substr_count($content, 'cache size'); $lines = explode("\n", $content); $modelName = explode(':', $lines[4]); $modelName = trim($modelName[1]); $cacheSize = explode(':', $lines[8]); $cacheSize = trim($cacheSize[1]); return "{$cores} x {$modelName} / " . sprintf('%s cache', $cacheSize); } public static function getWinUsage() { $usage = array( 'idle' => 100, 'user' => 0, 'sys' => 0, 'nice' => 0, ); if (class_exists('COM')) { $wmi = new COM('Winmgmts://'); $server = $wmi->execquery('SELECT LoadPercentage FROM Win32_Processor'); $total = 0; foreach ($server as $cpu) { $total += (int) $cpu->loadpercentage; } $total = (float) $total / \count($server); $usage['idle'] = 100 - $total; $usage['user'] = $total; } else { if ( ! \function_exists('exec')) { return $usage; } $p = array(); exec('wmic cpu get LoadPercentage', $p); if (isset($p[1])) { $percent = (int) $p[1]; $usage['idle'] = 100 - $percent; $usage['user'] = $percent; } } return $usage; } public static function getUsage() { static $cpu = null; if (null !== $cpu) { return $cpu; } if (UtilsApi::isWin()) { $cpu = self::getWinUsage(); return $cpu; } $filePath = '/proc/stat'; if ( ! @is_readable($filePath)) { $cpu = array(); return array( 'user' => 0, 'nice' => 0, 'sys' => 0, 'idle' => 100, ); } $stat1 = file($filePath); sleep(1); $stat2 = file($filePath); $info1 = explode(' ', preg_replace('!cpu +!', '', $stat1[0])); $info2 = explode(' ', preg_replace('!cpu +!', '', $stat2[0])); $dif = array(); $dif['user'] = $info2[0] - $info1[0]; $dif['nice'] = $info2[1] - $info1[1]; $dif['sys'] = $info2[2] - $info1[2]; $dif['idle'] = $info2[3] - $info1[3]; $total = array_sum($dif); $cpu = array(); foreach ($dif as $x => $y) { $cpu[$x] = round($y / $total * 100, 1); } return $cpu; } } namespace InnStudio\Prober\Components\ServerBenchmark; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Conf extends ServerBenchmarkConstants { public function __construct() { EventsApi::on('conf', function (array $conf) { $conf[$this->ID] = array( 'disabledMyServerBenchmark' => XconfigApi::isDisabled('myServerBenchmark'), ); return $conf; }); } } namespace InnStudio\Prober\Components\ServerBenchmark; use InnStudio\Prober\Components\Events\EventsApi; use InnStudio\Prober\Components\Rest\RestResponse; use InnStudio\Prober\Components\Rest\StatusCode; use InnStudio\Prober\Components\Xconfig\XconfigApi; final class Init extends ServerBenchmarkApi { public function __construct() { EventsApi::on('init', function ($action) { if (XconfigApi::isDisabled('myServerBenchmark')) { return $action; } if ('benchmark' !== $action) { return $action; } $this->render(); }); } private function render() { $remainingSeconds = $this->getRemainingSeconds(); $response = new RestResponse(); if ($remainingSeconds) { $response->setStatus(StatusCode::$TOO_MANY_REQUESTS); $response->setData(array( 'seconds' => $remainingSeconds, ))->json()->end(); } set_time_limit(0); $this->setExpired(); $this->setIsRunning(true); $marks = $this->getPoints(); $this->setIsRunning(false); $response->setData(array( 'marks' => $marks, ))->json()->end(); } } namespace InnStudio\Prober\Components\ServerBenchmark; final class ServerBenchmark { public function __construct() { new Init(); new Conf(); new FetchBefore(); } } namespace InnStudio\Prober\Components\ServerBenchmark; use InnStudio\Prober\Components\Events\EventsApi; final class FetchBefore extends ServerBenchmarkApi { public function __construct() { EventsApi::on('fetchBefore', array($this, 'filter')); EventsApi::on('fetchNodesBefore', array($this, 'filter')); EventsApi::on('fetchNodeBefore', array($this, 'filter')); } public function filter() { while ($this->isRunning()) { sleep(2); } } } namespace InnStudio\Prober\Components\ServerBenchmark; use InnStudio\Prober\Components\Xconfig\XconfigApi; class ServerBenchmarkApi { public function getTmpRecorderPath() { return sys_get_temp_dir() . \DIRECTORY_SEPARATOR . 'xproberBenchmarkCool'; } public function setRecorder(array $data) { return (bool) file_put_contents($this->getTmpRecorderPath(), json_encode(array_merge($this->getRecorder(), $data))); } public function setExpired() { return (bool) $this->setRecorder(array( 'expired' => (int) $_SERVER['REQUEST_TIME'] + $this->cooldown(), )); } public function setIsRunning($isRunning) { return (bool) $this->setRecorder(array( 'isRunning' => true === (bool) $isRunning ? 1 : 0, )); } public function isRunning() { $recorder = $this->getRecorder(); return isset($recorder['isRunning']) ? 1 === (int) $recorder['isRunning'] : false; } public function getRemainingSeconds() { $recorder = $this->getRecorder(); $expired = isset($recorder['expired']) ? (int) $recorder['expired'] : 0; if ( ! $expired) { return 0; } return $expired > (int) $_SERVER['REQUEST_TIME'] ? $expired - (int) $_SERVER['REQUEST_TIME'] : 0; } public function getPointsByTime($time) { return pow(10, 3) - (int) ($time * pow(10, 3)); } public function getCpuPoints() { $data = 'inn-studio.com'; $hash = array('md5', 'sha512', 'sha256', 'crc32'); $start = microtime(true); $i = 0; while (microtime(true) - $start < .5) { foreach ($hash as $v) { hash($v, $data); } ++$i; } return $i; } public function getWritePoints() { $tmpDir = sys_get_temp_dir(); if ( ! is_writable($tmpDir)) { return 0; } $i = 0; $start = microtime(true); while (microtime(true) - $start < .5) { $filePath = "{$tmpDir}/innStudioWriteBenchmark:{$i}"; clearstatcache(true, $filePath); file_put_contents($filePath, $filePath); unlink($filePath); ++$i; } return $i; } public function getReadPoints() { $tmpDir = sys_get_temp_dir(); if ( ! is_readable($tmpDir)) { return 0; } $i = 0; $start = microtime(true); $filePath = "{$tmpDir}/innStudioIoBenchmark"; if ( ! file_exists($filePath)) { file_put_contents($filePath, 'innStudioReadBenchmark'); } while (microtime(true) - $start < .5) { clearstatcache(true, $filePath); file_get_contents($filePath); ++$i; } return $i; } public function getPoints() { return array( 'cpu' => $this->getMedian(array( $this->getCpuPoints(), $this->getCpuPoints(), $this->getCpuPoints(), )), 'write' => $this->getMedian(array( $this->getWritePoints(), $this->getWritePoints(), $this->getWritePoints(), )), 'read' => $this->getMedian(array( $this->getReadPoints(), $this->getReadPoints(), $this->getReadPoints(), )), ); } private function cooldown() { return (int) XconfigApi::get('serverBenchmarkCd') ?: 60; } private function getRecorder() { $path = $this->getTmpRecorderPath(); $defaults = array( 'expired' => 0, 'running' => 0, ); if ( ! @is_readable($path)) { return $defaults; } $data = (string) file_get_contents($path); if ( ! $data) { return $defaults; } $data = json_decode($data, true); if ( ! $data) { return $defaults; } return array_merge($defaults, $data); } private function getMedian(array $arr) { $count = \count($arr); sort($arr); $mid = floor(($count - 1) / 2); return ($arr[$mid] + $arr[$mid + 1 - $count % 2]) / 2; } } namespace InnStudio\Prober\Components\ServerBenchmark; class ServerBenchmarkConstants { protected $ID = 'serverBenchmark'; } namespace InnStudio\Prober\Components\Rest; final class RestResponse { private $data; private $headers = array(); private $status = 200; public function __construct(array $data = null, $status = 200, array $headers = array()) { $this->setData($data); $this->setStatus($status); $this->setHeaders($headers); } public function setHeader($key, $value, $replace = true) { if ($replace || ! isset($this->headers[$key])) { $this->headers[$key] = $value; } else { $this->headers[$key] .= ", {$value}"; } } public function setHeaders(array $headers) { $this->headers = $headers; } public function getHeaders() { return $this->headers; } public function setStatus($status) { $this->status = $status; return $this; } public function getStatus() { return $this->status; } public function setData($data) { $this->data = $data; return $this; } public function getData() { return $this->data; } public function json() { $this->httpResponseCode($this->status); header('Content-Type: application/json'); header('Expires: 0'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); header('Cache-Control: no-store, no-cache, must-revalidate'); header('Pragma: no-cache'); echo $this->toJson(); return $this; } public function end() { exit; } private function toJson() { $data = $this->getData(); if (null === $data) { return ''; } return json_encode($data); } private function httpResponseCode($code) { if (\function_exists('http_response_code')) { return http_response_code($code); } $statusCode = array( 100 => 'Continue', 101 => 'Switching Protocols', 102 => 'Processing', 200 => 'OK', 201 => 'Created', 202 => 'Accepted', 203 => 'Non-Authoritative Information', 204 => 'No Content', 205 => 'Reset Content', 206 => 'Partial Content', 207 => 'Multi-Status', 300 => 'Multiple Choices', 301 => 'Moved Permanently', 302 => 'Found', 303 => 'See Other', 304 => 'Not Modified', 305 => 'Use Proxy', 306 => '(Unused)', 307 => 'Temporary Redirect', 308 => 'Permanent Redirect', 400 => 'Bad Request', 401 => 'Unauthorized', 402 => 'Payment Required', 403 => 'Forbidden', 404 => 'Not Found', 405 => 'Method Not Allowed', 406 => 'Not Acceptable', 407 => 'Proxy Authentication Required', 408 => 'Request Timeout', 409 => 'Conflict', 410 => 'Gone', 411 => 'Length Required', 412 => 'Precondition Failed', 413 => 'Request Entity Too Large', 414 => 'Request-URI Too Long', 415 => 'Unsupported Media Type', 416 => 'Requested Range Not Satisfiable', 417 => 'Expectation Failed', 418 => "I'm a teapot", 419 => 'Authentication Timeout', 420 => 'Enhance Your Calm', 422 => 'Unprocessable Entity', 423 => 'Locked', 424 => 'Failed Dependency', 424 => 'Method Failure', 425 => 'Unordered Collection', 426 => 'Upgrade Required', 428 => 'Precondition Required', 429 => 'Too Many Requests', 431 => 'Request Header Fields Too Large', 444 => 'No Response', 449 => 'Retry With', 450 => 'Blocked by Windows Parental Controls', 451 => 'Unavailable For Legal Reasons', 494 => 'Request Header Too Large', 495 => 'Cert Error', 496 => 'No Cert', 497 => 'HTTP to HTTPS', 499 => 'Client Closed Request', 500 => 'Internal Server Error', 501 => 'Not Implemented', 502 => 'Bad Gateway', 503 => 'Service Unavailable', 504 => 'Gateway Timeout', 505 => 'HTTP Version Not Supported', 506 => 'Variant Also Negotiates', 507 => 'Insufficient Storage', 508 => 'Loop Detected', 509 => 'Bandwidth Limit Exceeded', 510 => 'Not Extended', 511 => 'Network Authentication Required', 598 => 'Network read timeout error', 599 => 'Network connect timeout error', ); $msg = isset($statusCode[$code]) ? $statusCode[$code] : 'Unknow error'; $protocol = (isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0'); header("{$protocol} {$code} {$msg}"); } } namespace InnStudio\Prober\Components\Rest; final class StatusCode { public static $__default = 200; public static $CONTINUE = 100; public static $SWITCHING_PROTOCOLS = 101; public static $PROCESSING = 102; public static $OK = 200; public static $CREATED = 201; public static $ACCEPTED = 202; public static $NON_AUTHORITATIVE_INFORMATION = 203; public static $NO_CONTENT = 204; public static $RESET_CONTENT = 205; public static $PARTIAL_CONTENT = 206; public static $MULTI_STATUS = 207; public static $ALREADY_REPORTED = 208; public static $IM_USED = 226; public static $MULTIPLE_CHOICES = 300; public static $MOVED_PERMANENTLY = 301; public static $FOUND = 302; public static $SEE_OTHER = 303; public static $NOT_MODIFIED = 304; public static $USE_PROXY = 305; public static $SWITCH_PROXY = 306; public static $TEMPORARY_REDIRECT = 307; public static $PERMANENT_REDIRECT = 308; public static $BAD_REQUEST = 400; public static $UNAUTHORIZED = 401; public static $PAYMENT_REQUIRED = 402; public static $FORBIDDEN = 403; public static $NOT_FOUND = 404; public static $METHOD_NOT_ALLOWED = 405; public static $NOT_ACCEPTABLE = 406; public static $PROXY_AUTHENTICATION_REQUIRED = 407; public static $REQUEST_TIMEOUT = 408; public static $CONFLICT = 409; public static $GONE = 410; public static $LENGTH_REQUIRED = 411; public static $PRECONDITION_FAILED = 412; public static $REQUEST_ENTITY_TOO_LARGE = 413; public static $REQUEST_URI_TOO_LONG = 414; public static $UNSUPPORTED_MEDIA_TYPE = 415; public static $REQUESTED_RANGE_NOT_SATISFIABLE = 416; public static $EXPECTATION_FAILED = 417; public static $I_AM_A_TEAPOT = 418; public static $AUTHENTICATION_TIMEOUT = 419; public static $ENHANCE_YOUR_CALM = 420; public static $METHOD_FAILURE = 420; public static $UNPROCESSABLE_ENTITY = 422; public static $LOCKED = 423; public static $FAILED_DEPENDENCY = 424; public static $UNORDERED_COLLECTION = 425; public static $UPGRADE_REQUIRED = 426; public static $PRECONDITION_REQUIRED = 428; public static $TOO_MANY_REQUESTS = 429; public static $REQUEST_HEADER_FIELDS_TOO_LARGE = 431; public static $NO_RESPONSE = 444; public static $RETRY_WITH = 449; public static $BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS = 450; public static $REDIRECT = 451; public static $UNAVAILABLE_FOR_LEGAL_REASONS = 451; public static $REQUEST_HEADER_TOO_LARGE = 494; public static $CERT_ERROR = 495; public static $NO_CERT = 496; public static $HTTP_TO_HTTPS = 497; public static $CLIENT_CLOSED_REQUEST = 499; public static $INTERNAL_SERVER_ERROR = 500; public static $NOT_IMPLEMENTED = 501; public static $BAD_GATEWAY = 502; public static $SERVICE_UNAVAILABLE = 503; public static $GATEWAY_TIMEOUT = 504; public static $HTTP_VERSION_NOT_SUPPORTED = 505; public static $VARIANT_ALSO_NEGOTIATES = 506; public static $INSUFFICIENT_STORAGE = 507; public static $LOOP_DETECTED = 508; public static $BANDWIDTH_LIMIT_EXCEEDED = 509; public static $NOT_EXTENDED = 510; public static $NETWORK_AUTHENTICATION_REQUIRED = 511; public static $NETWORK_READ_TIMEOUT_ERROR = 598; public static $NETWORK_CONNECT_TIMEOUT_ERROR = 599; }new \InnStudio\Prober\Components\Database\Database(); new \InnStudio\Prober\Components\Fetch\Fetch(); new \InnStudio\Prober\Components\Footer\Footer(); new \InnStudio\Prober\Components\MyInfo\MyInfo(); new \InnStudio\Prober\Components\NetworkStats\NetworkStats(); new \InnStudio\Prober\Components\Nodes\Nodes(); new \InnStudio\Prober\Components\PhpExtensions\PhpExtensions(); new \InnStudio\Prober\Components\PhpInfo\PhpInfo(); new \InnStudio\Prober\Components\PhpInfoDetail\PhpInfoDetail(); new \InnStudio\Prober\Components\Ping\Ping(); new \InnStudio\Prober\Components\Script\Script(); new \InnStudio\Prober\Components\ServerBenchmark\ServerBenchmark(); new \InnStudio\Prober\Components\ServerInfo\ServerInfo(); new \InnStudio\Prober\Components\ServerStatus\ServerStatus(); new \InnStudio\Prober\Components\Style\Style(); new \InnStudio\Prober\Components\TemperatureSensor\TemperatureSensor(); new \InnStudio\Prober\Components\Timezone\Timezone(); new \InnStudio\Prober\Components\Updater\Updater(); new \InnStudio\Prober\Components\Bootstrap\Bootstrap();