From f1bb72b2a6204ae4e447c054dec39580d8e76cc3 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:30:51 +0100 Subject: [PATCH 01/66] Added custom view extension Signed-off-by: snipe --- webpack.mix.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.mix.js b/webpack.mix.js index beba0942bd..6a015134e1 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -134,6 +134,7 @@ mix './node_modules/bootstrap-table/dist/extensions/sticky-header/bootstrap-table-sticky-header.js', './node_modules/bootstrap-table/dist/extensions/addrbar/bootstrap-table-addrbar.js', './node_modules/bootstrap-table/dist/extensions/print/bootstrap-table-print.min.js', + './node_modules/bootstrap-table/dist/extensions/custom-view/bootstrap-table-custom-view.js', './resources/assets/js/extensions/jquery.base64.js', './node_modules/tableexport.jquery.plugin/tableExport.min.js', './node_modules/tableexport.jquery.plugin/libs/jsPDF/jspdf.umd.min.js', From cbe26a365def89e5dd11df4d78537bda16bb0d4d Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:31:14 +0100 Subject: [PATCH 02/66] Made route signature more consistent Signed-off-by: snipe --- routes/web/components.php | 2 +- routes/web/consumables.php | 2 +- routes/web/licenses.php | 2 +- routes/web/users.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/routes/web/components.php b/routes/web/components.php index 429573b8fb..44f4fe10e5 100644 --- a/routes/web/components.php +++ b/routes/web/components.php @@ -31,7 +31,7 @@ Route::group(['prefix' => 'components', 'middleware' => ['auth']], function () { )->name('upload/component'); Route::delete( - '{componentId}/deletefile/{fileId}', + '{componentId}/showfile/{fileId}/delete', [Components\ComponentsFilesController::class, 'destroy'] )->name('delete/componentfile'); diff --git a/routes/web/consumables.php b/routes/web/consumables.php index 8e6c94d863..5059c4bc5a 100644 --- a/routes/web/consumables.php +++ b/routes/web/consumables.php @@ -22,7 +22,7 @@ Route::group(['prefix' => 'consumables', 'middleware' => ['auth']], function () )->name('upload/consumable'); Route::delete( - '{consumableId}/deletefile/{fileId}', + '{consumableId}/showfile/{fileId}/delete', [Consumables\ConsumablesFilesController::class, 'destroy'] )->name('delete/consumablefile'); diff --git a/routes/web/licenses.php b/routes/web/licenses.php index 39762c95c5..6bffa58aa9 100644 --- a/routes/web/licenses.php +++ b/routes/web/licenses.php @@ -53,7 +53,7 @@ Route::group(['prefix' => 'licenses', 'middleware' => ['auth']], function () { )->name('upload/license'); Route::delete( - '{licenseId}/deletefile/{fileId}', + '{licenseId}/showfile/{fileId}/delete', [Licenses\LicenseFilesController::class, 'destroy'] )->name('delete/licensefile'); Route::get( diff --git a/routes/web/users.php b/routes/web/users.php index ced9c379a9..e0f44bfdbb 100644 --- a/routes/web/users.php +++ b/routes/web/users.php @@ -73,7 +73,7 @@ Route::group(['prefix' => 'users', 'middleware' => ['auth']], function () { )->name('upload/user')->withTrashed(); Route::delete( - '{userId}/deletefile/{fileId}', + '{userId}/showfile/{fileId}/delete', [ Users\UserFilesController::class, 'destroy' From 5123fe78385aba0a509772d9540d12d56480a775 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:31:51 +0100 Subject: [PATCH 03/66] Use server side endpoint for filetable blade component Signed-off-by: snipe --- resources/views/blade/filestable.blade.php | 151 +++------------------ 1 file changed, 18 insertions(+), 133 deletions(-) diff --git a/resources/views/blade/filestable.blade.php b/resources/views/blade/filestable.blade.php index 3d2b1fea19..983c193df8 100644 --- a/resources/views/blade/filestable.blade.php +++ b/resources/views/blade/filestable.blade.php @@ -1,150 +1,35 @@ @props([ - 'filepath', 'object', - 'showfile_routename', - 'deletefile_routename', + 'object_type' => '', ])
name) }}-{{ date('Y-m-d') }}", "ignoreColumn": ["actions","image","change","checkbox","checkincheckout","delete","download","icon"] }'> - - - - - - - - - - - - - - - - - @foreach ($object->uploads as $file) - - - - - - - - - - - - - - - - @endforeach - -
- {{trans('general.id')}} - - {{trans('general.file_type')}} - - {{ trans('general.preview') }} - - {{ trans('general.file_name') }} - - {{ trans('general.filesize') }} - - {{ trans('general.notes') }} - - {{ trans('general.download') }} - - {{ trans('general.created_at') }} - - {{ trans('general.created_by') }} - - {{ trans('table.actions') }} -
- {{ $file->id }} - - @if (Storage::exists($filepath.$file->filename)) - {{ pathinfo($filepath.$file->filename, PATHINFO_EXTENSION) }} - - @endif - - - @if (($file->filename) && (Storage::exists($filepath.$file->filename))) - @if (Helper::checkUploadIsImage($file->get_src(str_plural(strtolower(class_basename(get_class($object))))))) - - - - @elseif (Helper::checkUploadIsVideo($file->get_src(str_plural(strtolower(class_basename(get_class($object))))))) - - - - @elseif (Helper::checkUploadIsAudio($file->get_src(str_plural(strtolower(class_basename(get_class($object))))))) - - @else - {{ trans('general.preview_not_available') }} - @endif - @else - - {{ trans('general.file_not_found') }} - @endif - - - {{ $file->filename }} - - {{ (Storage::exists($filepath.$file->filename)) ? Helper::formatFilesizeUnits(Storage::size($filepath.$file->filename)) : '' }} - - @if ($file->note) - {{ $file->note }} - @endif - - @if ($file->filename) - @if (Storage::exists($filepath.$file->filename)) - - - - {{ trans('general.download') }} - - - - - - - @endif - @endif - - {{ $file->created_at ? Helper::getFormattedDateObject($file->created_at, 'datetime', false) : '' }} - - {{ ($file->adminuser) ? $file->adminuser->present()->getFullNameAttribute() : '' }} - - - - {{ trans('general.delete') }} - -
+ + +
+ + + \ No newline at end of file From 33880393ac886dc4f88612a6b955cadfe8766afd Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:32:00 +0100 Subject: [PATCH 04/66] Added string Signed-off-by: snipe --- resources/lang/en-US/general.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.php index 1588669742..55abebdba1 100644 --- a/resources/lang/en-US/general.php +++ b/resources/lang/en-US/general.php @@ -336,6 +336,7 @@ return [ 'zip' => 'Zip', 'noimage' => 'No image uploaded or image not found.', 'file_does_not_exist' => 'The requested file does not exist on the server.', + 'open_new_window' => 'Open this file in a new window', 'file_upload_success' => 'File upload success!', 'no_files_uploaded' => 'File upload success!', 'token_expired' => 'Your form session has expired. Please try again.', From 07be1b8192b3f2919bc8e8b42c735e76c9d5c11f Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:32:25 +0100 Subject: [PATCH 05/66] Added sorting, updated formatters Signed-off-by: snipe --- app/Presenters/UploadedFilesPresenter.php | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/app/Presenters/UploadedFilesPresenter.php b/app/Presenters/UploadedFilesPresenter.php index 80b05ab4c6..ea599757fb 100644 --- a/app/Presenters/UploadedFilesPresenter.php +++ b/app/Presenters/UploadedFilesPresenter.php @@ -18,7 +18,7 @@ class UploadedFilesPresenter extends Presenter $layout = [ [ 'field' => 'id', - 'searchable' => false, + 'searchable' => true, 'sortable' => true, 'switchable' => true, 'title' => trans('general.id'), @@ -30,6 +30,7 @@ class UploadedFilesPresenter extends Presenter 'sortable' => false, 'switchable' => false, 'title' => trans('general.type'), + 'visible' => true, 'formatter' => 'iconFormatter', ], [ @@ -38,12 +39,13 @@ class UploadedFilesPresenter extends Presenter 'sortable' => false, 'switchable' => true, 'title' => trans('general.image'), - 'formatter' => 'inlineImageFormatter', + 'visible' => true, + 'formatter' => 'filePreviewFormatter', ], [ 'field' => 'filename', - 'searchable' => false, - 'sortable' => false, + 'searchable' => true, + 'sortable' => true, 'switchable' => true, 'title' => trans('general.file_name'), 'visible' => true, @@ -56,7 +58,7 @@ class UploadedFilesPresenter extends Presenter 'switchable' => true, 'title' => trans('general.download'), 'visible' => true, - 'formatter' => 'downloadOrOpenInNewWindowFormatter', + 'formatter' => 'fileDownloadButtonsFormatter', ], [ 'field' => 'note', @@ -68,10 +70,10 @@ class UploadedFilesPresenter extends Presenter ], [ 'field' => 'created_by', - 'searchable' => false, + 'searchable' => true, 'sortable' => true, 'title' => trans('general.created_by'), - 'visible' => false, + 'visible' => true, 'formatter' => 'usersLinkObjFormatter', ], [ @@ -80,7 +82,7 @@ class UploadedFilesPresenter extends Presenter 'sortable' => true, 'switchable' => true, 'title' => trans('general.created_at'), - 'visible' => false, + 'visible' => true, 'formatter' => 'dateDisplayFormatter', ], [ 'field' => 'available_actions', @@ -88,6 +90,7 @@ class UploadedFilesPresenter extends Presenter 'sortable' => false, 'switchable' => false, 'title' => trans('table.actions'), + 'visible' => true, 'formatter' => 'deleteUploadFormatter', ], ]; From fbb36d16658ab283d7088c9b158ed9a44fc6aa73 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:32:45 +0100 Subject: [PATCH 06/66] Fixed file routes Signed-off-by: snipe --- app/Models/Actionlog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Actionlog.php b/app/Models/Actionlog.php index 81c6964ed8..bd81e81a94 100755 --- a/app/Models/Actionlog.php +++ b/app/Models/Actionlog.php @@ -465,7 +465,7 @@ class Actionlog extends SnipeModel case AssetModel::class: return route('show/modelfile', [$this->item_id, $this->id]); case Consumable::class: - return route('show/locationsfile', [$this->item_id, $this->id]); + return route('show.consumablefile', [$this->item_id, $this->id]); case Component::class: return route('show.componentfile', [$this->item_id, $this->id]); case License::class: From fd6b2d5715954aa5bcb0279238162c34c64384aa Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:33:08 +0100 Subject: [PATCH 07/66] Simpler blade component calls Signed-off-by: snipe --- resources/views/accessories/view.blade.php | 6 +- resources/views/components/view.blade.php | 6 +- resources/views/consumables/view.blade.php | 7 +- resources/views/hardware/view.blade.php | 14 +-- resources/views/licenses/view.blade.php | 8 +- resources/views/locations/view.blade.php | 8 +- resources/views/models/view.blade.php | 6 +- .../views/partials/bootstrap-table.blade.php | 98 +++++++++++++++++-- resources/views/users/view.blade.php | 6 +- 9 files changed, 101 insertions(+), 58 deletions(-) diff --git a/resources/views/accessories/view.blade.php b/resources/views/accessories/view.blade.php index 3705e18733..d51795f23d 100644 --- a/resources/views/accessories/view.blade.php +++ b/resources/views/accessories/view.blade.php @@ -125,11 +125,7 @@
- +
diff --git a/resources/views/components/view.blade.php b/resources/views/components/view.blade.php index 43276839e9..383a3e58a0 100644 --- a/resources/views/components/view.blade.php +++ b/resources/views/components/view.blade.php @@ -169,11 +169,7 @@
- +
diff --git a/resources/views/consumables/view.blade.php b/resources/views/consumables/view.blade.php index d7e16a5647..334cd0303e 100644 --- a/resources/views/consumables/view.blade.php +++ b/resources/views/consumables/view.blade.php @@ -440,12 +440,7 @@
- - +
diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 782aae5da1..1530ffd24e 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -1439,11 +1439,7 @@
- +
@@ -1453,13 +1449,7 @@
- - - +
diff --git a/resources/views/licenses/view.blade.php b/resources/views/licenses/view.blade.php index 40ee7d2702..b571651c8d 100755 --- a/resources/views/licenses/view.blade.php +++ b/resources/views/licenses/view.blade.php @@ -459,13 +459,7 @@ @can('licenses.files', $license)
- - - +
@endcan diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php index 8eaf496cee..9f6f2dee9d 100644 --- a/resources/views/locations/view.blade.php +++ b/resources/views/locations/view.blade.php @@ -364,13 +364,7 @@
- - - +
diff --git a/resources/views/models/view.blade.php b/resources/views/models/view.blade.php index 905763534d..7aef30b18d 100755 --- a/resources/views/models/view.blade.php +++ b/resources/views/models/view.blade.php @@ -110,11 +110,7 @@
- +
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index b78079577a..7c098b24b4 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -369,6 +369,33 @@ return '{{ trans('general.audit') }} '; } + // This handles the custom view for the filestable blade component + window.customViewFormatter = data => { + const template = $('#fileGalleryTemplate').html() + let view = '' + + $.each(data, function (i, row) { + + view += template.replace('%ID%', row.id) + .replace('%ICON%', row.icon) + .replace('%FILETYPE%', row.filetype) + .replace('%FILE_URL%', row.url) + .replace('%LINK_URL%', row.url) + .replace('%FILENAME%', (row.exists_on_disk === true) ? row.filename : ' ' + row.filename + '') + .replace('%CREATED_AT%', row.created_at.formatted) + .replace('%CREATED_BY%', (row.created_by) ? row.created_by.name : '') + .replace('%NOTE%', row.note) + .replace('%PANEL_CLASS%', (row.exists_on_disk === true) ? 'default' : 'danger') + .replace('%INLINE_IMAGE%', (row.inline === true) ? '' : '') + .replace('%DOWNLOAD_BUTTON%', (row.exists_on_disk === true) ? ' ' : '') + .replace('%NEW_WINDOW_BUTTON%', (row.exists_on_disk === true) ? ' ' : '') + .replace('%DELETE_BUTTON%', ((row.exists_on_disk === true) && row.available_actions.delete === true) ? ' ' : ''); + }) + + return `
${view}
` + } + + // Make the edit/delete buttons function genericActionsFormatter(owner_name, element_name) { @@ -905,25 +932,84 @@ return '' + altName + ''; } } + + function downloadFormatter(value) { if (value) { return ''; } } - function fileUploadFormatter(value) { + function fileDownloadButtonsFormatter(row, value) { + + if ((value) && (value.url)) { + + var download_button = ''; + var download_button_disabled = ''; + var inline_button = ''; + var inline_button_disabled = ''; + + if (value.exists_on_disk) { + return '' + download_button + ' ' + inline_button + ''; + } else { + return '' + download_button_disabled + ' ' + inline_button_disabled + ''; + } + } + + } + + + function filePreviewFormatter(row, value) { + if ((value) && (value.url) && (value.inlineable)) { - return ''; - } else if ((value) && (value.url)) { - return ''; + + if (value.mediatype == 'image') { + return ''; + } else if (value.mediatype == 'video') { + return ''; + } else if (value.mediatype == 'audio') { + return ''; + } + return '{{ trans('general.preview_not_available') }}'; + } + return '{{ trans('general.preview_not_available') }}'; + + } + + + // This is kinda gross, but for right now we're posting to the GUI delete routes + // All of these URLS and storage directories need to be updated to be more consistent :( + function deleteUploadFormatter(value, row) { + + if ((row.available_actions) && (row.available_actions.delete === true)) { + var destination; + + if (row.item.type == 'assetmodels') { + destination = 'models'; + } else { + destination = row.item.type; + } + + return '' + + '{{ trans('general.delete') }} '; } } - function fileUploadNameFormatter(value) { + + + function fileUploadNameFormatter(row, value) { if ((value) && (value.filename) && (value.url)) { - return '' + value.filename + ''; + if (value.exists_on_disk) { + return '' + value.filename + ''; + } + return ' ' + value.filename + ''; } + return '--'; } function linkToUserSectionBasedOnCount (count, id, section) { diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php index c9d58cfb27..cca38009dd 100755 --- a/resources/views/users/view.blade.php +++ b/resources/views/users/view.blade.php @@ -965,11 +965,7 @@
- +
From e86e9697b3b4b5387b83eb3f1081d8f23185c9dd Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:33:25 +0100 Subject: [PATCH 08/66] Use plural for item type Signed-off-by: snipe --- app/Http/Transformers/UploadedFilesTransformer.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Http/Transformers/UploadedFilesTransformer.php b/app/Http/Transformers/UploadedFilesTransformer.php index 48aebbe34a..ae6c981eda 100644 --- a/app/Http/Transformers/UploadedFilesTransformer.php +++ b/app/Http/Transformers/UploadedFilesTransformer.php @@ -32,10 +32,11 @@ class UploadedFilesTransformer 'name' => e($file->filename), 'item' => ($file->item_type) ? [ 'id' => (int) $file->item_id, - 'type' => strtolower(class_basename($file->item_type)), + 'type' => str_plural(strtolower(class_basename($file->item_type))), ] : null, 'filename' => e($file->filename), 'filetype' => StorageHelper::getFiletype($file->uploads_file_path()), + 'mediatype' => StorageHelper::getMediaType($file->uploads_file_path()), 'url' => $file->uploads_file_url(), 'note' => ($file->note) ? e($file->note) : null, 'created_by' => ($file->adminuser) ? [ @@ -44,7 +45,7 @@ class UploadedFilesTransformer ] : null, 'created_at' => Helper::getFormattedDateObject($file->created_at, 'datetime'), 'deleted_at' => Helper::getFormattedDateObject($file->deleted_at, 'datetime'), - 'inline' => StorageHelper::allowSafeInline($file->uploads_file_path()), + 'inlineable' => StorageHelper::allowSafeInline($file->uploads_file_path()), 'exists_on_disk' => (Storage::exists($file->uploads_file_path()) ? true : false), ]; From cbbed364286e99c990986f07471ce668f1ce1668 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:35:35 +0100 Subject: [PATCH 09/66] Added multi-file upload for users (bug) Signed-off-by: snipe --- .../Controllers/Users/UserFilesController.php | 32 +++++++------------ 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/app/Http/Controllers/Users/UserFilesController.php b/app/Http/Controllers/Users/UserFilesController.php index 45bd0c6329..3e1f6cd9a6 100644 --- a/app/Http/Controllers/Users/UserFilesController.php +++ b/app/Http/Controllers/Users/UserFilesController.php @@ -25,32 +25,22 @@ class UserFilesController extends Controller public function store(UploadFileRequest $request, User $user) { $this->authorize('update', $user); - $files = $request->file('file'); - if (is_null($files)) { - return redirect()->back()->with('error', trans('admin/users/message.upload.nofiles')); - } - foreach ($files as $file) { - $file_name = $request->handleFile('private_uploads/users/', 'user-'.$user->id, $file); - - //Log the uploaded file to the log - $logAction = new Actionlog(); - $logAction->item_id = $user->id; - $logAction->item_type = User::class; - $logAction->created_by = auth()->id(); - $logAction->note = $request->input('notes'); - $logAction->target_id = null; - $logAction->created_at = date("Y-m-d H:i:s"); - $logAction->filename = $file_name; - $logAction->action_type = 'uploaded'; - - if (! $logAction->save()) { - return JsonResponse::create(['error' => 'Failed validation: '.print_r($logAction->getErrors(), true)], 500); + if ($request->hasFile('file')) { + if (! Storage::exists('private_uploads/users')) { + Storage::makeDirectory('private_uploads/users', 775); } - return redirect()->back()->withFragment('files')->with('success', trans('admin/users/message.upload.success')); + foreach ($request->file('file') as $file) { + $file_name = $request->handleFile('private_uploads/users/','user-'.$user->id, $file); + $user->logUpload($file_name, $request->get('notes')); + } + + return redirect()->back()->withFragment('files')->with('success', trans('admin/users/message.upload.success')); } + return redirect()->back()->with('error', trans('admin/users/message.upload.nofiles')); + } From f3613d71034c7c765fb772a478620c0d647f5c60 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:35:45 +0100 Subject: [PATCH 10/66] Fixed typo Signed-off-by: snipe --- app/Http/Controllers/Api/UploadedFilesController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Api/UploadedFilesController.php b/app/Http/Controllers/Api/UploadedFilesController.php index b28e0f95ee..ddc6b26b82 100644 --- a/app/Http/Controllers/Api/UploadedFilesController.php +++ b/app/Http/Controllers/Api/UploadedFilesController.php @@ -105,8 +105,8 @@ class UploadedFilesController extends Controller $sort = in_array($request->input('sort'), $allowed_columns) ? $request->input('sort') : 'action_logs.created_at'; // Text search on action_logs fields - // We could use the normal Actionlogs text scope, but it's a very heavy query since it's searcghing across all relations - // And we generally won't need that here + // We could use the normal Actionlogs text scope, but it's a very heavy query since it's searching across all relations + // and we generally won't need that here if ($request->filled('search')) { $uploads->where( From db4fbe315ad425197bac23e5255edf6f4d7071e2 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:36:11 +0100 Subject: [PATCH 11/66] Added helper to get media type so we know what kind of lightbox to give it Signed-off-by: snipe --- app/Helpers/StorageHelper.php | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/app/Helpers/StorageHelper.php b/app/Helpers/StorageHelper.php index 6ca1216784..a56aa015b4 100644 --- a/app/Helpers/StorageHelper.php +++ b/app/Helpers/StorageHelper.php @@ -27,6 +27,35 @@ class StorageHelper } } + public static function getMediaType($file_with_path) { + + // The file exists and is allowed to be displayed inline + if (Storage::exists($file_with_path)) { + $fileinfo = pathinfo($file_with_path); + $extension = strtolower($fileinfo['extension']); + switch ($extension) { + case 'jpg': + case 'png': + case 'gif': + case 'svg': + case 'webp': + return 'image'; + case 'pdf': + return 'pdf'; + case 'mp3': + case 'wav': + case 'ogg': + return 'audio'; + case 'mp4': + case 'webm': + case 'mov': + return 'video'; + default: + return $extension; // Default for unknown types + } + } + return null; + } /** * This determines the file types that should be allowed inline and checks their fileinfo extension @@ -52,7 +81,6 @@ class StorageHelper 'pdf', 'png', 'svg', - 'svg', 'wav', 'webm', 'webp', From 6a7972c5a19807dd8d4023f6f0039aaf1cc6e1fa Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:36:18 +0100 Subject: [PATCH 12/66] Added new formatters Signed-off-by: snipe --- public/js/dist/bootstrap-table.js | 2579 +++++++++++++++++++++++++++++ 1 file changed, 2579 insertions(+) diff --git a/public/js/dist/bootstrap-table.js b/public/js/dist/bootstrap-table.js index 80627524da..db7563c702 100644 --- a/public/js/dist/bootstrap-table.js +++ b/public/js/dist/bootstrap-table.js @@ -29423,6 +29423,2585 @@ !function(r,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((r="undefined"!=typeof globalThis?globalThis:r||self).jQuery)}(this,(function(r){"use strict";function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=Array(t);n=r.length?{done:!0}:{done:!1,value:r[o++]}},e:function(r){throw r},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){e=e.call(r)},n:function(){var r=e.next();return a=r.done,r},e:function(r){c=!0,u=r},f:function(){try{a||null==e.return||e.return()}finally{if(c)throw u}}}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(r,t,n){var e=function(r,t){for(;!{}.hasOwnProperty.call(r,t)&&null!==(r=u(r)););return r}(r,t);if(e){var o=Object.getOwnPropertyDescriptor(e,t);return o.get?o.get.call(arguments.length<3?r:n):o.value}},i.apply(null,arguments)}function u(r){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},u(r)}function a(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(r){}return(a=function(){return!!r})()}function c(r,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,t){return r.__proto__=t,r},c(r,t)}function f(r,t,n,e){var o=i(u(r.prototype),t,n);return"function"==typeof o?function(r){return o.apply(n,r)}:o}function l(r){var t=function(r,t){if("object"!=typeof r||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var e=n.call(r,t);if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(r,"string");return"symbol"==typeof t?t:t+""}var s,p,v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d={};function h(){if(p)return s;p=1;var r=function(r){return r&&r.Math===Math&&r};return s=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof v&&v)||r("object"==typeof s&&s)||function(){return this}()||Function("return this")()}var g,y,b,m,w,O,j,x,S={};function P(){return y?g:(y=1,g=function(r){try{return!!r()}catch(r){return!0}})}function A(){if(m)return b;m=1;var r=P();return b=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function E(){if(O)return w;O=1;var r=P();return w=!r((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")}))}function I(){if(x)return j;x=1;var r=E(),t=Function.prototype.call;return j=r?t.bind(t):function(){return t.apply(t,arguments)},j}var T,C,R,F,k,M,$,_,D,B,N,z,L,U,G,K,V,W,q,Y,X,H,J,Q,Z,rr,tr,nr,er,or,ir,ur,ar,cr,fr,lr,sr,pr,vr,dr,hr,gr={};function yr(){if(T)return gr;T=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return gr.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,gr}function br(){return R?C:(R=1,C=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function mr(){if(k)return F;k=1;var r=E(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return F=r?e:function(r){return function(){return n.apply(r,arguments)}},F}function wr(){if($)return M;$=1;var r=mr(),t=r({}.toString),n=r("".slice);return M=function(r){return n(t(r),8,-1)}}function Or(){if(D)return _;D=1;var r=mr(),t=P(),n=wr(),e=Object,o=r("".split);return _=t((function(){return!e("z").propertyIsEnumerable(0)}))?function(r){return"String"===n(r)?o(r,""):e(r)}:e}function jr(){return N?B:(N=1,B=function(r){return null==r})}function xr(){if(L)return z;L=1;var r=jr(),t=TypeError;return z=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function Sr(){if(G)return U;G=1;var r=Or(),t=xr();return U=function(n){return r(t(n))}}function Pr(){if(V)return K;V=1;var r="object"==typeof document&&document.all;return K=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function Ar(){if(q)return W;q=1;var r=Pr();return W=function(t){return"object"==typeof t?null!==t:r(t)}}function Er(){if(X)return Y;X=1;var r=h(),t=Pr();return Y=function(n,e){return arguments.length<2?(o=r[n],t(o)?o:void 0):r[n]&&r[n][e];var o},Y}function Ir(){if(J)return H;J=1;var r=mr();return H=r({}.isPrototypeOf)}function Tr(){if(Z)return Q;Z=1;var r=h().navigator,t=r&&r.userAgent;return Q=t?String(t):""}function Cr(){if(tr)return rr;tr=1;var r,t,n=h(),e=Tr(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(t=(r=a.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),rr=t}function Rr(){if(er)return nr;er=1;var r=Cr(),t=P(),n=h().String;return nr=!!Object.getOwnPropertySymbols&&!t((function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))}function Fr(){if(ir)return or;ir=1;var r=Rr();return or=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function kr(){if(ar)return ur;ar=1;var r=Er(),t=Pr(),n=Ir(),e=Fr(),o=Object;return ur=e?function(r){return"symbol"==typeof r}:function(e){var i=r("Symbol");return t(i)&&n(i.prototype,o(e))}}function Mr(){if(fr)return cr;fr=1;var r=String;return cr=function(t){try{return r(t)}catch(r){return"Object"}}}function $r(){if(sr)return lr;sr=1;var r=Pr(),t=Mr(),n=TypeError;return lr=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function _r(){if(vr)return pr;vr=1;var r=$r(),t=jr();return pr=function(n,e){var o=n[e];return t(o)?void 0:r(o)}}function Dr(){if(hr)return dr;hr=1;var r=I(),t=Pr(),n=Ar(),e=TypeError;return dr=function(o,i){var u,a;if("string"===i&&t(u=o.toString)&&!n(a=r(u,o)))return a;if(t(u=o.valueOf)&&!n(a=r(u,o)))return a;if("string"!==i&&t(u=o.toString)&&!n(a=r(u,o)))return a;throw new e("Can't convert object to primitive value")}}var Br,Nr,zr,Lr,Ur,Gr,Kr,Vr,Wr,qr,Yr,Xr,Hr,Jr,Qr,Zr,rt,tt,nt,et,ot,it,ut,at,ct={exports:{}};function ft(){if(Lr)return zr;Lr=1;var r=h(),t=Object.defineProperty;return zr=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(t){r[n]=e}return e}}function lt(){if(Ur)return ct.exports;Ur=1;var r=Nr?Br:(Nr=1,Br=!1),t=h(),n=ft(),e="__core-js_shared__",o=ct.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),ct.exports}function st(){if(Kr)return Gr;Kr=1;var r=lt();return Gr=function(t,n){return r[t]||(r[t]=n||{})}}function pt(){if(Wr)return Vr;Wr=1;var r=xr(),t=Object;return Vr=function(n){return t(r(n))}}function vt(){if(Yr)return qr;Yr=1;var r=mr(),t=pt(),n=r({}.hasOwnProperty);return qr=Object.hasOwn||function(r,e){return n(t(r),e)}}function dt(){if(Hr)return Xr;Hr=1;var r=mr(),t=0,n=Math.random(),e=r(1.1.toString);return Xr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function ht(){if(Qr)return Jr;Qr=1;var r=h(),t=st(),n=vt(),e=dt(),o=Rr(),i=Fr(),u=r.Symbol,a=t("wks"),c=i?u.for||u:u&&u.withoutSetter||e;return Jr=function(r){return n(a,r)||(a[r]=o&&n(u,r)?u[r]:c("Symbol."+r)),a[r]}}function gt(){if(rt)return Zr;rt=1;var r=I(),t=Ar(),n=kr(),e=_r(),o=Dr(),i=ht(),u=TypeError,a=i("toPrimitive");return Zr=function(i,c){if(!t(i)||n(i))return i;var f,l=e(i,a);if(l){if(void 0===c&&(c="default"),f=r(l,i,c),!t(f)||n(f))return f;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(i,c)}}function yt(){if(nt)return tt;nt=1;var r=gt(),t=kr();return tt=function(n){var e=r(n,"string");return t(e)?e:e+""}}function bt(){if(ot)return et;ot=1;var r=h(),t=Ar(),n=r.document,e=t(n)&&t(n.createElement);return et=function(r){return e?n.createElement(r):{}}}function mt(){if(ut)return it;ut=1;var r=A(),t=P(),n=bt();return it=!r&&!t((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))}function wt(){if(at)return S;at=1;var r=A(),t=I(),n=yr(),e=br(),o=Sr(),i=yt(),u=vt(),a=mt(),c=Object.getOwnPropertyDescriptor;return S.f=r?c:function(r,f){if(r=o(r),f=i(f),a)try{return c(r,f)}catch(r){}if(u(r,f))return e(!t(n.f,r,f),r[f])},S}var Ot,jt,xt,St,Pt,At,Et,It={};function Tt(){if(jt)return Ot;jt=1;var r=A(),t=P();return Ot=r&&t((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function Ct(){if(St)return xt;St=1;var r=Ar(),t=String,n=TypeError;return xt=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function Rt(){if(Pt)return It;Pt=1;var r=A(),t=mt(),n=Tt(),e=Ct(),o=yt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,c="enumerable",f="configurable",l="writable";return It.f=r?n?function(r,t,n){if(e(r),t=o(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&l in n&&!n[l]){var i=a(r,t);i&&i[l]&&(r[t]=n.value,n={configurable:f in n?n[f]:i[f],enumerable:c in n?n[c]:i[c],writable:!1})}return u(r,t,n)}:u:function(r,n,a){if(e(r),n=o(n),e(a),t)try{return u(r,n,a)}catch(r){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(r[n]=a.value),r},It}function Ft(){if(Et)return At;Et=1;var r=A(),t=Rt(),n=br();return At=r?function(r,e,o){return t.f(r,e,n(1,o))}:function(r,t,n){return r[t]=n,r}}var kt,Mt,$t,_t,Dt,Bt,Nt,zt,Lt,Ut,Gt,Kt,Vt,Wt,qt,Yt={exports:{}};function Xt(){if(_t)return $t;_t=1;var r=mr(),t=Pr(),n=lt(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),$t=n.inspectSource}function Ht(){if(zt)return Nt;zt=1;var r=st(),t=dt(),n=r("keys");return Nt=function(r){return n[r]||(n[r]=t(r))}}function Jt(){return Ut?Lt:(Ut=1,Lt={})}function Qt(){if(Kt)return Gt;Kt=1;var r,t,n,e=function(){if(Bt)return Dt;Bt=1;var r=h(),t=Pr(),n=r.WeakMap;return Dt=t(n)&&/native code/.test(String(n))}(),o=h(),i=Ar(),u=Ft(),a=vt(),c=lt(),f=Ht(),l=Jt(),s="Object already initialized",p=o.TypeError,v=o.WeakMap;if(e||c.state){var d=c.state||(c.state=new v);d.get=d.get,d.has=d.has,d.set=d.set,r=function(r,t){if(d.has(r))throw new p(s);return t.facade=r,d.set(r,t),t},t=function(r){return d.get(r)||{}},n=function(r){return d.has(r)}}else{var g=f("state");l[g]=!0,r=function(r,t){if(a(r,g))throw new p(s);return t.facade=r,u(r,g,t),t},t=function(r){return a(r,g)?r[g]:{}},n=function(r){return a(r,g)}}return Gt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!i(n)||(e=t(n)).type!==r)throw new p("Incompatible receiver, "+r+" required");return e}}}}function Zt(){if(Vt)return Yt.exports;Vt=1;var r=mr(),t=P(),n=Pr(),e=vt(),o=A(),i=function(){if(Mt)return kt;Mt=1;var r=A(),t=vt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!r||r&&e(n,"name").configurable);return kt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}().CONFIGURABLE,u=Xt(),a=Qt(),c=a.enforce,f=a.get,l=String,s=Object.defineProperty,p=r("".slice),v=r("".replace),d=r([].join),h=o&&!t((function(){return 8!==s((function(){}),"length",{value:8}).length})),g=String(String).split("String"),y=Yt.exports=function(r,t,n){"Symbol("===p(l(t),0,7)&&(t="["+v(l(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||i&&r.name!==t)&&(o?s(r,"name",{value:t,configurable:!0}):r.name=t),h&&n&&e(n,"arity")&&r.length!==n.arity&&s(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?o&&s(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var u=c(r);return e(u,"source")||(u.source=d(g,"string"==typeof t?t:"")),r};return Function.prototype.toString=y((function(){return n(this)&&f(this).source||u(this)}),"toString"),Yt.exports}function rn(){if(qt)return Wt;qt=1;var r=Pr(),t=Rt(),n=Zt(),e=ft();return Wt=function(o,i,u,a){a||(a={});var c=a.enumerable,f=void 0!==a.name?a.name:i;if(r(u)&&n(u,f,a),a.global)c?o[i]=u:e(i,u);else{try{a.unsafe?o[i]&&(c=!0):delete o[i]}catch(r){}c?o[i]=u:t.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var tn,nn,en,on,un,an,cn,fn,ln,sn,pn,vn,dn,hn,gn,yn,bn,mn={};function wn(){if(on)return en;on=1;var r=function(){if(nn)return tn;nn=1;var r=Math.ceil,t=Math.floor;return tn=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return en=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function On(){if(an)return un;an=1;var r=wn(),t=Math.max,n=Math.min;return un=function(e,o){var i=r(e);return i<0?t(i+o,0):n(i,o)}}function jn(){if(fn)return cn;fn=1;var r=wn(),t=Math.min;return cn=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function xn(){if(sn)return ln;sn=1;var r=jn();return ln=function(t){return r(t.length)}}function Sn(){if(vn)return pn;vn=1;var r=Sr(),t=On(),n=xn(),e=function(e){return function(o,i,u){var a=r(o),c=n(a);if(0===c)return!e&&-1;var f,l=t(u,c);if(e&&i!=i){for(;c>l;)if((f=a[l++])!=f)return!0}else for(;c>l;l++)if((e||l in a)&&a[l]===i)return e||l||0;return!e&&-1}};return pn={includes:e(!0),indexOf:e(!1)}}function Pn(){if(hn)return dn;hn=1;var r=mr(),t=vt(),n=Sr(),e=Sn().indexOf,o=Jt(),i=r([].push);return dn=function(r,u){var a,c=n(r),f=0,l=[];for(a in c)!t(o,a)&&t(c,a)&&i(l,a);for(;u.length>f;)t(c,a=u[f++])&&(~e(l,a)||i(l,a));return l}}function An(){return yn?gn:(yn=1,gn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var En,In,Tn,Cn,Rn,Fn,kn,Mn,$n,_n,Dn,Bn,Nn,zn,Ln,Un,Gn,Kn,Vn,Wn,qn,Yn,Xn,Hn,Jn,Qn,Zn,re,te={};function ne(){return En||(En=1,te.f=Object.getOwnPropertySymbols),te}function ee(){if(Tn)return In;Tn=1;var r=Er(),t=mr(),n=function(){if(bn)return mn;bn=1;var r=Pn(),t=An().concat("length","prototype");return mn.f=Object.getOwnPropertyNames||function(n){return r(n,t)},mn}(),e=ne(),o=Ct(),i=t([].concat);return In=r("Reflect","ownKeys")||function(r){var t=n.f(o(r)),u=e.f;return u?i(t,u(r)):t}}function oe(){if(Rn)return Cn;Rn=1;var r=vt(),t=ee(),n=wt(),e=Rt();return Cn=function(o,i,u){for(var a=t(i),c=e.f,f=n.f,l=0;l9007199254740991)throw r("Maximum allowed index exceeded");return t}}function ce(){if(Ln)return zn;Ln=1;var r=A(),t=Rt(),n=br();return zn=function(e,o,i){r?t.f(e,o,n(0,i)):e[o]=i}}function fe(){if(Gn)return Un;Gn=1;var r={};return r[ht()("toStringTag")]="z",Un="[object z]"===String(r)}function le(){if(Vn)return Kn;Vn=1;var r=fe(),t=Pr(),n=wr(),e=ht()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Kn=r?n:function(r){var u,a,c;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(a=function(r,t){try{return r[t]}catch(r){}}(u=o(r),e))?a:i?n(u):"Object"===(c=n(u))&&t(u.callee)?"Arguments":c}}function se(){if(qn)return Wn;qn=1;var r=mr(),t=P(),n=Pr(),e=le(),o=Er(),i=Xt(),u=function(){},a=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,f=r(c.exec),l=!c.test(u),s=function(r){if(!n(r))return!1;try{return a(u,[],r),!0}catch(r){return!1}},p=function(r){if(!n(r))return!1;switch(e(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!f(c,i(r))}catch(r){return!0}};return p.sham=!0,Wn=!a||t((function(){var r;return s(s.call)||!s(Object)||!s((function(){r=!0}))||r}))?p:s}function pe(){if(Xn)return Yn;Xn=1;var r=ue(),t=se(),n=Ar(),e=ht()("species"),o=Array;return Yn=function(i){var u;return r(i)&&(u=i.constructor,(t(u)&&(u===o||r(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?o:u}}function ve(){if(Jn)return Hn;Jn=1;var r=pe();return Hn=function(t,n){return new(r(t))(0===n?0:n)}}function de(){if(Zn)return Qn;Zn=1;var r=P(),t=ht(),n=Cr(),e=t("species");return Qn=function(t){return n>=51||!r((function(){var r=[];return(r.constructor={})[e]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}}!function(){if(re)return d;re=1;var r=ie(),t=P(),n=ue(),e=Ar(),o=pt(),i=xn(),u=ae(),a=ce(),c=ve(),f=de(),l=ht(),s=Cr(),p=l("isConcatSpreadable"),v=s>=51||!t((function(){var r=[];return r[p]=!1,r.concat()[0]!==r})),h=function(r){if(!e(r))return!1;var t=r[p];return void 0!==t?!!t:n(r)};r({target:"Array",proto:!0,arity:1,forced:!v||!f("concat")},{concat:function(r){var t,n,e,f,l,s=o(this),p=c(s,0),v=0;for(t=-1,e=arguments.length;tS;S++)if((v||S in O)&&(m=x(b=O[S],S,w),t))if(a)A[S]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return S;case 2:u(A,b)}else switch(t){case 4:return!1;case 7:u(A,b)}return s?-1:f||l?l:A}};return me={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}!function(){if(Oe)return je;Oe=1;var r=ie(),t=Pe().filter;r({target:"Array",proto:!0,forced:!de()("filter")},{filter:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var Ae,Ee,Ie,Te,Ce,Re,Fe,ke,Me,$e,_e={},De={};function Be(){if(Ee)return Ae;Ee=1;var r=Pn(),t=An();return Ae=Object.keys||function(n){return r(n,t)}}function Ne(){if(Ce)return Te;Ce=1;var r=Er();return Te=r("document","documentElement")}function ze(){if(Fe)return Re;Fe=1;var r,t=Ct(),n=function(){if(Ie)return De;Ie=1;var r=A(),t=Tt(),n=Rt(),e=Ct(),o=Sr(),i=Be();return De.f=r&&!t?Object.defineProperties:function(r,t){e(r);for(var u,a=o(t),c=i(t),f=c.length,l=0;f>l;)n.f(r,u=c[l++],a[u]);return r},De}(),e=An(),o=Jt(),i=Ne(),u=bt(),a=Ht(),c="prototype",f="script",l=a("IE_PROTO"),s=function(){},p=function(r){return"<"+f+">"+r+""},v=function(r){r.write(p("")),r.close();var t=r.parentWindow.Object;return r=null,t},d=function(){try{r=new ActiveXObject("htmlfile")}catch(r){}var t,n,o;d="undefined"!=typeof document?document.domain&&r?v(r):(n=u("iframe"),o="java"+f+":",n.style.display="none",i.appendChild(n),n.src=String(o),(t=n.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):v(r);for(var a=e.length;a--;)delete d[c][e[a]];return d()};return o[l]=!0,Re=Object.create||function(r,e){var o;return null!==r?(s[c]=t(r),o=new s,s[c]=null,o[l]=r):o=d(),void 0===e?o:n.f(o,e)}}function Le(){if(Me)return ke;Me=1;var r=ht(),t=ze(),n=Rt().f,e=r("unscopables"),o=Array.prototype;return void 0===o[e]&&n(o,e,{configurable:!0,value:t(null)}),ke=function(r){o[e][r]=!0}}!function(){if($e)return _e;$e=1;var r=ie(),t=Pe().find,n=Le(),e="find",o=!0;e in[]&&Array(1)[e]((function(){o=!1})),r({target:"Array",proto:!0,forced:o},{find:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),n(e)}();var Ue,Ge,Ke,Ve={};!function(){if(Ke)return Ve;Ke=1;var r=ie(),t=function(){if(Ge)return Ue;Ge=1;var r=ue(),t=xn(),n=ae(),e=Se(),o=function(i,u,a,c,f,l,s,p){for(var v,d,h=f,g=0,y=!!s&&e(s,p);g0&&r(v)?(d=t(v),h=o(i,u,v,d,h,l-1)-1):(n(h+1),i[h]=v),h++),g++;return h};return Ue=o}(),n=pt(),e=xn(),o=wn(),i=ve();r({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,u=n(this),a=e(u),c=i(u,0);return c.length=t(c,u,u,a,0,void 0===r?1:o(r)),c}})}();var We,qe={};!function(){if(We)return qe;We=1;var r=ie(),t=Sn().includes,n=P(),e=Le();r({target:"Array",proto:!0,forced:n((function(){return!Array(1).includes()}))},{includes:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),e("includes")}();var Ye,Xe,He,Je={};function Qe(){if(Xe)return Ye;Xe=1;var r=P();return Ye=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){return 1},1)}))}}!function(){if(He)return Je;He=1;var r=ie(),t=xe(),n=Sn().indexOf,e=Qe(),o=t([].indexOf),i=!!o&&1/o([1],1,-0)<0;r({target:"Array",proto:!0,forced:i||!e("indexOf")},{indexOf:function(r){var t=arguments.length>1?arguments[1]:void 0;return i?o(this,r,t)||0:n(this,r,t)}})}();var Ze,ro={};!function(){if(Ze)return ro;Ze=1;var r=ie(),t=mr(),n=Or(),e=Sr(),o=Qe(),i=t([].join);r({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(r){return i(e(this),void 0===r?",":r)}})}();var to,no={};!function(){if(to)return no;to=1;var r=ie(),t=Pe().map;r({target:"Array",proto:!0,forced:!de()("map")},{map:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var eo,oo,io,uo={};function ao(){if(oo)return eo;oo=1;var r=mr();return eo=r([].slice)}!function(){if(io)return uo;io=1;var r=ie(),t=ue(),n=se(),e=Ar(),o=On(),i=xn(),u=Sr(),a=ce(),c=ht(),f=de(),l=ao(),s=f("slice"),p=c("species"),v=Array,d=Math.max;r({target:"Array",proto:!0,forced:!s},{slice:function(r,c){var f,s,h,g=u(this),y=i(g),b=o(r,y),m=o(void 0===c?y:c,y);if(t(g)&&(f=g.constructor,(n(f)&&(f===v||t(f.prototype))||e(f)&&null===(f=f[p]))&&(f=void 0),f===v||void 0===f))return l(g,b,m);for(s=new(void 0===f?v:f)(d(m-b,0)),h=0;b0;)e[a]=e[--a];a!==c++&&(e[a]=u)}else for(var f=t(i/2),l=n(r(e,0,f),o),s=n(r(e,f),o),p=l.length,v=s.length,d=0,h=0;d3)){if(s)return!0;if(v)return v<603;var r,t,n,e,o="";for(r=65;r<76;r++){switch(t=String.fromCharCode(r),r){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(e=0;e<47;e++)d.push({k:t+e,v:n})}for(d.sort((function(r,t){return t.v-r.v})),e=0;eu(n)?1:-1}}(r)),a=o(l),f=0;fp;)for(var h,g=c(arguments[p++]),y=v?s(o(g),v(g)):o(g),b=y.length,m=0;b>m;)h=y[m++],r&&!n(d,g,h)||(f[h]=g[h]);return f}:f,Ao}();r({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t})}();var Co,Ro,Fo,ko={};!function(){if(Fo)return ko;Fo=1;var r=fe(),t=rn(),n=function(){if(Ro)return Co;Ro=1;var r=fe(),t=le();return Co=r?{}.toString:function(){return"[object "+t(this)+"]"}}();r||t(Object.prototype,"toString",n,{unsafe:!0})}();var Mo,$o,_o,Do,Bo,No,zo,Lo,Uo,Go,Ko,Vo={};function Wo(){if($o)return Mo;$o=1;var r=Ct();return Mo=function(){var t=r(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}function qo(){if(Go)return Uo;Go=1;var r,t,n=I(),e=mr(),o=So(),i=Wo(),u=function(){if(Do)return _o;Do=1;var r=P(),t=h().RegExp,n=r((function(){var r=t("a","y");return r.lastIndex=2,null!==r.exec("abcd")})),e=n||r((function(){return!t("a","y").sticky})),o=n||r((function(){var r=t("^r","gy");return r.lastIndex=2,null!==r.exec("str")}));return _o={BROKEN_CARET:o,MISSED_STICKY:e,UNSUPPORTED_Y:n}}(),a=st(),c=ze(),f=Qt().get,l=function(){if(No)return Bo;No=1;var r=P(),t=h().RegExp;return Bo=r((function(){var r=t(".","s");return!(r.dotAll&&r.test("\n")&&"s"===r.flags)}))}(),s=function(){if(Lo)return zo;Lo=1;var r=P(),t=h().RegExp;return zo=r((function(){var r=t("(?b)","g");return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$c")}))}(),p=a("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,d=v,g=e("".charAt),y=e("".indexOf),b=e("".replace),m=e("".slice),w=(t=/b*/g,n(v,r=/a/,"a"),n(v,t,"a"),0!==r.lastIndex||0!==t.lastIndex),O=u.BROKEN_CARET,j=void 0!==/()??/.exec("")[1];return(w||j||O||l||s)&&(d=function(r){var t,e,u,a,l,s,h,x=this,S=f(x),P=o(r),A=S.raw;if(A)return A.lastIndex=x.lastIndex,t=n(d,A,P),x.lastIndex=A.lastIndex,t;var E=S.groups,I=O&&x.sticky,T=n(i,x),C=x.source,R=0,F=P;if(I&&(T=b(T,"y",""),-1===y(T,"g")&&(T+="g"),F=m(P,x.lastIndex),x.lastIndex>0&&(!x.multiline||x.multiline&&"\n"!==g(P,x.lastIndex-1))&&(C="(?: "+C+")",F=" "+F,R++),e=new RegExp("^(?:"+C+")",T)),j&&(e=new RegExp("^"+C+"$(?!\\s)",T)),w&&(u=x.lastIndex),a=n(v,I?e:x,F),I?a?(a.input=m(a.input,R),a[0]=m(a[0],R),a.index=x.lastIndex,x.lastIndex+=a[0].length):x.lastIndex=0:w&&a&&(x.lastIndex=x.global?a.index+a[0].length:u),j&&a&&a.length>1&&n(p,a[0],e,(function(){for(l=1;l=v?r?"":void 0:(f=i(s,p))<55296||f>56319||p+1===v||(l=i(s,p+1))<56320||l>57343?r?o(s,p):f:r?u(s,p,p+2):l-56320+(f-55296<<10)+65536}};return Zo={codeAt:a(!1),charAt:a(!0)}}().charAt;return ti=function(t,n,e){return n+(e?r(t,n).length:1)}}function di(){if(oi)return ei;oi=1;var r=mr(),t=pt(),n=Math.floor,e=r("".charAt),o=r("".replace),i=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return ei=function(r,c,f,l,s,p){var v=f+r.length,d=l.length,h=a;return void 0!==s&&(s=t(s),h=u),o(p,h,(function(t,o){var u;switch(e(o,0)){case"$":return"$";case"&":return r;case"`":return i(c,0,f);case"'":return i(c,v);case"<":u=s[i(o,1,-1)];break;default:var a=+o;if(0===a)return t;if(a>d){var p=n(a/10);return 0===p?t:p<=d?void 0===l[p-1]?e(o,1):l[p-1]+e(o,1):t}u=l[a-1]}return void 0===u?"":u}))}}function hi(){if(ci)return ai;ci=1;var r=I(),t=vt(),n=Ir(),e=function(){if(ui)return ii;ui=1;var r=h(),t=P(),n=r.RegExp,e=!t((function(){var r=!0;try{n(".","d")}catch(t){r=!1}var t={},e="",o=r?"dgimsy":"gimsy",i=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in r&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(t)!==o||e!==o}));return ii={correct:e}}(),o=Wo(),i=RegExp.prototype;return ai=e.correct?function(r){return r.flags}:function(u){return e.correct||!n(i,u)||t(u,"flags")?u.flags:r(o,u)}}!function(){if(si)return pi;si=1;var r=function(){if(Ho)return Xo;Ho=1;var r=E(),t=Function.prototype,n=t.apply,e=t.call;return Xo="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),Xo}(),t=I(),n=mr(),e=function(){if(Qo)return Jo;Qo=1,Yo();var r=I(),t=rn(),n=qo(),e=P(),o=ht(),i=Ft(),u=o("species"),a=RegExp.prototype;return Jo=function(c,f,l,s){var p=o(c),v=!e((function(){var r={};return r[p]=function(){return 7},7!==""[c](r)})),d=v&&!e((function(){var r=!1,t=/a/;return"split"===c&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return r=!0,null},t[p](""),!r}));if(!v||!d||l){var h=/./[p],g=f(p,""[c],(function(t,e,o,i,u){var c=e.exec;return c===n||c===a.exec?v&&!u?{done:!0,value:r(h,e,o,i)}:{done:!0,value:r(t,o,e,i)}:{done:!1}}));t(String.prototype,c,g[0]),t(a,p,g[1])}s&&i(a[p],"sham",!0)}}(),o=P(),i=Ct(),u=Pr(),a=Ar(),c=wn(),f=jn(),l=So(),s=xr(),p=vi(),v=_r(),d=di(),h=hi(),g=function(){if(li)return fi;li=1;var r=I(),t=Ct(),n=Pr(),e=wr(),o=qo(),i=TypeError;return fi=function(u,a){var c=u.exec;if(n(c)){var f=r(c,u,a);return null!==f&&t(f),f}if("RegExp"===e(u))return r(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=ht()("replace"),b=Math.max,m=Math.min,w=n([].concat),O=n([].push),j=n("".indexOf),x=n("".slice),S="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");e("replace",(function(n,e,o){var S=A?"$":"$0";return[function(r,n){var o=s(this),i=a(r)?v(r,y):void 0;return i?t(i,r,o,n):t(e,l(o),r,n)},function(t,n){var a=i(this),s=l(t);if("string"==typeof n&&-1===j(n,S)&&-1===j(n,"$<")){var v=o(e,a,s,n);if(v.done)return v.value}var y=u(n);y||(n=l(n));var P,A=l(h(a)),E=-1!==j(A,"g");E&&(P=-1!==j(A,"u"),a.lastIndex=0);for(var I,T=[];null!==(I=g(a,s))&&(O(T,I),E);){""===l(I[0])&&(a.lastIndex=p(s,f(a.lastIndex),P))}for(var C,R="",F=0,k=0;k=F&&(R+=x(s,F,_)+M,F=_+$.length)}return R+x(s,F)}]}),!!o((function(){var r=/./;return r.exec=function(){var r=[];return r.groups={a:"7"},r},"7"!=="".replace(r,"$")}))||!S||A)}();var gi=r.fn.bootstrapTable.utils;function yi(r,t){return"\n \n \n ".concat(t,'\n \n \n \n Print Table\n \n

Printed on: ').concat(new Date,'

\n
').concat(r,"
\n \n \n ")}Object.assign(r.fn.bootstrapTable.locales,{formatPrint:function(){return"Print"}}),Object.assign(r.fn.bootstrapTable.defaults,r.fn.bootstrapTable.locales),Object.assign(r.fn.bootstrapTable.defaults,{showPrint:!1,printAsFilteredAndSortedOnUI:!0,printSortColumn:void 0,printSortOrder:"asc",printStyles:[],printPageBuilder:function(r,t){return yi(r,t)}}),Object.assign(r.fn.bootstrapTable.columnDefaults,{printFilter:void 0,printIgnore:!1,printFormatter:void 0}),gi.assignIcons(r.fn.bootstrapTable.icons,"print",{glyphicon:"glyphicon-print icon-share",fa:"fa-print",bi:"bi-printer",icon:"icon-printer","material-icons":"print"}),r.BootstrapTable=function(t){function i(){return function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),n(this,i,arguments)}return function(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&c(r,t)}(i,t),e(i,[{key:"init",value:function(){for(var r=arguments.length,t=new Array(r),n=0;n").html(u).html()},a=function(r,t){var n,a=e.$el.attr("dir")||"ltr",c=['')],f=o(t);try{for(f.s();!(n=f.n()).done;){var l=n.value;c.push("");for(var s=0;s").concat(l[s].title,""));c.push("")}}catch(r){f.e(r)}finally{f.f()}c.push("");var p=[];if(e.mergedCells)for(var v=0;v");var w=t.flat(1);w.sort((function(r,t){return r.colspanIndex-t.colspanIndex}));for(var O=0;O0)){var j=0,x=0;if(e.mergedCells)for(var S=0;S0&&x>0)&&(j>0&&x>0?c.push(""):c.push(""))}c.push("")}if(c.push(""),e.options.showFooter){c.push("
");var A,E=o(t);try{for(E.s();!(A=E.n()).done;)for(var I=A.value,T=0;Ttfoot>tr")),R=gi.calculateObjectValue(I[T],I[T].footerFormatter,[r],C[0]&&C[0][I[T].field]||"");c.push(""))}}catch(r){E.e(r)}finally{E.f()}c.push("")}return c.push("
"),u(r[m],m,w[O]),"",u(r[m],m,w[O]),"
".concat(R,"
"),c.join("")}(t=function(r,t,n){if(!t)return r;var e="asc"!==n;return e=-(+e||-1),r.sort((function(r,n){return e*r[t].localeCompare(n[t])}))}(t=function(r,t){return r.filter((function(r){return function(r,t){for(var n=0;n')})).join(""),s=gi.calculateObjectValue(this,this.options.printPageBuilder,[a,l],yi(a,l)),p=function(){c.focus(),c.print(),c.close()};if(c.document.write(s),c.document.close(),f.length){var v=document.getElementsByTagName("link");v[v.length-1].onload=p}else p()}}])}(r.BootstrapTable)})); +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) : + typeof define === 'function' && define.amd ? define(['jquery'], factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery)); +})(this, (function ($) { 'use strict'; + + function _assertThisInitialized(e) { + if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e; + } + function _callSuper(t, o, e) { + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); + } + function _classCallCheck(a, n) { + if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); + } + function _defineProperties(e, r) { + for (var t = 0; t < r.length; t++) { + var o = r[t]; + o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o); + } + } + function _createClass(e, r, t) { + return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", { + writable: false + }), e; + } + function _get() { + return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { + var p = _superPropBase(e, t); + if (p) { + var n = Object.getOwnPropertyDescriptor(p, t); + return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; + } + }, _get.apply(null, arguments); + } + function _getPrototypeOf(t) { + return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { + return t.__proto__ || Object.getPrototypeOf(t); + }, _getPrototypeOf(t); + } + function _inherits(t, e) { + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); + t.prototype = Object.create(e && e.prototype, { + constructor: { + value: t, + writable: true, + configurable: true + } + }), Object.defineProperty(t, "prototype", { + writable: false + }), e && _setPrototypeOf(t, e); + } + function _isNativeReflectConstruct() { + try { + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + } catch (t) {} + return (_isNativeReflectConstruct = function () { + return !!t; + })(); + } + function _possibleConstructorReturn(t, e) { + if (e && ("object" == typeof e || "function" == typeof e)) return e; + if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); + return _assertThisInitialized(t); + } + function _setPrototypeOf(t, e) { + return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { + return t.__proto__ = e, t; + }, _setPrototypeOf(t, e); + } + function _superPropBase(t, o) { + for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); + return t; + } + function _superPropGet(t, o, e, r) { + var p = _get(_getPrototypeOf(t.prototype ), o, e); + return "function" == typeof p ? function (t) { + return p.apply(e, t); + } : p; + } + function _toPrimitive(t, r) { + if ("object" != typeof t || !t) return t; + var e = t[Symbol.toPrimitive]; + if (void 0 !== e) { + var i = e.call(t, r); + if ("object" != typeof i) return i; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (String )(t); + } + function _toPropertyKey(t) { + var i = _toPrimitive(t, "string"); + return "symbol" == typeof i ? i : i + ""; + } + + var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; + + var es_array_concat = {}; + + var globalThis_1; + var hasRequiredGlobalThis; + + function requireGlobalThis () { + if (hasRequiredGlobalThis) return globalThis_1; + hasRequiredGlobalThis = 1; + var check = function (it) { + return it && it.Math === Math && it; + }; + + // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 + globalThis_1 = + // eslint-disable-next-line es/no-global-this -- safe + check(typeof globalThis == 'object' && globalThis) || + check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe + check(typeof self == 'object' && self) || + check(typeof commonjsGlobal == 'object' && commonjsGlobal) || + check(typeof globalThis_1 == 'object' && globalThis_1) || + // eslint-disable-next-line no-new-func -- fallback + (function () { return this; })() || Function('return this')(); + return globalThis_1; + } + + var objectGetOwnPropertyDescriptor = {}; + + var fails; + var hasRequiredFails; + + function requireFails () { + if (hasRequiredFails) return fails; + hasRequiredFails = 1; + fails = function (exec) { + try { + return !!exec(); + } catch (error) { + return true; + } + }; + return fails; + } + + var descriptors; + var hasRequiredDescriptors; + + function requireDescriptors () { + if (hasRequiredDescriptors) return descriptors; + hasRequiredDescriptors = 1; + var fails = requireFails(); + + // Detect IE8's incomplete defineProperty implementation + descriptors = !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; + }); + return descriptors; + } + + var functionBindNative; + var hasRequiredFunctionBindNative; + + function requireFunctionBindNative () { + if (hasRequiredFunctionBindNative) return functionBindNative; + hasRequiredFunctionBindNative = 1; + var fails = requireFails(); + + functionBindNative = !fails(function () { + // eslint-disable-next-line es/no-function-prototype-bind -- safe + var test = (function () { /* empty */ }).bind(); + // eslint-disable-next-line no-prototype-builtins -- safe + return typeof test != 'function' || test.hasOwnProperty('prototype'); + }); + return functionBindNative; + } + + var functionCall; + var hasRequiredFunctionCall; + + function requireFunctionCall () { + if (hasRequiredFunctionCall) return functionCall; + hasRequiredFunctionCall = 1; + var NATIVE_BIND = requireFunctionBindNative(); + + var call = Function.prototype.call; + // eslint-disable-next-line es/no-function-prototype-bind -- safe + functionCall = NATIVE_BIND ? call.bind(call) : function () { + return call.apply(call, arguments); + }; + return functionCall; + } + + var objectPropertyIsEnumerable = {}; + + var hasRequiredObjectPropertyIsEnumerable; + + function requireObjectPropertyIsEnumerable () { + if (hasRequiredObjectPropertyIsEnumerable) return objectPropertyIsEnumerable; + hasRequiredObjectPropertyIsEnumerable = 1; + var $propertyIsEnumerable = {}.propertyIsEnumerable; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // Nashorn ~ JDK8 bug + var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); + + // `Object.prototype.propertyIsEnumerable` method implementation + // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable + objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) { + var descriptor = getOwnPropertyDescriptor(this, V); + return !!descriptor && descriptor.enumerable; + } : $propertyIsEnumerable; + return objectPropertyIsEnumerable; + } + + var createPropertyDescriptor; + var hasRequiredCreatePropertyDescriptor; + + function requireCreatePropertyDescriptor () { + if (hasRequiredCreatePropertyDescriptor) return createPropertyDescriptor; + hasRequiredCreatePropertyDescriptor = 1; + createPropertyDescriptor = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; + }; + return createPropertyDescriptor; + } + + var functionUncurryThis; + var hasRequiredFunctionUncurryThis; + + function requireFunctionUncurryThis () { + if (hasRequiredFunctionUncurryThis) return functionUncurryThis; + hasRequiredFunctionUncurryThis = 1; + var NATIVE_BIND = requireFunctionBindNative(); + + var FunctionPrototype = Function.prototype; + var call = FunctionPrototype.call; + // eslint-disable-next-line es/no-function-prototype-bind -- safe + var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); + + functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) { + return function () { + return call.apply(fn, arguments); + }; + }; + return functionUncurryThis; + } + + var classofRaw; + var hasRequiredClassofRaw; + + function requireClassofRaw () { + if (hasRequiredClassofRaw) return classofRaw; + hasRequiredClassofRaw = 1; + var uncurryThis = requireFunctionUncurryThis(); + + var toString = uncurryThis({}.toString); + var stringSlice = uncurryThis(''.slice); + + classofRaw = function (it) { + return stringSlice(toString(it), 8, -1); + }; + return classofRaw; + } + + var indexedObject; + var hasRequiredIndexedObject; + + function requireIndexedObject () { + if (hasRequiredIndexedObject) return indexedObject; + hasRequiredIndexedObject = 1; + var uncurryThis = requireFunctionUncurryThis(); + var fails = requireFails(); + var classof = requireClassofRaw(); + + var $Object = Object; + var split = uncurryThis(''.split); + + // fallback for non-array-like ES3 and non-enumerable old V8 strings + indexedObject = fails(function () { + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 + // eslint-disable-next-line no-prototype-builtins -- safe + return !$Object('z').propertyIsEnumerable(0); + }) ? function (it) { + return classof(it) === 'String' ? split(it, '') : $Object(it); + } : $Object; + return indexedObject; + } + + var isNullOrUndefined; + var hasRequiredIsNullOrUndefined; + + function requireIsNullOrUndefined () { + if (hasRequiredIsNullOrUndefined) return isNullOrUndefined; + hasRequiredIsNullOrUndefined = 1; + // we can't use just `it == null` since of `document.all` special case + // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec + isNullOrUndefined = function (it) { + return it === null || it === undefined; + }; + return isNullOrUndefined; + } + + var requireObjectCoercible; + var hasRequiredRequireObjectCoercible; + + function requireRequireObjectCoercible () { + if (hasRequiredRequireObjectCoercible) return requireObjectCoercible; + hasRequiredRequireObjectCoercible = 1; + var isNullOrUndefined = requireIsNullOrUndefined(); + + var $TypeError = TypeError; + + // `RequireObjectCoercible` abstract operation + // https://tc39.es/ecma262/#sec-requireobjectcoercible + requireObjectCoercible = function (it) { + if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); + return it; + }; + return requireObjectCoercible; + } + + var toIndexedObject; + var hasRequiredToIndexedObject; + + function requireToIndexedObject () { + if (hasRequiredToIndexedObject) return toIndexedObject; + hasRequiredToIndexedObject = 1; + // toObject with fallback for non-array-like ES3 strings + var IndexedObject = requireIndexedObject(); + var requireObjectCoercible = requireRequireObjectCoercible(); + + toIndexedObject = function (it) { + return IndexedObject(requireObjectCoercible(it)); + }; + return toIndexedObject; + } + + var isCallable; + var hasRequiredIsCallable; + + function requireIsCallable () { + if (hasRequiredIsCallable) return isCallable; + hasRequiredIsCallable = 1; + // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot + var documentAll = typeof document == 'object' && document.all; + + // `IsCallable` abstract operation + // https://tc39.es/ecma262/#sec-iscallable + // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing + isCallable = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; + } : function (argument) { + return typeof argument == 'function'; + }; + return isCallable; + } + + var isObject; + var hasRequiredIsObject; + + function requireIsObject () { + if (hasRequiredIsObject) return isObject; + hasRequiredIsObject = 1; + var isCallable = requireIsCallable(); + + isObject = function (it) { + return typeof it == 'object' ? it !== null : isCallable(it); + }; + return isObject; + } + + var getBuiltIn; + var hasRequiredGetBuiltIn; + + function requireGetBuiltIn () { + if (hasRequiredGetBuiltIn) return getBuiltIn; + hasRequiredGetBuiltIn = 1; + var globalThis = requireGlobalThis(); + var isCallable = requireIsCallable(); + + var aFunction = function (argument) { + return isCallable(argument) ? argument : undefined; + }; + + getBuiltIn = function (namespace, method) { + return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method]; + }; + return getBuiltIn; + } + + var objectIsPrototypeOf; + var hasRequiredObjectIsPrototypeOf; + + function requireObjectIsPrototypeOf () { + if (hasRequiredObjectIsPrototypeOf) return objectIsPrototypeOf; + hasRequiredObjectIsPrototypeOf = 1; + var uncurryThis = requireFunctionUncurryThis(); + + objectIsPrototypeOf = uncurryThis({}.isPrototypeOf); + return objectIsPrototypeOf; + } + + var environmentUserAgent; + var hasRequiredEnvironmentUserAgent; + + function requireEnvironmentUserAgent () { + if (hasRequiredEnvironmentUserAgent) return environmentUserAgent; + hasRequiredEnvironmentUserAgent = 1; + var globalThis = requireGlobalThis(); + + var navigator = globalThis.navigator; + var userAgent = navigator && navigator.userAgent; + + environmentUserAgent = userAgent ? String(userAgent) : ''; + return environmentUserAgent; + } + + var environmentV8Version; + var hasRequiredEnvironmentV8Version; + + function requireEnvironmentV8Version () { + if (hasRequiredEnvironmentV8Version) return environmentV8Version; + hasRequiredEnvironmentV8Version = 1; + var globalThis = requireGlobalThis(); + var userAgent = requireEnvironmentUserAgent(); + + var process = globalThis.process; + var Deno = globalThis.Deno; + var versions = process && process.versions || Deno && Deno.version; + var v8 = versions && versions.v8; + var match, version; + + if (v8) { + match = v8.split('.'); + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 + // but their correct versions are not interesting for us + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); + } + + // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` + // so check `userAgent` even if `.v8` exists, but 0 + if (!version && userAgent) { + match = userAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = userAgent.match(/Chrome\/(\d+)/); + if (match) version = +match[1]; + } + } + + environmentV8Version = version; + return environmentV8Version; + } + + var symbolConstructorDetection; + var hasRequiredSymbolConstructorDetection; + + function requireSymbolConstructorDetection () { + if (hasRequiredSymbolConstructorDetection) return symbolConstructorDetection; + hasRequiredSymbolConstructorDetection = 1; + /* eslint-disable es/no-symbol -- required for testing */ + var V8_VERSION = requireEnvironmentV8Version(); + var fails = requireFails(); + var globalThis = requireGlobalThis(); + + var $String = globalThis.String; + + // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing + symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () { + var symbol = Symbol('symbol detection'); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, + // of course, fail. + return !$String(symbol) || !(Object(symbol) instanceof Symbol) || + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && V8_VERSION && V8_VERSION < 41; + }); + return symbolConstructorDetection; + } + + var useSymbolAsUid; + var hasRequiredUseSymbolAsUid; + + function requireUseSymbolAsUid () { + if (hasRequiredUseSymbolAsUid) return useSymbolAsUid; + hasRequiredUseSymbolAsUid = 1; + /* eslint-disable es/no-symbol -- required for testing */ + var NATIVE_SYMBOL = requireSymbolConstructorDetection(); + + useSymbolAsUid = NATIVE_SYMBOL && + !Symbol.sham && + typeof Symbol.iterator == 'symbol'; + return useSymbolAsUid; + } + + var isSymbol; + var hasRequiredIsSymbol; + + function requireIsSymbol () { + if (hasRequiredIsSymbol) return isSymbol; + hasRequiredIsSymbol = 1; + var getBuiltIn = requireGetBuiltIn(); + var isCallable = requireIsCallable(); + var isPrototypeOf = requireObjectIsPrototypeOf(); + var USE_SYMBOL_AS_UID = requireUseSymbolAsUid(); + + var $Object = Object; + + isSymbol = USE_SYMBOL_AS_UID ? function (it) { + return typeof it == 'symbol'; + } : function (it) { + var $Symbol = getBuiltIn('Symbol'); + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); + }; + return isSymbol; + } + + var tryToString; + var hasRequiredTryToString; + + function requireTryToString () { + if (hasRequiredTryToString) return tryToString; + hasRequiredTryToString = 1; + var $String = String; + + tryToString = function (argument) { + try { + return $String(argument); + } catch (error) { + return 'Object'; + } + }; + return tryToString; + } + + var aCallable; + var hasRequiredACallable; + + function requireACallable () { + if (hasRequiredACallable) return aCallable; + hasRequiredACallable = 1; + var isCallable = requireIsCallable(); + var tryToString = requireTryToString(); + + var $TypeError = TypeError; + + // `Assert: IsCallable(argument) is true` + aCallable = function (argument) { + if (isCallable(argument)) return argument; + throw new $TypeError(tryToString(argument) + ' is not a function'); + }; + return aCallable; + } + + var getMethod; + var hasRequiredGetMethod; + + function requireGetMethod () { + if (hasRequiredGetMethod) return getMethod; + hasRequiredGetMethod = 1; + var aCallable = requireACallable(); + var isNullOrUndefined = requireIsNullOrUndefined(); + + // `GetMethod` abstract operation + // https://tc39.es/ecma262/#sec-getmethod + getMethod = function (V, P) { + var func = V[P]; + return isNullOrUndefined(func) ? undefined : aCallable(func); + }; + return getMethod; + } + + var ordinaryToPrimitive; + var hasRequiredOrdinaryToPrimitive; + + function requireOrdinaryToPrimitive () { + if (hasRequiredOrdinaryToPrimitive) return ordinaryToPrimitive; + hasRequiredOrdinaryToPrimitive = 1; + var call = requireFunctionCall(); + var isCallable = requireIsCallable(); + var isObject = requireIsObject(); + + var $TypeError = TypeError; + + // `OrdinaryToPrimitive` abstract operation + // https://tc39.es/ecma262/#sec-ordinarytoprimitive + ordinaryToPrimitive = function (input, pref) { + var fn, val; + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + throw new $TypeError("Can't convert object to primitive value"); + }; + return ordinaryToPrimitive; + } + + var sharedStore = {exports: {}}; + + var isPure; + var hasRequiredIsPure; + + function requireIsPure () { + if (hasRequiredIsPure) return isPure; + hasRequiredIsPure = 1; + isPure = false; + return isPure; + } + + var defineGlobalProperty; + var hasRequiredDefineGlobalProperty; + + function requireDefineGlobalProperty () { + if (hasRequiredDefineGlobalProperty) return defineGlobalProperty; + hasRequiredDefineGlobalProperty = 1; + var globalThis = requireGlobalThis(); + + // eslint-disable-next-line es/no-object-defineproperty -- safe + var defineProperty = Object.defineProperty; + + defineGlobalProperty = function (key, value) { + try { + defineProperty(globalThis, key, { value: value, configurable: true, writable: true }); + } catch (error) { + globalThis[key] = value; + } return value; + }; + return defineGlobalProperty; + } + + var hasRequiredSharedStore; + + function requireSharedStore () { + if (hasRequiredSharedStore) return sharedStore.exports; + hasRequiredSharedStore = 1; + var IS_PURE = requireIsPure(); + var globalThis = requireGlobalThis(); + var defineGlobalProperty = requireDefineGlobalProperty(); + + var SHARED = '__core-js_shared__'; + var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); + + (store.versions || (store.versions = [])).push({ + version: '3.44.0', + mode: IS_PURE ? 'pure' : 'global', + copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE', + source: 'https://github.com/zloirock/core-js' + }); + return sharedStore.exports; + } + + var shared; + var hasRequiredShared; + + function requireShared () { + if (hasRequiredShared) return shared; + hasRequiredShared = 1; + var store = requireSharedStore(); + + shared = function (key, value) { + return store[key] || (store[key] = value || {}); + }; + return shared; + } + + var toObject; + var hasRequiredToObject; + + function requireToObject () { + if (hasRequiredToObject) return toObject; + hasRequiredToObject = 1; + var requireObjectCoercible = requireRequireObjectCoercible(); + + var $Object = Object; + + // `ToObject` abstract operation + // https://tc39.es/ecma262/#sec-toobject + toObject = function (argument) { + return $Object(requireObjectCoercible(argument)); + }; + return toObject; + } + + var hasOwnProperty_1; + var hasRequiredHasOwnProperty; + + function requireHasOwnProperty () { + if (hasRequiredHasOwnProperty) return hasOwnProperty_1; + hasRequiredHasOwnProperty = 1; + var uncurryThis = requireFunctionUncurryThis(); + var toObject = requireToObject(); + + var hasOwnProperty = uncurryThis({}.hasOwnProperty); + + // `HasOwnProperty` abstract operation + // https://tc39.es/ecma262/#sec-hasownproperty + // eslint-disable-next-line es/no-object-hasown -- safe + hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty(toObject(it), key); + }; + return hasOwnProperty_1; + } + + var uid; + var hasRequiredUid; + + function requireUid () { + if (hasRequiredUid) return uid; + hasRequiredUid = 1; + var uncurryThis = requireFunctionUncurryThis(); + + var id = 0; + var postfix = Math.random(); + var toString = uncurryThis(1.1.toString); + + uid = function (key) { + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); + }; + return uid; + } + + var wellKnownSymbol; + var hasRequiredWellKnownSymbol; + + function requireWellKnownSymbol () { + if (hasRequiredWellKnownSymbol) return wellKnownSymbol; + hasRequiredWellKnownSymbol = 1; + var globalThis = requireGlobalThis(); + var shared = requireShared(); + var hasOwn = requireHasOwnProperty(); + var uid = requireUid(); + var NATIVE_SYMBOL = requireSymbolConstructorDetection(); + var USE_SYMBOL_AS_UID = requireUseSymbolAsUid(); + + var Symbol = globalThis.Symbol; + var WellKnownSymbolsStore = shared('wks'); + var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; + + wellKnownSymbol = function (name) { + if (!hasOwn(WellKnownSymbolsStore, name)) { + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) + ? Symbol[name] + : createWellKnownSymbol('Symbol.' + name); + } return WellKnownSymbolsStore[name]; + }; + return wellKnownSymbol; + } + + var toPrimitive; + var hasRequiredToPrimitive; + + function requireToPrimitive () { + if (hasRequiredToPrimitive) return toPrimitive; + hasRequiredToPrimitive = 1; + var call = requireFunctionCall(); + var isObject = requireIsObject(); + var isSymbol = requireIsSymbol(); + var getMethod = requireGetMethod(); + var ordinaryToPrimitive = requireOrdinaryToPrimitive(); + var wellKnownSymbol = requireWellKnownSymbol(); + + var $TypeError = TypeError; + var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + + // `ToPrimitive` abstract operation + // https://tc39.es/ecma262/#sec-toprimitive + toPrimitive = function (input, pref) { + if (!isObject(input) || isSymbol(input)) return input; + var exoticToPrim = getMethod(input, TO_PRIMITIVE); + var result; + if (exoticToPrim) { + if (pref === undefined) pref = 'default'; + result = call(exoticToPrim, input, pref); + if (!isObject(result) || isSymbol(result)) return result; + throw new $TypeError("Can't convert object to primitive value"); + } + if (pref === undefined) pref = 'number'; + return ordinaryToPrimitive(input, pref); + }; + return toPrimitive; + } + + var toPropertyKey; + var hasRequiredToPropertyKey; + + function requireToPropertyKey () { + if (hasRequiredToPropertyKey) return toPropertyKey; + hasRequiredToPropertyKey = 1; + var toPrimitive = requireToPrimitive(); + var isSymbol = requireIsSymbol(); + + // `ToPropertyKey` abstract operation + // https://tc39.es/ecma262/#sec-topropertykey + toPropertyKey = function (argument) { + var key = toPrimitive(argument, 'string'); + return isSymbol(key) ? key : key + ''; + }; + return toPropertyKey; + } + + var documentCreateElement; + var hasRequiredDocumentCreateElement; + + function requireDocumentCreateElement () { + if (hasRequiredDocumentCreateElement) return documentCreateElement; + hasRequiredDocumentCreateElement = 1; + var globalThis = requireGlobalThis(); + var isObject = requireIsObject(); + + var document = globalThis.document; + // typeof document.createElement is 'object' in old IE + var EXISTS = isObject(document) && isObject(document.createElement); + + documentCreateElement = function (it) { + return EXISTS ? document.createElement(it) : {}; + }; + return documentCreateElement; + } + + var ie8DomDefine; + var hasRequiredIe8DomDefine; + + function requireIe8DomDefine () { + if (hasRequiredIe8DomDefine) return ie8DomDefine; + hasRequiredIe8DomDefine = 1; + var DESCRIPTORS = requireDescriptors(); + var fails = requireFails(); + var createElement = requireDocumentCreateElement(); + + // Thanks to IE8 for its funny defineProperty + ie8DomDefine = !DESCRIPTORS && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(createElement('div'), 'a', { + get: function () { return 7; } + }).a !== 7; + }); + return ie8DomDefine; + } + + var hasRequiredObjectGetOwnPropertyDescriptor; + + function requireObjectGetOwnPropertyDescriptor () { + if (hasRequiredObjectGetOwnPropertyDescriptor) return objectGetOwnPropertyDescriptor; + hasRequiredObjectGetOwnPropertyDescriptor = 1; + var DESCRIPTORS = requireDescriptors(); + var call = requireFunctionCall(); + var propertyIsEnumerableModule = requireObjectPropertyIsEnumerable(); + var createPropertyDescriptor = requireCreatePropertyDescriptor(); + var toIndexedObject = requireToIndexedObject(); + var toPropertyKey = requireToPropertyKey(); + var hasOwn = requireHasOwnProperty(); + var IE8_DOM_DEFINE = requireIe8DomDefine(); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor + objectGetOwnPropertyDescriptor.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { + O = toIndexedObject(O); + P = toPropertyKey(P); + if (IE8_DOM_DEFINE) try { + return $getOwnPropertyDescriptor(O, P); + } catch (error) { /* empty */ } + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); + }; + return objectGetOwnPropertyDescriptor; + } + + var objectDefineProperty = {}; + + var v8PrototypeDefineBug; + var hasRequiredV8PrototypeDefineBug; + + function requireV8PrototypeDefineBug () { + if (hasRequiredV8PrototypeDefineBug) return v8PrototypeDefineBug; + hasRequiredV8PrototypeDefineBug = 1; + var DESCRIPTORS = requireDescriptors(); + var fails = requireFails(); + + // V8 ~ Chrome 36- + // https://bugs.chromium.org/p/v8/issues/detail?id=3334 + v8PrototypeDefineBug = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(function () { /* empty */ }, 'prototype', { + value: 42, + writable: false + }).prototype !== 42; + }); + return v8PrototypeDefineBug; + } + + var anObject; + var hasRequiredAnObject; + + function requireAnObject () { + if (hasRequiredAnObject) return anObject; + hasRequiredAnObject = 1; + var isObject = requireIsObject(); + + var $String = String; + var $TypeError = TypeError; + + // `Assert: Type(argument) is Object` + anObject = function (argument) { + if (isObject(argument)) return argument; + throw new $TypeError($String(argument) + ' is not an object'); + }; + return anObject; + } + + var hasRequiredObjectDefineProperty; + + function requireObjectDefineProperty () { + if (hasRequiredObjectDefineProperty) return objectDefineProperty; + hasRequiredObjectDefineProperty = 1; + var DESCRIPTORS = requireDescriptors(); + var IE8_DOM_DEFINE = requireIe8DomDefine(); + var V8_PROTOTYPE_DEFINE_BUG = requireV8PrototypeDefineBug(); + var anObject = requireAnObject(); + var toPropertyKey = requireToPropertyKey(); + + var $TypeError = TypeError; + // eslint-disable-next-line es/no-object-defineproperty -- safe + var $defineProperty = Object.defineProperty; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var ENUMERABLE = 'enumerable'; + var CONFIGURABLE = 'configurable'; + var WRITABLE = 'writable'; + + // `Object.defineProperty` method + // https://tc39.es/ecma262/#sec-object.defineproperty + objectDefineProperty.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { + var current = $getOwnPropertyDescriptor(O, P); + if (current && current[WRITABLE]) { + O[P] = Attributes.value; + Attributes = { + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], + writable: false + }; + } + } return $defineProperty(O, P, Attributes); + } : $defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return $defineProperty(O, P, Attributes); + } catch (error) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; + }; + return objectDefineProperty; + } + + var createNonEnumerableProperty; + var hasRequiredCreateNonEnumerableProperty; + + function requireCreateNonEnumerableProperty () { + if (hasRequiredCreateNonEnumerableProperty) return createNonEnumerableProperty; + hasRequiredCreateNonEnumerableProperty = 1; + var DESCRIPTORS = requireDescriptors(); + var definePropertyModule = requireObjectDefineProperty(); + var createPropertyDescriptor = requireCreatePropertyDescriptor(); + + createNonEnumerableProperty = DESCRIPTORS ? function (object, key, value) { + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); + } : function (object, key, value) { + object[key] = value; + return object; + }; + return createNonEnumerableProperty; + } + + var makeBuiltIn = {exports: {}}; + + var functionName; + var hasRequiredFunctionName; + + function requireFunctionName () { + if (hasRequiredFunctionName) return functionName; + hasRequiredFunctionName = 1; + var DESCRIPTORS = requireDescriptors(); + var hasOwn = requireHasOwnProperty(); + + var FunctionPrototype = Function.prototype; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + + var EXISTS = hasOwn(FunctionPrototype, 'name'); + // additional protection from minified / mangled / dropped function names + var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; + var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); + + functionName = { + EXISTS: EXISTS, + PROPER: PROPER, + CONFIGURABLE: CONFIGURABLE + }; + return functionName; + } + + var inspectSource; + var hasRequiredInspectSource; + + function requireInspectSource () { + if (hasRequiredInspectSource) return inspectSource; + hasRequiredInspectSource = 1; + var uncurryThis = requireFunctionUncurryThis(); + var isCallable = requireIsCallable(); + var store = requireSharedStore(); + + var functionToString = uncurryThis(Function.toString); + + // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper + if (!isCallable(store.inspectSource)) { + store.inspectSource = function (it) { + return functionToString(it); + }; + } + + inspectSource = store.inspectSource; + return inspectSource; + } + + var weakMapBasicDetection; + var hasRequiredWeakMapBasicDetection; + + function requireWeakMapBasicDetection () { + if (hasRequiredWeakMapBasicDetection) return weakMapBasicDetection; + hasRequiredWeakMapBasicDetection = 1; + var globalThis = requireGlobalThis(); + var isCallable = requireIsCallable(); + + var WeakMap = globalThis.WeakMap; + + weakMapBasicDetection = isCallable(WeakMap) && /native code/.test(String(WeakMap)); + return weakMapBasicDetection; + } + + var sharedKey; + var hasRequiredSharedKey; + + function requireSharedKey () { + if (hasRequiredSharedKey) return sharedKey; + hasRequiredSharedKey = 1; + var shared = requireShared(); + var uid = requireUid(); + + var keys = shared('keys'); + + sharedKey = function (key) { + return keys[key] || (keys[key] = uid(key)); + }; + return sharedKey; + } + + var hiddenKeys; + var hasRequiredHiddenKeys; + + function requireHiddenKeys () { + if (hasRequiredHiddenKeys) return hiddenKeys; + hasRequiredHiddenKeys = 1; + hiddenKeys = {}; + return hiddenKeys; + } + + var internalState; + var hasRequiredInternalState; + + function requireInternalState () { + if (hasRequiredInternalState) return internalState; + hasRequiredInternalState = 1; + var NATIVE_WEAK_MAP = requireWeakMapBasicDetection(); + var globalThis = requireGlobalThis(); + var isObject = requireIsObject(); + var createNonEnumerableProperty = requireCreateNonEnumerableProperty(); + var hasOwn = requireHasOwnProperty(); + var shared = requireSharedStore(); + var sharedKey = requireSharedKey(); + var hiddenKeys = requireHiddenKeys(); + + var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; + var TypeError = globalThis.TypeError; + var WeakMap = globalThis.WeakMap; + var set, get, has; + + var enforce = function (it) { + return has(it) ? get(it) : set(it, {}); + }; + + var getterFor = function (TYPE) { + return function (it) { + var state; + if (!isObject(it) || (state = get(it)).type !== TYPE) { + throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); + } return state; + }; + }; + + if (NATIVE_WEAK_MAP || shared.state) { + var store = shared.state || (shared.state = new WeakMap()); + /* eslint-disable no-self-assign -- prototype methods protection */ + store.get = store.get; + store.has = store.has; + store.set = store.set; + /* eslint-enable no-self-assign -- prototype methods protection */ + set = function (it, metadata) { + if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + store.set(it, metadata); + return metadata; + }; + get = function (it) { + return store.get(it) || {}; + }; + has = function (it) { + return store.has(it); + }; + } else { + var STATE = sharedKey('state'); + hiddenKeys[STATE] = true; + set = function (it, metadata) { + if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + createNonEnumerableProperty(it, STATE, metadata); + return metadata; + }; + get = function (it) { + return hasOwn(it, STATE) ? it[STATE] : {}; + }; + has = function (it) { + return hasOwn(it, STATE); + }; + } + + internalState = { + set: set, + get: get, + has: has, + enforce: enforce, + getterFor: getterFor + }; + return internalState; + } + + var hasRequiredMakeBuiltIn; + + function requireMakeBuiltIn () { + if (hasRequiredMakeBuiltIn) return makeBuiltIn.exports; + hasRequiredMakeBuiltIn = 1; + var uncurryThis = requireFunctionUncurryThis(); + var fails = requireFails(); + var isCallable = requireIsCallable(); + var hasOwn = requireHasOwnProperty(); + var DESCRIPTORS = requireDescriptors(); + var CONFIGURABLE_FUNCTION_NAME = requireFunctionName().CONFIGURABLE; + var inspectSource = requireInspectSource(); + var InternalStateModule = requireInternalState(); + + var enforceInternalState = InternalStateModule.enforce; + var getInternalState = InternalStateModule.get; + var $String = String; + // eslint-disable-next-line es/no-object-defineproperty -- safe + var defineProperty = Object.defineProperty; + var stringSlice = uncurryThis(''.slice); + var replace = uncurryThis(''.replace); + var join = uncurryThis([].join); + + var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; + }); + + var TEMPLATE = String(String).split('String'); + + var makeBuiltIn$1 = makeBuiltIn.exports = function (value, name, options) { + if (stringSlice($String(name), 0, 7) === 'Symbol(') { + name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; + } + if (options && options.getter) name = 'get ' + name; + if (options && options.setter) name = 'set ' + name; + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); + else value.name = name; + } + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { + defineProperty(value, 'length', { value: options.arity }); + } + try { + if (options && hasOwn(options, 'constructor') && options.constructor) { + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } + var state = enforceInternalState(value); + if (!hasOwn(state, 'source')) { + state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); + } return value; + }; + + // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative + // eslint-disable-next-line no-extend-native -- required + Function.prototype.toString = makeBuiltIn$1(function toString() { + return isCallable(this) && getInternalState(this).source || inspectSource(this); + }, 'toString'); + return makeBuiltIn.exports; + } + + var defineBuiltIn; + var hasRequiredDefineBuiltIn; + + function requireDefineBuiltIn () { + if (hasRequiredDefineBuiltIn) return defineBuiltIn; + hasRequiredDefineBuiltIn = 1; + var isCallable = requireIsCallable(); + var definePropertyModule = requireObjectDefineProperty(); + var makeBuiltIn = requireMakeBuiltIn(); + var defineGlobalProperty = requireDefineGlobalProperty(); + + defineBuiltIn = function (O, key, value, options) { + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; + if (isCallable(value)) makeBuiltIn(value, name, options); + if (options.global) { + if (simple) O[key] = value; + else defineGlobalProperty(key, value); + } else { + try { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + } catch (error) { /* empty */ } + if (simple) O[key] = value; + else definePropertyModule.f(O, key, { + value: value, + enumerable: false, + configurable: !options.nonConfigurable, + writable: !options.nonWritable + }); + } return O; + }; + return defineBuiltIn; + } + + var objectGetOwnPropertyNames = {}; + + var mathTrunc; + var hasRequiredMathTrunc; + + function requireMathTrunc () { + if (hasRequiredMathTrunc) return mathTrunc; + hasRequiredMathTrunc = 1; + var ceil = Math.ceil; + var floor = Math.floor; + + // `Math.trunc` method + // https://tc39.es/ecma262/#sec-math.trunc + // eslint-disable-next-line es/no-math-trunc -- safe + mathTrunc = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); + }; + return mathTrunc; + } + + var toIntegerOrInfinity; + var hasRequiredToIntegerOrInfinity; + + function requireToIntegerOrInfinity () { + if (hasRequiredToIntegerOrInfinity) return toIntegerOrInfinity; + hasRequiredToIntegerOrInfinity = 1; + var trunc = requireMathTrunc(); + + // `ToIntegerOrInfinity` abstract operation + // https://tc39.es/ecma262/#sec-tointegerorinfinity + toIntegerOrInfinity = function (argument) { + var number = +argument; + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); + }; + return toIntegerOrInfinity; + } + + var toAbsoluteIndex; + var hasRequiredToAbsoluteIndex; + + function requireToAbsoluteIndex () { + if (hasRequiredToAbsoluteIndex) return toAbsoluteIndex; + hasRequiredToAbsoluteIndex = 1; + var toIntegerOrInfinity = requireToIntegerOrInfinity(); + + var max = Math.max; + var min = Math.min; + + // Helper for a popular repeating case of the spec: + // Let integer be ? ToInteger(index). + // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). + toAbsoluteIndex = function (index, length) { + var integer = toIntegerOrInfinity(index); + return integer < 0 ? max(integer + length, 0) : min(integer, length); + }; + return toAbsoluteIndex; + } + + var toLength; + var hasRequiredToLength; + + function requireToLength () { + if (hasRequiredToLength) return toLength; + hasRequiredToLength = 1; + var toIntegerOrInfinity = requireToIntegerOrInfinity(); + + var min = Math.min; + + // `ToLength` abstract operation + // https://tc39.es/ecma262/#sec-tolength + toLength = function (argument) { + var len = toIntegerOrInfinity(argument); + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + }; + return toLength; + } + + var lengthOfArrayLike; + var hasRequiredLengthOfArrayLike; + + function requireLengthOfArrayLike () { + if (hasRequiredLengthOfArrayLike) return lengthOfArrayLike; + hasRequiredLengthOfArrayLike = 1; + var toLength = requireToLength(); + + // `LengthOfArrayLike` abstract operation + // https://tc39.es/ecma262/#sec-lengthofarraylike + lengthOfArrayLike = function (obj) { + return toLength(obj.length); + }; + return lengthOfArrayLike; + } + + var arrayIncludes; + var hasRequiredArrayIncludes; + + function requireArrayIncludes () { + if (hasRequiredArrayIncludes) return arrayIncludes; + hasRequiredArrayIncludes = 1; + var toIndexedObject = requireToIndexedObject(); + var toAbsoluteIndex = requireToAbsoluteIndex(); + var lengthOfArrayLike = requireLengthOfArrayLike(); + + // `Array.prototype.{ indexOf, includes }` methods implementation + var createMethod = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIndexedObject($this); + var length = lengthOfArrayLike(O); + if (length === 0) return !IS_INCLUDES && -1; + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare -- NaN check + if (IS_INCLUDES && el !== el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare -- NaN check + if (value !== value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) { + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; + }; + + arrayIncludes = { + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + includes: createMethod(true), + // `Array.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-array.prototype.indexof + indexOf: createMethod(false) + }; + return arrayIncludes; + } + + var objectKeysInternal; + var hasRequiredObjectKeysInternal; + + function requireObjectKeysInternal () { + if (hasRequiredObjectKeysInternal) return objectKeysInternal; + hasRequiredObjectKeysInternal = 1; + var uncurryThis = requireFunctionUncurryThis(); + var hasOwn = requireHasOwnProperty(); + var toIndexedObject = requireToIndexedObject(); + var indexOf = requireArrayIncludes().indexOf; + var hiddenKeys = requireHiddenKeys(); + + var push = uncurryThis([].push); + + objectKeysInternal = function (object, names) { + var O = toIndexedObject(object); + var i = 0; + var result = []; + var key; + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); + // Don't enum bug & hidden keys + while (names.length > i) if (hasOwn(O, key = names[i++])) { + ~indexOf(result, key) || push(result, key); + } + return result; + }; + return objectKeysInternal; + } + + var enumBugKeys; + var hasRequiredEnumBugKeys; + + function requireEnumBugKeys () { + if (hasRequiredEnumBugKeys) return enumBugKeys; + hasRequiredEnumBugKeys = 1; + // IE8- don't enum bug keys + enumBugKeys = [ + 'constructor', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'toLocaleString', + 'toString', + 'valueOf' + ]; + return enumBugKeys; + } + + var hasRequiredObjectGetOwnPropertyNames; + + function requireObjectGetOwnPropertyNames () { + if (hasRequiredObjectGetOwnPropertyNames) return objectGetOwnPropertyNames; + hasRequiredObjectGetOwnPropertyNames = 1; + var internalObjectKeys = requireObjectKeysInternal(); + var enumBugKeys = requireEnumBugKeys(); + + var hiddenKeys = enumBugKeys.concat('length', 'prototype'); + + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + // eslint-disable-next-line es/no-object-getownpropertynames -- safe + objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return internalObjectKeys(O, hiddenKeys); + }; + return objectGetOwnPropertyNames; + } + + var objectGetOwnPropertySymbols = {}; + + var hasRequiredObjectGetOwnPropertySymbols; + + function requireObjectGetOwnPropertySymbols () { + if (hasRequiredObjectGetOwnPropertySymbols) return objectGetOwnPropertySymbols; + hasRequiredObjectGetOwnPropertySymbols = 1; + // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe + objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols; + return objectGetOwnPropertySymbols; + } + + var ownKeys; + var hasRequiredOwnKeys; + + function requireOwnKeys () { + if (hasRequiredOwnKeys) return ownKeys; + hasRequiredOwnKeys = 1; + var getBuiltIn = requireGetBuiltIn(); + var uncurryThis = requireFunctionUncurryThis(); + var getOwnPropertyNamesModule = requireObjectGetOwnPropertyNames(); + var getOwnPropertySymbolsModule = requireObjectGetOwnPropertySymbols(); + var anObject = requireAnObject(); + + var concat = uncurryThis([].concat); + + // all object keys, includes non-enumerable and symbols + ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { + var keys = getOwnPropertyNamesModule.f(anObject(it)); + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; + }; + return ownKeys; + } + + var copyConstructorProperties; + var hasRequiredCopyConstructorProperties; + + function requireCopyConstructorProperties () { + if (hasRequiredCopyConstructorProperties) return copyConstructorProperties; + hasRequiredCopyConstructorProperties = 1; + var hasOwn = requireHasOwnProperty(); + var ownKeys = requireOwnKeys(); + var getOwnPropertyDescriptorModule = requireObjectGetOwnPropertyDescriptor(); + var definePropertyModule = requireObjectDefineProperty(); + + copyConstructorProperties = function (target, source, exceptions) { + var keys = ownKeys(source); + var defineProperty = definePropertyModule.f; + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + } + }; + return copyConstructorProperties; + } + + var isForced_1; + var hasRequiredIsForced; + + function requireIsForced () { + if (hasRequiredIsForced) return isForced_1; + hasRequiredIsForced = 1; + var fails = requireFails(); + var isCallable = requireIsCallable(); + + var replacement = /#|\.prototype\./; + + var isForced = function (feature, detection) { + var value = data[normalize(feature)]; + return value === POLYFILL ? true + : value === NATIVE ? false + : isCallable(detection) ? fails(detection) + : !!detection; + }; + + var normalize = isForced.normalize = function (string) { + return String(string).replace(replacement, '.').toLowerCase(); + }; + + var data = isForced.data = {}; + var NATIVE = isForced.NATIVE = 'N'; + var POLYFILL = isForced.POLYFILL = 'P'; + + isForced_1 = isForced; + return isForced_1; + } + + var _export; + var hasRequired_export; + + function require_export () { + if (hasRequired_export) return _export; + hasRequired_export = 1; + var globalThis = requireGlobalThis(); + var getOwnPropertyDescriptor = requireObjectGetOwnPropertyDescriptor().f; + var createNonEnumerableProperty = requireCreateNonEnumerableProperty(); + var defineBuiltIn = requireDefineBuiltIn(); + var defineGlobalProperty = requireDefineGlobalProperty(); + var copyConstructorProperties = requireCopyConstructorProperties(); + var isForced = requireIsForced(); + + /* + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key + */ + _export = function (options, source) { + var TARGET = options.target; + var GLOBAL = options.global; + var STATIC = options.stat; + var FORCED, target, key, targetProperty, sourceProperty, descriptor; + if (GLOBAL) { + target = globalThis; + } else if (STATIC) { + target = globalThis[TARGET] || defineGlobalProperty(TARGET, {}); + } else { + target = globalThis[TARGET] && globalThis[TARGET].prototype; + } + if (target) for (key in source) { + sourceProperty = source[key]; + if (options.dontCallGetSet) { + descriptor = getOwnPropertyDescriptor(target, key); + targetProperty = descriptor && descriptor.value; + } else targetProperty = target[key]; + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); + // contained in target + if (!FORCED && targetProperty !== undefined) { + if (typeof sourceProperty == typeof targetProperty) continue; + copyConstructorProperties(sourceProperty, targetProperty); + } + // add a flag to not completely full polyfills + if (options.sham || (targetProperty && targetProperty.sham)) { + createNonEnumerableProperty(sourceProperty, 'sham', true); + } + defineBuiltIn(target, key, sourceProperty, options); + } + }; + return _export; + } + + var isArray; + var hasRequiredIsArray; + + function requireIsArray () { + if (hasRequiredIsArray) return isArray; + hasRequiredIsArray = 1; + var classof = requireClassofRaw(); + + // `IsArray` abstract operation + // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe + isArray = Array.isArray || function isArray(argument) { + return classof(argument) === 'Array'; + }; + return isArray; + } + + var doesNotExceedSafeInteger; + var hasRequiredDoesNotExceedSafeInteger; + + function requireDoesNotExceedSafeInteger () { + if (hasRequiredDoesNotExceedSafeInteger) return doesNotExceedSafeInteger; + hasRequiredDoesNotExceedSafeInteger = 1; + var $TypeError = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + + doesNotExceedSafeInteger = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); + return it; + }; + return doesNotExceedSafeInteger; + } + + var createProperty; + var hasRequiredCreateProperty; + + function requireCreateProperty () { + if (hasRequiredCreateProperty) return createProperty; + hasRequiredCreateProperty = 1; + var DESCRIPTORS = requireDescriptors(); + var definePropertyModule = requireObjectDefineProperty(); + var createPropertyDescriptor = requireCreatePropertyDescriptor(); + + createProperty = function (object, key, value) { + if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; + }; + return createProperty; + } + + var toStringTagSupport; + var hasRequiredToStringTagSupport; + + function requireToStringTagSupport () { + if (hasRequiredToStringTagSupport) return toStringTagSupport; + hasRequiredToStringTagSupport = 1; + var wellKnownSymbol = requireWellKnownSymbol(); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var test = {}; + + test[TO_STRING_TAG] = 'z'; + + toStringTagSupport = String(test) === '[object z]'; + return toStringTagSupport; + } + + var classof; + var hasRequiredClassof; + + function requireClassof () { + if (hasRequiredClassof) return classof; + hasRequiredClassof = 1; + var TO_STRING_TAG_SUPPORT = requireToStringTagSupport(); + var isCallable = requireIsCallable(); + var classofRaw = requireClassofRaw(); + var wellKnownSymbol = requireWellKnownSymbol(); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var $Object = Object; + + // ES3 wrong here + var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; + + // fallback for IE11 Script Access Denied error + var tryGet = function (it, key) { + try { + return it[key]; + } catch (error) { /* empty */ } + }; + + // getting tag from ES6+ `Object.prototype.toString` + classof = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { + var O, tag, result; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag + // builtinTag case + : CORRECT_ARGUMENTS ? classofRaw(O) + // ES3 arguments fallback + : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; + }; + return classof; + } + + var isConstructor; + var hasRequiredIsConstructor; + + function requireIsConstructor () { + if (hasRequiredIsConstructor) return isConstructor; + hasRequiredIsConstructor = 1; + var uncurryThis = requireFunctionUncurryThis(); + var fails = requireFails(); + var isCallable = requireIsCallable(); + var classof = requireClassof(); + var getBuiltIn = requireGetBuiltIn(); + var inspectSource = requireInspectSource(); + + var noop = function () { /* empty */ }; + var construct = getBuiltIn('Reflect', 'construct'); + var constructorRegExp = /^\s*(?:class|function)\b/; + var exec = uncurryThis(constructorRegExp.exec); + var INCORRECT_TO_STRING = !constructorRegExp.test(noop); + + var isConstructorModern = function isConstructor(argument) { + if (!isCallable(argument)) return false; + try { + construct(noop, [], argument); + return true; + } catch (error) { + return false; + } + }; + + var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable(argument)) return false; + switch (classof(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } + }; + + isConstructorLegacy.sham = true; + + // `IsConstructor` abstract operation + // https://tc39.es/ecma262/#sec-isconstructor + isConstructor = !construct || fails(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; + }) ? isConstructorLegacy : isConstructorModern; + return isConstructor; + } + + var arraySpeciesConstructor; + var hasRequiredArraySpeciesConstructor; + + function requireArraySpeciesConstructor () { + if (hasRequiredArraySpeciesConstructor) return arraySpeciesConstructor; + hasRequiredArraySpeciesConstructor = 1; + var isArray = requireIsArray(); + var isConstructor = requireIsConstructor(); + var isObject = requireIsObject(); + var wellKnownSymbol = requireWellKnownSymbol(); + + var SPECIES = wellKnownSymbol('species'); + var $Array = Array; + + // a part of `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + arraySpeciesConstructor = function (originalArray) { + var C; + if (isArray(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined; + else if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array : C; + }; + return arraySpeciesConstructor; + } + + var arraySpeciesCreate; + var hasRequiredArraySpeciesCreate; + + function requireArraySpeciesCreate () { + if (hasRequiredArraySpeciesCreate) return arraySpeciesCreate; + hasRequiredArraySpeciesCreate = 1; + var arraySpeciesConstructor = requireArraySpeciesConstructor(); + + // `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + arraySpeciesCreate = function (originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); + }; + return arraySpeciesCreate; + } + + var arrayMethodHasSpeciesSupport; + var hasRequiredArrayMethodHasSpeciesSupport; + + function requireArrayMethodHasSpeciesSupport () { + if (hasRequiredArrayMethodHasSpeciesSupport) return arrayMethodHasSpeciesSupport; + hasRequiredArrayMethodHasSpeciesSupport = 1; + var fails = requireFails(); + var wellKnownSymbol = requireWellKnownSymbol(); + var V8_VERSION = requireEnvironmentV8Version(); + + var SPECIES = wellKnownSymbol('species'); + + arrayMethodHasSpeciesSupport = function (METHOD_NAME) { + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/677 + return V8_VERSION >= 51 || !fails(function () { + var array = []; + var constructor = array.constructor = {}; + constructor[SPECIES] = function () { + return { foo: 1 }; + }; + return array[METHOD_NAME](Boolean).foo !== 1; + }); + }; + return arrayMethodHasSpeciesSupport; + } + + var hasRequiredEs_array_concat; + + function requireEs_array_concat () { + if (hasRequiredEs_array_concat) return es_array_concat; + hasRequiredEs_array_concat = 1; + var $ = require_export(); + var fails = requireFails(); + var isArray = requireIsArray(); + var isObject = requireIsObject(); + var toObject = requireToObject(); + var lengthOfArrayLike = requireLengthOfArrayLike(); + var doesNotExceedSafeInteger = requireDoesNotExceedSafeInteger(); + var createProperty = requireCreateProperty(); + var arraySpeciesCreate = requireArraySpeciesCreate(); + var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport(); + var wellKnownSymbol = requireWellKnownSymbol(); + var V8_VERSION = requireEnvironmentV8Version(); + + var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); + + // We can't use this feature detection in V8 since it causes + // deoptimization and serious performance degradation + // https://github.com/zloirock/core-js/issues/679 + var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { + var array = []; + array[IS_CONCAT_SPREADABLE] = false; + return array.concat()[0] !== array; + }); + + var isConcatSpreadable = function (O) { + if (!isObject(O)) return false; + var spreadable = O[IS_CONCAT_SPREADABLE]; + return spreadable !== undefined ? !!spreadable : isArray(O); + }; + + var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat'); + + // `Array.prototype.concat` method + // https://tc39.es/ecma262/#sec-array.prototype.concat + // with adding support of @@isConcatSpreadable and @@species + $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + concat: function concat(arg) { + var O = toObject(this); + var A = arraySpeciesCreate(O, 0); + var n = 0; + var i, k, length, len, E; + for (i = -1, length = arguments.length; i < length; i++) { + E = i === -1 ? O : arguments[i]; + if (isConcatSpreadable(E)) { + len = lengthOfArrayLike(E); + doesNotExceedSafeInteger(n + len); + for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); + } else { + doesNotExceedSafeInteger(n + 1); + createProperty(A, n++, E); + } + } + A.length = n; + return A; + } + }); + return es_array_concat; + } + + requireEs_array_concat(); + + var es_array_find = {}; + + var functionUncurryThisClause; + var hasRequiredFunctionUncurryThisClause; + + function requireFunctionUncurryThisClause () { + if (hasRequiredFunctionUncurryThisClause) return functionUncurryThisClause; + hasRequiredFunctionUncurryThisClause = 1; + var classofRaw = requireClassofRaw(); + var uncurryThis = requireFunctionUncurryThis(); + + functionUncurryThisClause = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis(fn); + }; + return functionUncurryThisClause; + } + + var functionBindContext; + var hasRequiredFunctionBindContext; + + function requireFunctionBindContext () { + if (hasRequiredFunctionBindContext) return functionBindContext; + hasRequiredFunctionBindContext = 1; + var uncurryThis = requireFunctionUncurryThisClause(); + var aCallable = requireACallable(); + var NATIVE_BIND = requireFunctionBindNative(); + + var bind = uncurryThis(uncurryThis.bind); + + // optional / simple context binding + functionBindContext = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { + return fn.apply(that, arguments); + }; + }; + return functionBindContext; + } + + var arrayIteration; + var hasRequiredArrayIteration; + + function requireArrayIteration () { + if (hasRequiredArrayIteration) return arrayIteration; + hasRequiredArrayIteration = 1; + var bind = requireFunctionBindContext(); + var uncurryThis = requireFunctionUncurryThis(); + var IndexedObject = requireIndexedObject(); + var toObject = requireToObject(); + var lengthOfArrayLike = requireLengthOfArrayLike(); + var arraySpeciesCreate = requireArraySpeciesCreate(); + + var push = uncurryThis([].push); + + // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation + var createMethod = function (TYPE) { + var IS_MAP = TYPE === 1; + var IS_FILTER = TYPE === 2; + var IS_SOME = TYPE === 3; + var IS_EVERY = TYPE === 4; + var IS_FIND_INDEX = TYPE === 6; + var IS_FILTER_REJECT = TYPE === 7; + var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject($this); + var self = IndexedObject(O); + var length = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push(target, value); // filterReject + } + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; + }; + + arrayIteration = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod(6), + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + filterReject: createMethod(7) + }; + return arrayIteration; + } + + var objectDefineProperties = {}; + + var objectKeys; + var hasRequiredObjectKeys; + + function requireObjectKeys () { + if (hasRequiredObjectKeys) return objectKeys; + hasRequiredObjectKeys = 1; + var internalObjectKeys = requireObjectKeysInternal(); + var enumBugKeys = requireEnumBugKeys(); + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe + objectKeys = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys); + }; + return objectKeys; + } + + var hasRequiredObjectDefineProperties; + + function requireObjectDefineProperties () { + if (hasRequiredObjectDefineProperties) return objectDefineProperties; + hasRequiredObjectDefineProperties = 1; + var DESCRIPTORS = requireDescriptors(); + var V8_PROTOTYPE_DEFINE_BUG = requireV8PrototypeDefineBug(); + var definePropertyModule = requireObjectDefineProperty(); + var anObject = requireAnObject(); + var toIndexedObject = requireToIndexedObject(); + var objectKeys = requireObjectKeys(); + + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + // eslint-disable-next-line es/no-object-defineproperties -- safe + objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var props = toIndexedObject(Properties); + var keys = objectKeys(Properties); + var length = keys.length; + var index = 0; + var key; + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); + return O; + }; + return objectDefineProperties; + } + + var html; + var hasRequiredHtml; + + function requireHtml () { + if (hasRequiredHtml) return html; + hasRequiredHtml = 1; + var getBuiltIn = requireGetBuiltIn(); + + html = getBuiltIn('document', 'documentElement'); + return html; + } + + var objectCreate; + var hasRequiredObjectCreate; + + function requireObjectCreate () { + if (hasRequiredObjectCreate) return objectCreate; + hasRequiredObjectCreate = 1; + /* global ActiveXObject -- old IE, WSH */ + var anObject = requireAnObject(); + var definePropertiesModule = requireObjectDefineProperties(); + var enumBugKeys = requireEnumBugKeys(); + var hiddenKeys = requireHiddenKeys(); + var html = requireHtml(); + var documentCreateElement = requireDocumentCreateElement(); + var sharedKey = requireSharedKey(); + + var GT = '>'; + var LT = '<'; + var PROTOTYPE = 'prototype'; + var SCRIPT = 'script'; + var IE_PROTO = sharedKey('IE_PROTO'); + + var EmptyConstructor = function () { /* empty */ }; + + var scriptTag = function (content) { + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; + }; + + // Create object with fake `null` prototype: use ActiveX Object with cleared prototype + var NullProtoObjectViaActiveX = function (activeXDocument) { + activeXDocument.write(scriptTag('')); + activeXDocument.close(); + var temp = activeXDocument.parentWindow.Object; + // eslint-disable-next-line no-useless-assignment -- avoid memory leak + activeXDocument = null; + return temp; + }; + + // Create object with fake `null` prototype: use iframe Object with cleared prototype + var NullProtoObjectViaIFrame = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = documentCreateElement('iframe'); + var JS = 'java' + SCRIPT + ':'; + var iframeDocument; + iframe.style.display = 'none'; + html.appendChild(iframe); + // https://github.com/zloirock/core-js/issues/475 + iframe.src = String(JS); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(scriptTag('document.F=Object')); + iframeDocument.close(); + return iframeDocument.F; + }; + + // Check for document.domain and active x support + // No need to use active x approach when document.domain is not set + // see https://github.com/es-shims/es5-shim/issues/150 + // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 + // avoid IE GC bug + var activeXDocument; + var NullProtoObject = function () { + try { + activeXDocument = new ActiveXObject('htmlfile'); + } catch (error) { /* ignore */ } + NullProtoObject = typeof document != 'undefined' + ? document.domain && activeXDocument + ? NullProtoObjectViaActiveX(activeXDocument) // old IE + : NullProtoObjectViaIFrame() + : NullProtoObjectViaActiveX(activeXDocument); // WSH + var length = enumBugKeys.length; + while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; + return NullProtoObject(); + }; + + hiddenKeys[IE_PROTO] = true; + + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + // eslint-disable-next-line es/no-object-create -- safe + objectCreate = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + EmptyConstructor[PROTOTYPE] = anObject(O); + result = new EmptyConstructor(); + EmptyConstructor[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = NullProtoObject(); + return Properties === undefined ? result : definePropertiesModule.f(result, Properties); + }; + return objectCreate; + } + + var addToUnscopables; + var hasRequiredAddToUnscopables; + + function requireAddToUnscopables () { + if (hasRequiredAddToUnscopables) return addToUnscopables; + hasRequiredAddToUnscopables = 1; + var wellKnownSymbol = requireWellKnownSymbol(); + var create = requireObjectCreate(); + var defineProperty = requireObjectDefineProperty().f; + + var UNSCOPABLES = wellKnownSymbol('unscopables'); + var ArrayPrototype = Array.prototype; + + // Array.prototype[@@unscopables] + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + if (ArrayPrototype[UNSCOPABLES] === undefined) { + defineProperty(ArrayPrototype, UNSCOPABLES, { + configurable: true, + value: create(null) + }); + } + + // add a key to Array.prototype[@@unscopables] + addToUnscopables = function (key) { + ArrayPrototype[UNSCOPABLES][key] = true; + }; + return addToUnscopables; + } + + var hasRequiredEs_array_find; + + function requireEs_array_find () { + if (hasRequiredEs_array_find) return es_array_find; + hasRequiredEs_array_find = 1; + var $ = require_export(); + var $find = requireArrayIteration().find; + var addToUnscopables = requireAddToUnscopables(); + + var FIND = 'find'; + var SKIPS_HOLES = true; + + // Shouldn't skip holes + // eslint-disable-next-line es/no-array-prototype-find -- testing + if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); + + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { + find: function find(callbackfn /* , that = undefined */) { + return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + addToUnscopables(FIND); + return es_array_find; + } + + requireEs_array_find(); + + var es_array_slice = {}; + + var arraySlice; + var hasRequiredArraySlice; + + function requireArraySlice () { + if (hasRequiredArraySlice) return arraySlice; + hasRequiredArraySlice = 1; + var uncurryThis = requireFunctionUncurryThis(); + + arraySlice = uncurryThis([].slice); + return arraySlice; + } + + var hasRequiredEs_array_slice; + + function requireEs_array_slice () { + if (hasRequiredEs_array_slice) return es_array_slice; + hasRequiredEs_array_slice = 1; + var $ = require_export(); + var isArray = requireIsArray(); + var isConstructor = requireIsConstructor(); + var isObject = requireIsObject(); + var toAbsoluteIndex = requireToAbsoluteIndex(); + var lengthOfArrayLike = requireLengthOfArrayLike(); + var toIndexedObject = requireToIndexedObject(); + var createProperty = requireCreateProperty(); + var wellKnownSymbol = requireWellKnownSymbol(); + var arrayMethodHasSpeciesSupport = requireArrayMethodHasSpeciesSupport(); + var nativeSlice = requireArraySlice(); + + var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); + + var SPECIES = wellKnownSymbol('species'); + var $Array = Array; + var max = Math.max; + + // `Array.prototype.slice` method + // https://tc39.es/ecma262/#sec-array.prototype.slice + // fallback for not array-like ES3 strings and DOM objects + $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { + slice: function slice(start, end) { + var O = toIndexedObject(this); + var length = lengthOfArrayLike(O); + var k = toAbsoluteIndex(start, length); + var fin = toAbsoluteIndex(end === undefined ? length : end, length); + // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible + var Constructor, result, n; + if (isArray(O)) { + Constructor = O.constructor; + // cross-realm fallback + if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) { + Constructor = undefined; + } else if (isObject(Constructor)) { + Constructor = Constructor[SPECIES]; + if (Constructor === null) Constructor = undefined; + } + if (Constructor === $Array || Constructor === undefined) { + return nativeSlice(O, k, fin); + } + } + result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0)); + for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); + result.length = n; + return result; + } + }); + return es_array_slice; + } + + requireEs_array_slice(); + + var es_object_assign = {}; + + var objectAssign; + var hasRequiredObjectAssign; + + function requireObjectAssign () { + if (hasRequiredObjectAssign) return objectAssign; + hasRequiredObjectAssign = 1; + var DESCRIPTORS = requireDescriptors(); + var uncurryThis = requireFunctionUncurryThis(); + var call = requireFunctionCall(); + var fails = requireFails(); + var objectKeys = requireObjectKeys(); + var getOwnPropertySymbolsModule = requireObjectGetOwnPropertySymbols(); + var propertyIsEnumerableModule = requireObjectPropertyIsEnumerable(); + var toObject = requireToObject(); + var IndexedObject = requireIndexedObject(); + + // eslint-disable-next-line es/no-object-assign -- safe + var $assign = Object.assign; + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + var defineProperty = Object.defineProperty; + var concat = uncurryThis([].concat); + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + objectAssign = !$assign || fails(function () { + // should have correct order of operations (Edge bug) + if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { + enumerable: true, + get: function () { + defineProperty(this, 'b', { + value: 3, + enumerable: false + }); + } + }), { b: 2 })).b !== 1) return true; + // should work with symbols and should have deterministic property order (V8 bug) + var A = {}; + var B = {}; + // eslint-disable-next-line es/no-symbol -- safe + var symbol = Symbol('assign detection'); + var alphabet = 'abcdefghijklmnopqrst'; + A[symbol] = 7; + // eslint-disable-next-line es/no-array-prototype-foreach -- safe + alphabet.split('').forEach(function (chr) { B[chr] = chr; }); + return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet; + }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` + var T = toObject(target); + var argumentsLength = arguments.length; + var index = 1; + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + var propertyIsEnumerable = propertyIsEnumerableModule.f; + while (argumentsLength > index) { + var S = IndexedObject(arguments[index++]); + var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) { + key = keys[j++]; + if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key]; + } + } return T; + } : $assign; + return objectAssign; + } + + var hasRequiredEs_object_assign; + + function requireEs_object_assign () { + if (hasRequiredEs_object_assign) return es_object_assign; + hasRequiredEs_object_assign = 1; + var $ = require_export(); + var assign = requireObjectAssign(); + + // `Object.assign` method + // https://tc39.es/ecma262/#sec-object.assign + // eslint-disable-next-line es/no-object-assign -- required for testing + $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, { + assign: assign + }); + return es_object_assign; + } + + requireEs_object_assign(); + + var es_object_toString = {}; + + var objectToString; + var hasRequiredObjectToString; + + function requireObjectToString () { + if (hasRequiredObjectToString) return objectToString; + hasRequiredObjectToString = 1; + var TO_STRING_TAG_SUPPORT = requireToStringTagSupport(); + var classof = requireClassof(); + + // `Object.prototype.toString` method implementation + // https://tc39.es/ecma262/#sec-object.prototype.tostring + objectToString = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { + return '[object ' + classof(this) + ']'; + }; + return objectToString; + } + + var hasRequiredEs_object_toString; + + function requireEs_object_toString () { + if (hasRequiredEs_object_toString) return es_object_toString; + hasRequiredEs_object_toString = 1; + var TO_STRING_TAG_SUPPORT = requireToStringTagSupport(); + var defineBuiltIn = requireDefineBuiltIn(); + var toString = requireObjectToString(); + + // `Object.prototype.toString` method + // https://tc39.es/ecma262/#sec-object.prototype.tostring + if (!TO_STRING_TAG_SUPPORT) { + defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true }); + } + return es_object_toString; + } + + requireEs_object_toString(); + + /** + * @author: Dustin Utecht + * @github: https://github.com/UtechtDustin + */ + + var Utils = $.fn.bootstrapTable.utils; + Object.assign($.fn.bootstrapTable.defaults, { + customView: false, + showCustomView: false, + customViewDefaultView: false + }); + Utils.assignIcons($.fn.bootstrapTable.icons, 'customViewOn', { + glyphicon: 'glyphicon-list', + fa: 'fa-list', + bi: 'bi-list', + icon: 'list', + 'material-icons': 'list' + }); + Utils.assignIcons($.fn.bootstrapTable.icons, 'customViewOff', { + glyphicon: 'glyphicon-thumbnails', + fa: 'fa-th', + bi: 'bi-grid', + icon: 'grid_on', + 'material-icons': 'grid_on' + }); + Object.assign($.fn.bootstrapTable.defaults, { + onCustomViewPostBody: function onCustomViewPostBody() { + return false; + }, + onCustomViewPreBody: function onCustomViewPreBody() { + return false; + }, + onToggleCustomView: function onToggleCustomView() { + return false; + } + }); + Object.assign($.fn.bootstrapTable.locales, { + formatToggleCustomViewOn: function formatToggleCustomViewOn() { + return 'Show custom view'; + }, + formatToggleCustomViewOff: function formatToggleCustomViewOff() { + return 'Hide custom view'; + } + }); + Object.assign($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales); + $.fn.bootstrapTable.methods.push('toggleCustomView'); + Object.assign($.fn.bootstrapTable.events, { + 'custom-view-post-body.bs.table': 'onCustomViewPostBody', + 'custom-view-pre-body.bs.table': 'onCustomViewPreBody', + 'toggle-custom-view.bs.table': 'onToggleCustomView' + }); + $.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) { + function _class() { + _classCallCheck(this, _class); + return _callSuper(this, _class, arguments); + } + _inherits(_class, _$$BootstrapTable); + return _createClass(_class, [{ + key: "init", + value: function init() { + this.customViewDefaultView = this.options.customViewDefaultView; + _superPropGet(_class, "init", this)([]); + } + }, { + key: "initToolbar", + value: function initToolbar() { + if (this.options.customView && this.options.showCustomView) { + this.buttons = Object.assign(this.buttons, { + customView: { + text: this.options.customViewDefaultView ? this.options.formatToggleCustomViewOff() : this.options.formatToggleCustomViewOn(), + icon: this.options.customViewDefaultView ? this.options.icons.customViewOn : this.options.icons.customViewOff, + event: this.toggleCustomView, + attributes: { + 'aria-label': this.options.customViewDefaultView ? this.options.formatToggleCustomViewOff() : this.options.formatToggleCustomViewOn(), + title: this.options.customViewDefaultView ? this.options.formatToggleCustomViewOff() : this.options.formatToggleCustomViewOn() + } + } + }); + } + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _superPropGet(_class, "initToolbar", this)(args); + } + }, { + key: "initBody", + value: function initBody() { + _superPropGet(_class, "initBody", this)([]); + if (!this.options.customView) { + return; + } + var $table = this.$el; + var $customViewContainer = this.$container.find('.fixed-table-custom-view'); + $table.hide(); + $customViewContainer.hide(); + if (!this.options.customView || !this.customViewDefaultView) { + $table.show(); + return; + } + var data = this.getData().slice(this.pageFrom - 1, this.pageTo); + var value = Utils.calculateObjectValue(this, this.options.customView, [data], ''); + this.trigger('custom-view-pre-body', data, value); + if ($customViewContainer.length === 1) { + $customViewContainer.show().html(value); + } else { + this.$tableBody.after("
".concat(value, "
")); + } + this.trigger('custom-view-post-body', data, value); + } + }, { + key: "toggleCustomView", + value: function toggleCustomView() { + this.customViewDefaultView = !this.customViewDefaultView; + var icon = this.options.showButtonIcons ? this.customViewDefaultView ? this.options.icons.customViewOn : this.options.icons.customViewOff : ''; + var text = this.options.showButtonText ? this.customViewDefaultView ? this.options.formatToggleCustomViewOff() : this.options.formatToggleCustomViewOn() : ''; + this.$toolbar.find('button[name="customView"]').html("".concat(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, icon), " ").concat(text)).attr('aria-label', text).attr('title', text); + this.initBody(); + this.trigger('toggle-custom-view', this.customViewDefaultView); + } + }]); + }($.BootstrapTable); + +})); + jQuery.base64 = (function($) { // private property From 6e61e94e0223c13be46613c1b673a5f79f35d2e7 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 28 Jul 2025 23:36:31 +0100 Subject: [PATCH 13/66] New manifest Signed-off-by: snipe --- public/mix-manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 4d26229008..3fb9ec8a5f 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -110,5 +110,5 @@ "/css/dist/skins/skin-yellow-dark.min.css": "/css/dist/skins/skin-yellow-dark.min.css?id=3979929a3423ff35b96b1fc84299fdf3", "/css/dist/skins/skin-yellow.min.css": "/css/dist/skins/skin-yellow.min.css?id=3d8a3d2035ea28aaad4a703c2646f515", "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=9def0b5d3b891ac3669b3b7aa7e805ce", - "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=07920ba19812444cc8f0ba30a6183958" + "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=ed9dc2e13cf495675067c4c7091b325a" } From 571ae4fbfdfe6788242c67262e0d70adc1936f85 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 29 Jul 2025 01:20:20 +0100 Subject: [PATCH 14/66] Use CSS for nowrap Signed-off-by: snipe --- resources/views/partials/bootstrap-table.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index 7c098b24b4..79a8ca7f6d 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -950,9 +950,9 @@ var inline_button_disabled = '
'; if (value.exists_on_disk) { - return '' + download_button + ' ' + inline_button + ''; + return '' + download_button + ' ' + inline_button + ''; } else { - return '' + download_button_disabled + ' ' + inline_button_disabled + ''; + return '' + download_button_disabled + ' ' + inline_button_disabled + ''; } } From 2ed98c17d439c3607ef05c9f77d035e295ec455b Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 29 Jul 2025 02:03:02 +0100 Subject: [PATCH 15/66] Added print icon Signed-off-by: snipe --- resources/views/partials/bootstrap-table.blade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index 79a8ca7f6d..e01ca1f554 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -121,6 +121,7 @@ paginationSwitchUp: 'fa-caret-square-o-up', fullscreen: 'fa-expand', columns: 'fa-columns', + print: 'fa-print', refresh: 'fas fa-sync-alt', export: 'fa-download', clearSearch: 'fa-times' From f268fe9e8083831e16bac05c9a0431d0f3966ea9 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 29 Jul 2025 02:03:12 +0100 Subject: [PATCH 16/66] Added gallery card Signed-off-by: snipe --- resources/views/blade/gallery-card.blade.php | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 resources/views/blade/gallery-card.blade.php diff --git a/resources/views/blade/gallery-card.blade.php b/resources/views/blade/gallery-card.blade.php new file mode 100644 index 0000000000..ee5dbe1b88 --- /dev/null +++ b/resources/views/blade/gallery-card.blade.php @@ -0,0 +1,30 @@ + + + \ No newline at end of file From 1c3ef02c7b54977aeefe22efca6e4554de8ca8d7 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 29 Jul 2025 05:41:15 +0100 Subject: [PATCH 17/66] FIX THIS!!! Signed-off-by: snipe --- app/Providers/SettingsServiceProvider.php | 24 ++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/app/Providers/SettingsServiceProvider.php b/app/Providers/SettingsServiceProvider.php index 9a533b9fb3..5a3bd9b4f4 100644 --- a/app/Providers/SettingsServiceProvider.php +++ b/app/Providers/SettingsServiceProvider.php @@ -31,19 +31,29 @@ class SettingsServiceProvider extends ServiceProvider // Make sure the limit is actually set, is an integer and does not exceed system limits - \App::singleton('api_limit_value', function () { + app()->singleton('api_limit_value', function () { $limit = config('app.max_results'); - $int_limit = intval(request('limit')); - - if ((abs($int_limit) > 0) && ($int_limit <= config('app.max_results'))) { - $limit = abs($int_limit); - } +// \Log::error('request limit: '. request('limit')); +// \Log::error('app.max_results: '. config('app.max_results')); +// +// $int_limit = intval(request('limit')); +// \Log::error('$int_limit: '. $int_limit); +// +// if ((abs($int_limit) > 0) && ($int_limit <= config('app.max_results'))) { +// \Log::error($int_limit . ' ('.abs($int_limit).') is a valid limit over zero and does not exceed the maximum limit of ' . config('app.max_results')); +// +// $limit = abs($int_limit); +// } else { +// \Log::error($int_limit . ' is either not greater than 0 or exceeds the maximum limit of ' . config('app.max_results'). ' - fall though to the config'); +// } +// +// \Log::error('$limit: '. $limit); return $limit; }); // Make sure the offset is actually set and is an integer - \App::singleton('api_offset_value', function () { + app()->singleton('api_offset_value', function () { $offset = intval(request('offset')); return $offset; }); From 3a0b1de136684c3276646656b93332e8ed8f8598 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 29 Jul 2025 05:41:36 +0100 Subject: [PATCH 18/66] Changed table name Signed-off-by: snipe --- resources/views/blade/filestable.blade.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/views/blade/filestable.blade.php b/resources/views/blade/filestable.blade.php index 983c193df8..fede37bbcf 100644 --- a/resources/views/blade/filestable.blade.php +++ b/resources/views/blade/filestable.blade.php @@ -8,11 +8,12 @@
Date: Tue, 29 Jul 2025 05:41:43 +0100 Subject: [PATCH 19/66] Updated template Signed-off-by: snipe --- resources/views/blade/gallery-card.blade.php | 24 ++++++++++++-------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/resources/views/blade/gallery-card.blade.php b/resources/views/blade/gallery-card.blade.php index ee5dbe1b88..22d9fc9956 100644 --- a/resources/views/blade/gallery-card.blade.php +++ b/resources/views/blade/gallery-card.blade.php @@ -1,26 +1,32 @@