From 854f8af7301e2bc33d638a0b43246fea1797acaf Mon Sep 17 00:00:00 2001 From: Butcherman Date: Mon, 16 May 2022 20:09:53 -0700 Subject: [PATCH 01/11] Temporarily Disabled Backups --- app/Console/Commands/TbBackupCommand.php | 40 --- .../Commands/TbBackupDefaultCommand.php | 81 ----- .../Commands/TbBackupRestoreCommand.php | 315 ------------------ app/Console/Kernel.php | 8 +- .../Controllers/Admin/BackupController.php | 16 +- app/Jobs/ApplicationBackupJob.php | 143 -------- app/Jobs/ApplicationRestore.php | 35 -- composer.json | 1 - composer.lock | 201 ++++------- config/masked-dump.php | 17 - 10 files changed, 80 insertions(+), 777 deletions(-) delete mode 100644 app/Console/Commands/TbBackupCommand.php delete mode 100644 app/Console/Commands/TbBackupDefaultCommand.php delete mode 100644 app/Console/Commands/TbBackupRestoreCommand.php delete mode 100644 app/Jobs/ApplicationBackupJob.php delete mode 100644 app/Jobs/ApplicationRestore.php delete mode 100644 config/masked-dump.php diff --git a/app/Console/Commands/TbBackupCommand.php b/app/Console/Commands/TbBackupCommand.php deleted file mode 100644 index e698bba50..000000000 --- a/app/Console/Commands/TbBackupCommand.php +++ /dev/null @@ -1,40 +0,0 @@ -line('Starting application backup'); - $this->line('Please wait...'); - - $files = $this->option('databaseOnly') ? false : true; - $database = $this->option('filesOnly') ? false : true; - - ApplicationBackupJob::dispatch($database, $files)->onConnection('sync'); - - $this->line('Backup Completed'); - return 0; - } -} diff --git a/app/Console/Commands/TbBackupDefaultCommand.php b/app/Console/Commands/TbBackupDefaultCommand.php deleted file mode 100644 index 4dc1d206b..000000000 --- a/app/Console/Commands/TbBackupDefaultCommand.php +++ /dev/null @@ -1,81 +0,0 @@ -warn(' ___________________________________________________________________ '); - $this->warn('| IMPORTANT NOTE: |'); - $this->warn('| ALL EXISTING DATA WILL BE ERASED |'); - $this->warn('| THIS CANNOT BE UNDONE!!! |'); - $this->warn('|___________________________________________________________________|'); - $this->warn(' '); - - if(!$this->option('confirmed') && !$this->confirm('Are you sure?')) - { - $this->line('Operation Canceled'); - return 0; - } - - $this->call('down'); - $this->callSilently('migrate:fresh'); - $this->wipeFiles(); - if($this->option('demo')) - { - $this->line('Creating demo data'); - $this->callSilently('db:seed'); - } - $this->callSilently('storage:link'); - - $this->info('Operation complete'); - $this->call('up'); - return 0; - } - - protected function wipeFiles() - { - $disk = 'local'; - - // Clear all files from the disk - $files = Storage::disk($disk)->allFiles(); - - foreach($files as $file) - { - if($file != '.gitignore') - { - Storage::disk($disk)->delete($file); - } - } - - // Clear all sub directories from the disk - $folders = Storage::disk($disk)->directories(); - foreach($folders as $folder) - { - Storage::disk($disk)->deleteDirectory($folder); - } - - // Restore the public directory - Storage::disk('public')->put('.gitignore', '*'); - Storage::disk('public')->append('.gitignore', '!.gitignore'); - Storage::disk('public')->append('.gitignore', ''); - } -} diff --git a/app/Console/Commands/TbBackupRestoreCommand.php b/app/Console/Commands/TbBackupRestoreCommand.php deleted file mode 100644 index cdec6be56..000000000 --- a/app/Console/Commands/TbBackupRestoreCommand.php +++ /dev/null @@ -1,315 +0,0 @@ -newLine(); - $this->info('Starting Tech Bench Restore'); - - // If there was not a filename supplied, give the choice of what file to restore - if(is_null($this->argument('filename'))) - { - if(!$this->assignBackupFile()) - { - return 0; - } - } - else - { - $this->filename = $this->argument('filename'); - } - - // Verify that the backup file exists - if(!Storage::disk('backups')->exists($this->filename)) - { - $this->error(' The filename entered does not exist '); - $this->error(' Exiting... '); - return 0; - } - - // Verify a proper backup file - if(!$this->validateFile()) - { - $this->error(' The backup file specified is not a Tech Bench Backup '); - $this->error(' Exiting... '); - return 0; - } - - if(!$this->checkVersion()) - { - $this->cleanup(); - return 0; - } - - // Verify that the user wants to run this process - if(!$this->option('confirmed')) - { - $this->warn(' ___________________________________________________________________ '); - $this->warn('| IMPORTANT NOTE: |'); - $this->warn('| ALL EXISTING DATA WILL BE ERASED AND REPLACED WITH THE BACKUP |'); - $this->warn('|___________________________________________________________________|'); - $this->warn(' '); - } - - if(!$this->option('confirmed') && !$this->confirm('Are you sure?')) - { - $this->cleanup(); - $this->line('Operation Canceled'); - return 0; - } - - // Start the restore process - Log::critical('Restoring backup from filename - '.$this->filename); - $this->newLine(); - $this->warn('Restoring backup from filename - '.$this->filename); - - $this->call('down'); - $this->newLine(); - if(!$this->loadDatabase()) - { - $this->error(' Unable to modify database structure '); - $this->error(' Please verify that the database user in the .env file has write permissions '); - $this->error(' Exiting.... '); - $this->cleanup(); - return 0; - } - $this->loadFiles(); - - // $this->cleanup(); - $this->newLine(); - $this->info('Tech Bench has been restored'); - $this->call('up'); - return 0; - } - - /** - * If no filename was specified, give user a list of available files to select from - */ - protected function assignBackupFile() - { - $backupList = Storage::disk('backups')->files(); - $backups = ['Cancel']; - foreach($backupList as $b) - { - $parts = pathinfo($b); - if($parts['extension'] === 'zip') - { - $backups[] = $b; - } - } - - $this->line('Please select which backup file to restore'); - $choice = $this->choice('Select Number:', $backups); - - if($choice === 'Cancel') - { - $this->line('Canceling...'); - return false; - } - - $this->filename = $choice; - return true; - } - - /** - * Verify that the file is in fact a valid Tech Bench backup file (to the best of our abilities) - */ - protected function validateFile() - { - $this->line('Checking backup file'); - - // This must be a .zip file - $fileParts = pathinfo($this->filename); - $this->basename = $fileParts['filename'].DIRECTORY_SEPARATOR; - if($fileParts['extension'] !== 'zip') - { - return false; - } - - // Open and extract the archive file - $archive = Zip::open(config('filesystems.disks.backups.root').DIRECTORY_SEPARATOR.$this->filename); - $archive->extract(config('filesystems.disks.backups.root').DIRECTORY_SEPARATOR.$this->basename); - $archive->close(); - - // Make sure that the version, .env, and module files are there - if(Storage::disk('backups')->missing($this->basename.'.env') - || Storage::disk('backups')->missing($this->basename.'modules.txt') - || Storage::disk('backups')->missing($this->basename.'version.txt')) - { - return false; - } - - // Verify that the .env file is writeable - if(!is_writable(base_path().DIRECTORY_SEPARATOR.'.env')) - { - return false; - } - - return true; - } - - /** - * Remove any files created by this process - */ - protected function cleanup() - { - $this->line('Cleaning up...'); - Storage::disk('backups')->deleteDirectory($this->basename); - } - - /** - * Make sure that the Tech Bench backup is the same version as the Tech Bench - */ - protected function checkVersion() - { - // Backup file version - $verText = Storage::disk('backups')->get($this->basename.DIRECTORY_SEPARATOR.'version.txt'); - $verArr = explode(' ', $verText); - $bkVer = floatval($verArr[1]); - // Tech Bench Application version - $verObj = new Version; - $appVer = floatval($verObj->major().'.'.$verObj->minor()); - - if($appVer < $bkVer) - { - $this->newLine(); - $this->error('| This Backup is from a newer version of Tech Bench |'); - $this->error('| Please install the version '.$bkVer.' before trying to restore this backup |'); - $this->error('| Exiting... |'); - $this->newLine(); - return false; - } - - return true; - } - - /** - * Load the files from the backup - */ - protected function loadFiles() - { - // Start with the .env file - $env = Storage::disk('backups')->get($this->basename.'.env'); - File::put(base_path().DIRECTORY_SEPARATOR.'.env', $env); - - // Load application files if they are part of the backup - if(Storage::disk('backups')->exists($this->basename.'app')) - { - $this->line('Restoring files'); - $this->wipeDisk('local'); - $this->copyDisk('local'); - } - - } - - /** - * Load the database from the backup - */ - protected function loadDatabase() - { - if(Storage::disk('backups')->exists($this->basename.'backup.sql')) - { - $this->line('Restoring database'); - try{ - - DB::connection(DB::getDefaultConnection()) - ->getSchemaBuilder() - ->dropAllTables(); - DB::reconnect(); - } - catch(QueryException $e) - { - report($e); - return false; - } - - // Input the database information one line at a time - $dbFile = file(Storage::disk('backups')->path($this->basename.'backup.sql')); - foreach($dbFile as $line) - { - DB::unprepared(str_replace('\r\n', '', $line)); - } - - // Run any migrations in case the application is newer than the backup - $this->callSilently('migrate'); - - return true; - } - } - - /** - * Copy all of the files from a folder into a disk instance - */ - protected function copyDisk($disk) - { - // Get the root folder name - $folder = config('filesystems.disks.'.$disk.'.base_folder'); - $files = Storage::disk('backups')->allFiles($this->basename.$folder); - - foreach($files as $file) - { - $data = Storage::disk('backups')->get($file); - // Trim the file path to the correct new path - // If this is a Windows server, the directory separator will be incorrect - $rename = str_replace(str_replace('\\', '/', $this->basename).$folder, '', $file); - - Storage::disk($disk)->put($rename, $data); - } - - // Make sure that the symbolic link for the public folder exists - $this->callSilently('storage:link'); - } - - /** - * Wipe a directory along with all sub-directories - */ - protected function wipeDisk($disk) - { - // Clear all files from the disk - $files = Storage::disk($disk)->allFiles(); - - foreach($files as $file) - { - if($file != '.gitignore') - { - Storage::disk($disk)->delete($file); - } - } - - // Clear all sub directories from the disk - $folders = Storage::disk($disk)->directories(); - foreach($folders as $folder) - { - Storage::disk($disk)->deleteDirectory($folder); - } - } -} diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 8feb02cf5..f8f65c0df 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -27,10 +27,10 @@ protected function schedule(Schedule $schedule) $schedule->command('telescope:prune')->daily(); // Nightly backup will only run if the task is enabled - if(config('app.backups.enabled')) - { - $schedule->job(new ApplicationBackupJob(true, true))->dailyAt('02:00'); - } + // if(config('app.backups.enabled')) + // { + // $schedule->job(new ApplicationBackupJob(true, true))->dailyAt('02:00'); + // } } /** diff --git a/app/Http/Controllers/Admin/BackupController.php b/app/Http/Controllers/Admin/BackupController.php index 7c39278fe..9a3b7b35a 100644 --- a/app/Http/Controllers/Admin/BackupController.php +++ b/app/Http/Controllers/Admin/BackupController.php @@ -68,14 +68,14 @@ public function show($id) { $this->authorize('viewAny', AppSettings::class); - if($id === 'run') - { - ApplicationBackupJob::dispatch(); - return back()->with([ - 'message' => 'Backup Started Successfully - currently running in background', - 'type' => 'success', - ]); - } + // if($id === 'run') + // { + // ApplicationBackupJob::dispatch(); + // return back()->with([ + // 'message' => 'Backup Started Successfully - currently running in background', + // 'type' => 'success', + // ]); + // } return abort(404); } diff --git a/app/Jobs/ApplicationBackupJob.php b/app/Jobs/ApplicationBackupJob.php deleted file mode 100644 index c21c196f5..000000000 --- a/app/Jobs/ApplicationBackupJob.php +++ /dev/null @@ -1,143 +0,0 @@ -database = $database; - $this->files = $files; - $this->backupName = 'TB_Backup_'.Carbon::now()->format('Ymd_his').'.zip'; - $this->diskLocal = config('filesystems.disks.backups.root').DIRECTORY_SEPARATOR; - } - - /** - * Execute the job - */ - public function handle() - { - Log::notice('Starting Application Backup', [ - 'Backup Database' => $this->database, - 'Backup Files' => $this->files - ]); - - $this->openArchive(); - $this->backupFiles(); - $this->backupDatabase(); - $this->closeArchive(); - $this->cleanup(); - - Log::notice('Backup Completed Successfully - file located at '.$this->diskLocal.$this->backupName); - } - - /** - * Create and open up the Archive Zip file - */ - protected function openArchive() - { - // Create a file that holds the current version of the Tech Bench application - Log::debug('Writing version file'); - Storage::disk('backups')->put('version.txt', (new Version)->version_only()); - // Create a file that holds all enabled modules - Log::debug('Writing modules file'); - Storage::disk('backups')->put('modules.txt', Module::all()); - - // Create the backup Zip file - Log::debug('Creating archive file - '.$this->diskLocal.$this->backupName); - $this->archive = Zip::create($this->diskLocal.$this->backupName); - // Add the version and module files - Log::debug('Adding version and modules file to archive'); - $this->archive->add($this->diskLocal.'version.txt'); - $this->archive->add($this->diskLocal.'modules.txt'); - // Add the .env file that holds local global config - Log::debug('Adding env file to archive'); - $this->archive->add(base_path().DIRECTORY_SEPARATOR.'.env'); - } - - /** - * Close and finish the Archive Zip File - */ - protected function closeArchive() - { - Log::debug('Closing archive'); - $this->archive->close(); - } - - /** - * Backup all of the Application Disks - */ - protected function backupFiles() - { - if(!$this->files) - { - Log::debug('Skipping file system backup'); - return false; - } - - // All uploaded files - Log::debug('Adding Local Disk to archive'); - $this->archive->add(config('filesystems.disks.local.root')); - // All public uploaded files (images for Tech Tips and Logos) - Log::debug('Adding Public Disk to archive'); - $this->archive->add(config('filesystems.disks.public.root')); - // All application logs - Log::debug('Adding all log files to archive'); - $this->archive->add(config('filesystems.disks.logs.root')); - } - - /** - * Backup the MySQL Database - */ - protected function backupDatabase() - { - if(!$this->database) - { - Log::debug('Skipping Database backup'); - return false; - } - - Log::Debug('Adding Database to archive'); - Artisan::call('db:masked-dump', ['output' => $this->diskLocal.'backup.sql']); - $this->archive->add($this->diskLocal.'backup.sql'); - } - - /** - * Remove any temporary files - */ - protected function cleanup() - { - Log::debug('Cleaning Up'); - Storage::disk('backups')->delete('version.txt'); - Storage::disk('backups')->delete('backup.sql'); - Storage::disk('backups')->delete('modules.txt'); - } -} diff --git a/app/Jobs/ApplicationRestore.php b/app/Jobs/ApplicationRestore.php deleted file mode 100644 index 1a2beed2d..000000000 --- a/app/Jobs/ApplicationRestore.php +++ /dev/null @@ -1,35 +0,0 @@ - DumpSchema::define() - ->allTables() - ->schemaOnly('failed_jobs') - ->schemaOnly('password_resets') - ->schemaOnly('jobs') - ->schemaOnly('user_initializes') -]; From fc9aa503e217400e219050f1f2d24d88d0c59171 Mon Sep 17 00:00:00 2001 From: Butcherman Date: Mon, 16 May 2022 20:38:37 -0700 Subject: [PATCH 02/11] Updated to Laravel 9 - missing version and dev-commands --- app/Http/Middleware/TrustProxies.php | 6 +- composer.json | 16 +- composer.lock | 1849 +++++++++++--------------- 3 files changed, 757 insertions(+), 1114 deletions(-) diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index d1a1351bd..beaa70dad 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -3,7 +3,8 @@ namespace App\Http\Middleware; use Illuminate\Http\Request; -use Fideloper\Proxy\TrustProxies as Middleware; +// use Fideloper\Proxy\TrustProxies as Middleware; +use Illuminate\Http\Middleware\TrustProxies as Middleware; class TrustProxies extends Middleware { @@ -15,5 +16,6 @@ class TrustProxies extends Middleware /** * The headers that should be used to detect proxies. */ - protected $headers = Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO | Request::HEADER_X_FORWARDED_AWS_ELB; + // protected $headers = Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO | Request::HEADER_X_FORWARDED_AWS_ELB; + protected $headers = Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO | Request::HEADER_X_FORWARDED_AWS_ELB; } diff --git a/composer.json b/composer.json index 67771cfcf..255d00c63 100644 --- a/composer.json +++ b/composer.json @@ -20,33 +20,31 @@ "php": "^8.0", "barryvdh/laravel-dompdf": "^1.0", "doctrine/dbal": "^3.3", - "fideloper/proxy": "^4.4", "fruitcake/laravel-cors": "^3.0", "glhd/gretel": "^1.5", "guzzlehttp/guzzle": "^7.4", - "inertiajs/inertia-laravel": "^0.5.4", + "inertiajs/inertia-laravel": "^0.6", "jackiedo/timezonelist": "^5.1", "jeroendesloovere/vcard": "^1.7", - "laravel/framework": "^8.75", + "laravel/framework": "^9.0", "laravel/horizon": "^5.9", "laravel/telescope": "^4.9", "laravel/tinker": "^2.7", "nwidart/laravel-modules": "^9.0", "pion/laravel-chunk-upload": "^1.5", - "pragmarx/version": "^1.3", "predis/predis": "^1.1", - "spatie/laravel-cookie-consent": "^2.12", + "spatie/laravel-cookie-consent": "^3.2", + "symfony/process": "^6.0", "tightenco/ziggy": "^1.4", "zanysoft/laravel-zip": "^1.0" }, "require-dev": { "barryvdh/laravel-debugbar": "^3.6", - "butcherman/artisan-dev-commands": "dev-dev", - "facade/ignition": "^2.17", "fakerphp/faker": "^1.19", "mockery/mockery": "^1.5", - "nunomaduro/collision": "^5.0", - "phpunit/phpunit": "^9.5" + "nunomaduro/collision": "^6.1", + "phpunit/phpunit": "^9.5", + "spatie/laravel-ignition": "^1.0" }, "config": { "optimize-autoloader": true, diff --git a/composer.lock b/composer.lock index a9f17e445..849c96e37 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8ac4add5576bd31592e7735b3f18c8c9", + "content-hash": "30cf12f88cf20650bca3fba18c276909", "packages": [ { "name": "barryvdh/laravel-dompdf", @@ -912,27 +912,27 @@ }, { "name": "egulias/email-validator", - "version": "2.1.25", + "version": "3.1.2", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4" + "reference": "ee0db30118f661fb166bcffbf5d82032df484697" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0dbf5d78455d4d6a41d186da50adc1122ec066f4", - "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ee0db30118f661fb166bcffbf5d82032df484697", + "reference": "ee0db30118f661fb166bcffbf5d82032df484697", "shasum": "" }, "require": { - "doctrine/lexer": "^1.0.1", - "php": ">=5.5", - "symfony/polyfill-intl-idn": "^1.10" + "doctrine/lexer": "^1.2", + "php": ">=7.2", + "symfony/polyfill-intl-idn": "^1.15" }, "require-dev": { - "dominicsayers/isemail": "^3.0.7", - "phpunit/phpunit": "^4.8.36|^7.5.15", - "satooshi/php-coveralls": "^1.0.1" + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^8.5.8|^9.3.3", + "vimeo/psalm": "^4" }, "suggest": { "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" @@ -940,7 +940,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -968,7 +968,7 @@ ], "support": { "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/2.1.25" + "source": "https://github.com/egulias/EmailValidator/tree/3.1.2" }, "funding": [ { @@ -976,65 +976,7 @@ "type": "github" } ], - "time": "2020-12-29T14:50:06+00:00" - }, - { - "name": "fideloper/proxy", - "version": "4.4.1", - "source": { - "type": "git", - "url": "https://github.com/fideloper/TrustedProxy.git", - "reference": "c073b2bd04d1c90e04dc1b787662b558dd65ade0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/c073b2bd04d1c90e04dc1b787662b558dd65ade0", - "reference": "c073b2bd04d1c90e04dc1b787662b558dd65ade0", - "shasum": "" - }, - "require": { - "illuminate/contracts": "^5.0|^6.0|^7.0|^8.0|^9.0", - "php": ">=5.4.0" - }, - "require-dev": { - "illuminate/http": "^5.0|^6.0|^7.0|^8.0|^9.0", - "mockery/mockery": "^1.0", - "phpunit/phpunit": "^6.0" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "Fideloper\\Proxy\\TrustedProxyServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "Fideloper\\Proxy\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Chris Fidao", - "email": "fideloper@gmail.com" - } - ], - "description": "Set trusted proxies for Laravel", - "keywords": [ - "load balancing", - "proxy", - "trusted proxy" - ], - "support": { - "issues": "https://github.com/fideloper/TrustedProxy/issues", - "source": "https://github.com/fideloper/TrustedProxy/tree/4.4.1" - }, - "time": "2020-10-22T13:48:01+00:00" + "time": "2021-10-11T09:18:27+00:00" }, { "name": "fruitcake/laravel-cors", @@ -1636,16 +1578,16 @@ }, { "name": "inertiajs/inertia-laravel", - "version": "v0.5.4", + "version": "v0.6.0", "source": { "type": "git", "url": "https://github.com/inertiajs/inertia-laravel.git", - "reference": "6a050ce04a710ac4809161558ac09fe49f13075e" + "reference": "ea8f8a5a377cfdc567820b6afd50767f1794c3df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/6a050ce04a710ac4809161558ac09fe49f13075e", - "reference": "6a050ce04a710ac4809161558ac09fe49f13075e", + "url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/ea8f8a5a377cfdc567820b6afd50767f1794c3df", + "reference": "ea8f8a5a377cfdc567820b6afd50767f1794c3df", "shasum": "" }, "require": { @@ -1693,7 +1635,7 @@ ], "support": { "issues": "https://github.com/inertiajs/inertia-laravel/issues", - "source": "https://github.com/inertiajs/inertia-laravel/tree/v0.5.4" + "source": "https://github.com/inertiajs/inertia-laravel/tree/v0.6.0" }, "funding": [ { @@ -1701,7 +1643,7 @@ "type": "github" } ], - "time": "2022-01-18T10:59:08+00:00" + "time": "2022-05-10T11:02:47+00:00" }, { "name": "jackiedo/timezonelist", @@ -1818,56 +1760,55 @@ }, { "name": "laravel/framework", - "version": "v8.83.12", + "version": "v9.12.2", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "2af2314989845db68dfbb65a54b8748ffaf26204" + "reference": "b5b5c635f1a93f277b5248725a1f7ffc97e20810" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/2af2314989845db68dfbb65a54b8748ffaf26204", - "reference": "2af2314989845db68dfbb65a54b8748ffaf26204", + "url": "https://api.github.com/repos/laravel/framework/zipball/b5b5c635f1a93f277b5248725a1f7ffc97e20810", + "reference": "b5b5c635f1a93f277b5248725a1f7ffc97e20810", "shasum": "" }, "require": { - "doctrine/inflector": "^1.4|^2.0", - "dragonmantank/cron-expression": "^3.0.2", - "egulias/email-validator": "^2.1.10", - "ext-json": "*", + "doctrine/inflector": "^2.0", + "dragonmantank/cron-expression": "^3.1", + "egulias/email-validator": "^3.1", "ext-mbstring": "*", "ext-openssl": "*", + "fruitcake/php-cors": "^1.2", "laravel/serializable-closure": "^1.0", - "league/commonmark": "^1.3|^2.0.2", - "league/flysystem": "^1.1", + "league/commonmark": "^2.2", + "league/flysystem": "^3.0", "monolog/monolog": "^2.0", "nesbot/carbon": "^2.53.1", - "opis/closure": "^3.6", - "php": "^7.3|^8.0", - "psr/container": "^1.0", - "psr/log": "^1.0|^2.0", - "psr/simple-cache": "^1.0", + "php": "^8.0.2", + "psr/container": "^1.1.1|^2.0.1", + "psr/log": "^1.0|^2.0|^3.0", + "psr/simple-cache": "^1.0|^2.0|^3.0", "ramsey/uuid": "^4.2.2", - "swiftmailer/swiftmailer": "^6.3", - "symfony/console": "^5.4", - "symfony/error-handler": "^5.4", - "symfony/finder": "^5.4", - "symfony/http-foundation": "^5.4", - "symfony/http-kernel": "^5.4", - "symfony/mime": "^5.4", - "symfony/process": "^5.4", - "symfony/routing": "^5.4", - "symfony/var-dumper": "^5.4", + "symfony/console": "^6.0", + "symfony/error-handler": "^6.0", + "symfony/finder": "^6.0", + "symfony/http-foundation": "^6.0", + "symfony/http-kernel": "^6.0", + "symfony/mailer": "^6.0", + "symfony/mime": "^6.0", + "symfony/process": "^6.0", + "symfony/routing": "^6.0", + "symfony/var-dumper": "^6.0", "tijsverkoyen/css-to-inline-styles": "^2.2.2", "vlucas/phpdotenv": "^5.4.1", - "voku/portable-ascii": "^1.6.1" + "voku/portable-ascii": "^2.0" }, "conflict": { "tightenco/collect": "<5.5.33" }, "provide": { - "psr/container-implementation": "1.0", - "psr/simple-cache-implementation": "1.0" + "psr/container-implementation": "1.1|2.0", + "psr/simple-cache-implementation": "1.0|2.0|3.0" }, "replace": { "illuminate/auth": "self.version", @@ -1875,6 +1816,7 @@ "illuminate/bus": "self.version", "illuminate/cache": "self.version", "illuminate/collections": "self.version", + "illuminate/conditionable": "self.version", "illuminate/config": "self.version", "illuminate/console": "self.version", "illuminate/container": "self.version", @@ -1905,19 +1847,22 @@ "require-dev": { "aws/aws-sdk-php": "^3.198.1", "doctrine/dbal": "^2.13.3|^3.1.4", - "filp/whoops": "^2.14.3", - "guzzlehttp/guzzle": "^6.5.5|^7.0.1", - "league/flysystem-cached-adapter": "^1.0", + "fakerphp/faker": "^1.9.2", + "guzzlehttp/guzzle": "^7.2", + "league/flysystem-aws-s3-v3": "^3.0", + "league/flysystem-ftp": "^3.0", + "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.27", + "orchestra/testbench-core": "^7.1", "pda/pheanstalk": "^4.0", - "phpunit/phpunit": "^8.5.19|^9.5.8", + "phpstan/phpstan": "^1.4.7", + "phpunit/phpunit": "^9.5.8", "predis/predis": "^1.1.9", - "symfony/cache": "^5.4" + "symfony/cache": "^6.0" }, "suggest": { "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", - "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.198.1).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.198.1).", "brianium/paratest": "Required to run tests in parallel (^6.0).", "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", "ext-bcmath": "Required to use the multiple_of validation rule.", @@ -1929,27 +1874,29 @@ "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", "filp/whoops": "Required for friendly error pages in development (^2.14.3).", - "guzzlehttp/guzzle": "Required to use the HTTP Client, Mailgun mail driver and the ping methods on schedules (^6.5.5|^7.0.1).", + "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.2).", "laravel/tinker": "Required to use the tinker console command (^2.0).", - "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", - "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", - "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", + "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", + "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", "mockery/mockery": "Required to use mocking (^1.4.4).", "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", - "phpunit/phpunit": "Required to use assertions and run tests (^8.5.19|^9.5.8).", + "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8).", "predis/predis": "Required to use the predis connector (^1.1.9).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", - "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0|^6.0|^7.0).", - "symfony/cache": "Required to PSR-6 cache bridge (^5.4).", - "symfony/filesystem": "Required to enable support for relative symbolic links (^5.4).", - "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).", - "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)." + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^6.0).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^6.0).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.0).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.0).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.0).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "8.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -1963,7 +1910,8 @@ "Illuminate\\": "src/Illuminate/", "Illuminate\\Support\\": [ "src/Illuminate/Macroable/", - "src/Illuminate/Collections/" + "src/Illuminate/Collections/", + "src/Illuminate/Conditionable/" ] } }, @@ -1987,7 +1935,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-05-10T13:57:07+00:00" + "time": "2022-05-11T13:38:26+00:00" }, { "name": "laravel/horizon", @@ -2451,54 +2399,48 @@ }, { "name": "league/flysystem", - "version": "1.1.9", + "version": "3.0.19", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "094defdb4a7001845300334e7c1ee2335925ef99" + "reference": "670df21225d68d165a8df38587ac3f41caf608f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99", - "reference": "094defdb4a7001845300334e7c1ee2335925ef99", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/670df21225d68d165a8df38587ac3f41caf608f8", + "reference": "670df21225d68d165a8df38587ac3f41caf608f8", "shasum": "" }, "require": { - "ext-fileinfo": "*", - "league/mime-type-detection": "^1.3", - "php": "^7.2.5 || ^8.0" + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" }, "conflict": { - "league/flysystem-sftp": "<1.0.6" + "aws/aws-sdk-php": "3.209.31 || 3.210.0", + "guzzlehttp/guzzle": "<7.0", + "guzzlehttp/ringphp": "<1.1.1", + "symfony/http-client": "<5.2" }, "require-dev": { - "phpspec/prophecy": "^1.11.1", - "phpunit/phpunit": "^8.5.8" - }, - "suggest": { - "ext-ftp": "Allows you to use FTP server storage", - "ext-openssl": "Allows you to use FTPS server storage", - "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", - "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", - "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", - "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", - "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", - "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", - "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", - "league/flysystem-webdav": "Allows you to use WebDAV storage", - "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", - "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", - "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" + "async-aws/s3": "^1.5", + "async-aws/simple-s3": "^1.0", + "aws/aws-sdk-php": "^3.198.1", + "composer/semver": "^3.0", + "ext-fileinfo": "*", + "ext-ftp": "*", + "ext-zip": "*", + "friendsofphp/php-cs-fixer": "^3.5", + "google/cloud-storage": "^1.23", + "microsoft/azure-storage-blob": "^1.1", + "phpseclib/phpseclib": "^2.0", + "phpstan/phpstan": "^0.12.26", + "phpunit/phpunit": "^9.5.11", + "sabre/dav": "^4.3.1" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, "autoload": { "psr-4": { - "League\\Flysystem\\": "src/" + "League\\Flysystem\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -2508,40 +2450,42 @@ "authors": [ { "name": "Frank de Jonge", - "email": "info@frenky.net" + "email": "info@frankdejonge.nl" } ], - "description": "Filesystem abstraction: Many filesystems, one API.", + "description": "File storage abstraction for PHP", "keywords": [ - "Cloud Files", "WebDAV", - "abstraction", "aws", "cloud", - "copy.com", - "dropbox", - "file systems", + "file", "files", "filesystem", "filesystems", "ftp", - "rackspace", - "remote", "s3", "sftp", "storage" ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.1.9" + "source": "https://github.com/thephpleague/flysystem/tree/3.0.19" }, "funding": [ { "url": "https://offset.earth/frankdejonge", - "type": "other" + "type": "custom" + }, + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" } ], - "time": "2021-12-09T09:40:50+00:00" + "time": "2022-05-03T21:19:02+00:00" }, { "name": "league/mime-type-detection", @@ -3084,71 +3028,6 @@ ], "time": "2022-02-28T13:17:36+00:00" }, - { - "name": "opis/closure", - "version": "3.6.3", - "source": { - "type": "git", - "url": "https://github.com/opis/closure.git", - "reference": "3d81e4309d2a927abbe66df935f4bb60082805ad" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opis/closure/zipball/3d81e4309d2a927abbe66df935f4bb60082805ad", - "reference": "3d81e4309d2a927abbe66df935f4bb60082805ad", - "shasum": "" - }, - "require": { - "php": "^5.4 || ^7.0 || ^8.0" - }, - "require-dev": { - "jeremeamia/superclosure": "^2.0", - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.6.x-dev" - } - }, - "autoload": { - "files": [ - "functions.php" - ], - "psr-4": { - "Opis\\Closure\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marius Sarca", - "email": "marius.sarca@gmail.com" - }, - { - "name": "Sorin Sarca", - "email": "sarca_sorin@hotmail.com" - } - ], - "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", - "homepage": "https://opis.io/closure", - "keywords": [ - "anonymous functions", - "closure", - "function", - "serializable", - "serialization", - "serialize" - ], - "support": { - "issues": "https://github.com/opis/closure/issues", - "source": "https://github.com/opis/closure/tree/3.6.3" - }, - "time": "2022-01-27T09:35:39+00:00" - }, { "name": "phenx/php-font-lib", "version": "0.5.4", @@ -3366,138 +3245,6 @@ }, "time": "2022-03-21T12:43:48+00:00" }, - { - "name": "pragmarx/version", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/antonioribeiro/version.git", - "reference": "19595ae0068e1862a7d16288ad5e41ab376e264f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/antonioribeiro/version/zipball/19595ae0068e1862a7d16288ad5e41ab376e264f", - "reference": "19595ae0068e1862a7d16288ad5e41ab376e264f", - "shasum": "" - }, - "require": { - "laravel/framework": ">=5.5.33", - "php": ">=7.0", - "pragmarx/yaml": "^1.0", - "symfony/process": "^3.3|^4.0|^5.0" - }, - "require-dev": { - "orchestra/testbench": "3.4.*|3.5.*|3.6.*|3.7.*|4.*|5.*|6.*", - "phpunit/phpunit": "~5|~6|~7|~8|~9" - }, - "type": "library", - "extra": { - "component": "package", - "laravel": { - "providers": [ - "PragmaRX\\Version\\Package\\ServiceProvider" - ], - "aliases": { - "Version": "PragmaRX\\Version\\Package\\Facade" - } - } - }, - "autoload": { - "psr-4": { - "PragmaRX\\Version\\Tests\\": "tests/", - "PragmaRX\\Version\\Package\\": "src/package" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Antonio Carlos Ribeiro", - "email": "acr@antoniocarlosribeiro.com", - "role": "Creator & Designer" - } - ], - "description": "Take control over your Laravel app version", - "keywords": [ - "laravel", - "version", - "versioning" - ], - "support": { - "issues": "https://github.com/antonioribeiro/version/issues", - "source": "https://github.com/antonioribeiro/version/tree/v1.3.0" - }, - "time": "2020-12-16T00:40:26+00:00" - }, - { - "name": "pragmarx/yaml", - "version": "v1.2.1", - "source": { - "type": "git", - "url": "https://github.com/antonioribeiro/yaml.git", - "reference": "9f2b44c4a31f8a71bab77169205aee7184ae3ef4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/antonioribeiro/yaml/zipball/9f2b44c4a31f8a71bab77169205aee7184ae3ef4", - "reference": "9f2b44c4a31f8a71bab77169205aee7184ae3ef4", - "shasum": "" - }, - "require": { - "illuminate/support": ">=5.5.33", - "php": ">=7.0", - "symfony/yaml": "^3.4|^4.0|^5.0" - }, - "require-dev": { - "orchestra/testbench": "3.5|^3.6|^4.0|^5.0", - "phpunit/phpunit": "^4.0|^6.4|^7.0|^8.0|^9.0" - }, - "suggest": { - "ext-yaml": "Required to use the PECL YAML." - }, - "type": "library", - "extra": { - "component": "package", - "laravel": { - "providers": [ - "PragmaRX\\Yaml\\Package\\ServiceProvider" - ], - "aliases": { - "Yaml": "PragmaRX\\Yaml\\Package\\Facade" - } - } - }, - "autoload": { - "psr-4": { - "PragmaRX\\Yaml\\Tests\\": "tests/", - "PragmaRX\\Yaml\\Package\\": "src/package" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Antonio Carlos Ribeiro", - "email": "acr@antoniocarlosribeiro.com", - "role": "Creator & Designer" - } - ], - "description": "Load your Laravel config files using yaml", - "keywords": [ - "config", - "laravel", - "yaml" - ], - "support": { - "issues": "https://github.com/antonioribeiro/yaml/issues", - "source": "https://github.com/antonioribeiro/yaml/tree/v1.2.1" - }, - "time": "2020-05-21T19:46:28+00:00" - }, { "name": "predis/predis", "version": "v1.1.10", @@ -3615,22 +3362,27 @@ }, { "name": "psr/container", - "version": "1.1.2", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", "shasum": "" }, "require": { "php": ">=7.4.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -3657,9 +3409,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.2" + "source": "https://github.com/php-fig/container/tree/2.0.2" }, - "time": "2021-11-05T16:50:12+00:00" + "time": "2021-11-05T16:47:00+00:00" }, { "name": "psr/event-dispatcher", @@ -3873,16 +3625,16 @@ }, { "name": "psr/log", - "version": "2.0.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376" + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", - "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376", + "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", + "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", "shasum": "" }, "require": { @@ -3891,7 +3643,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.x-dev" } }, "autoload": { @@ -3917,31 +3669,31 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/2.0.0" + "source": "https://github.com/php-fig/log/tree/3.0.0" }, - "time": "2021-07-14T16:41:46+00:00" + "time": "2021-07-14T16:46:02+00:00" }, { "name": "psr/simple-cache", - "version": "1.0.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/simple-cache.git", - "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", - "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -3956,7 +3708,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interfaces for simple caching", @@ -3968,9 +3720,9 @@ "simple-cache" ], "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" + "source": "https://github.com/php-fig/simple-cache/tree/3.0.0" }, - "time": "2017-10-23T01:57:42+00:00" + "time": "2021-10-29T13:26:27+00:00" }, { "name": "psy/psysh", @@ -4320,27 +4072,28 @@ }, { "name": "spatie/laravel-cookie-consent", - "version": "2.12.13", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-cookie-consent.git", - "reference": "8e93b9efee3a68960e5c832f937170c2fc0b2f37" + "reference": "e0f1fe0b79617fa30a550cfa17f570b37302cc73" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-cookie-consent/zipball/8e93b9efee3a68960e5c832f937170c2fc0b2f37", - "reference": "8e93b9efee3a68960e5c832f937170c2fc0b2f37", + "url": "https://api.github.com/repos/spatie/laravel-cookie-consent/zipball/e0f1fe0b79617fa30a550cfa17f570b37302cc73", + "reference": "e0f1fe0b79617fa30a550cfa17f570b37302cc73", "shasum": "" }, "require": { - "illuminate/cookie": "^6.0|^7.0|^8.0", - "illuminate/support": "^6.0|^7.0|^8.0", - "illuminate/view": "^6.0|^7.0|^8.0", - "php": "^7.3|^8.0" + "illuminate/cookie": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0", + "illuminate/view": "^8.0|^9.0", + "php": "^8.0", + "spatie/laravel-package-tools": "^1.9" }, "require-dev": { - "fakerphp/faker": "~1.9", - "orchestra/testbench": "^4.0|^5.0|^6.0" + "fakerphp/faker": "^1.9", + "orchestra/testbench": "^6.0|^7.0" }, "type": "library", "extra": { @@ -4384,8 +4137,7 @@ "spatie" ], "support": { - "issues": "https://github.com/spatie/laravel-cookie-consent/issues", - "source": "https://github.com/spatie/laravel-cookie-consent/tree/2.12.13" + "source": "https://github.com/spatie/laravel-cookie-consent/tree/3.2.1" }, "funding": [ { @@ -4393,46 +4145,37 @@ "type": "custom" } ], - "time": "2021-02-26T08:04:10+00:00" + "time": "2022-04-22T08:16:57+00:00" }, { - "name": "swiftmailer/swiftmailer", - "version": "v6.3.0", + "name": "spatie/laravel-package-tools", + "version": "1.11.3", "source": { "type": "git", - "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c" + "url": "https://github.com/spatie/laravel-package-tools.git", + "reference": "baeb3df0ebb3a541394fdaf8cbe6115bf4034a59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/8a5d5072dca8f48460fce2f4131fcc495eec654c", - "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/baeb3df0ebb3a541394fdaf8cbe6115bf4034a59", + "reference": "baeb3df0ebb3a541394fdaf8cbe6115bf4034a59", "shasum": "" }, "require": { - "egulias/email-validator": "^2.0|^3.1", - "php": ">=7.0.0", - "symfony/polyfill-iconv": "^1.0", - "symfony/polyfill-intl-idn": "^1.10", - "symfony/polyfill-mbstring": "^1.0" + "illuminate/contracts": "^7.0|^8.0|^9.0", + "php": "^7.4|^8.0" }, "require-dev": { - "mockery/mockery": "^1.0", - "symfony/phpunit-bridge": "^4.4|^5.4" - }, - "suggest": { - "ext-intl": "Needed to support internationalized email addresses" + "mockery/mockery": "^1.4", + "orchestra/testbench": "^5.0|^6.23|^7.0", + "phpunit/phpunit": "^9.4", + "spatie/test-time": "^1.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.2-dev" - } - }, "autoload": { - "files": [ - "lib/swift_required.php" - ] + "psr-4": { + "Spatie\\LaravelPackageTools\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4440,79 +4183,67 @@ ], "authors": [ { - "name": "Chris Corbyn" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "role": "Developer" } ], - "description": "Swiftmailer, free feature-rich PHP mailer", - "homepage": "https://swiftmailer.symfony.com", + "description": "Tools for creating Laravel packages", + "homepage": "https://github.com/spatie/laravel-package-tools", "keywords": [ - "email", - "mail", - "mailer" + "laravel-package-tools", + "spatie" ], "support": { - "issues": "https://github.com/swiftmailer/swiftmailer/issues", - "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.3.0" + "issues": "https://github.com/spatie/laravel-package-tools/issues", + "source": "https://github.com/spatie/laravel-package-tools/tree/1.11.3" }, "funding": [ { - "url": "https://github.com/fabpot", + "url": "https://github.com/spatie", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/swiftmailer/swiftmailer", - "type": "tidelift" } ], - "abandoned": "symfony/mailer", - "time": "2021-10-18T15:26:12+00:00" + "time": "2022-03-15T20:01:36+00:00" }, { "name": "symfony/console", - "version": "v5.4.8", + "version": "v6.0.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "ffe3aed36c4d60da2cf1b0a1cee6b8f2e5fa881b" + "reference": "0d00aa289215353aa8746a31d101f8e60826285c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/ffe3aed36c4d60da2cf1b0a1cee6b8f2e5fa881b", - "reference": "ffe3aed36c4d60da2cf1b0a1cee6b8f2e5fa881b", + "url": "https://api.github.com/repos/symfony/console/zipball/0d00aa289215353aa8746a31d101f8e60826285c", + "reference": "0d00aa289215353aa8746a31d101f8e60826285c", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", + "php": ">=8.0.2", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.16", "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.1|^6.0" + "symfony/string": "^5.4|^6.0" }, "conflict": { - "psr/log": ">=3", - "symfony/dependency-injection": "<4.4", - "symfony/dotenv": "<5.1", - "symfony/event-dispatcher": "<4.4", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" }, "provide": { - "psr/log-implementation": "1.0|2.0" + "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { - "psr/log": "^1|^2", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/lock": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" }, "suggest": { "psr/log": "For using the console logger", @@ -4552,7 +4283,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.8" + "source": "https://github.com/symfony/console/tree/v6.0.8" }, "funding": [ { @@ -4568,7 +4299,7 @@ "type": "tidelift" } ], - "time": "2022-04-12T16:02:29+00:00" + "time": "2022-04-20T15:01:42+00:00" }, { "name": "symfony/css-selector", @@ -4704,27 +4435,27 @@ }, { "name": "symfony/error-handler", - "version": "v5.4.8", + "version": "v6.0.8", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "c1fcde614dfe99d62a83b796a53b8bad358b266a" + "reference": "5e2795163acbd13b3cd46835c9f8f6c5d0a3a280" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/c1fcde614dfe99d62a83b796a53b8bad358b266a", - "reference": "c1fcde614dfe99d62a83b796a53b8bad358b266a", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/5e2795163acbd13b3cd46835c9f8f6c5d0a3a280", + "reference": "5e2795163acbd13b3cd46835c9f8f6c5d0a3a280", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "symfony/var-dumper": "^5.4|^6.0" }, "require-dev": { "symfony/deprecation-contracts": "^2.1|^3", - "symfony/http-kernel": "^4.4|^5.0|^6.0", - "symfony/serializer": "^4.4|^5.0|^6.0" + "symfony/http-kernel": "^5.4|^6.0", + "symfony/serializer": "^5.4|^6.0" }, "bin": [ "Resources/bin/patch-type-declarations" @@ -4755,7 +4486,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v5.4.8" + "source": "https://github.com/symfony/error-handler/tree/v6.0.8" }, "funding": [ { @@ -4771,7 +4502,7 @@ "type": "tidelift" } ], - "time": "2022-04-12T15:48:08+00:00" + "time": "2022-04-12T16:11:42+00:00" }, { "name": "symfony/event-dispatcher", @@ -4937,22 +4668,20 @@ }, { "name": "symfony/finder", - "version": "v5.4.8", + "version": "v6.0.8", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9" + "reference": "af7edab28d17caecd1f40a9219fc646ae751c21f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/9b630f3427f3ebe7cd346c277a1408b00249dad9", - "reference": "9b630f3427f3ebe7cd346c277a1408b00249dad9", + "url": "https://api.github.com/repos/symfony/finder/zipball/af7edab28d17caecd1f40a9219fc646ae751c21f", + "reference": "af7edab28d17caecd1f40a9219fc646ae751c21f", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -4980,7 +4709,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.8" + "source": "https://github.com/symfony/finder/tree/v6.0.8" }, "funding": [ { @@ -4996,33 +4725,32 @@ "type": "tidelift" } ], - "time": "2022-04-15T08:07:45+00:00" + "time": "2022-04-15T08:07:58+00:00" }, { "name": "symfony/http-foundation", - "version": "v5.4.8", + "version": "v6.0.8", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "ff2818d1c3d49860bcae1f2cbb5eb00fcd3bf9e2" + "reference": "c9c86b02d7ef6f44f3154acc7de42831518afe7c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/ff2818d1c3d49860bcae1f2cbb5eb00fcd3bf9e2", - "reference": "ff2818d1c3d49860bcae1f2cbb5eb00fcd3bf9e2", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/c9c86b02d7ef6f44f3154acc7de42831518afe7c", + "reference": "c9c86b02d7ef6f44f3154acc7de42831518afe7c", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-mbstring": "~1.1", - "symfony/polyfill-php80": "^1.16" + "symfony/polyfill-mbstring": "~1.1" }, "require-dev": { "predis/predis": "~1.0", - "symfony/cache": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/mime": "^4.4|^5.0|^6.0" + "symfony/cache": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/mime": "^5.4|^6.0" }, "suggest": { "symfony/mime": "To use the file extension guesser" @@ -5053,7 +4781,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.4.8" + "source": "https://github.com/symfony/http-foundation/tree/v6.0.8" }, "funding": [ { @@ -5069,67 +4797,64 @@ "type": "tidelift" } ], - "time": "2022-04-22T08:14:12+00:00" + "time": "2022-04-22T08:18:02+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.4.8", + "version": "v6.0.8", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "cf7e61106abfc19b305ca0aedc41724ced89a02a" + "reference": "7aaf1cdc9cc2ad47e926f624efcb679883a39ca7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/cf7e61106abfc19b305ca0aedc41724ced89a02a", - "reference": "cf7e61106abfc19b305ca0aedc41724ced89a02a", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/7aaf1cdc9cc2ad47e926f624efcb679883a39ca7", + "reference": "7aaf1cdc9cc2ad47e926f624efcb679883a39ca7", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/log": "^1|^2", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/error-handler": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^5.0|^6.0", - "symfony/http-foundation": "^5.3.7|^6.0", - "symfony/polyfill-ctype": "^1.8", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.0.2", + "psr/log": "^1|^2|^3", + "symfony/error-handler": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/polyfill-ctype": "^1.8" }, "conflict": { "symfony/browser-kit": "<5.4", - "symfony/cache": "<5.0", - "symfony/config": "<5.0", - "symfony/console": "<4.4", - "symfony/dependency-injection": "<5.3", - "symfony/doctrine-bridge": "<5.0", - "symfony/form": "<5.0", - "symfony/http-client": "<5.0", - "symfony/mailer": "<5.0", - "symfony/messenger": "<5.0", - "symfony/translation": "<5.0", - "symfony/twig-bridge": "<5.0", - "symfony/validator": "<5.0", + "symfony/cache": "<5.4", + "symfony/config": "<5.4", + "symfony/console": "<5.4", + "symfony/dependency-injection": "<5.4", + "symfony/doctrine-bridge": "<5.4", + "symfony/form": "<5.4", + "symfony/http-client": "<5.4", + "symfony/mailer": "<5.4", + "symfony/messenger": "<5.4", + "symfony/translation": "<5.4", + "symfony/twig-bridge": "<5.4", + "symfony/validator": "<5.4", "twig/twig": "<2.13" }, "provide": { - "psr/log-implementation": "1.0|2.0" + "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { "psr/cache": "^1.0|^2.0|^3.0", "symfony/browser-kit": "^5.4|^6.0", - "symfony/config": "^5.0|^6.0", - "symfony/console": "^4.4|^5.0|^6.0", - "symfony/css-selector": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^5.3|^6.0", - "symfony/dom-crawler": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", + "symfony/config": "^5.4|^6.0", + "symfony/console": "^5.4|^6.0", + "symfony/css-selector": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/dom-crawler": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/finder": "^5.4|^6.0", "symfony/http-client-contracts": "^1.1|^2|^3", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/routing": "^4.4|^5.0|^6.0", - "symfony/stopwatch": "^4.4|^5.0|^6.0", - "symfony/translation": "^4.4|^5.0|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/routing": "^5.4|^6.0", + "symfony/stopwatch": "^5.4|^6.0", + "symfony/translation": "^5.4|^6.0", "symfony/translation-contracts": "^1.1|^2|^3", "twig/twig": "^2.13|^3.0.4" }, @@ -5165,7 +4890,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.4.8" + "source": "https://github.com/symfony/http-kernel/tree/v6.0.8" }, "funding": [ { @@ -5181,47 +4906,42 @@ "type": "tidelift" } ], - "time": "2022-04-27T17:22:21+00:00" + "time": "2022-04-27T17:26:02+00:00" }, { - "name": "symfony/mime", - "version": "v5.4.8", + "name": "symfony/mailer", + "version": "v6.0.8", "source": { "type": "git", - "url": "https://github.com/symfony/mime.git", - "reference": "af49bc163ec3272f677bde3bc44c0d766c1fd662" + "url": "https://github.com/symfony/mailer.git", + "reference": "706af6b3e99ebcbc639c9c664f5579aaa869409b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/af49bc163ec3272f677bde3bc44c0d766c1fd662", - "reference": "af49bc163ec3272f677bde3bc44c0d766c1fd662", + "url": "https://api.github.com/repos/symfony/mailer/zipball/706af6b3e99ebcbc639c9c664f5579aaa869409b", + "reference": "706af6b3e99ebcbc639c9c664f5579aaa869409b", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-intl-idn": "^1.10", - "symfony/polyfill-mbstring": "^1.0", - "symfony/polyfill-php80": "^1.16" + "egulias/email-validator": "^2.1.10|^3", + "php": ">=8.0.2", + "psr/event-dispatcher": "^1", + "psr/log": "^1|^2|^3", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/mime": "^5.4|^6.0", + "symfony/service-contracts": "^1.1|^2|^3" }, "conflict": { - "egulias/email-validator": "~3.0.0", - "phpdocumentor/reflection-docblock": "<3.2.2", - "phpdocumentor/type-resolver": "<1.4.0", - "symfony/mailer": "<4.4" + "symfony/http-kernel": "<5.4" }, "require-dev": { - "egulias/email-validator": "^2.1.10|^3.1", - "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/property-access": "^4.4|^5.1|^6.0", - "symfony/property-info": "^4.4|^5.1|^6.0", - "symfony/serializer": "^5.2|^6.0" + "symfony/http-client-contracts": "^1.1|^2|^3", + "symfony/messenger": "^5.4|^6.0" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Mime\\": "" + "Symfony\\Component\\Mailer\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -5241,14 +4961,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Allows manipulating MIME messages", + "description": "Helps sending emails", "homepage": "https://symfony.com", - "keywords": [ - "mime", - "mime-type" - ], "support": { - "source": "https://github.com/symfony/mime/tree/v5.4.8" + "source": "https://github.com/symfony/mailer/tree/v6.0.8" }, "funding": [ { @@ -5264,48 +4980,49 @@ "type": "tidelift" } ], - "time": "2022-04-12T15:48:08+00:00" + "time": "2022-04-27T17:10:30+00:00" }, { - "name": "symfony/polyfill-ctype", - "version": "v1.25.0", + "name": "symfony/mime", + "version": "v6.0.8", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "30885182c981ab175d4d034db0f6f469898070ab" + "url": "https://github.com/symfony/mime.git", + "reference": "c1701e88ad0ca49fc6ad6cdf360bc0e1209fb5e1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", - "reference": "30885182c981ab175d4d034db0f6f469898070ab", + "url": "https://api.github.com/repos/symfony/mime/zipball/c1701e88ad0ca49fc6ad6cdf360bc0e1209fb5e1", + "reference": "c1701e88ad0ca49fc6ad6cdf360bc0e1209fb5e1", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.0.2", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" }, - "provide": { - "ext-ctype": "*" + "conflict": { + "egulias/email-validator": "~3.0.0", + "phpdocumentor/reflection-docblock": "<3.2.2", + "phpdocumentor/type-resolver": "<1.4.0", + "symfony/mailer": "<5.4" }, - "suggest": { - "ext-ctype": "For best performance" + "require-dev": { + "egulias/email-validator": "^2.1.10|^3.1", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/property-access": "^5.4|^6.0", + "symfony/property-info": "^5.4|^6.0", + "symfony/serializer": "^5.4|^6.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, "autoload": { - "files": [ - "bootstrap.php" - ], "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5313,24 +5030,22 @@ ], "authors": [ { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for ctype functions", + "description": "Allows manipulating MIME messages", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" + "mime", + "mime-type" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" + "source": "https://github.com/symfony/mime/tree/v6.0.8" }, "funding": [ { @@ -5346,30 +5061,30 @@ "type": "tidelift" } ], - "time": "2021-10-20T20:35:02+00:00" + "time": "2022-04-12T16:11:42+00:00" }, { - "name": "symfony/polyfill-iconv", + "name": "symfony/polyfill-ctype", "version": "v1.25.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-iconv.git", - "reference": "f1aed619e28cb077fc83fac8c4c0383578356e40" + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "30885182c981ab175d4d034db0f6f469898070ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/f1aed619e28cb077fc83fac8c4c0383578356e40", - "reference": "f1aed619e28cb077fc83fac8c4c0383578356e40", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", + "reference": "30885182c981ab175d4d034db0f6f469898070ab", "shasum": "" }, "require": { "php": ">=7.1" }, "provide": { - "ext-iconv": "*" + "ext-ctype": "*" }, "suggest": { - "ext-iconv": "For best performance" + "ext-ctype": "For best performance" }, "type": "library", "extra": { @@ -5386,7 +5101,7 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Iconv\\": "" + "Symfony\\Polyfill\\Ctype\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -5395,25 +5110,24 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for the Iconv extension", + "description": "Symfony polyfill for ctype functions", "homepage": "https://symfony.com", "keywords": [ "compatibility", - "iconv", + "ctype", "polyfill", - "portable", - "shim" + "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-iconv/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" }, "funding": [ { @@ -5429,7 +5143,7 @@ "type": "tidelift" } ], - "time": "2022-01-04T09:04:05+00:00" + "time": "2021-10-20T20:35:02+00:00" }, { "name": "symfony/polyfill-intl-grapheme", @@ -5842,85 +5556,6 @@ ], "time": "2021-05-27T09:17:38+00:00" }, - { - "name": "symfony/polyfill-php73", - "version": "v1.25.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5", - "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.25.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-06-05T21:20:04+00:00" - }, { "name": "symfony/polyfill-php80", "version": "v1.25.0", @@ -6085,21 +5720,20 @@ }, { "name": "symfony/process", - "version": "v5.4.8", + "version": "v6.0.8", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "597f3fff8e3e91836bb0bd38f5718b56ddbde2f3" + "reference": "d074154ea8b1443a96391f6e39f9e547b2dd01b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/597f3fff8e3e91836bb0bd38f5718b56ddbde2f3", - "reference": "597f3fff8e3e91836bb0bd38f5718b56ddbde2f3", + "url": "https://api.github.com/repos/symfony/process/zipball/d074154ea8b1443a96391f6e39f9e547b2dd01b9", + "reference": "d074154ea8b1443a96391f6e39f9e547b2dd01b9", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -6127,7 +5761,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.8" + "source": "https://github.com/symfony/process/tree/v6.0.8" }, "funding": [ { @@ -6143,41 +5777,39 @@ "type": "tidelift" } ], - "time": "2022-04-08T05:07:18+00:00" + "time": "2022-04-12T16:11:42+00:00" }, { "name": "symfony/routing", - "version": "v5.4.8", + "version": "v6.0.8", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "e07817bb6244ea33ef5ad31abc4a9288bef3f2f7" + "reference": "74c40c9fc334acc601a32fcf4274e74fb3bac11e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/e07817bb6244ea33ef5ad31abc4a9288bef3f2f7", - "reference": "e07817bb6244ea33ef5ad31abc4a9288bef3f2f7", + "url": "https://api.github.com/repos/symfony/routing/zipball/74c40c9fc334acc601a32fcf4274e74fb3bac11e", + "reference": "74c40c9fc334acc601a32fcf4274e74fb3bac11e", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.0.2" }, "conflict": { "doctrine/annotations": "<1.12", - "symfony/config": "<5.3", - "symfony/dependency-injection": "<4.4", - "symfony/yaml": "<4.4" + "symfony/config": "<5.4", + "symfony/dependency-injection": "<5.4", + "symfony/yaml": "<5.4" }, "require-dev": { "doctrine/annotations": "^1.12", "psr/log": "^1|^2|^3", - "symfony/config": "^5.3|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/http-foundation": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0" + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/yaml": "^5.4|^6.0" }, "suggest": { "symfony/config": "For using the all-in-one router or any loader", @@ -6217,7 +5849,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v5.4.8" + "source": "https://github.com/symfony/routing/tree/v6.0.8" }, "funding": [ { @@ -6233,26 +5865,25 @@ "type": "tidelift" } ], - "time": "2022-04-18T21:45:37+00:00" + "time": "2022-04-22T08:18:02+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.5.1", + "version": "v3.0.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c" + "reference": "e517458f278c2131ca9f262f8fbaf01410f2c65c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/24d9dc654b83e91aa59f9d167b131bc3b5bea24c", - "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e517458f278c2131ca9f262f8fbaf01410f2c65c", + "reference": "e517458f278c2131ca9f262f8fbaf01410f2c65c", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1|^3" + "php": ">=8.0.2", + "psr/container": "^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -6263,7 +5894,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "3.0-dev" }, "thanks": { "name": "symfony/contracts", @@ -6300,7 +5931,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.0.1" }, "funding": [ { @@ -6316,7 +5947,7 @@ "type": "tidelift" } ], - "time": "2022-03-13T20:07:29+00:00" + "time": "2022-03-13T20:10:05+00:00" }, { "name": "symfony/string", @@ -6578,32 +6209,31 @@ }, { "name": "symfony/var-dumper", - "version": "v5.4.8", + "version": "v6.0.8", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "cdcadd343d31ad16fc5e006b0de81ea307435053" + "reference": "fa61dfb4bd3068df2492013dc65f3190e9f550c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/cdcadd343d31ad16fc5e006b0de81ea307435053", - "reference": "cdcadd343d31ad16fc5e006b0de81ea307435053", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/fa61dfb4bd3068df2492013dc65f3190e9f550c0", + "reference": "fa61dfb4bd3068df2492013dc65f3190e9f550c0", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.0.2", + "symfony/polyfill-mbstring": "~1.0" }, "conflict": { "phpunit/phpunit": "<5.4.3", - "symfony/console": "<4.4" + "symfony/console": "<5.4" }, "require-dev": { "ext-iconv": "*", - "symfony/console": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/uid": "^5.1|^6.0", + "symfony/console": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/uid": "^5.4|^6.0", "twig/twig": "^2.13|^3.0.4" }, "suggest": { @@ -6647,82 +6277,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.4.8" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-04-26T13:19:20+00:00" - }, - { - "name": "symfony/yaml", - "version": "v5.4.3", - "source": { - "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "e80f87d2c9495966768310fc531b487ce64237a2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/e80f87d2c9495966768310fc531b487ce64237a2", - "reference": "e80f87d2c9495966768310fc531b487ce64237a2", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-ctype": "^1.8" - }, - "conflict": { - "symfony/console": "<5.3" - }, - "require-dev": { - "symfony/console": "^5.3|^6.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" - }, - "bin": [ - "Resources/bin/yaml-lint" - ], - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Loads and dumps YAML files", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/yaml/tree/v5.4.3" + "source": "https://github.com/symfony/var-dumper/tree/v6.0.8" }, "funding": [ { @@ -6738,7 +6293,7 @@ "type": "tidelift" } ], - "time": "2022-01-26T16:32:32+00:00" + "time": "2022-04-26T13:22:23+00:00" }, { "name": "tightenco/ziggy", @@ -6942,16 +6497,16 @@ }, { "name": "voku/portable-ascii", - "version": "1.6.1", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/voku/portable-ascii.git", - "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a" + "reference": "b56450eed252f6801410d810c8e1727224ae0743" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/voku/portable-ascii/zipball/87337c91b9dfacee02452244ee14ab3c43bc485a", - "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b56450eed252f6801410d810c8e1727224ae0743", + "reference": "b56450eed252f6801410d810c8e1727224ae0743", "shasum": "" }, "require": { @@ -6988,7 +6543,7 @@ ], "support": { "issues": "https://github.com/voku/portable-ascii/issues", - "source": "https://github.com/voku/portable-ascii/tree/1.6.1" + "source": "https://github.com/voku/portable-ascii/tree/2.0.1" }, "funding": [ { @@ -7012,7 +6567,7 @@ "type": "tidelift" } ], - "time": "2022-01-24T18:55:24+00:00" + "time": "2022-03-08T17:03:00+00:00" }, { "name": "webmozart/assert", @@ -7074,21 +6629,24 @@ }, { "name": "zanysoft/laravel-zip", - "version": "1.0.4", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/zanysoft/laravel-zip.git", - "reference": "86028aa46b234565311829dd6b62d48417335925" + "reference": "466663746c92154c48a2d490efc6724f9f6e9652" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zanysoft/laravel-zip/zipball/86028aa46b234565311829dd6b62d48417335925", - "reference": "86028aa46b234565311829dd6b62d48417335925", + "url": "https://api.github.com/repos/zanysoft/laravel-zip/zipball/466663746c92154c48a2d490efc6724f9f6e9652", + "reference": "466663746c92154c48a2d490efc6724f9f6e9652", "shasum": "" }, "require": { - "illuminate/support": "^6.0|^7.0|^8.0", - "php": ">=7.1" + "php": ">=5.6.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0|^5.0", + "scrutinizer/ocular": "^1.0" }, "type": "library", "extra": { @@ -7113,18 +6671,13 @@ "authors": [ { "name": "Zany Soft", - "email": "info@zanysoft.net", - "homepage": "http://www.zanysoft.net" + "email": "info@zanysoft.co", + "homepage": "http://www.zanysoft.co" } ], - "description": "laravel-zip is the world's leading zip utility for file compression and backup.", - "homepage": "http://www.zanysoft.net", + "description": "ZipArchive toolbox", + "homepage": "http://www.zanysoft.co", "keywords": [ - "backup", - "extract", - "laravel", - "laravel-zip", - "laravel5", "merge", "multiple", "unzip", @@ -7133,9 +6686,9 @@ ], "support": { "issues": "https://github.com/zanysoft/laravel-zip/issues", - "source": "https://github.com/zanysoft/laravel-zip/tree/1.0.4" + "source": "https://github.com/zanysoft/laravel-zip/tree/1.0.3" }, - "time": "2021-10-27T08:16:31+00:00" + "time": "2017-10-10T03:22:41+00:00" } ], "packages-dev": [ @@ -7224,67 +6777,6 @@ ], "time": "2022-02-09T07:52:32+00:00" }, - { - "name": "butcherman/artisan-dev-commands", - "version": "dev-dev", - "source": { - "type": "git", - "url": "https://github.com/butcherman/artisan-dev-commands.git", - "reference": "044f13bf8ab7a5d2807e961887e4d7c1aa0604e2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/butcherman/artisan-dev-commands/zipball/044f13bf8ab7a5d2807e961887e4d7c1aa0604e2", - "reference": "044f13bf8ab7a5d2807e961887e4d7c1aa0604e2", - "shasum": "" - }, - "require": { - "illuminate/support": "^5.5|^6.0|^7.0|^8.0|^9.0", - "php": "^7.2|^8.0" - }, - "require-dev": { - "fzaninotto/faker": "^1.4", - "mockery/mockery": "^1.0", - "orchestra/testbench": "^4.3", - "phpunit/phpunit": "^8.0" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "Butcherman\\ArtisanDevCommands\\ArtisanDevCommandsServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "Butcherman\\ArtisanDevCommands\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Butcherman", - "email": "ronbutcher@att.net" - } - ], - "description": "A collection of commands to run in the Artisan CLI that will make development troubleshooting your Laravel project a little easier", - "keywords": [ - "artisan command", - "dev", - "development", - "framework", - "laravel" - ], - "support": { - "issues": "https://github.com/butcherman/artisan-dev-commands/issues", - "source": "https://github.com/butcherman/artisan-dev-commands/tree/dev" - }, - "time": "2022-03-13T22:51:41+00:00" - }, { "name": "doctrine/instantiator", "version": "1.4.1", @@ -7306,197 +6798,54 @@ "doctrine/coding-standard": "^9", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.16 || ^1", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.22" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.1" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2022-03-03T08:28:38+00:00" - }, - { - "name": "facade/flare-client-php", - "version": "1.9.1", - "source": { - "type": "git", - "url": "https://github.com/facade/flare-client-php.git", - "reference": "b2adf1512755637d0cef4f7d1b54301325ac78ed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/facade/flare-client-php/zipball/b2adf1512755637d0cef4f7d1b54301325ac78ed", - "reference": "b2adf1512755637d0cef4f7d1b54301325ac78ed", - "shasum": "" - }, - "require": { - "facade/ignition-contracts": "~1.0", - "illuminate/pipeline": "^5.5|^6.0|^7.0|^8.0", - "php": "^7.1|^8.0", - "symfony/http-foundation": "^3.3|^4.1|^5.0", - "symfony/mime": "^3.4|^4.0|^5.1", - "symfony/var-dumper": "^3.4|^4.0|^5.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.14", - "phpunit/phpunit": "^7.5.16", - "spatie/phpunit-snapshot-assertions": "^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "files": [ - "src/helpers.php" - ], - "psr-4": { - "Facade\\FlareClient\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Send PHP errors to Flare", - "homepage": "https://github.com/facade/flare-client-php", - "keywords": [ - "exception", - "facade", - "flare", - "reporting" - ], - "support": { - "issues": "https://github.com/facade/flare-client-php/issues", - "source": "https://github.com/facade/flare-client-php/tree/1.9.1" - }, - "funding": [ - { - "url": "https://github.com/spatie", - "type": "github" - } - ], - "time": "2021-09-13T12:16:46+00:00" - }, - { - "name": "facade/ignition", - "version": "2.17.5", - "source": { - "type": "git", - "url": "https://github.com/facade/ignition.git", - "reference": "1d71996f83c9a5a7807331b8986ac890352b7a0c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/facade/ignition/zipball/1d71996f83c9a5a7807331b8986ac890352b7a0c", - "reference": "1d71996f83c9a5a7807331b8986ac890352b7a0c", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "ext-json": "*", - "ext-mbstring": "*", - "facade/flare-client-php": "^1.9.1", - "facade/ignition-contracts": "^1.0.2", - "illuminate/support": "^7.0|^8.0", - "monolog/monolog": "^2.0", - "php": "^7.2.5|^8.0", - "symfony/console": "^5.0", - "symfony/var-dumper": "^5.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.14", - "livewire/livewire": "^2.4", - "mockery/mockery": "^1.3", - "orchestra/testbench": "^5.0|^6.0", - "psalm/plugin-laravel": "^1.2" - }, - "suggest": { - "laravel/telescope": "^3.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - }, - "laravel": { - "providers": [ - "Facade\\Ignition\\IgnitionServiceProvider" - ], - "aliases": { - "Flare": "Facade\\Ignition\\Facades\\Flare" - } - } + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.22" }, + "type": "library", "autoload": { - "files": [ - "src/helpers.php" - ], "psr-4": { - "Facade\\Ignition\\": "src" + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "A beautiful error page for Laravel applications.", - "homepage": "https://github.com/facade/ignition", + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", "keywords": [ - "error", - "flare", - "laravel", - "page" + "constructor", + "instantiate" ], "support": { - "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", - "forum": "https://twitter.com/flareappio", - "issues": "https://github.com/facade/ignition/issues", - "source": "https://github.com/facade/ignition" + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.4.1" }, - "time": "2022-02-23T18:31:24+00:00" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-03-03T08:28:38+00:00" }, { "name": "facade/ignition-contracts", @@ -7939,37 +7288,37 @@ }, { "name": "nunomaduro/collision", - "version": "v5.11.0", + "version": "v6.2.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "8b610eef8582ccdc05d8f2ab23305e2d37049461" + "reference": "c379636dc50e829edb3a8bcb944a01aa1aed8f25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/8b610eef8582ccdc05d8f2ab23305e2d37049461", - "reference": "8b610eef8582ccdc05d8f2ab23305e2d37049461", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/c379636dc50e829edb3a8bcb944a01aa1aed8f25", + "reference": "c379636dc50e829edb3a8bcb944a01aa1aed8f25", "shasum": "" }, "require": { - "facade/ignition-contracts": "^1.0", - "filp/whoops": "^2.14.3", - "php": "^7.3 || ^8.0", - "symfony/console": "^5.0" + "facade/ignition-contracts": "^1.0.2", + "filp/whoops": "^2.14.5", + "php": "^8.0.0", + "symfony/console": "^6.0.2" }, "require-dev": { - "brianium/paratest": "^6.1", - "fideloper/proxy": "^4.4.1", - "fruitcake/laravel-cors": "^2.0.3", - "laravel/framework": "8.x-dev", - "nunomaduro/larastan": "^0.6.2", - "nunomaduro/mock-final-classes": "^1.0", - "orchestra/testbench": "^6.0", - "phpstan/phpstan": "^0.12.64", - "phpunit/phpunit": "^9.5.0" + "brianium/paratest": "^6.4.1", + "laravel/framework": "^9.7", + "nunomaduro/larastan": "^1.0.2", + "nunomaduro/mock-final-classes": "^1.1.0", + "orchestra/testbench": "^7.3.0", + "phpunit/phpunit": "^9.5.11" }, "type": "library", "extra": { + "branch-alias": { + "dev-develop": "6.x-dev" + }, "laravel": { "providers": [ "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" @@ -8022,7 +7371,7 @@ "type": "patreon" } ], - "time": "2022-01-10T16:22:52+00:00" + "time": "2022-04-05T15:31:38+00:00" }, { "name": "phar-io/manifest", @@ -9747,6 +9096,302 @@ ], "time": "2020-09-28T06:39:44+00:00" }, + { + "name": "spatie/backtrace", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/backtrace.git", + "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "ext-json": "*", + "phpunit/phpunit": "^9.3", + "symfony/var-dumper": "^5.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Backtrace\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van de Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A better backtrace", + "homepage": "https://github.com/spatie/backtrace", + "keywords": [ + "Backtrace", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/backtrace/issues", + "source": "https://github.com/spatie/backtrace/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2021-11-09T10:57:15+00:00" + }, + { + "name": "spatie/flare-client-php", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/flare-client-php.git", + "reference": "86a380f5b1ce839af04a08f1c8f2697184cdf23f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/86a380f5b1ce839af04a08f1c8f2697184cdf23f", + "reference": "86a380f5b1ce839af04a08f1c8f2697184cdf23f", + "shasum": "" + }, + "require": { + "illuminate/pipeline": "^8.0|^9.0", + "php": "^8.0", + "spatie/backtrace": "^1.2", + "symfony/http-foundation": "^5.0|^6.0", + "symfony/mime": "^5.2|^6.0", + "symfony/process": "^5.2|^6.0", + "symfony/var-dumper": "^5.2|^6.0" + }, + "require-dev": { + "dms/phpunit-arraysubset-asserts": "^0.3.0", + "pestphp/pest": "^1.20", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "spatie/phpunit-snapshot-assertions": "^4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.1.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\FlareClient\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Send PHP errors to Flare", + "homepage": "https://github.com/spatie/flare-client-php", + "keywords": [ + "exception", + "flare", + "reporting", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/flare-client-php/issues", + "source": "https://github.com/spatie/flare-client-php/tree/1.2.0" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-05-16T12:13:39+00:00" + }, + { + "name": "spatie/ignition", + "version": "1.3.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/ignition.git", + "reference": "997363fbcce809b1e55f571997d49017f9c623d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/ignition/zipball/997363fbcce809b1e55f571997d49017f9c623d9", + "reference": "997363fbcce809b1e55f571997d49017f9c623d9", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "monolog/monolog": "^2.0", + "php": "^8.0", + "spatie/flare-client-php": "^1.1", + "symfony/console": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" + }, + "require-dev": { + "mockery/mockery": "^1.4", + "pestphp/pest": "^1.20", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "symfony/process": "^5.4|^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for PHP applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/ignition/issues", + "source": "https://github.com/spatie/ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-05-16T13:16:07+00:00" + }, + { + "name": "spatie/laravel-ignition", + "version": "1.2.3", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-ignition.git", + "reference": "51e5daaa7e43c154fe57f1ddfbba862f9fe57646" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/51e5daaa7e43c154fe57f1ddfbba862f9fe57646", + "reference": "51e5daaa7e43c154fe57f1ddfbba862f9fe57646", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "illuminate/support": "^8.77|^9.0", + "monolog/monolog": "^2.3", + "php": "^8.0", + "spatie/flare-client-php": "^1.0.1", + "spatie/ignition": "^1.2.4", + "symfony/console": "^5.0|^6.0", + "symfony/var-dumper": "^5.0|^6.0" + }, + "require-dev": { + "filp/whoops": "^2.14", + "livewire/livewire": "^2.8|dev-develop", + "mockery/mockery": "^1.4", + "nunomaduro/larastan": "^1.0", + "orchestra/testbench": "^6.23|^7.0", + "pestphp/pest": "^1.20", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "spatie/laravel-ray": "^1.27" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\LaravelIgnition\\IgnitionServiceProvider" + ], + "aliases": { + "Flare": "Spatie\\LaravelIgnition\\Facades\\Flare" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\LaravelIgnition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for Laravel applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/laravel-ignition/issues", + "source": "https://github.com/spatie/laravel-ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-05-05T15:53:24+00:00" + }, { "name": "symfony/debug", "version": "v4.4.41", @@ -9868,9 +9513,7 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": { - "butcherman/artisan-dev-commands": 20 - }, + "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": { From 34f2fabecb62192e5c600970f7632773b9f17a88 Mon Sep 17 00:00:00 2001 From: Butcherman Date: Tue, 17 May 2022 19:44:01 -0700 Subject: [PATCH 03/11] Added forked repo of antonioribeiro/version --- .gitignore | 1 + composer.json | 8 ++ composer.lock | 299 ++++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 296 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 49ccb6f7b..07c7f4158 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /vendor /tests/_report /keystore +/packages .vscode/ .env .env.backup diff --git a/composer.json b/composer.json index 255d00c63..f37591ed1 100644 --- a/composer.json +++ b/composer.json @@ -16,6 +16,12 @@ "maintenance" ], "license": "LGPL-2.0-or-later", + "repositories": [ + { + "type": "vcs", + "url": "git@github.com:butcherman/version.git" + } + ], "require": { "php": "^8.0", "barryvdh/laravel-dompdf": "^1.0", @@ -32,6 +38,7 @@ "laravel/tinker": "^2.7", "nwidart/laravel-modules": "^9.0", "pion/laravel-chunk-upload": "^1.5", + "pragmarx/version": "dev-master", "predis/predis": "^1.1", "spatie/laravel-cookie-consent": "^3.2", "symfony/process": "^6.0", @@ -40,6 +47,7 @@ }, "require-dev": { "barryvdh/laravel-debugbar": "^3.6", + "butcherman/artisan-dev-commands": "0.0.4", "fakerphp/faker": "^1.19", "mockery/mockery": "^1.5", "nunomaduro/collision": "^6.1", diff --git a/composer.lock b/composer.lock index 849c96e37..63aa04f3a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "30cf12f88cf20650bca3fba18c276909", + "content-hash": "3dc5198cd0050ad58b4e188a8aaee20d", "packages": [ { "name": "barryvdh/laravel-dompdf", @@ -1760,16 +1760,16 @@ }, { "name": "laravel/framework", - "version": "v9.12.2", + "version": "v9.13.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "b5b5c635f1a93f277b5248725a1f7ffc97e20810" + "reference": "87b6cc8bc41d1cf85c7c1401cddde8570a3b95bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/b5b5c635f1a93f277b5248725a1f7ffc97e20810", - "reference": "b5b5c635f1a93f277b5248725a1f7ffc97e20810", + "url": "https://api.github.com/repos/laravel/framework/zipball/87b6cc8bc41d1cf85c7c1401cddde8570a3b95bb", + "reference": "87b6cc8bc41d1cf85c7c1401cddde8570a3b95bb", "shasum": "" }, "require": { @@ -1935,7 +1935,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-05-11T13:38:26+00:00" + "time": "2022-05-17T14:07:43+00:00" }, { "name": "laravel/horizon", @@ -2016,16 +2016,16 @@ }, { "name": "laravel/serializable-closure", - "version": "v1.1.1", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "9e4b005daa20b0c161f3845040046dc9ddc1d74e" + "reference": "09f0e9fb61829f628205b7c94906c28740ff9540" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/9e4b005daa20b0c161f3845040046dc9ddc1d74e", - "reference": "9e4b005daa20b0c161f3845040046dc9ddc1d74e", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/09f0e9fb61829f628205b7c94906c28740ff9540", + "reference": "09f0e9fb61829f628205b7c94906c28740ff9540", "shasum": "" }, "require": { @@ -2071,7 +2071,7 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2022-02-11T19:23:53+00:00" + "time": "2022-05-16T17:09:47+00:00" }, { "name": "laravel/telescope", @@ -3245,6 +3245,143 @@ }, "time": "2022-03-21T12:43:48+00:00" }, + { + "name": "pragmarx/version", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/butcherman/version.git", + "reference": "b0b88c6730beff74453cd28e56b9e269ba77e37a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/butcherman/version/zipball/b0b88c6730beff74453cd28e56b9e269ba77e37a", + "reference": "b0b88c6730beff74453cd28e56b9e269ba77e37a", + "shasum": "" + }, + "require": { + "laravel/framework": ">=5.5.33", + "php": ">=7.0", + "pragmarx/yaml": "^1.0", + "symfony/process": "^3.3|^4.0|^5.0|^6.0" + }, + "require-dev": { + "orchestra/testbench": "3.4.*|3.5.*|3.6.*|3.7.*|4.*|5.*|6.*", + "phpunit/phpunit": "~5|~6|~7|~8|~9" + }, + "default-branch": true, + "type": "library", + "extra": { + "component": "package", + "laravel": { + "providers": [ + "PragmaRX\\Version\\Package\\ServiceProvider" + ], + "aliases": { + "Version": "PragmaRX\\Version\\Package\\Facade" + } + } + }, + "autoload": { + "psr-4": { + "PragmaRX\\Version\\Package\\": "src/package", + "PragmaRX\\Version\\Tests\\": "tests/" + } + }, + "scripts": { + "test": [ + "@composer install", + "vendor/bin/phpunit" + ] + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Antonio Carlos Ribeiro", + "email": "acr@antoniocarlosribeiro.com", + "role": "Creator & Designer" + } + ], + "description": "Take control over your Laravel app version", + "keywords": [ + "laravel", + "version", + "versioning" + ], + "support": { + "source": "https://github.com/butcherman/version/tree/master" + }, + "time": "2022-05-18T02:41:43+00:00" + }, + { + "name": "pragmarx/yaml", + "version": "v1.2.1", + "source": { + "type": "git", + "url": "https://github.com/antonioribeiro/yaml.git", + "reference": "9f2b44c4a31f8a71bab77169205aee7184ae3ef4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/antonioribeiro/yaml/zipball/9f2b44c4a31f8a71bab77169205aee7184ae3ef4", + "reference": "9f2b44c4a31f8a71bab77169205aee7184ae3ef4", + "shasum": "" + }, + "require": { + "illuminate/support": ">=5.5.33", + "php": ">=7.0", + "symfony/yaml": "^3.4|^4.0|^5.0" + }, + "require-dev": { + "orchestra/testbench": "3.5|^3.6|^4.0|^5.0", + "phpunit/phpunit": "^4.0|^6.4|^7.0|^8.0|^9.0" + }, + "suggest": { + "ext-yaml": "Required to use the PECL YAML." + }, + "type": "library", + "extra": { + "component": "package", + "laravel": { + "providers": [ + "PragmaRX\\Yaml\\Package\\ServiceProvider" + ], + "aliases": { + "Yaml": "PragmaRX\\Yaml\\Package\\Facade" + } + } + }, + "autoload": { + "psr-4": { + "PragmaRX\\Yaml\\Tests\\": "tests/", + "PragmaRX\\Yaml\\Package\\": "src/package" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Antonio Carlos Ribeiro", + "email": "acr@antoniocarlosribeiro.com", + "role": "Creator & Designer" + } + ], + "description": "Load your Laravel config files using yaml", + "keywords": [ + "config", + "laravel", + "yaml" + ], + "support": { + "issues": "https://github.com/antonioribeiro/yaml/issues", + "source": "https://github.com/antonioribeiro/yaml/tree/v1.2.1" + }, + "time": "2020-05-21T19:46:28+00:00" + }, { "name": "predis/predis", "version": "v1.1.10", @@ -6295,6 +6432,81 @@ ], "time": "2022-04-26T13:22:23+00:00" }, + { + "name": "symfony/yaml", + "version": "v5.4.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "e80f87d2c9495966768310fc531b487ce64237a2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e80f87d2c9495966768310fc531b487ce64237a2", + "reference": "e80f87d2c9495966768310fc531b487ce64237a2", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/console": "<5.3" + }, + "require-dev": { + "symfony/console": "^5.3|^6.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, + "bin": [ + "Resources/bin/yaml-lint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Loads and dumps YAML files", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/yaml/tree/v5.4.3" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-26T16:32:32+00:00" + }, { "name": "tightenco/ziggy", "version": "v1.4.6", @@ -6777,6 +6989,67 @@ ], "time": "2022-02-09T07:52:32+00:00" }, + { + "name": "butcherman/artisan-dev-commands", + "version": "0.0.4", + "source": { + "type": "git", + "url": "https://github.com/butcherman/artisan-dev-commands.git", + "reference": "f687ca0f04457e1868f8410d9731a2912f2f73ec" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/butcherman/artisan-dev-commands/zipball/f687ca0f04457e1868f8410d9731a2912f2f73ec", + "reference": "f687ca0f04457e1868f8410d9731a2912f2f73ec", + "shasum": "" + }, + "require": { + "illuminate/support": "^5.5|^6.0|^7.0|^8.0|^9.0", + "php": "^7.2|^8.0" + }, + "require-dev": { + "fzaninotto/faker": "^1.4", + "mockery/mockery": "^1.0", + "orchestra/testbench": "^4.3|^5.0|^6.0|^7.0", + "phpunit/phpunit": "^8.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Butcherman\\ArtisanDevCommands\\ArtisanDevCommandsServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Butcherman\\ArtisanDevCommands\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Butcherman", + "email": "ronbutcher@att.net" + } + ], + "description": "A collection of commands to run in the Artisan CLI that will make development troubleshooting your Laravel project a little easier", + "keywords": [ + "artisan command", + "dev", + "development", + "framework", + "laravel" + ], + "support": { + "issues": "https://github.com/butcherman/artisan-dev-commands/issues", + "source": "https://github.com/butcherman/artisan-dev-commands/tree/0.0.4" + }, + "time": "2022-05-18T02:30:20+00:00" + }, { "name": "doctrine/instantiator", "version": "1.4.1", @@ -9513,7 +9786,9 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": { + "pragmarx/version": 20 + }, "prefer-stable": true, "prefer-lowest": false, "platform": { From 78e22c5d41798a49bacf685c581b1c928c2c7845 Mon Sep 17 00:00:00 2001 From: Butcherman Date: Tue, 17 May 2022 19:50:25 -0700 Subject: [PATCH 04/11] Moved CookieConsent to Middleware --- app/Http/Kernel.php | 1 + resources/views/app.blade.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index ca73be798..87e1503a8 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -21,6 +21,7 @@ class Kernel extends HttpKernel \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, \App\Http\Middleware\TrimStrings::class, \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, + \Spatie\CookieConsent\CookieConsentMiddleware::class, ]; /** diff --git a/resources/views/app.blade.php b/resources/views/app.blade.php index 801f93fd0..66616158f 100644 --- a/resources/views/app.blade.php +++ b/resources/views/app.blade.php @@ -27,6 +27,5 @@

@inertia - @include('cookieConsent::index') From 1460cf08ed365a69ba2f149e6b091430b80a1461 Mon Sep 17 00:00:00 2001 From: Butcherman Date: Thu, 19 May 2022 13:00:27 -0700 Subject: [PATCH 05/11] Updated Dependencies --- composer.lock | 14 ++++---- package-lock.json | 84 +++++++++++++++++++++++------------------------ package.json | 1 - 3 files changed, 49 insertions(+), 50 deletions(-) diff --git a/composer.lock b/composer.lock index 63aa04f3a..abfc83513 100644 --- a/composer.lock +++ b/composer.lock @@ -8,20 +8,20 @@ "packages": [ { "name": "barryvdh/laravel-dompdf", - "version": "v1.0.0", + "version": "v1.0.1", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-dompdf.git", - "reference": "e3f429e97087b2ef19b83e5ed313f080f2477685" + "reference": "91ed300f860110214f67b3eeb456387bd926c29b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/e3f429e97087b2ef19b83e5ed313f080f2477685", - "reference": "e3f429e97087b2ef19b83e5ed313f080f2477685", + "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/91ed300f860110214f67b3eeb456387bd926c29b", + "reference": "91ed300f860110214f67b3eeb456387bd926c29b", "shasum": "" }, "require": { - "dompdf/dompdf": "^1", + "dompdf/dompdf": "^1.2.1", "illuminate/support": "^6|^7|^8|^9", "php": "^7.2 || ^8.0" }, @@ -68,7 +68,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-dompdf/issues", - "source": "https://github.com/barryvdh/laravel-dompdf/tree/v1.0.0" + "source": "https://github.com/barryvdh/laravel-dompdf/tree/v1.0.1" }, "funding": [ { @@ -80,7 +80,7 @@ "type": "github" } ], - "time": "2022-01-29T08:02:59+00:00" + "time": "2022-05-18T21:46:53+00:00" }, { "name": "behat/transliterator", diff --git a/package-lock.json b/package-lock.json index 01f9d1628..5e97593b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1763,13 +1763,13 @@ } }, "node_modules/@nuxt/opencollective": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@nuxt/opencollective/-/opencollective-0.3.2.tgz", - "integrity": "sha512-XG7rUdXG9fcafu9KTDIYjJSkRO38EwjlKYIb5TQ/0WDbiTUTtUtgncMscKOYzfsY86kGs05pAuMOR+3Fi0aN3A==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@nuxt/opencollective/-/opencollective-0.3.3.tgz", + "integrity": "sha512-6IKCd+gP0HliixqZT/p8nW3tucD6Sv/u/eR2A9X4rxT/6hXlMzA4GZQzq4d2qnBAwSwGpmKyzkyTjNjrhaA25A==", "dependencies": { "chalk": "^4.1.0", "consola": "^2.15.0", - "node-fetch": "^2.6.1" + "node-fetch": "^2.6.7" }, "bin": { "opencollective": "bin/opencollective.js" @@ -2036,9 +2036,9 @@ "peer": true }, "node_modules/@types/node": { - "version": "17.0.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.34.tgz", - "integrity": "sha512-XImEz7XwTvDBtzlTnm8YvMqGW/ErMWBsKZ+hMTvnDIjGCKxwK5Xpc+c/oQjOauwq8M4OS11hEkpjX8rrI/eEgA==" + "version": "17.0.35", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.35.tgz", + "integrity": "sha512-vu1SrqBjbbZ3J6vwY17jBs8Sr/BKA+/a/WtjRG+whKg1iuLFOosq872EXS0eXWILdO36DHQQeku/ZcL6hz2fpg==" }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", @@ -5953,9 +5953,9 @@ } }, "node_modules/libphonenumber-js": { - "version": "1.9.53", - "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.9.53.tgz", - "integrity": "sha512-3cuMrA2CY3TbKVC0wKye5dXYgxmVVi4g13gzotprQSguFHMqf0pIrMM2Z6ZtMsSWqvtIqi5TuQhGjMhxz0O9Mw==" + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.4.tgz", + "integrity": "sha512-9QWxEk4GW5RDnFzt8UtyRENfFpAN8u7Sbf9wf32tcXY9tdtnz1dKHIBwW2Wnfx8ypXJb9zUnTpK9aQJ/B8AlnA==" }, "node_modules/lilconfig": { "version": "2.0.5", @@ -6211,9 +6211,9 @@ } }, "node_modules/memfs": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.1.tgz", - "integrity": "sha512-1c9VPVvW5P7I85c35zAdEr1TD5+F11IToIHIlrVIcflfnzPkJa0ZoYEoEdYDP8KgPFoSZ/opDrUsAoZWym3mtw==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.3.tgz", + "integrity": "sha512-eivjfi7Ahr6eQTn44nvTnR60e4a1Fs1Via2kCR5lHo/kyNoiMWaXCNJ/GpSd0ilXas2JSOl9B5FTIhflXu0hlg==", "dependencies": { "fs-monkey": "1.0.3" }, @@ -7034,9 +7034,9 @@ } }, "node_modules/postcss": { - "version": "8.4.13", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.13.tgz", - "integrity": "sha512-jtL6eTBrza5MPzy8oJLFuUscHDXTV5KcLlqAWHl5q5WYRfnNRGSmOZmOZ1T6Gy7A99mOZfqungmZMpMmCVJ8ZA==", + "version": "8.4.14", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", + "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", "funding": [ { "type": "opencollective", @@ -7048,7 +7048,7 @@ } ], "dependencies": { - "nanoid": "^3.3.3", + "nanoid": "^3.3.4", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -10451,12 +10451,12 @@ } }, "node_modules/webpack-dev-middleware": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.1.tgz", - "integrity": "sha512-81EujCKkyles2wphtdrnPg/QqegC/AtqNH//mQkBYSMqwFVCQrxM6ktB2O/SPlZy7LqeEfTbV3cZARGQz6umhg==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", + "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", "dependencies": { "colorette": "^2.0.10", - "memfs": "^3.4.1", + "memfs": "^3.4.3", "mime-types": "^2.1.31", "range-parser": "^1.2.1", "schema-utils": "^4.0.0" @@ -12067,13 +12067,13 @@ } }, "@nuxt/opencollective": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@nuxt/opencollective/-/opencollective-0.3.2.tgz", - "integrity": "sha512-XG7rUdXG9fcafu9KTDIYjJSkRO38EwjlKYIb5TQ/0WDbiTUTtUtgncMscKOYzfsY86kGs05pAuMOR+3Fi0aN3A==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@nuxt/opencollective/-/opencollective-0.3.3.tgz", + "integrity": "sha512-6IKCd+gP0HliixqZT/p8nW3tucD6Sv/u/eR2A9X4rxT/6hXlMzA4GZQzq4d2qnBAwSwGpmKyzkyTjNjrhaA25A==", "requires": { "chalk": "^4.1.0", "consola": "^2.15.0", - "node-fetch": "^2.6.1" + "node-fetch": "^2.6.7" } }, "@stylelint/postcss-css-in-js": { @@ -12319,9 +12319,9 @@ "peer": true }, "@types/node": { - "version": "17.0.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.34.tgz", - "integrity": "sha512-XImEz7XwTvDBtzlTnm8YvMqGW/ErMWBsKZ+hMTvnDIjGCKxwK5Xpc+c/oQjOauwq8M4OS11hEkpjX8rrI/eEgA==" + "version": "17.0.35", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.35.tgz", + "integrity": "sha512-vu1SrqBjbbZ3J6vwY17jBs8Sr/BKA+/a/WtjRG+whKg1iuLFOosq872EXS0eXWILdO36DHQQeku/ZcL6hz2fpg==" }, "@types/normalize-package-data": { "version": "2.4.1", @@ -15261,9 +15261,9 @@ } }, "libphonenumber-js": { - "version": "1.9.53", - "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.9.53.tgz", - "integrity": "sha512-3cuMrA2CY3TbKVC0wKye5dXYgxmVVi4g13gzotprQSguFHMqf0pIrMM2Z6ZtMsSWqvtIqi5TuQhGjMhxz0O9Mw==" + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.4.tgz", + "integrity": "sha512-9QWxEk4GW5RDnFzt8UtyRENfFpAN8u7Sbf9wf32tcXY9tdtnz1dKHIBwW2Wnfx8ypXJb9zUnTpK9aQJ/B8AlnA==" }, "lilconfig": { "version": "2.0.5", @@ -15462,9 +15462,9 @@ "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" }, "memfs": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.1.tgz", - "integrity": "sha512-1c9VPVvW5P7I85c35zAdEr1TD5+F11IToIHIlrVIcflfnzPkJa0ZoYEoEdYDP8KgPFoSZ/opDrUsAoZWym3mtw==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.3.tgz", + "integrity": "sha512-eivjfi7Ahr6eQTn44nvTnR60e4a1Fs1Via2kCR5lHo/kyNoiMWaXCNJ/GpSd0ilXas2JSOl9B5FTIhflXu0hlg==", "requires": { "fs-monkey": "1.0.3" } @@ -16065,11 +16065,11 @@ "requires": {} }, "postcss": { - "version": "8.4.13", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.13.tgz", - "integrity": "sha512-jtL6eTBrza5MPzy8oJLFuUscHDXTV5KcLlqAWHl5q5WYRfnNRGSmOZmOZ1T6Gy7A99mOZfqungmZMpMmCVJ8ZA==", + "version": "8.4.14", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", + "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", "requires": { - "nanoid": "^3.3.3", + "nanoid": "^3.3.4", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" } @@ -18607,12 +18607,12 @@ } }, "webpack-dev-middleware": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.1.tgz", - "integrity": "sha512-81EujCKkyles2wphtdrnPg/QqegC/AtqNH//mQkBYSMqwFVCQrxM6ktB2O/SPlZy7LqeEfTbV3cZARGQz6umhg==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", + "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", "requires": { "colorette": "^2.0.10", - "memfs": "^3.4.1", + "memfs": "^3.4.3", "mime-types": "^2.1.31", "range-parser": "^1.2.1", "schema-utils": "^4.0.0" diff --git a/package.json b/package.json index 9cd29e2ac..d200d37dd 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "tinymce": "^5.10.2", "vee-validate": "^3.4.14", "vue": "^2.6.14", - "vue-clamp": "^0.3.2", "vue-filter-pretty-bytes": "^0.1.6", "vue-good-table": "^2.21.11", "vue-loader": "^15.9.7", From 20d98137659eebbc915e5abc995a8238170d9d69 Mon Sep 17 00:00:00 2001 From: Butcherman Date: Thu, 19 May 2022 16:41:38 -0700 Subject: [PATCH 06/11] Added Spatie Laravel Backup --- .gitignore | 1 + app/Listeners/Admin/AddVersionToBackup.php | 41 +++ app/Providers/EventServiceProvider.php | 3 + composer.json | 3 +- composer.lock | 341 ++++++++++++++++-- config/backup.php | 200 ++++++++++ public/vendor/horizon/app.js | 2 +- public/vendor/horizon/mix-manifest.json | 2 +- .../lang/vendor/backup/ar/notifications.php | 45 +++ .../lang/vendor/backup/bg/notifications.php | 45 +++ .../lang/vendor/backup/bn/notifications.php | 45 +++ .../lang/vendor/backup/cs/notifications.php | 45 +++ .../lang/vendor/backup/da/notifications.php | 45 +++ .../lang/vendor/backup/de/notifications.php | 45 +++ .../lang/vendor/backup/en/notifications.php | 45 +++ .../lang/vendor/backup/es/notifications.php | 45 +++ .../lang/vendor/backup/fa/notifications.php | 45 +++ .../lang/vendor/backup/fi/notifications.php | 45 +++ .../lang/vendor/backup/fr/notifications.php | 45 +++ .../lang/vendor/backup/hi/notifications.php | 45 +++ .../lang/vendor/backup/id/notifications.php | 45 +++ .../lang/vendor/backup/it/notifications.php | 45 +++ .../lang/vendor/backup/ja/notifications.php | 45 +++ .../lang/vendor/backup/nl/notifications.php | 45 +++ .../lang/vendor/backup/no/notifications.php | 45 +++ .../lang/vendor/backup/pl/notifications.php | 45 +++ .../vendor/backup/pt-BR/notifications.php | 45 +++ .../lang/vendor/backup/pt/notifications.php | 45 +++ .../lang/vendor/backup/ro/notifications.php | 45 +++ .../lang/vendor/backup/ru/notifications.php | 45 +++ .../lang/vendor/backup/tr/notifications.php | 45 +++ .../lang/vendor/backup/uk/notifications.php | 45 +++ .../vendor/backup/zh-CN/notifications.php | 45 +++ .../vendor/backup/zh-TW/notifications.php | 45 +++ 34 files changed, 1738 insertions(+), 25 deletions(-) create mode 100644 app/Listeners/Admin/AddVersionToBackup.php create mode 100644 config/backup.php create mode 100644 resources/lang/vendor/backup/ar/notifications.php create mode 100644 resources/lang/vendor/backup/bg/notifications.php create mode 100644 resources/lang/vendor/backup/bn/notifications.php create mode 100644 resources/lang/vendor/backup/cs/notifications.php create mode 100644 resources/lang/vendor/backup/da/notifications.php create mode 100644 resources/lang/vendor/backup/de/notifications.php create mode 100644 resources/lang/vendor/backup/en/notifications.php create mode 100644 resources/lang/vendor/backup/es/notifications.php create mode 100644 resources/lang/vendor/backup/fa/notifications.php create mode 100644 resources/lang/vendor/backup/fi/notifications.php create mode 100644 resources/lang/vendor/backup/fr/notifications.php create mode 100644 resources/lang/vendor/backup/hi/notifications.php create mode 100644 resources/lang/vendor/backup/id/notifications.php create mode 100644 resources/lang/vendor/backup/it/notifications.php create mode 100644 resources/lang/vendor/backup/ja/notifications.php create mode 100644 resources/lang/vendor/backup/nl/notifications.php create mode 100644 resources/lang/vendor/backup/no/notifications.php create mode 100644 resources/lang/vendor/backup/pl/notifications.php create mode 100644 resources/lang/vendor/backup/pt-BR/notifications.php create mode 100644 resources/lang/vendor/backup/pt/notifications.php create mode 100644 resources/lang/vendor/backup/ro/notifications.php create mode 100644 resources/lang/vendor/backup/ru/notifications.php create mode 100644 resources/lang/vendor/backup/tr/notifications.php create mode 100644 resources/lang/vendor/backup/uk/notifications.php create mode 100644 resources/lang/vendor/backup/zh-CN/notifications.php create mode 100644 resources/lang/vendor/backup/zh-TW/notifications.php diff --git a/.gitignore b/.gitignore index 07c7f4158..142bb54b5 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ npm-debug.log yarn-error.log modules_statuses.json public/mix-manifest.json +version.txt diff --git a/app/Listeners/Admin/AddVersionToBackup.php b/app/Listeners/Admin/AddVersionToBackup.php new file mode 100644 index 000000000..bad3f3312 --- /dev/null +++ b/app/Listeners/Admin/AddVersionToBackup.php @@ -0,0 +1,41 @@ +put('version.txt', (new Version)->version_only()); + + // Storage::disk('backups')->put('backup-temp/version.txt', (new Version)->version_only()); + // $event->manifest->addFiles([storage_path('backups/backup-temp').'/version.txt']); + // $event->manifest->addFiles([Storage::disk('backups')->get('backup-temp/version.txt')]); + + File::put(base_path().DIRECTORY_SEPARATOR.'version.txt', (new Version)->version_only()); + $event->manifest->addFiles([base_path().DIRECTORY_SEPARATOR.'version.txt']); + } +} diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 21d00bdd3..01647bdca 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -305,6 +305,9 @@ class EventServiceProvider extends ServiceProvider 'App\Events\Admin\LogSettingsUpdatedEvent' => [ 'App\Listeners\Admin\LogLogSettingsUpdated', ], + 'Spatie\Backup\Events\BackupManifestWasCreated' => [ + 'App\Listeners\Admin\AddVersionToBackup', + ], ]; /** diff --git a/composer.json b/composer.json index f37591ed1..d53b585e9 100644 --- a/composer.json +++ b/composer.json @@ -40,10 +40,11 @@ "pion/laravel-chunk-upload": "^1.5", "pragmarx/version": "dev-master", "predis/predis": "^1.1", + "spatie/laravel-backup": "^8.1", "spatie/laravel-cookie-consent": "^3.2", "symfony/process": "^6.0", "tightenco/ziggy": "^1.4", - "zanysoft/laravel-zip": "^1.0" + "zanysoft/laravel-zip": "^2.0" }, "require-dev": { "barryvdh/laravel-debugbar": "^3.6", diff --git a/composer.lock b/composer.lock index abfc83513..5f0d96176 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3dc5198cd0050ad58b4e188a8aaee20d", + "content-hash": "adb0c269fc4aef39cbf531f892779495", "packages": [ { "name": "barryvdh/laravel-dompdf", - "version": "v1.0.1", + "version": "v1.0.2", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-dompdf.git", - "reference": "91ed300f860110214f67b3eeb456387bd926c29b" + "reference": "de83130d029289e1b59f28b41c314ce1d157b4a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/91ed300f860110214f67b3eeb456387bd926c29b", - "reference": "91ed300f860110214f67b3eeb456387bd926c29b", + "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/de83130d029289e1b59f28b41c314ce1d157b4a0", + "reference": "de83130d029289e1b59f28b41c314ce1d157b4a0", "shasum": "" }, "require": { @@ -68,7 +68,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-dompdf/issues", - "source": "https://github.com/barryvdh/laravel-dompdf/tree/v1.0.1" + "source": "https://github.com/barryvdh/laravel-dompdf/tree/v1.0.2" }, "funding": [ { @@ -80,7 +80,7 @@ "type": "github" } ], - "time": "2022-05-18T21:46:53+00:00" + "time": "2022-05-19T15:08:38+00:00" }, { "name": "behat/transliterator", @@ -4207,6 +4207,165 @@ }, "time": "2021-12-11T13:40:54+00:00" }, + { + "name": "spatie/db-dumper", + "version": "3.2.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/db-dumper.git", + "reference": "17152c3fd799fb55b34f35885f8f129678faed73" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/db-dumper/zipball/17152c3fd799fb55b34f35885f8f129678faed73", + "reference": "17152c3fd799fb55b34f35885f8f129678faed73", + "shasum": "" + }, + "require": { + "php": "^8.0", + "symfony/process": "^5.0|^6.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\DbDumper\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Dump databases", + "homepage": "https://github.com/spatie/db-dumper", + "keywords": [ + "database", + "db-dumper", + "dump", + "mysqldump", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/db-dumper/issues", + "source": "https://github.com/spatie/db-dumper/tree/3.2.0" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-03-10T16:01:42+00:00" + }, + { + "name": "spatie/laravel-backup", + "version": "8.1.2", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-backup.git", + "reference": "f1559ed36bee30d0e2334974f1d1e02281251c88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/f1559ed36bee30d0e2334974f1d1e02281251c88", + "reference": "f1559ed36bee30d0e2334974f1d1e02281251c88", + "shasum": "" + }, + "require": { + "ext-zip": "^1.14.0", + "illuminate/console": "^9.0", + "illuminate/contracts": "^9.0", + "illuminate/events": "^9.0", + "illuminate/filesystem": "^9.0", + "illuminate/notifications": "^9.0", + "illuminate/support": "^9.0", + "league/flysystem": "^3.0", + "php": "^8.0", + "spatie/db-dumper": "^3.0", + "spatie/laravel-package-tools": "^1.6.2", + "spatie/laravel-signal-aware-command": "^1.2", + "spatie/temporary-directory": "^2.0", + "symfony/console": "^6.0", + "symfony/finder": "^6.0" + }, + "require-dev": { + "composer-runtime-api": "^2.0", + "ext-pcntl": "*", + "laravel/slack-notification-channel": "^2.4", + "league/flysystem-aws-s3-v3": "^2.0|^3.0", + "mockery/mockery": "^1.4", + "orchestra/testbench": "^7.0", + "pestphp/pest": "^1.20" + }, + "suggest": { + "laravel/slack-notification-channel": "Required for sending notifications via Slack" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\Backup\\BackupServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/Helpers/functions.php" + ], + "psr-4": { + "Spatie\\Backup\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A Laravel package to backup your application", + "homepage": "https://github.com/spatie/laravel-backup", + "keywords": [ + "backup", + "database", + "laravel-backup", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/laravel-backup/issues", + "source": "https://github.com/spatie/laravel-backup/tree/8.1.2" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2022-04-08T06:40:46+00:00" + }, { "name": "spatie/laravel-cookie-consent", "version": "3.2.1", @@ -4343,6 +4502,140 @@ ], "time": "2022-03-15T20:01:36+00:00" }, + { + "name": "spatie/laravel-signal-aware-command", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-signal-aware-command.git", + "reference": "d15a5b69bf715fc557b7034b4abd5a1472ae7ec8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-signal-aware-command/zipball/d15a5b69bf715fc557b7034b4abd5a1472ae7ec8", + "reference": "d15a5b69bf715fc557b7034b4abd5a1472ae7ec8", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^8.35|^9.0", + "php": "^8.0", + "spatie/laravel-package-tools": "^1.4.3" + }, + "require-dev": { + "brianium/paratest": "^6.2", + "ext-pcntl": "*", + "nunomaduro/collision": "^5.3|^6.0", + "orchestra/testbench": "^6.16|^7.0", + "phpunit/phpunit": "^9.5", + "spatie/laravel-ray": "^1.17" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\SignalAwareCommand\\SignalAwareCommandServiceProvider" + ], + "aliases": { + "Signal": "Spatie\\SignalAwareCommand\\Facades\\Signal" + } + } + }, + "autoload": { + "psr-4": { + "Spatie\\SignalAwareCommand\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "role": "Developer" + } + ], + "description": "Handle signals in artisan commands", + "homepage": "https://github.com/spatie/laravel-signal-aware-command", + "keywords": [ + "laravel", + "laravel-signal-aware-command", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/laravel-signal-aware-command/issues", + "source": "https://github.com/spatie/laravel-signal-aware-command/tree/1.2.0" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-01-12T19:42:44+00:00" + }, + { + "name": "spatie/temporary-directory", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/temporary-directory.git", + "reference": "79f138f2b81adae583d04d3727a4538dd394023f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/79f138f2b81adae583d04d3727a4538dd394023f", + "reference": "79f138f2b81adae583d04d3727a4538dd394023f", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\TemporaryDirectory\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Alex Vanderbist", + "email": "alex@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Easily create, use and destroy temporary directories", + "homepage": "https://github.com/spatie/temporary-directory", + "keywords": [ + "php", + "spatie", + "temporary-directory" + ], + "support": { + "issues": "https://github.com/spatie/temporary-directory/issues", + "source": "https://github.com/spatie/temporary-directory/tree/2.1.0" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-03-11T08:16:01+00:00" + }, { "name": "symfony/console", "version": "v6.0.8", @@ -6841,24 +7134,22 @@ }, { "name": "zanysoft/laravel-zip", - "version": "1.0.3", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/zanysoft/laravel-zip.git", - "reference": "466663746c92154c48a2d490efc6724f9f6e9652" + "reference": "098fc10db374bdd0ac7d0e1ca2e6576e471674f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zanysoft/laravel-zip/zipball/466663746c92154c48a2d490efc6724f9f6e9652", - "reference": "466663746c92154c48a2d490efc6724f9f6e9652", + "url": "https://api.github.com/repos/zanysoft/laravel-zip/zipball/098fc10db374bdd0ac7d0e1ca2e6576e471674f1", + "reference": "098fc10db374bdd0ac7d0e1ca2e6576e471674f1", "shasum": "" }, "require": { - "php": ">=5.6.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.0|^5.0", - "scrutinizer/ocular": "^1.0" + "ext-zip": "*", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0", + "php": ">=8.0" }, "type": "library", "extra": { @@ -6883,13 +7174,19 @@ "authors": [ { "name": "Zany Soft", - "email": "info@zanysoft.co", - "homepage": "http://www.zanysoft.co" + "email": "info@zanysoft.net", + "homepage": "http://www.zanysoft.net" } ], - "description": "ZipArchive toolbox", - "homepage": "http://www.zanysoft.co", + "description": "laravel-zip is the world's leading zip utility for file compression and backup.", + "homepage": "http://www.zanysoft.net", "keywords": [ + "backup", + "extract", + "laravel", + "laravel-zip", + "laravel8", + "laravel9", "merge", "multiple", "unzip", @@ -6898,9 +7195,9 @@ ], "support": { "issues": "https://github.com/zanysoft/laravel-zip/issues", - "source": "https://github.com/zanysoft/laravel-zip/tree/1.0.3" + "source": "https://github.com/zanysoft/laravel-zip/tree/2.0.1" }, - "time": "2017-10-10T03:22:41+00:00" + "time": "2022-05-17T16:00:56+00:00" } ], "packages-dev": [ diff --git a/config/backup.php b/config/backup.php new file mode 100644 index 000000000..6455b0f96 --- /dev/null +++ b/config/backup.php @@ -0,0 +1,200 @@ + [ + 'name' => env('APP_NAME', 'tech-bench-backup'), + 'source' => [ + 'files' => [ + /* + * The list of directories and files that will be included in the backup. + */ + 'include' => [ + storage_path(), + ], + + /* + * These directories and files will be excluded from the backup. + */ + 'exclude' => [ + storage_path('backups'), + storage_path('debugbar'), + storage_path('framework'), + ], + 'follow_links' => false, + 'ignore_unreadable_directories' => false, + 'relative_path' => null, + ], + 'mysql' => [ + 'dump' => [ + 'excludeTables' => [ + 'failed_jobs', + 'jobs', + 'password_resets', + 'telescope_entries', + 'telescope_entries_tags', + 'telescope_monitoring', + 'user_initializes', + ], + ], + ], + 'databases' => [ + 'mysql', + ], + ], + 'database_dump_compressor' => Spatie\DbDumper\Compressors\GzipCompressor::class, + 'database_dump_file_extension' => 'sql', + 'destination' => [ + /* + * The filename prefix used for the backup zip file. + */ + 'filename_prefix' => 'TB_Backup_', + /* + * The disk names on which the backups will be stored. + */ + 'disks' => [ + 'backups', + ], + ], + /* + * The directory where the temporary files will be stored. + */ + 'temporary_directory' => storage_path('backups/backup-temp'), + /* + * The password to be used for archive encryption. + * Set to `null` to disable encryption. + */ + 'password' => env('BACKUP_ARCHIVE_PASSWORD'), + 'encryption' => 'default', + ], + + /* + * You can get notified when specific events occur. Out of the box you can use 'mail' and 'slack'. + * For Slack you need to install laravel/slack-notification-channel. + * + * You can also use your own notification classes, just make sure the class is named after one of + * the `Spatie\Backup\Notifications\Notifications` classes. + */ + 'notifications' => [ + 'notifications' => [ + \Spatie\Backup\Notifications\Notifications\BackupHasFailedNotification::class => ['mail'], + \Spatie\Backup\Notifications\Notifications\UnhealthyBackupWasFoundNotification::class => ['mail'], + \Spatie\Backup\Notifications\Notifications\CleanupHasFailedNotification::class => ['mail'], + \Spatie\Backup\Notifications\Notifications\BackupWasSuccessfulNotification::class => ['mail'], + \Spatie\Backup\Notifications\Notifications\HealthyBackupWasFoundNotification::class => ['mail'], + \Spatie\Backup\Notifications\Notifications\CleanupWasSuccessfulNotification::class => ['mail'], + ], + + /* + * Here you can specify the notifiable to which the notifications should be sent. The default + * notifiable will use the variables specified in this config file. + */ + 'notifiable' => \Spatie\Backup\Notifications\Notifiable::class, + + 'mail' => [ + 'to' => 'your@example.com', + + 'from' => [ + 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), + 'name' => env('MAIL_FROM_NAME', 'Example'), + ], + ], + + 'slack' => [ + 'webhook_url' => '', + + /* + * If this is set to null the default channel of the webhook will be used. + */ + 'channel' => null, + + 'username' => null, + + 'icon' => null, + + ], + + 'discord' => [ + 'webhook_url' => '', + + 'username' => null, + + 'avatar_url' => null, + ], + ], + + /* + * Here you can specify which backups should be monitored. + * If a backup does not meet the specified requirements the + * UnHealthyBackupWasFound event will be fired. + */ + 'monitor_backups' => [ + [ + 'name' => env('APP_NAME', 'tech-bench-backup'), + 'disks' => ['local'], + 'health_checks' => [ + \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumAgeInDays::class => 1, + \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumStorageInMegabytes::class => 5000, + ], + ], + + /* + [ + 'name' => 'name of the second app', + 'disks' => ['local', 's3'], + 'health_checks' => [ + \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumAgeInDays::class => 1, + \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumStorageInMegabytes::class => 5000, + ], + ], + */ + ], + + 'cleanup' => [ + /* + * The strategy that will be used to cleanup old backups. The default strategy + * will keep all backups for a certain amount of days. After that period only + * a daily backup will be kept. After that period only weekly backups will + * be kept and so on. + * + * No matter how you configure it the default strategy will never + * delete the newest backup. + */ + 'strategy' => \Spatie\Backup\Tasks\Cleanup\Strategies\DefaultStrategy::class, + + 'default_strategy' => [ + + /* + * The number of days for which backups must be kept. + */ + 'keep_all_backups_for_days' => 7, + + /* + * The number of days for which daily backups must be kept. + */ + 'keep_daily_backups_for_days' => 16, + + /* + * The number of weeks for which one weekly backup must be kept. + */ + 'keep_weekly_backups_for_weeks' => 8, + + /* + * The number of months for which one monthly backup must be kept. + */ + 'keep_monthly_backups_for_months' => 4, + + /* + * The number of years for which one yearly backup must be kept. + */ + 'keep_yearly_backups_for_years' => 2, + + /* + * After cleaning up the backups remove the oldest backup until + * this amount of megabytes has been reached. + */ + 'delete_oldest_backups_when_using_more_megabytes_than' => 5000, + ], + ], + +]; diff --git a/public/vendor/horizon/app.js b/public/vendor/horizon/app.js index 082e7ac4c..c209b9255 100644 --- a/public/vendor/horizon/app.js +++ b/public/vendor/horizon/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.js.LICENSE.txt */ -(()=>{var t,e={9669:(t,e,n)=>{t.exports=n(1609)},5448:(t,e,n)=>{"use strict";var r=n(4867),i=n(6026),o=n(4372),a=n(5327),c=n(4097),s=n(4109),l=n(7985),u=n(5061);t.exports=function(t){return new Promise((function(e,n){var f=t.data,d=t.headers,p=t.responseType;r.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var M=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(M+":"+b)}var m=c(t.baseURL,t.url);function v(){if(h){var r="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,o={data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:t,request:h};i(e,n,o),h=null}}if(h.open(t.method.toUpperCase(),a(m,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,"onloadend"in h?h.onloadend=v:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(v)},h.onabort=function(){h&&(n(u("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(u("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var g=(t.withCredentials||l(m))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;g&&(d[t.xsrfHeaderName]=g)}"setRequestHeader"in h&&r.forEach(d,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete d[e]:h.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),p&&"json"!==p&&(h.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),n(t),h=null)})),f||(f=null),h.send(f)}))}},1609:(t,e,n)=>{"use strict";var r=n(4867),i=n(1849),o=n(321),a=n(7185);function c(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var s=c(n(5655));s.Axios=o,s.create=function(t){return c(a(s.defaults,t))},s.Cancel=n(5263),s.CancelToken=n(4972),s.isCancel=n(6502),s.all=function(t){return Promise.all(t)},s.spread=n(8713),s.isAxiosError=n(6268),t.exports=s,t.exports.default=s},5263:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:(t,e,n)=>{"use strict";var r=n(5263);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},6502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:(t,e,n)=>{"use strict";var r=n(4867),i=n(5327),o=n(782),a=n(3572),c=n(7185),s=n(4875),l=s.validators;function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=c(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&s.assertOptions(e,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),i=Promise.resolve(t);u.length;)i=i.then(u.shift(),u.shift());return i}for(var f=t;n.length;){var d=n.shift(),p=n.shift();try{f=d(f)}catch(t){p(t);break}}try{i=a(f)}catch(t){return Promise.reject(t)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},u.prototype.getUri=function(t){return t=c(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(c(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,r){return this.request(c(r||{},{method:t,url:e,data:n}))}})),t.exports=u},782:(t,e,n)=>{"use strict";var r=n(4867);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},4097:(t,e,n)=>{"use strict";var r=n(1793),i=n(7303);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},5061:(t,e,n)=>{"use strict";var r=n(481);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},3572:(t,e,n)=>{"use strict";var r=n(4867),i=n(8527),o=n(6502),a=n(5655);function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return c(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(c(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:t=>{"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},7185:(t,e,n)=>{"use strict";var r=n(4867);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],c=["validateStatus"];function s(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function l(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=s(void 0,t[i])):n[i]=s(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=s(void 0,e[t]))})),r.forEach(o,l),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=s(void 0,t[i])):n[i]=s(void 0,e[i])})),r.forEach(c,(function(r){r in e?n[r]=s(t[r],e[r]):r in t&&(n[r]=s(void 0,t[r]))}));var u=i.concat(o).concat(a).concat(c),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(f,l),n}},6026:(t,e,n)=>{"use strict";var r=n(5061);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8527:(t,e,n)=>{"use strict";var r=n(4867),i=n(5655);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},5655:(t,e,n)=>{"use strict";var r=n(4155),i=n(4867),o=n(6016),a=n(481),c={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var l,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(l=n(5448)),l),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),function(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){u.headers[t]=i.merge(c)})),t.exports=u},1849:t=>{"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r{"use strict";var r=n(4867);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var c=t.indexOf("#");-1!==c&&(t=t.slice(0,c)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},7303:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:(t,e,n)=>{"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,a){var c=[];c.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),r.isString(i)&&c.push("path="+i),r.isString(o)&&c.push("domain="+o),!0===a&&c.push("secure"),document.cookie=c.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},6268:t=>{"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},7985:(t,e,n)=>{"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},6016:(t,e,n)=>{"use strict";var r=n(4867);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},4109:(t,e,n)=>{"use strict";var r=n(4867),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:(t,e,n)=>{"use strict";var r=n(8593),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},a=r.version.split(".");function c(t,e){for(var n=e?e.split("."):a,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]0;){var o=r[i],a=e[o];if(a){var c=t[o],s=void 0===c||a(c,o,t);if(!0!==s)throw new TypeError("option "+o+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},4867:(t,e,n)=>{"use strict";var r=n(1849),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return void 0===t}function c(t){return null!==t&&"object"==typeof t}function s(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function l(t){return"[object Function]"===i.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n{"use strict";var r=Object.freeze({});function i(t){return null==t}function o(t){return null!=t}function a(t){return!0===t}function c(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function f(t){return"[object RegExp]"===l.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function M(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function A(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var z=/-(\w)/g,O=_((function(t){return t.replace(z,(function(t,e){return e?e.toUpperCase():""}))})),x=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),w=/\B([A-Z])/g,L=_((function(t){return t.replace(w,"-$1").toLowerCase()}));var N=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function T(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function C(t,e){for(var n in e)t[n]=e[n];return t}function q(t){for(var e={},n=0;n0,et=Q&&Q.indexOf("edge/")>0,nt=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===K),rt=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),it={}.watch,ot=!1;if(G)try{var at={};Object.defineProperty(at,"passive",{get:function(){ot=!0}}),window.addEventListener("test-passive",null,at)}catch(t){}var ct=function(){return void 0===V&&(V=!G&&!J&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),V},st=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,ft="undefined"!=typeof Symbol&<(Symbol)&&"undefined"!=typeof Reflect&<(Reflect.ownKeys);ut="undefined"!=typeof Set&<(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt=S,pt=0,ht=function(){this.id=pt++,this.subs=[]};ht.prototype.addSub=function(t){this.subs.push(t)},ht.prototype.removeSub=function(t){g(this.subs,t)},ht.prototype.depend=function(){ht.target&&ht.target.addDep(this)},ht.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!A(i,"default"))a=!1;else if(""===a||a===L(t)){var s=$t(String,i.type);(s<0||c0&&(Me((r=be(r,(e||"")+"_"+n))[0])&&Me(l)&&(u[s]=At(l.text+r[0].text),r.shift()),u.push.apply(u,r)):c(r)?Me(l)?u[s]=At(l.text+r):""!==r&&u.push(At(r)):Me(r)&&Me(l)?u[s]=At(l.text+r.text):(a(t._isVList)&&o(r.tag)&&i(r.key)&&o(e)&&(r.key="__vlist"+e+"_"+n+"__"),u.push(r)));return u}function me(t,e){if(t){for(var n=Object.create(null),r=ft?Reflect.ownKeys(t):Object.keys(t),i=0;i0,a=t?!!t.$stable:!o,c=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&c===n.$key&&!o&&!n.$hasNormal)return n;for(var s in i={},t)t[s]&&"$"!==s[0]&&(i[s]=Ae(e,s,t[s]))}else i={};for(var l in e)l in i||(i[l]=_e(e,l));return t&&Object.isExtensible(t)&&(t._normalized=i),H(i,"$stable",a),H(i,"$key",c),H(i,"$hasNormal",o),i}function Ae(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:he(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function _e(t,e){return function(){return t[e]}}function ze(t,e){var n,r,i,a,c;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;rdocument.createEvent("Event").timeStamp&&(bn=function(){return mn.now()})}function vn(){var t,e;for(Mn=bn(),pn=!0,ln.sort((function(t,e){return t.id-e.id})),hn=0;hnhn&&ln[n].id>t.id;)n--;ln.splice(n+1,0,t)}else ln.push(t);dn||(dn=!0,oe(vn))}}(this)},yn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Ut(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},yn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},yn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},yn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var An={enumerable:!0,configurable:!0,get:S,set:S};function _n(t,e,n){An.get=function(){return this[e][n]},An.set=function(t){this[e][n]=t},Object.defineProperty(t,n,An)}function zn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];t.$parent&&Lt(!1);var o=function(o){i.push(o);var a=It(o,e,n,t);Ct(r,o,a),o in t||_n(t,"_props",o)};for(var a in e)o(a);Lt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?S:N(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){bt();try{return t.call(e,e)}catch(t){return Ut(t,e,"data()"),{}}finally{mt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&A(r,o)||F(o)||_n(t,"_data",o)}Tt(e,!0)}(t):Tt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var i in e){var o=e[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new yn(t,a||S,S,On)),i in t||xn(t,i,o)}}(t,e.computed),e.watch&&e.watch!==it&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Wn(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var c=kn(a.componentOptions);c&&!e(c)&&Bn(n,o,r,i)}}}function Bn(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,g(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Tn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Rt(Cn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&en(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=ve(e._renderChildren,i),t.$scopedSlots=r,t._c=function(e,n,r,i){return $e(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return $e(t,e,n,r,i,!0)};var o=n&&n.data;Ct(t,"$attrs",o&&o.attrs||r,null,!0),Ct(t,"$listeners",e._parentListeners||r,null,!0)}(e),sn(e,"beforeCreate"),function(t){var e=me(t.$options.inject,t);e&&(Lt(!1),Object.keys(e).forEach((function(n){Ct(t,n,e[n])})),Lt(!0))}(e),zn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),sn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(qn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=qt,t.prototype.$delete=St,t.prototype.$watch=function(t,e,n){var r=this;if(u(e))return Nn(r,t,e,n);(n=n||{}).user=!0;var i=new yn(r,t,e,n);if(n.immediate)try{e.call(r,i.value)}catch(t){Ut(t,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(qn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;oparseInt(this.max)&&Bn(a,c[0],c,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return j}};Object.defineProperty(t,"config",e),t.util={warn:dt,extend:C,mergeOptions:Rt,defineReactive:Ct},t.set=qt,t.delete=St,t.nextTick=oe,t.observable=function(t){return Tt(t),t},t.options=Object.create(null),P.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,C(t.options.components,Xn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Rt(this.options,t),this}}(t),Sn(t),function(t){P.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(qn),Object.defineProperty(qn.prototype,"$isServer",{get:ct}),Object.defineProperty(qn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(qn,"FunctionalRenderContext",{value:Xe}),qn.version="2.6.12";var Pn=b("style,class"),Rn=b("input,textarea,option,select,progress"),jn=function(t,e,n){return"value"===n&&Rn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},In=b("contenteditable,draggable,spellcheck"),Fn=b("events,caret,typing,plaintext-only"),Hn=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),$n="http://www.w3.org/1999/xlink",Un=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Vn=function(t){return Un(t)?t.slice(6,t.length):""},Yn=function(t){return null==t||!1===t};function Gn(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Jn(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Jn(e,n.data));return function(t,e){if(o(t)||o(e))return Kn(t,Qn(e));return""}(e.staticClass,e.class)}function Jn(t,e){return{staticClass:Kn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Kn(t,e){return t?e?t+" "+e:t:e||""}function Qn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r-1?zr(t,e,n):Hn(e)?Yn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):In(e)?t.setAttribute(e,function(t,e){return Yn(e)||"false"===e?"false":"contenteditable"===t&&Fn(e)?e:"true"}(e,n)):Un(e)?Yn(n)?t.removeAttributeNS($n,Vn(e)):t.setAttributeNS($n,e,n):zr(t,e,n)}function zr(t,e,n){if(Yn(n))t.removeAttribute(e);else{if(Z&&!tt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Or={create:Ar,update:Ar};function xr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var c=Gn(e),s=n._transitionClasses;o(s)&&(c=Kn(c,Qn(s))),c!==n._prevClass&&(n.setAttribute("class",c),n._prevClass=c)}}var wr,Lr,Nr,Tr,Cr,qr,Sr={create:xr,update:xr},kr=/[\w).+\-_$\]]/;function Er(t){var e,n,r,i,o,a=!1,c=!1,s=!1,l=!1,u=0,f=0,d=0,p=0;for(r=0;r=0&&" "===(M=t.charAt(h));h--);M&&kr.test(M)||(l=!0)}}else void 0===i?(p=r+1,i=t.slice(0,r).trim()):b();function b(){(o||(o=[])).push(t.slice(p,r).trim()),p=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==p&&b(),o)for(r=0;r-1?{exp:t.slice(0,Tr),key:'"'+t.slice(Tr+1)+'"'}:{exp:t,key:null};Lr=t,Tr=Cr=qr=0;for(;!Kr();)Qr(Nr=Jr())?ti(Nr):91===Nr&&Zr(Nr);return{exp:t.slice(0,Cr),key:t.slice(Cr+1,qr)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Jr(){return Lr.charCodeAt(++Tr)}function Kr(){return Tr>=wr}function Qr(t){return 34===t||39===t}function Zr(t){var e=1;for(Cr=Tr;!Kr();)if(Qr(t=Jr()))ti(t);else if(91===t&&e++,93===t&&e--,0===e){qr=Tr;break}}function ti(t){for(var e=t;!Kr()&&(t=Jr())!==e;);}var ei,ni="__r";function ri(t,e,n){var r=ei;return function i(){var o=e.apply(null,arguments);null!==o&&ai(t,i,n,r)}}var ii=Kt&&!(rt&&Number(rt[1])<=53);function oi(t,e,n,r){if(ii){var i=Mn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}ei.addEventListener(t,e,ot?{capture:n,passive:r}:n)}function ai(t,e,n,r){(r||ei).removeEventListener(t,e._wrapper||e,n)}function ci(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};ei=e.elm,function(t){if(o(t.__r)){var e=Z?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}o(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),fe(n,r,oi,ai,ri,e.context),ei=void 0}}var si,li={create:ci,update:ci};function ui(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,a=e.elm,c=t.data.domProps||{},s=e.data.domProps||{};for(n in o(s.__ob__)&&(s=e.data.domProps=C({},s)),c)n in s||(a[n]="");for(n in s){if(r=s[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var l=i(r)?"":String(r);fi(a,l)&&(a.value=l)}else if("innerHTML"===n&&er(a.tagName)&&i(a.innerHTML)){(si=si||document.createElement("div")).innerHTML=""+r+"";for(var u=si.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(r!==c[n])try{a[n]=r}catch(t){}}}}function fi(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.number)return M(n)!==M(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var di={create:ui,update:ui},pi=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function hi(t){var e=Mi(t.style);return t.staticStyle?C(t.staticStyle,e):e}function Mi(t){return Array.isArray(t)?q(t):"string"==typeof t?pi(t):t}var bi,mi=/^--/,vi=/\s*!important$/,gi=function(t,e,n){if(mi.test(e))t.style.setProperty(e,n);else if(vi.test(n))t.style.setProperty(L(e),n.replace(vi,""),"important");else{var r=Ai(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(Oi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function wi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Oi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Li(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&C(e,Ni(t.name||"v")),C(e,t),e}return"string"==typeof t?Ni(t):void 0}}var Ni=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Ti=G&&!tt,Ci="transition",qi="animation",Si="transition",ki="transitionend",Ei="animation",Wi="animationend";Ti&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Si="WebkitTransition",ki="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ei="WebkitAnimation",Wi="webkitAnimationEnd"));var Bi=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Di(t){Bi((function(){Bi(t)}))}function Xi(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),xi(t,e))}function Pi(t,e){t._transitionClasses&&g(t._transitionClasses,e),wi(t,e)}function Ri(t,e,n){var r=Ii(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var c=i===Ci?ki:Wi,s=0,l=function(){t.removeEventListener(c,u),n()},u=function(e){e.target===t&&++s>=a&&l()};setTimeout((function(){s0&&(n=Ci,u=a,f=o.length):e===qi?l>0&&(n=qi,u=l,f=s.length):f=(n=(u=Math.max(a,l))>0?a>l?Ci:qi:null)?n===Ci?o.length:s.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===Ci&&ji.test(r[Si+"Property"])}}function Fi(t,e){for(;t.length1}function Gi(t,e){!0!==e.data.show&&$i(e)}var Ji=function(t){var e,n,r={},s=t.modules,l=t.nodeOps;for(e=0;eh?g(t,i(n[m+1])?null:n[m+1].elm,n,p,m,r):p>m&&A(e,d,h)}(d,b,m,n,u):o(m)?(o(t.text)&&l.setTextContent(d,""),g(d,null,m,0,m.length-1,n)):o(b)?A(b,0,b.length-1):o(t.text)&&l.setTextContent(d,""):t.text!==e.text&&l.setTextContent(d,e.text),o(h)&&o(p=h.hook)&&o(p=p.postpatch)&&p(t,e)}}}function x(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,a.selected!==o&&(a.selected=o);else if(W(eo(a),r))return void(t.selectedIndex!==c&&(t.selectedIndex=c));i||(t.selectedIndex=-1)}}function to(t,e){return e.every((function(e){return!W(e,t)}))}function eo(t){return"_value"in t?t._value:t.value}function no(t){t.target.composing=!0}function ro(t){t.target.composing&&(t.target.composing=!1,io(t.target,"input"))}function io(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function oo(t){return!t.componentInstance||t.data&&t.data.transition?t:oo(t.componentInstance._vnode)}var ao={bind:function(t,e,n){var r=e.value,i=(n=oo(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,$i(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=oo(n)).data&&n.data.transition?(n.data.show=!0,r?$i(n,(function(){t.style.display=t.__vOriginalDisplay})):Ui(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},co={model:Ki,show:ao},so={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function lo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?lo(Ke(e.children)):t}function uo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[O(o)]=i[o];return e}function fo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var po=function(t){return t.tag||Je(t)},ho=function(t){return"show"===t.name},Mo={name:"transition",props:so,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(po)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=lo(i);if(!o)return i;if(this._leaving)return fo(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=uo(this),l=this._vnode,u=lo(l);if(o.data.directives&&o.data.directives.some(ho)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!Je(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=C({},s);if("out-in"===r)return this._leaving=!0,de(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),fo(t,i);if("in-out"===r){if(Je(o))return l;var d,p=function(){d()};de(s,"afterEnter",p),de(s,"enterCancelled",p),de(f,"delayLeave",(function(t){d=t}))}}return i}}},bo=C({tag:String,moveClass:String},so);delete bo.mode;var mo={props:bo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=rn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=uo(this),c=0;c-1?ir[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ir[t]=/HTMLUnknownElement/.test(e.toString())},C(qn.options.directives,co),C(qn.options.components,Ao),qn.prototype.__patch__=G?Ji:S,qn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=yt),sn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new yn(t,r,S,{before:function(){t._isMounted&&!t._isDestroyed&&sn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,sn(t,"mounted")),t}(this,t=t&&G?ar(t):void 0,e)},G&&setTimeout((function(){j.devtools&&st&&st.emit("init",qn)}),0);var _o=/\{\{((?:.|\r?\n)+?)\}\}/g,zo=/[-.*+?^${}()|[\]\/\\]/g,Oo=_((function(t){var e=t[0].replace(zo,"\\$&"),n=t[1].replace(zo,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var xo={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=$r(t,"class");n&&(t.staticClass=JSON.stringify(n));var r=Hr(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var wo,Lo={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=$r(t,"style");n&&(t.staticStyle=JSON.stringify(pi(n)));var r=Hr(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},No=function(t){return(wo=wo||document.createElement("div")).innerHTML=t,wo.textContent},To=b("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Co=b("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),qo=b("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),So=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Eo="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+I.source+"]*",Wo="((?:"+Eo+"\\:)?"+Eo+")",Bo=new RegExp("^<"+Wo),Do=/^\s*(\/?)>/,Xo=new RegExp("^<\\/"+Wo+"[^>]*>"),Po=/^]+>/i,Ro=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},$o=/&(?:lt|gt|quot|amp|#39);/g,Uo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Vo=b("pre,textarea",!0),Yo=function(t,e){return t&&Vo(t)&&"\n"===e[0]};function Go(t,e){var n=e?Uo:$o;return t.replace(n,(function(t){return Ho[t]}))}var Jo,Ko,Qo,Zo,ta,ea,na,ra,ia=/^@|^v-on:/,oa=/^v-|^@|^:|^#/,aa=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ca=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,sa=/^\(|\)$/g,la=/^\[.*\]$/,ua=/:(.*)$/,fa=/^:|^\.|^v-bind:/,da=/\.[^.\]]+(?=[^\]]*$)/g,pa=/^v-slot(:|$)|^#/,ha=/[\r\n]/,Ma=/\s+/g,ba=_(No),ma="_empty_";function va(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:xa(e),rawAttrsMap:{},parent:n,children:[]}}function ga(t,e){Jo=e.warn||Br,ea=e.isPreTag||k,na=e.mustUseProp||k,ra=e.getTagNamespace||k;var n=e.isReservedTag||k;(function(t){return!!t.component||!n(t.tag)}),Qo=Dr(e.modules,"transformNode"),Zo=Dr(e.modules,"preTransformNode"),ta=Dr(e.modules,"postTransformNode"),Ko=e.delimiters;var r,i,o=[],a=!1!==e.preserveWhitespace,c=e.whitespace,s=!1,l=!1;function u(t){if(f(t),s||t.processed||(t=ya(t,e)),o.length||t===r||r.if&&(t.elseif||t.else)&&_a(r,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)a=t,c=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(i.children),c&&c.if&&_a(c,{exp:a.elseif,block:a});else{if(t.slotScope){var n=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=t}i.children.push(t),t.parent=i}var a,c;t.children=t.children.filter((function(t){return!t.slotScope})),f(t),t.pre&&(s=!1),ea(t.tag)&&(l=!1);for(var u=0;u]*>)","i")),d=t.replace(f,(function(t,n,r){return l=r.length,Io(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Yo(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));s+=t.length-d.length,t=d,w(u,s-l,s)}else{var p=t.indexOf("<");if(0===p){if(Ro.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h),s,s+h+3),z(h+3);continue}}if(jo.test(t)){var M=t.indexOf("]>");if(M>=0){z(M+2);continue}}var b=t.match(Po);if(b){z(b[0].length);continue}var m=t.match(Xo);if(m){var v=s;z(m[0].length),w(m[1],v,s);continue}var g=O();if(g){x(g),Yo(g.tagName,t)&&z(1);continue}}var y=void 0,A=void 0,_=void 0;if(p>=0){for(A=t.slice(p);!(Xo.test(A)||Bo.test(A)||Ro.test(A)||jo.test(A)||(_=A.indexOf("<",1))<0);)p+=_,A=t.slice(p);y=t.substring(0,p)}p<0&&(y=t),y&&z(y.length),e.chars&&y&&e.chars(y,s-y.length,s)}if(t===n){e.chars&&e.chars(t);break}}function z(e){s+=e,t=t.substring(e)}function O(){var e=t.match(Bo);if(e){var n,r,i={tagName:e[1],attrs:[],start:s};for(z(e[0].length);!(n=t.match(Do))&&(r=t.match(ko)||t.match(So));)r.start=s,z(r[0].length),r.end=s,i.attrs.push(r);if(n)return i.unarySlash=n[1],z(n[0].length),i.end=s,i}}function x(t){var n=t.tagName,s=t.unarySlash;o&&("p"===r&&qo(n)&&w(r),c(n)&&r===n&&w(n));for(var l=a(n)||!!s,u=t.attrs.length,f=new Array(u),d=0;d=0&&i[a].lowerCasedTag!==c;a--);else a=0;if(a>=0){for(var l=i.length-1;l>=a;l--)e.end&&e.end(i[l].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===c?e.start&&e.start(t,[],!0,n,o):"p"===c&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}w()}(t,{warn:Jo,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,a,c,f){var d=i&&i.ns||ra(t);Z&&"svg"===d&&(n=function(t){for(var e=[],n=0;ns&&(c.push(o=t.slice(s,i)),a.push(JSON.stringify(o)));var l=Er(r[1].trim());a.push("_s("+l+")"),c.push({"@binding":l}),s=i+r[0].length}return s-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Fr(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Gr(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Gr(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Gr(e,"$$c")+"}",null,!0)}(t,r,i);else if("input"===o&&"radio"===a)!function(t,e,n){var r=n&&n.number,i=Hr(t,"value")||"null";Xr(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),Fr(t,"change",Gr(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type;0;var i=n||{},o=i.lazy,a=i.number,c=i.trim,s=!o&&"range"!==r,l=o?"change":"range"===r?ni:"input",u="$event.target.value";c&&(u="$event.target.value.trim()");a&&(u="_n("+u+")");var f=Gr(e,u);s&&(f="if($event.target.composing)return;"+f);Xr(t,"value","("+e+")"),Fr(t,l,f,null,!0),(c||a)&&Fr(t,"blur","$forceUpdate()")}(t,r,i);else{if(!j.isReservedTag(o))return Yr(t,r,i),!1}return!0},text:function(t,e){e.value&&Xr(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Xr(t,"innerHTML","_s("+e.value+")",e)}},ka={expectHTML:!0,modules:Ta,directives:Sa,isPreTag:function(t){return"pre"===t},isUnaryTag:To,mustUseProp:jn,canBeLeftOpenTag:Co,isReservedTag:nr,getTagNamespace:rr,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(Ta)},Ea=_((function(t){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function Wa(t,e){t&&(Ca=Ea(e.staticKeys||""),qa=e.isReservedTag||k,Ba(t),Da(t,!1))}function Ba(t){if(t.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||m(t.tag)||!qa(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Ca)))}(t),1===t.type){if(!qa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e|^function(?:\s+[\w$]+)?\s*\(/,Pa=/\([^)]*?\);*$/,Ra=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ja={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ia={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Fa=function(t){return"if("+t+")return null;"},Ha={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Fa("$event.target !== $event.currentTarget"),ctrl:Fa("!$event.ctrlKey"),shift:Fa("!$event.shiftKey"),alt:Fa("!$event.altKey"),meta:Fa("!$event.metaKey"),left:Fa("'button' in $event && $event.button !== 0"),middle:Fa("'button' in $event && $event.button !== 1"),right:Fa("'button' in $event && $event.button !== 2")};function $a(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var o in t){var a=Ua(t[o]);t[o]&&t[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ua(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Ua(t)})).join(",")+"]";var e=Ra.test(t.value),n=Xa.test(t.value),r=Ra.test(t.value.replace(Pa,""));if(t.modifiers){var i="",o="",a=[];for(var c in t.modifiers)if(Ha[c])o+=Ha[c],ja[c]&&a.push(c);else if("exact"===c){var s=t.modifiers;o+=Fa(["ctrl","shift","alt","meta"].filter((function(t){return!s[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else a.push(c);return a.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(Va).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":r?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function Va(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=ja[t],r=Ia[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ya={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:S},Ga=function(t){this.options=t,this.warn=t.warn||Br,this.transforms=Dr(t.modules,"transformCode"),this.dataGenFns=Dr(t.modules,"genData"),this.directives=C(C({},Ya),t.directives);var e=t.isReservedTag||k;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ja(t,e){var n=new Ga(e);return{render:"with(this){return "+(t?Ka(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ka(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Qa(t,e);if(t.once&&!t.onceProcessed)return Za(t,e);if(t.for&&!t.forProcessed)return nc(t,e);if(t.if&&!t.ifProcessed)return tc(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=ac(t,e),i="_t("+n+(r?","+r:""),o=t.attrs||t.dynamicAttrs?lc((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:O(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:ac(e,n,!0);return"_c("+t+","+rc(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=rc(t,e));var i=t.inlineTemplate?null:ac(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var r=Ja(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+lc(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function ic(t){return 1===t.type&&("slot"===t.tag||t.children.some(ic))}function oc(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return tc(t,e,oc,"null");if(t.for&&!t.forProcessed)return nc(t,e,oc);var r=t.slotScope===ma?"":String(t.slotScope),i="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(ac(t,e)||"undefined")+":undefined":ac(t,e)||"undefined":Ka(t,e))+"}",o=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+o+"}"}function ac(t,e,n,r,i){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var c=n?e.maybeComponent(a)?",1":",0":"";return""+(r||Ka)(a,e)+c}var s=n?function(t,e){for(var n=0,r=0;r':'
',hc.innerHTML.indexOf(" ")>0}var gc=!!G&&vc(!1),yc=!!G&&vc(!0),Ac=_((function(t){var e=ar(t);return e&&e.innerHTML})),_c=qn.prototype.$mount;qn.prototype.$mount=function(t,e){if((t=t&&ar(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Ac(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=mc(r,{outputSourceRange:!1,shouldDecodeNewlines:gc,shouldDecodeNewlinesForHref:yc,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return _c.call(this,t,e)},qn.compile=mc;const zc=qn;var Oc=n(8),xc=n.n(Oc);const wc={computed:{Horizon:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){return Horizon}))},methods:{formatDate:function(t){return xc()(1e3*t).add((new Date).getTimezoneOffset()/60)},formatDateIso:function(t){return xc()(t).add((new Date).getTimezoneOffset()/60)},jobBaseName:function(t){if(!t.includes("\\"))return t;var e=t.split("\\");return e[e.length-1]},autoLoadNewEntries:function(){this.autoLoadsNewEntries?(this.autoLoadsNewEntries=!1,localStorage.autoLoadsNewEntries=0):(this.autoLoadsNewEntries=!0,localStorage.autoLoadsNewEntries=1)},readableTimestamp:function(t){return this.formatDate(t).format("YYYY-MM-DD HH:mm:ss")}}};var Lc=n(9669),Nc=n.n(Lc);const Tc=[{path:"/",redirect:"/dashboard"},{path:"/dashboard",name:"dashboard",component:n(5093).Z},{path:"/monitoring",name:"monitoring",component:n(7618).Z},{path:"/monitoring/:tag",component:n(4418).Z,children:[{path:"jobs",name:"monitoring-jobs",component:n(6461).Z,props:{type:"jobs"}},{path:"failed",name:"monitoring-failed",component:n(6461).Z,props:{type:"failed"}}]},{path:"/metrics",redirect:"/metrics/jobs"},{path:"/metrics/",component:n(1477).Z,children:[{path:"jobs",name:"metrics-jobs",component:n(4469).Z},{path:"queues",name:"metrics-queues",component:n(626).Z}]},{path:"/metrics/:type/:slug",name:"metrics-preview",component:n(2261).Z},{path:"/jobs/:type",name:"jobs",component:n(4248).Z},{path:"/jobs/pending/:jobId",name:"pending-jobs-preview",component:n(2668).Z},{path:"/jobs/completed/:jobId",name:"completed-jobs-preview",component:n(2668).Z},{path:"/failed",name:"failed-jobs",component:n(6744).Z},{path:"/failed/:jobId",name:"failed-jobs-preview",component:n(6222).Z},{path:"/batches",name:"batches",component:n(2343).Z},{path:"/batches/:batchId",name:"batches-preview",component:n(5213).Z}];function Cc(t,e){for(var n in e)t[n]=e[n];return t}var qc=/[!'()*]/g,Sc=function(t){return"%"+t.charCodeAt(0).toString(16)},kc=/%2C/g,Ec=function(t){return encodeURIComponent(t).replace(qc,Sc).replace(kc,",")};function Wc(t){try{return decodeURIComponent(t)}catch(t){0}return t}var Bc=function(t){return null==t||"object"==typeof t?t:String(t)};function Dc(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=Wc(n.shift()),i=n.length>0?Wc(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function Xc(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Ec(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(Ec(e)):r.push(Ec(e)+"="+Ec(t)))})),r.join("&")}return Ec(e)+"="+Ec(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var Pc=/\/?$/;function Rc(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=jc(o)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:Hc(e,i),matched:t?Fc(t):[]};return n&&(a.redirectedFrom=Hc(n,i)),Object.freeze(a)}function jc(t){if(Array.isArray(t))return t.map(jc);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=jc(t[n]);return e}return t}var Ic=Rc(null,{path:"/"});function Fc(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function Hc(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||Xc)(r)+i}function $c(t,e,n){return e===Ic?t===e:!!e&&(t.path&&e.path?t.path.replace(Pc,"")===e.path.replace(Pc,"")&&(n||t.hash===e.hash&&Uc(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&Uc(t.query,e.query)&&Uc(t.params,e.params))))}function Uc(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,i){var o=t[n];if(r[i]!==n)return!1;var a=e[n];return null==o||null==a?o===a:"object"==typeof o&&"object"==typeof a?Uc(o,a):String(o)===String(a)}))}function Vc(t){for(var e=0;e=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(i.path||""),l=e&&e.path||"/",u=s.path?Jc(s.path,l,n||i.append):l,f=function(t,e,n){void 0===e&&(e={});var r,i=n||Dc;try{r=i(t||"")}catch(t){r={}}for(var o in e){var a=e[o];r[o]=Array.isArray(a)?a.map(Bc):Bc(a)}return r}(s.query,i.query,r&&r.options.parseQuery),d=i.hash||s.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:u,query:f,hash:d}}var vs,gs=function(){},ys={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,a=i.route,c=i.href,s={},l=n.options.linkActiveClass,u=n.options.linkExactActiveClass,f=null==l?"router-link-active":l,d=null==u?"router-link-exact-active":u,p=null==this.activeClass?f:this.activeClass,h=null==this.exactActiveClass?d:this.exactActiveClass,M=a.redirectedFrom?Rc(null,ms(a.redirectedFrom),null,n):a;s[h]=$c(r,M,this.exactPath),s[p]=this.exact||this.exactPath?s[h]:function(t,e){return 0===t.path.replace(Pc,"/").indexOf(e.path.replace(Pc,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,M);var b=s[h]?this.ariaCurrentValue:null,m=function(t){As(t)&&(e.replace?n.replace(o,gs):n.push(o,gs))},v={click:As};Array.isArray(this.event)?this.event.forEach((function(t){v[t]=m})):v[this.event]=m;var g={class:s},y=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:a,navigate:m,isActive:s[p],isExactActive:s[h]});if(y){if(1===y.length)return y[0];if(y.length>1||!y.length)return 0===y.length?t():t("span",{},y)}if("a"===this.tag)g.on=v,g.attrs={href:c,"aria-current":b};else{var A=_s(this.$slots.default);if(A){A.isStatic=!1;var _=A.data=Cc({},A.data);for(var z in _.on=_.on||{},_.on){var O=_.on[z];z in v&&(_.on[z]=Array.isArray(O)?O:[O])}for(var x in v)x in _.on?_.on[x].push(v[x]):_.on[x]=m;var w=A.data.attrs=Cc({},A.data.attrs);w.href=c,w["aria-current"]=b}else g.on=v}return t(this.tag,g,this.$slots.default)}};function As(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function _s(t){if(t)for(var e,n=0;n-1&&(c.params[d]=n.params[d]);return c.path=bs(u.path,c.params),s(u,c,a)}if(c.path){c.params={};for(var p=0;p=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}var Gs={redirected:2,aborted:4,cancelled:8,duplicated:16};function Js(t,e){return Qs(t,e,Gs.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Zs.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function Ks(t,e){return Qs(t,e,Gs.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Qs(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var Zs=["params","query","hash"];function tl(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function el(t,e){return tl(t)&&t._isRouter&&(null==e||t.type===e)}function nl(t){return function(e,n,r){var i=!1,o=0,a=null;rl(t,(function(t,e,n,c){if("function"==typeof t&&void 0===t.cid){i=!0,o++;var s,l=al((function(e){var i;((i=e).__esModule||ol&&"Module"===i[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:vs.extend(e),n.components[c]=e,--o<=0&&r()})),u=al((function(t){var e="Failed to resolve async component "+c+": "+t;a||(a=tl(t)?t:new Error(e),r(a))}));try{s=t(l,u)}catch(t){u(t)}if(s)if("function"==typeof s.then)s.then(l,u);else{var f=s.component;f&&"function"==typeof f.then&&f.then(l,u)}}})),i||r()}}function rl(t,e){return il(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function il(t){return Array.prototype.concat.apply([],t)}var ol="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function al(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var cl=function(t,e){this.router=t,this.base=function(t){if(!t)if(zs){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=Ic,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function sl(t,e,n,r){var i=rl(t,(function(t,r,i,o){var a=function(t,e){"function"!=typeof t&&(t=vs.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,r,i,o)})):n(a,r,i,o)}));return il(r?i.reverse():i)}function ll(t,e){if(e)return function(){return t.apply(e,arguments)}}cl.prototype.listen=function(t){this.cb=t},cl.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},cl.prototype.onError=function(t){this.errorCbs.push(t)},cl.prototype.transitionTo=function(t,e,n){var r,i=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var o=this.current;this.confirmTransition(r,(function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.router.afterHooks.forEach((function(t){t&&t(r,o)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!i.ready&&(el(t,Gs.redirected)&&o===Ic||(i.ready=!0,i.readyErrorCbs.forEach((function(e){e(t)}))))}))},cl.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current;this.pending=t;var o,a,c=function(t){!el(t)&&tl(t)&&r.errorCbs.length&&r.errorCbs.forEach((function(e){e(t)})),n&&n(t)},s=t.matched.length-1,l=i.matched.length-1;if($c(t,i)&&s===l&&t.matched[s]===i.matched[l])return this.ensureURL(),c(((a=Qs(o=i,t,Gs.duplicated,'Avoided redundant navigation to current location: "'+o.fullPath+'".')).name="NavigationDuplicated",a));var u=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=$s&&n;r&&this.listeners.push(Ws());var i=function(){var n=t.current,i=fl(t.base);t.current===Ic&&i===t._startLocation||t.transitionTo(i,(function(t){r&&Bs(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Us(Kc(r.base+t.fullPath)),Bs(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Vs(Kc(r.base+t.fullPath)),Bs(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(fl(this.base)!==this.current.fullPath){var e=Kc(this.base+this.current.fullPath);t?Us(e):Vs(e)}},e.prototype.getCurrentLocation=function(){return fl(this.base)},e}(cl);function fl(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var dl=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=fl(t);if(!/^\/#/.test(e))return window.location.replace(Kc(t+"/#"+e)),!0}(this.base)||pl()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=$s&&e;n&&this.listeners.push(Ws());var r=function(){var e=t.current;pl()&&t.transitionTo(hl(),(function(r){n&&Bs(t.router,r,e,!0),$s||ml(r.fullPath)}))},i=$s?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push((function(){window.removeEventListener(i,r)}))}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){bl(t.fullPath),Bs(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){ml(t.fullPath),Bs(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;hl()!==e&&(t?bl(e):ml(e))},e.prototype.getCurrentLocation=function(){return hl()},e}(cl);function pl(){var t=hl();return"/"===t.charAt(0)||(ml("/"+t),!1)}function hl(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Ml(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function bl(t){$s?Us(Ml(t)):window.location.hash=t}function ml(t){$s?Vs(Ml(t)):window.location.replace(Ml(t))}var vl=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){el(t,Gs.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(cl),gl=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Ls(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!$s&&!1!==t.fallback,this.fallback&&(e="hash"),zs||(e="abstract"),this.mode=e,e){case"history":this.history=new ul(this,t.base);break;case"hash":this.history=new dl(this,t.base,this.fallback);break;case"abstract":this.history=new vl(this,t.base)}},yl={currentRoute:{configurable:!0}};function Al(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}gl.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},yl.currentRoute.get=function(){return this.history&&this.history.current},gl.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof ul||n instanceof dl){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;$s&&i&&"fullPath"in t&&Bs(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},gl.prototype.beforeEach=function(t){return Al(this.beforeHooks,t)},gl.prototype.beforeResolve=function(t){return Al(this.resolveHooks,t)},gl.prototype.afterEach=function(t){return Al(this.afterHooks,t)},gl.prototype.onReady=function(t,e){this.history.onReady(t,e)},gl.prototype.onError=function(t){this.history.onError(t)},gl.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},gl.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},gl.prototype.go=function(t){this.history.go(t)},gl.prototype.back=function(){this.go(-1)},gl.prototype.forward=function(){this.go(1)},gl.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},gl.prototype.resolve=function(t,e,n){var r=ms(t,e=e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,a=function(t,e,n){var r="hash"===n?"#"+e:e;return t?Kc(t+"/"+r):r}(this.history.base,o,this.mode);return{location:r,route:i,href:a,normalizedTo:r,resolved:i}},gl.prototype.getRoutes=function(){return this.matcher.getRoutes()},gl.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==Ic&&this.history.transitionTo(this.history.getCurrentLocation())},gl.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Ic&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(gl.prototype,yl),gl.install=function t(e){if(!t.installed||vs!==e){t.installed=!0,vs=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",Yc),e.component("RouterLink",ys);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},gl.version="3.5.1",gl.isNavigationFailure=el,gl.NavigationFailureType=Gs,gl.START_LOCATION=Ic,zs&&window.Vue&&window.Vue.use(gl);const _l=gl;var zl=n(4566),Ol=n.n(zl);window.Popper=n(8981).default;try{window.$=window.jQuery=n(9755),n(3734)}catch(t){}var xl=document.head.querySelector('meta[name="csrf-token"]');Nc().defaults.headers.common["X-Requested-With"]="XMLHttpRequest",xl&&(Nc().defaults.headers.common["X-CSRF-TOKEN"]=xl.content),zc.use(_l),zc.prototype.$http=Nc().create(),window.Horizon.basePath="/"+window.Horizon.path;var wl=window.Horizon.basePath+"/";""!==window.Horizon.path&&"/"!==window.Horizon.path||(wl="/",window.Horizon.basePath="");var Ll=new _l({routes:Tc,mode:"history",base:wl});zc.component("vue-json-pretty",Ol()),zc.component("alert",n(2254).Z),zc.mixin(wc),zc.directive("tooltip",(function(t,e){$(t).tooltip({title:e.value,placement:e.arg,trigger:"hover"})})),new zc({el:"#horizon",router:Ll,data:function(){return{alert:{type:null,autoClose:0,message:"",confirmationProceed:null,confirmationCancel:null},autoLoadsNewEntries:"1"===localStorage.autoLoadsNewEntries}}})},3734:function(t,e,n){!function(t,e,n){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=r(e),o=r(n);function a(t,e){for(var n=0;n=a)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};m.jQueryDetection(),b();var v="alert",g="4.6.0",y="bs.alert",A="."+y,_=".data-api",z=i.default.fn[v],O='[data-dismiss="alert"]',x="close"+A,w="closed"+A,L="click"+A+_,N="alert",T="fade",C="show",q=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){i.default.removeData(this._element,y),this._element=null},e._getRootElement=function(t){var e=m.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=i.default(t).closest("."+N)[0]),n},e._triggerCloseEvent=function(t){var e=i.default.Event(x);return i.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(i.default(t).removeClass(C),i.default(t).hasClass(T)){var n=m.getTransitionDurationFromElement(t);i.default(t).one(m.TRANSITION_END,(function(n){return e._destroyElement(t,n)})).emulateTransitionEnd(n)}else this._destroyElement(t)},e._destroyElement=function(t){i.default(t).detach().trigger(w).remove()},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),r=n.data(y);r||(r=new t(this),n.data(y,r)),"close"===e&&r[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},c(t,null,[{key:"VERSION",get:function(){return g}}]),t}();i.default(document).on(L,O,q._handleDismiss(new q)),i.default.fn[v]=q._jQueryInterface,i.default.fn[v].Constructor=q,i.default.fn[v].noConflict=function(){return i.default.fn[v]=z,q._jQueryInterface};var S="button",k="4.6.0",E="bs.button",W="."+E,B=".data-api",D=i.default.fn[S],X="active",P="btn",R="focus",j='[data-toggle^="button"]',I='[data-toggle="buttons"]',F='[data-toggle="button"]',H='[data-toggle="buttons"] .btn',$='input:not([type="hidden"])',U=".active",V=".btn",Y="click"+W+B,G="focus"+W+B+" blur"+W+B,J="load"+W+B,K=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=i.default(this._element).closest(I)[0];if(n){var r=this._element.querySelector($);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(X))t=!1;else{var o=n.querySelector(U);o&&i.default(o).removeClass(X)}t&&("checkbox"!==r.type&&"radio"!==r.type||(r.checked=!this._element.classList.contains(X)),this.shouldAvoidTriggerChange||i.default(r).trigger("change")),r.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(X)),t&&i.default(this._element).toggleClass(X))},e.dispose=function(){i.default.removeData(this._element,E),this._element=null},t._jQueryInterface=function(e,n){return this.each((function(){var r=i.default(this),o=r.data(E);o||(o=new t(this),r.data(E,o)),o.shouldAvoidTriggerChange=n,"toggle"===e&&o[e]()}))},c(t,null,[{key:"VERSION",get:function(){return k}}]),t}();i.default(document).on(Y,j,(function(t){var e=t.target,n=e;if(i.default(e).hasClass(P)||(e=i.default(e).closest(V)[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var r=e.querySelector($);if(r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==n.tagName&&"LABEL"===e.tagName||K._jQueryInterface.call(i.default(e),"toggle","INPUT"===n.tagName)}})).on(G,j,(function(t){var e=i.default(t.target).closest(V)[0];i.default(e).toggleClass(R,/^focus(in)?$/.test(t.type))})),i.default(window).on(J,(function(){for(var t=[].slice.call(document.querySelectorAll(H)),e=0,n=t.length;e0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(ut)},e.nextWhenVisible=function(){var t=i.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(ft)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(Pt)&&(m.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(Bt);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)i.default(this._element).one(Mt,(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var r=t>n?ut:ft;this._slide(r,this._items[t])}},e.dispose=function(){i.default(this._element).off(et),i.default.removeData(this._element,tt),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=s({},st,t),m.typeCheckConfig(Q,t,lt),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=ct)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&i.default(this._element).on(bt,(function(e){return t._keydown(e)})),"hover"===this._config.pause&&i.default(this._element).on(mt,(function(e){return t.pause(e)})).on(vt,(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&Ft[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX},r=function(e){t._pointerEvent&&Ft[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),at+t._config.interval))};i.default(this._element.querySelectorAll(Xt)).on(Ot,(function(t){return t.preventDefault()})),this._pointerEvent?(i.default(this._element).on(_t,(function(t){return e(t)})),i.default(this._element).on(zt,(function(t){return r(t)})),this._element.classList.add(Et)):(i.default(this._element).on(gt,(function(t){return e(t)})),i.default(this._element).on(yt,(function(t){return n(t)})),i.default(this._element).on(At,(function(t){return r(t)})))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case it:t.preventDefault(),this.prev();break;case ot:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(Dt)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===ut,r=t===ft,i=this._getItemIndex(e),o=this._items.length-1;if((r&&0===i||n&&i===o)&&!this._config.wrap)return e;var a=(i+(t===ft?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),r=this._getItemIndex(this._element.querySelector(Bt)),o=i.default.Event(ht,{relatedTarget:t,direction:e,from:r,to:n});return i.default(this._element).trigger(o),o},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(Wt));i.default(e).removeClass(Nt);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&i.default(n).addClass(Nt)}},e._updateInterval=function(){var t=this._activeElement||this._element.querySelector(Bt);if(t){var e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}},e._slide=function(t,e){var n,r,o,a=this,c=this._element.querySelector(Bt),s=this._getItemIndex(c),l=e||c&&this._getItemByDirection(t,c),u=this._getItemIndex(l),f=Boolean(this._interval);if(t===ut?(n=qt,r=St,o=dt):(n=Ct,r=kt,o=pt),l&&i.default(l).hasClass(Nt))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&c&&l){this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(l),this._activeElement=l;var d=i.default.Event(Mt,{relatedTarget:l,direction:o,from:s,to:u});if(i.default(this._element).hasClass(Tt)){i.default(l).addClass(r),m.reflow(l),i.default(c).addClass(n),i.default(l).addClass(n);var p=m.getTransitionDurationFromElement(c);i.default(c).one(m.TRANSITION_END,(function(){i.default(l).removeClass(n+" "+r).addClass(Nt),i.default(c).removeClass(Nt+" "+r+" "+n),a._isSliding=!1,setTimeout((function(){return i.default(a._element).trigger(d)}),0)})).emulateTransitionEnd(p)}else i.default(c).removeClass(Nt),i.default(l).addClass(Nt),this._isSliding=!1,i.default(this._element).trigger(d);f&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data(tt),r=s({},st,i.default(this).data());"object"==typeof e&&(r=s({},r,e));var o="string"==typeof e?e:r.slide;if(n||(n=new t(this,r),i.default(this).data(tt,n)),"number"==typeof e)n.to(e);else if("string"==typeof o){if(void 0===n[o])throw new TypeError('No method named "'+o+'"');n[o]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}))},t._dataApiClickHandler=function(e){var n=m.getSelectorFromElement(this);if(n){var r=i.default(n)[0];if(r&&i.default(r).hasClass(Lt)){var o=s({},i.default(r).data(),i.default(this).data()),a=this.getAttribute("data-slide-to");a&&(o.interval=!1),t._jQueryInterface.call(i.default(r),o),a&&i.default(r).data(tt).to(a),e.preventDefault()}}},c(t,null,[{key:"VERSION",get:function(){return Z}},{key:"Default",get:function(){return st}}]),t}();i.default(document).on(wt,jt,Ht._dataApiClickHandler),i.default(window).on(xt,(function(){for(var t=[].slice.call(document.querySelectorAll(It)),e=0,n=t.length;e0&&(this._selector=a,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){i.default(this._element).hasClass(ie)?this.hide():this.show()},e.show=function(){var e,n,r=this;if(!(this._isTransitioning||i.default(this._element).hasClass(ie)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(ue)).filter((function(t){return"string"==typeof r._config.parent?t.getAttribute("data-parent")===r._config.parent:t.classList.contains(oe)}))).length&&(e=null),e&&(n=i.default(e).not(this._selector).data(Vt))&&n._isTransitioning))){var o=i.default.Event(Zt);if(i.default(this._element).trigger(o),!o.isDefaultPrevented()){e&&(t._jQueryInterface.call(i.default(e).not(this._selector),"hide"),n||i.default(e).data(Vt,null));var a=this._getDimension();i.default(this._element).removeClass(oe).addClass(ae),this._element.style[a]=0,this._triggerArray.length&&i.default(this._triggerArray).removeClass(ce).attr("aria-expanded",!0),this.setTransitioning(!0);var c=function(){i.default(r._element).removeClass(ae).addClass(oe+" "+ie),r._element.style[a]="",r.setTransitioning(!1),i.default(r._element).trigger(te)},s="scroll"+(a[0].toUpperCase()+a.slice(1)),l=m.getTransitionDurationFromElement(this._element);i.default(this._element).one(m.TRANSITION_END,c).emulateTransitionEnd(l),this._element.style[a]=this._element[s]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&i.default(this._element).hasClass(ie)){var e=i.default.Event(ee);if(i.default(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",m.reflow(this._element),i.default(this._element).addClass(ae).removeClass(oe+" "+ie);var r=this._triggerArray.length;if(r>0)for(var o=0;o0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),s({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data(Me);if(n||(n=new t(this,"object"==typeof e?e:null),i.default(this).data(Me,n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t._clearMenus=function(e){if(!e||e.which!==Oe&&("keyup"!==e.type||e.which===Ae))for(var n=[].slice.call(document.querySelectorAll(je)),r=0,o=n.length;r0&&a--,e.which===ze&&adocument.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(Tn);var r=m.getTransitionDurationFromElement(this._dialog);i.default(this._element).off(m.TRANSITION_END),i.default(this._element).one(m.TRANSITION_END,(function(){t._element.classList.remove(Tn),n||i.default(t._element).one(m.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,r)})).emulateTransitionEnd(r),this._element.focus()}},e._showElement=function(t){var e=this,n=i.default(this._element).hasClass(Ln),r=this._dialog?this._dialog.querySelector(qn):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),i.default(this._dialog).hasClass(zn)&&r?r.scrollTop=0:this._element.scrollTop=0,n&&m.reflow(this._element),i.default(this._element).addClass(Nn),this._config.focus&&this._enforceFocus();var o=i.default.Event(Mn,{relatedTarget:t}),a=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,i.default(e._element).trigger(o)};if(n){var c=m.getTransitionDurationFromElement(this._dialog);i.default(this._dialog).one(m.TRANSITION_END,a).emulateTransitionEnd(c)}else a()},e._enforceFocus=function(){var t=this;i.default(document).off(bn).on(bn,(function(e){document!==e.target&&t._element!==e.target&&0===i.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?i.default(this._element).on(gn,(function(e){t._config.keyboard&&e.which===sn?(e.preventDefault(),t.hide()):t._config.keyboard||e.which!==sn||t._triggerBackdropTransition()})):this._isShown||i.default(this._element).off(gn)},e._setResizeEvent=function(){var t=this;this._isShown?i.default(window).on(mn,(function(e){return t.handleUpdate(e)})):i.default(window).off(mn)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){i.default(document.body).removeClass(wn),t._resetAdjustments(),t._resetScrollbar(),i.default(t._element).trigger(pn)}))},e._removeBackdrop=function(){this._backdrop&&(i.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=i.default(this._element).hasClass(Ln)?Ln:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=xn,n&&this._backdrop.classList.add(n),i.default(this._backdrop).appendTo(document.body),i.default(this._element).on(vn,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._triggerBackdropTransition():e.hide())})),n&&m.reflow(this._backdrop),i.default(this._backdrop).addClass(Nn),!t)return;if(!n)return void t();var r=m.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(m.TRANSITION_END,t).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){i.default(this._backdrop).removeClass(Nn);var o=function(){e._removeBackdrop(),t&&t()};if(i.default(this._element).hasClass(Ln)){var a=m.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(m.TRANSITION_END,o).emulateTransitionEnd(a)}else o()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:Xn,popperConfig:null},tr="show",er="out",nr={HIDE:"hide"+Un,HIDDEN:"hidden"+Un,SHOW:"show"+Un,SHOWN:"shown"+Un,INSERTED:"inserted"+Un,CLICK:"click"+Un,FOCUSIN:"focusin"+Un,FOCUSOUT:"focusout"+Un,MOUSEENTER:"mouseenter"+Un,MOUSELEAVE:"mouseleave"+Un},rr="fade",ir="show",or=".tooltip-inner",ar=".arrow",cr="hover",sr="focus",lr="click",ur="manual",fr=function(){function t(t,e){if(void 0===o.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=i.default(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(i.default(this.getTipElement()).hasClass(ir))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),i.default.removeData(this.element,this.constructor.DATA_KEY),i.default(this.element).off(this.constructor.EVENT_KEY),i.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&i.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===i.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=i.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){i.default(this.element).trigger(e);var n=m.findShadowRoot(this.element),r=i.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!r)return;var a=this.getTipElement(),c=m.getUID(this.constructor.NAME);a.setAttribute("id",c),this.element.setAttribute("aria-describedby",c),this.setContent(),this.config.animation&&i.default(a).addClass(rr);var s="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,l=this._getAttachment(s);this.addAttachmentClass(l);var u=this._getContainer();i.default(a).data(this.constructor.DATA_KEY,this),i.default.contains(this.element.ownerDocument.documentElement,this.tip)||i.default(a).appendTo(u),i.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new o.default(this.element,a,this._getPopperConfig(l)),i.default(a).addClass(ir),i.default(a).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&i.default(document.body).children().on("mouseover",null,i.default.noop);var f=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,i.default(t.element).trigger(t.constructor.Event.SHOWN),e===er&&t._leave(null,t)};if(i.default(this.tip).hasClass(rr)){var d=m.getTransitionDurationFromElement(this.tip);i.default(this.tip).one(m.TRANSITION_END,f).emulateTransitionEnd(d)}else f()}},e.hide=function(t){var e=this,n=this.getTipElement(),r=i.default.Event(this.constructor.Event.HIDE),o=function(){e._hoverState!==tr&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),i.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(i.default(this.element).trigger(r),!r.isDefaultPrevented()){if(i.default(n).removeClass(ir),"ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),this._activeTrigger[lr]=!1,this._activeTrigger[sr]=!1,this._activeTrigger[cr]=!1,i.default(this.tip).hasClass(rr)){var a=m.getTransitionDurationFromElement(n);i.default(n).one(m.TRANSITION_END,o).emulateTransitionEnd(a)}else o();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){i.default(this.getTipElement()).addClass(Yn+"-"+t)},e.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(i.default(t.querySelectorAll(or)),this.getTitle()),i.default(t).removeClass(rr+" "+ir)},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=In(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?i.default(e).parent().is(t)||t.empty().append(e):t.text(i.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return s({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:ar},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?i.default(this.config.container):i.default(document).find(this.config.container)},e._getAttachment=function(t){return Qn[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)i.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if(e!==ur){var n=e===cr?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,r=e===cr?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;i.default(t.element).on(n,t.config.selector,(function(e){return t._enter(e)})).on(r,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},i.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?sr:cr]=!0),i.default(e.getTipElement()).hasClass(ir)||e._hoverState===tr?e._hoverState=tr:(clearTimeout(e._timeout),e._hoverState=tr,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===tr&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?sr:cr]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=er,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){e._hoverState===er&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=i.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==Jn.indexOf(t)&&delete e[t]})),"number"==typeof(t=s({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),m.typeCheckConfig(Fn,t,this.constructor.DefaultType),t.sanitize&&(t.template=In(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=i.default(this.getTipElement()),e=t.attr("class").match(Gn);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(i.default(t).removeClass(rr),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),r=n.data($n),o="object"==typeof e&&e;if((r||!/dispose|hide/.test(e))&&(r||(r=new t(this,o),n.data($n,r)),"string"==typeof e)){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}}))},c(t,null,[{key:"VERSION",get:function(){return Hn}},{key:"Default",get:function(){return Zn}},{key:"NAME",get:function(){return Fn}},{key:"DATA_KEY",get:function(){return $n}},{key:"Event",get:function(){return nr}},{key:"EVENT_KEY",get:function(){return Un}},{key:"DefaultType",get:function(){return Kn}}]),t}();i.default.fn[Fn]=fr._jQueryInterface,i.default.fn[Fn].Constructor=fr,i.default.fn[Fn].noConflict=function(){return i.default.fn[Fn]=Vn,fr._jQueryInterface};var dr="popover",pr="4.6.0",hr="bs.popover",Mr="."+hr,br=i.default.fn[dr],mr="bs-popover",vr=new RegExp("(^|\\s)"+mr+"\\S+","g"),gr=s({},fr.Default,{placement:"right",trigger:"click",content:"",template:''}),yr=s({},fr.DefaultType,{content:"(string|element|function)"}),Ar="fade",_r="show",zr=".popover-header",Or=".popover-body",xr={HIDE:"hide"+Mr,HIDDEN:"hidden"+Mr,SHOW:"show"+Mr,SHOWN:"shown"+Mr,INSERTED:"inserted"+Mr,CLICK:"click"+Mr,FOCUSIN:"focusin"+Mr,FOCUSOUT:"focusout"+Mr,MOUSEENTER:"mouseenter"+Mr,MOUSELEAVE:"mouseleave"+Mr},wr=function(t){function e(){return t.apply(this,arguments)||this}l(e,t);var n=e.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(t){i.default(this.getTipElement()).addClass(mr+"-"+t)},n.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},n.setContent=function(){var t=i.default(this.getTipElement());this.setElementContent(t.find(zr),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(Or),e),t.removeClass(Ar+" "+_r)},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var t=i.default(this.getTipElement()),e=t.attr("class").match(vr);null!==e&&e.length>0&&t.removeClass(e.join(""))},e._jQueryInterface=function(t){return this.each((function(){var n=i.default(this).data(hr),r="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new e(this,r),i.default(this).data(hr,n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},c(e,null,[{key:"VERSION",get:function(){return pr}},{key:"Default",get:function(){return gr}},{key:"NAME",get:function(){return dr}},{key:"DATA_KEY",get:function(){return hr}},{key:"Event",get:function(){return xr}},{key:"EVENT_KEY",get:function(){return Mr}},{key:"DefaultType",get:function(){return yr}}]),e}(fr);i.default.fn[dr]=wr._jQueryInterface,i.default.fn[dr].Constructor=wr,i.default.fn[dr].noConflict=function(){return i.default.fn[dr]=br,wr._jQueryInterface};var Lr="scrollspy",Nr="4.6.0",Tr="bs.scrollspy",Cr="."+Tr,qr=".data-api",Sr=i.default.fn[Lr],kr={offset:10,method:"auto",target:""},Er={offset:"number",method:"string",target:"(string|element)"},Wr="activate"+Cr,Br="scroll"+Cr,Dr="load"+Cr+qr,Xr="dropdown-item",Pr="active",Rr='[data-spy="scroll"]',jr=".nav, .list-group",Ir=".nav-link",Fr=".nav-item",Hr=".list-group-item",$r=".dropdown",Ur=".dropdown-item",Vr=".dropdown-toggle",Yr="offset",Gr="position",Jr=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+Ir+","+this._config.target+" "+Hr+","+this._config.target+" "+Ur,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,i.default(this._scrollElement).on(Br,(function(t){return n._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Yr:Gr,n="auto"===this._config.method?e:this._config.method,r=n===Gr?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,o=m.getSelectorFromElement(t);if(o&&(e=document.querySelector(o)),e){var a=e.getBoundingClientRect();if(a.width||a.height)return[i.default(e)[n]().top+r,o]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){i.default.removeData(this._element,Tr),i.default(this._scrollElement).off(Cr),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=s({},kr,"object"==typeof t&&t?t:{})).target&&m.isElement(t.target)){var e=i.default(t.target).attr("id");e||(e=m.getUID(Lr),i.default(t.target).attr("id",e)),t.target="#"+e}return m.typeCheckConfig(Lr,t,Er),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&t>=this._offsets[i]&&(void 0===this._offsets[i+1]||t1&&(i-=1)),[360*i,100*o,100*l]},i.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2];return[i.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(n,r))*100,100*(r=1-1/255*Math.max(e,Math.max(n,r)))]},i.rgb.cmyk=function(t){var e,n=t[0]/255,r=t[1]/255,i=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-r,1-i)))/(1-e)||0),100*((1-r-e)/(1-e)||0),100*((1-i-e)/(1-e)||0),100*e]},i.rgb.keyword=function(t){var n=e[t];if(n)return n;var i,o=1/0;for(var a in r)if(r.hasOwnProperty(a)){var c=s(t,r[a]);c.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},i.rgb.lab=function(t){var e=i.rgb.xyz(t),n=e[0],r=e[1],o=e[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},i.hsl.rgb=function(t){var e,n,r,i,o,a=t[0]/360,c=t[1]/100,s=t[2]/100;if(0===c)return[o=255*s,o,o];e=2*s-(n=s<.5?s*(1+c):s+c-s*c),i=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,i[l]=255*o;return i},i.hsl.hsv=function(t){var e=t[0],n=t[1]/100,r=t[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[e,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},i.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,i=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-n),c=255*r*(1-n*o),s=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,s,a];case 1:return[c,r,a];case 2:return[a,r,s];case 3:return[a,c,r];case 4:return[s,a,r];case 5:return[r,a,c]}},i.hsv.hsl=function(t){var e,n,r,i=t[0],o=t[1]/100,a=t[2]/100,c=Math.max(a,.01);return r=(2-o)*a,n=o*c,[i,100*(n=(n/=(e=(2-o)*c)<=1?e:2-e)||0),100*(r/=2)]},i.hwb.rgb=function(t){var e,n,r,i,o,a,c,s=t[0]/360,l=t[1]/100,u=t[2]/100,f=l+u;switch(f>1&&(l/=f,u/=f),r=6*s-(e=Math.floor(6*s)),0!=(1&e)&&(r=1-r),i=l+r*((n=1-u)-l),e){default:case 6:case 0:o=n,a=i,c=l;break;case 1:o=i,a=n,c=l;break;case 2:o=l,a=n,c=i;break;case 3:o=l,a=i,c=n;break;case 4:o=i,a=l,c=n;break;case 5:o=n,a=l,c=i}return[255*o,255*a,255*c]},i.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,r=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},i.xyz.rgb=function(t){var e,n,r,i=t[0]/100,o=t[1]/100,a=t[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,e=(e=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},i.xyz.lab=function(t){var e=t[0],n=t[1],r=t[2];return n/=100,r/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},i.lab.xyz=function(t){var e,n,r,i=t[0];e=t[1]/500+(n=(i+16)/116),r=n-t[2]/200;var o=Math.pow(n,3),a=Math.pow(e,3),c=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,e=a>.008856?a:(e-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,[e*=95.047,n*=100,r*=108.883]},i.lab.lch=function(t){var e,n=t[0],r=t[1],i=t[2];return(e=360*Math.atan2(i,r)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(r*r+i*i),e]},i.lch.lab=function(t){var e,n=t[0],r=t[1];return e=t[2]/360*2*Math.PI,[n,r*Math.cos(e),r*Math.sin(e)]},i.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],o=1 in arguments?arguments[1]:i.rgb.hsv(t)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===o&&(a+=60),a},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){var e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},i.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(t){var e,n=t[0]/255,r=t[1]/255,i=t[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),c=o-a;return e=c<=0?0:o===n?(r-i)/c%6:o===r?2+(i-n)/c:4+(n-r)/c+4,e/=6,[360*(e%=1),100*c,100*(c<1?a/(1-c):0)]},i.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1,i=0;return(r=n<.5?2*e*n:2*e*(1-n))<1&&(i=(n-.5*r)/(1-r)),[t[0],100*r,100*i]},i.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=e*n,i=0;return r<1&&(i=(n-r)/(1-r)),[t[0],100*r,100*i]},i.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100;if(0===n)return[255*r,255*r,255*r];var i=[0,0,0],o=e%1*6,a=o%1,c=1-a,s=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=c,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=c,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=c}return s=(1-n)*r,[255*(n*i[0]+s),255*(n*i[1]+s),255*(n*i[2]+s)]},i.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},i.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},i.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},i.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,r=n-e,i=0;return r<1&&(i=(n-r)/(1-r)),[t[0],100*r,100*i]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=i.gray.hsv=function(t){return[0,0,t[0]]},i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}));function o(){for(var t={},e=Object.keys(i),n=e.length,r=0;r1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}function d(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var r=n.length,i=0;i=0&&e<1?S(Math.round(255*e)):"")}function z(t,e){return e<1||t[3]&&t[3]<1?O(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function O(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function x(t,e){return e<1||t[3]&&t[3]<1?w(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"}function w(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function L(t,e){return e<1||t[3]&&t[3]<1?N(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function N(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function T(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"}function C(t){return k[t.slice(0,3)]}function q(t,e,n){return Math.min(Math.max(e,t),n)}function S(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var k={};for(var E in h)k[h[E]]=E;var W=function(t){return t instanceof W?t:this instanceof W?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=M.getRgba(t))?this.setValues("rgb",e):(e=M.getHsla(t))?this.setValues("hsl",e):(e=M.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new W(t);var e};W.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return M.hexString(this.values.rgb)},rgbString:function(){return M.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return M.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return M.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return M.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return M.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return M.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return M.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;nn?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,r=t,i=void 0===e?.5:e,o=2*i-1,a=n.alpha()-r.alpha(),c=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,s=1-c;return this.rgb(c*n.red()+s*r.red(),c*n.green()+s*r.green(),c*n.blue()+s*r.blue()).alpha(n.alpha()*i+r.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new W,r=this.values,i=n.values;for(var o in r)r.hasOwnProperty(o)&&(t=r[o],"[object Array]"===(e={}.toString.call(t))?i[o]=t.slice(0):"[object Number]"===e&&(i[o]=t));return n}},W.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},W.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},W.prototype.getValues=function(t){for(var e=this.values,n={},r=0;r=0;i--)e.call(n,t[i],i);else for(i=0;i=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:1===t?1:(n||(n=.3),r<1?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:1===t?1:(n||(n=.3),r<1?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),r<1?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),t<1?r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-j.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*j.easeInBounce(2*t):.5*j.easeOutBounce(2*t-1)+.5}},I={effects:j};R.easingEffects=j;var F=Math.PI,H=F/180,$=2*F,U=F/2,V=F/4,Y=2*F/3,G={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,r,i,o){if(o){var a=Math.min(o,i/2,r/2),c=e+a,s=n+a,l=e+r-a,u=n+i-a;t.moveTo(e,s),ce.left-n&&t.xe.top-n&&t.y0&&t.requestAnimationFrame()},advance:function(){for(var t,e,n,r,i=this.animations,o=0;o=n?(ct.callback(t.onAnimationComplete,[t],e),e.animating=!1,i.splice(o,1)):++o}},gt=ct.options.resolve,yt=["push","pop","shift","splice","unshift"];function At(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),yt.forEach((function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),i=r.apply(this,e);return ct.each(t._chartjs.listeners,(function(t){"function"==typeof t[n]&&t[n].apply(t,e)})),i}})})))}function _t(t,e){var n=t._chartjs;if(n){var r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(yt.forEach((function(e){delete t[e]})),delete t._chartjs)}}var zt=function(t,e){this.initialize(t,e)};ct.extend(zt.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.chart,r=n.scales,i=t.getDataset(),o=n.options.scales;null!==e.xAxisID&&e.xAxisID in r&&!i.xAxisID||(e.xAxisID=i.xAxisID||o.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in r&&!i.yAxisID||(e.yAxisID=i.yAxisID||o.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&_t(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,r=n.getMeta(),i=n.getDataset().data||[],o=r.data;for(t=0,e=i.length;tr&&t.insertElements(r,i-r)},insertElements:function(t,e){for(var n=0;ni?(o=i/e.innerRadius,t.arc(a,c,e.innerRadius-i,r+o,n-o,!0)):t.arc(a,c,i,r+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function Lt(t,e,n,r){var i,o=n.endAngle;for(r&&(n.endAngle=n.startAngle+xt,wt(t,n),n.endAngle=o,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=xt,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+xt,n.startAngle,!0),i=0;ic;)i-=xt;for(;i=a&&i<=c,l=o>=n.innerRadius&&o<=n.outerRadius;return s&&l}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,i={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/xt)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+xt,e.beginPath(),e.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),t=0;tt.x&&(e=jt(e,"left","right")):t.basen?n:r,r:s.right||i<0?0:i>e?e:i,b:s.bottom||o<0?0:o>n?n:o,l:s.left||a<0?0:a>e?e:a}}function Ht(t){var e=Rt(t),n=e.right-e.left,r=e.bottom-e.top,i=Ft(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b}}}function $t(t,e,n){var r=null===e,i=null===n,o=!(!t||r&&i)&&Rt(t);return o&&(r||e>=o.left&&e<=o.right)&&(i||n>=o.top&&n<=o.bottom)}Q._set("global",{elements:{rectangle:{backgroundColor:Xt,borderColor:Xt,borderSkipped:"bottom",borderWidth:0}}});var Ut=Mt.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=Ht(e),r=n.outer,i=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(r.x,r.y,r.w,r.h),r.w===i.w&&r.h===i.h||(t.save(),t.beginPath(),t.rect(r.x,r.y,r.w,r.h),t.clip(),t.fillStyle=e.borderColor,t.rect(i.x,i.y,i.w,i.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return $t(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return Pt(n)?$t(n,t,null):$t(n,null,e)},inXRange:function(t){return $t(this._view,t,null)},inYRange:function(t){return $t(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return Pt(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return Pt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),Vt={},Yt=Tt,Gt=St,Jt=Dt,Kt=Ut;Vt.Arc=Yt,Vt.Line=Gt,Vt.Point=Jt,Vt.Rectangle=Kt;var Qt=ct._deprecated,Zt=ct.valueOrDefault;function te(t,e){var n,r,i,o,a=t._length;for(i=1,o=e.length;i0?Math.min(a,Math.abs(r-n)):a,n=r;return a}function ee(t,e,n){var r,i,o=n.barThickness,a=e.stackCount,c=e.pixels[t],s=ct.isNullOrUndef(o)?te(e.scale,e.pixels):-1;return ct.isNullOrUndef(o)?(r=s*n.categoryPercentage,i=n.barPercentage):(r=o*a,i=1),{chunk:r/a,ratio:i,start:c-r/2}}function ne(t,e,n){var r,i=e.pixels,o=i[t],a=t>0?i[t-1]:null,c=t=0&&b.min>=0?b.min:b.max,A=void 0===b.start?b.end:b.max>=0&&b.min>=0?b.max-b.min:b.min-b.max,_=M.length;if(v||void 0===v&&void 0!==g)for(r=0;r<_&&(i=M[r]).index!==t;++r)i.stack===g&&(o=void 0===(l=d._parseValue(h[i.index].data[e])).start?l.end:l.min>=0&&l.max>=0?l.max:l.min,(b.min<0&&o<0||b.max>=0&&o>0)&&(y+=o));return a=d.getPixelForValue(y),s=(c=d.getPixelForValue(y+A))-a,void 0!==m&&Math.abs(s)=0&&!p||A<0&&p?a-m:a+m),{size:s,base:a,head:c,center:c+s/2}},calculateBarIndexPixels:function(t,e,n,r){var i=this,o="flex"===r.barThickness?ne(e,n,r):ee(e,n,r),a=i.getStackIndex(t,i.getMeta().stack),c=o.start+o.chunk*a+o.chunk/2,s=Math.min(Zt(r.maxBarThickness,1/0),o.chunk*o.ratio);return{base:c-s/2,head:c+s/2,center:c,size:s}},draw:function(){var t=this,e=t.chart,n=t._getValueScale(),r=t.getMeta().data,i=t.getDataset(),o=r.length,a=0;for(ct.canvas.clipArea(e.ctx,e.chartArea);a=se?-le:v<-se?le:0)+b,y=Math.cos(v),A=Math.sin(v),_=Math.cos(g),z=Math.sin(g),O=v<=0&&g>=0||g>=le,x=v<=ue&&g>=ue||g>=le+ue,w=v<=-ue&&g>=-ue||g>=se+ue,L=v===-se||g>=se?-1:Math.min(y,y*M,_,_*M),N=w?-1:Math.min(A,A*M,z,z*M),T=O?1:Math.max(y,y*M,_,_*M),C=x?1:Math.max(A,A*M,z,z*M);l=(T-L)/2,u=(C-N)/2,f=-(T+L)/2,d=-(C+N)/2}for(r=0,i=h.length;r0&&!isNaN(t)?le*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,r,i,o,a,c,s,l=this,u=0,f=l.chart;if(!t)for(e=0,n=f.data.datasets.length;e(u=c>u?c:u)?s:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,r=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=ce(n.hoverBackgroundColor,r(n.backgroundColor)),e.borderColor=ce(n.hoverBorderColor,r(n.borderColor)),e.borderWidth=ce(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n0&&Me(l[t-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),t0&&(o=t.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(t,e){return qe(t,e,{intersect:!1})},point:function(t,e){return Ne(t,we(e,t))},nearest:function(t,e,n){var r=we(e,t);n.axis=n.axis||"xy";var i=Ce(n.axis);return Te(t,r,n.intersect,i)},x:function(t,e,n){var r=we(e,t),i=[],o=!1;return Le(t,(function(t){t.inXRange(r.x)&&i.push(t),t.inRange(r.x,r.y)&&(o=!0)})),n.intersect&&!o&&(i=[]),i},y:function(t,e,n){var r=we(e,t),i=[],o=!1;return Le(t,(function(t){t.inYRange(r.y)&&i.push(t),t.inRange(r.x,r.y)&&(o=!0)})),n.intersect&&!o&&(i=[]),i}}},ke=ct.extend;function Ee(t,e){return ct.where(t,(function(t){return t.pos===e}))}function We(t,e){return t.sort((function(t,n){var r=e?n:t,i=e?t:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function Be(t){var e,n,r,i=[];for(e=0,n=(t||[]).length;e div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n",Ye=n(Object.freeze({__proto__:null,default:Ve})),Ge="$chartjs",Je="chartjs-",Ke=Je+"size-monitor",Qe=Je+"render-monitor",Ze=Je+"render-animation",tn=["animationstart","webkitAnimationStart"],en={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function nn(t,e){var n=ct.getStyle(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}function rn(t,e){var n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");if(t[Ge]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var o=nn(t,"width");void 0!==o&&(t.width=o)}if(null===r||""===r)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var a=nn(t,"height");void 0!==o&&(t.height=a)}return t}var on=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}(),an=!!on&&{passive:!0};function cn(t,e,n){t.addEventListener(e,n,an)}function sn(t,e,n){t.removeEventListener(e,n,an)}function ln(t,e,n,r,i){return{type:t,chart:e,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function un(t,e){var n=en[t.type]||t.type,r=ct.getRelativePosition(t,e);return ln(n,e,r.x,r.y,t)}function fn(t,e){var n=!1,r=[];return function(){r=Array.prototype.slice.call(arguments),e=e||this,n||(n=!0,ct.requestAnimFrame.call(window,(function(){n=!1,t.apply(e,r)})))}}function dn(t){var e=document.createElement("div");return e.className=t||"",e}function pn(t){var e=1e6,n=dn(Ke),r=dn(Ke+"-expand"),i=dn(Ke+"-shrink");r.appendChild(dn()),i.appendChild(dn()),n.appendChild(r),n.appendChild(i),n._reset=function(){r.scrollLeft=e,r.scrollTop=e,i.scrollLeft=e,i.scrollTop=e};var o=function(){n._reset(),t()};return cn(r,"scroll",o.bind(r,"expand")),cn(i,"scroll",o.bind(i,"shrink")),n}function hn(t,e){var n=t[Ge]||(t[Ge]={}),r=n.renderProxy=function(t){t.animationName===Ze&&e()};ct.each(tn,(function(e){cn(t,e,r)})),n.reflow=!!t.offsetParent,t.classList.add(Qe)}function Mn(t){var e=t[Ge]||{},n=e.renderProxy;n&&(ct.each(tn,(function(e){sn(t,e,n)})),delete e.renderProxy),t.classList.remove(Qe)}function bn(t,e,n){var r=t[Ge]||(t[Ge]={}),i=r.resizer=pn(fn((function(){if(r.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,o=i?i.clientWidth:0;e(ln("resize",n)),i&&i.clientWidth0){var o=t[0];o.label?n=o.label:o.xLabel?n=o.xLabel:i>0&&o.index-1?t.split("\n"):t}function Tn(t){var e=t._xScale,n=t._yScale||t._scale,r=t._index,i=t._datasetIndex,o=t._chart.getDatasetMeta(i).controller,a=o._getIndexScale(),c=o._getValueScale();return{xLabel:e?e.getLabelForIndex(r,i):"",yLabel:n?n.getLabelForIndex(r,i):"",label:a?""+a.getLabelForIndex(r,i):"",value:c?""+c.getLabelForIndex(r,i):"",index:r,datasetIndex:i,x:t._model.x,y:t._model.y}}function Cn(t){var e=Q.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:On(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:On(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:On(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:On(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:On(t.titleFontStyle,e.defaultFontStyle),titleFontSize:On(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:On(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:On(t.footerFontStyle,e.defaultFontStyle),footerFontSize:On(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function qn(t,e){var n=t._chart.ctx,r=2*e.yPadding,i=0,o=e.body,a=o.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);a+=e.beforeBody.length+e.afterBody.length;var c=e.title.length,s=e.footer.length,l=e.titleFontSize,u=e.bodyFontSize,f=e.footerFontSize;r+=c*l,r+=c?(c-1)*e.titleSpacing:0,r+=c?e.titleMarginBottom:0,r+=a*u,r+=a?(a-1)*e.bodySpacing:0,r+=s?e.footerMarginTop:0,r+=s*f,r+=s?(s-1)*e.footerSpacing:0;var d=0,p=function(t){i=Math.max(i,n.measureText(t).width+d)};return n.font=ct.fontString(l,e._titleFontStyle,e._titleFontFamily),ct.each(e.title,p),n.font=ct.fontString(u,e._bodyFontStyle,e._bodyFontFamily),ct.each(e.beforeBody.concat(e.afterBody),p),d=e.displayColors?u+2:0,ct.each(o,(function(t){ct.each(t.before,p),ct.each(t.lines,p),ct.each(t.after,p)})),d=0,n.font=ct.fontString(f,e._footerFontStyle,e._footerFontFamily),ct.each(e.footer,p),{width:i+=2*e.xPadding,height:r}}function Sn(t,e){var n,r,i,o,a,c=t._model,s=t._chart,l=t._chart.chartArea,u="center",f="center";c.ys.height-e.height&&(f="bottom");var d=(l.left+l.right)/2,p=(l.top+l.bottom)/2;"center"===f?(n=function(t){return t<=d},r=function(t){return t>d}):(n=function(t){return t<=e.width/2},r=function(t){return t>=s.width-e.width/2}),i=function(t){return t+e.width+c.caretSize+c.caretPadding>s.width},o=function(t){return t-e.width-c.caretSize-c.caretPadding<0},a=function(t){return t<=p?"top":"bottom"},n(c.x)?(u="left",i(c.x)&&(u="center",f=a(c.y))):r(c.x)&&(u="right",o(c.x)&&(u="center",f=a(c.y)));var h=t._options;return{xAlign:h.xAlign?h.xAlign:u,yAlign:h.yAlign?h.yAlign:f}}function kn(t,e,n,r){var i=t.x,o=t.y,a=t.caretSize,c=t.caretPadding,s=t.cornerRadius,l=n.xAlign,u=n.yAlign,f=a+c,d=s+c;return"right"===l?i-=e.width:"center"===l&&((i-=e.width/2)+e.width>r.width&&(i=r.width-e.width),i<0&&(i=0)),"top"===u?o+=f:o-="bottom"===u?e.height+f:e.height/2,"center"===u?"left"===l?i+=f:"right"===l&&(i-=f):"left"===l?i-=d:"right"===l&&(i+=d),{x:i,y:o}}function En(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Wn(t){return Ln([],Nn(t))}var Bn=Mt.extend({initialize:function(){this._model=Cn(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options.callbacks,n=e.beforeTitle.apply(t,arguments),r=e.title.apply(t,arguments),i=e.afterTitle.apply(t,arguments),o=[];return o=Ln(o,Nn(n)),o=Ln(o,Nn(r)),o=Ln(o,Nn(i))},getBeforeBody:function(){return Wn(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,r=n._options.callbacks,i=[];return ct.each(t,(function(t){var o={before:[],lines:[],after:[]};Ln(o.before,Nn(r.beforeLabel.call(n,t,e))),Ln(o.lines,r.label.call(n,t,e)),Ln(o.after,Nn(r.afterLabel.call(n,t,e))),i.push(o)})),i},getAfterBody:function(){return Wn(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),r=e.footer.apply(t,arguments),i=e.afterFooter.apply(t,arguments),o=[];return o=Ln(o,Nn(n)),o=Ln(o,Nn(r)),o=Ln(o,Nn(i))},update:function(t){var e,n,r=this,i=r._options,o=r._model,a=r._model=Cn(i),c=r._active,s=r._data,l={xAlign:o.xAlign,yAlign:o.yAlign},u={x:o.x,y:o.y},f={width:o.width,height:o.height},d={x:o.caretX,y:o.caretY};if(c.length){a.opacity=1;var p=[],h=[];d=wn[i.position].call(r,c,r._eventPosition);var M=[];for(e=0,n=c.length;e0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},r={x:e.x,y:e.y},i=Math.abs(e.opacity<.001)?0:e.opacity,o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&o&&(t.save(),t.globalAlpha=i,this.drawBackground(r,e,t,n),r.y+=e.yPadding,ct.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(r,e,t),this.drawBody(r,e,t),this.drawFooter(r,e,t),ct.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e=this,n=e._options,r=!1;return e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:(e._active=e._chart.getElementsAtEventForMode(t,n.mode,n),n.reverse&&e._active.reverse()),(r=!ct.arrayEquals(e._active,e._lastActive))&&(e._lastActive=e._active,(n.enabled||n.custom)&&(e._eventPosition={x:t.x,y:t.y},e.update(!0),e.pivot())),r}}),Dn=wn,Xn=Bn;Xn.positioners=Dn;var Pn=ct.valueOrDefault;function Rn(){return ct.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,r){if("xAxes"===t||"yAxes"===t){var i,o,a,c=n[t].length;for(e[t]||(e[t]=[]),i=0;i=e[t].length&&e[t].push({}),!e[t][i].type||a.type&&a.type!==e[t][i].type?ct.merge(e[t][i],[zn.getScaleDefaults(o),a]):ct.merge(e[t][i],a)}else ct._merger(t,e,n,r)}})}function jn(){return ct.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,r){var i=e[t]||Object.create(null),o=n[t];"scales"===t?e[t]=Rn(i,o):"scale"===t?e[t]=ct.merge(i,[zn.getScaleDefaults(o.type),o]):ct._merger(t,e,n,r)}})}function In(t){var e=(t=t||Object.create(null)).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=jn(Q.global,Q[t.type],t.options||{}),t}function Fn(t){var e=t.options;ct.each(t.scales,(function(e){$e.removeBox(t,e)})),e=jn(Q.global,Q[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function Hn(t,e,n){var r,i=function(t){return t.id===r};do{r=e+n++}while(ct.findIndex(t,i)>=0);return r}function $n(t){return"top"===t||"bottom"===t}function Un(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}Q._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Vn=function(t,e){return this.construct(t,e),this};ct.extend(Vn.prototype,{construct:function(t,e){var n=this;e=In(e);var r=An.acquireContext(t,e),i=r&&r.canvas,o=i&&i.height,a=i&&i.width;n.id=ct.uid(),n.ctx=r,n.canvas=i,n.config=e,n.width=a,n.height=o,n.aspectRatio=o?a/o:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Vn.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),r&&i&&(n.initialize(),n.update())},initialize:function(){var t=this;return _n.notify(t,"beforeInit"),ct.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),_n.notify(t,"afterInit"),t},clear:function(){return ct.canvas.clear(this),this},stop:function(){return vt.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,r=e.canvas,i=n.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(ct.getMaximumWidth(r))),a=Math.max(0,Math.floor(i?o/i:ct.getMaximumHeight(r)));if((e.width!==o||e.height!==a)&&(r.width=e.width=o,r.height=e.height=a,r.style.width=o+"px",r.style.height=a+"px",ct.retinaScale(e,n.devicePixelRatio),!t)){var c={width:o,height:a};_n.notify(e,"resize",[c]),n.onResize&&n.onResize(e,c),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;ct.each(e.xAxes,(function(t,n){t.id||(t.id=Hn(e.xAxes,"x-axis-",n))})),ct.each(e.yAxes,(function(t,n){t.id||(t.id=Hn(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},r=[],i=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(r=r.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&r.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),ct.each(r,(function(e){var r=e.options,o=r.id,a=Pn(r.type,e.dtype);$n(r.position)!==$n(e.dposition)&&(r.position=e.dposition),i[o]=!0;var c=null;if(o in n&&n[o].type===a)(c=n[o]).options=r,c.ctx=t.ctx,c.chart=t;else{var s=zn.getScaleConstructor(a);if(!s)return;c=new s({id:o,type:a,options:r,ctx:t.ctx,chart:t}),n[c.id]=c}c.mergeTicksOptions(),e.isDefault&&(t.scale=c)})),ct.each(i,(function(t,e){t||delete n[e]})),t.scales=n,zn.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,r=[],i=n.data.datasets;for(t=0,e=i.length;t=0;--n)r.drawDataset(e[n],t);_n.notify(r,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this,r={meta:t,index:t.index,easingValue:e};!1!==_n.notify(n,"beforeDatasetDraw",[r])&&(t.controller.draw(e),_n.notify(n,"afterDatasetDraw",[r]))},_drawTooltip:function(t){var e=this,n=e.tooltip,r={tooltip:n,easingValue:t};!1!==_n.notify(e,"beforeTooltipDraw",[r])&&(n.draw(),_n.notify(e,"afterTooltipDraw",[r]))},getElementAtEvent:function(t){return Se.modes.single(this,t)},getElementsAtEvent:function(t){return Se.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Se.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var r=Se.modes[e];return"function"==typeof r?r(this,t,n):[]},getDatasetAtEvent:function(t){return Se.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var r=n._meta[e.id];return r||(r=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n.order||0,index:t}),r},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e=0;r--){var i=t[r];if(e(i))return i}},ct.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},ct.almostEquals=function(t,e,n){return Math.abs(t-e)=t},ct.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},ct.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},ct.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},ct.toRadians=function(t){return t*(Math.PI/180)},ct.toDegrees=function(t){return t*(180/Math.PI)},ct._decimalPlaces=function(t){if(ct.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},ct.getAngleFromPoint=function(t,e){var n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r),o=Math.atan2(r,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:i}},ct.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},ct.aliasPixel=function(t){return t%2==0?0:.5},ct._alignPixel=function(t,e,n){var r=t.currentDevicePixelRatio,i=n/2;return Math.round((e-i)*r)/r+i},ct.splineCurve=function(t,e,n,r){var i=t.skip?e:t,o=e,a=n.skip?e:n,c=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),s=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),l=c/(c+s),u=s/(c+s),f=r*(l=isNaN(l)?0:l),d=r*(u=isNaN(u)?0:u);return{previous:{x:o.x-f*(a.x-i.x),y:o.y-f*(a.y-i.y)},next:{x:o.x+d*(a.x-i.x),y:o.y+d*(a.y-i.y)}}},ct.EPSILON=Number.EPSILON||1e-14,ct.splineCurveMonotone=function(t){var e,n,r,i,o,a,c,s,l,u=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),f=u.length;for(e=0;e0?u[e-1]:null,(i=e0?u[e-1]:null,i=e=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},ct.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},ct.niceNum=function(t,e){var n=Math.floor(ct.log10(t)),r=t/Math.pow(10,n);return(e?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},ct.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},ct.getRelativePosition=function(t,e){var n,r,i=t.originalEvent||t,o=t.target||t.srcElement,a=o.getBoundingClientRect(),c=i.touches;c&&c.length>0?(n=c[0].clientX,r=c[0].clientY):(n=i.clientX,r=i.clientY);var s=parseFloat(ct.getStyle(o,"padding-left")),l=parseFloat(ct.getStyle(o,"padding-top")),u=parseFloat(ct.getStyle(o,"padding-right")),f=parseFloat(ct.getStyle(o,"padding-bottom")),d=a.right-a.left-s-u,p=a.bottom-a.top-l-f;return{x:n=Math.round((n-a.left-s)/d*o.width/e.currentDevicePixelRatio),y:r=Math.round((r-a.top-l)/p*o.height/e.currentDevicePixelRatio)}},ct.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},ct.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},ct._calculatePadding=function(t,e,n){return(e=ct.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},ct._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},ct.getMaximumWidth=function(t){var e=ct._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,r=n-ct._calculatePadding(e,"padding-left",n)-ct._calculatePadding(e,"padding-right",n),i=ct.getConstraintWidth(t);return isNaN(i)?r:Math.min(r,i)},ct.getMaximumHeight=function(t){var e=ct._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,r=n-ct._calculatePadding(e,"padding-top",n)-ct._calculatePadding(e,"padding-bottom",n),i=ct.getConstraintHeight(t);return isNaN(i)?r:Math.min(r,i)},ct.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},ct.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=t.canvas,i=t.height,o=t.width;r.height=i*n,r.width=o*n,t.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=o+"px")}},ct.fontString=function(t,e,n){return e+" "+t+"px "+n},ct.longestText=function(t,e,n,r){var i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},o=r.garbageCollect=[],r.font=e),t.font=e;var a,c,s,l,u,f=0,d=n.length;for(a=0;an.length){for(a=0;ar&&(r=o),r},ct.numberOfLabelLines=function(t){var e=1;return ct.each(t,(function(t){ct.isArray(t)&&t.length>e&&(e=t.length)})),e},ct.color=B?function(t){return t instanceof CanvasGradient&&(t=Q.global.defaultColor),B(t)}:function(t){return t},ct.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:ct.color(t).saturate(.5).darken(.1).rgbString()}};function Jn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Kn(t){this.options=t||{}}ct.extend(Kn.prototype,{formats:Jn,parse:Jn,format:Jn,add:Jn,diff:Jn,startOf:Jn,endOf:Jn,_create:function(t){return t}}),Kn.override=function(t){ct.extend(Kn.prototype,t)};var Qn={_date:Kn},Zn={formatters:{values:function(t){return ct.isArray(t)?t:""+t},linear:function(t,e,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&t!==Math.floor(t)&&(r=t-Math.floor(t));var i=ct.log10(Math.abs(r)),o="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var a=ct.log10(Math.abs(t)),c=Math.floor(a)-Math.floor(i);c=Math.max(Math.min(c,20),0),o=t.toExponential(c)}else{var s=-1*Math.floor(i);s=Math.max(Math.min(s,20),0),o=t.toFixed(s)}else o="0";return o},logarithmic:function(t,e,n){var r=t/Math.pow(10,Math.floor(ct.log10(t)));return 0===t?"0":1===r||2===r||5===r||0===e||e===n.length-1?t.toExponential():""}}},tr=ct.isArray,er=ct.isNullOrUndef,nr=ct.valueOrDefault,rr=ct.valueAtIndexOrDefault;function ir(t,e){for(var n=[],r=t.length/e,i=0,o=t.length;is+l)))return a}function ar(t,e){ct.each(t,(function(t){var n,r=t.gc,i=r.length/2;if(i>e){for(n=0;nl)return o;return Math.max(l,1)}function Mr(t){var e,n,r=[];for(e=0,n=t.length;e=d||u<=1||!c.isHorizontal()?c.labelRotation=f:(e=(t=c._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,r=Math.min(c.maxWidth,c.chart.width-e),e+6>(i=s.offset?c.maxWidth/u:r/(u-1))&&(i=r/(u-(s.offset?.5:1)),o=c.maxHeight-sr(s.gridLines)-l.padding-lr(s.scaleLabel),a=Math.sqrt(e*e+n*n),p=ct.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/i,1)),Math.asin(Math.min(o/a,1))-Math.asin(n/a))),p=Math.max(f,Math.min(d,p))),c.labelRotation=p)},afterCalculateTickRotation:function(){ct.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){ct.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,r=t.options,i=r.ticks,o=r.scaleLabel,a=r.gridLines,c=t._isVisible(),s="bottom"===r.position,l=t.isHorizontal();if(l?e.width=t.maxWidth:c&&(e.width=sr(a)+lr(o)),l?c&&(e.height=sr(a)+lr(o)):e.height=t.maxHeight,i.display&&c){var u=fr(i),f=t._getLabelSizes(),d=f.first,p=f.last,h=f.widest,M=f.highest,b=.4*u.minor.lineHeight,m=i.padding;if(l){var v=0!==t.labelRotation,g=ct.toRadians(t.labelRotation),y=Math.cos(g),A=Math.sin(g),_=A*h.width+y*(M.height-(v?M.offset:0))+(v?0:b);e.height=Math.min(t.maxHeight,e.height+_+m);var z,O,x=t.getPixelForTick(0)-t.left,w=t.right-t.getPixelForTick(t.getTicks().length-1);v?(z=s?y*d.width+A*d.offset:A*(d.height-d.offset),O=s?A*(p.height-p.offset):y*p.width+A*p.offset):(z=d.width/2,O=p.width/2),t.paddingLeft=Math.max((z-x)*t.width/(t.width-x),0)+3,t.paddingRight=Math.max((O-w)*t.width/(t.width-w),0)+3}else{var L=i.mirror?0:h.width+m+b;e.width=Math.min(t.maxWidth,e.width+L),t.paddingTop=d.height/2,t.paddingBottom=p.height/2}}t.handleMargins(),l?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){ct.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(er(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,r,i=this;for(i.ticks=t.map((function(t){return t.value})),i.beforeTickToLabelConversion(),e=i.convertTicksToLabels(t)||i.ticks,i.afterTickToLabelConversion(),n=0,r=t.length;nr-1?null:e.getPixelForDecimal(t*i+(n?i/2:0))},getPixelForDecimal:function(t){var e=this;return e._reversePixels&&(t=1-t),e._startPixel+t*e._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,n=t.max;return t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0},_autoSkip:function(t){var e,n,r,i,o=this,a=o.options.ticks,c=o._length,s=a.maxTicksLimit||c/o._tickSize()+1,l=a.major.enabled?Mr(t):[],u=l.length,f=l[0],d=l[u-1];if(u>s)return br(t,l,u/s),dr(t);if(r=hr(l,t,c,s),u>0){for(e=0,n=u-1;e1?(d-f)/(u-1):null,mr(t,r,ct.isNullOrUndef(i)?0:f-i,f),mr(t,r,d,ct.isNullOrUndef(i)?t.length:d+i),dr(t)}return mr(t,r),dr(t)},_tickSize:function(){var t=this,e=t.options.ticks,n=ct.toRadians(t.labelRotation),r=Math.abs(Math.cos(n)),i=Math.abs(Math.sin(n)),o=t._getLabelSizes(),a=e.autoSkipPadding||0,c=o?o.widest.width+a:0,s=o?o.highest.height+a:0;return t.isHorizontal()?s*r>c*i?c/r:s/i:s*i=0&&(a=t),void 0!==o&&(t=n.indexOf(o))>=0&&(c=t),e.minIndex=a,e.maxIndex=c,e.min=n[a],e.max=n[c]},buildTicks:function(){var t=this,e=t._getLabels(),n=t.minIndex,r=t.maxIndex;t.ticks=0===n&&r===e.length-1?e:e.slice(n,r+1)},getLabelForIndex:function(t,e){var n=this,r=n.chart;return r.getDatasetMeta(e).controller._getValueScaleId()===n.id?n.getRightValue(r.data.datasets[e].data[t]):n._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;gr.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var r,i,o,a=this;return yr(e)||yr(n)||(t=a.chart.data.datasets[n].data[e]),yr(t)||(r=a.isHorizontal()?t.x:t.y),(void 0!==r||void 0!==t&&isNaN(e))&&(i=a._getLabels(),t=ct.valueOrDefault(r,t),e=-1!==(o=i.indexOf(t))?o:e,isNaN(e)&&(e=t)),a.getPixelForDecimal((e-a._startValue)/a._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=this,n=Math.round(e._startValue+e.getDecimalForPixel(t)*e._valueRange);return Math.min(Math.max(n,0),e.ticks.length-1)},getBasePixel:function(){return this.bottom}}),zr=Ar;_r._defaults=zr;var Or=ct.noop,xr=ct.isNullOrUndef;function wr(t,e){var n,r,i,o,a=[],c=1e-14,s=t.stepSize,l=s||1,u=t.maxTicks-1,f=t.min,d=t.max,p=t.precision,h=e.min,M=e.max,b=ct.niceNum((M-h)/u/l)*l;if(bu&&(b=ct.niceNum(o*b/u/l)*l),s||xr(p)?n=Math.pow(10,ct._decimalPlaces(b)):(n=Math.pow(10,p),b=Math.ceil(b*n)/n),r=Math.floor(h/b)*b,i=Math.ceil(M/b)*b,s&&(!xr(f)&&ct.almostWhole(f/b,b/1e3)&&(r=f),!xr(d)&&ct.almostWhole(d/b,b/1e3)&&(i=d)),o=(i-r)/b,o=ct.almostEquals(o,Math.round(o),b/1e3)?Math.round(o):Math.ceil(o),r=Math.round(r*n)/n,i=Math.round(i*n)/n,a.push(xr(f)?r:f);for(var m=1;m0&&r>0&&(t.min=0)}var i=void 0!==e.min||void 0!==e.suggestedMin,o=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),i!==o&&t.min>=t.max&&(i?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this,n=e.options.ticks,r=n.stepSize,i=n.maxTicksLimit;return r?t=Math.ceil(e.max/r)-Math.floor(e.min/r)+1:(t=e._computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Or,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:ct.valueOrDefault(e.fixedStepSize,e.stepSize)},i=t.ticks=wr(r,t);t.handleDirectionalChanges(),t.max=ct.max(i),t.min=ct.min(i),e.reverse?(i.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),gr.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),r=e.min,i=e.max;gr.prototype._configure.call(e),e.options.offset&&n.length&&(r-=t=(i-r)/Math.max(n.length-1,1)/2,i+=t),e._startValue=r,e._endValue=i,e._valueRange=i-r}}),Nr={position:"left",ticks:{callback:Zn.formatters.linear}},Tr=0,Cr=1;function qr(t,e,n){var r=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[r]&&(t[r]={pos:[],neg:[]}),t[r]}function Sr(t,e,n,r){var i,o,a=t.options,c=qr(e,a.stacked,n),s=c.pos,l=c.neg,u=r.length;for(i=0;ie.length-1?null:this.getPixelForValue(e[t])}}),Wr=Nr;Er._defaults=Wr;var Br=ct.valueOrDefault,Dr=ct.math.log10;function Xr(t,e){var n,r,i=[],o=Br(t.min,Math.pow(10,Math.floor(Dr(e.min)))),a=Math.floor(Dr(e.max)),c=Math.ceil(e.max/Math.pow(10,a));0===o?(n=Math.floor(Dr(e.minNotZero)),r=Math.floor(e.minNotZero/Math.pow(10,n)),i.push(o),o=r*Math.pow(10,n)):(n=Math.floor(Dr(o)),r=Math.floor(o/Math.pow(10,n)));var s=n<0?Math.pow(10,Math.abs(n)):1;do{i.push(o),10==++r&&(r=1,s=++n>=0?1:s),o=Math.round(r*Math.pow(10,n)*s)/s}while(n=0?t:e}var jr=gr.extend({determineDataLimits:function(){var t,e,n,r,i,o,a=this,c=a.options,s=a.chart,l=s.data.datasets,u=a.isHorizontal();function f(t){return u?t.xAxisID===a.id:t.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var d=c.stacked;if(void 0===d)for(t=0;t0){var e=ct.min(t),n=ct.max(t);a.min=Math.min(a.min,e),a.max=Math.max(a.max,n)}}))}else for(t=0;t0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(Dr(t.max))):t.minNotZero=n)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),r={min:Rr(e.min),max:Rr(e.max)},i=t.ticks=Xr(r,t);t.max=ct.max(i),t.min=ct.min(i),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),gr.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(Dr(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;gr.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=Br(t.options.ticks.fontSize,Q.global.defaultFontSize)/t._length),t._startValue=Dr(e),t._valueOffset=n,t._valueRange=(Dr(t.max)-Dr(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(Dr(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),Ir=Pr;jr._defaults=Ir;var Fr=ct.valueOrDefault,Hr=ct.valueAtIndexOrDefault,$r=ct.options.resolve,Ur={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Zn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Vr(t){var e=t.ticks;return e.display&&t.display?Fr(e.fontSize,Q.global.defaultFontSize)+2*e.backdropPaddingY:0}function Yr(t,e,n){return ct.isArray(n)?{w:ct.longestText(t,t.font,n),h:n.length*e}:{w:t.measureText(n).width,h:e}}function Gr(t,e,n,r,i){return t===r||t===i?{start:e-n/2,end:e+n/2}:ti?{start:e-n,end:e}:{start:e,end:e+n}}function Jr(t){var e,n,r,i=ct.options._parseFont(t.options.pointLabels),o={l:0,r:t.width,t:0,b:t.height-t.paddingTop},a={};t.ctx.font=i.string,t._pointLabelSizes=[];var c=t.chart.data.labels.length;for(e=0;eo.r&&(o.r=u.end,a.r=s),f.starto.b&&(o.b=f.end,a.b=s)}t.setReductions(t.drawingArea,o,a)}function Kr(t){return 0===t||180===t?"center":t<180?"left":"right"}function Qr(t,e,n,r){var i,o,a=n.y+r/2;if(ct.isArray(e))for(i=0,o=e.length;i270||t<90)&&(n.y-=e.h)}function ti(t){var e=t.ctx,n=t.options,r=n.pointLabels,i=Vr(n),o=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),a=ct.options._parseFont(r);e.save(),e.font=a.string,e.textBaseline="middle";for(var c=t.chart.data.labels.length-1;c>=0;c--){var s=0===c?i/2:0,l=t.getPointPosition(c,o+s+5),u=Hr(r.fontColor,c,Q.global.defaultFontColor);e.fillStyle=u;var f=t.getIndexAngle(c),d=ct.toDegrees(f);e.textAlign=Kr(d),Zr(d,t._pointLabelSizes[c],l),Qr(e,t.pointLabels[c],l,a.lineHeight)}e.restore()}function ei(t,e,n,r){var i,o=t.ctx,a=e.circular,c=t.chart.data.labels.length,s=Hr(e.color,r-1),l=Hr(e.lineWidth,r-1);if((a||c)&&s&&l){if(o.save(),o.strokeStyle=s,o.lineWidth=l,o.setLineDash&&(o.setLineDash(e.borderDash||[]),o.lineDashOffset=e.borderDashOffset||0),o.beginPath(),a)o.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{i=t.getPointPosition(0,n),o.moveTo(i.x,i.y);for(var u=1;u0&&r>0?n:0)},_drawGrid:function(){var t,e,n,r=this,i=r.ctx,o=r.options,a=o.gridLines,c=o.angleLines,s=Fr(c.lineWidth,a.lineWidth),l=Fr(c.color,a.color);if(o.pointLabels.display&&ti(r),a.display&&ct.each(r.ticks,(function(t,n){0!==n&&(e=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),ei(r,a,e,n))})),c.display&&s&&l){for(i.save(),i.lineWidth=s,i.strokeStyle=l,i.setLineDash&&(i.setLineDash($r([c.borderDash,a.borderDash,[]])),i.lineDashOffset=$r([c.borderDashOffset,a.borderDashOffset,0])),t=r.chart.data.labels.length-1;t>=0;t--)e=r.getDistanceFromCenterForValue(o.ticks.reverse?r.min:r.max),n=r.getPointPosition(t,e),i.beginPath(),i.moveTo(r.xCenter,r.yCenter),i.lineTo(n.x,n.y),i.stroke();i.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var r,i,o=t.getIndexAngle(0),a=ct.options._parseFont(n),c=Fr(n.fontColor,Q.global.defaultFontColor);e.save(),e.font=a.string,e.translate(t.xCenter,t.yCenter),e.rotate(o),e.textAlign="center",e.textBaseline="middle",ct.each(t.ticks,(function(o,s){(0!==s||n.reverse)&&(r=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]),n.showLabelBackdrop&&(i=e.measureText(o).width,e.fillStyle=n.backdropColor,e.fillRect(-i/2-n.backdropPaddingX,-r-a.size/2-n.backdropPaddingY,i+2*n.backdropPaddingX,a.size+2*n.backdropPaddingY)),e.fillStyle=c,e.fillText(o,0,-r))})),e.restore()}},_drawTitle:ct.noop}),ii=Ur;ri._defaults=ii;var oi=ct._deprecated,ai=ct.options.resolve,ci=ct.valueOrDefault,si=Number.MIN_SAFE_INTEGER||-9007199254740991,li=Number.MAX_SAFE_INTEGER||9007199254740991,ui={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},fi=Object.keys(ui);function di(t,e){return t-e}function pi(t){var e,n,r,i={},o=[];for(e=0,n=t.length;ee&&c=0&&a<=c;){if(i=t[(r=a+c>>1)-1]||null,o=t[r],!i)return{lo:null,hi:o};if(o[e]n))return{lo:i,hi:o};c=r-1}}return{lo:o,hi:null}}function vi(t,e,n,r){var i=mi(t,e,n),o=i.lo?i.hi?i.lo:t[t.length-2]:t[0],a=i.lo?i.hi?i.hi:t[t.length-1]:t[1],c=a[e]-o[e],s=c?(n-o[e])/c:0,l=(a[r]-o[r])*s;return o[r]+l}function gi(t,e){var n=t._adapter,r=t.options.time,i=r.parser,o=i||r.format,a=e;return"function"==typeof i&&(a=i(a)),ct.isFinite(a)||(a="string"==typeof o?n.parse(a,o):n.parse(a)),null!==a?+a:(i||"function"!=typeof o||(a=o(e),ct.isFinite(a)||(a=n.parse(a))),a)}function yi(t,e){if(ct.isNullOrUndef(e))return null;var n=t.options.time,r=gi(t,t.getRightValue(e));return null===r||n.round&&(r=+t._adapter.startOf(r,n.round)),r}function Ai(t,e,n,r){var i,o,a,c=fi.length;for(i=fi.indexOf(t);i=fi.indexOf(n);o--)if(a=fi[o],ui[a].common&&t._adapter.diff(i,r,a)>=e-1)return a;return fi[n?fi.indexOf(n):0]}function zi(t){for(var e=fi.indexOf(t)+1,n=fi.length;e1e5*l)throw e+" and "+n+" are too far apart with stepSize of "+l+" "+s;for(i=f;i=0&&(e[o].major=!0);return e}function Li(t,e,n){var r,i,o=[],a={},c=e.length;for(r=0;r1?pi(h).sort(di):h.sort(di),d=Math.min(d,h[0]),p=Math.max(p,h[h.length-1])),d=yi(c,hi(u))||d,p=yi(c,Mi(u))||p,d=d===li?+l.startOf(Date.now(),f):d,p=p===si?+l.endOf(Date.now(),f)+1:p,c.min=Math.min(d,p),c.max=Math.max(d+1,p),c._table=[],c._timestamps={data:h,datasets:M,labels:b}},buildTicks:function(){var t,e,n,r=this,i=r.min,o=r.max,a=r.options,c=a.ticks,s=a.time,l=r._timestamps,u=[],f=r.getLabelCapacity(i),d=c.source,p=a.distribution;for(l="data"===d||"auto"===d&&"series"===p?l.data:"labels"===d?l.labels:Oi(r,i,o,f),"ticks"===a.bounds&&l.length&&(i=l[0],o=l[l.length-1]),i=yi(r,hi(a))||i,o=yi(r,Mi(a))||o,t=0,e=l.length;t=i&&n<=o&&u.push(n);return r.min=i,r.max=o,r._unit=s.unit||(c.autoSkip?Ai(s.minUnit,r.min,r.max,f):_i(r,u.length,s.minUnit,r.min,r.max)),r._majorUnit=c.major.enabled&&"year"!==r._unit?zi(r._unit):void 0,r._table=bi(r._timestamps.data,i,o,p),r._offsets=xi(r._table,u,i,o,a),c.reverse&&u.reverse(),Li(r,u,r._majorUnit)},getLabelForIndex:function(t,e){var n=this,r=n._adapter,i=n.chart.data,o=n.options.time,a=i.labels&&t=0&&t0?c:1}}),Ci=Ni;Ti._defaults=Ci;var qi={category:_r,linear:Er,logarithmic:jr,radialLinear:ri,time:Ti},Si={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Qn._date.override("function"==typeof t?{_id:"moment",formats:function(){return Si},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,r){return t(e).add(n,r).valueOf()},diff:function(e,n,r){return t(e).diff(t(n),r)},startOf:function(e,n,r){return e=t(e),"isoWeek"===n?e.isoWeekday(r).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),Q._set("global",{plugins:{filler:{propagate:!0}}});var ki={dataset:function(t){var e=t.fill,n=t.chart,r=n.getDatasetMeta(e),i=r&&n.isDatasetVisible(e)&&r.dataset._children||[],o=i.length||0;return o?function(t,e){return e=n)&&r;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function Wi(t){var e,n=t.el._model||{},r=t.el._scale||{},i=t.fill,o=null;if(isFinite(i))return null;if("start"===i?o=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?o=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:r.getBasePixel&&(o=r.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if(ct.isFinite(o))return{x:(e=r.isHorizontal())?o:null,y:e?null:o}}return null}function Bi(t){var e,n,r,i,o,a=t.el._scale,c=a.options,s=a.chart.data.labels.length,l=t.fill,u=[];if(!s)return null;for(e=c.ticks.reverse?a.max:a.min,n=c.ticks.reverse?a.min:a.max,r=a.getPointPositionForValue(0,e),i=0;i0;--o)ct.canvas.lineTo(t,n[o],n[o-1],!0);else for(a=n[0].cx,c=n[0].cy,s=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-c,2)),o=i-1;o>0;--o)t.arc(a,c,s,n[o].angle,n[o-1].angle,!0)}}function Ii(t,e,n,r,i,o){var a,c,s,l,u,f,d,p,h=e.length,M=r.spanGaps,b=[],m=[],v=0,g=0;for(t.beginPath(),a=0,c=h;a=0;--n)(e=s[n].$filler)&&e.visible&&(i=(r=e.el)._view,o=r._children||[],a=e.mapper,c=i.backgroundColor||Q.global.defaultColor,a&&c&&o.length&&(ct.canvas.clipArea(l,t.chartArea),Ii(l,o,a,i,c,r._loop),ct.canvas.unclipArea(l)))}},Hi=ct.rtl.getRtlAdapter,$i=ct.noop,Ui=ct.valueOrDefault;function Vi(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}Q._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},r=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var i=n.controller.getStyle(r?0:void 0);return{text:e[n.index].label,fillStyle:i.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:i.borderCapStyle,lineDash:i.borderDash,lineDashOffset:i.borderDashOffset,lineJoin:i.borderJoinStyle,lineWidth:i.borderWidth,strokeStyle:i.borderColor,pointStyle:i.pointStyle,rotation:i.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,r,i=document.createElement("ul"),o=t.data.datasets;for(i.setAttribute("class",t.id+"-legend"),e=0,n=o.length;es.width)&&(f+=a+n.padding,u[u.length-(e>0?0:1)]=0),c[e]={left:0,top:0,width:r,height:a},u[u.length-1]+=r+n.padding})),s.height+=f}else{var d=n.padding,p=t.columnWidths=[],h=t.columnHeights=[],M=n.padding,b=0,m=0;ct.each(t.legendItems,(function(t,e){var r=Vi(n,a)+a/2+i.measureText(t.text).width;e>0&&m+a+2*d>s.height&&(M+=b+n.padding,p.push(b),h.push(m),b=0,m=0),b=Math.max(b,r),m+=a+d,c[e]={left:0,top:0,width:r,height:a}})),M+=b,p.push(b),h.push(m),s.width+=M}t.width=s.width,t.height=s.height}else t.width=s.width=t.height=s.height=0},afterFit:$i,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,r=Q.global,i=r.defaultColor,o=r.elements.line,a=t.height,c=t.columnHeights,s=t.width,l=t.lineWidths;if(e.display){var u,f=Hi(e.rtl,t.left,t.minSize.width),d=t.ctx,p=Ui(n.fontColor,r.defaultFontColor),h=ct.options._parseFont(n),M=h.size;d.textAlign=f.textAlign("left"),d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=p,d.fillStyle=p,d.font=h.string;var b=Vi(n,M),m=t.legendHitBoxes,v=function(t,e,r){if(!(isNaN(b)||b<=0)){d.save();var a=Ui(r.lineWidth,o.borderWidth);if(d.fillStyle=Ui(r.fillStyle,i),d.lineCap=Ui(r.lineCap,o.borderCapStyle),d.lineDashOffset=Ui(r.lineDashOffset,o.borderDashOffset),d.lineJoin=Ui(r.lineJoin,o.borderJoinStyle),d.lineWidth=a,d.strokeStyle=Ui(r.strokeStyle,i),d.setLineDash&&d.setLineDash(Ui(r.lineDash,o.borderDash)),n&&n.usePointStyle){var c=b*Math.SQRT2/2,s=f.xPlus(t,b/2),l=e+M/2;ct.canvas.drawPoint(d,r.pointStyle,c,s,l,r.rotation)}else d.fillRect(f.leftForLtr(t,b),e,b,M),0!==a&&d.strokeRect(f.leftForLtr(t,b),e,b,M);d.restore()}},g=function(t,e,n,r){var i=M/2,o=f.xPlus(t,b+i),a=e+i;d.fillText(n.text,o,a),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(o,a),d.lineTo(f.xPlus(o,r),a),d.stroke())},y=function(t,r){switch(e.align){case"start":return n.padding;case"end":return t-r;default:return(t-r+n.padding)/2}},A=t.isHorizontal();u=A?{x:t.left+y(s,l[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+y(a,c[0]),line:0},ct.rtl.overrideTextDirection(t.ctx,e.textDirection);var _=M+n.padding;ct.each(t.legendItems,(function(e,r){var i=d.measureText(e.text).width,o=b+M/2+i,p=u.x,h=u.y;f.setWidth(t.minSize.width),A?r>0&&p+o+n.padding>t.left+t.minSize.width&&(h=u.y+=_,u.line++,p=u.x=t.left+y(s,l[u.line])):r>0&&h+_>t.top+t.minSize.height&&(p=u.x=p+t.columnWidths[u.line]+n.padding,u.line++,h=u.y=t.top+y(a,c[u.line]));var z=f.x(p);v(z,h,e),m[r].left=f.leftForLtr(z,m[r].width),m[r].top=h,g(z,h,e,i),A?u.x+=o+n.padding:u.y+=_})),ct.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,r,i,o=this;if(t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom)for(i=o.legendHitBoxes,n=0;n=(r=i[n]).left&&t<=r.left+r.width&&e>=r.top&&e<=r.top+r.height)return o.legendItems[n];return null},handleEvent:function(t){var e,n=this,r=n.options,i="mouseup"===t.type?"click":t.type;if("mousemove"===i){if(!r.onHover&&!r.onLeave)return}else{if("click"!==i)return;if(!r.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===i?e&&r.onClick&&r.onClick.call(n,t.native,e):(r.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&r.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),r.onHover&&e&&r.onHover.call(n,t.native,e))}});function Gi(t,e){var n=new Yi({ctx:t.ctx,options:e,chart:t});$e.configure(t,n,e),$e.addBox(t,n),t.legend=n}var Ji={id:"legend",_element:Yi,beforeInit:function(t){var e=t.options.legend;e&&Gi(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(ct.mergeIf(e,Q.global.legend),n?($e.configure(t,n,e),n.options=e):Gi(t,e)):n&&($e.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},Ki=ct.noop;Q._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Qi=Mt.extend({initialize:function(t){var e=this;ct.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:Ki,update:function(t,e,n){var r=this;return r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:Ki,beforeSetDimensions:Ki,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Ki,beforeBuildLabels:Ki,buildLabels:Ki,afterBuildLabels:Ki,beforeFit:Ki,fit:function(){var t,e=this,n=e.options,r=e.minSize={},i=e.isHorizontal();n.display?(t=(ct.isArray(n.text)?n.text.length:1)*ct.options._parseFont(n).lineHeight+2*n.padding,e.width=r.width=i?e.maxWidth:t,e.height=r.height=i?t:e.maxHeight):e.width=r.width=e.height=r.height=0},afterFit:Ki,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var r,i,o,a=ct.options._parseFont(n),c=a.lineHeight,s=c/2+n.padding,l=0,u=t.top,f=t.left,d=t.bottom,p=t.right;e.fillStyle=ct.valueOrDefault(n.fontColor,Q.global.defaultFontColor),e.font=a.string,t.isHorizontal()?(i=f+(p-f)/2,o=u+s,r=p-f):(i="left"===n.position?f+s:p-s,o=u+(d-u)/2,r=d-u,l=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(i,o),e.rotate(l),e.textAlign="center",e.textBaseline="middle";var h=n.text;if(ct.isArray(h))for(var M=0,b=0;b{"use strict";n.d(e,{Z:()=>o});var r=n(3645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"#alertModal{background:rgba(0,0,0,.5);z-index:99999}#alertModal svg{display:block;height:4rem;margin:0 auto;width:4rem}",""]);const o=i},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o0&&e-1 in t)}O.fn=O.prototype={jquery:z,constructor:O,length:0,toArray:function(){return c.call(this)},get:function(t){return null==t?c.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=O.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return O.each(this,t)},map:function(t){return this.pushStack(O.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(O.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(O.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),$=new RegExp(D+"|>"),U=new RegExp(R),V=new RegExp("^"+X+"$"),Y={ID:new RegExp("^#("+X+")"),CLASS:new RegExp("^\\.("+X+")"),TAG:new RegExp("^("+X+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){d()},at=yt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{k.apply(C=E.call(A.childNodes),A.childNodes),C[A.childNodes.length].nodeType}catch(t){k={apply:C.length?function(t,e){S.apply(t,E.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function ct(t,e,r,i){var o,c,l,u,f,h,m,v=e&&e.ownerDocument,A=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==A&&9!==A&&11!==A)return r;if(!i&&(d(e),e=e||p,M)){if(11!==A&&(f=Z.exec(t)))if(o=f[1]){if(9===A){if(!(l=e.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(v&&(l=v.getElementById(o))&&g(e,l)&&l.id===o)return r.push(l),r}else{if(f[2])return k.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return k.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!L[t+" "]&&(!b||!b.test(t))&&(1!==A||"object"!==e.nodeName.toLowerCase())){if(m=t,v=e,1===A&&($.test(t)||H.test(t))){for((v=tt.test(t)&&mt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(rt,it):e.setAttribute("id",u=y)),c=(h=a(t)).length;c--;)h[c]=(u?"#"+u:":scope")+" "+gt(h[c]);m=h.join(",")}try{return k.apply(r,v.querySelectorAll(m)),r}catch(e){L(t,!0)}finally{u===y&&e.removeAttribute("id")}}}return s(t.replace(I,"$1"),e,r,i)}function st(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function lt(t){return t[y]=!0,t}function ut(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ft(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function dt(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function Mt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function bt(t){return lt((function(e){return e=+e,lt((function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ct.support={},o=ct.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!G.test(e||n&&n.nodeName||"HTML")},d=ct.setDocument=function(t){var e,i,a=t?t.ownerDocument||t:A;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,M=!o(p),A!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ot,!1):i.attachEvent&&i.attachEvent("onunload",ot)),n.scope=ut((function(t){return h.appendChild(t).appendChild(p.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ut((function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ut((function(t){return h.appendChild(t).id=y,!p.getElementsByName||!p.getElementsByName(y).length})),n.getById?(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&M){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&M){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&M)return e.getElementsByClassName(t)},m=[],b=[],(n.qsa=Q.test(p.querySelectorAll))&&(ut((function(t){var e;h.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll("[selected]").length||b.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+B+")"),t.querySelectorAll("[id~="+y+"-]").length||b.push("~="),(e=p.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||b.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll(":checked").length||b.push(":checked"),t.querySelectorAll("a#"+y+"+*").length||b.push(".#.+[+~]"),t.querySelectorAll("\\\f"),b.push("[\\r\\n\\f]")})),ut((function(t){t.innerHTML="";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&b.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&b.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&b.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),b.push(",.*:")}))),(n.matchesSelector=Q.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ut((function(t){n.disconnectedMatch=v.call(t,"*"),v.call(t,"[s!='']:x"),m.push("!=",R)})),b=b.length&&new RegExp(b.join("|")),m=m.length&&new RegExp(m.join("|")),e=Q.test(h.compareDocumentPosition),g=e||Q.test(h.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},N=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t==p||t.ownerDocument==A&&g(A,t)?-1:e==p||e.ownerDocument==A&&g(A,e)?1:u?W(u,t)-W(u,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],c=[e];if(!i||!o)return t==p?-1:e==p?1:i?-1:o?1:u?W(u,t)-W(u,e):0;if(i===o)return dt(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)c.unshift(n);for(;a[r]===c[r];)r++;return r?dt(a[r],c[r]):a[r]==A?-1:c[r]==A?1:0},p):p},ct.matches=function(t,e){return ct(t,null,null,e)},ct.matchesSelector=function(t,e){if(d(t),n.matchesSelector&&M&&!L[e+" "]&&(!m||!m.test(e))&&(!b||!b.test(e)))try{var r=v.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){L(e,!0)}return ct(e,p,null,[t]).length>0},ct.contains=function(t,e){return(t.ownerDocument||t)!=p&&d(t),g(t,e)},ct.attr=function(t,e){(t.ownerDocument||t)!=p&&d(t);var i=r.attrHandle[e.toLowerCase()],o=i&&T.call(r.attrHandle,e.toLowerCase())?i(t,e,!M):void 0;return void 0!==o?o:n.attributes||!M?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},ct.escape=function(t){return(t+"").replace(rt,it)},ct.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ct.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(N),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return u=null,t},i=ct.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},r=ct.selectors={cacheLength:50,createPseudo:lt,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ct.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ct.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&U.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=O[t+" "];return e||(e=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+t+"("+D+"|$)"))&&O(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var i=ct.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(j," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),c="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,s){var l,u,f,d,p,h,M=o!==a?"nextSibling":"previousSibling",b=e.parentNode,m=c&&e.nodeName.toLowerCase(),v=!s&&!c,g=!1;if(b){if(o){for(;M;){for(d=e;d=d[M];)if(c?d.nodeName.toLowerCase()===m:1===d.nodeType)return!1;h=M="only"===t&&!h&&"nextSibling"}return!0}if(h=[a?b.firstChild:b.lastChild],a&&v){for(g=(p=(l=(u=(f=(d=b)[y]||(d[y]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]||[])[0]===_&&l[1])&&l[2],d=p&&b.childNodes[p];d=++p&&d&&d[M]||(g=p=0)||h.pop();)if(1===d.nodeType&&++g&&d===e){u[t]=[_,p,g];break}}else if(v&&(g=p=(l=(u=(f=(d=e)[y]||(d[y]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]||[])[0]===_&&l[1]),!1===g)for(;(d=++p&&d&&d[M]||(g=p=0)||h.pop())&&((c?d.nodeName.toLowerCase()!==m:1!==d.nodeType)||!++g||(v&&((u=(f=d[y]||(d[y]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]=[_,g]),d!==e)););return(g-=i)===r||g%r==0&&g/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ct.error("unsupported pseudo: "+t);return i[y]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?lt((function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=W(t,o[a])]=!(n[r]=o[a])})):function(t){return i(t,0,n)}):i}},pseudos:{not:lt((function(t){var e=[],n=[],r=c(t.replace(I,"$1"));return r[y]?lt((function(t,e,n,i){for(var o,a=r(t,null,i,[]),c=t.length;c--;)(o=a[c])&&(t[c]=!(e[c]=o))})):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}})),has:lt((function(t){return function(e){return ct(t,e).length>0}})),contains:lt((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}})),lang:lt((function(t){return V.test(t||"")||ct.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=M?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:Mt(!1),disabled:Mt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return J.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:bt((function(){return[0]})),last:bt((function(t,e){return[e-1]})),eq:bt((function(t,e,n){return[n<0?n+e:n]})),even:bt((function(t,e){for(var n=0;ne?e:n;--r>=0;)t.push(r);return t})),gt:bt((function(t,e,n){for(var r=n<0?n+e:n;++r1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function _t(t,e,n,r,i){for(var o,a=[],c=0,s=t.length,l=null!=e;c-1&&(o[l]=!(a[l]=f))}}else m=_t(m===a?m.splice(h,m.length):m),i?i(null,a,m,s):k.apply(a,m)}))}function Ot(t){for(var e,n,i,o=t.length,a=r.relative[t[0].type],c=a||r.relative[" "],s=a?1:0,u=yt((function(t){return t===e}),c,!0),f=yt((function(t){return W(e,t)>-1}),c,!0),d=[function(t,n,r){var i=!a&&(r||n!==l)||((e=n).nodeType?u(t,n,r):f(t,n,r));return e=null,i}];s1&&At(d),s>1&>(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(I,"$1"),n,s0,i=t.length>0,o=function(o,a,c,s,u){var f,h,b,m=0,v="0",g=o&&[],y=[],A=l,z=o||i&&r.find.TAG("*",u),O=_+=null==A?1:Math.random()||.1,x=z.length;for(u&&(l=a==p||a||u);v!==x&&null!=(f=z[v]);v++){if(i&&f){for(h=0,a||f.ownerDocument==p||(d(f),c=!M);b=t[h++];)if(b(f,a||p,c)){s.push(f);break}u&&(_=O)}n&&((f=!b&&f)&&m--,o&&g.push(f))}if(m+=v,n&&v!==m){for(h=0;b=e[h++];)b(g,y,a,c);if(o){if(m>0)for(;v--;)g[v]||y[v]||(y[v]=q.call(s));y=_t(y)}k.apply(s,y),u&&!o&&y.length>0&&m+e.length>1&&ct.uniqueSort(s)}return u&&(_=O,l=A),g};return n?lt(o):o}(o,i)),c.selector=t}return c},s=ct.select=function(t,e,n,i){var o,s,l,u,f,d="function"==typeof t&&t,p=!i&&a(t=d.selector||t);if(n=n||[],1===p.length){if((s=p[0]=p[0].slice(0)).length>2&&"ID"===(l=s[0]).type&&9===e.nodeType&&M&&r.relative[s[1].type]){if(!(e=(r.find.ID(l.matches[0].replace(et,nt),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=Y.needsContext.test(t)?0:s.length;o--&&(l=s[o],!r.relative[u=l.type]);)if((f=r.find[u])&&(i=f(l.matches[0].replace(et,nt),tt.test(s[0].type)&&mt(e.parentNode)||e))){if(s.splice(o,1),!(t=i.length&>(s)))return k.apply(n,i),n;break}}return(d||c(t,p))(i,e,!M,n,!e||tt.test(t)&&mt(e.parentNode)||e),n},n.sortStable=y.split("").sort(N).join("")===y,n.detectDuplicates=!!f,d(),n.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))})),ut((function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")}))||ft("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ut((function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ft("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||ft(B,(function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null})),ct}(r);O.find=w,O.expr=w.selectors,O.expr[":"]=O.expr.pseudos,O.uniqueSort=O.unique=w.uniqueSort,O.text=w.getText,O.isXMLDoc=w.isXML,O.contains=w.contains,O.escapeSelector=w.escape;var L=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&O(t).is(n))break;r.push(t)}return r},N=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},T=O.expr.match.needsContext;function C(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var q=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function S(t,e,n){return m(e)?O.grep(t,(function(t,r){return!!e.call(t,r,t)!==n})):e.nodeType?O.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?O.grep(t,(function(t){return u.call(e,t)>-1!==n})):O.filter(e,t,n)}O.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?O.find.matchesSelector(r,t)?[r]:[]:O.find.matches(t,O.grep(e,(function(t){return 1===t.nodeType})))},O.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(O(t).filter((function(){for(e=0;e1?O.uniqueSort(n):n},filter:function(t){return this.pushStack(S(this,t||[],!1))},not:function(t){return this.pushStack(S(this,t||[],!0))},is:function(t){return!!S(this,"string"==typeof t&&T.test(t)?O(t):t||[],!1).length}});var k,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(O.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||k,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:E.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof O?e[0]:e,O.merge(this,O.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:g,!0)),q.test(r[1])&&O.isPlainObject(e))for(r in e)m(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=g.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):m(t)?void 0!==n.ready?n.ready(t):t(O):O.makeArray(t,this)}).prototype=O.fn,k=O(g);var W=/^(?:parents|prev(?:Until|All))/,B={children:!0,contents:!0,next:!0,prev:!0};function D(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}O.fn.extend({has:function(t){var e=O(t,this),n=e.length;return this.filter((function(){for(var t=0;t-1:1===n.nodeType&&O.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?O.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?u.call(O(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(O.uniqueSort(O.merge(this.get(),O(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),O.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return L(t,"parentNode")},parentsUntil:function(t,e,n){return L(t,"parentNode",n)},next:function(t){return D(t,"nextSibling")},prev:function(t){return D(t,"previousSibling")},nextAll:function(t){return L(t,"nextSibling")},prevAll:function(t){return L(t,"previousSibling")},nextUntil:function(t,e,n){return L(t,"nextSibling",n)},prevUntil:function(t,e,n){return L(t,"previousSibling",n)},siblings:function(t){return N((t.parentNode||{}).firstChild,t)},children:function(t){return N(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(C(t,"template")&&(t=t.content||t),O.merge([],t.childNodes))}},(function(t,e){O.fn[t]=function(n,r){var i=O.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=O.filter(r,i)),this.length>1&&(B[t]||O.uniqueSort(i),W.test(t)&&i.reverse()),this.pushStack(i)}}));var X=/[^\x20\t\r\n\f]+/g;function P(t){return t}function R(t){throw t}function j(t,e,n,r){var i;try{t&&m(i=t.promise)?i.call(t).done(e).fail(n):t&&m(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}O.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return O.each(t.match(X)||[],(function(t,n){e[n]=!0})),e}(t):O.extend({},t);var e,n,r,i,o=[],a=[],c=-1,s=function(){for(i=i||t.once,r=e=!0;a.length;c=-1)for(n=a.shift();++c-1;)o.splice(n,1),n<=c&&c--})),this},has:function(t){return t?O.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||s()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},O.extend({Deferred:function(t){var e=[["notify","progress",O.Callbacks("memory"),O.Callbacks("memory"),2],["resolve","done",O.Callbacks("once memory"),O.Callbacks("once memory"),0,"resolved"],["reject","fail",O.Callbacks("once memory"),O.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return O.Deferred((function(n){O.each(e,(function(e,r){var i=m(t[r[4]])&&t[r[4]];o[r[1]]((function(){var t=i&&i.apply(this,arguments);t&&m(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,i){var o=0;function a(t,e,n,i){return function(){var c=this,s=arguments,l=function(){var r,l;if(!(t=o&&(n!==R&&(c=void 0,s=[r]),e.rejectWith(c,s))}};t?u():(O.Deferred.getStackHook&&(u.stackTrace=O.Deferred.getStackHook()),r.setTimeout(u))}}return O.Deferred((function(r){e[0][3].add(a(0,r,m(i)?i:P,r.notifyWith)),e[1][3].add(a(0,r,m(t)?t:P)),e[2][3].add(a(0,r,m(n)?n:R))})).promise()},promise:function(t){return null!=t?O.extend(t,i):i}},o={};return O.each(e,(function(t,r){var a=r[2],c=r[5];i[r[1]]=a.add,c&&a.add((function(){n=c}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=c.call(arguments),o=O.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?c.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(j(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||m(i[n]&&i[n].then)))return o.then();for(;n--;)j(i[n],a(n),o.reject);return o.promise()}});var I=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;O.Deferred.exceptionHook=function(t,e){r.console&&r.console.warn&&t&&I.test(t.name)&&r.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},O.readyException=function(t){r.setTimeout((function(){throw t}))};var F=O.Deferred();function H(){g.removeEventListener("DOMContentLoaded",H),r.removeEventListener("load",H),O.ready()}O.fn.ready=function(t){return F.then(t).catch((function(t){O.readyException(t)})),this},O.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--O.readyWait:O.isReady)||(O.isReady=!0,!0!==t&&--O.readyWait>0||F.resolveWith(g,[O]))}}),O.ready.then=F.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?r.setTimeout(O.ready):(g.addEventListener("DOMContentLoaded",H),r.addEventListener("load",H));var $=function(t,e,n,r,i,o,a){var c=0,s=t.length,l=null==n;if("object"===_(n))for(c in i=!0,n)$(t,e,c,n[c],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(O(t),n)})),e))for(;c1,null,!0)},removeData:function(t){return this.each((function(){Z.remove(this,t)}))}}),O.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Q.get(t,e),n&&(!r||Array.isArray(n)?r=Q.access(t,e,O.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=O.queue(t,e),r=n.length,i=n.shift(),o=O._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,(function(){O.dequeue(t,e)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Q.get(t,n)||Q.access(t,n,{empty:O.Callbacks("once memory").add((function(){Q.remove(t,[e+"queue",n])}))})}}),O.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]*)/i,vt=/^$|^module$|\/(?:java|ecma)script/i;ht=g.createDocumentFragment().appendChild(g.createElement("div")),(Mt=g.createElement("input")).setAttribute("type","radio"),Mt.setAttribute("checked","checked"),Mt.setAttribute("name","t"),ht.appendChild(Mt),b.checkClone=ht.cloneNode(!0).cloneNode(!0).lastChild.checked,ht.innerHTML="",b.noCloneChecked=!!ht.cloneNode(!0).lastChild.defaultValue,ht.innerHTML="",b.option=!!ht.lastChild;var gt={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function yt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&C(t,e)?O.merge([t],n):n}function At(t,e){for(var n=0,r=t.length;n",""]);var _t=/<|&#?\w+;/;function zt(t,e,n,r,i){for(var o,a,c,s,l,u,f=e.createDocumentFragment(),d=[],p=0,h=t.length;p-1)i&&i.push(o);else if(l=ct(o),a=yt(f.appendChild(o),"script"),l&&At(a),n)for(u=0;o=a[u++];)vt.test(o.type||"")&&n.push(o);return f}var Ot=/^([^.]*)(?:\.(.+)|)/;function xt(){return!0}function wt(){return!1}function Lt(t,e){return t===function(){try{return g.activeElement}catch(t){}}()==("focus"===e)}function Nt(t,e,n,r,i,o){var a,c;if("object"==typeof e){for(c in"string"!=typeof n&&(r=r||n,n=void 0),e)Nt(t,c,n,r,e[c],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=wt;else if(!i)return t;return 1===o&&(a=i,i=function(t){return O().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=O.guid++)),t.each((function(){O.event.add(this,e,i,r,n)}))}function Tt(t,e,n){n?(Q.set(t,e,!1),O.event.add(t,e,{namespace:!1,handler:function(t){var r,i,o=Q.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(O.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=c.call(arguments),Q.set(this,e,o),r=n(this,e),this[e](),o!==(i=Q.get(this,e))||r?Q.set(this,e,!1):i={},o!==i)return t.stopImmediatePropagation(),t.preventDefault(),i&&i.value}else o.length&&(Q.set(this,e,{value:O.event.trigger(O.extend(o[0],O.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Q.get(t,e)&&O.event.add(t,e,xt)}O.event={global:{},add:function(t,e,n,r,i){var o,a,c,s,l,u,f,d,p,h,M,b=Q.get(t);if(J(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&O.find.matchesSelector(at,i),n.guid||(n.guid=O.guid++),(s=b.events)||(s=b.events=Object.create(null)),(a=b.handle)||(a=b.handle=function(e){return void 0!==O&&O.event.triggered!==e.type?O.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(X)||[""]).length;l--;)p=M=(c=Ot.exec(e[l])||[])[1],h=(c[2]||"").split(".").sort(),p&&(f=O.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=O.event.special[p]||{},u=O.extend({type:p,origType:M,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&O.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=s[p])||((d=s[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(p,a)),f.add&&(f.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),O.event.global[p]=!0)},remove:function(t,e,n,r,i){var o,a,c,s,l,u,f,d,p,h,M,b=Q.hasData(t)&&Q.get(t);if(b&&(s=b.events)){for(l=(e=(e||"").match(X)||[""]).length;l--;)if(p=M=(c=Ot.exec(e[l])||[])[1],h=(c[2]||"").split(".").sort(),p){for(f=O.event.special[p]||{},d=s[p=(r?f.delegateType:f.bindType)||p]||[],c=c[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)u=d[o],!i&&M!==u.origType||n&&n.guid!==u.guid||c&&!c.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,f.remove&&f.remove.call(t,u));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,h,b.handle)||O.removeEvent(t,p,b.handle),delete s[p])}else for(p in s)O.event.remove(t,p+e[l],n,r,!0);O.isEmptyObject(s)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,c=new Array(arguments.length),s=O.event.fix(t),l=(Q.get(this,"events")||Object.create(null))[s.type]||[],u=O.event.special[s.type]||{};for(c[0]=s,e=1;e=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],a={},n=0;n-1:O.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&c.push({elem:l,handlers:o})}return l=this,s\s*$/g;function kt(t,e){return C(t,"table")&&C(11!==e.nodeType?e:e.firstChild,"tr")&&O(t).children("tbody")[0]||t}function Et(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Wt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Bt(t,e){var n,r,i,o,a,c;if(1===e.nodeType){if(Q.hasData(t)&&(c=Q.get(t).events))for(i in Q.remove(e,"handle events"),c)for(n=0,r=c[i].length;n1&&"string"==typeof h&&!b.checkClone&&qt.test(h))return t.each((function(i){var o=t.eq(i);M&&(e[0]=h.call(this,i,o.html())),Xt(o,e,n,r)}));if(d&&(o=(i=zt(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(c=(a=O.map(yt(i,"script"),Et)).length;f0&&At(a,!s&&yt(t,"script")),c},cleanData:function(t){for(var e,n,r,i=O.event.special,o=0;void 0!==(n=t[o]);o++)if(J(n)){if(e=n[Q.expando]){if(e.events)for(r in e.events)i[r]?O.event.remove(n,r):O.removeEvent(n,r,e.handle);n[Q.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),O.fn.extend({detach:function(t){return Pt(this,t,!0)},remove:function(t){return Pt(this,t)},text:function(t){return $(this,(function(t){return void 0===t?O.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Xt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||kt(this,t).appendChild(t)}))},prepend:function(){return Xt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=kt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Xt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Xt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(O.cleanData(yt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return O.clone(this,t,e)}))},html:function(t){return $(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Ct.test(t)&&!gt[(mt.exec(t)||["",""])[1].toLowerCase()]){t=O.htmlPrefilter(t);try{for(;n=0&&(s+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-s-c-.5))||0),s}function ne(t,e,n){var r=jt(t),i=(!b.boxSizingReliable()||n)&&"border-box"===O.css(t,"boxSizing",!1,r),o=i,a=Ht(t,e,r),c="offset"+e[0].toUpperCase()+e.slice(1);if(Rt.test(a)){if(!n)return a;a="auto"}return(!b.boxSizingReliable()&&i||!b.reliableTrDimensions()&&C(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===O.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===O.css(t,"boxSizing",!1,r),(o=c in t)&&(a=t[c])),(a=parseFloat(a)||0)+ee(t,e,n||(i?"border":"content"),o,r,a)+"px"}function re(t,e,n,r,i){return new re.prototype.init(t,e,n,r,i)}O.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ht(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,c=G(e),s=Kt.test(e),l=t.style;if(s||(e=Gt(c)),a=O.cssHooks[e]||O.cssHooks[c],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:l[e];"string"===(o=typeof n)&&(i=it.exec(n))&&i[1]&&(n=ut(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||s||(n+=i&&i[3]||(O.cssNumber[c]?"":"px")),b.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(s?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var i,o,a,c=G(e);return Kt.test(e)||(e=Gt(c)),(a=O.cssHooks[e]||O.cssHooks[c])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=Ht(t,e,r)),"normal"===i&&e in Zt&&(i=Zt[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),O.each(["height","width"],(function(t,e){O.cssHooks[e]={get:function(t,n,r){if(n)return!Jt.test(O.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ne(t,e,r):It(t,Qt,(function(){return ne(t,e,r)}))},set:function(t,n,r){var i,o=jt(t),a=!b.scrollboxSize()&&"absolute"===o.position,c=(a||r)&&"border-box"===O.css(t,"boxSizing",!1,o),s=r?ee(t,e,r,c,o):0;return c&&a&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ee(t,e,"border",!1,o)-.5)),s&&(i=it.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=O.css(t,e)),te(0,n,s)}}})),O.cssHooks.marginLeft=$t(b.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Ht(t,"marginLeft"))||t.getBoundingClientRect().left-It(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),O.each({margin:"",padding:"",border:"Width"},(function(t,e){O.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+ot[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(O.cssHooks[t+e].set=te)})),O.fn.extend({css:function(t,e){return $(this,(function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=jt(t),i=e.length;a1)}}),O.Tween=re,re.prototype={constructor:re,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||O.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(O.cssNumber[n]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return t&&t.get?t.get(this):re.propHooks._default.get(this)},run:function(t){var e,n=re.propHooks[this.prop];return this.options.duration?this.pos=e=O.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):re.propHooks._default.set(this),this}},re.prototype.init.prototype=re.prototype,re.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=O.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){O.fx.step[t.prop]?O.fx.step[t.prop](t):1!==t.elem.nodeType||!O.cssHooks[t.prop]&&null==t.elem.style[Gt(t.prop)]?t.elem[t.prop]=t.now:O.style(t.elem,t.prop,t.now+t.unit)}}},re.propHooks.scrollTop=re.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},O.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},O.fx=re.prototype.init,O.fx.step={};var ie,oe,ae=/^(?:toggle|show|hide)$/,ce=/queueHooks$/;function se(){oe&&(!1===g.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(se):r.setTimeout(se,O.fx.interval),O.fx.tick())}function le(){return r.setTimeout((function(){ie=void 0})),ie=Date.now()}function ue(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=ot[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function fe(t,e,n){for(var r,i=(de.tweeners[e]||[]).concat(de.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(t){return this.each((function(){O.removeAttr(this,t)}))}}),O.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?O.prop(t,e,n):(1===o&&O.isXMLDoc(t)||(i=O.attrHooks[e.toLowerCase()]||(O.expr.match.bool.test(e)?pe:void 0)),void 0!==n?null===n?void O.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=O.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!b.radioValue&&"radio"===e&&C(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(X);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),pe={set:function(t,e,n){return!1===e?O.removeAttr(t,n):t.setAttribute(n,n),n}},O.each(O.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=he[e]||O.find.attr;he[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=he[a],he[a]=i,i=null!=n(t,e,r)?a:null,he[a]=o),i}}));var Me=/^(?:input|select|textarea|button)$/i,be=/^(?:a|area)$/i;function me(t){return(t.match(X)||[]).join(" ")}function ve(t){return t.getAttribute&&t.getAttribute("class")||""}function ge(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(X)||[]}O.fn.extend({prop:function(t,e){return $(this,O.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[O.propFix[t]||t]}))}}),O.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&O.isXMLDoc(t)||(e=O.propFix[e]||e,i=O.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=O.find.attr(t,"tabindex");return e?parseInt(e,10):Me.test(t.nodeName)||be.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(O.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),O.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){O.propFix[this.toLowerCase()]=this})),O.fn.extend({addClass:function(t){var e,n,r,i,o,a,c,s=0;if(m(t))return this.each((function(e){O(this).addClass(t.call(this,e,ve(this)))}));if((e=ge(t)).length)for(;n=this[s++];)if(i=ve(n),r=1===n.nodeType&&" "+me(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(c=me(r))&&n.setAttribute("class",c)}return this},removeClass:function(t){var e,n,r,i,o,a,c,s=0;if(m(t))return this.each((function(e){O(this).removeClass(t.call(this,e,ve(this)))}));if(!arguments.length)return this.attr("class","");if((e=ge(t)).length)for(;n=this[s++];)if(i=ve(n),r=1===n.nodeType&&" "+me(i)+" "){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(c=me(r))&&n.setAttribute("class",c)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):m(t)?this.each((function(n){O(this).toggleClass(t.call(this,n,ve(this),e),e)})):this.each((function(){var e,i,o,a;if(r)for(i=0,o=O(this),a=ge(t);e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=ve(this))&&Q.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Q.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+me(ve(n))+" ").indexOf(e)>-1)return!0;return!1}});var ye=/\r/g;O.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=m(t),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,O(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=O.map(i,(function(t){return null==t?"":t+""}))),(e=O.valHooks[this.type]||O.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=O.valHooks[i.type]||O.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ye,""):null==n?"":n:void 0}}),O.extend({valHooks:{option:{get:function(t){var e=O.find.attr(t,"value");return null!=e?e:me(O.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,c=a?null:[],s=a?o+1:i.length;for(r=o<0?s:a?o:0;r-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),O.each(["radio","checkbox"],(function(){O.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=O.inArray(O(t).val(),e)>-1}},b.checkOn||(O.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),b.focusin="onfocusin"in r;var Ae=/^(?:focusinfocus|focusoutblur)$/,_e=function(t){t.stopPropagation()};O.extend(O.event,{trigger:function(t,e,n,i){var o,a,c,s,l,u,f,d,h=[n||g],M=p.call(t,"type")?t.type:t,b=p.call(t,"namespace")?t.namespace.split("."):[];if(a=d=c=n=n||g,3!==n.nodeType&&8!==n.nodeType&&!Ae.test(M+O.event.triggered)&&(M.indexOf(".")>-1&&(b=M.split("."),M=b.shift(),b.sort()),l=M.indexOf(":")<0&&"on"+M,(t=t[O.expando]?t:new O.Event(M,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:O.makeArray(e,[t]),f=O.event.special[M]||{},i||!f.trigger||!1!==f.trigger.apply(n,e))){if(!i&&!f.noBubble&&!v(n)){for(s=f.delegateType||M,Ae.test(s+M)||(a=a.parentNode);a;a=a.parentNode)h.push(a),c=a;c===(n.ownerDocument||g)&&h.push(c.defaultView||c.parentWindow||r)}for(o=0;(a=h[o++])&&!t.isPropagationStopped();)d=a,t.type=o>1?s:f.bindType||M,(u=(Q.get(a,"events")||Object.create(null))[t.type]&&Q.get(a,"handle"))&&u.apply(a,e),(u=l&&a[l])&&u.apply&&J(a)&&(t.result=u.apply(a,e),!1===t.result&&t.preventDefault());return t.type=M,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),e)||!J(n)||l&&m(n[M])&&!v(n)&&((c=n[l])&&(n[l]=null),O.event.triggered=M,t.isPropagationStopped()&&d.addEventListener(M,_e),n[M](),t.isPropagationStopped()&&d.removeEventListener(M,_e),O.event.triggered=void 0,c&&(n[l]=c)),t.result}},simulate:function(t,e,n){var r=O.extend(new O.Event,n,{type:t,isSimulated:!0});O.event.trigger(r,null,e)}}),O.fn.extend({trigger:function(t,e){return this.each((function(){O.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return O.event.trigger(t,e,n,!0)}}),b.focusin||O.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){O.event.simulate(e,t.target,O.event.fix(t))};O.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,e);i||r.addEventListener(t,n,!0),Q.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,e)-1;i?Q.access(r,e,i):(r.removeEventListener(t,n,!0),Q.remove(r,e))}}}));var ze=r.location,Oe={guid:Date.now()},xe=/\?/;O.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new r.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||O.error("Invalid XML: "+(n?O.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var we=/\[\]$/,Le=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Te=/^(?:input|select|textarea|keygen)/i;function Ce(t,e,n,r){var i;if(Array.isArray(e))O.each(e,(function(e,i){n||we.test(t)?r(t,i):Ce(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)}));else if(n||"object"!==_(e))r(t,e);else for(i in e)Ce(t+"["+i+"]",e[i],n,r)}O.param=function(t,e){var n,r=[],i=function(t,e){var n=m(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!O.isPlainObject(t))O.each(t,(function(){i(this.name,this.value)}));else for(n in t)Ce(n,t[n],e,i);return r.join("&")},O.fn.extend({serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=O.prop(this,"elements");return t?O.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!O(this).is(":disabled")&&Te.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!bt.test(t))})).map((function(t,e){var n=O(this).val();return null==n?null:Array.isArray(n)?O.map(n,(function(t){return{name:e.name,value:t.replace(Le,"\r\n")}})):{name:e.name,value:n.replace(Le,"\r\n")}})).get()}});var qe=/%20/g,Se=/#.*$/,ke=/([?&])_=[^&]*/,Ee=/^(.*?):[ \t]*([^\r\n]*)$/gm,We=/^(?:GET|HEAD)$/,Be=/^\/\//,De={},Xe={},Pe="*/".concat("*"),Re=g.createElement("a");function je(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(X)||[];if(m(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Ie(t,e,n,r){var i={},o=t===Xe;function a(c){var s;return i[c]=!0,O.each(t[c]||[],(function(t,c){var l=c(e,n,r);return"string"!=typeof l||o||i[l]?o?!(s=l):void 0:(e.dataTypes.unshift(l),a(l),!1)})),s}return a(e.dataTypes[0])||!i["*"]&&a("*")}function Fe(t,e){var n,r,i=O.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&O.extend(!0,t,r),t}Re.href=ze.href,O.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ze.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ze.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":O.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Fe(Fe(t,O.ajaxSettings),e):Fe(O.ajaxSettings,t)},ajaxPrefilter:je(De),ajaxTransport:je(Xe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i,o,a,c,s,l,u,f,d,p=O.ajaxSetup({},e),h=p.context||p,M=p.context&&(h.nodeType||h.jquery)?O(h):O.event,b=O.Deferred(),m=O.Callbacks("once memory"),v=p.statusCode||{},y={},A={},_="canceled",z={readyState:0,getResponseHeader:function(t){var e;if(l){if(!a)for(a={};e=Ee.exec(o);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,e){return null==l&&(t=A[t.toLowerCase()]=A[t.toLowerCase()]||t,y[t]=e),this},overrideMimeType:function(t){return null==l&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)z.always(t[z.status]);else for(e in t)v[e]=[v[e],t[e]];return this},abort:function(t){var e=t||_;return n&&n.abort(e),x(0,e),this}};if(b.promise(z),p.url=((t||p.url||ze.href)+"").replace(Be,ze.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(X)||[""],null==p.crossDomain){s=g.createElement("a");try{s.href=p.url,s.href=s.href,p.crossDomain=Re.protocol+"//"+Re.host!=s.protocol+"//"+s.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=O.param(p.data,p.traditional)),Ie(De,p,e,z),l)return z;for(f in(u=O.event&&p.global)&&0==O.active++&&O.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!We.test(p.type),i=p.url.replace(Se,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(qe,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(xe.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(ke,"$1"),d=(xe.test(i)?"&":"?")+"_="+Oe.guid+++d),p.url=i+d),p.ifModified&&(O.lastModified[i]&&z.setRequestHeader("If-Modified-Since",O.lastModified[i]),O.etag[i]&&z.setRequestHeader("If-None-Match",O.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&z.setRequestHeader("Content-Type",p.contentType),z.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Pe+"; q=0.01":""):p.accepts["*"]),p.headers)z.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(h,z,p)||l))return z.abort();if(_="abort",m.add(p.complete),z.done(p.success),z.fail(p.error),n=Ie(Xe,p,e,z)){if(z.readyState=1,u&&M.trigger("ajaxSend",[z,p]),l)return z;p.async&&p.timeout>0&&(c=r.setTimeout((function(){z.abort("timeout")}),p.timeout));try{l=!1,n.send(y,x)}catch(t){if(l)throw t;x(-1,t)}}else x(-1,"No Transport");function x(t,e,a,s){var f,d,g,y,A,_=e;l||(l=!0,c&&r.clearTimeout(c),n=void 0,o=s||"",z.readyState=t>0?4:0,f=t>=200&&t<300||304===t,a&&(y=function(t,e,n){for(var r,i,o,a,c=t.contents,s=t.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in c)if(c[i]&&c[i].test(r)){s.unshift(i);break}if(s[0]in n)o=s[0];else{for(i in n){if(!s[0]||t.converters[i+" "+s[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==s[0]&&s.unshift(o),n[o]}(p,z,a)),!f&&O.inArray("script",p.dataTypes)>-1&&O.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),y=function(t,e,n,r){var i,o,a,c,s,l={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!s&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),s=o,o=u.shift())if("*"===o)o=s;else if("*"!==s&&s!==o){if(!(a=l[s+" "+o]||l["* "+o]))for(i in l)if((c=i.split(" "))[1]===o&&(a=l[s+" "+c[0]]||l["* "+c[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=c[0],u.unshift(c[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+s+" to "+o}}}return{state:"success",data:e}}(p,y,z,f),f?(p.ifModified&&((A=z.getResponseHeader("Last-Modified"))&&(O.lastModified[i]=A),(A=z.getResponseHeader("etag"))&&(O.etag[i]=A)),204===t||"HEAD"===p.type?_="nocontent":304===t?_="notmodified":(_=y.state,d=y.data,f=!(g=y.error))):(g=_,!t&&_||(_="error",t<0&&(t=0))),z.status=t,z.statusText=(e||_)+"",f?b.resolveWith(h,[d,_,z]):b.rejectWith(h,[z,_,g]),z.statusCode(v),v=void 0,u&&M.trigger(f?"ajaxSuccess":"ajaxError",[z,p,f?d:g]),m.fireWith(h,[z,_]),u&&(M.trigger("ajaxComplete",[z,p]),--O.active||O.event.trigger("ajaxStop")))}return z},getJSON:function(t,e,n){return O.get(t,e,n,"json")},getScript:function(t,e){return O.get(t,void 0,e,"script")}}),O.each(["get","post"],(function(t,e){O[e]=function(t,n,r,i){return m(n)&&(i=i||r,r=n,n=void 0),O.ajax(O.extend({url:t,type:e,dataType:i,data:n,success:r},O.isPlainObject(t)&&t))}})),O.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),O._evalUrl=function(t,e,n){return O.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){O.globalEval(t,e,n)}})},O.fn.extend({wrapAll:function(t){var e;return this[0]&&(m(t)&&(t=t.call(this[0])),e=O(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return m(t)?this.each((function(e){O(this).wrapInner(t.call(this,e))})):this.each((function(){var e=O(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=m(t);return this.each((function(n){O(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){O(this).replaceWith(this.childNodes)})),this}}),O.expr.pseudos.hidden=function(t){return!O.expr.pseudos.visible(t)},O.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},O.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(t){}};var He={0:200,1223:204},$e=O.ajaxSettings.xhr();b.cors=!!$e&&"withCredentials"in $e,b.ajax=$e=!!$e,O.ajaxTransport((function(t){var e,n;if(b.cors||$e&&!t.crossDomain)return{send:function(i,o){var a,c=t.xhr();if(c.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)c[a]=t.xhrFields[a];for(a in t.mimeType&&c.overrideMimeType&&c.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)c.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=n=c.onload=c.onerror=c.onabort=c.ontimeout=c.onreadystatechange=null,"abort"===t?c.abort():"error"===t?"number"!=typeof c.status?o(0,"error"):o(c.status,c.statusText):o(He[c.status]||c.status,c.statusText,"text"!==(c.responseType||"text")||"string"!=typeof c.responseText?{binary:c.response}:{text:c.responseText},c.getAllResponseHeaders()))}},c.onload=e(),n=c.onerror=c.ontimeout=e("error"),void 0!==c.onabort?c.onabort=n:c.onreadystatechange=function(){4===c.readyState&&r.setTimeout((function(){e&&n()}))},e=e("abort");try{c.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),O.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),O.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return O.globalEval(t),t}}}),O.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),O.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=O("